IP camera feed is not got after a network reconnection

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

IP camera feed is not got after a network reconnection

nishitha

I am getting stream from an IP camera as rtsp packets.
I have written a gstreamer app at the client side to display the video.
The IP camera network connection will be removed (or LAN cable will be
disconnected).
But the application should not stop, the rtspsrc should wait till IP camera
is reconnected to network. The video display should continue once camera is
reconnected.

If IP cam is reconnected within 40 seconds, the video display will restart,
but if that timeout increase, the application gets stuck.
I tried increasing timeout, tcp-timeout and retry values. Still no luck.

What should be done to increase the timeout ? I changed increasing timeout,
tcp-timeout and retry properties of rtspsrc. But still no luck,



--
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: IP camera feed is not got after a network reconnection

Toshick
Hello,

I would prefer to get GST_MESSAGES from the Bus, to stop streaming and then, with a certain timeout passed, trying to re-connect, till my pipeline becomes PLAYING again. 

Best regards,
Anton.

On Wed, Jun 17, 2020 at 1:36 AM nishitha <[hidden email]> wrote:

I am getting stream from an IP camera as rtsp packets.
I have written a gstreamer app at the client side to display the video.
The IP camera network connection will be removed (or LAN cable will be
disconnected).
But the application should not stop, the rtspsrc should wait till IP camera
is reconnected to network. The video display should continue once camera is
reconnected.

If IP cam is reconnected within 40 seconds, the video display will restart,
but if that timeout increase, the application gets stuck.
I tried increasing timeout, tcp-timeout and retry values. Still no luck.

What should be done to increase the timeout ? I changed increasing timeout,
tcp-timeout and retry properties of rtspsrc. But still no luck,



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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