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

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

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 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Asks the PeerConnection factory to create a Local VideoTrack object. 67 // Asks the PeerConnection factory to create a Local VideoTrack object.
68 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface> 68 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>
69 CreateLocalVideoTrack(const std::string& label, 69 CreateLocalVideoTrack(const std::string& label,
70 cricket::VideoCapturer* video_device); 70 cricket::VideoCapturer* video_device);
71 71
72 // Asks the PeerConnection factory to create a Local AudioTrack object. 72 // Asks the PeerConnection factory to create a Local AudioTrack object.
73 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> 73 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>
74 CreateLocalAudioTrack(const std::string& label, 74 CreateLocalAudioTrack(const std::string& label,
75 webrtc::AudioDeviceModule* audio_device); 75 webrtc::AudioDeviceModule* audio_device);
76 76
77 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
78 const std::string& sdp);
79 virtual webrtc::IceCandidateInterface* CreateIceCandidate(
80 const std::string& label,
81 const std::string& sdp);
82
77 private: 83 private:
78 talk_base::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_; 84 talk_base::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_;
79 85
80 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); 86 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory);
81 }; 87 };
82 88
83 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 89 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_center.cc ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698