Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: webrtc/api/peerconnectionfactoryproxy.h

Issue 1770003002: Renamed VideoSourceInterface to VideoTrackSourceInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 rtc::Bind(&PeerConnectionFactoryProxy::CreatePeerConnection_ot, this, 43 rtc::Bind(&PeerConnectionFactoryProxy::CreatePeerConnection_ot, this,
44 a1, a3.release(), a4.release(), a5)); 44 a1, a3.release(), a4.release(), a5));
45 } 45 }
46 PROXY_METHOD1(rtc::scoped_refptr<MediaStreamInterface>, 46 PROXY_METHOD1(rtc::scoped_refptr<MediaStreamInterface>,
47 CreateLocalMediaStream, const std::string&) 47 CreateLocalMediaStream, const std::string&)
48 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, 48 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>,
49 CreateAudioSource, const MediaConstraintsInterface*) 49 CreateAudioSource, const MediaConstraintsInterface*)
50 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, 50 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>,
51 CreateAudioSource, 51 CreateAudioSource,
52 const cricket::AudioOptions&) 52 const cricket::AudioOptions&)
53 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, 53 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackSourceInterface>,
54 CreateVideoSource, cricket::VideoCapturer*, 54 CreateVideoSource,
55 cricket::VideoCapturer*,
55 const MediaConstraintsInterface*) 56 const MediaConstraintsInterface*)
56 PROXY_METHOD1(rtc::scoped_refptr<VideoSourceInterface>, 57 PROXY_METHOD1(rtc::scoped_refptr<VideoTrackSourceInterface>,
57 CreateVideoSource, 58 CreateVideoSource,
58 cricket::VideoCapturer*) 59 cricket::VideoCapturer*)
59 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, 60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>,
60 CreateVideoTrack, const std::string&, VideoSourceInterface*) 61 CreateVideoTrack,
62 const std::string&,
63 VideoTrackSourceInterface*)
61 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, 64 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>,
62 CreateAudioTrack, const std::string&, AudioSourceInterface*) 65 CreateAudioTrack, const std::string&, AudioSourceInterface*)
63 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t) 66 PROXY_METHOD2(bool, StartAecDump, rtc::PlatformFile, int64_t)
64 PROXY_METHOD0(void, StopAecDump) 67 PROXY_METHOD0(void, StopAecDump)
65 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) 68 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile)
66 PROXY_METHOD0(void, StopRtcEventLog) 69 PROXY_METHOD0(void, StopRtcEventLog)
67 70
68 private: 71 private:
69 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( 72 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot(
70 const PeerConnectionInterface::RTCConfiguration& a1, 73 const PeerConnectionInterface::RTCConfiguration& a1,
(...skipping 15 matching lines...) Expand all
86 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); 89 rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3);
87 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); 90 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4);
88 return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4), 91 return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4),
89 a5); 92 a5);
90 } 93 }
91 END_PROXY() 94 END_PROXY()
92 95
93 } // namespace webrtc 96 } // namespace webrtc
94 97
95 #endif // WEBRTC_API_PEERCONNECTIONFACTORYPROXY_H_ 98 #endif // WEBRTC_API_PEERCONNECTIONFACTORYPROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698