Delete deprecated CreateAudioSource method, with constraints.
Bug: webrtc:9239 Change-Id: I5025b7fd103247e0426ceabedc1216a4f0f0ab34 Reviewed-on: https://webrtc-review.googlesource.com/76560 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23501}
This commit is contained in:
@ -1331,12 +1331,6 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface {
|
||||
// |options| decides audio processing settings.
|
||||
virtual rtc::scoped_refptr<AudioSourceInterface> CreateAudioSource(
|
||||
const cricket::AudioOptions& options) = 0;
|
||||
// Deprecated - use version above.
|
||||
// Can use CopyConstraintsIntoAudioOptions to bridge the gap.
|
||||
virtual rtc::scoped_refptr<AudioSourceInterface> CreateAudioSource(
|
||||
const MediaConstraintsInterface* constraints) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Creates a VideoTrackSourceInterface from |capturer|.
|
||||
// TODO(deadbeef): We should aim to remove cricket::VideoCapturer from the
|
||||
|
||||
Reference in New Issue
Block a user