[Bug 792131] rtspsrc: add an action signal to send SET_PARAMETER

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 3 16:26:30 UTC 2018


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

--- Comment #3 from Nicola <lists at svrinformatica.it> ---
(In reply to Nicola from comment #2)
> well, the problem in returning response code or message body is that
> actually rtspsrc ignore response message, I need an advice on how to handle
> this in the proper way, thanks

the problem here is that if we use for example gst_rtspsrc_send to send the
SET_PARAMETER request it will internally call gst_rtspsrc_connection_send to
send the request and then gst_rtsp_src_receive_response and then
gst_rtspsrc_connection_receive to receive the response and populate the passed
response object.

If udp or tcp receive loop are running they also call
gst_rtspsrc_connection_receive that will receive the response to the
SET_PARAMETER request. 

So basically, for what I understand, actually rtspsrc does not have a method
that allow to send a request and receive a response while udp or tcp loop are
running. 

For my use case send the SET_PARAMETER request is enough, the response is not
so important. Eventually I can work on this but I need some advices to produce
an acceptable patch, thanks!

-- 
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