Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/cast/cast_sender_impl.h" | 5 #include "media/cast/cast_sender_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 } | 143 } |
| 144 | 144 |
| 145 scoped_refptr<AudioFrameInput> CastSenderImpl::audio_frame_input() { | 145 scoped_refptr<AudioFrameInput> CastSenderImpl::audio_frame_input() { |
| 146 return audio_frame_input_; | 146 return audio_frame_input_; |
| 147 } | 147 } |
| 148 | 148 |
| 149 scoped_refptr<VideoFrameInput> CastSenderImpl::video_frame_input() { | 149 scoped_refptr<VideoFrameInput> CastSenderImpl::video_frame_input() { |
| 150 return video_frame_input_; | 150 return video_frame_input_; |
| 151 } | 151 } |
| 152 | 152 |
| 153 void CastSenderImpl::SetTargetPlayoutDelay( | |
| 154 base::TimeDelta new_target_playout_delay) { | |
| 155 if (audio_sender_) { | |
|
Alpha Left Google
2014/08/20 22:02:01
One more thing. There should be a VLOG for debuggi
hubbe
2014/08/20 22:46:07
Done.
| |
| 156 audio_sender_->SetTargetPlayoutDelay(new_target_playout_delay); | |
| 157 } | |
| 158 if (video_sender_) { | |
| 159 video_sender_->SetTargetPlayoutDelay(new_target_playout_delay); | |
| 160 } | |
| 161 } | |
| 162 | |
| 153 } // namespace cast | 163 } // namespace cast |
| 154 } // namespace media | 164 } // namespace media |
| OLD | NEW |