Is it possible to unplug the source and reconnect without showing any error in live streaming and recording.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to unplug the source and reconnect without showing any error in live streaming and recording.

Shubham Shrivastava
Please Help!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to unplug the source and reconnect without showing any error in live streaming and recording.

sk_gst
What exactly do you mean by unplug the source?

When there is no data at the sink, the rendering window will turn black.

If you want to keep seeing the last received frame in case of no data from
source, then you can decouple the pipeline as follows :

pipeline src : src -> enc -> intervideosink
pipeline sink : intervideosrc -> autovideosink


Regards
 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to unplug the source and reconnect without showing any error in live streaming and recording.

Nicolas Dufresne-5
In reply to this post by Shubham Shrivastava
It is definitely possible, as I have written code doing this, with
various scenarios. You need to learn how dynamic pipeline works in
GStreamer. For sources, best it so do the transition using IDLE probes.

Le jeudi 04 octobre 2018 à 10:34 +0530, Shubham Shrivastava a écrit :
> Please Help!
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment