| Index: remoting/host/screen_recorder.cc
|
| diff --git a/remoting/host/screen_recorder.cc b/remoting/host/screen_recorder.cc
|
| index e7b414c9afbe0d909bfd7806ad10bb00fbdb1bc3..925102af16fdc63c652b84b0e68392d2abcd97e8 100644
|
| --- a/remoting/host/screen_recorder.cc
|
| +++ b/remoting/host/screen_recorder.cc
|
| @@ -280,6 +280,23 @@ void ScreenRecorder::VideoFrameSentCallback() {
|
| FROM_HERE, base::Bind(&ScreenRecorder::DoFinishOneRecording, this));
|
| }
|
|
|
| +void ScreenRecorder::DoSendAudioPacket(scoped_ptr<AudioPacket> packet) {
|
| + DCHECK(network_loop_->BelongsToCurrentThread());
|
| +
|
| + if (network_stopped_ || connections_.empty())
|
| + return;
|
| +
|
| + base::Closure callback = base::Bind(
|
| + &ScreenRecorder::AudioSamplesSentCallback, this);
|
| +
|
| + connections_.front()->audio_stub()->ProcessAudioPacket(
|
| + packet.Pass(), callback);
|
| +}
|
| +
|
| +void ScreenRecorder::AudioSamplesSentCallback() {
|
| + // TODO(kxing): continue sending audio packets
|
| +}
|
| +
|
| void ScreenRecorder::DoStopOnNetworkThread(const base::Closure& done_task) {
|
| DCHECK(network_loop_->BelongsToCurrentThread());
|
|
|
|
|