#include "test/encoder_settings.h"
#include <algorithm>
#include "api/scoped_refptr.h"
#include "api/video_codecs/sdp_video_format.h"
#include "call/rtp_config.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace test {
const size_t DefaultVideoStreamFactory::kMaxNumberOfStreams;
const int DefaultVideoStreamFactory::kMaxBitratePerStream[] = …;
const int DefaultVideoStreamFactory::kDefaultMinBitratePerStream[] = …;
std::vector<VideoStream> CreateVideoStreams(
int width,
int height,
const webrtc::VideoEncoderConfig& encoder_config) { … }
DefaultVideoStreamFactory::DefaultVideoStreamFactory() { … }
std::vector<VideoStream> DefaultVideoStreamFactory::CreateEncoderStreams(
const FieldTrialsView& ,
int frame_width,
int frame_height,
const webrtc::VideoEncoderConfig& encoder_config) { … }
void FillEncoderConfiguration(VideoCodecType codec_type,
size_t num_streams,
VideoEncoderConfig* configuration) { … }
VideoReceiveStreamInterface::Decoder CreateMatchingDecoder(
int payload_type,
const std::string& payload_name) { … }
VideoReceiveStreamInterface::Decoder CreateMatchingDecoder(
const VideoSendStream::Config& config) { … }
}
}