summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-stream-transport.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-11-15 16:18:29 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-11-15 16:18:29 +0100
commite4ea72ccdf11ea418483c6a6af454f3499ca6e3b (patch)
treeb940f124fca65b28bf1a6e28724c10d5197f8df0 /gst/rtsp-server/rtsp-stream-transport.h
parentba21661ce4d10a08610a3e8e789c9eac7d09d3b1 (diff)
stream: use the address managed by the stream
Use the address managed by the stream for multicast. This allows us to have 1 multicast address for each stream. Because the address is now managed by the stream we don't have to pass it around anymore. Set the address pool on the streams.
Diffstat (limited to 'gst/rtsp-server/rtsp-stream-transport.h')
-rw-r--r--gst/rtsp-server/rtsp-stream-transport.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gst/rtsp-server/rtsp-stream-transport.h b/gst/rtsp-server/rtsp-stream-transport.h
index 44a3237..8839267 100644
--- a/gst/rtsp-server/rtsp-stream-transport.h
+++ b/gst/rtsp-server/rtsp-stream-transport.h
@@ -81,7 +81,6 @@ struct _GstRTSPStreamTransport {
gboolean timeout;
GstRTSPTransport *transport;
- GstRTSPAddress *addr;
GObject *rtpsource;
};
@@ -93,12 +92,10 @@ struct _GstRTSPStreamTransportClass {
GType gst_rtsp_stream_transport_get_type (void);
GstRTSPStreamTransport * gst_rtsp_stream_transport_new (GstRTSPStream *stream,
- GstRTSPTransport *tr,
- GstRTSPAddress *addr);
+ GstRTSPTransport *tr);
void gst_rtsp_stream_transport_set_transport (GstRTSPStreamTransport *trans,
- GstRTSPTransport * tr,
- GstRTSPAddress *addr);
+ GstRTSPTransport * tr);
void gst_rtsp_stream_transport_set_callbacks (GstRTSPStreamTransport *trans,
GstRTSPSendFunc send_rtp,