From: Philipp Spitzer Date: Wed, 16 Jun 2021 21:18:56 +0000 (+0200) Subject: Set "streamable" property of flvmux to True. X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/commitdiff_plain/d0dcf42b0492155e0b8fd3ecd9d5da82700e34e7?hp=8f649935f41511776e9ff900c101d9824a2923f4 Set "streamable" property of flvmux to True. --- diff --git a/lagarde.py b/lagarde.py index f8c398f..7c982c3 100755 --- a/lagarde.py +++ b/lagarde.py @@ -171,6 +171,7 @@ class WebRTCClient: capsfilter = Gst.ElementFactory.make('capsfilter') capsfilter.set_properties(Gst.Caps.from_string('video/x-h264,stream-format=(string)avc')) flvmux = Gst.ElementFactory.make('flvmux') + flvmux.set_property('streamable', True) sink = Gst.ElementFactory.make('rtmpsink') sink.set_property('location', self.rtmp_uri) assert q and conv and enc and capsfilter and flvmux and sink