updated flow, room & participant id created by server

This commit is contained in:
David Zhao
2020-11-28 00:18:34 -08:00
parent bd667cfe39
commit bea1a87cb8
24 changed files with 675 additions and 624 deletions
+24 -3
View File
@@ -3,19 +3,28 @@ syntax = "proto3";
package livekit;
option go_package = "github.com/livekit/livekit-server/proto/livekit";
import "model.proto";
message SignalRequest {
oneof message {
SessionDescription offer = 1;
SessionDescription negotiate = 2;
Trickle trickle = 3;
MediaControl control = 4;
}
}
message SignalResponse {
oneof message {
SessionDescription answer = 1;
SessionDescription negotiate = 2;
Trickle trickle = 3;
// sent when join is accepted
JoinResponse join = 1;
// sent when offer is answered
SessionDescription answer = 2;
// sent when a negotiated sd is available (could be either offer or answer)
SessionDescription negotiate = 3;
// sent when an ICE candidate is available
Trickle trickle = 4;
}
}
@@ -27,3 +36,15 @@ message SessionDescription {
string type = 1; // "answer" | "offer" | "pranswer" | "rollback"
string sdp = 2;
}
message JoinResponse {
ParticipantInfo participant = 1;
}
message MediaControl {
}
message ParticipantUpdate {
}