OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 CreateVideoSource, | 58 CreateVideoSource, |
59 cricket::VideoCapturer*) | 59 cricket::VideoCapturer*) |
60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, | 60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, |
61 CreateVideoTrack, | 61 CreateVideoTrack, |
62 const std::string&, | 62 const std::string&, |
63 VideoTrackSourceInterface*) | 63 VideoTrackSourceInterface*) |
64 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, | 64 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, |
65 CreateAudioTrack, const std::string&, AudioSourceInterface*) | 65 CreateAudioTrack, const std::string&, AudioSourceInterface*) |
66 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) | 66 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) |
67 PROXY_METHOD0(void, StopAecDump) | 67 PROXY_METHOD0(void, StopAecDump) |
| 68 // TODO(ivoc): Remove the StartRtcEventLog and StopRtcEventLog functions as |
| 69 // soon as they are removed from PeerConnectionFactoryInterface. |
68 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) | 70 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) |
69 PROXY_METHOD0(void, StopRtcEventLog) | 71 PROXY_METHOD0(void, StopRtcEventLog) |
70 | 72 |
71 private: | 73 private: |
72 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( | 74 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( |
73 const PeerConnectionInterface::RTCConfiguration& a1, | 75 const PeerConnectionInterface::RTCConfiguration& a1, |
74 const MediaConstraintsInterface* a2, | 76 const MediaConstraintsInterface* a2, |
75 cricket::PortAllocator* a3, | 77 cricket::PortAllocator* a3, |
76 DtlsIdentityStoreInterface* a4, | 78 DtlsIdentityStoreInterface* a4, |
77 PeerConnectionObserver* a5) { | 79 PeerConnectionObserver* a5) { |
(...skipping 11 matching lines...) Expand all Loading... |
89 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); | 91 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); |
90 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); | 92 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); |
91 return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4), | 93 return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4), |
92 a5); | 94 a5); |
93 } | 95 } |
94 END_PROXY() | 96 END_PROXY() |
95 | 97 |
96 } // namespace webrtc | 98 } // namespace webrtc |
97 | 99 |
98 #endif // WEBRTC_API_PEERCONNECTIONFACTORYPROXY_H_ | 100 #endif // WEBRTC_API_PEERCONNECTIONFACTORYPROXY_H_ |
OLD | NEW |