Index: webrtc/api/peerconnectionfactory.h |
diff --git a/webrtc/api/peerconnectionfactory.h b/webrtc/api/peerconnectionfactory.h |
index 3ba4124096e4300f79593460f70d67b8af48eb03..7b578f73e37784722b63f77a8e62ea3eaaf8e9f2 100644 |
--- a/webrtc/api/peerconnectionfactory.h |
+++ b/webrtc/api/peerconnectionfactory.h |
@@ -38,6 +38,7 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface { |
options_ = options; |
} |
+ // Deprecated, use version without constraints. |
rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( |
const PeerConnectionInterface::RTCConfiguration& configuration, |
const MediaConstraintsInterface* constraints, |
@@ -45,17 +46,29 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface { |
rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, |
PeerConnectionObserver* observer) override; |
+ virtual rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( |
+ const PeerConnectionInterface::RTCConfiguration& configuration, |
+ rtc::scoped_ptr<cricket::PortAllocator> allocator, |
+ rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, |
+ PeerConnectionObserver* observer) override; |
+ |
bool Initialize(); |
rtc::scoped_refptr<MediaStreamInterface> |
CreateLocalMediaStream(const std::string& label) override; |
+ // Deprecated, use version without constraints. |
rtc::scoped_refptr<AudioSourceInterface> CreateAudioSource( |
const MediaConstraintsInterface* constraints) override; |
+ virtual rtc::scoped_refptr<AudioSourceInterface> CreateAudioSource( |
+ const cricket::AudioOptions& options) override; |
+ // Deprecated, use version without constraints. |
perkj_webrtc
2016/03/01 08:41:26
So you suggest Android and IOS and none chrome des
hta-webrtc
2016/03/02 09:33:40
Added a comment (removed the "D" word) and referen
|
rtc::scoped_refptr<VideoSourceInterface> CreateVideoSource( |
cricket::VideoCapturer* capturer, |
const MediaConstraintsInterface* constraints) override; |
+ virtual rtc::scoped_refptr<VideoSourceInterface> CreateVideoSource( |
+ cricket::VideoCapturer* capturer) override; |
rtc::scoped_refptr<VideoTrackInterface> |
CreateVideoTrack(const std::string& id, |