Don't recreate the audio receive stream when updating the local_ssrc.
Bug: webrtc:11993 Change-Id: Ic5d8a8a8b7c12fb1d906e0b3cbdf657fd9e8eafc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/222042 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34299}
This commit is contained in:
@ -683,6 +683,11 @@ void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) {
|
||||
rtcp_receiver_.SetRemoteSSRC(ssrc);
|
||||
}
|
||||
|
||||
void ModuleRtpRtcpImpl::SetLocalSsrc(uint32_t local_ssrc) {
|
||||
rtcp_receiver_.set_local_media_ssrc(local_ssrc);
|
||||
rtcp_sender_.SetSsrc(local_ssrc);
|
||||
}
|
||||
|
||||
RtpSendRates ModuleRtpRtcpImpl::GetSendRates() const {
|
||||
return rtp_sender_->packet_sender.GetSendRates();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user