Add resolution alignment properties to RTCVideoEncoder protocol.

With this change, RTCVideoEncoder can specify:
- requested_resolution_alignment,
- apply_alignment_to_all_simulcast_layers
in the same way scaling_settings is specified.

Change-Id: I3de79a2eabaae581d6a9f2ef3e39496b9545a4f5

Bug: webrtc:12829
Change-Id: I3de79a2eabaae581d6a9f2ef3e39496b9545a4f5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220933
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Abby Yeh <abbyyeh@webrtc.org>
Commit-Queue: Peter Hanspers <peterhanspers@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34196}
This commit is contained in:
Peter Hanspers
2021-06-01 07:31:00 +02:00
committed by WebRTC LUCI CQ
parent aaa835c7b6
commit 5981bf2eb6
4 changed files with 27 additions and 0 deletions

View File

@ -69,4 +69,14 @@
return nil;
}
- (NSInteger)resolutionAlignment {
RTC_NOTREACHED();
return 1;
}
- (BOOL)applyAlignmentToAllSimulcastLayers {
RTC_NOTREACHED();
return NO;
}
@end