| Index: media/cast/audio_receiver/audio_receiver.cc
|
| diff --git a/media/cast/audio_receiver/audio_receiver.cc b/media/cast/audio_receiver/audio_receiver.cc
|
| index b9db5d803f8ec8c707db6f4fe7f194c04d25c850..b5c8e08c1468c76b8386b5e4377865332a446138 100644
|
| --- a/media/cast/audio_receiver/audio_receiver.cc
|
| +++ b/media/cast/audio_receiver/audio_receiver.cc
|
| @@ -119,6 +119,8 @@ AudioReceiver::AudioReceiver(scoped_refptr<CastEnvironment> cast_environment,
|
| audio_config.rtcp_mode, rtcp_interval_delta,
|
| audio_config.feedback_ssrc, audio_config.incoming_ssrc,
|
| audio_config.rtcp_c_name));
|
| + // Set the target delay that will be conveyed to the sender.
|
| + rtcp_->SetTargetDelay(target_delay_delta_);
|
| cast_environment_->Logging()->AddRawEventSubscriber(&event_subscriber_);
|
| memset(frame_id_to_rtp_timestamp_, 0, sizeof(frame_id_to_rtp_timestamp_));
|
| }
|
| @@ -367,6 +369,11 @@ void AudioReceiver::IncomingPacket(scoped_ptr<Packet> packet) {
|
| }
|
| }
|
|
|
| +void AudioReceiver::SetTargetDelay(base::TimeDelta target_delay) {
|
| + target_delay_delta_ = target_delay;
|
| + rtcp_->SetTargetDelay(target_delay_delta_);
|
| +}
|
| +
|
| void AudioReceiver::CastFeedback(const RtcpCastMessage& cast_message) {
|
| base::TimeTicks now = cast_environment_->Clock()->NowTicks();
|
| RtpTimestamp rtp_timestamp =
|
|
|