From d0dcf42b0492155e0b8fd3ecd9d5da82700e34e7 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Wed, 16 Jun 2021 23:18:56 +0200 Subject: [PATCH] Set "streamable" property of flvmux to True. --- lagarde.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5