[Bug 729776] Set client port from URL

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 19 01:36:33 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729776
  GStreamer | gst-rtsp-server | git

--- Comment #9 from Wim Taymans <wim.taymans at gmail.com> 2014-05-19 08:36:28 UTC ---
(In reply to comment #8)
> Perhaps a dumb question, but are all connections same for all streams within a
> client?

The Client object is the TCP connection that a client has with a server, if the
RTSP data is send with TCP, it is also sent over this connection.

> I can get the Connection from the client with gst_rtsp_client_get_connection,
> and then use gst_rtsp_connection_get_write_socket to get the writing socket,
> and then extract the sockaddr from the sockets fd? Seems a bit more complicated
> than for the UDP case :), or have I missed something?

No, it's not as easy.

> Wouldnt it be more consistent to set it so It can be readable for TCP as we do
> for UDP?

It would be good but it seems a little weird to abuse the min/max values of the
Transport for that. I guess if we document this properly, It would be
acceptable. Let me take a closer look.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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