Add support for simulcast with Vp8 from caller into PC level quality tests.

Add support of negotiating simulcast offer/answer. Also fix some minor
issues around to make it finally work.

Bug: webrtc:10138
Change-Id: I382f5df04ca6ac04d8ed1e030e7b2ae5706dd10c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/137425
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Amit Hilbuch <amithi@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28274}
This commit is contained in:
Artem Titov
2019-06-13 16:36:52 +02:00
committed by Commit Bot
parent 6751260241
commit ef3fd9c8ad
16 changed files with 902 additions and 165 deletions

View File

@ -13,9 +13,9 @@
#include <memory>
#include <string>
#include <vector>
#include "absl/memory/memory.h"
#include "api/array_view.h"
#include "api/test/peerconnection_quality_test_fixture.h"
#include "media/base/media_engine.h"
#include "modules/audio_device/include/test_audio_device.h"
@ -63,7 +63,7 @@ class TestPeer final : public PeerConnectionWrapper {
// Adds provided |candidates| to the owned peer connection.
bool AddIceCandidates(
rtc::ArrayView<const IceCandidateInterface* const> candidates);
std::vector<std::unique_ptr<IceCandidateInterface>> candidates);
private:
TestPeer(rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory,
@ -74,6 +74,8 @@ class TestPeer final : public PeerConnectionWrapper {
std::unique_ptr<Params> params_;
rtc::scoped_refptr<AudioProcessing> audio_processing_;
std::vector<std::unique_ptr<IceCandidateInterface>> remote_ice_candidates_;
};
} // namespace webrtc_pc_e2e