Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions livekit/livekit_models.pb.go

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

4 changes: 2 additions & 2 deletions livekit/livekit_rtc.pb.go

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

177 changes: 147 additions & 30 deletions livekit/livekit_rtc_v2.pb.go

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

1 change: 1 addition & 0 deletions protobufs/livekit_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ message DataPacket {
}

message ActiveSpeakerUpdate {
option deprecated = true;
repeated SpeakerInfo speakers = 1;
}

Expand Down
4 changes: 2 additions & 2 deletions protobufs/livekit_rtc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import "livekit_models.proto";

message SignalRequest {
oneof message {
// initial join exchange, for publisher
// participant offer for publisher
SessionDescription offer = 1;
// participant answering publisher offer
// participant answering subscriber offer
SessionDescription answer = 2;
TrickleRequest trickle = 3;
AddTrackRequest add_track = 4;
Expand Down
6 changes: 6 additions & 0 deletions protobufs/livekit_rtc_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ message Signalv2ClientMessage {

oneof message {
ConnectRequest connect_request = 2;
SessionDescription publisher_sdp = 3; // SDP offer for publisher peer connection
SessionDescription subscriber_sdp = 4; // SDP answer for subscriber peer connection
}
}

Expand All @@ -58,6 +60,10 @@ message Signalv2ServerMessage {

oneof message {
ConnectResponse connect_response = 2;
SessionDescription publisher_sdp = 3; // SDP answer for publisher peer connection
SessionDescription subscriber_sdp = 4; // SDP offer for subscriber peer connection
RoomUpdate room_update = 5;
ParticipantUpdate participant_update = 6;
}
}

Expand Down