Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: content/renderer/media/media_stream_dependency_factory.cc

Issue 9699069: Adding JSEP PeerConnection glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed missing export. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_dependency_factory.h ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698