[Bug 775483] for some reason my gstreamer rtsp server fails on this error : ERROR:rtsp-stream.c:1222:alloc_ports_one_family: assertion failed: (!udpsrc_out[0])

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 12 10:34:51 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=775483

--- Comment #2 from eric zerbib <ericzerbibkramer at gmail.com> ---
I think I''ve found a way to prevent this problem in my application:

The way that I was closing the media was:

gst_rtsp_media_suspend(get_SI_Instance()->media);
gst_rtsp_media_unprepare(get_SI_Instance()->media);
gst_element_set_state(get_SI_Instance()->video_source_pipeline,
GST_STATE_NULL);

Then when I reopen

gst_rtsp_media_unsuspend(get_SI_Instance()->media);
gst_rtsp_media_prepare(get_SI_Instance()->media,NULL);
gst_element_set_state(get_SI_Instance()->video_source_pipeline,
GST_STATE_RUNNING);

The assertion disappear if swap between the calls prepare then unsuspend

ret=gst_rtsp_media_prepare(get_SI_Instance()->media,thread);
ret=gst_rtsp_media_unsuspend(get_SI_Instance()->media);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list