Add member VideoEncoderConfig::SdpVideoFormat.
In preparation for moving creation of encoders to VideoStreamEncoder; then this field is needed for calling VideoEncoderFactory::CreateVideoEncoder. Bug: webrtc:8830 Change-Id: Ie107a93596e22a5e7b9a9147bd85a93cf84b15a3 Reviewed-on: https://webrtc-review.googlesource.com/70221 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22894}
This commit is contained in:
parent
cbaa254641
commit
6dfc8d6ef3
@ -48,6 +48,7 @@ std::string VideoStream::ToString() const {
|
||||
|
||||
VideoEncoderConfig::VideoEncoderConfig()
|
||||
: codec_type(kVideoCodecUnknown),
|
||||
video_format("Unset"),
|
||||
content_type(ContentType::kRealtimeVideo),
|
||||
encoder_specific_settings(nullptr),
|
||||
min_transmit_bitrate_bps(0),
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/optional.h"
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/basictypes.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
@ -126,7 +127,10 @@ class VideoEncoderConfig {
|
||||
~VideoEncoderConfig();
|
||||
std::string ToString() const;
|
||||
|
||||
// TODO(nisse): Consolidate on one of these.
|
||||
VideoCodecType codec_type;
|
||||
SdpVideoFormat video_format;
|
||||
|
||||
rtc::scoped_refptr<VideoStreamFactoryInterface> video_stream_factory;
|
||||
std::vector<SpatialLayer> spatial_layers;
|
||||
ContentType content_type;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user