Need help with multiple rtsp connections
Joona Laine
joonarlaine at gmail.com
Mon Jul 18 11:21:53 UTC 2016
Hi,
I'm having an issue with a simple C application I made. I basically want to
open an RTSP connection to an IP camera, then close it and open same kind of
connection to another camera. Then I want to (ideally) loop this until
infinity.
The problem is I can only change the camera stream 256 (or so) times before
the system gives me an error about
GLib-ERROR **: Creating pipes for GWakeup: Too many open files
My pipeline is rtspsrc ! rtph264depay ! h264parse ! queue ! vaapidecode !
videocrop ! glimagesink
I also get after every closed connection a set of warnings as following:
0:00:30.077989892 17182 0x7f3358001d90 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<my_source> receive interrupted
0:00:30.078017200 17182 0x7f3358001d90 WARN rtspsrc
gstrtspsrc.c:7500:gst_rtspsrc_pause:<my_source> PAUSE interrupted
0:00:30.080870471 17182 0x7f3358001d90 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<my_source> receive interrupted
0:00:30.080895123 17182 0x7f3358001d90 WARN rtspsrc
gstrtspsrc.c:6971:gst_rtspsrc_close:<my_source> TEARDOWN interrupted
I've been looking for help from the Internet for the past several days, but
nothing seems to be helping.
Could someone please offers some insight to this rtsp business?
Thanks!
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Need-help-with-multiple-rtsp-connections-tp4678730.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list