Files
livekit-3d/proto/rtc.proto
T

51 lines
965 B
Protocol Buffer

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 {
// 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;
}
}
message Trickle {
string candidate = 1;
}
message SessionDescription {
string type = 1; // "answer" | "offer" | "pranswer" | "rollback"
string sdp = 2;
}
message JoinResponse {
ParticipantInfo participant = 1;
}
message MediaControl {
}
message ParticipantUpdate {
}