package livekit
import (
_ "github.com/livekit/protocol/livekit/logger"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AudioCodec int32
const (
AudioCodec_DEFAULT_AC AudioCodec = 0
AudioCodec_OPUS AudioCodec = 1
AudioCodec_AAC AudioCodec = 2
AudioCodec_AC_MP3 AudioCodec = 3
)
var (
AudioCodec_name = map[int32]string{
0: "DEFAULT_AC",
1: "OPUS",
2: "AAC",
3: "AC_MP3",
}
AudioCodec_value = map[string]int32{
"DEFAULT_AC": 0,
"OPUS": 1,
"AAC": 2,
"AC_MP3": 3,
}
)
func (x AudioCodec) Enum() *AudioCodec {
p := new(AudioCodec)
*p = x
return p
}
func (x AudioCodec) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AudioCodec) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[0].Descriptor()
}
func (AudioCodec) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[0]
}
func (x AudioCodec) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (AudioCodec) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{0}
}
type VideoCodec int32
const (
VideoCodec_DEFAULT_VC VideoCodec = 0
VideoCodec_H264_BASELINE VideoCodec = 1
VideoCodec_H264_MAIN VideoCodec = 2
VideoCodec_H264_HIGH VideoCodec = 3
VideoCodec_VP8 VideoCodec = 4
)
var (
VideoCodec_name = map[int32]string{
0: "DEFAULT_VC",
1: "H264_BASELINE",
2: "H264_MAIN",
3: "H264_HIGH",
4: "VP8",
}
VideoCodec_value = map[string]int32{
"DEFAULT_VC": 0,
"H264_BASELINE": 1,
"H264_MAIN": 2,
"H264_HIGH": 3,
"VP8": 4,
}
)
func (x VideoCodec) Enum() *VideoCodec {
p := new(VideoCodec)
*p = x
return p
}
func (x VideoCodec) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (VideoCodec) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[1].Descriptor()
}
func (VideoCodec) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[1]
}
func (x VideoCodec) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (VideoCodec) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{1}
}
type ImageCodec int32
const (
ImageCodec_IC_DEFAULT ImageCodec = 0
ImageCodec_IC_JPEG ImageCodec = 1
)
var (
ImageCodec_name = map[int32]string{
0: "IC_DEFAULT",
1: "IC_JPEG",
}
ImageCodec_value = map[string]int32{
"IC_DEFAULT": 0,
"IC_JPEG": 1,
}
)
func (x ImageCodec) Enum() *ImageCodec {
p := new(ImageCodec)
*p = x
return p
}
func (x ImageCodec) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ImageCodec) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[2].Descriptor()
}
func (ImageCodec) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[2]
}
func (x ImageCodec) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ImageCodec) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{2}
}
type BackupCodecPolicy int32
const (
BackupCodecPolicy_PREFER_REGRESSION BackupCodecPolicy = 0
BackupCodecPolicy_SIMULCAST BackupCodecPolicy = 1
BackupCodecPolicy_REGRESSION BackupCodecPolicy = 2
)
var (
BackupCodecPolicy_name = map[int32]string{
0: "PREFER_REGRESSION",
1: "SIMULCAST",
2: "REGRESSION",
}
BackupCodecPolicy_value = map[string]int32{
"PREFER_REGRESSION": 0,
"SIMULCAST": 1,
"REGRESSION": 2,
}
)
func (x BackupCodecPolicy) Enum() *BackupCodecPolicy {
p := new(BackupCodecPolicy)
*p = x
return p
}
func (x BackupCodecPolicy) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BackupCodecPolicy) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[3].Descriptor()
}
func (BackupCodecPolicy) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[3]
}
func (x BackupCodecPolicy) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (BackupCodecPolicy) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{3}
}
type TrackType int32
const (
TrackType_AUDIO TrackType = 0
TrackType_VIDEO TrackType = 1
TrackType_DATA TrackType = 2
)
var (
TrackType_name = map[int32]string{
0: "AUDIO",
1: "VIDEO",
2: "DATA",
}
TrackType_value = map[string]int32{
"AUDIO": 0,
"VIDEO": 1,
"DATA": 2,
}
)
func (x TrackType) Enum() *TrackType {
p := new(TrackType)
*p = x
return p
}
func (x TrackType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TrackType) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[4].Descriptor()
}
func (TrackType) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[4]
}
func (x TrackType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (TrackType) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{4}
}
type TrackSource int32
const (
TrackSource_UNKNOWN TrackSource = 0
TrackSource_CAMERA TrackSource = 1
TrackSource_MICROPHONE TrackSource = 2
TrackSource_SCREEN_SHARE TrackSource = 3
TrackSource_SCREEN_SHARE_AUDIO TrackSource = 4
)
var (
TrackSource_name = map[int32]string{
0: "UNKNOWN",
1: "CAMERA",
2: "MICROPHONE",
3: "SCREEN_SHARE",
4: "SCREEN_SHARE_AUDIO",
}
TrackSource_value = map[string]int32{
"UNKNOWN": 0,
"CAMERA": 1,
"MICROPHONE": 2,
"SCREEN_SHARE": 3,
"SCREEN_SHARE_AUDIO": 4,
}
)
func (x TrackSource) Enum() *TrackSource {
p := new(TrackSource)
*p = x
return p
}
func (x TrackSource) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TrackSource) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[5].Descriptor()
}
func (TrackSource) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[5]
}
func (x TrackSource) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (TrackSource) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{5}
}
type DataTrackExtensionID int32
const (
DataTrackExtensionID_DTEI_INVALID DataTrackExtensionID = 0
DataTrackExtensionID_DTEI_PARTICIPANT_SID DataTrackExtensionID = 1
)
var (
DataTrackExtensionID_name = map[int32]string{
0: "DTEI_INVALID",
1: "DTEI_PARTICIPANT_SID",
}
DataTrackExtensionID_value = map[string]int32{
"DTEI_INVALID": 0,
"DTEI_PARTICIPANT_SID": 1,
}
)
func (x DataTrackExtensionID) Enum() *DataTrackExtensionID {
p := new(DataTrackExtensionID)
*p = x
return p
}
func (x DataTrackExtensionID) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataTrackExtensionID) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[6].Descriptor()
}
func (DataTrackExtensionID) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[6]
}
func (x DataTrackExtensionID) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (DataTrackExtensionID) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{6}
}
type VideoQuality int32
const (
VideoQuality_LOW VideoQuality = 0
VideoQuality_MEDIUM VideoQuality = 1
VideoQuality_HIGH VideoQuality = 2
VideoQuality_OFF VideoQuality = 3
)
var (
VideoQuality_name = map[int32]string{
0: "LOW",
1: "MEDIUM",
2: "HIGH",
3: "OFF",
}
VideoQuality_value = map[string]int32{
"LOW": 0,
"MEDIUM": 1,
"HIGH": 2,
"OFF": 3,
}
)
func (x VideoQuality) Enum() *VideoQuality {
p := new(VideoQuality)
*p = x
return p
}
func (x VideoQuality) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (VideoQuality) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[7].Descriptor()
}
func (VideoQuality) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[7]
}
func (x VideoQuality) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (VideoQuality) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{7}
}
type ConnectionQuality int32
const (
ConnectionQuality_POOR ConnectionQuality = 0
ConnectionQuality_GOOD ConnectionQuality = 1
ConnectionQuality_EXCELLENT ConnectionQuality = 2
ConnectionQuality_LOST ConnectionQuality = 3
)
var (
ConnectionQuality_name = map[int32]string{
0: "POOR",
1: "GOOD",
2: "EXCELLENT",
3: "LOST",
}
ConnectionQuality_value = map[string]int32{
"POOR": 0,
"GOOD": 1,
"EXCELLENT": 2,
"LOST": 3,
}
)
func (x ConnectionQuality) Enum() *ConnectionQuality {
p := new(ConnectionQuality)
*p = x
return p
}
func (x ConnectionQuality) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConnectionQuality) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[8].Descriptor()
}
func (ConnectionQuality) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[8]
}
func (x ConnectionQuality) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ConnectionQuality) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{8}
}
type ClientConfigSetting int32
const (
ClientConfigSetting_UNSET ClientConfigSetting = 0
ClientConfigSetting_DISABLED ClientConfigSetting = 1
ClientConfigSetting_ENABLED ClientConfigSetting = 2
)
var (
ClientConfigSetting_name = map[int32]string{
0: "UNSET",
1: "DISABLED",
2: "ENABLED",
}
ClientConfigSetting_value = map[string]int32{
"UNSET": 0,
"DISABLED": 1,
"ENABLED": 2,
}
)
func (x ClientConfigSetting) Enum() *ClientConfigSetting {
p := new(ClientConfigSetting)
*p = x
return p
}
func (x ClientConfigSetting) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientConfigSetting) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[9].Descriptor()
}
func (ClientConfigSetting) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[9]
}
func (x ClientConfigSetting) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ClientConfigSetting) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{9}
}
type DisconnectReason int32
const (
DisconnectReason_UNKNOWN_REASON DisconnectReason = 0
DisconnectReason_CLIENT_INITIATED DisconnectReason = 1
DisconnectReason_DUPLICATE_IDENTITY DisconnectReason = 2
DisconnectReason_SERVER_SHUTDOWN DisconnectReason = 3
DisconnectReason_PARTICIPANT_REMOVED DisconnectReason = 4
DisconnectReason_ROOM_DELETED DisconnectReason = 5
DisconnectReason_STATE_MISMATCH DisconnectReason = 6
DisconnectReason_JOIN_FAILURE DisconnectReason = 7
DisconnectReason_MIGRATION DisconnectReason = 8
DisconnectReason_SIGNAL_CLOSE DisconnectReason = 9
DisconnectReason_ROOM_CLOSED DisconnectReason = 10
DisconnectReason_USER_UNAVAILABLE DisconnectReason = 11
DisconnectReason_USER_REJECTED DisconnectReason = 12
DisconnectReason_SIP_TRUNK_FAILURE DisconnectReason = 13
DisconnectReason_CONNECTION_TIMEOUT DisconnectReason = 14
DisconnectReason_MEDIA_FAILURE DisconnectReason = 15
DisconnectReason_AGENT_ERROR DisconnectReason = 16
)
var (
DisconnectReason_name = map[int32]string{
0: "UNKNOWN_REASON",
1: "CLIENT_INITIATED",
2: "DUPLICATE_IDENTITY",
3: "SERVER_SHUTDOWN",
4: "PARTICIPANT_REMOVED",
5: "ROOM_DELETED",
6: "STATE_MISMATCH",
7: "JOIN_FAILURE",
8: "MIGRATION",
9: "SIGNAL_CLOSE",
10: "ROOM_CLOSED",
11: "USER_UNAVAILABLE",
12: "USER_REJECTED",
13: "SIP_TRUNK_FAILURE",
14: "CONNECTION_TIMEOUT",
15: "MEDIA_FAILURE",
16: "AGENT_ERROR",
}
DisconnectReason_value = map[string]int32{
"UNKNOWN_REASON": 0,
"CLIENT_INITIATED": 1,
"DUPLICATE_IDENTITY": 2,
"SERVER_SHUTDOWN": 3,
"PARTICIPANT_REMOVED": 4,
"ROOM_DELETED": 5,
"STATE_MISMATCH": 6,
"JOIN_FAILURE": 7,
"MIGRATION": 8,
"SIGNAL_CLOSE": 9,
"ROOM_CLOSED": 10,
"USER_UNAVAILABLE": 11,
"USER_REJECTED": 12,
"SIP_TRUNK_FAILURE": 13,
"CONNECTION_TIMEOUT": 14,
"MEDIA_FAILURE": 15,
"AGENT_ERROR": 16,
}
)
func (x DisconnectReason) Enum() *DisconnectReason {
p := new(DisconnectReason)
*p = x
return p
}
func (x DisconnectReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DisconnectReason) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[10].Descriptor()
}
func (DisconnectReason) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[10]
}
func (x DisconnectReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (DisconnectReason) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{10}
}
type ReconnectReason int32
const (
ReconnectReason_RR_UNKNOWN ReconnectReason = 0
ReconnectReason_RR_SIGNAL_DISCONNECTED ReconnectReason = 1
ReconnectReason_RR_PUBLISHER_FAILED ReconnectReason = 2
ReconnectReason_RR_SUBSCRIBER_FAILED ReconnectReason = 3
ReconnectReason_RR_SWITCH_CANDIDATE ReconnectReason = 4
)
var (
ReconnectReason_name = map[int32]string{
0: "RR_UNKNOWN",
1: "RR_SIGNAL_DISCONNECTED",
2: "RR_PUBLISHER_FAILED",
3: "RR_SUBSCRIBER_FAILED",
4: "RR_SWITCH_CANDIDATE",
}
ReconnectReason_value = map[string]int32{
"RR_UNKNOWN": 0,
"RR_SIGNAL_DISCONNECTED": 1,
"RR_PUBLISHER_FAILED": 2,
"RR_SUBSCRIBER_FAILED": 3,
"RR_SWITCH_CANDIDATE": 4,
}
)
func (x ReconnectReason) Enum() *ReconnectReason {
p := new(ReconnectReason)
*p = x
return p
}
func (x ReconnectReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ReconnectReason) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[11].Descriptor()
}
func (ReconnectReason) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[11]
}
func (x ReconnectReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ReconnectReason) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{11}
}
type SubscriptionError int32
const (
SubscriptionError_SE_UNKNOWN SubscriptionError = 0
SubscriptionError_SE_CODEC_UNSUPPORTED SubscriptionError = 1
SubscriptionError_SE_TRACK_NOTFOUND SubscriptionError = 2
)
var (
SubscriptionError_name = map[int32]string{
0: "SE_UNKNOWN",
1: "SE_CODEC_UNSUPPORTED",
2: "SE_TRACK_NOTFOUND",
}
SubscriptionError_value = map[string]int32{
"SE_UNKNOWN": 0,
"SE_CODEC_UNSUPPORTED": 1,
"SE_TRACK_NOTFOUND": 2,
}
)
func (x SubscriptionError) Enum() *SubscriptionError {
p := new(SubscriptionError)
*p = x
return p
}
func (x SubscriptionError) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SubscriptionError) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[12].Descriptor()
}
func (SubscriptionError) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[12]
}
func (x SubscriptionError) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SubscriptionError) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{12}
}
type AudioTrackFeature int32
const (
AudioTrackFeature_TF_STEREO AudioTrackFeature = 0
AudioTrackFeature_TF_NO_DTX AudioTrackFeature = 1
AudioTrackFeature_TF_AUTO_GAIN_CONTROL AudioTrackFeature = 2
AudioTrackFeature_TF_ECHO_CANCELLATION AudioTrackFeature = 3
AudioTrackFeature_TF_NOISE_SUPPRESSION AudioTrackFeature = 4
AudioTrackFeature_TF_ENHANCED_NOISE_CANCELLATION AudioTrackFeature = 5
AudioTrackFeature_TF_PRECONNECT_BUFFER AudioTrackFeature = 6 )
var (
AudioTrackFeature_name = map[int32]string{
0: "TF_STEREO",
1: "TF_NO_DTX",
2: "TF_AUTO_GAIN_CONTROL",
3: "TF_ECHO_CANCELLATION",
4: "TF_NOISE_SUPPRESSION",
5: "TF_ENHANCED_NOISE_CANCELLATION",
6: "TF_PRECONNECT_BUFFER",
}
AudioTrackFeature_value = map[string]int32{
"TF_STEREO": 0,
"TF_NO_DTX": 1,
"TF_AUTO_GAIN_CONTROL": 2,
"TF_ECHO_CANCELLATION": 3,
"TF_NOISE_SUPPRESSION": 4,
"TF_ENHANCED_NOISE_CANCELLATION": 5,
"TF_PRECONNECT_BUFFER": 6,
}
)
func (x AudioTrackFeature) Enum() *AudioTrackFeature {
p := new(AudioTrackFeature)
*p = x
return p
}
func (x AudioTrackFeature) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AudioTrackFeature) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[13].Descriptor()
}
func (AudioTrackFeature) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[13]
}
func (x AudioTrackFeature) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (AudioTrackFeature) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{13}
}
type PacketTrailerFeature int32
const (
PacketTrailerFeature_PTF_USER_TIMESTAMP PacketTrailerFeature = 0
PacketTrailerFeature_PTF_FRAME_ID PacketTrailerFeature = 1
)
var (
PacketTrailerFeature_name = map[int32]string{
0: "PTF_USER_TIMESTAMP",
1: "PTF_FRAME_ID",
}
PacketTrailerFeature_value = map[string]int32{
"PTF_USER_TIMESTAMP": 0,
"PTF_FRAME_ID": 1,
}
)
func (x PacketTrailerFeature) Enum() *PacketTrailerFeature {
p := new(PacketTrailerFeature)
*p = x
return p
}
func (x PacketTrailerFeature) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PacketTrailerFeature) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[14].Descriptor()
}
func (PacketTrailerFeature) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[14]
}
func (x PacketTrailerFeature) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (PacketTrailerFeature) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{14}
}
type ParticipantInfo_State int32
const (
ParticipantInfo_JOINING ParticipantInfo_State = 0
ParticipantInfo_JOINED ParticipantInfo_State = 1
ParticipantInfo_ACTIVE ParticipantInfo_State = 2
ParticipantInfo_DISCONNECTED ParticipantInfo_State = 3
)
var (
ParticipantInfo_State_name = map[int32]string{
0: "JOINING",
1: "JOINED",
2: "ACTIVE",
3: "DISCONNECTED",
}
ParticipantInfo_State_value = map[string]int32{
"JOINING": 0,
"JOINED": 1,
"ACTIVE": 2,
"DISCONNECTED": 3,
}
)
func (x ParticipantInfo_State) Enum() *ParticipantInfo_State {
p := new(ParticipantInfo_State)
*p = x
return p
}
func (x ParticipantInfo_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ParticipantInfo_State) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[15].Descriptor()
}
func (ParticipantInfo_State) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[15]
}
func (x ParticipantInfo_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ParticipantInfo_State) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{7, 0}
}
type ParticipantInfo_Kind int32
const (
ParticipantInfo_STANDARD ParticipantInfo_Kind = 0
ParticipantInfo_INGRESS ParticipantInfo_Kind = 1
ParticipantInfo_EGRESS ParticipantInfo_Kind = 2
ParticipantInfo_SIP ParticipantInfo_Kind = 3
ParticipantInfo_AGENT ParticipantInfo_Kind = 4
ParticipantInfo_CONNECTOR ParticipantInfo_Kind = 7
ParticipantInfo_BRIDGE ParticipantInfo_Kind = 8 )
var (
ParticipantInfo_Kind_name = map[int32]string{
0: "STANDARD",
1: "INGRESS",
2: "EGRESS",
3: "SIP",
4: "AGENT",
7: "CONNECTOR",
8: "BRIDGE",
}
ParticipantInfo_Kind_value = map[string]int32{
"STANDARD": 0,
"INGRESS": 1,
"EGRESS": 2,
"SIP": 3,
"AGENT": 4,
"CONNECTOR": 7,
"BRIDGE": 8,
}
)
func (x ParticipantInfo_Kind) Enum() *ParticipantInfo_Kind {
p := new(ParticipantInfo_Kind)
*p = x
return p
}
func (x ParticipantInfo_Kind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ParticipantInfo_Kind) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[16].Descriptor()
}
func (ParticipantInfo_Kind) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[16]
}
func (x ParticipantInfo_Kind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ParticipantInfo_Kind) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{7, 1}
}
type ParticipantInfo_KindDetail int32
const (
ParticipantInfo_CLOUD_AGENT ParticipantInfo_KindDetail = 0
ParticipantInfo_FORWARDED ParticipantInfo_KindDetail = 1
ParticipantInfo_CONNECTOR_WHATSAPP ParticipantInfo_KindDetail = 2
ParticipantInfo_CONNECTOR_TWILIO ParticipantInfo_KindDetail = 3
ParticipantInfo_BRIDGE_RTSP ParticipantInfo_KindDetail = 4 )
var (
ParticipantInfo_KindDetail_name = map[int32]string{
0: "CLOUD_AGENT",
1: "FORWARDED",
2: "CONNECTOR_WHATSAPP",
3: "CONNECTOR_TWILIO",
4: "BRIDGE_RTSP",
}
ParticipantInfo_KindDetail_value = map[string]int32{
"CLOUD_AGENT": 0,
"FORWARDED": 1,
"CONNECTOR_WHATSAPP": 2,
"CONNECTOR_TWILIO": 3,
"BRIDGE_RTSP": 4,
}
)
func (x ParticipantInfo_KindDetail) Enum() *ParticipantInfo_KindDetail {
p := new(ParticipantInfo_KindDetail)
*p = x
return p
}
func (x ParticipantInfo_KindDetail) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ParticipantInfo_KindDetail) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[17].Descriptor()
}
func (ParticipantInfo_KindDetail) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[17]
}
func (x ParticipantInfo_KindDetail) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ParticipantInfo_KindDetail) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{7, 2}
}
type Encryption_Type int32
const (
Encryption_NONE Encryption_Type = 0
Encryption_GCM Encryption_Type = 1
Encryption_CUSTOM Encryption_Type = 2
)
var (
Encryption_Type_name = map[int32]string{
0: "NONE",
1: "GCM",
2: "CUSTOM",
}
Encryption_Type_value = map[string]int32{
"NONE": 0,
"GCM": 1,
"CUSTOM": 2,
}
)
func (x Encryption_Type) Enum() *Encryption_Type {
p := new(Encryption_Type)
*p = x
return p
}
func (x Encryption_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Encryption_Type) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[18].Descriptor()
}
func (Encryption_Type) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[18]
}
func (x Encryption_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (Encryption_Type) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{8, 0}
}
type VideoLayer_Mode int32
const (
VideoLayer_MODE_UNUSED VideoLayer_Mode = 0
VideoLayer_ONE_SPATIAL_LAYER_PER_STREAM VideoLayer_Mode = 1
VideoLayer_MULTIPLE_SPATIAL_LAYERS_PER_STREAM VideoLayer_Mode = 2
VideoLayer_ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR VideoLayer_Mode = 3
)
var (
VideoLayer_Mode_name = map[int32]string{
0: "MODE_UNUSED",
1: "ONE_SPATIAL_LAYER_PER_STREAM",
2: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM",
3: "ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR",
}
VideoLayer_Mode_value = map[string]int32{
"MODE_UNUSED": 0,
"ONE_SPATIAL_LAYER_PER_STREAM": 1,
"MULTIPLE_SPATIAL_LAYERS_PER_STREAM": 2,
"ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR": 3,
}
)
func (x VideoLayer_Mode) Enum() *VideoLayer_Mode {
p := new(VideoLayer_Mode)
*p = x
return p
}
func (x VideoLayer_Mode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (VideoLayer_Mode) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[19].Descriptor()
}
func (VideoLayer_Mode) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[19]
}
func (x VideoLayer_Mode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (VideoLayer_Mode) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{14, 0}
}
type DataPacket_Kind int32
const (
DataPacket_RELIABLE DataPacket_Kind = 0
DataPacket_LOSSY DataPacket_Kind = 1
)
var (
DataPacket_Kind_name = map[int32]string{
0: "RELIABLE",
1: "LOSSY",
}
DataPacket_Kind_value = map[string]int32{
"RELIABLE": 0,
"LOSSY": 1,
}
)
func (x DataPacket_Kind) Enum() *DataPacket_Kind {
p := new(DataPacket_Kind)
*p = x
return p
}
func (x DataPacket_Kind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataPacket_Kind) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[20].Descriptor()
}
func (DataPacket_Kind) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[20]
}
func (x DataPacket_Kind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (DataPacket_Kind) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{15, 0}
}
type ServerInfo_Edition int32
const (
ServerInfo_Standard ServerInfo_Edition = 0
ServerInfo_Cloud ServerInfo_Edition = 1
)
var (
ServerInfo_Edition_name = map[int32]string{
0: "Standard",
1: "Cloud",
}
ServerInfo_Edition_value = map[string]int32{
"Standard": 0,
"Cloud": 1,
}
)
func (x ServerInfo_Edition) Enum() *ServerInfo_Edition {
p := new(ServerInfo_Edition)
*p = x
return p
}
func (x ServerInfo_Edition) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ServerInfo_Edition) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[21].Descriptor()
}
func (ServerInfo_Edition) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[21]
}
func (x ServerInfo_Edition) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ServerInfo_Edition) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{30, 0}
}
type ClientInfo_SDK int32
const (
ClientInfo_UNKNOWN ClientInfo_SDK = 0
ClientInfo_JS ClientInfo_SDK = 1
ClientInfo_SWIFT ClientInfo_SDK = 2
ClientInfo_ANDROID ClientInfo_SDK = 3
ClientInfo_FLUTTER ClientInfo_SDK = 4
ClientInfo_GO ClientInfo_SDK = 5
ClientInfo_UNITY ClientInfo_SDK = 6
ClientInfo_REACT_NATIVE ClientInfo_SDK = 7
ClientInfo_RUST ClientInfo_SDK = 8
ClientInfo_PYTHON ClientInfo_SDK = 9
ClientInfo_CPP ClientInfo_SDK = 10
ClientInfo_UNITY_WEB ClientInfo_SDK = 11
ClientInfo_NODE ClientInfo_SDK = 12
ClientInfo_UNREAL ClientInfo_SDK = 13
ClientInfo_ESP32 ClientInfo_SDK = 14
)
var (
ClientInfo_SDK_name = map[int32]string{
0: "UNKNOWN",
1: "JS",
2: "SWIFT",
3: "ANDROID",
4: "FLUTTER",
5: "GO",
6: "UNITY",
7: "REACT_NATIVE",
8: "RUST",
9: "PYTHON",
10: "CPP",
11: "UNITY_WEB",
12: "NODE",
13: "UNREAL",
14: "ESP32",
}
ClientInfo_SDK_value = map[string]int32{
"UNKNOWN": 0,
"JS": 1,
"SWIFT": 2,
"ANDROID": 3,
"FLUTTER": 4,
"GO": 5,
"UNITY": 6,
"REACT_NATIVE": 7,
"RUST": 8,
"PYTHON": 9,
"CPP": 10,
"UNITY_WEB": 11,
"NODE": 12,
"UNREAL": 13,
"ESP32": 14,
}
)
func (x ClientInfo_SDK) Enum() *ClientInfo_SDK {
p := new(ClientInfo_SDK)
*p = x
return p
}
func (x ClientInfo_SDK) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientInfo_SDK) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[22].Descriptor()
}
func (ClientInfo_SDK) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[22]
}
func (x ClientInfo_SDK) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ClientInfo_SDK) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{31, 0}
}
type DataStream_OperationType int32
const (
DataStream_CREATE DataStream_OperationType = 0
DataStream_UPDATE DataStream_OperationType = 1
DataStream_DELETE DataStream_OperationType = 2
DataStream_REACTION DataStream_OperationType = 3
)
var (
DataStream_OperationType_name = map[int32]string{
0: "CREATE",
1: "UPDATE",
2: "DELETE",
3: "REACTION",
}
DataStream_OperationType_value = map[string]int32{
"CREATE": 0,
"UPDATE": 1,
"DELETE": 2,
"REACTION": 3,
}
)
func (x DataStream_OperationType) Enum() *DataStream_OperationType {
p := new(DataStream_OperationType)
*p = x
return p
}
func (x DataStream_OperationType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DataStream_OperationType) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_models_proto_enumTypes[23].Descriptor()
}
func (DataStream_OperationType) Type() protoreflect.EnumType {
return &file_livekit_models_proto_enumTypes[23]
}
func (x DataStream_OperationType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (DataStream_OperationType) EnumDescriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42, 0}
}
type Pagination struct {
state protoimpl.MessageState `protogen:"open.v1"`
AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Pagination) Reset() {
*x = Pagination{}
mi := &file_livekit_models_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Pagination) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pagination) ProtoMessage() {}
func (x *Pagination) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*Pagination) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{0}
}
func (x *Pagination) GetAfterId() string {
if x != nil {
return x.AfterId
}
return ""
}
func (x *Pagination) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type TokenPagination struct {
state protoimpl.MessageState `protogen:"open.v1"`
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TokenPagination) Reset() {
*x = TokenPagination{}
mi := &file_livekit_models_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TokenPagination) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenPagination) ProtoMessage() {}
func (x *TokenPagination) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*TokenPagination) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{1}
}
func (x *TokenPagination) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type ListUpdate struct {
state protoimpl.MessageState `protogen:"open.v1"`
Set []string `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty"` Add []string `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty"` Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"` Clear bool `protobuf:"varint,4,opt,name=clear,proto3" json:"clear,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListUpdate) Reset() {
*x = ListUpdate{}
mi := &file_livekit_models_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListUpdate) ProtoMessage() {}
func (x *ListUpdate) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListUpdate) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{2}
}
func (x *ListUpdate) GetSet() []string {
if x != nil {
return x.Set
}
return nil
}
func (x *ListUpdate) GetAdd() []string {
if x != nil {
return x.Add
}
return nil
}
func (x *ListUpdate) GetRemove() []string {
if x != nil {
return x.Remove
}
return nil
}
func (x *ListUpdate) GetClear() bool {
if x != nil {
return x.Clear
}
return false
}
type Room struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"`
DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"`
MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"`
CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"`
TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"`
EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"`
Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"`
NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"`
ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"`
Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Room) Reset() {
*x = Room{}
mi := &file_livekit_models_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Room) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Room) ProtoMessage() {}
func (x *Room) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*Room) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{3}
}
func (x *Room) GetSid() string {
if x != nil {
return x.Sid
}
return ""
}
func (x *Room) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Room) GetEmptyTimeout() uint32 {
if x != nil {
return x.EmptyTimeout
}
return 0
}
func (x *Room) GetDepartureTimeout() uint32 {
if x != nil {
return x.DepartureTimeout
}
return 0
}
func (x *Room) GetMaxParticipants() uint32 {
if x != nil {
return x.MaxParticipants
}
return 0
}
func (x *Room) GetCreationTime() int64 {
if x != nil {
return x.CreationTime
}
return 0
}
func (x *Room) GetCreationTimeMs() int64 {
if x != nil {
return x.CreationTimeMs
}
return 0
}
func (x *Room) GetTurnPassword() string {
if x != nil {
return x.TurnPassword
}
return ""
}
func (x *Room) GetEnabledCodecs() []*Codec {
if x != nil {
return x.EnabledCodecs
}
return nil
}
func (x *Room) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
func (x *Room) GetNumParticipants() uint32 {
if x != nil {
return x.NumParticipants
}
return 0
}
func (x *Room) GetNumPublishers() uint32 {
if x != nil {
return x.NumPublishers
}
return 0
}
func (x *Room) GetActiveRecording() bool {
if x != nil {
return x.ActiveRecording
}
return false
}
func (x *Room) GetVersion() *TimedVersion {
if x != nil {
return x.Version
}
return nil
}
type Codec struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"`
FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Codec) Reset() {
*x = Codec{}
mi := &file_livekit_models_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Codec) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Codec) ProtoMessage() {}
func (x *Codec) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*Codec) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{4}
}
func (x *Codec) GetMime() string {
if x != nil {
return x.Mime
}
return ""
}
func (x *Codec) GetFmtpLine() string {
if x != nil {
return x.FmtpLine
}
return ""
}
type PlayoutDelay struct {
state protoimpl.MessageState `protogen:"open.v1"`
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PlayoutDelay) Reset() {
*x = PlayoutDelay{}
mi := &file_livekit_models_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PlayoutDelay) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlayoutDelay) ProtoMessage() {}
func (x *PlayoutDelay) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*PlayoutDelay) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{5}
}
func (x *PlayoutDelay) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *PlayoutDelay) GetMin() uint32 {
if x != nil {
return x.Min
}
return 0
}
func (x *PlayoutDelay) GetMax() uint32 {
if x != nil {
return x.Max
}
return 0
}
type ParticipantPermission struct {
state protoimpl.MessageState `protogen:"open.v1"`
CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"`
CanPublish bool `protobuf:"varint,2,opt,name=can_publish,json=canPublish,proto3" json:"can_publish,omitempty"`
CanPublishData bool `protobuf:"varint,3,opt,name=can_publish_data,json=canPublishData,proto3" json:"can_publish_data,omitempty"`
CanPublishSources []TrackSource `protobuf:"varint,9,rep,packed,name=can_publish_sources,json=canPublishSources,proto3,enum=livekit.TrackSource" json:"can_publish_sources,omitempty"`
Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"`
Recorder bool `protobuf:"varint,8,opt,name=recorder,proto3" json:"recorder,omitempty"`
CanUpdateMetadata bool `protobuf:"varint,10,opt,name=can_update_metadata,json=canUpdateMetadata,proto3" json:"can_update_metadata,omitempty"`
Agent bool `protobuf:"varint,11,opt,name=agent,proto3" json:"agent,omitempty"`
CanSubscribeMetrics bool `protobuf:"varint,12,opt,name=can_subscribe_metrics,json=canSubscribeMetrics,proto3" json:"can_subscribe_metrics,omitempty"`
CanManageAgentSession bool `protobuf:"varint,13,opt,name=can_manage_agent_session,json=canManageAgentSession,proto3" json:"can_manage_agent_session,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ParticipantPermission) Reset() {
*x = ParticipantPermission{}
mi := &file_livekit_models_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ParticipantPermission) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ParticipantPermission) ProtoMessage() {}
func (x *ParticipantPermission) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ParticipantPermission) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{6}
}
func (x *ParticipantPermission) GetCanSubscribe() bool {
if x != nil {
return x.CanSubscribe
}
return false
}
func (x *ParticipantPermission) GetCanPublish() bool {
if x != nil {
return x.CanPublish
}
return false
}
func (x *ParticipantPermission) GetCanPublishData() bool {
if x != nil {
return x.CanPublishData
}
return false
}
func (x *ParticipantPermission) GetCanPublishSources() []TrackSource {
if x != nil {
return x.CanPublishSources
}
return nil
}
func (x *ParticipantPermission) GetHidden() bool {
if x != nil {
return x.Hidden
}
return false
}
func (x *ParticipantPermission) GetRecorder() bool {
if x != nil {
return x.Recorder
}
return false
}
func (x *ParticipantPermission) GetCanUpdateMetadata() bool {
if x != nil {
return x.CanUpdateMetadata
}
return false
}
func (x *ParticipantPermission) GetAgent() bool {
if x != nil {
return x.Agent
}
return false
}
func (x *ParticipantPermission) GetCanSubscribeMetrics() bool {
if x != nil {
return x.CanSubscribeMetrics
}
return false
}
func (x *ParticipantPermission) GetCanManageAgentSession() bool {
if x != nil {
return x.CanManageAgentSession
}
return false
}
type ParticipantInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"`
Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"`
Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
JoinedAtMs int64 `protobuf:"varint,17,opt,name=joined_at_ms,json=joinedAtMs,proto3" json:"joined_at_ms,omitempty"`
Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
Version uint32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"`
Permission *ParticipantPermission `protobuf:"bytes,11,opt,name=permission,proto3" json:"permission,omitempty"`
Region string `protobuf:"bytes,12,opt,name=region,proto3" json:"region,omitempty"`
IsPublisher bool `protobuf:"varint,13,opt,name=is_publisher,json=isPublisher,proto3" json:"is_publisher,omitempty"`
Kind ParticipantInfo_Kind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.ParticipantInfo_Kind" json:"kind,omitempty"`
Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
DisconnectReason DisconnectReason `protobuf:"varint,16,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"`
KindDetails []ParticipantInfo_KindDetail `protobuf:"varint,18,rep,packed,name=kind_details,json=kindDetails,proto3,enum=livekit.ParticipantInfo_KindDetail" json:"kind_details,omitempty"`
DataTracks []*DataTrackInfo `protobuf:"bytes,19,rep,name=data_tracks,json=dataTracks,proto3" json:"data_tracks,omitempty"`
ClientProtocol int32 `protobuf:"varint,20,opt,name=client_protocol,json=clientProtocol,proto3" json:"client_protocol,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ParticipantInfo) Reset() {
*x = ParticipantInfo{}
mi := &file_livekit_models_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ParticipantInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ParticipantInfo) ProtoMessage() {}
func (x *ParticipantInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ParticipantInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{7}
}
func (x *ParticipantInfo) GetSid() string {
if x != nil {
return x.Sid
}
return ""
}
func (x *ParticipantInfo) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *ParticipantInfo) GetState() ParticipantInfo_State {
if x != nil {
return x.State
}
return ParticipantInfo_JOINING
}
func (x *ParticipantInfo) GetTracks() []*TrackInfo {
if x != nil {
return x.Tracks
}
return nil
}
func (x *ParticipantInfo) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
func (x *ParticipantInfo) GetJoinedAt() int64 {
if x != nil {
return x.JoinedAt
}
return 0
}
func (x *ParticipantInfo) GetJoinedAtMs() int64 {
if x != nil {
return x.JoinedAtMs
}
return 0
}
func (x *ParticipantInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ParticipantInfo) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *ParticipantInfo) GetPermission() *ParticipantPermission {
if x != nil {
return x.Permission
}
return nil
}
func (x *ParticipantInfo) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *ParticipantInfo) GetIsPublisher() bool {
if x != nil {
return x.IsPublisher
}
return false
}
func (x *ParticipantInfo) GetKind() ParticipantInfo_Kind {
if x != nil {
return x.Kind
}
return ParticipantInfo_STANDARD
}
func (x *ParticipantInfo) GetAttributes() map[string]string {
if x != nil {
return x.Attributes
}
return nil
}
func (x *ParticipantInfo) GetDisconnectReason() DisconnectReason {
if x != nil {
return x.DisconnectReason
}
return DisconnectReason_UNKNOWN_REASON
}
func (x *ParticipantInfo) GetKindDetails() []ParticipantInfo_KindDetail {
if x != nil {
return x.KindDetails
}
return nil
}
func (x *ParticipantInfo) GetDataTracks() []*DataTrackInfo {
if x != nil {
return x.DataTracks
}
return nil
}
func (x *ParticipantInfo) GetClientProtocol() int32 {
if x != nil {
return x.ClientProtocol
}
return 0
}
type Encryption struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Encryption) Reset() {
*x = Encryption{}
mi := &file_livekit_models_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Encryption) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Encryption) ProtoMessage() {}
func (x *Encryption) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*Encryption) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{8}
}
type SimulcastCodecInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"`
Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"`
VideoLayerMode VideoLayer_Mode `protobuf:"varint,5,opt,name=video_layer_mode,json=videoLayerMode,proto3,enum=livekit.VideoLayer_Mode" json:"video_layer_mode,omitempty"`
SdpCid string `protobuf:"bytes,6,opt,name=sdp_cid,json=sdpCid,proto3" json:"sdp_cid,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SimulcastCodecInfo) Reset() {
*x = SimulcastCodecInfo{}
mi := &file_livekit_models_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SimulcastCodecInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SimulcastCodecInfo) ProtoMessage() {}
func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SimulcastCodecInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{9}
}
func (x *SimulcastCodecInfo) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *SimulcastCodecInfo) GetMid() string {
if x != nil {
return x.Mid
}
return ""
}
func (x *SimulcastCodecInfo) GetCid() string {
if x != nil {
return x.Cid
}
return ""
}
func (x *SimulcastCodecInfo) GetLayers() []*VideoLayer {
if x != nil {
return x.Layers
}
return nil
}
func (x *SimulcastCodecInfo) GetVideoLayerMode() VideoLayer_Mode {
if x != nil {
return x.VideoLayerMode
}
return VideoLayer_MODE_UNUSED
}
func (x *SimulcastCodecInfo) GetSdpCid() string {
if x != nil {
return x.SdpCid
}
return ""
}
type TrackInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"`
Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
Simulcast bool `protobuf:"varint,7,opt,name=simulcast,proto3" json:"simulcast,omitempty"` DisableDtx bool `protobuf:"varint,8,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` Source TrackSource `protobuf:"varint,9,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"`
Layers []*VideoLayer `protobuf:"bytes,10,rep,name=layers,proto3" json:"layers,omitempty"` MimeType string `protobuf:"bytes,11,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Mid string `protobuf:"bytes,12,opt,name=mid,proto3" json:"mid,omitempty"`
Codecs []*SimulcastCodecInfo `protobuf:"bytes,13,rep,name=codecs,proto3" json:"codecs,omitempty"`
Stereo bool `protobuf:"varint,14,opt,name=stereo,proto3" json:"stereo,omitempty"` DisableRed bool `protobuf:"varint,15,opt,name=disable_red,json=disableRed,proto3" json:"disable_red,omitempty"`
Encryption Encryption_Type `protobuf:"varint,16,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"`
Stream string `protobuf:"bytes,17,opt,name=stream,proto3" json:"stream,omitempty"`
Version *TimedVersion `protobuf:"bytes,18,opt,name=version,proto3" json:"version,omitempty"`
AudioFeatures []AudioTrackFeature `protobuf:"varint,19,rep,packed,name=audio_features,json=audioFeatures,proto3,enum=livekit.AudioTrackFeature" json:"audio_features,omitempty"`
BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,20,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"`
PacketTrailerFeatures []PacketTrailerFeature `protobuf:"varint,21,rep,packed,name=packet_trailer_features,json=packetTrailerFeatures,proto3,enum=livekit.PacketTrailerFeature" json:"packet_trailer_features,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TrackInfo) Reset() {
*x = TrackInfo{}
mi := &file_livekit_models_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TrackInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TrackInfo) ProtoMessage() {}
func (x *TrackInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*TrackInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{10}
}
func (x *TrackInfo) GetSid() string {
if x != nil {
return x.Sid
}
return ""
}
func (x *TrackInfo) GetType() TrackType {
if x != nil {
return x.Type
}
return TrackType_AUDIO
}
func (x *TrackInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *TrackInfo) GetMuted() bool {
if x != nil {
return x.Muted
}
return false
}
func (x *TrackInfo) GetWidth() uint32 {
if x != nil {
return x.Width
}
return 0
}
func (x *TrackInfo) GetHeight() uint32 {
if x != nil {
return x.Height
}
return 0
}
func (x *TrackInfo) GetSimulcast() bool {
if x != nil {
return x.Simulcast
}
return false
}
func (x *TrackInfo) GetDisableDtx() bool {
if x != nil {
return x.DisableDtx
}
return false
}
func (x *TrackInfo) GetSource() TrackSource {
if x != nil {
return x.Source
}
return TrackSource_UNKNOWN
}
func (x *TrackInfo) GetLayers() []*VideoLayer {
if x != nil {
return x.Layers
}
return nil
}
func (x *TrackInfo) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *TrackInfo) GetMid() string {
if x != nil {
return x.Mid
}
return ""
}
func (x *TrackInfo) GetCodecs() []*SimulcastCodecInfo {
if x != nil {
return x.Codecs
}
return nil
}
func (x *TrackInfo) GetStereo() bool {
if x != nil {
return x.Stereo
}
return false
}
func (x *TrackInfo) GetDisableRed() bool {
if x != nil {
return x.DisableRed
}
return false
}
func (x *TrackInfo) GetEncryption() Encryption_Type {
if x != nil {
return x.Encryption
}
return Encryption_NONE
}
func (x *TrackInfo) GetStream() string {
if x != nil {
return x.Stream
}
return ""
}
func (x *TrackInfo) GetVersion() *TimedVersion {
if x != nil {
return x.Version
}
return nil
}
func (x *TrackInfo) GetAudioFeatures() []AudioTrackFeature {
if x != nil {
return x.AudioFeatures
}
return nil
}
func (x *TrackInfo) GetBackupCodecPolicy() BackupCodecPolicy {
if x != nil {
return x.BackupCodecPolicy
}
return BackupCodecPolicy_PREFER_REGRESSION
}
func (x *TrackInfo) GetPacketTrailerFeatures() []PacketTrailerFeature {
if x != nil {
return x.PacketTrailerFeatures
}
return nil
}
type DataTrackInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
PubHandle uint32 `protobuf:"varint,1,opt,name=pub_handle,json=pubHandle,proto3" json:"pub_handle,omitempty"`
Sid string `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Encryption Encryption_Type `protobuf:"varint,4,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataTrackInfo) Reset() {
*x = DataTrackInfo{}
mi := &file_livekit_models_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataTrackInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataTrackInfo) ProtoMessage() {}
func (x *DataTrackInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataTrackInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{11}
}
func (x *DataTrackInfo) GetPubHandle() uint32 {
if x != nil {
return x.PubHandle
}
return 0
}
func (x *DataTrackInfo) GetSid() string {
if x != nil {
return x.Sid
}
return ""
}
func (x *DataTrackInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *DataTrackInfo) GetEncryption() Encryption_Type {
if x != nil {
return x.Encryption
}
return Encryption_NONE
}
type DataTrackExtensionParticipantSid struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id DataTrackExtensionID `protobuf:"varint,1,opt,name=id,proto3,enum=livekit.DataTrackExtensionID" json:"id,omitempty"`
ParticipantSid string `protobuf:"bytes,2,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataTrackExtensionParticipantSid) Reset() {
*x = DataTrackExtensionParticipantSid{}
mi := &file_livekit_models_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataTrackExtensionParticipantSid) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataTrackExtensionParticipantSid) ProtoMessage() {}
func (x *DataTrackExtensionParticipantSid) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataTrackExtensionParticipantSid) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{12}
}
func (x *DataTrackExtensionParticipantSid) GetId() DataTrackExtensionID {
if x != nil {
return x.Id
}
return DataTrackExtensionID_DTEI_INVALID
}
func (x *DataTrackExtensionParticipantSid) GetParticipantSid() string {
if x != nil {
return x.ParticipantSid
}
return ""
}
type DataTrackSubscriptionOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
TargetFps *uint32 `protobuf:"varint,1,opt,name=target_fps,json=targetFps,proto3,oneof" json:"target_fps,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataTrackSubscriptionOptions) Reset() {
*x = DataTrackSubscriptionOptions{}
mi := &file_livekit_models_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataTrackSubscriptionOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataTrackSubscriptionOptions) ProtoMessage() {}
func (x *DataTrackSubscriptionOptions) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataTrackSubscriptionOptions) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{13}
}
func (x *DataTrackSubscriptionOptions) GetTargetFps() uint32 {
if x != nil && x.TargetFps != nil {
return *x.TargetFps
}
return 0
}
type VideoLayer struct {
state protoimpl.MessageState `protogen:"open.v1"`
Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"`
Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"`
Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"`
SpatialLayer int32 `protobuf:"varint,6,opt,name=spatial_layer,json=spatialLayer,proto3" json:"spatial_layer,omitempty"`
Rid string `protobuf:"bytes,7,opt,name=rid,proto3" json:"rid,omitempty"`
RepairSsrc uint32 `protobuf:"varint,8,opt,name=repair_ssrc,json=repairSsrc,proto3" json:"repair_ssrc,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VideoLayer) Reset() {
*x = VideoLayer{}
mi := &file_livekit_models_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VideoLayer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VideoLayer) ProtoMessage() {}
func (x *VideoLayer) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*VideoLayer) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{14}
}
func (x *VideoLayer) GetQuality() VideoQuality {
if x != nil {
return x.Quality
}
return VideoQuality_LOW
}
func (x *VideoLayer) GetWidth() uint32 {
if x != nil {
return x.Width
}
return 0
}
func (x *VideoLayer) GetHeight() uint32 {
if x != nil {
return x.Height
}
return 0
}
func (x *VideoLayer) GetBitrate() uint32 {
if x != nil {
return x.Bitrate
}
return 0
}
func (x *VideoLayer) GetSsrc() uint32 {
if x != nil {
return x.Ssrc
}
return 0
}
func (x *VideoLayer) GetSpatialLayer() int32 {
if x != nil {
return x.SpatialLayer
}
return 0
}
func (x *VideoLayer) GetRid() string {
if x != nil {
return x.Rid
}
return ""
}
func (x *VideoLayer) GetRepairSsrc() uint32 {
if x != nil {
return x.RepairSsrc
}
return 0
}
type DataPacket struct {
state protoimpl.MessageState `protogen:"open.v1"`
Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"`
ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
DestinationIdentities []string `protobuf:"bytes,5,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"`
Value isDataPacket_Value `protobuf_oneof:"value"`
Sequence uint32 `protobuf:"varint,16,opt,name=sequence,proto3" json:"sequence,omitempty"`
ParticipantSid string `protobuf:"bytes,17,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataPacket) Reset() {
*x = DataPacket{}
mi := &file_livekit_models_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataPacket) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataPacket) ProtoMessage() {}
func (x *DataPacket) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataPacket) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{15}
}
func (x *DataPacket) GetKind() DataPacket_Kind {
if x != nil {
return x.Kind
}
return DataPacket_RELIABLE
}
func (x *DataPacket) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *DataPacket) GetDestinationIdentities() []string {
if x != nil {
return x.DestinationIdentities
}
return nil
}
func (x *DataPacket) GetValue() isDataPacket_Value {
if x != nil {
return x.Value
}
return nil
}
func (x *DataPacket) GetUser() *UserPacket {
if x != nil {
if x, ok := x.Value.(*DataPacket_User); ok {
return x.User
}
}
return nil
}
func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate {
if x != nil {
if x, ok := x.Value.(*DataPacket_Speaker); ok {
return x.Speaker
}
}
return nil
}
func (x *DataPacket) GetSipDtmf() *SipDTMF {
if x != nil {
if x, ok := x.Value.(*DataPacket_SipDtmf); ok {
return x.SipDtmf
}
}
return nil
}
func (x *DataPacket) GetTranscription() *Transcription {
if x != nil {
if x, ok := x.Value.(*DataPacket_Transcription); ok {
return x.Transcription
}
}
return nil
}
func (x *DataPacket) GetMetrics() *MetricsBatch {
if x != nil {
if x, ok := x.Value.(*DataPacket_Metrics); ok {
return x.Metrics
}
}
return nil
}
func (x *DataPacket) GetChatMessage() *ChatMessage {
if x != nil {
if x, ok := x.Value.(*DataPacket_ChatMessage); ok {
return x.ChatMessage
}
}
return nil
}
func (x *DataPacket) GetRpcRequest() *RpcRequest {
if x != nil {
if x, ok := x.Value.(*DataPacket_RpcRequest); ok {
return x.RpcRequest
}
}
return nil
}
func (x *DataPacket) GetRpcAck() *RpcAck {
if x != nil {
if x, ok := x.Value.(*DataPacket_RpcAck); ok {
return x.RpcAck
}
}
return nil
}
func (x *DataPacket) GetRpcResponse() *RpcResponse {
if x != nil {
if x, ok := x.Value.(*DataPacket_RpcResponse); ok {
return x.RpcResponse
}
}
return nil
}
func (x *DataPacket) GetStreamHeader() *DataStream_Header {
if x != nil {
if x, ok := x.Value.(*DataPacket_StreamHeader); ok {
return x.StreamHeader
}
}
return nil
}
func (x *DataPacket) GetStreamChunk() *DataStream_Chunk {
if x != nil {
if x, ok := x.Value.(*DataPacket_StreamChunk); ok {
return x.StreamChunk
}
}
return nil
}
func (x *DataPacket) GetStreamTrailer() *DataStream_Trailer {
if x != nil {
if x, ok := x.Value.(*DataPacket_StreamTrailer); ok {
return x.StreamTrailer
}
}
return nil
}
func (x *DataPacket) GetEncryptedPacket() *EncryptedPacket {
if x != nil {
if x, ok := x.Value.(*DataPacket_EncryptedPacket); ok {
return x.EncryptedPacket
}
}
return nil
}
func (x *DataPacket) GetSequence() uint32 {
if x != nil {
return x.Sequence
}
return 0
}
func (x *DataPacket) GetParticipantSid() string {
if x != nil {
return x.ParticipantSid
}
return ""
}
type isDataPacket_Value interface {
isDataPacket_Value()
}
type DataPacket_User struct {
User *UserPacket `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}
type DataPacket_Speaker struct {
Speaker *ActiveSpeakerUpdate `protobuf:"bytes,3,opt,name=speaker,proto3,oneof"`
}
type DataPacket_SipDtmf struct {
SipDtmf *SipDTMF `protobuf:"bytes,6,opt,name=sip_dtmf,json=sipDtmf,proto3,oneof"`
}
type DataPacket_Transcription struct {
Transcription *Transcription `protobuf:"bytes,7,opt,name=transcription,proto3,oneof"`
}
type DataPacket_Metrics struct {
Metrics *MetricsBatch `protobuf:"bytes,8,opt,name=metrics,proto3,oneof"`
}
type DataPacket_ChatMessage struct {
ChatMessage *ChatMessage `protobuf:"bytes,9,opt,name=chat_message,json=chatMessage,proto3,oneof"`
}
type DataPacket_RpcRequest struct {
RpcRequest *RpcRequest `protobuf:"bytes,10,opt,name=rpc_request,json=rpcRequest,proto3,oneof"`
}
type DataPacket_RpcAck struct {
RpcAck *RpcAck `protobuf:"bytes,11,opt,name=rpc_ack,json=rpcAck,proto3,oneof"`
}
type DataPacket_RpcResponse struct {
RpcResponse *RpcResponse `protobuf:"bytes,12,opt,name=rpc_response,json=rpcResponse,proto3,oneof"`
}
type DataPacket_StreamHeader struct {
StreamHeader *DataStream_Header `protobuf:"bytes,13,opt,name=stream_header,json=streamHeader,proto3,oneof"`
}
type DataPacket_StreamChunk struct {
StreamChunk *DataStream_Chunk `protobuf:"bytes,14,opt,name=stream_chunk,json=streamChunk,proto3,oneof"`
}
type DataPacket_StreamTrailer struct {
StreamTrailer *DataStream_Trailer `protobuf:"bytes,15,opt,name=stream_trailer,json=streamTrailer,proto3,oneof"`
}
type DataPacket_EncryptedPacket struct {
EncryptedPacket *EncryptedPacket `protobuf:"bytes,18,opt,name=encrypted_packet,json=encryptedPacket,proto3,oneof"`
}
func (*DataPacket_User) isDataPacket_Value() {}
func (*DataPacket_Speaker) isDataPacket_Value() {}
func (*DataPacket_SipDtmf) isDataPacket_Value() {}
func (*DataPacket_Transcription) isDataPacket_Value() {}
func (*DataPacket_Metrics) isDataPacket_Value() {}
func (*DataPacket_ChatMessage) isDataPacket_Value() {}
func (*DataPacket_RpcRequest) isDataPacket_Value() {}
func (*DataPacket_RpcAck) isDataPacket_Value() {}
func (*DataPacket_RpcResponse) isDataPacket_Value() {}
func (*DataPacket_StreamHeader) isDataPacket_Value() {}
func (*DataPacket_StreamChunk) isDataPacket_Value() {}
func (*DataPacket_StreamTrailer) isDataPacket_Value() {}
func (*DataPacket_EncryptedPacket) isDataPacket_Value() {}
type EncryptedPacket struct {
state protoimpl.MessageState `protogen:"open.v1"`
EncryptionType Encryption_Type `protobuf:"varint,1,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"`
Iv []byte `protobuf:"bytes,2,opt,name=iv,proto3" json:"iv,omitempty"`
KeyIndex uint32 `protobuf:"varint,3,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"`
EncryptedValue []byte `protobuf:"bytes,4,opt,name=encrypted_value,json=encryptedValue,proto3" json:"encrypted_value,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EncryptedPacket) Reset() {
*x = EncryptedPacket{}
mi := &file_livekit_models_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EncryptedPacket) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EncryptedPacket) ProtoMessage() {}
func (x *EncryptedPacket) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*EncryptedPacket) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{16}
}
func (x *EncryptedPacket) GetEncryptionType() Encryption_Type {
if x != nil {
return x.EncryptionType
}
return Encryption_NONE
}
func (x *EncryptedPacket) GetIv() []byte {
if x != nil {
return x.Iv
}
return nil
}
func (x *EncryptedPacket) GetKeyIndex() uint32 {
if x != nil {
return x.KeyIndex
}
return 0
}
func (x *EncryptedPacket) GetEncryptedValue() []byte {
if x != nil {
return x.EncryptedValue
}
return nil
}
type EncryptedPacketPayload struct {
state protoimpl.MessageState `protogen:"open.v1"`
Value isEncryptedPacketPayload_Value `protobuf_oneof:"value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EncryptedPacketPayload) Reset() {
*x = EncryptedPacketPayload{}
mi := &file_livekit_models_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EncryptedPacketPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EncryptedPacketPayload) ProtoMessage() {}
func (x *EncryptedPacketPayload) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*EncryptedPacketPayload) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{17}
}
func (x *EncryptedPacketPayload) GetValue() isEncryptedPacketPayload_Value {
if x != nil {
return x.Value
}
return nil
}
func (x *EncryptedPacketPayload) GetUser() *UserPacket {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_User); ok {
return x.User
}
}
return nil
}
func (x *EncryptedPacketPayload) GetChatMessage() *ChatMessage {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_ChatMessage); ok {
return x.ChatMessage
}
}
return nil
}
func (x *EncryptedPacketPayload) GetRpcRequest() *RpcRequest {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_RpcRequest); ok {
return x.RpcRequest
}
}
return nil
}
func (x *EncryptedPacketPayload) GetRpcAck() *RpcAck {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_RpcAck); ok {
return x.RpcAck
}
}
return nil
}
func (x *EncryptedPacketPayload) GetRpcResponse() *RpcResponse {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_RpcResponse); ok {
return x.RpcResponse
}
}
return nil
}
func (x *EncryptedPacketPayload) GetStreamHeader() *DataStream_Header {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_StreamHeader); ok {
return x.StreamHeader
}
}
return nil
}
func (x *EncryptedPacketPayload) GetStreamChunk() *DataStream_Chunk {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_StreamChunk); ok {
return x.StreamChunk
}
}
return nil
}
func (x *EncryptedPacketPayload) GetStreamTrailer() *DataStream_Trailer {
if x != nil {
if x, ok := x.Value.(*EncryptedPacketPayload_StreamTrailer); ok {
return x.StreamTrailer
}
}
return nil
}
type isEncryptedPacketPayload_Value interface {
isEncryptedPacketPayload_Value()
}
type EncryptedPacketPayload_User struct {
User *UserPacket `protobuf:"bytes,1,opt,name=user,proto3,oneof"`
}
type EncryptedPacketPayload_ChatMessage struct {
ChatMessage *ChatMessage `protobuf:"bytes,3,opt,name=chat_message,json=chatMessage,proto3,oneof"`
}
type EncryptedPacketPayload_RpcRequest struct {
RpcRequest *RpcRequest `protobuf:"bytes,4,opt,name=rpc_request,json=rpcRequest,proto3,oneof"`
}
type EncryptedPacketPayload_RpcAck struct {
RpcAck *RpcAck `protobuf:"bytes,5,opt,name=rpc_ack,json=rpcAck,proto3,oneof"`
}
type EncryptedPacketPayload_RpcResponse struct {
RpcResponse *RpcResponse `protobuf:"bytes,6,opt,name=rpc_response,json=rpcResponse,proto3,oneof"`
}
type EncryptedPacketPayload_StreamHeader struct {
StreamHeader *DataStream_Header `protobuf:"bytes,7,opt,name=stream_header,json=streamHeader,proto3,oneof"`
}
type EncryptedPacketPayload_StreamChunk struct {
StreamChunk *DataStream_Chunk `protobuf:"bytes,8,opt,name=stream_chunk,json=streamChunk,proto3,oneof"`
}
type EncryptedPacketPayload_StreamTrailer struct {
StreamTrailer *DataStream_Trailer `protobuf:"bytes,9,opt,name=stream_trailer,json=streamTrailer,proto3,oneof"`
}
func (*EncryptedPacketPayload_User) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_ChatMessage) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_RpcRequest) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_RpcAck) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_RpcResponse) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_StreamHeader) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_StreamChunk) isEncryptedPacketPayload_Value() {}
func (*EncryptedPacketPayload_StreamTrailer) isEncryptedPacketPayload_Value() {}
type ActiveSpeakerUpdate struct {
state protoimpl.MessageState `protogen:"open.v1"`
Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActiveSpeakerUpdate) Reset() {
*x = ActiveSpeakerUpdate{}
mi := &file_livekit_models_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActiveSpeakerUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActiveSpeakerUpdate) ProtoMessage() {}
func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ActiveSpeakerUpdate) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{18}
}
func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo {
if x != nil {
return x.Speakers
}
return nil
}
type SpeakerInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"`
Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SpeakerInfo) Reset() {
*x = SpeakerInfo{}
mi := &file_livekit_models_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SpeakerInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SpeakerInfo) ProtoMessage() {}
func (x *SpeakerInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SpeakerInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{19}
}
func (x *SpeakerInfo) GetSid() string {
if x != nil {
return x.Sid
}
return ""
}
func (x *SpeakerInfo) GetLevel() float32 {
if x != nil {
return x.Level
}
return 0
}
func (x *SpeakerInfo) GetActive() bool {
if x != nil {
return x.Active
}
return false
}
type UserPacket struct {
state protoimpl.MessageState `protogen:"open.v1"`
ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
DestinationSids []string `protobuf:"bytes,3,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"`
DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"`
Topic *string `protobuf:"bytes,4,opt,name=topic,proto3,oneof" json:"topic,omitempty"`
Id *string `protobuf:"bytes,8,opt,name=id,proto3,oneof" json:"id,omitempty"`
StartTime *uint64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
EndTime *uint64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`
Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserPacket) Reset() {
*x = UserPacket{}
mi := &file_livekit_models_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserPacket) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPacket) ProtoMessage() {}
func (x *UserPacket) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*UserPacket) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{20}
}
func (x *UserPacket) GetParticipantSid() string {
if x != nil {
return x.ParticipantSid
}
return ""
}
func (x *UserPacket) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *UserPacket) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
}
func (x *UserPacket) GetDestinationSids() []string {
if x != nil {
return x.DestinationSids
}
return nil
}
func (x *UserPacket) GetDestinationIdentities() []string {
if x != nil {
return x.DestinationIdentities
}
return nil
}
func (x *UserPacket) GetTopic() string {
if x != nil && x.Topic != nil {
return *x.Topic
}
return ""
}
func (x *UserPacket) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
}
return ""
}
func (x *UserPacket) GetStartTime() uint64 {
if x != nil && x.StartTime != nil {
return *x.StartTime
}
return 0
}
func (x *UserPacket) GetEndTime() uint64 {
if x != nil && x.EndTime != nil {
return *x.EndTime
}
return 0
}
func (x *UserPacket) GetNonce() []byte {
if x != nil {
return x.Nonce
}
return nil
}
type SipDTMF struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SipDTMF) Reset() {
*x = SipDTMF{}
mi := &file_livekit_models_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SipDTMF) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SipDTMF) ProtoMessage() {}
func (x *SipDTMF) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SipDTMF) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{21}
}
func (x *SipDTMF) GetCode() uint32 {
if x != nil {
return x.Code
}
return 0
}
func (x *SipDTMF) GetDigit() string {
if x != nil {
return x.Digit
}
return ""
}
type Transcription struct {
state protoimpl.MessageState `protogen:"open.v1"`
TranscribedParticipantIdentity string `protobuf:"bytes,2,opt,name=transcribed_participant_identity,json=transcribedParticipantIdentity,proto3" json:"transcribed_participant_identity,omitempty"`
TrackId string `protobuf:"bytes,3,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
Segments []*TranscriptionSegment `protobuf:"bytes,4,rep,name=segments,proto3" json:"segments,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Transcription) Reset() {
*x = Transcription{}
mi := &file_livekit_models_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Transcription) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Transcription) ProtoMessage() {}
func (x *Transcription) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*Transcription) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{22}
}
func (x *Transcription) GetTranscribedParticipantIdentity() string {
if x != nil {
return x.TranscribedParticipantIdentity
}
return ""
}
func (x *Transcription) GetTrackId() string {
if x != nil {
return x.TrackId
}
return ""
}
func (x *Transcription) GetSegments() []*TranscriptionSegment {
if x != nil {
return x.Segments
}
return nil
}
type TranscriptionSegment struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"`
Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TranscriptionSegment) Reset() {
*x = TranscriptionSegment{}
mi := &file_livekit_models_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TranscriptionSegment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TranscriptionSegment) ProtoMessage() {}
func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*TranscriptionSegment) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{23}
}
func (x *TranscriptionSegment) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *TranscriptionSegment) GetText() string {
if x != nil {
return x.Text
}
return ""
}
func (x *TranscriptionSegment) GetStartTime() uint64 {
if x != nil {
return x.StartTime
}
return 0
}
func (x *TranscriptionSegment) GetEndTime() uint64 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *TranscriptionSegment) GetFinal() bool {
if x != nil {
return x.Final
}
return false
}
func (x *TranscriptionSegment) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
type ChatMessage struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChatMessage) Reset() {
*x = ChatMessage{}
mi := &file_livekit_models_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChatMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChatMessage) ProtoMessage() {}
func (x *ChatMessage) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ChatMessage) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{24}
}
func (x *ChatMessage) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ChatMessage) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *ChatMessage) GetEditTimestamp() int64 {
if x != nil && x.EditTimestamp != nil {
return *x.EditTimestamp
}
return 0
}
func (x *ChatMessage) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *ChatMessage) GetDeleted() bool {
if x != nil {
return x.Deleted
}
return false
}
func (x *ChatMessage) GetGenerated() bool {
if x != nil {
return x.Generated
}
return false
}
type RpcRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"`
Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
CompressedPayload []byte `protobuf:"bytes,6,opt,name=compressed_payload,json=compressedPayload,proto3" json:"compressed_payload,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RpcRequest) Reset() {
*x = RpcRequest{}
mi := &file_livekit_models_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RpcRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RpcRequest) ProtoMessage() {}
func (x *RpcRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RpcRequest) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{25}
}
func (x *RpcRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *RpcRequest) GetMethod() string {
if x != nil {
return x.Method
}
return ""
}
func (x *RpcRequest) GetPayload() string {
if x != nil {
return x.Payload
}
return ""
}
func (x *RpcRequest) GetResponseTimeoutMs() uint32 {
if x != nil {
return x.ResponseTimeoutMs
}
return 0
}
func (x *RpcRequest) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *RpcRequest) GetCompressedPayload() []byte {
if x != nil {
return x.CompressedPayload
}
return nil
}
type RpcAck struct {
state protoimpl.MessageState `protogen:"open.v1"`
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RpcAck) Reset() {
*x = RpcAck{}
mi := &file_livekit_models_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RpcAck) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RpcAck) ProtoMessage() {}
func (x *RpcAck) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RpcAck) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{26}
}
func (x *RpcAck) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
type RpcResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
Value isRpcResponse_Value `protobuf_oneof:"value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RpcResponse) Reset() {
*x = RpcResponse{}
mi := &file_livekit_models_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RpcResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RpcResponse) ProtoMessage() {}
func (x *RpcResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RpcResponse) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{27}
}
func (x *RpcResponse) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *RpcResponse) GetValue() isRpcResponse_Value {
if x != nil {
return x.Value
}
return nil
}
func (x *RpcResponse) GetPayload() string {
if x != nil {
if x, ok := x.Value.(*RpcResponse_Payload); ok {
return x.Payload
}
}
return ""
}
func (x *RpcResponse) GetError() *RpcError {
if x != nil {
if x, ok := x.Value.(*RpcResponse_Error); ok {
return x.Error
}
}
return nil
}
func (x *RpcResponse) GetCompressedPayload() []byte {
if x != nil {
if x, ok := x.Value.(*RpcResponse_CompressedPayload); ok {
return x.CompressedPayload
}
}
return nil
}
type isRpcResponse_Value interface {
isRpcResponse_Value()
}
type RpcResponse_Payload struct {
Payload string `protobuf:"bytes,2,opt,name=payload,proto3,oneof"`
}
type RpcResponse_Error struct {
Error *RpcError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type RpcResponse_CompressedPayload struct {
CompressedPayload []byte `protobuf:"bytes,4,opt,name=compressed_payload,json=compressedPayload,proto3,oneof"`
}
func (*RpcResponse_Payload) isRpcResponse_Value() {}
func (*RpcResponse_Error) isRpcResponse_Value() {}
func (*RpcResponse_CompressedPayload) isRpcResponse_Value() {}
type RpcError struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RpcError) Reset() {
*x = RpcError{}
mi := &file_livekit_models_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RpcError) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RpcError) ProtoMessage() {}
func (x *RpcError) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RpcError) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{28}
}
func (x *RpcError) GetCode() uint32 {
if x != nil {
return x.Code
}
return 0
}
func (x *RpcError) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *RpcError) GetData() string {
if x != nil {
return x.Data
}
return ""
}
type ParticipantTracks struct {
state protoimpl.MessageState `protogen:"open.v1"`
ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
TrackSids []string `protobuf:"bytes,2,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ParticipantTracks) Reset() {
*x = ParticipantTracks{}
mi := &file_livekit_models_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ParticipantTracks) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ParticipantTracks) ProtoMessage() {}
func (x *ParticipantTracks) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ParticipantTracks) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{29}
}
func (x *ParticipantTracks) GetParticipantSid() string {
if x != nil {
return x.ParticipantSid
}
return ""
}
func (x *ParticipantTracks) GetTrackSids() []string {
if x != nil {
return x.TrackSids
}
return nil
}
type ServerInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
DebugInfo string `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
AgentProtocol int32 `protobuf:"varint,7,opt,name=agent_protocol,json=agentProtocol,proto3" json:"agent_protocol,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServerInfo) Reset() {
*x = ServerInfo{}
mi := &file_livekit_models_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServerInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerInfo) ProtoMessage() {}
func (x *ServerInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ServerInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{30}
}
func (x *ServerInfo) GetEdition() ServerInfo_Edition {
if x != nil {
return x.Edition
}
return ServerInfo_Standard
}
func (x *ServerInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *ServerInfo) GetProtocol() int32 {
if x != nil {
return x.Protocol
}
return 0
}
func (x *ServerInfo) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *ServerInfo) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *ServerInfo) GetDebugInfo() string {
if x != nil {
return x.DebugInfo
}
return ""
}
func (x *ServerInfo) GetAgentProtocol() int32 {
if x != nil {
return x.AgentProtocol
}
return 0
}
type ClientInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"`
BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"`
Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"`
ClientProtocol int32 `protobuf:"varint,12,opt,name=client_protocol,json=clientProtocol,proto3" json:"client_protocol,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClientInfo) Reset() {
*x = ClientInfo{}
mi := &file_livekit_models_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClientInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClientInfo) ProtoMessage() {}
func (x *ClientInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ClientInfo) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{31}
}
func (x *ClientInfo) GetSdk() ClientInfo_SDK {
if x != nil {
return x.Sdk
}
return ClientInfo_UNKNOWN
}
func (x *ClientInfo) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *ClientInfo) GetProtocol() int32 {
if x != nil {
return x.Protocol
}
return 0
}
func (x *ClientInfo) GetOs() string {
if x != nil {
return x.Os
}
return ""
}
func (x *ClientInfo) GetOsVersion() string {
if x != nil {
return x.OsVersion
}
return ""
}
func (x *ClientInfo) GetDeviceModel() string {
if x != nil {
return x.DeviceModel
}
return ""
}
func (x *ClientInfo) GetBrowser() string {
if x != nil {
return x.Browser
}
return ""
}
func (x *ClientInfo) GetBrowserVersion() string {
if x != nil {
return x.BrowserVersion
}
return ""
}
func (x *ClientInfo) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *ClientInfo) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *ClientInfo) GetOtherSdks() string {
if x != nil {
return x.OtherSdks
}
return ""
}
func (x *ClientInfo) GetClientProtocol() int32 {
if x != nil {
return x.ClientProtocol
}
return 0
}
type ClientConfiguration struct {
state protoimpl.MessageState `protogen:"open.v1"`
Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"`
Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"`
ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"`
DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"`
ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClientConfiguration) Reset() {
*x = ClientConfiguration{}
mi := &file_livekit_models_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClientConfiguration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClientConfiguration) ProtoMessage() {}
func (x *ClientConfiguration) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ClientConfiguration) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{32}
}
func (x *ClientConfiguration) GetVideo() *VideoConfiguration {
if x != nil {
return x.Video
}
return nil
}
func (x *ClientConfiguration) GetScreen() *VideoConfiguration {
if x != nil {
return x.Screen
}
return nil
}
func (x *ClientConfiguration) GetResumeConnection() ClientConfigSetting {
if x != nil {
return x.ResumeConnection
}
return ClientConfigSetting_UNSET
}
func (x *ClientConfiguration) GetDisabledCodecs() *DisabledCodecs {
if x != nil {
return x.DisabledCodecs
}
return nil
}
func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting {
if x != nil {
return x.ForceRelay
}
return ClientConfigSetting_UNSET
}
type VideoConfiguration struct {
state protoimpl.MessageState `protogen:"open.v1"`
HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VideoConfiguration) Reset() {
*x = VideoConfiguration{}
mi := &file_livekit_models_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VideoConfiguration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VideoConfiguration) ProtoMessage() {}
func (x *VideoConfiguration) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*VideoConfiguration) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{33}
}
func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting {
if x != nil {
return x.HardwareEncoder
}
return ClientConfigSetting_UNSET
}
type DisabledCodecs struct {
state protoimpl.MessageState `protogen:"open.v1"`
Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"`
Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DisabledCodecs) Reset() {
*x = DisabledCodecs{}
mi := &file_livekit_models_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DisabledCodecs) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisabledCodecs) ProtoMessage() {}
func (x *DisabledCodecs) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DisabledCodecs) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{34}
}
func (x *DisabledCodecs) GetCodecs() []*Codec {
if x != nil {
return x.Codecs
}
return nil
}
func (x *DisabledCodecs) GetPublish() []*Codec {
if x != nil {
return x.Publish
}
return nil
}
type RTPDrift struct {
state protoimpl.MessageState `protogen:"open.v1"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"`
StartTimestamp uint64 `protobuf:"varint,4,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
EndTimestamp uint64 `protobuf:"varint,5,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
RtpClockTicks uint64 `protobuf:"varint,6,opt,name=rtp_clock_ticks,json=rtpClockTicks,proto3" json:"rtp_clock_ticks,omitempty"`
DriftSamples int64 `protobuf:"varint,7,opt,name=drift_samples,json=driftSamples,proto3" json:"drift_samples,omitempty"`
DriftMs float64 `protobuf:"fixed64,8,opt,name=drift_ms,json=driftMs,proto3" json:"drift_ms,omitempty"`
ClockRate float64 `protobuf:"fixed64,9,opt,name=clock_rate,json=clockRate,proto3" json:"clock_rate,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RTPDrift) Reset() {
*x = RTPDrift{}
mi := &file_livekit_models_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RTPDrift) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RTPDrift) ProtoMessage() {}
func (x *RTPDrift) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RTPDrift) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{35}
}
func (x *RTPDrift) GetStartTime() *timestamppb.Timestamp {
if x != nil {
return x.StartTime
}
return nil
}
func (x *RTPDrift) GetEndTime() *timestamppb.Timestamp {
if x != nil {
return x.EndTime
}
return nil
}
func (x *RTPDrift) GetDuration() float64 {
if x != nil {
return x.Duration
}
return 0
}
func (x *RTPDrift) GetStartTimestamp() uint64 {
if x != nil {
return x.StartTimestamp
}
return 0
}
func (x *RTPDrift) GetEndTimestamp() uint64 {
if x != nil {
return x.EndTimestamp
}
return 0
}
func (x *RTPDrift) GetRtpClockTicks() uint64 {
if x != nil {
return x.RtpClockTicks
}
return 0
}
func (x *RTPDrift) GetDriftSamples() int64 {
if x != nil {
return x.DriftSamples
}
return 0
}
func (x *RTPDrift) GetDriftMs() float64 {
if x != nil {
return x.DriftMs
}
return 0
}
func (x *RTPDrift) GetClockRate() float64 {
if x != nil {
return x.ClockRate
}
return 0
}
type RTPStats struct {
state protoimpl.MessageState `protogen:"open.v1"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"`
Packets uint32 `protobuf:"varint,4,opt,name=packets,proto3" json:"packets,omitempty"`
PacketRate float64 `protobuf:"fixed64,5,opt,name=packet_rate,json=packetRate,proto3" json:"packet_rate,omitempty"`
Bytes uint64 `protobuf:"varint,6,opt,name=bytes,proto3" json:"bytes,omitempty"`
HeaderBytes uint64 `protobuf:"varint,39,opt,name=header_bytes,json=headerBytes,proto3" json:"header_bytes,omitempty"`
Bitrate float64 `protobuf:"fixed64,7,opt,name=bitrate,proto3" json:"bitrate,omitempty"`
PacketsLost uint32 `protobuf:"varint,8,opt,name=packets_lost,json=packetsLost,proto3" json:"packets_lost,omitempty"`
PacketLossRate float64 `protobuf:"fixed64,9,opt,name=packet_loss_rate,json=packetLossRate,proto3" json:"packet_loss_rate,omitempty"`
PacketLossPercentage float32 `protobuf:"fixed32,10,opt,name=packet_loss_percentage,json=packetLossPercentage,proto3" json:"packet_loss_percentage,omitempty"`
PacketsDuplicate uint32 `protobuf:"varint,11,opt,name=packets_duplicate,json=packetsDuplicate,proto3" json:"packets_duplicate,omitempty"`
PacketDuplicateRate float64 `protobuf:"fixed64,12,opt,name=packet_duplicate_rate,json=packetDuplicateRate,proto3" json:"packet_duplicate_rate,omitempty"`
BytesDuplicate uint64 `protobuf:"varint,13,opt,name=bytes_duplicate,json=bytesDuplicate,proto3" json:"bytes_duplicate,omitempty"`
HeaderBytesDuplicate uint64 `protobuf:"varint,40,opt,name=header_bytes_duplicate,json=headerBytesDuplicate,proto3" json:"header_bytes_duplicate,omitempty"`
BitrateDuplicate float64 `protobuf:"fixed64,14,opt,name=bitrate_duplicate,json=bitrateDuplicate,proto3" json:"bitrate_duplicate,omitempty"`
PacketsPadding uint32 `protobuf:"varint,15,opt,name=packets_padding,json=packetsPadding,proto3" json:"packets_padding,omitempty"`
PacketPaddingRate float64 `protobuf:"fixed64,16,opt,name=packet_padding_rate,json=packetPaddingRate,proto3" json:"packet_padding_rate,omitempty"`
BytesPadding uint64 `protobuf:"varint,17,opt,name=bytes_padding,json=bytesPadding,proto3" json:"bytes_padding,omitempty"`
HeaderBytesPadding uint64 `protobuf:"varint,41,opt,name=header_bytes_padding,json=headerBytesPadding,proto3" json:"header_bytes_padding,omitempty"`
BitratePadding float64 `protobuf:"fixed64,18,opt,name=bitrate_padding,json=bitratePadding,proto3" json:"bitrate_padding,omitempty"`
PacketsOutOfOrder uint32 `protobuf:"varint,19,opt,name=packets_out_of_order,json=packetsOutOfOrder,proto3" json:"packets_out_of_order,omitempty"`
Frames uint32 `protobuf:"varint,20,opt,name=frames,proto3" json:"frames,omitempty"`
FrameRate float64 `protobuf:"fixed64,21,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
JitterCurrent float64 `protobuf:"fixed64,22,opt,name=jitter_current,json=jitterCurrent,proto3" json:"jitter_current,omitempty"`
JitterMax float64 `protobuf:"fixed64,23,opt,name=jitter_max,json=jitterMax,proto3" json:"jitter_max,omitempty"`
GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
Nacks uint32 `protobuf:"varint,25,opt,name=nacks,proto3" json:"nacks,omitempty"`
NackAcks uint32 `protobuf:"varint,37,opt,name=nack_acks,json=nackAcks,proto3" json:"nack_acks,omitempty"`
NackMisses uint32 `protobuf:"varint,26,opt,name=nack_misses,json=nackMisses,proto3" json:"nack_misses,omitempty"`
NackRepeated uint32 `protobuf:"varint,38,opt,name=nack_repeated,json=nackRepeated,proto3" json:"nack_repeated,omitempty"`
Plis uint32 `protobuf:"varint,27,opt,name=plis,proto3" json:"plis,omitempty"`
LastPli *timestamppb.Timestamp `protobuf:"bytes,28,opt,name=last_pli,json=lastPli,proto3" json:"last_pli,omitempty"`
Firs uint32 `protobuf:"varint,29,opt,name=firs,proto3" json:"firs,omitempty"`
LastFir *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=last_fir,json=lastFir,proto3" json:"last_fir,omitempty"`
RttCurrent uint32 `protobuf:"varint,31,opt,name=rtt_current,json=rttCurrent,proto3" json:"rtt_current,omitempty"`
RttMax uint32 `protobuf:"varint,32,opt,name=rtt_max,json=rttMax,proto3" json:"rtt_max,omitempty"`
KeyFrames uint32 `protobuf:"varint,33,opt,name=key_frames,json=keyFrames,proto3" json:"key_frames,omitempty"`
LastKeyFrame *timestamppb.Timestamp `protobuf:"bytes,34,opt,name=last_key_frame,json=lastKeyFrame,proto3" json:"last_key_frame,omitempty"`
LayerLockPlis uint32 `protobuf:"varint,35,opt,name=layer_lock_plis,json=layerLockPlis,proto3" json:"layer_lock_plis,omitempty"`
LastLayerLockPli *timestamppb.Timestamp `protobuf:"bytes,36,opt,name=last_layer_lock_pli,json=lastLayerLockPli,proto3" json:"last_layer_lock_pli,omitempty"`
PacketDrift *RTPDrift `protobuf:"bytes,44,opt,name=packet_drift,json=packetDrift,proto3" json:"packet_drift,omitempty"`
NtpReportDrift *RTPDrift `protobuf:"bytes,45,opt,name=ntp_report_drift,json=ntpReportDrift,proto3" json:"ntp_report_drift,omitempty"`
RebasedReportDrift *RTPDrift `protobuf:"bytes,46,opt,name=rebased_report_drift,json=rebasedReportDrift,proto3" json:"rebased_report_drift,omitempty"`
ReceivedReportDrift *RTPDrift `protobuf:"bytes,47,opt,name=received_report_drift,json=receivedReportDrift,proto3" json:"received_report_drift,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RTPStats) Reset() {
*x = RTPStats{}
mi := &file_livekit_models_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RTPStats) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RTPStats) ProtoMessage() {}
func (x *RTPStats) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RTPStats) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{36}
}
func (x *RTPStats) GetStartTime() *timestamppb.Timestamp {
if x != nil {
return x.StartTime
}
return nil
}
func (x *RTPStats) GetEndTime() *timestamppb.Timestamp {
if x != nil {
return x.EndTime
}
return nil
}
func (x *RTPStats) GetDuration() float64 {
if x != nil {
return x.Duration
}
return 0
}
func (x *RTPStats) GetPackets() uint32 {
if x != nil {
return x.Packets
}
return 0
}
func (x *RTPStats) GetPacketRate() float64 {
if x != nil {
return x.PacketRate
}
return 0
}
func (x *RTPStats) GetBytes() uint64 {
if x != nil {
return x.Bytes
}
return 0
}
func (x *RTPStats) GetHeaderBytes() uint64 {
if x != nil {
return x.HeaderBytes
}
return 0
}
func (x *RTPStats) GetBitrate() float64 {
if x != nil {
return x.Bitrate
}
return 0
}
func (x *RTPStats) GetPacketsLost() uint32 {
if x != nil {
return x.PacketsLost
}
return 0
}
func (x *RTPStats) GetPacketLossRate() float64 {
if x != nil {
return x.PacketLossRate
}
return 0
}
func (x *RTPStats) GetPacketLossPercentage() float32 {
if x != nil {
return x.PacketLossPercentage
}
return 0
}
func (x *RTPStats) GetPacketsDuplicate() uint32 {
if x != nil {
return x.PacketsDuplicate
}
return 0
}
func (x *RTPStats) GetPacketDuplicateRate() float64 {
if x != nil {
return x.PacketDuplicateRate
}
return 0
}
func (x *RTPStats) GetBytesDuplicate() uint64 {
if x != nil {
return x.BytesDuplicate
}
return 0
}
func (x *RTPStats) GetHeaderBytesDuplicate() uint64 {
if x != nil {
return x.HeaderBytesDuplicate
}
return 0
}
func (x *RTPStats) GetBitrateDuplicate() float64 {
if x != nil {
return x.BitrateDuplicate
}
return 0
}
func (x *RTPStats) GetPacketsPadding() uint32 {
if x != nil {
return x.PacketsPadding
}
return 0
}
func (x *RTPStats) GetPacketPaddingRate() float64 {
if x != nil {
return x.PacketPaddingRate
}
return 0
}
func (x *RTPStats) GetBytesPadding() uint64 {
if x != nil {
return x.BytesPadding
}
return 0
}
func (x *RTPStats) GetHeaderBytesPadding() uint64 {
if x != nil {
return x.HeaderBytesPadding
}
return 0
}
func (x *RTPStats) GetBitratePadding() float64 {
if x != nil {
return x.BitratePadding
}
return 0
}
func (x *RTPStats) GetPacketsOutOfOrder() uint32 {
if x != nil {
return x.PacketsOutOfOrder
}
return 0
}
func (x *RTPStats) GetFrames() uint32 {
if x != nil {
return x.Frames
}
return 0
}
func (x *RTPStats) GetFrameRate() float64 {
if x != nil {
return x.FrameRate
}
return 0
}
func (x *RTPStats) GetJitterCurrent() float64 {
if x != nil {
return x.JitterCurrent
}
return 0
}
func (x *RTPStats) GetJitterMax() float64 {
if x != nil {
return x.JitterMax
}
return 0
}
func (x *RTPStats) GetGapHistogram() map[int32]uint32 {
if x != nil {
return x.GapHistogram
}
return nil
}
func (x *RTPStats) GetNacks() uint32 {
if x != nil {
return x.Nacks
}
return 0
}
func (x *RTPStats) GetNackAcks() uint32 {
if x != nil {
return x.NackAcks
}
return 0
}
func (x *RTPStats) GetNackMisses() uint32 {
if x != nil {
return x.NackMisses
}
return 0
}
func (x *RTPStats) GetNackRepeated() uint32 {
if x != nil {
return x.NackRepeated
}
return 0
}
func (x *RTPStats) GetPlis() uint32 {
if x != nil {
return x.Plis
}
return 0
}
func (x *RTPStats) GetLastPli() *timestamppb.Timestamp {
if x != nil {
return x.LastPli
}
return nil
}
func (x *RTPStats) GetFirs() uint32 {
if x != nil {
return x.Firs
}
return 0
}
func (x *RTPStats) GetLastFir() *timestamppb.Timestamp {
if x != nil {
return x.LastFir
}
return nil
}
func (x *RTPStats) GetRttCurrent() uint32 {
if x != nil {
return x.RttCurrent
}
return 0
}
func (x *RTPStats) GetRttMax() uint32 {
if x != nil {
return x.RttMax
}
return 0
}
func (x *RTPStats) GetKeyFrames() uint32 {
if x != nil {
return x.KeyFrames
}
return 0
}
func (x *RTPStats) GetLastKeyFrame() *timestamppb.Timestamp {
if x != nil {
return x.LastKeyFrame
}
return nil
}
func (x *RTPStats) GetLayerLockPlis() uint32 {
if x != nil {
return x.LayerLockPlis
}
return 0
}
func (x *RTPStats) GetLastLayerLockPli() *timestamppb.Timestamp {
if x != nil {
return x.LastLayerLockPli
}
return nil
}
func (x *RTPStats) GetPacketDrift() *RTPDrift {
if x != nil {
return x.PacketDrift
}
return nil
}
func (x *RTPStats) GetNtpReportDrift() *RTPDrift {
if x != nil {
return x.NtpReportDrift
}
return nil
}
func (x *RTPStats) GetRebasedReportDrift() *RTPDrift {
if x != nil {
return x.RebasedReportDrift
}
return nil
}
func (x *RTPStats) GetReceivedReportDrift() *RTPDrift {
if x != nil {
return x.ReceivedReportDrift
}
return nil
}
type RTCPSenderReportState struct {
state protoimpl.MessageState `protogen:"open.v1"`
RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"`
RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"`
NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"`
At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"`
Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"`
Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RTCPSenderReportState) Reset() {
*x = RTCPSenderReportState{}
mi := &file_livekit_models_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RTCPSenderReportState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RTCPSenderReportState) ProtoMessage() {}
func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RTCPSenderReportState) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{37}
}
func (x *RTCPSenderReportState) GetRtpTimestamp() uint32 {
if x != nil {
return x.RtpTimestamp
}
return 0
}
func (x *RTCPSenderReportState) GetRtpTimestampExt() uint64 {
if x != nil {
return x.RtpTimestampExt
}
return 0
}
func (x *RTCPSenderReportState) GetNtpTimestamp() uint64 {
if x != nil {
return x.NtpTimestamp
}
return 0
}
func (x *RTCPSenderReportState) GetAt() int64 {
if x != nil {
return x.At
}
return 0
}
func (x *RTCPSenderReportState) GetAtAdjusted() int64 {
if x != nil {
return x.AtAdjusted
}
return 0
}
func (x *RTCPSenderReportState) GetPackets() uint32 {
if x != nil {
return x.Packets
}
return 0
}
func (x *RTCPSenderReportState) GetOctets() uint64 {
if x != nil {
return x.Octets
}
return 0
}
type RTPForwarderState struct {
state protoimpl.MessageState `protogen:"open.v1"`
Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`
ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"`
PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"`
ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"`
DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"`
RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"`
CodecMunger isRTPForwarderState_CodecMunger `protobuf_oneof:"codec_munger"`
SenderReportState []*RTCPSenderReportState `protobuf:"bytes,8,rep,name=sender_report_state,json=senderReportState,proto3" json:"sender_report_state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RTPForwarderState) Reset() {
*x = RTPForwarderState{}
mi := &file_livekit_models_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RTPForwarderState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RTPForwarderState) ProtoMessage() {}
func (x *RTPForwarderState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RTPForwarderState) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{38}
}
func (x *RTPForwarderState) GetStarted() bool {
if x != nil {
return x.Started
}
return false
}
func (x *RTPForwarderState) GetReferenceLayerSpatial() int32 {
if x != nil {
return x.ReferenceLayerSpatial
}
return 0
}
func (x *RTPForwarderState) GetPreStartTime() int64 {
if x != nil {
return x.PreStartTime
}
return 0
}
func (x *RTPForwarderState) GetExtFirstTimestamp() uint64 {
if x != nil {
return x.ExtFirstTimestamp
}
return 0
}
func (x *RTPForwarderState) GetDummyStartTimestampOffset() uint64 {
if x != nil {
return x.DummyStartTimestampOffset
}
return 0
}
func (x *RTPForwarderState) GetRtpMunger() *RTPMungerState {
if x != nil {
return x.RtpMunger
}
return nil
}
func (x *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger {
if x != nil {
return x.CodecMunger
}
return nil
}
func (x *RTPForwarderState) GetVp8Munger() *VP8MungerState {
if x != nil {
if x, ok := x.CodecMunger.(*RTPForwarderState_Vp8Munger); ok {
return x.Vp8Munger
}
}
return nil
}
func (x *RTPForwarderState) GetSenderReportState() []*RTCPSenderReportState {
if x != nil {
return x.SenderReportState
}
return nil
}
type isRTPForwarderState_CodecMunger interface {
isRTPForwarderState_CodecMunger()
}
type RTPForwarderState_Vp8Munger struct {
Vp8Munger *VP8MungerState `protobuf:"bytes,7,opt,name=vp8_munger,json=vp8Munger,proto3,oneof"`
}
func (*RTPForwarderState_Vp8Munger) isRTPForwarderState_CodecMunger() {}
type RTPMungerState struct {
state protoimpl.MessageState `protogen:"open.v1"`
ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"`
ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"`
ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"`
ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"`
LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"`
SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RTPMungerState) Reset() {
*x = RTPMungerState{}
mi := &file_livekit_models_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RTPMungerState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RTPMungerState) ProtoMessage() {}
func (x *RTPMungerState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*RTPMungerState) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{39}
}
func (x *RTPMungerState) GetExtLastSequenceNumber() uint64 {
if x != nil {
return x.ExtLastSequenceNumber
}
return 0
}
func (x *RTPMungerState) GetExtSecondLastSequenceNumber() uint64 {
if x != nil {
return x.ExtSecondLastSequenceNumber
}
return 0
}
func (x *RTPMungerState) GetExtLastTimestamp() uint64 {
if x != nil {
return x.ExtLastTimestamp
}
return 0
}
func (x *RTPMungerState) GetExtSecondLastTimestamp() uint64 {
if x != nil {
return x.ExtSecondLastTimestamp
}
return 0
}
func (x *RTPMungerState) GetLastMarker() bool {
if x != nil {
return x.LastMarker
}
return false
}
func (x *RTPMungerState) GetSecondLastMarker() bool {
if x != nil {
return x.SecondLastMarker
}
return false
}
type VP8MungerState struct {
state protoimpl.MessageState `protogen:"open.v1"`
ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"`
PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"`
LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"`
Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"`
TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"`
LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"`
KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VP8MungerState) Reset() {
*x = VP8MungerState{}
mi := &file_livekit_models_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VP8MungerState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VP8MungerState) ProtoMessage() {}
func (x *VP8MungerState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*VP8MungerState) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{40}
}
func (x *VP8MungerState) GetExtLastPictureId() int32 {
if x != nil {
return x.ExtLastPictureId
}
return 0
}
func (x *VP8MungerState) GetPictureIdUsed() bool {
if x != nil {
return x.PictureIdUsed
}
return false
}
func (x *VP8MungerState) GetLastTl0PicIdx() uint32 {
if x != nil {
return x.LastTl0PicIdx
}
return 0
}
func (x *VP8MungerState) GetTl0PicIdxUsed() bool {
if x != nil {
return x.Tl0PicIdxUsed
}
return false
}
func (x *VP8MungerState) GetTidUsed() bool {
if x != nil {
return x.TidUsed
}
return false
}
func (x *VP8MungerState) GetLastKeyIdx() uint32 {
if x != nil {
return x.LastKeyIdx
}
return 0
}
func (x *VP8MungerState) GetKeyIdxUsed() bool {
if x != nil {
return x.KeyIdxUsed
}
return false
}
type TimedVersion struct {
state protoimpl.MessageState `protogen:"open.v1"`
UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"`
Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TimedVersion) Reset() {
*x = TimedVersion{}
mi := &file_livekit_models_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TimedVersion) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TimedVersion) ProtoMessage() {}
func (x *TimedVersion) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*TimedVersion) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{41}
}
func (x *TimedVersion) GetUnixMicro() int64 {
if x != nil {
return x.UnixMicro
}
return 0
}
func (x *TimedVersion) GetTicks() int32 {
if x != nil {
return x.Ticks
}
return 0
}
type DataStream struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataStream) Reset() {
*x = DataStream{}
mi := &file_livekit_models_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataStream) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataStream) ProtoMessage() {}
func (x *DataStream) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataStream) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42}
}
type FilterParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
IncludeEvents []string `protobuf:"bytes,1,rep,name=include_events,json=includeEvents,proto3" json:"include_events,omitempty"`
ExcludeEvents []string `protobuf:"bytes,2,rep,name=exclude_events,json=excludeEvents,proto3" json:"exclude_events,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FilterParams) Reset() {
*x = FilterParams{}
mi := &file_livekit_models_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FilterParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FilterParams) ProtoMessage() {}
func (x *FilterParams) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*FilterParams) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{43}
}
func (x *FilterParams) GetIncludeEvents() []string {
if x != nil {
return x.IncludeEvents
}
return nil
}
func (x *FilterParams) GetExcludeEvents() []string {
if x != nil {
return x.ExcludeEvents
}
return nil
}
type WebhookConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
SigningKey string `protobuf:"bytes,2,opt,name=signing_key,json=signingKey,proto3" json:"signing_key,omitempty"`
FilterParams *FilterParams `protobuf:"bytes,3,opt,name=filter_params,json=filterParams,proto3" json:"filter_params,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WebhookConfig) Reset() {
*x = WebhookConfig{}
mi := &file_livekit_models_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WebhookConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebhookConfig) ProtoMessage() {}
func (x *WebhookConfig) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*WebhookConfig) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{44}
}
func (x *WebhookConfig) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *WebhookConfig) GetSigningKey() string {
if x != nil {
return x.SigningKey
}
return ""
}
func (x *WebhookConfig) GetFilterParams() *FilterParams {
if x != nil {
return x.FilterParams
}
return nil
}
type SubscribedAudioCodec struct {
state protoimpl.MessageState `protogen:"open.v1"`
Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SubscribedAudioCodec) Reset() {
*x = SubscribedAudioCodec{}
mi := &file_livekit_models_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SubscribedAudioCodec) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubscribedAudioCodec) ProtoMessage() {}
func (x *SubscribedAudioCodec) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SubscribedAudioCodec) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{45}
}
func (x *SubscribedAudioCodec) GetCodec() string {
if x != nil {
return x.Codec
}
return ""
}
func (x *SubscribedAudioCodec) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
type DataStream_TextHeader struct {
state protoimpl.MessageState `protogen:"open.v1"`
OperationType DataStream_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=livekit.DataStream_OperationType" json:"operation_type,omitempty"`
Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` ReplyToStreamId string `protobuf:"bytes,3,opt,name=reply_to_stream_id,json=replyToStreamId,proto3" json:"reply_to_stream_id,omitempty"` AttachedStreamIds []string `protobuf:"bytes,4,rep,name=attached_stream_ids,json=attachedStreamIds,proto3" json:"attached_stream_ids,omitempty"` Generated bool `protobuf:"varint,5,opt,name=generated,proto3" json:"generated,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataStream_TextHeader) Reset() {
*x = DataStream_TextHeader{}
mi := &file_livekit_models_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataStream_TextHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataStream_TextHeader) ProtoMessage() {}
func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataStream_TextHeader) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42, 0}
}
func (x *DataStream_TextHeader) GetOperationType() DataStream_OperationType {
if x != nil {
return x.OperationType
}
return DataStream_CREATE
}
func (x *DataStream_TextHeader) GetVersion() int32 {
if x != nil {
return x.Version
}
return 0
}
func (x *DataStream_TextHeader) GetReplyToStreamId() string {
if x != nil {
return x.ReplyToStreamId
}
return ""
}
func (x *DataStream_TextHeader) GetAttachedStreamIds() []string {
if x != nil {
return x.AttachedStreamIds
}
return nil
}
func (x *DataStream_TextHeader) GetGenerated() bool {
if x != nil {
return x.Generated
}
return false
}
type DataStream_ByteHeader struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataStream_ByteHeader) Reset() {
*x = DataStream_ByteHeader{}
mi := &file_livekit_models_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataStream_ByteHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataStream_ByteHeader) ProtoMessage() {}
func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataStream_ByteHeader) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42, 1}
}
func (x *DataStream_ByteHeader) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type DataStream_Header struct {
state protoimpl.MessageState `protogen:"open.v1"`
StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` ContentHeader isDataStream_Header_ContentHeader `protobuf_oneof:"content_header"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataStream_Header) Reset() {
*x = DataStream_Header{}
mi := &file_livekit_models_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataStream_Header) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataStream_Header) ProtoMessage() {}
func (x *DataStream_Header) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataStream_Header) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42, 2}
}
func (x *DataStream_Header) GetStreamId() string {
if x != nil {
return x.StreamId
}
return ""
}
func (x *DataStream_Header) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *DataStream_Header) GetTopic() string {
if x != nil {
return x.Topic
}
return ""
}
func (x *DataStream_Header) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *DataStream_Header) GetTotalLength() uint64 {
if x != nil && x.TotalLength != nil {
return *x.TotalLength
}
return 0
}
func (x *DataStream_Header) GetEncryptionType() Encryption_Type {
if x != nil {
return x.EncryptionType
}
return Encryption_NONE
}
func (x *DataStream_Header) GetAttributes() map[string]string {
if x != nil {
return x.Attributes
}
return nil
}
func (x *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader {
if x != nil {
return x.ContentHeader
}
return nil
}
func (x *DataStream_Header) GetTextHeader() *DataStream_TextHeader {
if x != nil {
if x, ok := x.ContentHeader.(*DataStream_Header_TextHeader); ok {
return x.TextHeader
}
}
return nil
}
func (x *DataStream_Header) GetByteHeader() *DataStream_ByteHeader {
if x != nil {
if x, ok := x.ContentHeader.(*DataStream_Header_ByteHeader); ok {
return x.ByteHeader
}
}
return nil
}
type isDataStream_Header_ContentHeader interface {
isDataStream_Header_ContentHeader()
}
type DataStream_Header_TextHeader struct {
TextHeader *DataStream_TextHeader `protobuf:"bytes,9,opt,name=text_header,json=textHeader,proto3,oneof"`
}
type DataStream_Header_ByteHeader struct {
ByteHeader *DataStream_ByteHeader `protobuf:"bytes,10,opt,name=byte_header,json=byteHeader,proto3,oneof"`
}
func (*DataStream_Header_TextHeader) isDataStream_Header_ContentHeader() {}
func (*DataStream_Header_ByteHeader) isDataStream_Header_ContentHeader() {}
type DataStream_Chunk struct {
state protoimpl.MessageState `protogen:"open.v1"`
StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"`
Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataStream_Chunk) Reset() {
*x = DataStream_Chunk{}
mi := &file_livekit_models_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataStream_Chunk) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataStream_Chunk) ProtoMessage() {}
func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataStream_Chunk) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42, 3}
}
func (x *DataStream_Chunk) GetStreamId() string {
if x != nil {
return x.StreamId
}
return ""
}
func (x *DataStream_Chunk) GetChunkIndex() uint64 {
if x != nil {
return x.ChunkIndex
}
return 0
}
func (x *DataStream_Chunk) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
func (x *DataStream_Chunk) GetVersion() int32 {
if x != nil {
return x.Version
}
return 0
}
func (x *DataStream_Chunk) GetIv() []byte {
if x != nil {
return x.Iv
}
return nil
}
type DataStream_Trailer struct {
state protoimpl.MessageState `protogen:"open.v1"`
StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DataStream_Trailer) Reset() {
*x = DataStream_Trailer{}
mi := &file_livekit_models_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DataStream_Trailer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DataStream_Trailer) ProtoMessage() {}
func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message {
mi := &file_livekit_models_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DataStream_Trailer) Descriptor() ([]byte, []int) {
return file_livekit_models_proto_rawDescGZIP(), []int{42, 4}
}
func (x *DataStream_Trailer) GetStreamId() string {
if x != nil {
return x.StreamId
}
return ""
}
func (x *DataStream_Trailer) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *DataStream_Trailer) GetAttributes() map[string]string {
if x != nil {
return x.Attributes
}
return nil
}
var File_livekit_models_proto protoreflect.FileDescriptor
const file_livekit_models_proto_rawDesc = "" +
"\n" +
"\x14livekit_models.proto\x12\alivekit\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15livekit_metrics.proto\x1a\x14logger/options.proto\"J\n" +
"\n" +
"Pagination\x12&\n" +
"\bafter_id\x18\x01 \x01(\tB\v\x9a\xec,\aafterIDR\aafterId\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\"'\n" +
"\x0fTokenPagination\x12\x14\n" +
"\x05token\x18\x01 \x01(\tR\x05token\"^\n" +
"\n" +
"ListUpdate\x12\x10\n" +
"\x03set\x18\x01 \x03(\tR\x03set\x12\x10\n" +
"\x03add\x18\x02 \x03(\tR\x03add\x12\x16\n" +
"\x06remove\x18\x03 \x03(\tR\x06remove\x12\x14\n" +
"\x05clear\x18\x04 \x01(\bR\x05clear\"\xc6\x04\n" +
"\x04Room\x12\x10\n" +
"\x03sid\x18\x01 \x01(\tR\x03sid\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12#\n" +
"\rempty_timeout\x18\x03 \x01(\rR\femptyTimeout\x12+\n" +
"\x11departure_timeout\x18\x0e \x01(\rR\x10departureTimeout\x12)\n" +
"\x10max_participants\x18\x04 \x01(\rR\x0fmaxParticipants\x12#\n" +
"\rcreation_time\x18\x05 \x01(\x03R\fcreationTime\x12(\n" +
"\x10creation_time_ms\x18\x0f \x01(\x03R\x0ecreationTimeMs\x12#\n" +
"\rturn_password\x18\x06 \x01(\tR\fturnPassword\x125\n" +
"\x0eenabled_codecs\x18\a \x03(\v2\x0e.livekit.CodecR\renabledCodecs\x12B\n" +
"\bmetadata\x18\b \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata\x12)\n" +
"\x10num_participants\x18\t \x01(\rR\x0fnumParticipants\x12%\n" +
"\x0enum_publishers\x18\v \x01(\rR\rnumPublishers\x12)\n" +
"\x10active_recording\x18\n" +
" \x01(\bR\x0factiveRecording\x12/\n" +
"\aversion\x18\r \x01(\v2\x15.livekit.TimedVersionR\aversion\"8\n" +
"\x05Codec\x12\x12\n" +
"\x04mime\x18\x01 \x01(\tR\x04mime\x12\x1b\n" +
"\tfmtp_line\x18\x02 \x01(\tR\bfmtpLine\"L\n" +
"\fPlayoutDelay\x12\x18\n" +
"\aenabled\x18\x01 \x01(\bR\aenabled\x12\x10\n" +
"\x03min\x18\x02 \x01(\rR\x03min\x12\x10\n" +
"\x03max\x18\x03 \x01(\rR\x03max\"\xbc\x03\n" +
"\x15ParticipantPermission\x12#\n" +
"\rcan_subscribe\x18\x01 \x01(\bR\fcanSubscribe\x12\x1f\n" +
"\vcan_publish\x18\x02 \x01(\bR\n" +
"canPublish\x12(\n" +
"\x10can_publish_data\x18\x03 \x01(\bR\x0ecanPublishData\x12D\n" +
"\x13can_publish_sources\x18\t \x03(\x0e2\x14.livekit.TrackSourceR\x11canPublishSources\x12\x16\n" +
"\x06hidden\x18\a \x01(\bR\x06hidden\x12\x1e\n" +
"\brecorder\x18\b \x01(\bB\x02\x18\x01R\brecorder\x12.\n" +
"\x13can_update_metadata\x18\n" +
" \x01(\bR\x11canUpdateMetadata\x12\x18\n" +
"\x05agent\x18\v \x01(\bB\x02\x18\x01R\x05agent\x122\n" +
"\x15can_subscribe_metrics\x18\f \x01(\bR\x13canSubscribeMetrics\x127\n" +
"\x18can_manage_agent_session\x18\r \x01(\bR\x15canManageAgentSession\"\xb4\t\n" +
"\x0fParticipantInfo\x12\x10\n" +
"\x03sid\x18\x01 \x01(\tR\x03sid\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x124\n" +
"\x05state\x18\x03 \x01(\x0e2\x1e.livekit.ParticipantInfo.StateR\x05state\x12*\n" +
"\x06tracks\x18\x04 \x03(\v2\x12.livekit.TrackInfoR\x06tracks\x12B\n" +
"\bmetadata\x18\x05 \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata\x12\x1b\n" +
"\tjoined_at\x18\x06 \x01(\x03R\bjoinedAt\x12 \n" +
"\fjoined_at_ms\x18\x11 \x01(\x03R\n" +
"joinedAtMs\x12\x18\n" +
"\x04name\x18\t \x01(\tB\x04\x88\xec,\x01R\x04name\x12\x18\n" +
"\aversion\x18\n" +
" \x01(\rR\aversion\x12>\n" +
"\n" +
"permission\x18\v \x01(\v2\x1e.livekit.ParticipantPermissionR\n" +
"permission\x12\x16\n" +
"\x06region\x18\f \x01(\tR\x06region\x12!\n" +
"\fis_publisher\x18\r \x01(\bR\visPublisher\x121\n" +
"\x04kind\x18\x0e \x01(\x0e2\x1d.livekit.ParticipantInfo.KindR\x04kind\x12p\n" +
"\n" +
"attributes\x18\x0f \x03(\v2(.livekit.ParticipantInfo.AttributesEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\n" +
"attributes\x12F\n" +
"\x11disconnect_reason\x18\x10 \x01(\x0e2\x19.livekit.DisconnectReasonR\x10disconnectReason\x12F\n" +
"\fkind_details\x18\x12 \x03(\x0e2#.livekit.ParticipantInfo.KindDetailR\vkindDetails\x127\n" +
"\vdata_tracks\x18\x13 \x03(\v2\x16.livekit.DataTrackInfoR\n" +
"dataTracks\x12'\n" +
"\x0fclient_protocol\x18\x14 \x01(\x05R\x0eclientProtocol\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\">\n" +
"\x05State\x12\v\n" +
"\aJOINING\x10\x00\x12\n" +
"\n" +
"\x06JOINED\x10\x01\x12\n" +
"\n" +
"\x06ACTIVE\x10\x02\x12\x10\n" +
"\fDISCONNECTED\x10\x03\"\\\n" +
"\x04Kind\x12\f\n" +
"\bSTANDARD\x10\x00\x12\v\n" +
"\aINGRESS\x10\x01\x12\n" +
"\n" +
"\x06EGRESS\x10\x02\x12\a\n" +
"\x03SIP\x10\x03\x12\t\n" +
"\x05AGENT\x10\x04\x12\r\n" +
"\tCONNECTOR\x10\a\x12\n" +
"\n" +
"\x06BRIDGE\x10\b\"k\n" +
"\n" +
"KindDetail\x12\x0f\n" +
"\vCLOUD_AGENT\x10\x00\x12\r\n" +
"\tFORWARDED\x10\x01\x12\x16\n" +
"\x12CONNECTOR_WHATSAPP\x10\x02\x12\x14\n" +
"\x10CONNECTOR_TWILIO\x10\x03\x12\x0f\n" +
"\vBRIDGE_RTSP\x10\x04\"3\n" +
"\n" +
"Encryption\"%\n" +
"\x04Type\x12\b\n" +
"\x04NONE\x10\x00\x12\a\n" +
"\x03GCM\x10\x01\x12\n" +
"\n" +
"\x06CUSTOM\x10\x02\"\xdf\x01\n" +
"\x12SimulcastCodecInfo\x12\x1b\n" +
"\tmime_type\x18\x01 \x01(\tR\bmimeType\x12\x10\n" +
"\x03mid\x18\x02 \x01(\tR\x03mid\x12\x10\n" +
"\x03cid\x18\x03 \x01(\tR\x03cid\x12+\n" +
"\x06layers\x18\x04 \x03(\v2\x13.livekit.VideoLayerR\x06layers\x12B\n" +
"\x10video_layer_mode\x18\x05 \x01(\x0e2\x18.livekit.VideoLayer.ModeR\x0evideoLayerMode\x12\x17\n" +
"\asdp_cid\x18\x06 \x01(\tR\x06sdpCid\"\xd3\x06\n" +
"\tTrackInfo\x12\x10\n" +
"\x03sid\x18\x01 \x01(\tR\x03sid\x12&\n" +
"\x04type\x18\x02 \x01(\x0e2\x12.livekit.TrackTypeR\x04type\x12\x18\n" +
"\x04name\x18\x03 \x01(\tB\x04\x88\xec,\x01R\x04name\x12\x14\n" +
"\x05muted\x18\x04 \x01(\bR\x05muted\x12\x14\n" +
"\x05width\x18\x05 \x01(\rR\x05width\x12\x16\n" +
"\x06height\x18\x06 \x01(\rR\x06height\x12 \n" +
"\tsimulcast\x18\a \x01(\bB\x02\x18\x01R\tsimulcast\x12#\n" +
"\vdisable_dtx\x18\b \x01(\bB\x02\x18\x01R\n" +
"disableDtx\x12,\n" +
"\x06source\x18\t \x01(\x0e2\x14.livekit.TrackSourceR\x06source\x12/\n" +
"\x06layers\x18\n" +
" \x03(\v2\x13.livekit.VideoLayerB\x02\x18\x01R\x06layers\x12\x1b\n" +
"\tmime_type\x18\v \x01(\tR\bmimeType\x12\x10\n" +
"\x03mid\x18\f \x01(\tR\x03mid\x123\n" +
"\x06codecs\x18\r \x03(\v2\x1b.livekit.SimulcastCodecInfoR\x06codecs\x12\x1a\n" +
"\x06stereo\x18\x0e \x01(\bB\x02\x18\x01R\x06stereo\x12\x1f\n" +
"\vdisable_red\x18\x0f \x01(\bR\n" +
"disableRed\x128\n" +
"\n" +
"encryption\x18\x10 \x01(\x0e2\x18.livekit.Encryption.TypeR\n" +
"encryption\x12\x16\n" +
"\x06stream\x18\x11 \x01(\tR\x06stream\x12/\n" +
"\aversion\x18\x12 \x01(\v2\x15.livekit.TimedVersionR\aversion\x12A\n" +
"\x0eaudio_features\x18\x13 \x03(\x0e2\x1a.livekit.AudioTrackFeatureR\raudioFeatures\x12J\n" +
"\x13backup_codec_policy\x18\x14 \x01(\x0e2\x1a.livekit.BackupCodecPolicyR\x11backupCodecPolicy\x12U\n" +
"\x17packet_trailer_features\x18\x15 \x03(\x0e2\x1d.livekit.PacketTrailerFeatureR\x15packetTrailerFeatures\"\x8e\x01\n" +
"\rDataTrackInfo\x12\x1d\n" +
"\n" +
"pub_handle\x18\x01 \x01(\rR\tpubHandle\x12\x10\n" +
"\x03sid\x18\x02 \x01(\tR\x03sid\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x128\n" +
"\n" +
"encryption\x18\x04 \x01(\x0e2\x18.livekit.Encryption.TypeR\n" +
"encryption\"z\n" +
" DataTrackExtensionParticipantSid\x12-\n" +
"\x02id\x18\x01 \x01(\x0e2\x1d.livekit.DataTrackExtensionIDR\x02id\x12'\n" +
"\x0fparticipant_sid\x18\x02 \x01(\tR\x0eparticipantSid\"Q\n" +
"\x1cDataTrackSubscriptionOptions\x12\"\n" +
"\n" +
"target_fps\x18\x01 \x01(\rH\x00R\ttargetFps\x88\x01\x01B\r\n" +
"\v_target_fps\"\x8a\x03\n" +
"\n" +
"VideoLayer\x12/\n" +
"\aquality\x18\x01 \x01(\x0e2\x15.livekit.VideoQualityR\aquality\x12\x14\n" +
"\x05width\x18\x02 \x01(\rR\x05width\x12\x16\n" +
"\x06height\x18\x03 \x01(\rR\x06height\x12\x18\n" +
"\abitrate\x18\x04 \x01(\rR\abitrate\x12\x12\n" +
"\x04ssrc\x18\x05 \x01(\rR\x04ssrc\x12#\n" +
"\rspatial_layer\x18\x06 \x01(\x05R\fspatialLayer\x12\x10\n" +
"\x03rid\x18\a \x01(\tR\x03rid\x12\x1f\n" +
"\vrepair_ssrc\x18\b \x01(\rR\n" +
"repairSsrc\"\x96\x01\n" +
"\x04Mode\x12\x0f\n" +
"\vMODE_UNUSED\x10\x00\x12 \n" +
"\x1cONE_SPATIAL_LAYER_PER_STREAM\x10\x01\x12&\n" +
"\"MULTIPLE_SPATIAL_LAYERS_PER_STREAM\x10\x02\x123\n" +
"/ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR\x10\x03\"\x8c\b\n" +
"\n" +
"DataPacket\x120\n" +
"\x04kind\x18\x01 \x01(\x0e2\x18.livekit.DataPacket.KindB\x02\x18\x01R\x04kind\x121\n" +
"\x14participant_identity\x18\x04 \x01(\tR\x13participantIdentity\x125\n" +
"\x16destination_identities\x18\x05 \x03(\tR\x15destinationIdentities\x12)\n" +
"\x04user\x18\x02 \x01(\v2\x13.livekit.UserPacketH\x00R\x04user\x12<\n" +
"\aspeaker\x18\x03 \x01(\v2\x1c.livekit.ActiveSpeakerUpdateB\x02\x18\x01H\x00R\aspeaker\x12-\n" +
"\bsip_dtmf\x18\x06 \x01(\v2\x10.livekit.SipDTMFH\x00R\asipDtmf\x12>\n" +
"\rtranscription\x18\a \x01(\v2\x16.livekit.TranscriptionH\x00R\rtranscription\x121\n" +
"\ametrics\x18\b \x01(\v2\x15.livekit.MetricsBatchH\x00R\ametrics\x129\n" +
"\fchat_message\x18\t \x01(\v2\x14.livekit.ChatMessageH\x00R\vchatMessage\x126\n" +
"\vrpc_request\x18\n" +
" \x01(\v2\x13.livekit.RpcRequestH\x00R\n" +
"rpcRequest\x12*\n" +
"\arpc_ack\x18\v \x01(\v2\x0f.livekit.RpcAckH\x00R\x06rpcAck\x129\n" +
"\frpc_response\x18\f \x01(\v2\x14.livekit.RpcResponseH\x00R\vrpcResponse\x12A\n" +
"\rstream_header\x18\r \x01(\v2\x1a.livekit.DataStream.HeaderH\x00R\fstreamHeader\x12>\n" +
"\fstream_chunk\x18\x0e \x01(\v2\x19.livekit.DataStream.ChunkH\x00R\vstreamChunk\x12D\n" +
"\x0estream_trailer\x18\x0f \x01(\v2\x1b.livekit.DataStream.TrailerH\x00R\rstreamTrailer\x12E\n" +
"\x10encrypted_packet\x18\x12 \x01(\v2\x18.livekit.EncryptedPacketH\x00R\x0fencryptedPacket\x12\x1a\n" +
"\bsequence\x18\x10 \x01(\rR\bsequence\x12'\n" +
"\x0fparticipant_sid\x18\x11 \x01(\tR\x0eparticipantSid\"\x1f\n" +
"\x04Kind\x12\f\n" +
"\bRELIABLE\x10\x00\x12\t\n" +
"\x05LOSSY\x10\x01B\a\n" +
"\x05value\"\xaa\x01\n" +
"\x0fEncryptedPacket\x12A\n" +
"\x0fencryption_type\x18\x01 \x01(\x0e2\x18.livekit.Encryption.TypeR\x0eencryptionType\x12\x0e\n" +
"\x02iv\x18\x02 \x01(\fR\x02iv\x12\x1b\n" +
"\tkey_index\x18\x03 \x01(\rR\bkeyIndex\x12'\n" +
"\x0fencrypted_value\x18\x04 \x01(\fR\x0eencryptedValue\"\xef\x03\n" +
"\x16EncryptedPacketPayload\x12)\n" +
"\x04user\x18\x01 \x01(\v2\x13.livekit.UserPacketH\x00R\x04user\x129\n" +
"\fchat_message\x18\x03 \x01(\v2\x14.livekit.ChatMessageH\x00R\vchatMessage\x126\n" +
"\vrpc_request\x18\x04 \x01(\v2\x13.livekit.RpcRequestH\x00R\n" +
"rpcRequest\x12*\n" +
"\arpc_ack\x18\x05 \x01(\v2\x0f.livekit.RpcAckH\x00R\x06rpcAck\x129\n" +
"\frpc_response\x18\x06 \x01(\v2\x14.livekit.RpcResponseH\x00R\vrpcResponse\x12A\n" +
"\rstream_header\x18\a \x01(\v2\x1a.livekit.DataStream.HeaderH\x00R\fstreamHeader\x12>\n" +
"\fstream_chunk\x18\b \x01(\v2\x19.livekit.DataStream.ChunkH\x00R\vstreamChunk\x12D\n" +
"\x0estream_trailer\x18\t \x01(\v2\x1b.livekit.DataStream.TrailerH\x00R\rstreamTrailerB\a\n" +
"\x05value\"K\n" +
"\x13ActiveSpeakerUpdate\x120\n" +
"\bspeakers\x18\x01 \x03(\v2\x14.livekit.SpeakerInfoR\bspeakers:\x02\x18\x01\"M\n" +
"\vSpeakerInfo\x12\x10\n" +
"\x03sid\x18\x01 \x01(\tR\x03sid\x12\x14\n" +
"\x05level\x18\x02 \x01(\x02R\x05level\x12\x16\n" +
"\x06active\x18\x03 \x01(\bR\x06active\"\xab\x03\n" +
"\n" +
"UserPacket\x12+\n" +
"\x0fparticipant_sid\x18\x01 \x01(\tB\x02\x18\x01R\x0eparticipantSid\x125\n" +
"\x14participant_identity\x18\x05 \x01(\tB\x02\x18\x01R\x13participantIdentity\x12\x18\n" +
"\apayload\x18\x02 \x01(\fR\apayload\x12-\n" +
"\x10destination_sids\x18\x03 \x03(\tB\x02\x18\x01R\x0fdestinationSids\x129\n" +
"\x16destination_identities\x18\x06 \x03(\tB\x02\x18\x01R\x15destinationIdentities\x12\x19\n" +
"\x05topic\x18\x04 \x01(\tH\x00R\x05topic\x88\x01\x01\x12\x13\n" +
"\x02id\x18\b \x01(\tH\x01R\x02id\x88\x01\x01\x12\"\n" +
"\n" +
"start_time\x18\t \x01(\x04H\x02R\tstartTime\x88\x01\x01\x12\x1e\n" +
"\bend_time\x18\n" +
" \x01(\x04H\x03R\aendTime\x88\x01\x01\x12\x14\n" +
"\x05nonce\x18\v \x01(\fR\x05nonceB\b\n" +
"\x06_topicB\x05\n" +
"\x03_idB\r\n" +
"\v_start_timeB\v\n" +
"\t_end_time\"3\n" +
"\aSipDTMF\x12\x12\n" +
"\x04code\x18\x03 \x01(\rR\x04code\x12\x14\n" +
"\x05digit\x18\x04 \x01(\tR\x05digit\"\xbc\x01\n" +
"\rTranscription\x12H\n" +
" transcribed_participant_identity\x18\x02 \x01(\tR\x1etranscribedParticipantIdentity\x12&\n" +
"\btrack_id\x18\x03 \x01(\tB\v\x9a\xec,\atrackIDR\atrackId\x129\n" +
"\bsegments\x18\x04 \x03(\v2\x1d.livekit.TranscriptionSegmentR\bsegments\"\xa6\x01\n" +
"\x14TranscriptionSegment\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04text\x18\x02 \x01(\tR\x04text\x12\x1d\n" +
"\n" +
"start_time\x18\x03 \x01(\x04R\tstartTime\x12\x19\n" +
"\bend_time\x18\x04 \x01(\x04R\aendTime\x12\x14\n" +
"\x05final\x18\x05 \x01(\bR\x05final\x12\x1a\n" +
"\blanguage\x18\x06 \x01(\tR\blanguage\"\xcc\x01\n" +
"\vChatMessage\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\ttimestamp\x18\x02 \x01(\x03R\ttimestamp\x12*\n" +
"\x0eedit_timestamp\x18\x03 \x01(\x03H\x00R\reditTimestamp\x88\x01\x01\x12\x18\n" +
"\amessage\x18\x04 \x01(\tR\amessage\x12\x18\n" +
"\adeleted\x18\x05 \x01(\bR\adeleted\x12\x1c\n" +
"\tgenerated\x18\x06 \x01(\bR\tgeneratedB\x11\n" +
"\x0f_edit_timestamp\"\xc7\x01\n" +
"\n" +
"RpcRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
"\x06method\x18\x02 \x01(\tR\x06method\x12\x18\n" +
"\apayload\x18\x03 \x01(\tR\apayload\x12.\n" +
"\x13response_timeout_ms\x18\x04 \x01(\rR\x11responseTimeoutMs\x12\x18\n" +
"\aversion\x18\x05 \x01(\rR\aversion\x12-\n" +
"\x12compressed_payload\x18\x06 \x01(\fR\x11compressedPayload\"6\n" +
"\x06RpcAck\x12,\n" +
"\n" +
"request_id\x18\x01 \x01(\tB\r\x9a\xec,\trequestIDR\trequestId\"\xbc\x01\n" +
"\vRpcResponse\x12,\n" +
"\n" +
"request_id\x18\x01 \x01(\tB\r\x9a\xec,\trequestIDR\trequestId\x12\x1a\n" +
"\apayload\x18\x02 \x01(\tH\x00R\apayload\x12)\n" +
"\x05error\x18\x03 \x01(\v2\x11.livekit.RpcErrorH\x00R\x05error\x12/\n" +
"\x12compressed_payload\x18\x04 \x01(\fH\x00R\x11compressedPayloadB\a\n" +
"\x05value\"L\n" +
"\bRpcError\x12\x12\n" +
"\x04code\x18\x01 \x01(\rR\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x12\n" +
"\x04data\x18\x03 \x01(\tR\x04data\"[\n" +
"\x11ParticipantTracks\x12'\n" +
"\x0fparticipant_sid\x18\x01 \x01(\tR\x0eparticipantSid\x12\x1d\n" +
"\n" +
"track_sids\x18\x02 \x03(\tR\ttrackSids\"\xa0\x02\n" +
"\n" +
"ServerInfo\x125\n" +
"\aedition\x18\x01 \x01(\x0e2\x1b.livekit.ServerInfo.EditionR\aedition\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x1a\n" +
"\bprotocol\x18\x03 \x01(\x05R\bprotocol\x12\x16\n" +
"\x06region\x18\x04 \x01(\tR\x06region\x12#\n" +
"\anode_id\x18\x05 \x01(\tB\n" +
"\x9a\xec,\x06nodeIDR\x06nodeId\x12\x1d\n" +
"\n" +
"debug_info\x18\x06 \x01(\tR\tdebugInfo\x12%\n" +
"\x0eagent_protocol\x18\a \x01(\x05R\ragentProtocol\"\"\n" +
"\aEdition\x12\f\n" +
"\bStandard\x10\x00\x12\t\n" +
"\x05Cloud\x10\x01\"\xb4\x04\n" +
"\n" +
"ClientInfo\x12)\n" +
"\x03sdk\x18\x01 \x01(\x0e2\x17.livekit.ClientInfo.SDKR\x03sdk\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x1a\n" +
"\bprotocol\x18\x03 \x01(\x05R\bprotocol\x12\x0e\n" +
"\x02os\x18\x04 \x01(\tR\x02os\x12\x1d\n" +
"\n" +
"os_version\x18\x05 \x01(\tR\tosVersion\x12!\n" +
"\fdevice_model\x18\x06 \x01(\tR\vdeviceModel\x12\x18\n" +
"\abrowser\x18\a \x01(\tR\abrowser\x12'\n" +
"\x0fbrowser_version\x18\b \x01(\tR\x0ebrowserVersion\x12\x18\n" +
"\aaddress\x18\t \x01(\tR\aaddress\x12\x18\n" +
"\anetwork\x18\n" +
" \x01(\tR\anetwork\x12\x1d\n" +
"\n" +
"other_sdks\x18\v \x01(\tR\totherSdks\x12'\n" +
"\x0fclient_protocol\x18\f \x01(\x05R\x0eclientProtocol\"\xb3\x01\n" +
"\x03SDK\x12\v\n" +
"\aUNKNOWN\x10\x00\x12\x06\n" +
"\x02JS\x10\x01\x12\t\n" +
"\x05SWIFT\x10\x02\x12\v\n" +
"\aANDROID\x10\x03\x12\v\n" +
"\aFLUTTER\x10\x04\x12\x06\n" +
"\x02GO\x10\x05\x12\t\n" +
"\x05UNITY\x10\x06\x12\x10\n" +
"\fREACT_NATIVE\x10\a\x12\b\n" +
"\x04RUST\x10\b\x12\n" +
"\n" +
"\x06PYTHON\x10\t\x12\a\n" +
"\x03CPP\x10\n" +
"\x12\r\n" +
"\tUNITY_WEB\x10\v\x12\b\n" +
"\x04NODE\x10\f\x12\n" +
"\n" +
"\x06UNREAL\x10\r\x12\t\n" +
"\x05ESP32\x10\x0e\"\xc9\x02\n" +
"\x13ClientConfiguration\x121\n" +
"\x05video\x18\x01 \x01(\v2\x1b.livekit.VideoConfigurationR\x05video\x123\n" +
"\x06screen\x18\x02 \x01(\v2\x1b.livekit.VideoConfigurationR\x06screen\x12I\n" +
"\x11resume_connection\x18\x03 \x01(\x0e2\x1c.livekit.ClientConfigSettingR\x10resumeConnection\x12@\n" +
"\x0fdisabled_codecs\x18\x04 \x01(\v2\x17.livekit.DisabledCodecsR\x0edisabledCodecs\x12=\n" +
"\vforce_relay\x18\x05 \x01(\x0e2\x1c.livekit.ClientConfigSettingR\n" +
"forceRelay\"]\n" +
"\x12VideoConfiguration\x12G\n" +
"\x10hardware_encoder\x18\x01 \x01(\x0e2\x1c.livekit.ClientConfigSettingR\x0fhardwareEncoder\"b\n" +
"\x0eDisabledCodecs\x12&\n" +
"\x06codecs\x18\x01 \x03(\v2\x0e.livekit.CodecR\x06codecs\x12(\n" +
"\apublish\x18\x02 \x03(\v2\x0e.livekit.CodecR\apublish\"\xed\x02\n" +
"\bRTPDrift\x129\n" +
"\n" +
"start_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" +
"\bend_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x12\x1a\n" +
"\bduration\x18\x03 \x01(\x01R\bduration\x12'\n" +
"\x0fstart_timestamp\x18\x04 \x01(\x04R\x0estartTimestamp\x12#\n" +
"\rend_timestamp\x18\x05 \x01(\x04R\fendTimestamp\x12&\n" +
"\x0frtp_clock_ticks\x18\x06 \x01(\x04R\rrtpClockTicks\x12#\n" +
"\rdrift_samples\x18\a \x01(\x03R\fdriftSamples\x12\x19\n" +
"\bdrift_ms\x18\b \x01(\x01R\adriftMs\x12\x1d\n" +
"\n" +
"clock_rate\x18\t \x01(\x01R\tclockRate\"\xc4\x0f\n" +
"\bRTPStats\x129\n" +
"\n" +
"start_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" +
"\bend_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x12\x1a\n" +
"\bduration\x18\x03 \x01(\x01R\bduration\x12\x18\n" +
"\apackets\x18\x04 \x01(\rR\apackets\x12\x1f\n" +
"\vpacket_rate\x18\x05 \x01(\x01R\n" +
"packetRate\x12\x14\n" +
"\x05bytes\x18\x06 \x01(\x04R\x05bytes\x12!\n" +
"\fheader_bytes\x18' \x01(\x04R\vheaderBytes\x12\x18\n" +
"\abitrate\x18\a \x01(\x01R\abitrate\x12!\n" +
"\fpackets_lost\x18\b \x01(\rR\vpacketsLost\x12(\n" +
"\x10packet_loss_rate\x18\t \x01(\x01R\x0epacketLossRate\x124\n" +
"\x16packet_loss_percentage\x18\n" +
" \x01(\x02R\x14packetLossPercentage\x12+\n" +
"\x11packets_duplicate\x18\v \x01(\rR\x10packetsDuplicate\x122\n" +
"\x15packet_duplicate_rate\x18\f \x01(\x01R\x13packetDuplicateRate\x12'\n" +
"\x0fbytes_duplicate\x18\r \x01(\x04R\x0ebytesDuplicate\x124\n" +
"\x16header_bytes_duplicate\x18( \x01(\x04R\x14headerBytesDuplicate\x12+\n" +
"\x11bitrate_duplicate\x18\x0e \x01(\x01R\x10bitrateDuplicate\x12'\n" +
"\x0fpackets_padding\x18\x0f \x01(\rR\x0epacketsPadding\x12.\n" +
"\x13packet_padding_rate\x18\x10 \x01(\x01R\x11packetPaddingRate\x12#\n" +
"\rbytes_padding\x18\x11 \x01(\x04R\fbytesPadding\x120\n" +
"\x14header_bytes_padding\x18) \x01(\x04R\x12headerBytesPadding\x12'\n" +
"\x0fbitrate_padding\x18\x12 \x01(\x01R\x0ebitratePadding\x12/\n" +
"\x14packets_out_of_order\x18\x13 \x01(\rR\x11packetsOutOfOrder\x12\x16\n" +
"\x06frames\x18\x14 \x01(\rR\x06frames\x12\x1d\n" +
"\n" +
"frame_rate\x18\x15 \x01(\x01R\tframeRate\x12%\n" +
"\x0ejitter_current\x18\x16 \x01(\x01R\rjitterCurrent\x12\x1d\n" +
"\n" +
"jitter_max\x18\x17 \x01(\x01R\tjitterMax\x12H\n" +
"\rgap_histogram\x18\x18 \x03(\v2#.livekit.RTPStats.GapHistogramEntryR\fgapHistogram\x12\x14\n" +
"\x05nacks\x18\x19 \x01(\rR\x05nacks\x12\x1b\n" +
"\tnack_acks\x18% \x01(\rR\bnackAcks\x12\x1f\n" +
"\vnack_misses\x18\x1a \x01(\rR\n" +
"nackMisses\x12#\n" +
"\rnack_repeated\x18& \x01(\rR\fnackRepeated\x12\x12\n" +
"\x04plis\x18\x1b \x01(\rR\x04plis\x125\n" +
"\blast_pli\x18\x1c \x01(\v2\x1a.google.protobuf.TimestampR\alastPli\x12\x12\n" +
"\x04firs\x18\x1d \x01(\rR\x04firs\x125\n" +
"\blast_fir\x18\x1e \x01(\v2\x1a.google.protobuf.TimestampR\alastFir\x12\x1f\n" +
"\vrtt_current\x18\x1f \x01(\rR\n" +
"rttCurrent\x12\x17\n" +
"\artt_max\x18 \x01(\rR\x06rttMax\x12\x1d\n" +
"\n" +
"key_frames\x18! \x01(\rR\tkeyFrames\x12@\n" +
"\x0elast_key_frame\x18\" \x01(\v2\x1a.google.protobuf.TimestampR\flastKeyFrame\x12&\n" +
"\x0flayer_lock_plis\x18# \x01(\rR\rlayerLockPlis\x12I\n" +
"\x13last_layer_lock_pli\x18$ \x01(\v2\x1a.google.protobuf.TimestampR\x10lastLayerLockPli\x124\n" +
"\fpacket_drift\x18, \x01(\v2\x11.livekit.RTPDriftR\vpacketDrift\x12;\n" +
"\x10ntp_report_drift\x18- \x01(\v2\x11.livekit.RTPDriftR\x0entpReportDrift\x12C\n" +
"\x14rebased_report_drift\x18. \x01(\v2\x11.livekit.RTPDriftR\x12rebasedReportDrift\x12E\n" +
"\x15received_report_drift\x18/ \x01(\v2\x11.livekit.RTPDriftR\x13receivedReportDrift\x1a?\n" +
"\x11GapHistogramEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\rR\x05value:\x028\x01\"\xf0\x01\n" +
"\x15RTCPSenderReportState\x12#\n" +
"\rrtp_timestamp\x18\x01 \x01(\rR\frtpTimestamp\x12*\n" +
"\x11rtp_timestamp_ext\x18\x02 \x01(\x04R\x0frtpTimestampExt\x12#\n" +
"\rntp_timestamp\x18\x03 \x01(\x04R\fntpTimestamp\x12\x0e\n" +
"\x02at\x18\x04 \x01(\x03R\x02at\x12\x1f\n" +
"\vat_adjusted\x18\x05 \x01(\x03R\n" +
"atAdjusted\x12\x18\n" +
"\apackets\x18\x06 \x01(\rR\apackets\x12\x16\n" +
"\x06octets\x18\a \x01(\x04R\x06octets\"\xce\x03\n" +
"\x11RTPForwarderState\x12\x18\n" +
"\astarted\x18\x01 \x01(\bR\astarted\x126\n" +
"\x17reference_layer_spatial\x18\x02 \x01(\x05R\x15referenceLayerSpatial\x12$\n" +
"\x0epre_start_time\x18\x03 \x01(\x03R\fpreStartTime\x12.\n" +
"\x13ext_first_timestamp\x18\x04 \x01(\x04R\x11extFirstTimestamp\x12?\n" +
"\x1cdummy_start_timestamp_offset\x18\x05 \x01(\x04R\x19dummyStartTimestampOffset\x126\n" +
"\n" +
"rtp_munger\x18\x06 \x01(\v2\x17.livekit.RTPMungerStateR\trtpMunger\x128\n" +
"\n" +
"vp8_munger\x18\a \x01(\v2\x17.livekit.VP8MungerStateH\x00R\tvp8Munger\x12N\n" +
"\x13sender_report_state\x18\b \x03(\v2\x1e.livekit.RTCPSenderReportStateR\x11senderReportStateB\x0e\n" +
"\fcodec_munger\"\xc7\x02\n" +
"\x0eRTPMungerState\x127\n" +
"\x18ext_last_sequence_number\x18\x01 \x01(\x04R\x15extLastSequenceNumber\x12D\n" +
"\x1fext_second_last_sequence_number\x18\x02 \x01(\x04R\x1bextSecondLastSequenceNumber\x12,\n" +
"\x12ext_last_timestamp\x18\x03 \x01(\x04R\x10extLastTimestamp\x129\n" +
"\x19ext_second_last_timestamp\x18\x04 \x01(\x04R\x16extSecondLastTimestamp\x12\x1f\n" +
"\vlast_marker\x18\x05 \x01(\bR\n" +
"lastMarker\x12,\n" +
"\x12second_last_marker\x18\x06 \x01(\bR\x10secondLastMarker\"\xae\x02\n" +
"\x0eVP8MungerState\x12C\n" +
"\x13ext_last_picture_id\x18\x01 \x01(\x05B\x14\x9a\xec,\x10extLastPictureIDR\x10extLastPictureId\x12&\n" +
"\x0fpicture_id_used\x18\x02 \x01(\bR\rpictureIdUsed\x12'\n" +
"\x10last_tl0_pic_idx\x18\x03 \x01(\rR\rlastTl0PicIdx\x12'\n" +
"\x10tl0_pic_idx_used\x18\x04 \x01(\bR\rtl0PicIdxUsed\x12\x19\n" +
"\btid_used\x18\x05 \x01(\bR\atidUsed\x12 \n" +
"\flast_key_idx\x18\x06 \x01(\rR\n" +
"lastKeyIdx\x12 \n" +
"\fkey_idx_used\x18\a \x01(\bR\n" +
"keyIdxUsed\"C\n" +
"\fTimedVersion\x12\x1d\n" +
"\n" +
"unix_micro\x18\x01 \x01(\x03R\tunixMicro\x12\x14\n" +
"\x05ticks\x18\x02 \x01(\x05R\x05ticks\"\xa3\n" +
"\n" +
"\n" +
"DataStream\x1a\x80\x02\n" +
"\n" +
"TextHeader\x12H\n" +
"\x0eoperation_type\x18\x01 \x01(\x0e2!.livekit.DataStream.OperationTypeR\roperationType\x12\x18\n" +
"\aversion\x18\x02 \x01(\x05R\aversion\x12@\n" +
"\x12reply_to_stream_id\x18\x03 \x01(\tB\x13\x9a\xec,\x0freplyToStreamIDR\x0freplyToStreamId\x12.\n" +
"\x13attached_stream_ids\x18\x04 \x03(\tR\x11attachedStreamIds\x12\x1c\n" +
"\tgenerated\x18\x05 \x01(\bR\tgenerated\x1a \n" +
"\n" +
"ByteHeader\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x1a\xa7\x04\n" +
"\x06Header\x12)\n" +
"\tstream_id\x18\x01 \x01(\tB\f\x9a\xec,\bstreamIDR\bstreamId\x12\x1c\n" +
"\ttimestamp\x18\x02 \x01(\x03R\ttimestamp\x12\x14\n" +
"\x05topic\x18\x03 \x01(\tR\x05topic\x12\x1b\n" +
"\tmime_type\x18\x04 \x01(\tR\bmimeType\x12&\n" +
"\ftotal_length\x18\x05 \x01(\x04H\x01R\vtotalLength\x88\x01\x01\x12E\n" +
"\x0fencryption_type\x18\a \x01(\x0e2\x18.livekit.Encryption.TypeB\x02\x18\x01R\x0eencryptionType\x12J\n" +
"\n" +
"attributes\x18\b \x03(\v2*.livekit.DataStream.Header.AttributesEntryR\n" +
"attributes\x12A\n" +
"\vtext_header\x18\t \x01(\v2\x1e.livekit.DataStream.TextHeaderH\x00R\n" +
"textHeader\x12A\n" +
"\vbyte_header\x18\n" +
" \x01(\v2\x1e.livekit.DataStream.ByteHeaderH\x00R\n" +
"byteHeader\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x10\n" +
"\x0econtent_headerB\x0f\n" +
"\r_total_length\x1a\xa7\x01\n" +
"\x05Chunk\x12)\n" +
"\tstream_id\x18\x01 \x01(\tB\f\x9a\xec,\bstreamIDR\bstreamId\x12\x1f\n" +
"\vchunk_index\x18\x02 \x01(\x04R\n" +
"chunkIndex\x12\x18\n" +
"\acontent\x18\x03 \x01(\fR\acontent\x12\x18\n" +
"\aversion\x18\x04 \x01(\x05R\aversion\x12\x17\n" +
"\x02iv\x18\x05 \x01(\fB\x02\x18\x01H\x00R\x02iv\x88\x01\x01B\x05\n" +
"\x03_iv\x1a\xd8\x01\n" +
"\aTrailer\x12)\n" +
"\tstream_id\x18\x01 \x01(\tB\f\x9a\xec,\bstreamIDR\bstreamId\x12\x16\n" +
"\x06reason\x18\x02 \x01(\tR\x06reason\x12K\n" +
"\n" +
"attributes\x18\x03 \x03(\v2+.livekit.DataStream.Trailer.AttributesEntryR\n" +
"attributes\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"A\n" +
"\rOperationType\x12\n" +
"\n" +
"\x06CREATE\x10\x00\x12\n" +
"\n" +
"\x06UPDATE\x10\x01\x12\n" +
"\n" +
"\x06DELETE\x10\x02\x12\f\n" +
"\bREACTION\x10\x03\"\\\n" +
"\fFilterParams\x12%\n" +
"\x0einclude_events\x18\x01 \x03(\tR\rincludeEvents\x12%\n" +
"\x0eexclude_events\x18\x02 \x03(\tR\rexcludeEvents\"~\n" +
"\rWebhookConfig\x12\x10\n" +
"\x03url\x18\x01 \x01(\tR\x03url\x12\x1f\n" +
"\vsigning_key\x18\x02 \x01(\tR\n" +
"signingKey\x12:\n" +
"\rfilter_params\x18\x03 \x01(\v2\x15.livekit.FilterParamsR\ffilterParams\"F\n" +
"\x14SubscribedAudioCodec\x12\x14\n" +
"\x05codec\x18\x01 \x01(\tR\x05codec\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled*;\n" +
"\n" +
"AudioCodec\x12\x0e\n" +
"\n" +
"DEFAULT_AC\x10\x00\x12\b\n" +
"\x04OPUS\x10\x01\x12\a\n" +
"\x03AAC\x10\x02\x12\n" +
"\n" +
"\x06AC_MP3\x10\x03*V\n" +
"\n" +
"VideoCodec\x12\x0e\n" +
"\n" +
"DEFAULT_VC\x10\x00\x12\x11\n" +
"\rH264_BASELINE\x10\x01\x12\r\n" +
"\tH264_MAIN\x10\x02\x12\r\n" +
"\tH264_HIGH\x10\x03\x12\a\n" +
"\x03VP8\x10\x04*)\n" +
"\n" +
"ImageCodec\x12\x0e\n" +
"\n" +
"IC_DEFAULT\x10\x00\x12\v\n" +
"\aIC_JPEG\x10\x01*I\n" +
"\x11BackupCodecPolicy\x12\x15\n" +
"\x11PREFER_REGRESSION\x10\x00\x12\r\n" +
"\tSIMULCAST\x10\x01\x12\x0e\n" +
"\n" +
"REGRESSION\x10\x02*+\n" +
"\tTrackType\x12\t\n" +
"\x05AUDIO\x10\x00\x12\t\n" +
"\x05VIDEO\x10\x01\x12\b\n" +
"\x04DATA\x10\x02*`\n" +
"\vTrackSource\x12\v\n" +
"\aUNKNOWN\x10\x00\x12\n" +
"\n" +
"\x06CAMERA\x10\x01\x12\x0e\n" +
"\n" +
"MICROPHONE\x10\x02\x12\x10\n" +
"\fSCREEN_SHARE\x10\x03\x12\x16\n" +
"\x12SCREEN_SHARE_AUDIO\x10\x04*B\n" +
"\x14DataTrackExtensionID\x12\x10\n" +
"\fDTEI_INVALID\x10\x00\x12\x18\n" +
"\x14DTEI_PARTICIPANT_SID\x10\x01*6\n" +
"\fVideoQuality\x12\a\n" +
"\x03LOW\x10\x00\x12\n" +
"\n" +
"\x06MEDIUM\x10\x01\x12\b\n" +
"\x04HIGH\x10\x02\x12\a\n" +
"\x03OFF\x10\x03*@\n" +
"\x11ConnectionQuality\x12\b\n" +
"\x04POOR\x10\x00\x12\b\n" +
"\x04GOOD\x10\x01\x12\r\n" +
"\tEXCELLENT\x10\x02\x12\b\n" +
"\x04LOST\x10\x03*;\n" +
"\x13ClientConfigSetting\x12\t\n" +
"\x05UNSET\x10\x00\x12\f\n" +
"\bDISABLED\x10\x01\x12\v\n" +
"\aENABLED\x10\x02*\xe8\x02\n" +
"\x10DisconnectReason\x12\x12\n" +
"\x0eUNKNOWN_REASON\x10\x00\x12\x14\n" +
"\x10CLIENT_INITIATED\x10\x01\x12\x16\n" +
"\x12DUPLICATE_IDENTITY\x10\x02\x12\x13\n" +
"\x0fSERVER_SHUTDOWN\x10\x03\x12\x17\n" +
"\x13PARTICIPANT_REMOVED\x10\x04\x12\x10\n" +
"\fROOM_DELETED\x10\x05\x12\x12\n" +
"\x0eSTATE_MISMATCH\x10\x06\x12\x10\n" +
"\fJOIN_FAILURE\x10\a\x12\r\n" +
"\tMIGRATION\x10\b\x12\x10\n" +
"\fSIGNAL_CLOSE\x10\t\x12\x0f\n" +
"\vROOM_CLOSED\x10\n" +
"\x12\x14\n" +
"\x10USER_UNAVAILABLE\x10\v\x12\x11\n" +
"\rUSER_REJECTED\x10\f\x12\x15\n" +
"\x11SIP_TRUNK_FAILURE\x10\r\x12\x16\n" +
"\x12CONNECTION_TIMEOUT\x10\x0e\x12\x11\n" +
"\rMEDIA_FAILURE\x10\x0f\x12\x0f\n" +
"\vAGENT_ERROR\x10\x10*\x89\x01\n" +
"\x0fReconnectReason\x12\x0e\n" +
"\n" +
"RR_UNKNOWN\x10\x00\x12\x1a\n" +
"\x16RR_SIGNAL_DISCONNECTED\x10\x01\x12\x17\n" +
"\x13RR_PUBLISHER_FAILED\x10\x02\x12\x18\n" +
"\x14RR_SUBSCRIBER_FAILED\x10\x03\x12\x17\n" +
"\x13RR_SWITCH_CANDIDATE\x10\x04*T\n" +
"\x11SubscriptionError\x12\x0e\n" +
"\n" +
"SE_UNKNOWN\x10\x00\x12\x18\n" +
"\x14SE_CODEC_UNSUPPORTED\x10\x01\x12\x15\n" +
"\x11SE_TRACK_NOTFOUND\x10\x02*\xbd\x01\n" +
"\x11AudioTrackFeature\x12\r\n" +
"\tTF_STEREO\x10\x00\x12\r\n" +
"\tTF_NO_DTX\x10\x01\x12\x18\n" +
"\x14TF_AUTO_GAIN_CONTROL\x10\x02\x12\x18\n" +
"\x14TF_ECHO_CANCELLATION\x10\x03\x12\x18\n" +
"\x14TF_NOISE_SUPPRESSION\x10\x04\x12\"\n" +
"\x1eTF_ENHANCED_NOISE_CANCELLATION\x10\x05\x12\x18\n" +
"\x14TF_PRECONNECT_BUFFER\x10\x06*@\n" +
"\x14PacketTrailerFeature\x12\x16\n" +
"\x12PTF_USER_TIMESTAMP\x10\x00\x12\x10\n" +
"\fPTF_FRAME_ID\x10\x01BFZ#github.com/livekit/protocol/livekit\xaa\x02\rLiveKit.Proto\xea\x02\x0eLiveKit::Protob\x06proto3"
var (
file_livekit_models_proto_rawDescOnce sync.Once
file_livekit_models_proto_rawDescData []byte
)
func file_livekit_models_proto_rawDescGZIP() []byte {
file_livekit_models_proto_rawDescOnce.Do(func() {
file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc)))
})
return file_livekit_models_proto_rawDescData
}
var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 24)
var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 55)
var file_livekit_models_proto_goTypes = []any{
(AudioCodec)(0), (VideoCodec)(0), (ImageCodec)(0), (BackupCodecPolicy)(0), (TrackType)(0), (TrackSource)(0), (DataTrackExtensionID)(0), (VideoQuality)(0), (ConnectionQuality)(0), (ClientConfigSetting)(0), (DisconnectReason)(0), (ReconnectReason)(0), (SubscriptionError)(0), (AudioTrackFeature)(0), (PacketTrailerFeature)(0), (ParticipantInfo_State)(0), (ParticipantInfo_Kind)(0), (ParticipantInfo_KindDetail)(0), (Encryption_Type)(0), (VideoLayer_Mode)(0), (DataPacket_Kind)(0), (ServerInfo_Edition)(0), (ClientInfo_SDK)(0), (DataStream_OperationType)(0), (*Pagination)(nil), (*TokenPagination)(nil), (*ListUpdate)(nil), (*Room)(nil), (*Codec)(nil), (*PlayoutDelay)(nil), (*ParticipantPermission)(nil), (*ParticipantInfo)(nil), (*Encryption)(nil), (*SimulcastCodecInfo)(nil), (*TrackInfo)(nil), (*DataTrackInfo)(nil), (*DataTrackExtensionParticipantSid)(nil), (*DataTrackSubscriptionOptions)(nil), (*VideoLayer)(nil), (*DataPacket)(nil), (*EncryptedPacket)(nil), (*EncryptedPacketPayload)(nil), (*ActiveSpeakerUpdate)(nil), (*SpeakerInfo)(nil), (*UserPacket)(nil), (*SipDTMF)(nil), (*Transcription)(nil), (*TranscriptionSegment)(nil), (*ChatMessage)(nil), (*RpcRequest)(nil), (*RpcAck)(nil), (*RpcResponse)(nil), (*RpcError)(nil), (*ParticipantTracks)(nil), (*ServerInfo)(nil), (*ClientInfo)(nil), (*ClientConfiguration)(nil), (*VideoConfiguration)(nil), (*DisabledCodecs)(nil), (*RTPDrift)(nil), (*RTPStats)(nil), (*RTCPSenderReportState)(nil), (*RTPForwarderState)(nil), (*RTPMungerState)(nil), (*VP8MungerState)(nil), (*TimedVersion)(nil), (*DataStream)(nil), (*FilterParams)(nil), (*WebhookConfig)(nil), (*SubscribedAudioCodec)(nil), nil, nil, (*DataStream_TextHeader)(nil), (*DataStream_ByteHeader)(nil), (*DataStream_Header)(nil), (*DataStream_Chunk)(nil), (*DataStream_Trailer)(nil), nil, nil, (*MetricsBatch)(nil), (*timestamppb.Timestamp)(nil), }
var file_livekit_models_proto_depIdxs = []int32{
28, 65, 5, 15, 34, 30, 16, 70, 10, 17, 35, 38, 19, 4, 5, 38, 33, 18, 65, 13, 3, 14, 18, 6, 7, 20, 44, 42, 45, 46, 79, 48, 49, 50, 51, 74, 75, 76, 40, 18, 44, 48, 49, 50, 51, 74, 75, 76, 43, 47, 52, 21, 22, 57, 57, 9, 58, 9, 9, 28, 28, 80, 80, 80, 80, 71, 80, 80, 80, 80, 59, 59, 59, 59, 63, 64, 61, 67, 23, 18, 77, 72, 73, 78, 84, 84, 84, 84, 0, }
func init() { file_livekit_models_proto_init() }
func file_livekit_models_proto_init() {
if File_livekit_models_proto != nil {
return
}
file_livekit_metrics_proto_init()
file_livekit_models_proto_msgTypes[13].OneofWrappers = []any{}
file_livekit_models_proto_msgTypes[15].OneofWrappers = []any{
(*DataPacket_User)(nil),
(*DataPacket_Speaker)(nil),
(*DataPacket_SipDtmf)(nil),
(*DataPacket_Transcription)(nil),
(*DataPacket_Metrics)(nil),
(*DataPacket_ChatMessage)(nil),
(*DataPacket_RpcRequest)(nil),
(*DataPacket_RpcAck)(nil),
(*DataPacket_RpcResponse)(nil),
(*DataPacket_StreamHeader)(nil),
(*DataPacket_StreamChunk)(nil),
(*DataPacket_StreamTrailer)(nil),
(*DataPacket_EncryptedPacket)(nil),
}
file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{
(*EncryptedPacketPayload_User)(nil),
(*EncryptedPacketPayload_ChatMessage)(nil),
(*EncryptedPacketPayload_RpcRequest)(nil),
(*EncryptedPacketPayload_RpcAck)(nil),
(*EncryptedPacketPayload_RpcResponse)(nil),
(*EncryptedPacketPayload_StreamHeader)(nil),
(*EncryptedPacketPayload_StreamChunk)(nil),
(*EncryptedPacketPayload_StreamTrailer)(nil),
}
file_livekit_models_proto_msgTypes[20].OneofWrappers = []any{}
file_livekit_models_proto_msgTypes[24].OneofWrappers = []any{}
file_livekit_models_proto_msgTypes[27].OneofWrappers = []any{
(*RpcResponse_Payload)(nil),
(*RpcResponse_Error)(nil),
(*RpcResponse_CompressedPayload)(nil),
}
file_livekit_models_proto_msgTypes[38].OneofWrappers = []any{
(*RTPForwarderState_Vp8Munger)(nil),
}
file_livekit_models_proto_msgTypes[50].OneofWrappers = []any{
(*DataStream_Header_TextHeader)(nil),
(*DataStream_Header_ByteHeader)(nil),
}
file_livekit_models_proto_msgTypes[51].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc)),
NumEnums: 24,
NumMessages: 55,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_livekit_models_proto_goTypes,
DependencyIndexes: file_livekit_models_proto_depIdxs,
EnumInfos: file_livekit_models_proto_enumTypes,
MessageInfos: file_livekit_models_proto_msgTypes,
}.Build()
File_livekit_models_proto = out.File
file_livekit_models_proto_goTypes = nil
file_livekit_models_proto_depIdxs = nil
}