Skip to content

Commit 408b12c

Browse files
authored
accept publisher sdp and return optimal publish code, remove tmp preferredCodec (#829)
1 parent c36fbd8 commit 408b12c

File tree

6 files changed

+645
-567
lines changed

6 files changed

+645
-567
lines changed

protobuf/video/sfu/event/events.pb.go

Lines changed: 237 additions & 214 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf/video/sfu/event/events.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ message JoinRequest {
165165
string session_id = 2;
166166
// dumb SDP that allow us to extract subscriber's decode codecs
167167
string subscriber_sdp = 3;
168+
string publisher_sdp = 8;
168169
models.ClientDetails client_details = 4;
169170
// Deprecated: use ReconnectDetails instead
170171
Migration migration = 5 [deprecated = true];
@@ -202,6 +203,7 @@ message JoinResponse {
202203
models.CallState call_state = 1;
203204
bool reconnected = 2;
204205
int32 fast_reconnect_deadline_seconds = 3;
206+
models.Codec publish_codec = 4;
205207
}
206208

207209
// ParticipantJoined is fired when a user joins a call

protobuf/video/sfu/event/events_vtproto.pb.go

Lines changed: 119 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)