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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 cricket::VideoCapturer*) | 62 cricket::VideoCapturer*) |
63 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, | 63 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, |
64 CreateVideoTrack, | 64 CreateVideoTrack, |
65 const std::string&, | 65 const std::string&, |
66 VideoTrackSourceInterface*) | 66 VideoTrackSourceInterface*) |
67 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, | 67 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, |
68 CreateAudioTrack, const std::string&, AudioSourceInterface*) | 68 CreateAudioTrack, const std::string&, AudioSourceInterface*) |
69 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) | 69 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) |
70 PROXY_METHOD0(void, StopAecDump) | 70 PROXY_METHOD0(void, StopAecDump) |
71 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) | 71 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) |
| 72 PROXY_METHOD2(bool, StartRtcEventLog, rtc::PlatformFile, int64_t) |
72 PROXY_METHOD0(void, StopRtcEventLog) | 73 PROXY_METHOD0(void, StopRtcEventLog) |
73 | 74 |
74 private: | 75 private: |
75 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( | 76 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( |
76 const PeerConnectionInterface::RTCConfiguration& a1, | 77 const PeerConnectionInterface::RTCConfiguration& a1, |
77 const MediaConstraintsInterface* a2, | 78 const MediaConstraintsInterface* a2, |
78 cricket::PortAllocator* a3, | 79 cricket::PortAllocator* a3, |
79 DtlsIdentityStoreInterface* a4, | 80 DtlsIdentityStoreInterface* a4, |
80 PeerConnectionObserver* a5) { | 81 PeerConnectionObserver* a5) { |
81 std::unique_ptr<cricket::PortAllocator> ptr_a3(a3); | 82 std::unique_ptr<cricket::PortAllocator> ptr_a3(a3); |
(...skipping 10 matching lines...) Expand all Loading... |
92 std::unique_ptr<cricket::PortAllocator> ptr_a3(a3); | 93 std::unique_ptr<cricket::PortAllocator> ptr_a3(a3); |
93 std::unique_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); | 94 std::unique_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); |
94 return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4), | 95 return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4), |
95 a5); | 96 a5); |
96 } | 97 } |
97 END_SIGNALING_PROXY() | 98 END_SIGNALING_PROXY() |
98 | 99 |
99 } // namespace webrtc | 100 } // namespace webrtc |
100 | 101 |
101 #endif // WEBRTC_API_PEERCONNECTIONFACTORYPROXY_H_ | 102 #endif // WEBRTC_API_PEERCONNECTIONFACTORYPROXY_H_ |
OLD | NEW |