frontends (tools/webrtc): More tuning for remote video sink:
This tuning is done to avoid mush after a few minutes.
This commit is contained in:
parent
482de127e8
commit
450ea7b381
1 changed files with 5 additions and 1 deletions
|
|
@ -985,8 +985,12 @@ class WebRTC:
|
|||
remote_video_sink.set_property("caps", Gst.Caps.from_string("video/x-raw,format=RGB"))
|
||||
remote_video_sink.set_property("emit-signals", True)
|
||||
remote_video_sink.set_property("drop", True)
|
||||
remote_video_sink.set_property("max-buffers", 2)
|
||||
remote_video_sink.set_property("max-buffers", 10)
|
||||
remote_video_sink.set_property("max-time", 500000000)
|
||||
remote_video_sink.set_property("processing-deadline", 50000000)
|
||||
remote_video_sink.set_property("sync", False)
|
||||
remote_video_sink.set_property("qos", True)
|
||||
|
||||
if self.sinks_data.remote_video_cb:
|
||||
remote_video_sink.connect("new-sample", self.sinks_data.remote_video_cb)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue