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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 CreateLocalMediaStream, const std::string&) | 64 CreateLocalMediaStream, const std::string&) |
65 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, | 65 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, |
66 CreateAudioSource, const MediaConstraintsInterface*) | 66 CreateAudioSource, const MediaConstraintsInterface*) |
67 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, | 67 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, |
68 CreateVideoSource, cricket::VideoCapturer*, | 68 CreateVideoSource, cricket::VideoCapturer*, |
69 const MediaConstraintsInterface*) | 69 const MediaConstraintsInterface*) |
70 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, | 70 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, |
71 CreateVideoTrack, const std::string&, VideoSourceInterface*) | 71 CreateVideoTrack, const std::string&, VideoSourceInterface*) |
72 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, | 72 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, |
73 CreateAudioTrack, const std::string&, AudioSourceInterface*) | 73 CreateAudioTrack, const std::string&, AudioSourceInterface*) |
74 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) | 74 PROXY_METHOD1(bool, StartAecDump, rtc::PlatformFile) |
75 PROXY_METHOD0(void, StopAecDump) | 75 PROXY_METHOD0(void, StopAecDump) |
76 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) | 76 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) |
77 PROXY_METHOD0(void, StopRtcEventLog) | 77 PROXY_METHOD0(void, StopRtcEventLog) |
78 | 78 |
79 private: | 79 private: |
80 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot1( | 80 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot1( |
81 const PeerConnectionInterface::RTCConfiguration& a1, | 81 const PeerConnectionInterface::RTCConfiguration& a1, |
82 const MediaConstraintsInterface* a2, | 82 const MediaConstraintsInterface* a2, |
83 PortAllocatorFactoryInterface* a3, | 83 PortAllocatorFactoryInterface* a3, |
84 DtlsIdentityStoreInterface* a4, | 84 DtlsIdentityStoreInterface* a4, |
(...skipping 10 matching lines...) Expand all Loading... |
95 PeerConnectionObserver* a5) { | 95 PeerConnectionObserver* a5) { |
96 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); | 96 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); |
97 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); | 97 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); |
98 return c_->CreatePeerConnection(a1, a2, ptr_a3.Pass(), ptr_a4.Pass(), a5); | 98 return c_->CreatePeerConnection(a1, a2, ptr_a3.Pass(), ptr_a4.Pass(), a5); |
99 } | 99 } |
100 END_PROXY() | 100 END_PROXY() |
101 | 101 |
102 } // namespace webrtc | 102 } // namespace webrtc |
103 | 103 |
104 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ | 104 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ |
OLD | NEW |