[Bug 794789] rtspclientsink: Fix client ports for the RTCP backchannel

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 4 16:43:44 UTC 2018


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

--- Comment #10 from Patricia Muscalu <patricia at axis.com> ---
(In reply to Mathieu Duponchelle from comment #9)
> (In reply to Patricia Muscalu from comment #8)
> > Why is there a dependency between client ports and server ports? It seems
> > very strange.
> 
> That's because the stream API itself is very strange,
> gst_rtsp_stream_get_server_port is a bad and confusing name.

There is no need to call this function at all I think. It's just about
allocating client ports for receiving RTP and RTCP, so it shouldn't be any
dependencies to the server ports.

> > What if the "server ports" are already allocated on the client
> > side?
> 
> I don't understand that question.

The RTP/RTCP sockets are bound to the RTP/RTCP ports (<=> server ports). The
client issues a SETUP request with the client_port pair of ports, so I guess
that there are the corresponding sockets associated with these ports on the
client side. Am I wrong?

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