mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
webrtc_sendrecv.py: Handle LATENCY messages
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3742>
This commit is contained in:
parent
5500c228f6
commit
6a83602601
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ class WebRTCClient:
|
||||||
elif msg.type == Gst.MessageType.EOS:
|
elif msg.type == Gst.MessageType.EOS:
|
||||||
remove_bus_poll()
|
remove_bus_poll()
|
||||||
break
|
break
|
||||||
|
elif msg.type == Gst.MessageType.LATENCY:
|
||||||
|
self.pipe.recalculate_latency()
|
||||||
|
|
||||||
def send_sdp(self, offer):
|
def send_sdp(self, offer):
|
||||||
text = offer.sdp.as_text()
|
text = offer.sdp.as_text()
|
||||||
|
|
Loading…
Reference in a new issue