Reland "Delete leftover includes and declarations for MediaConstraintsInterface"
Original cl: https://webrtc-review.googlesource.com/95721 Bug: webrtc:9239 Change-Id: I7eac85839182bbcecd0d9bd71ae26f6a1c516df4 Reviewed-on: https://webrtc-review.googlesource.com/96401 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24529}
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
#include <string>
|
||||
#include <utility> // For std::move.
|
||||
|
||||
#include "api/mediaconstraintsinterface.h"
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/mediatypes.h"
|
||||
#include "api/ortc/ortcrtpreceiverinterface.h"
|
||||
@ -25,6 +24,7 @@
|
||||
#include "api/ortc/rtptransportinterface.h"
|
||||
#include "api/ortc/srtptransportinterface.h"
|
||||
#include "api/ortc/udptransportinterface.h"
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/rtcerror.h"
|
||||
#include "api/rtpparameters.h"
|
||||
#include "rtc_base/network.h"
|
||||
|
@ -192,16 +192,6 @@ PeerConnectionFactoryDependencies::PeerConnectionFactoryDependencies(
|
||||
PeerConnectionFactoryDependencies::~PeerConnectionFactoryDependencies() =
|
||||
default;
|
||||
|
||||
rtc::scoped_refptr<PeerConnectionInterface>
|
||||
PeerConnectionFactoryInterface::CreatePeerConnection(
|
||||
const PeerConnectionInterface::RTCConfiguration& configuration,
|
||||
const MediaConstraintsInterface* constraints,
|
||||
std::unique_ptr<cricket::PortAllocator> allocator,
|
||||
std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator,
|
||||
PeerConnectionObserver* observer) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
rtc::scoped_refptr<PeerConnectionInterface>
|
||||
PeerConnectionFactoryInterface::CreatePeerConnection(
|
||||
const PeerConnectionInterface::RTCConfiguration& configuration,
|
||||
|
@ -1233,15 +1233,6 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface {
|
||||
std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator,
|
||||
PeerConnectionObserver* observer);
|
||||
|
||||
// Deprecated; should use RTCConfiguration for everything that previously
|
||||
// used constraints.
|
||||
virtual rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection(
|
||||
const PeerConnectionInterface::RTCConfiguration& configuration,
|
||||
const MediaConstraintsInterface* constraints,
|
||||
std::unique_ptr<cricket::PortAllocator> allocator,
|
||||
std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator,
|
||||
PeerConnectionObserver* observer);
|
||||
|
||||
// Returns the capabilities of an RTP sender of type |kind|.
|
||||
// If for some reason you pass in MEDIA_TYPE_DATA, returns an empty structure.
|
||||
// TODO(orphis): Make pure virtual when all subclasses implement it.
|
||||
|
@ -88,18 +88,12 @@ class MockPeerConnectionInterface
|
||||
const SessionDescriptionInterface*());
|
||||
MOCK_CONST_METHOD0(pending_remote_description,
|
||||
const SessionDescriptionInterface*());
|
||||
MOCK_METHOD2(CreateOffer,
|
||||
void(CreateSessionDescriptionObserver*,
|
||||
const MediaConstraintsInterface*));
|
||||
MOCK_METHOD2(CreateOffer,
|
||||
void(CreateSessionDescriptionObserver*,
|
||||
const RTCOfferAnswerOptions&));
|
||||
MOCK_METHOD2(CreateAnswer,
|
||||
void(CreateSessionDescriptionObserver*,
|
||||
const RTCOfferAnswerOptions&));
|
||||
MOCK_METHOD2(CreateAnswer,
|
||||
void(CreateSessionDescriptionObserver*,
|
||||
const MediaConstraintsInterface*));
|
||||
MOCK_METHOD2(SetLocalDescription,
|
||||
void(SetSessionDescriptionObserver*,
|
||||
SessionDescriptionInterface*));
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "absl/memory/memory.h"
|
||||
#include "api/jsepicecandidate.h"
|
||||
#include "api/jsepsessiondescription.h"
|
||||
#include "api/mediaconstraintsinterface.h"
|
||||
#include "api/mediastreamproxy.h"
|
||||
#include "api/mediastreamtrackproxy.h"
|
||||
#include "call/call.h"
|
||||
|
@ -85,7 +85,6 @@ using webrtc::DtmfSender;
|
||||
using webrtc::DtmfSenderInterface;
|
||||
using webrtc::DtmfSenderObserverInterface;
|
||||
using webrtc::FakeVideoTrackRenderer;
|
||||
using webrtc::MediaConstraintsInterface;
|
||||
using webrtc::MediaStreamInterface;
|
||||
using webrtc::MediaStreamTrackInterface;
|
||||
using webrtc::MockCreateSessionDescriptionObserver;
|
||||
|
@ -40,7 +40,6 @@ using testing::_;
|
||||
|
||||
using webrtc::DataChannelInterface;
|
||||
using webrtc::FakeConstraints;
|
||||
using webrtc::MediaConstraintsInterface;
|
||||
using webrtc::MediaStreamInterface;
|
||||
using webrtc::PeerConnectionInterface;
|
||||
using webrtc::SdpSemantics;
|
||||
|
@ -417,7 +417,6 @@ using webrtc::AudioTrackInterface;
|
||||
using webrtc::DataBuffer;
|
||||
using webrtc::DataChannelInterface;
|
||||
using webrtc::IceCandidateInterface;
|
||||
using webrtc::MediaConstraintsInterface;
|
||||
using webrtc::MediaStream;
|
||||
using webrtc::MediaStreamInterface;
|
||||
using webrtc::MediaStreamTrackInterface;
|
||||
|
@ -26,7 +26,6 @@
|
||||
using webrtc::FakeConstraints;
|
||||
using webrtc::FakeVideoTrackRenderer;
|
||||
using webrtc::IceCandidateInterface;
|
||||
using webrtc::MediaConstraintsInterface;
|
||||
using webrtc::MediaStreamInterface;
|
||||
using webrtc::MediaStreamTrackInterface;
|
||||
using webrtc::MockSetSessionDescriptionObserver;
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "absl/memory/memory.h"
|
||||
#include "api/jsep.h"
|
||||
#include "api/jsepsessiondescription.h"
|
||||
#include "api/mediaconstraintsinterface.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/sslidentity.h"
|
||||
|
||||
|
Reference in New Issue
Block a user