Skip to content

Commit

Permalink
accept publisher sdp and return optimal publish code, remove tmp pref…
Browse files Browse the repository at this point in the history
…erredCodec (#829)
  • Loading branch information
thesyncim authored Nov 11, 2024
1 parent c36fbd8 commit 408b12c
Show file tree
Hide file tree
Showing 6 changed files with 645 additions and 567 deletions.
451 changes: 237 additions & 214 deletions protobuf/video/sfu/event/events.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions protobuf/video/sfu/event/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ message JoinRequest {
string session_id = 2;
// dumb SDP that allow us to extract subscriber's decode codecs
string subscriber_sdp = 3;
string publisher_sdp = 8;
models.ClientDetails client_details = 4;
// Deprecated: use ReconnectDetails instead
Migration migration = 5 [deprecated = true];
Expand Down Expand Up @@ -202,6 +203,7 @@ message JoinResponse {
models.CallState call_state = 1;
bool reconnected = 2;
int32 fast_reconnect_deadline_seconds = 3;
models.Codec publish_codec = 4;
}

// ParticipantJoined is fired when a user joins a call
Expand Down
119 changes: 119 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.

Loading

0 comments on commit 408b12c

Please sign in to comment.