Skip to content

Commit

Permalink
preferred codec
Browse files Browse the repository at this point in the history
  • Loading branch information
thesyncim committed Nov 14, 2024
1 parent cca9975 commit 69d8c6d
Show file tree
Hide file tree
Showing 6 changed files with 377 additions and 276 deletions.
447 changes: 230 additions & 217 deletions protobuf/video/sfu/event/events.pb.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions protobuf/video/sfu/event/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ message JoinRequest {
bool fast_reconnect = 6 [deprecated = true];

ReconnectDetails reconnect_details = 7;
models.Codec preferred_codec = 9;
}

message ReconnectDetails {
Expand Down
76 changes: 76 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.

13 changes: 9 additions & 4 deletions protobuf/video/sfu/models/models.pb.go

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

12 changes: 9 additions & 3 deletions protobuf/video/sfu/models/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,18 @@ message PublishOption {
int32 max_spatial_layers = 5;
int32 max_temporal_layers = 6;
}

/*
message Codec {
string mime_type = 10;
string scalability_mode = 11;
string fmtp = 12;
}
*/
message Codec {
uint32 payload_type = 11;
uint32 payload_type = 13;
string name = 10;
uint32 clock_rate = 14;
string encoding_parameters = 13;
string encoding_parameters = 15;
string fmtp = 12;
}

Expand Down
104 changes: 52 additions & 52 deletions protobuf/video/sfu/models/models_vtproto.pb.go

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

0 comments on commit 69d8c6d

Please sign in to comment.