SSRC and RSID may only refer to one sink each in RtpDemuxer

RTP demuxing should only match RTP packets with one sink.

BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/2968693002
Cr-Commit-Position: refs/heads/master@{#19233}
This commit is contained in:
eladalon
2017-08-03 05:13:48 -07:00
committed by Commit Bot
parent 1d0bdc296b
commit 7b7e06fd23
7 changed files with 285 additions and 105 deletions

View File

@ -38,7 +38,7 @@ class RtpStreamReceiverControllerInterface {
uint32_t ssrc,
RtpPacketSinkInterface* sink) = 0;
// For registering additional sinks, needed for FlexFEC.
virtual void AddSink(uint32_t ssrc, RtpPacketSinkInterface* sink) = 0;
virtual bool AddSink(uint32_t ssrc, RtpPacketSinkInterface* sink) = 0;
virtual size_t RemoveSink(const RtpPacketSinkInterface* sink) = 0;
};