Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/public/renderer/media_stream_audio_sink.h" | |
| 6 | |
| 7 #include "base/logging.h" | |
| 8 #include "content/renderer/media/webrtc_local_audio_track.h" | |
| 9 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | |
| 10 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | |
| 11 | |
| 12 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface .h" | |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 16 void AddToAudioTrack(MediaStreamAudioSink* sink, | |
| 17 const blink::WebMediaStreamTrack& track) { | |
| 18 DCHECK(track.source().type() == blink::WebMediaStreamSource::TypeAudio); | |
| 19 // TODO(xians): Implement this. | |
|
tommi (sloooow) - chröme
2013/11/28 09:12:11
NOTIMPLEMENTED?
no longer working on chromium
2013/11/28 17:27:18
Implemented now.
| |
| 20 } | |
| 21 | |
| 22 void RemoveFromAudioTrack(MediaStreamAudioSink* sink, | |
| 23 const blink::WebMediaStreamTrack& track) { | |
| 24 DCHECK(track.source().type() == blink::WebMediaStreamSource::TypeAudio); | |
| 25 // TODO(xians): Implement this. | |
| 26 } | |
| 27 | |
| 28 } // namespace content | |
| OLD | NEW |