Skip to content

Commit

Permalink
Add playoutdelay to CreateRoomRequest (#439)
Browse files Browse the repository at this point in the history
* Add playoutdelay to CreateRoomRequest

* generated protobuf

* Remove max from PlayoutDelay

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
cnderrauber and github-actions[bot] authored Aug 3, 2023
1 parent caf65eb commit d791f31
Show file tree
Hide file tree
Showing 6 changed files with 622 additions and 617 deletions.
799 changes: 395 additions & 404 deletions livekit/livekit_models.pb.go

Large diffs are not rendered by default.

310 changes: 161 additions & 149 deletions livekit/livekit_room.pb.go

Large diffs are not rendered by default.

126 changes: 64 additions & 62 deletions livekit/livekit_room.twirp.go

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

1 change: 0 additions & 1 deletion livekit_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ enum VideoCodec {
message PlayoutDelay {
bool enabled = 1;
uint32 min = 2;
uint32 max = 3;
}

message ParticipantPermission {
Expand Down
2 changes: 2 additions & 0 deletions livekit_room.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ message CreateRoomRequest {
string metadata = 5;
// egress
RoomEgress egress = 6;
// minimum playout delay of subscriber
uint32 min_playout_delay = 7;
}

message RoomEgress {
Expand Down
1 change: 0 additions & 1 deletion sdp/sdp.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func ExtractICECredential(desc *sdp.SessionDescription) (string, string, error)
}

func ExtractStreamID(media *sdp.MediaDescription) (string, bool) {
// last video is pending for publish, set codec preference
var streamID string
msid, ok := media.Attribute(sdp.AttrKeyMsid)
if !ok {
Expand Down

0 comments on commit d791f31

Please sign in to comment.