OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 CreateLocalMediaStream, const std::string&) | 65 CreateLocalMediaStream, const std::string&) |
66 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, | 66 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, |
67 CreateAudioSource, const MediaConstraintsInterface*) | 67 CreateAudioSource, const MediaConstraintsInterface*) |
68 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, | 68 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, |
69 CreateVideoSource, cricket::VideoCapturer*, | 69 CreateVideoSource, cricket::VideoCapturer*, |
70 const MediaConstraintsInterface*) | 70 const MediaConstraintsInterface*) |
71 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, | 71 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, |
72 CreateVideoTrack, const std::string&, VideoSourceInterface*) | 72 CreateVideoTrack, const std::string&, VideoSourceInterface*) |
73 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, | 73 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, |
74 CreateAudioTrack, const std::string&, AudioSourceInterface*) | 74 CreateAudioTrack, const std::string&, AudioSourceInterface*) |
75 PROXY_METHOD1(bool, StartAecDump, rtc::PlatformFile) | 75 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) |
76 PROXY_METHOD0(void, StopAecDump) | 76 PROXY_METHOD0(void, StopAecDump) |
77 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) | 77 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) |
78 PROXY_METHOD0(void, StopRtcEventLog) | 78 PROXY_METHOD0(void, StopRtcEventLog) |
79 | 79 |
80 private: | 80 private: |
81 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot1( | 81 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot1( |
82 const PeerConnectionInterface::RTCConfiguration& a1, | 82 const PeerConnectionInterface::RTCConfiguration& a1, |
83 const MediaConstraintsInterface* a2, | 83 const MediaConstraintsInterface* a2, |
84 PortAllocatorFactoryInterface* a3, | 84 PortAllocatorFactoryInterface* a3, |
85 DtlsIdentityStoreInterface* a4, | 85 DtlsIdentityStoreInterface* a4, |
(...skipping 11 matching lines...) Expand all Loading... |
97 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); | 97 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); |
98 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); | 98 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); |
99 return c_->CreatePeerConnection(a1, a2, std::move(ptr_a3), | 99 return c_->CreatePeerConnection(a1, a2, std::move(ptr_a3), |
100 std::move(ptr_a4), a5); | 100 std::move(ptr_a4), a5); |
101 } | 101 } |
102 END_PROXY() | 102 END_PROXY() |
103 | 103 |
104 } // namespace webrtc | 104 } // namespace webrtc |
105 | 105 |
106 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ | 106 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ |
OLD | NEW |