Forward audio rtp frequency to Rtcp sender and use it for SR packets
Process video rtp frequency in the same way. Bug: webrtc:6458 Change-Id: Ia22768e1242d686c2b3e2b911f3e5e492cf8b895 Reviewed-on: https://webrtc-review.googlesource.com/c/107651 Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25334}
This commit is contained in:
committed by
Commit Bot
parent
ece3c228a2
commit
5e58bcbf29
@ -90,7 +90,8 @@ class RtcpSenderTest : public ::testing::Test {
|
||||
rtcp_sender_->SetSSRC(kSenderSsrc);
|
||||
rtcp_sender_->SetRemoteSSRC(kRemoteSsrc);
|
||||
rtcp_sender_->SetTimestampOffset(kStartRtpTimestamp);
|
||||
rtcp_sender_->SetLastRtpTime(kRtpTimestamp, clock_.TimeInMilliseconds());
|
||||
rtcp_sender_->SetLastRtpTime(kRtpTimestamp, clock_.TimeInMilliseconds(),
|
||||
/*paylpad_type=*/0);
|
||||
}
|
||||
|
||||
void InsertIncomingPacket(uint32_t remote_ssrc, uint16_t seq_num) {
|
||||
@ -603,7 +604,8 @@ TEST_F(RtcpSenderTest, ByeMustBeLast) {
|
||||
rtcp_sender_->SetSSRC(kSenderSsrc);
|
||||
rtcp_sender_->SetRemoteSSRC(kRemoteSsrc);
|
||||
rtcp_sender_->SetTimestampOffset(kStartRtpTimestamp);
|
||||
rtcp_sender_->SetLastRtpTime(kRtpTimestamp, clock_.TimeInMilliseconds());
|
||||
rtcp_sender_->SetLastRtpTime(kRtpTimestamp, clock_.TimeInMilliseconds(),
|
||||
/*paylpad_type=*/0);
|
||||
|
||||
// Set up REMB info to be included with BYE.
|
||||
rtcp_sender_->SetRTCPStatus(RtcpMode::kCompound);
|
||||
|
||||
Reference in New Issue
Block a user