Skip to content

Commit

Permalink
[PBE-989] add max_framerate parameter to VideoLayerSetting (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
su225 authored Sep 29, 2023
2 parents 7691eea + f9adb7d commit c41744c
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 52 deletions.
117 changes: 65 additions & 52 deletions protobuf/video/sfu/event/events.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions protobuf/video/sfu/event/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ message VideoMediaRequest {
}


// VideoLayerSetting is used to specify various parameters of a particular encoding in simulcast.
// The parameters are specified here - https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpEncodingParameters
// SDKs use these parameters sent from the server to dynamically adjust these parameters to save CPU, bandwidth
message VideoLayerSetting {
string name = 1;
bool active = 2;
Expand All @@ -248,6 +251,7 @@ message VideoLayerSetting {
}
Priority priority = 5;
models.Codec codec = 6;
uint32 max_framerate = 7;
}

message VideoSender {
Expand Down
27 changes: 27 additions & 0 deletions protobuf/video/sfu/event/events_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c41744c

Please sign in to comment.