summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorEd Torbett <ed.torbett@simulation-systems.co.uk>2013-06-27 08:53:00 +0100
committerMartin Storsjö <martin@martin.st>2013-07-19 12:02:13 +0300
commit36fb0d02a1faa11eaee51de01fb4061ad6092af9 (patch)
treee019e42c4700c545d40827a83b88bd21267517cb /libavformat/rtsp.h
parent4d97ca040b40eb4771d1a6cacdb611f61a53afd8 (diff)
rtsp: Support multicast source filters (RFC 4570)
This supports inclusion of one single IP address for now, at the media level. Specifying the filter at the session level (instead of at the media level), multiple source addresses, exclusion, or using FQDNs instead of plain IP addresses is not supported (yet at least). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 44240c1d0f..eff5aa4db7 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -425,6 +425,7 @@ typedef struct RTSPStream {
//@{
int sdp_port; /**< port (from SDP content) */
struct sockaddr_storage sdp_ip; /**< IP address (from SDP content) */
+ char source_addr[100]; /**< Source-specific multicast source IP address (from SDP content) */
int sdp_ttl; /**< IP Time-To-Live (from SDP content) */
int sdp_payload_type; /**< payload type */
//@}