RtpEncodingParameters::request_resolution patch 2
This cl/ implements configuring of encode resolution in the video_stream_encoder (webrtc_video_engine) in a way that is independent of frame resolution (i.e not using scale_resolution_down_by). The cl/ reuses the VideoAdapter as is, and hence the output resolution will be the same as it is today. Anticipated further patches 3) Hook up resource adaptation 4) Let VideoSource do adaption if possible Bug: webrtc:14451 Change-Id: I881b031c5b23be26cacfe138730154f1cb1b66a8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/276742 Reviewed-by: Artem Titov <titovartem@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38245}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
96c1a9b9e2
commit
80c87d7151
@ -106,10 +106,10 @@ std::vector<VideoStream> CreateVideoStreams(
|
||||
DefaultVideoStreamFactory::DefaultVideoStreamFactory() {}
|
||||
|
||||
std::vector<VideoStream> DefaultVideoStreamFactory::CreateEncoderStreams(
|
||||
int width,
|
||||
int height,
|
||||
int frame_width,
|
||||
int frame_height,
|
||||
const webrtc::VideoEncoderConfig& encoder_config) {
|
||||
return CreateVideoStreams(width, height, encoder_config);
|
||||
return CreateVideoStreams(frame_width, frame_height, encoder_config);
|
||||
}
|
||||
|
||||
void FillEncoderConfiguration(VideoCodecType codec_type,
|
||||
|
||||
Reference in New Issue
Block a user