OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/media/media_stream_dependency_factory.h" | 5 #include "content/renderer/media/media_stream_dependency_factory.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "content/renderer/media/video_capture_module_impl.h" | 9 #include "content/renderer/media/video_capture_module_impl.h" |
10 #include "content/renderer/media/webrtc_audio_device_impl.h" | 10 #include "content/renderer/media/webrtc_audio_device_impl.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 cricket::VideoCapturer* video_device) { | 130 cricket::VideoCapturer* video_device) { |
131 return pc_factory_->CreateLocalVideoTrack(label, video_device); | 131 return pc_factory_->CreateLocalVideoTrack(label, video_device); |
132 } | 132 } |
133 | 133 |
134 talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> | 134 talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> |
135 MediaStreamDependencyFactory::CreateLocalAudioTrack( | 135 MediaStreamDependencyFactory::CreateLocalAudioTrack( |
136 const std::string& label, | 136 const std::string& label, |
137 webrtc::AudioDeviceModule* audio_device) { | 137 webrtc::AudioDeviceModule* audio_device) { |
138 return pc_factory_->CreateLocalAudioTrack(label, audio_device); | 138 return pc_factory_->CreateLocalAudioTrack(label, audio_device); |
139 } | 139 } |
| 140 |
| 141 webrtc::SessionDescriptionInterface* |
| 142 MediaStreamDependencyFactory::CreateSessionDescription(const std::string& sdp) { |
| 143 return webrtc::CreateSessionDescription(sdp); |
| 144 } |
| 145 |
| 146 webrtc::IceCandidateInterface* MediaStreamDependencyFactory::CreateIceCandidate( |
| 147 const std::string& label, |
| 148 const std::string& sdp) { |
| 149 return webrtc::CreateIceCandidate(label, sdp); |
| 150 } |
OLD | NEW |