webrtcbin state change issue

Matthew Waters ystreet00 at gmail.com
Tue Mar 16 01:43:23 UTC 2021


Hi,

webrtcbin doesn't really support restarting at all.  Why are you setting 
webrtcbin to READY?

Cheers
-Matt

On 16/3/21 12:10 am, Lusine wrote:
> Hi Folks,
>
> I need to change my pipeline(which streams with webrtcbin) state from
> PLAYING to READY and then again recover the playing state.
>   gst_element_set_state(pipe1, GST_STATE_READY);
> // DO something and then again set the playing state.
>   gst_element_set_state(pipe1, GST_STATE_PLAYING);
>
> My pipeline is this:
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/webrtc/webrtc.c
>
> But after setting the PLAYING state again the streaming doesn't work, is
> there an issue or do I need to do some extra step to recover the PLAYING
> state?
>
> Regards,
> Lusine
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210316/18b1880f/attachment.sig>


More information about the gstreamer-devel mailing list