Move method to right place in the PC API

Bug: webrtc:10138
Change-Id: I46f353cea0dee986b211c475acbb3b39fe2df16f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166460
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30299}
This commit is contained in:
Artem Titov
2020-01-17 12:18:20 +01:00
committed by Commit Bot
parent c9f42ad909
commit 524417f3f7

View File

@ -255,7 +255,7 @@ class PeerConnectionE2EQualityTestFixture {
public: public:
virtual ~PeerConfigurer() = default; virtual ~PeerConfigurer() = default;
// The parameters of the following 8 methods will be passed to the // The parameters of the following 9 methods will be passed to the
// PeerConnectionFactoryInterface implementation that will be created for // PeerConnectionFactoryInterface implementation that will be created for
// this peer. // this peer.
virtual PeerConfigurer* SetTaskQueueFactory( virtual PeerConfigurer* SetTaskQueueFactory(
@ -276,6 +276,9 @@ class PeerConnectionE2EQualityTestFixture {
std::unique_ptr<VideoEncoderFactory> video_encoder_factory) = 0; std::unique_ptr<VideoEncoderFactory> video_encoder_factory) = 0;
virtual PeerConfigurer* SetVideoDecoderFactory( virtual PeerConfigurer* SetVideoDecoderFactory(
std::unique_ptr<VideoDecoderFactory> video_decoder_factory) = 0; std::unique_ptr<VideoDecoderFactory> video_decoder_factory) = 0;
// Set a custom NetEqFactory to be used in the call.
virtual PeerConfigurer* SetNetEqFactory(
std::unique_ptr<NetEqFactory> neteq_factory) = 0;
// The parameters of the following 4 methods will be passed to the // The parameters of the following 4 methods will be passed to the
// PeerConnectionInterface implementation that will be created for this // PeerConnectionInterface implementation that will be created for this
@ -301,9 +304,6 @@ class PeerConnectionE2EQualityTestFixture {
// Set the audio stream for the call from this peer. If this method won't // Set the audio stream for the call from this peer. If this method won't
// be invoked, this peer will send no audio. // be invoked, this peer will send no audio.
virtual PeerConfigurer* SetAudioConfig(AudioConfig config) = 0; virtual PeerConfigurer* SetAudioConfig(AudioConfig config) = 0;
// Set a custom NetEqFactory to be used in the call.
virtual PeerConfigurer* SetNetEqFactory(
std::unique_ptr<NetEqFactory> neteq_factory) = 0;
// If is set, an RTCEventLog will be saved in that location and it will be // If is set, an RTCEventLog will be saved in that location and it will be
// available for further analysis. // available for further analysis.
virtual PeerConfigurer* SetRtcEventLogPath(std::string path) = 0; virtual PeerConfigurer* SetRtcEventLogPath(std::string path) = 0;