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 #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 Loading... |
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 | |
83 private: | 77 private: |
84 talk_base::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_; | 78 talk_base::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_; |
85 | 79 |
86 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); | 80 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); |
87 }; | 81 }; |
88 | 82 |
89 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 83 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
OLD | NEW |