Make video scalability mode configurable from peerconnection level.
This CL does not aim at cleaning up simulcast/SVC configuration, just to make it possible to set the scalability mode for AV1. Implementing a codec agnostic SVC/simulcast API is a (big) project on its own. Change-Id: Ia88df31eb1111713e5f8832e95c8db44f92887ca BUG: webrtc:11607 Change-Id: Ia88df31eb1111713e5f8832e95c8db44f92887ca Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192541 Reviewed-by: Florent Castelli <orphis@webrtc.org> Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32631}
This commit is contained in:
@ -465,6 +465,9 @@ struct RTC_EXPORT RtpEncodingParameters {
|
||||
// For video, scale the resolution down by this factor.
|
||||
absl::optional<double> scale_resolution_down_by;
|
||||
|
||||
// https://w3c.github.io/webrtc-svc/#rtcrtpencodingparameters
|
||||
absl::optional<std::string> scalability_mode;
|
||||
|
||||
// For an RtpSender, set to true to cause this encoding to be encoded and
|
||||
// sent, and false for it not to be encoded and sent. This allows control
|
||||
// across multiple encodings of a sender for turning simulcast layers on and
|
||||
|
||||
Reference in New Issue
Block a user