]> ToastFreeware Gitweb - toast/stream2beamer.git/blobdiff - lagarde.py
Set "streamable" property of flvmux to True.
[toast/stream2beamer.git] / lagarde.py
index f8c398f8bffac574fdd2936e7231cb46e5457146..7c982c3b9bff049e0c593ae4861bb6a2bf701b29 100755 (executable)
@@ -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