RTSP url can't display stream, even when mainloop is running.

Nicolas Dufresne nicolas at ndufresne.ca
Fri Mar 2 14:20:24 UTC 2018


Overall, the server activity is not explicitly stopped by quitting the
mainloop. You have to shut it down yourself.

Le 2 mars 2018 04:27, "rhythm87" <rhythmchopra8 at gmail.com> a écrit :

> I understood the thing, you are trying, but here, mainloop.quit() is never
> called, instead you are directly killing the thread in which mainloop is
> running, without quitting the mainloop. But as per GObject.MainLoop
> documentation. MainLoop must be quitted using mainloop.quit().
>
> Moreover, this works fine. But since I have the gstreamer pipeline for the
> RTSPServer , In order to start and stop the server before killing my main
> process, I needed to attach GObject.MainContext with it, which I then need
> to add to MainLoop as well. So when I do so, running mainloop.run() inside
> the child thread as you are doing here won't play the stream at the
> generated rtsp url.
>
> Hope I was clear enough to explain the scenerio.
>
> Regards,
> Rhythm
>
>
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180302/e10e9dc4/attachment.html>


More information about the gstreamer-devel mailing list