diff options
Diffstat (limited to 'call/flexfec_receive_stream_impl.h')
-rw-r--r-- | call/flexfec_receive_stream_impl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/call/flexfec_receive_stream_impl.h b/call/flexfec_receive_stream_impl.h index e25b7f09c2..857715a941 100644 --- a/call/flexfec_receive_stream_impl.h +++ b/call/flexfec_receive_stream_impl.h @@ -62,6 +62,10 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { void SetRtpExtensions(std::vector<RtpExtension> extensions) override; RtpHeaderExtensionMap GetRtpExtensionMap() const override; + // Updates the `rtp_video_stream_receiver_`'s `local_ssrc` when the default + // sender has been created, changed or removed. + void SetLocalSsrc(uint32_t local_ssrc); + uint32_t remote_ssrc() const { return config_.rtp.remote_ssrc; } bool transport_cc() const override { RTC_DCHECK_RUN_ON(&packet_sequence_checker_); @@ -73,8 +77,8 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { RtpHeaderExtensionMap extension_map_; - // Config. Mostly const, header extensions may change, which is an exception - // case that's specifically handled in `SetRtpExtensions`, which must be + // Config. Mostly const, local_ssrc may change, which is an exception + // case that's specifically handled in `SetLocalSsrc`, which must be // called on the `packet_sequence_checker` thread. const Config config_; |