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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 CreateLocalMediaStream, const std::string&) | 54 CreateLocalMediaStream, const std::string&) |
55 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, | 55 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, |
56 CreateAudioSource, const MediaConstraintsInterface*) | 56 CreateAudioSource, const MediaConstraintsInterface*) |
57 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, | 57 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, |
58 CreateVideoSource, cricket::VideoCapturer*, | 58 CreateVideoSource, cricket::VideoCapturer*, |
59 const MediaConstraintsInterface*) | 59 const MediaConstraintsInterface*) |
60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, | 60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, |
61 CreateVideoTrack, const std::string&, VideoSourceInterface*) | 61 CreateVideoTrack, const std::string&, VideoSourceInterface*) |
62 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, | 62 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, |
63 CreateAudioTrack, const std::string&, AudioSourceInterface*) | 63 CreateAudioTrack, const std::string&, AudioSourceInterface*) |
64 PROXY_METHOD1(bool, StartAecDump, rtc::PlatformFile) | 64 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) |
65 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) | 65 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) |
66 PROXY_METHOD0(void, StopRtcEventLog) | 66 PROXY_METHOD0(void, StopRtcEventLog) |
67 | 67 |
68 private: | 68 private: |
69 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( | 69 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( |
70 const PeerConnectionInterface::RTCConfiguration& a1, | 70 const PeerConnectionInterface::RTCConfiguration& a1, |
71 const MediaConstraintsInterface* a2, | 71 const MediaConstraintsInterface* a2, |
72 PortAllocatorFactoryInterface* a3, | 72 PortAllocatorFactoryInterface* a3, |
73 DtlsIdentityStoreInterface* a4, | 73 DtlsIdentityStoreInterface* a4, |
74 PeerConnectionObserver* a5) { | 74 PeerConnectionObserver* a5) { |
75 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); | 75 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); |
76 return c_->CreatePeerConnection(a1, a2, a3, ptr_a4.Pass(), a5); | 76 return c_->CreatePeerConnection(a1, a2, a3, ptr_a4.Pass(), a5); |
77 } | 77 } |
78 END_PROXY() | 78 END_PROXY() |
79 | 79 |
80 } // namespace webrtc | 80 } // namespace webrtc |
81 | 81 |
82 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ | 82 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ |
OLD | NEW |