OSDN Git Service

avformat/rt*p: Joining a SSM multicast group using an SDP (Issue #2171)
authorEd Torbett <ed.torbett@simulation-systems.co.uk>
Thu, 27 Jun 2013 07:53:00 +0000 (08:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 18 Jul 2013 16:01:31 +0000 (18:01 +0200)
commit7203dbde3910b9be3345bc04667a01ecd9291445
treed729b23c271d4bbfd8230f50facb4a54565d4016
parentebaf20e94b99edfa2d1fb70e68ae6eba90773a47
avformat/rt*p: Joining a SSM multicast group using an SDP (Issue #2171)

Passes Source-Specific Multicast parameters read from an sdp file through to the UDP socket code,
allowing source-specific multicast streams to be correctly received. As an integral part of this
change, additional checking (currently only enabled in the case of SSM streams, but probably
useful in similar scenarios) has been added to the RTP protocol handler to distinguish UDP packets
arriving from multiple sources to the same port and process only the expected packets
(those transmitted from the expected UDP source address). This resolves an issue identified
when multiple instances of FFmpeg subscribe to different Source-Specific Multicast streams
but with each sharing the same destination port.

Signed-off-by: Edward Torbett <ed.torbett@simulation-systems.co.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rtpproto.c
libavformat/rtsp.c
libavformat/rtsp.h