livekit

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

README

Generated protobuf stubs

Documentation

Index

Constants

View Source
const EgressPathPrefix = "/twirp/livekit.Egress/"

EgressPathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const IngressPathPrefix = "/twirp/livekit.Ingress/"

IngressPathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const RoomServicePathPrefix = "/twirp/livekit.RoomService/"

RoomServicePathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

Variables

View Source
var (
	StreamType_name = map[int32]string{
		0: "UPSTREAM",
		1: "DOWNSTREAM",
	}
	StreamType_value = map[string]int32{
		"UPSTREAM":   0,
		"DOWNSTREAM": 1,
	}
)

Enum value maps for StreamType.

View Source
var (
	AnalyticsEventType_name = map[int32]string{
		0:  "ROOM_CREATED",
		1:  "ROOM_ENDED",
		2:  "PARTICIPANT_JOINED",
		3:  "PARTICIPANT_LEFT",
		4:  "TRACK_PUBLISHED",
		5:  "TRACK_UNPUBLISHED",
		6:  "TRACK_SUBSCRIBED",
		7:  "TRACK_UNSUBSCRIBED",
		10: "TRACK_PUBLISHED_UPDATE",
		11: "PARTICIPANT_ACTIVE",
		12: "EGRESS_STARTED",
		13: "EGRESS_ENDED",
		14: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY",
		15: "RECONNECTED",
		16: "INGRESS_STARTED",
		17: "INGRESS_ENDED",
	}
	AnalyticsEventType_value = map[string]int32{
		"ROOM_CREATED":                       0,
		"ROOM_ENDED":                         1,
		"PARTICIPANT_JOINED":                 2,
		"PARTICIPANT_LEFT":                   3,
		"TRACK_PUBLISHED":                    4,
		"TRACK_UNPUBLISHED":                  5,
		"TRACK_SUBSCRIBED":                   6,
		"TRACK_UNSUBSCRIBED":                 7,
		"TRACK_PUBLISHED_UPDATE":             10,
		"PARTICIPANT_ACTIVE":                 11,
		"EGRESS_STARTED":                     12,
		"EGRESS_ENDED":                       13,
		"TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY": 14,
		"RECONNECTED":                        15,
		"INGRESS_STARTED":                    16,
		"INGRESS_ENDED":                      17,
	}
)

Enum value maps for AnalyticsEventType.

View Source
var (
	EncodedFileType_name = map[int32]string{
		0: "DEFAULT_FILETYPE",
		1: "MP4",
		2: "OGG",
	}
	EncodedFileType_value = map[string]int32{
		"DEFAULT_FILETYPE": 0,
		"MP4":              1,
		"OGG":              2,
	}
)

Enum value maps for EncodedFileType.

View Source
var (
	StreamProtocol_name = map[int32]string{
		0: "DEFAULT_PROTOCOL",
		1: "RTMP",
	}
	StreamProtocol_value = map[string]int32{
		"DEFAULT_PROTOCOL": 0,
		"RTMP":             1,
	}
)

Enum value maps for StreamProtocol.

View Source
var (
	SegmentedFileProtocol_name = map[int32]string{
		0: "DEFAULT_SEGMENTED_FILE_PROTOCOL",
		1: "HLS_PROTOCOL",
	}
	SegmentedFileProtocol_value = map[string]int32{
		"DEFAULT_SEGMENTED_FILE_PROTOCOL": 0,
		"HLS_PROTOCOL":                    1,
	}
)

Enum value maps for SegmentedFileProtocol.

View Source
var (
	AudioCodec_name = map[int32]string{
		0: "DEFAULT_AC",
		1: "OPUS",
		2: "AAC",
	}
	AudioCodec_value = map[string]int32{
		"DEFAULT_AC": 0,
		"OPUS":       1,
		"AAC":        2,
	}
)

Enum value maps for AudioCodec.

View Source
var (
	VideoCodec_name = map[int32]string{
		0: "DEFAULT_VC",
		1: "H264_BASELINE",
		2: "H264_MAIN",
		3: "H264_HIGH",
	}
	VideoCodec_value = map[string]int32{
		"DEFAULT_VC":    0,
		"H264_BASELINE": 1,
		"H264_MAIN":     2,
		"H264_HIGH":     3,
	}
)

Enum value maps for VideoCodec.

View Source
var (
	EncodingOptionsPreset_name = map[int32]string{
		0: "H264_720P_30",
		1: "H264_720P_60",
		2: "H264_1080P_30",
		3: "H264_1080P_60",
		4: "PORTRAIT_H264_720P_30",
		5: "PORTRAIT_H264_720P_60",
		6: "PORTRAIT_H264_1080P_30",
		7: "PORTRAIT_H264_1080P_60",
	}
	EncodingOptionsPreset_value = map[string]int32{
		"H264_720P_30":           0,
		"H264_720P_60":           1,
		"H264_1080P_30":          2,
		"H264_1080P_60":          3,
		"PORTRAIT_H264_720P_30":  4,
		"PORTRAIT_H264_720P_60":  5,
		"PORTRAIT_H264_1080P_30": 6,
		"PORTRAIT_H264_1080P_60": 7,
	}
)

Enum value maps for EncodingOptionsPreset.

View Source
var (
	EgressStatus_name = map[int32]string{
		0: "EGRESS_STARTING",
		1: "EGRESS_ACTIVE",
		2: "EGRESS_ENDING",
		3: "EGRESS_COMPLETE",
		4: "EGRESS_FAILED",
		5: "EGRESS_ABORTED",
		6: "EGRESS_LIMIT_REACHED",
	}
	EgressStatus_value = map[string]int32{
		"EGRESS_STARTING":      0,
		"EGRESS_ACTIVE":        1,
		"EGRESS_ENDING":        2,
		"EGRESS_COMPLETE":      3,
		"EGRESS_FAILED":        4,
		"EGRESS_ABORTED":       5,
		"EGRESS_LIMIT_REACHED": 6,
	}
)

Enum value maps for EgressStatus.

View Source
var (
	StreamInfo_Status_name = map[int32]string{
		0: "ACTIVE",
		1: "FINISHED",
		2: "FAILED",
	}
	StreamInfo_Status_value = map[string]int32{
		"ACTIVE":   0,
		"FINISHED": 1,
		"FAILED":   2,
	}
)

Enum value maps for StreamInfo_Status.

View Source
var (
	IngressInput_name = map[int32]string{
		0: "RTMP_INPUT",
	}
	IngressInput_value = map[string]int32{
		"RTMP_INPUT": 0,
	}
)

Enum value maps for IngressInput.

View Source
var (
	IngressState_Status_name = map[int32]string{
		0: "ENDPOINT_INACTIVE",
		1: "ENDPOINT_BUFFERING",
		2: "ENDPOINT_PUBLISHING",
		3: "ENDPOINT_ERROR",
	}
	IngressState_Status_value = map[string]int32{
		"ENDPOINT_INACTIVE":   0,
		"ENDPOINT_BUFFERING":  1,
		"ENDPOINT_PUBLISHING": 2,
		"ENDPOINT_ERROR":      3,
	}
)

Enum value maps for IngressState_Status.

View Source
var (
	NodeType_name = map[int32]string{
		0: "SERVER",
		1: "CONTROLLER",
		2: "MEDIA",
		4: "TURN",
	}
	NodeType_value = map[string]int32{
		"SERVER":     0,
		"CONTROLLER": 1,
		"MEDIA":      2,
		"TURN":       4,
	}
)

Enum value maps for NodeType.

View Source
var (
	NodeState_name = map[int32]string{
		0: "STARTING_UP",
		1: "SERVING",
		2: "SHUTTING_DOWN",
	}
	NodeState_value = map[string]int32{
		"STARTING_UP":   0,
		"SERVING":       1,
		"SHUTTING_DOWN": 2,
	}
)

Enum value maps for NodeState.

View Source
var (
	TrackType_name = map[int32]string{
		0: "AUDIO",
		1: "VIDEO",
		2: "DATA",
	}
	TrackType_value = map[string]int32{
		"AUDIO": 0,
		"VIDEO": 1,
		"DATA":  2,
	}
)

Enum value maps for TrackType.

View Source
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,
	}
)

Enum value maps for TrackSource.

View Source
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,
	}
)

Enum value maps for VideoQuality.

View Source
var (
	ConnectionQuality_name = map[int32]string{
		0: "POOR",
		1: "GOOD",
		2: "EXCELLENT",
	}
	ConnectionQuality_value = map[string]int32{
		"POOR":      0,
		"GOOD":      1,
		"EXCELLENT": 2,
	}
)

Enum value maps for ConnectionQuality.

View Source
var (
	ClientConfigSetting_name = map[int32]string{
		0: "UNSET",
		1: "DISABLED",
		2: "ENABLED",
	}
	ClientConfigSetting_value = map[string]int32{
		"UNSET":    0,
		"DISABLED": 1,
		"ENABLED":  2,
	}
)

Enum value maps for ClientConfigSetting.

View Source
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",
	}
	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,
	}
)

Enum value maps for DisconnectReason.

View Source
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,
	}
)

Enum value maps for ParticipantInfo_State.

View Source
var (
	DataPacket_Kind_name = map[int32]string{
		0: "RELIABLE",
		1: "LOSSY",
	}
	DataPacket_Kind_value = map[string]int32{
		"RELIABLE": 0,
		"LOSSY":    1,
	}
)

Enum value maps for DataPacket_Kind.

View Source
var (
	ServerInfo_Edition_name = map[int32]string{
		0: "Standard",
		1: "Cloud",
	}
	ServerInfo_Edition_value = map[string]int32{
		"Standard": 0,
		"Cloud":    1,
	}
)

Enum value maps for ServerInfo_Edition.

View Source
var (
	ClientInfo_SDK_name = map[int32]string{
		0: "UNKNOWN",
		1: "JS",
		2: "SWIFT",
		3: "ANDROID",
		4: "FLUTTER",
		5: "GO",
		6: "UNITY",
	}
	ClientInfo_SDK_value = map[string]int32{
		"UNKNOWN": 0,
		"JS":      1,
		"SWIFT":   2,
		"ANDROID": 3,
		"FLUTTER": 4,
		"GO":      5,
		"UNITY":   6,
	}
)

Enum value maps for ClientInfo_SDK.

View Source
var (
	SignalTarget_name = map[int32]string{
		0: "PUBLISHER",
		1: "SUBSCRIBER",
	}
	SignalTarget_value = map[string]int32{
		"PUBLISHER":  0,
		"SUBSCRIBER": 1,
	}
)

Enum value maps for SignalTarget.

View Source
var (
	StreamState_name = map[int32]string{
		0: "ACTIVE",
		1: "PAUSED",
	}
	StreamState_value = map[string]int32{
		"ACTIVE": 0,
		"PAUSED": 1,
	}
)

Enum value maps for StreamState.

View Source
var (
	CandidateProtocol_name = map[int32]string{
		0: "UDP",
		1: "TCP",
		2: "TLS",
	}
	CandidateProtocol_value = map[string]int32{
		"UDP": 0,
		"TCP": 1,
		"TLS": 2,
	}
)

Enum value maps for CandidateProtocol.

View Source
var AnalyticsRecorderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "livekit.AnalyticsRecorderService",
	HandlerType: (*AnalyticsRecorderServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "IngestStats",
			Handler:       _AnalyticsRecorderService_IngestStats_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "IngestEvents",
			Handler:       _AnalyticsRecorderService_IngestEvents_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "livekit_analytics.proto",
}

AnalyticsRecorderService_ServiceDesc is the grpc.ServiceDesc for AnalyticsRecorderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_livekit_analytics_proto protoreflect.FileDescriptor
View Source
var File_livekit_egress_proto protoreflect.FileDescriptor
View Source
var File_livekit_ingress_proto protoreflect.FileDescriptor
View Source
var File_livekit_internal_proto protoreflect.FileDescriptor
View Source
var File_livekit_models_proto protoreflect.FileDescriptor
View Source
var File_livekit_room_proto protoreflect.FileDescriptor
View Source
var File_livekit_rpc_internal_proto protoreflect.FileDescriptor
View Source
var File_livekit_rtc_proto protoreflect.FileDescriptor
View Source
var File_livekit_webhook_proto protoreflect.FileDescriptor

Functions

func NodeIDsAsStrings

func NodeIDsAsStrings(ids []NodeID) []string

func ParticipantIDsAsStrings

func ParticipantIDsAsStrings(ids []ParticipantID) []string

func RegisterAnalyticsRecorderServiceServer

func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv AnalyticsRecorderServiceServer)

func RoomNamesAsStrings

func RoomNamesAsStrings(roomNames []RoomName) []string

func WriteError

func WriteError(resp http.ResponseWriter, err error)

WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)

Types

type ALIUpload

type ALIUpload struct {
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	Secret    string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Region    string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	Endpoint  string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Bucket    string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*ALIUpload) Descriptor deprecated

func (*ALIUpload) Descriptor() ([]byte, []int)

Deprecated: Use ALIUpload.ProtoReflect.Descriptor instead.

func (*ALIUpload) GetAccessKey

func (x *ALIUpload) GetAccessKey() string

func (*ALIUpload) GetBucket

func (x *ALIUpload) GetBucket() string

func (*ALIUpload) GetEndpoint

func (x *ALIUpload) GetEndpoint() string

func (*ALIUpload) GetRegion

func (x *ALIUpload) GetRegion() string

func (*ALIUpload) GetSecret

func (x *ALIUpload) GetSecret() string

func (*ALIUpload) ProtoMessage

func (*ALIUpload) ProtoMessage()

func (*ALIUpload) ProtoReflect

func (x *ALIUpload) ProtoReflect() protoreflect.Message

func (*ALIUpload) Reset

func (x *ALIUpload) Reset()

func (*ALIUpload) String

func (x *ALIUpload) String() string

type ActiveSpeakerUpdate

type ActiveSpeakerUpdate struct {
	Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"`
	// contains filtered or unexported fields
}

func (*ActiveSpeakerUpdate) Descriptor deprecated

func (*ActiveSpeakerUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ActiveSpeakerUpdate.ProtoReflect.Descriptor instead.

func (*ActiveSpeakerUpdate) GetSpeakers

func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo

func (*ActiveSpeakerUpdate) ProtoMessage

func (*ActiveSpeakerUpdate) ProtoMessage()

func (*ActiveSpeakerUpdate) ProtoReflect

func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message

func (*ActiveSpeakerUpdate) Reset

func (x *ActiveSpeakerUpdate) Reset()

func (*ActiveSpeakerUpdate) String

func (x *ActiveSpeakerUpdate) String() string

type AddTrackRequest

type AddTrackRequest struct {

	// client ID of track, to match it when RTC track is received
	Cid  string    `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Name string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type TrackType `protobuf:"varint,3,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"`
	// to be deprecated in favor of layers
	Width  uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
	Height uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	// true to add track and initialize to muted
	Muted bool `protobuf:"varint,6,opt,name=muted,proto3" json:"muted,omitempty"`
	// true if DTX (Discontinuous Transmission) is disabled for audio
	DisableDtx      bool              `protobuf:"varint,7,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"`
	Source          TrackSource       `protobuf:"varint,8,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"`
	Layers          []*VideoLayer     `protobuf:"bytes,9,rep,name=layers,proto3" json:"layers,omitempty"`
	SimulcastCodecs []*SimulcastCodec `protobuf:"bytes,10,rep,name=simulcast_codecs,json=simulcastCodecs,proto3" json:"simulcast_codecs,omitempty"`
	// server ID of track, publish new codec to exist track
	Sid string `protobuf:"bytes,11,opt,name=sid,proto3" json:"sid,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTrackRequest) Descriptor deprecated

func (*AddTrackRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddTrackRequest.ProtoReflect.Descriptor instead.

func (*AddTrackRequest) GetCid

func (x *AddTrackRequest) GetCid() string

func (*AddTrackRequest) GetDisableDtx

func (x *AddTrackRequest) GetDisableDtx() bool

func (*AddTrackRequest) GetHeight

func (x *AddTrackRequest) GetHeight() uint32

func (*AddTrackRequest) GetLayers

func (x *AddTrackRequest) GetLayers() []*VideoLayer

func (*AddTrackRequest) GetMuted

func (x *AddTrackRequest) GetMuted() bool

func (*AddTrackRequest) GetName

func (x *AddTrackRequest) GetName() string

func (*AddTrackRequest) GetSid

func (x *AddTrackRequest) GetSid() string

func (*AddTrackRequest) GetSimulcastCodecs

func (x *AddTrackRequest) GetSimulcastCodecs() []*SimulcastCodec

func (*AddTrackRequest) GetSource

func (x *AddTrackRequest) GetSource() TrackSource

func (*AddTrackRequest) GetType

func (x *AddTrackRequest) GetType() TrackType

func (*AddTrackRequest) GetWidth

func (x *AddTrackRequest) GetWidth() uint32

func (*AddTrackRequest) ProtoMessage

func (*AddTrackRequest) ProtoMessage()

func (*AddTrackRequest) ProtoReflect

func (x *AddTrackRequest) ProtoReflect() protoreflect.Message

func (*AddTrackRequest) Reset

func (x *AddTrackRequest) Reset()

func (*AddTrackRequest) String

func (x *AddTrackRequest) String() string

type AnalyticsClientMeta

type AnalyticsClientMeta struct {
	Region            string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Node              string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	ClientAddr        string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"`
	ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"`
	// udp, tcp, turn
	ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsClientMeta) Descriptor deprecated

func (*AnalyticsClientMeta) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsClientMeta.ProtoReflect.Descriptor instead.

func (*AnalyticsClientMeta) GetClientAddr

func (x *AnalyticsClientMeta) GetClientAddr() string

func (*AnalyticsClientMeta) GetClientConnectTime

func (x *AnalyticsClientMeta) GetClientConnectTime() uint32

func (*AnalyticsClientMeta) GetConnectionType

func (x *AnalyticsClientMeta) GetConnectionType() string

func (*AnalyticsClientMeta) GetNode

func (x *AnalyticsClientMeta) GetNode() string

func (*AnalyticsClientMeta) GetRegion

func (x *AnalyticsClientMeta) GetRegion() string

func (*AnalyticsClientMeta) ProtoMessage

func (*AnalyticsClientMeta) ProtoMessage()

func (*AnalyticsClientMeta) ProtoReflect

func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message

func (*AnalyticsClientMeta) Reset

func (x *AnalyticsClientMeta) Reset()

func (*AnalyticsClientMeta) String

func (x *AnalyticsClientMeta) String() string

type AnalyticsEvent

type AnalyticsEvent struct {
	Type                      AnalyticsEventType     `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.AnalyticsEventType" json:"type,omitempty"`
	Timestamp                 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RoomId                    string                 `protobuf:"bytes,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	Room                      *Room                  `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"`
	ParticipantId             string                 `protobuf:"bytes,5,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
	Participant               *ParticipantInfo       `protobuf:"bytes,6,opt,name=participant,proto3" json:"participant,omitempty"`
	TrackId                   string                 `protobuf:"bytes,7,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
	Track                     *TrackInfo             `protobuf:"bytes,8,opt,name=track,proto3" json:"track,omitempty"`
	AnalyticsKey              string                 `protobuf:"bytes,10,opt,name=analytics_key,json=analyticsKey,proto3" json:"analytics_key,omitempty"`
	ClientInfo                *ClientInfo            `protobuf:"bytes,11,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"`
	ClientMeta                *AnalyticsClientMeta   `protobuf:"bytes,12,opt,name=client_meta,json=clientMeta,proto3" json:"client_meta,omitempty"`
	EgressId                  string                 `protobuf:"bytes,13,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	IngressId                 string                 `protobuf:"bytes,19,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
	MaxSubscribedVideoQuality VideoQuality           `` /* 168-byte string literal not displayed */
	Publisher                 *ParticipantInfo       `protobuf:"bytes,15,opt,name=publisher,proto3" json:"publisher,omitempty"`
	Mime                      string                 `protobuf:"bytes,16,opt,name=mime,proto3" json:"mime,omitempty"`
	Egress                    *livekit.EgressInfo    `protobuf:"bytes,17,opt,name=egress,proto3" json:"egress,omitempty"`
	Ingress                   *IngressInfo           `protobuf:"bytes,18,opt,name=ingress,proto3" json:"ingress,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsEvent) Descriptor deprecated

func (*AnalyticsEvent) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsEvent.ProtoReflect.Descriptor instead.

func (*AnalyticsEvent) GetAnalyticsKey

func (x *AnalyticsEvent) GetAnalyticsKey() string

func (*AnalyticsEvent) GetClientInfo

func (x *AnalyticsEvent) GetClientInfo() *ClientInfo

func (*AnalyticsEvent) GetClientMeta

func (x *AnalyticsEvent) GetClientMeta() *AnalyticsClientMeta

func (*AnalyticsEvent) GetEgress

func (x *AnalyticsEvent) GetEgress() *livekit.EgressInfo

func (*AnalyticsEvent) GetEgressId

func (x *AnalyticsEvent) GetEgressId() string

func (*AnalyticsEvent) GetIngress

func (x *AnalyticsEvent) GetIngress() *IngressInfo

func (*AnalyticsEvent) GetIngressId

func (x *AnalyticsEvent) GetIngressId() string

func (*AnalyticsEvent) GetMaxSubscribedVideoQuality

func (x *AnalyticsEvent) GetMaxSubscribedVideoQuality() VideoQuality

func (*AnalyticsEvent) GetMime

func (x *AnalyticsEvent) GetMime() string

func (*AnalyticsEvent) GetParticipant

func (x *AnalyticsEvent) GetParticipant() *ParticipantInfo

func (*AnalyticsEvent) GetParticipantId

func (x *AnalyticsEvent) GetParticipantId() string

func (*AnalyticsEvent) GetPublisher

func (x *AnalyticsEvent) GetPublisher() *ParticipantInfo

func (*AnalyticsEvent) GetRoom

func (x *AnalyticsEvent) GetRoom() *Room

func (*AnalyticsEvent) GetRoomId

func (x *AnalyticsEvent) GetRoomId() string

func (*AnalyticsEvent) GetTimestamp

func (x *AnalyticsEvent) GetTimestamp() *timestamppb.Timestamp

func (*AnalyticsEvent) GetTrack

func (x *AnalyticsEvent) GetTrack() *TrackInfo

func (*AnalyticsEvent) GetTrackId

func (x *AnalyticsEvent) GetTrackId() string

func (*AnalyticsEvent) GetType

func (x *AnalyticsEvent) GetType() AnalyticsEventType

func (*AnalyticsEvent) ProtoMessage

func (*AnalyticsEvent) ProtoMessage()

func (*AnalyticsEvent) ProtoReflect

func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message

func (*AnalyticsEvent) Reset

func (x *AnalyticsEvent) Reset()

func (*AnalyticsEvent) String

func (x *AnalyticsEvent) String() string

type AnalyticsEventType

type AnalyticsEventType int32
const (
	AnalyticsEventType_ROOM_CREATED                       AnalyticsEventType = 0
	AnalyticsEventType_ROOM_ENDED                         AnalyticsEventType = 1
	AnalyticsEventType_PARTICIPANT_JOINED                 AnalyticsEventType = 2
	AnalyticsEventType_PARTICIPANT_LEFT                   AnalyticsEventType = 3
	AnalyticsEventType_TRACK_PUBLISHED                    AnalyticsEventType = 4
	AnalyticsEventType_TRACK_UNPUBLISHED                  AnalyticsEventType = 5
	AnalyticsEventType_TRACK_SUBSCRIBED                   AnalyticsEventType = 6
	AnalyticsEventType_TRACK_UNSUBSCRIBED                 AnalyticsEventType = 7
	AnalyticsEventType_TRACK_PUBLISHED_UPDATE             AnalyticsEventType = 10
	AnalyticsEventType_PARTICIPANT_ACTIVE                 AnalyticsEventType = 11
	AnalyticsEventType_EGRESS_STARTED                     AnalyticsEventType = 12
	AnalyticsEventType_EGRESS_ENDED                       AnalyticsEventType = 13
	AnalyticsEventType_TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY AnalyticsEventType = 14
	AnalyticsEventType_RECONNECTED                        AnalyticsEventType = 15
	AnalyticsEventType_INGRESS_STARTED                    AnalyticsEventType = 16
	AnalyticsEventType_INGRESS_ENDED                      AnalyticsEventType = 17
)

func (AnalyticsEventType) Descriptor

func (AnalyticsEventType) Enum

func (AnalyticsEventType) EnumDescriptor deprecated

func (AnalyticsEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AnalyticsEventType.Descriptor instead.

func (AnalyticsEventType) Number

func (AnalyticsEventType) String

func (x AnalyticsEventType) String() string

func (AnalyticsEventType) Type

type AnalyticsEvents

type AnalyticsEvents struct {
	Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsEvents) Descriptor deprecated

func (*AnalyticsEvents) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsEvents.ProtoReflect.Descriptor instead.

func (*AnalyticsEvents) GetEvents

func (x *AnalyticsEvents) GetEvents() []*AnalyticsEvent

func (*AnalyticsEvents) ProtoMessage

func (*AnalyticsEvents) ProtoMessage()

func (*AnalyticsEvents) ProtoReflect

func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message

func (*AnalyticsEvents) Reset

func (x *AnalyticsEvents) Reset()

func (*AnalyticsEvents) String

func (x *AnalyticsEvents) String() string

type AnalyticsRecorderServiceClient

type AnalyticsRecorderServiceClient interface {
	IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error)
	IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error)
}

AnalyticsRecorderServiceClient is the client API for AnalyticsRecorderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AnalyticsRecorderServiceServer

type AnalyticsRecorderServiceServer interface {
	IngestStats(AnalyticsRecorderService_IngestStatsServer) error
	IngestEvents(AnalyticsRecorderService_IngestEventsServer) error
	// contains filtered or unexported methods
}

AnalyticsRecorderServiceServer is the server API for AnalyticsRecorderService service. All implementations must embed UnimplementedAnalyticsRecorderServiceServer for forward compatibility

type AnalyticsRecorderService_IngestEventsClient

type AnalyticsRecorderService_IngestEventsClient interface {
	Send(*AnalyticsEvents) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type AnalyticsRecorderService_IngestEventsServer

type AnalyticsRecorderService_IngestEventsServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*AnalyticsEvents, error)
	grpc.ServerStream
}

type AnalyticsRecorderService_IngestStatsClient

type AnalyticsRecorderService_IngestStatsClient interface {
	Send(*AnalyticsStats) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type AnalyticsRecorderService_IngestStatsServer

type AnalyticsRecorderService_IngestStatsServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*AnalyticsStats, error)
	grpc.ServerStream
}

type AnalyticsStat

type AnalyticsStat struct {
	AnalyticsKey  string                 `protobuf:"bytes,1,opt,name=analytics_key,json=analyticsKey,proto3" json:"analytics_key,omitempty"`
	Kind          StreamType             `protobuf:"varint,2,opt,name=kind,proto3,enum=livekit.StreamType" json:"kind,omitempty"`
	TimeStamp     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	Node          string                 `protobuf:"bytes,4,opt,name=node,proto3" json:"node,omitempty"`
	RoomId        string                 `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	RoomName      string                 `protobuf:"bytes,6,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	ParticipantId string                 `protobuf:"bytes,7,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
	TrackId       string                 `protobuf:"bytes,8,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`
	Score         float32                `protobuf:"fixed32,9,opt,name=score,proto3" json:"score,omitempty"`
	Streams       []*AnalyticsStream     `protobuf:"bytes,10,rep,name=streams,proto3" json:"streams,omitempty"`
	Mime          string                 `protobuf:"bytes,11,opt,name=mime,proto3" json:"mime,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsStat) Descriptor deprecated

func (*AnalyticsStat) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsStat.ProtoReflect.Descriptor instead.

func (*AnalyticsStat) GetAnalyticsKey

func (x *AnalyticsStat) GetAnalyticsKey() string

func (*AnalyticsStat) GetKind

func (x *AnalyticsStat) GetKind() StreamType

func (*AnalyticsStat) GetMime

func (x *AnalyticsStat) GetMime() string

func (*AnalyticsStat) GetNode

func (x *AnalyticsStat) GetNode() string

func (*AnalyticsStat) GetParticipantId

func (x *AnalyticsStat) GetParticipantId() string

func (*AnalyticsStat) GetRoomId

func (x *AnalyticsStat) GetRoomId() string

func (*AnalyticsStat) GetRoomName

func (x *AnalyticsStat) GetRoomName() string

func (*AnalyticsStat) GetScore

func (x *AnalyticsStat) GetScore() float32

func (*AnalyticsStat) GetStreams

func (x *AnalyticsStat) GetStreams() []*AnalyticsStream

func (*AnalyticsStat) GetTimeStamp

func (x *AnalyticsStat) GetTimeStamp() *timestamppb.Timestamp

func (*AnalyticsStat) GetTrackId

func (x *AnalyticsStat) GetTrackId() string

func (*AnalyticsStat) ProtoMessage

func (*AnalyticsStat) ProtoMessage()

func (*AnalyticsStat) ProtoReflect

func (x *AnalyticsStat) ProtoReflect() protoreflect.Message

func (*AnalyticsStat) Reset

func (x *AnalyticsStat) Reset()

func (*AnalyticsStat) String

func (x *AnalyticsStat) String() string

type AnalyticsStats

type AnalyticsStats struct {
	Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsStats) Descriptor deprecated

func (*AnalyticsStats) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsStats.ProtoReflect.Descriptor instead.

func (*AnalyticsStats) GetStats

func (x *AnalyticsStats) GetStats() []*AnalyticsStat

func (*AnalyticsStats) ProtoMessage

func (*AnalyticsStats) ProtoMessage()

func (*AnalyticsStats) ProtoReflect

func (x *AnalyticsStats) ProtoReflect() protoreflect.Message

func (*AnalyticsStats) Reset

func (x *AnalyticsStats) Reset()

func (*AnalyticsStats) String

func (x *AnalyticsStats) String() string

type AnalyticsStream

type AnalyticsStream struct {
	Ssrc              uint32                 `protobuf:"varint,1,opt,name=ssrc,proto3" json:"ssrc,omitempty"`
	PrimaryPackets    uint32                 `protobuf:"varint,2,opt,name=primary_packets,json=primaryPackets,proto3" json:"primary_packets,omitempty"`
	PrimaryBytes      uint64                 `protobuf:"varint,3,opt,name=primary_bytes,json=primaryBytes,proto3" json:"primary_bytes,omitempty"`
	RetransmitPackets uint32                 `protobuf:"varint,4,opt,name=retransmit_packets,json=retransmitPackets,proto3" json:"retransmit_packets,omitempty"`
	RetransmitBytes   uint64                 `protobuf:"varint,5,opt,name=retransmit_bytes,json=retransmitBytes,proto3" json:"retransmit_bytes,omitempty"`
	PaddingPackets    uint32                 `protobuf:"varint,6,opt,name=padding_packets,json=paddingPackets,proto3" json:"padding_packets,omitempty"`
	PaddingBytes      uint64                 `protobuf:"varint,7,opt,name=padding_bytes,json=paddingBytes,proto3" json:"padding_bytes,omitempty"`
	PacketsLost       uint32                 `protobuf:"varint,8,opt,name=packets_lost,json=packetsLost,proto3" json:"packets_lost,omitempty"`
	Frames            uint32                 `protobuf:"varint,9,opt,name=frames,proto3" json:"frames,omitempty"`
	Rtt               uint32                 `protobuf:"varint,10,opt,name=rtt,proto3" json:"rtt,omitempty"`
	Jitter            uint32                 `protobuf:"varint,11,opt,name=jitter,proto3" json:"jitter,omitempty"`
	Nacks             uint32                 `protobuf:"varint,12,opt,name=nacks,proto3" json:"nacks,omitempty"`
	Plis              uint32                 `protobuf:"varint,13,opt,name=plis,proto3" json:"plis,omitempty"`
	Firs              uint32                 `protobuf:"varint,14,opt,name=firs,proto3" json:"firs,omitempty"`
	VideoLayers       []*AnalyticsVideoLayer `protobuf:"bytes,15,rep,name=video_layers,json=videoLayers,proto3" json:"video_layers,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsStream) Descriptor deprecated

func (*AnalyticsStream) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsStream.ProtoReflect.Descriptor instead.

func (*AnalyticsStream) GetFirs

func (x *AnalyticsStream) GetFirs() uint32

func (*AnalyticsStream) GetFrames

func (x *AnalyticsStream) GetFrames() uint32

func (*AnalyticsStream) GetJitter

func (x *AnalyticsStream) GetJitter() uint32

func (*AnalyticsStream) GetNacks

func (x *AnalyticsStream) GetNacks() uint32

func (*AnalyticsStream) GetPacketsLost

func (x *AnalyticsStream) GetPacketsLost() uint32

func (*AnalyticsStream) GetPaddingBytes

func (x *AnalyticsStream) GetPaddingBytes() uint64

func (*AnalyticsStream) GetPaddingPackets

func (x *AnalyticsStream) GetPaddingPackets() uint32

func (*AnalyticsStream) GetPlis

func (x *AnalyticsStream) GetPlis() uint32

func (*AnalyticsStream) GetPrimaryBytes

func (x *AnalyticsStream) GetPrimaryBytes() uint64

func (*AnalyticsStream) GetPrimaryPackets

func (x *AnalyticsStream) GetPrimaryPackets() uint32

func (*AnalyticsStream) GetRetransmitBytes

func (x *AnalyticsStream) GetRetransmitBytes() uint64

func (*AnalyticsStream) GetRetransmitPackets

func (x *AnalyticsStream) GetRetransmitPackets() uint32

func (*AnalyticsStream) GetRtt

func (x *AnalyticsStream) GetRtt() uint32

func (*AnalyticsStream) GetSsrc

func (x *AnalyticsStream) GetSsrc() uint32

func (*AnalyticsStream) GetVideoLayers

func (x *AnalyticsStream) GetVideoLayers() []*AnalyticsVideoLayer

func (*AnalyticsStream) ProtoMessage

func (*AnalyticsStream) ProtoMessage()

func (*AnalyticsStream) ProtoReflect

func (x *AnalyticsStream) ProtoReflect() protoreflect.Message

func (*AnalyticsStream) Reset

func (x *AnalyticsStream) Reset()

func (*AnalyticsStream) String

func (x *AnalyticsStream) String() string

type AnalyticsVideoLayer

type AnalyticsVideoLayer struct {
	Layer   int32  `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"`
	Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"`
	Bytes   uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Frames  uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsVideoLayer) Descriptor deprecated

func (*AnalyticsVideoLayer) Descriptor() ([]byte, []int)

Deprecated: Use AnalyticsVideoLayer.ProtoReflect.Descriptor instead.

func (*AnalyticsVideoLayer) GetBytes

func (x *AnalyticsVideoLayer) GetBytes() uint64

func (*AnalyticsVideoLayer) GetFrames

func (x *AnalyticsVideoLayer) GetFrames() uint32

func (*AnalyticsVideoLayer) GetLayer

func (x *AnalyticsVideoLayer) GetLayer() int32

func (*AnalyticsVideoLayer) GetPackets

func (x *AnalyticsVideoLayer) GetPackets() uint32

func (*AnalyticsVideoLayer) ProtoMessage

func (*AnalyticsVideoLayer) ProtoMessage()

func (*AnalyticsVideoLayer) ProtoReflect

func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message

func (*AnalyticsVideoLayer) Reset

func (x *AnalyticsVideoLayer) Reset()

func (*AnalyticsVideoLayer) String

func (x *AnalyticsVideoLayer) String() string

type AudioCodec

type AudioCodec int32
const (
	AudioCodec_DEFAULT_AC AudioCodec = 0
	AudioCodec_OPUS       AudioCodec = 1
	AudioCodec_AAC        AudioCodec = 2
)

func (AudioCodec) Descriptor

func (AudioCodec) Descriptor() protoreflect.EnumDescriptor

func (AudioCodec) Enum

func (x AudioCodec) Enum() *AudioCodec

func (AudioCodec) EnumDescriptor deprecated

func (AudioCodec) EnumDescriptor() ([]byte, []int)

Deprecated: Use AudioCodec.Descriptor instead.

func (AudioCodec) Number

func (x AudioCodec) Number() protoreflect.EnumNumber

func (AudioCodec) String

func (x AudioCodec) String() string

func (AudioCodec) Type

type AutoTrackEgress

type AutoTrackEgress struct {
	FilePrefix string `protobuf:"bytes,1,opt,name=file_prefix,json=filePrefix,proto3" json:"file_prefix,omitempty"`
	// Types that are assignable to Output:
	//	*AutoTrackEgress_S3
	//	*AutoTrackEgress_Gcp
	//	*AutoTrackEgress_Azure
	Output isAutoTrackEgress_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*AutoTrackEgress) Descriptor deprecated

func (*AutoTrackEgress) Descriptor() ([]byte, []int)

Deprecated: Use AutoTrackEgress.ProtoReflect.Descriptor instead.

func (*AutoTrackEgress) GetAzure

func (x *AutoTrackEgress) GetAzure() *livekit.AzureBlobUpload

func (*AutoTrackEgress) GetFilePrefix

func (x *AutoTrackEgress) GetFilePrefix() string

func (*AutoTrackEgress) GetGcp

func (x *AutoTrackEgress) GetGcp() *livekit.GCPUpload

func (*AutoTrackEgress) GetOutput

func (m *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output

func (*AutoTrackEgress) GetS3

func (x *AutoTrackEgress) GetS3() *livekit.S3Upload

func (*AutoTrackEgress) ProtoMessage

func (*AutoTrackEgress) ProtoMessage()

func (*AutoTrackEgress) ProtoReflect

func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message

func (*AutoTrackEgress) Reset

func (x *AutoTrackEgress) Reset()

func (*AutoTrackEgress) String

func (x *AutoTrackEgress) String() string

type AutoTrackEgress_Azure

type AutoTrackEgress_Azure struct {
	Azure *livekit.AzureBlobUpload `protobuf:"bytes,4,opt,name=azure,proto3,oneof"`
}

type AutoTrackEgress_Gcp

type AutoTrackEgress_Gcp struct {
	Gcp *livekit.GCPUpload `protobuf:"bytes,3,opt,name=gcp,proto3,oneof"`
}

type AutoTrackEgress_S3

type AutoTrackEgress_S3 struct {
	S3 *livekit.S3Upload `protobuf:"bytes,2,opt,name=s3,proto3,oneof"`
}

type AzureBlobUpload

type AzureBlobUpload struct {
	AccountName   string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	AccountKey    string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"`
	ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AzureBlobUpload) Descriptor deprecated

func (*AzureBlobUpload) Descriptor() ([]byte, []int)

Deprecated: Use AzureBlobUpload.ProtoReflect.Descriptor instead.

func (*AzureBlobUpload) GetAccountKey

func (x *AzureBlobUpload) GetAccountKey() string

func (*AzureBlobUpload) GetAccountName

func (x *AzureBlobUpload) GetAccountName() string

func (*AzureBlobUpload) GetContainerName

func (x *AzureBlobUpload) GetContainerName() string

func (*AzureBlobUpload) ProtoMessage

func (*AzureBlobUpload) ProtoMessage()

func (*AzureBlobUpload) ProtoReflect

func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message

func (*AzureBlobUpload) Reset

func (x *AzureBlobUpload) Reset()

func (*AzureBlobUpload) String

func (x *AzureBlobUpload) String() string

type CandidateProtocol

type CandidateProtocol int32
const (
	CandidateProtocol_UDP CandidateProtocol = 0
	CandidateProtocol_TCP CandidateProtocol = 1
	CandidateProtocol_TLS CandidateProtocol = 2
)

func (CandidateProtocol) Descriptor

func (CandidateProtocol) Enum

func (CandidateProtocol) EnumDescriptor deprecated

func (CandidateProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use CandidateProtocol.Descriptor instead.

func (CandidateProtocol) Number

func (CandidateProtocol) String

func (x CandidateProtocol) String() string

func (CandidateProtocol) Type

type ClientConfigSetting

type ClientConfigSetting int32
const (
	ClientConfigSetting_UNSET    ClientConfigSetting = 0
	ClientConfigSetting_DISABLED ClientConfigSetting = 1
	ClientConfigSetting_ENABLED  ClientConfigSetting = 2
)

func (ClientConfigSetting) Descriptor

func (ClientConfigSetting) Enum

func (ClientConfigSetting) EnumDescriptor deprecated

func (ClientConfigSetting) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientConfigSetting.Descriptor instead.

func (ClientConfigSetting) Number

func (ClientConfigSetting) String

func (x ClientConfigSetting) String() string

func (ClientConfigSetting) Type

type ClientConfiguration

type ClientConfiguration struct {
	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 `` /* 143-byte string literal not displayed */
	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"`
	// contains filtered or unexported fields
}

server provided client configuration

func (*ClientConfiguration) Descriptor deprecated

func (*ClientConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use ClientConfiguration.ProtoReflect.Descriptor instead.

func (*ClientConfiguration) GetDisabledCodecs

func (x *ClientConfiguration) GetDisabledCodecs() *DisabledCodecs

func (*ClientConfiguration) GetForceRelay

func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting

func (*ClientConfiguration) GetResumeConnection

func (x *ClientConfiguration) GetResumeConnection() ClientConfigSetting

func (*ClientConfiguration) GetScreen

func (x *ClientConfiguration) GetScreen() *VideoConfiguration

func (*ClientConfiguration) GetVideo

func (x *ClientConfiguration) GetVideo() *VideoConfiguration

func (*ClientConfiguration) ProtoMessage

func (*ClientConfiguration) ProtoMessage()

func (*ClientConfiguration) ProtoReflect

func (x *ClientConfiguration) ProtoReflect() protoreflect.Message

func (*ClientConfiguration) Reset

func (x *ClientConfiguration) Reset()

func (*ClientConfiguration) String

func (x *ClientConfiguration) String() string

type ClientInfo

type ClientInfo struct {
	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"`
	// wifi, wired, cellular, vpn, empty if not known
	Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

details about the client

func (*ClientInfo) Descriptor deprecated

func (*ClientInfo) Descriptor() ([]byte, []int)

Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.

func (*ClientInfo) GetAddress

func (x *ClientInfo) GetAddress() string

func (*ClientInfo) GetBrowser

func (x *ClientInfo) GetBrowser() string

func (*ClientInfo) GetBrowserVersion

func (x *ClientInfo) GetBrowserVersion() string

func (*ClientInfo) GetDeviceModel

func (x *ClientInfo) GetDeviceModel() string

func (*ClientInfo) GetNetwork

func (x *ClientInfo) GetNetwork() string

func (*ClientInfo) GetOs

func (x *ClientInfo) GetOs() string

func (*ClientInfo) GetOsVersion

func (x *ClientInfo) GetOsVersion() string

func (*ClientInfo) GetProtocol

func (x *ClientInfo) GetProtocol() int32

func (*ClientInfo) GetSdk

func (x *ClientInfo) GetSdk() ClientInfo_SDK

func (*ClientInfo) GetVersion

func (x *ClientInfo) GetVersion() string

func (*ClientInfo) ProtoMessage

func (*ClientInfo) ProtoMessage()

func (*ClientInfo) ProtoReflect

func (x *ClientInfo) ProtoReflect() protoreflect.Message

func (*ClientInfo) Reset

func (x *ClientInfo) Reset()

func (*ClientInfo) String

func (x *ClientInfo) String() string

type ClientInfo_SDK

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
)

func (ClientInfo_SDK) Descriptor

func (ClientInfo_SDK) Enum

func (x ClientInfo_SDK) Enum() *ClientInfo_SDK

func (ClientInfo_SDK) EnumDescriptor deprecated

func (ClientInfo_SDK) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientInfo_SDK.Descriptor instead.

func (ClientInfo_SDK) Number

func (ClientInfo_SDK) String

func (x ClientInfo_SDK) String() string

func (ClientInfo_SDK) Type

type Codec

type Codec struct {
	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"`
	// contains filtered or unexported fields
}

func (*Codec) Descriptor deprecated

func (*Codec) Descriptor() ([]byte, []int)

Deprecated: Use Codec.ProtoReflect.Descriptor instead.

func (*Codec) GetFmtpLine

func (x *Codec) GetFmtpLine() string

func (*Codec) GetMime

func (x *Codec) GetMime() string

func (*Codec) ProtoMessage

func (*Codec) ProtoMessage()

func (*Codec) ProtoReflect

func (x *Codec) ProtoReflect() protoreflect.Message

func (*Codec) Reset

func (x *Codec) Reset()

func (*Codec) String

func (x *Codec) String() string

type ConnectionID

type ConnectionID string

type ConnectionQuality

type ConnectionQuality int32
const (
	ConnectionQuality_POOR      ConnectionQuality = 0
	ConnectionQuality_GOOD      ConnectionQuality = 1
	ConnectionQuality_EXCELLENT ConnectionQuality = 2
)

func (ConnectionQuality) Descriptor

func (ConnectionQuality) Enum

func (ConnectionQuality) EnumDescriptor deprecated

func (ConnectionQuality) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionQuality.Descriptor instead.

func (ConnectionQuality) Number

func (ConnectionQuality) String

func (x ConnectionQuality) String() string

func (ConnectionQuality) Type

type ConnectionQualityInfo

type ConnectionQualityInfo struct {
	ParticipantSid string            `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
	Quality        ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"`
	Score          float32           `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionQualityInfo) Descriptor deprecated

func (*ConnectionQualityInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionQualityInfo.ProtoReflect.Descriptor instead.

func (*ConnectionQualityInfo) GetParticipantSid

func (x *ConnectionQualityInfo) GetParticipantSid() string

func (*ConnectionQualityInfo) GetQuality

func (x *ConnectionQualityInfo) GetQuality() ConnectionQuality

func (*ConnectionQualityInfo) GetScore

func (x *ConnectionQualityInfo) GetScore() float32

func (*ConnectionQualityInfo) ProtoMessage

func (*ConnectionQualityInfo) ProtoMessage()

func (*ConnectionQualityInfo) ProtoReflect

func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message

func (*ConnectionQualityInfo) Reset

func (x *ConnectionQualityInfo) Reset()

func (*ConnectionQualityInfo) String

func (x *ConnectionQualityInfo) String() string

type ConnectionQualityUpdate

type ConnectionQualityUpdate struct {
	Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionQualityUpdate) Descriptor deprecated

func (*ConnectionQualityUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionQualityUpdate.ProtoReflect.Descriptor instead.

func (*ConnectionQualityUpdate) GetUpdates

func (*ConnectionQualityUpdate) ProtoMessage

func (*ConnectionQualityUpdate) ProtoMessage()

func (*ConnectionQualityUpdate) ProtoReflect

func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message

func (*ConnectionQualityUpdate) Reset

func (x *ConnectionQualityUpdate) Reset()

func (*ConnectionQualityUpdate) String

func (x *ConnectionQualityUpdate) String() string

type CreateIngressRequest

type CreateIngressRequest struct {
	InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"`
	// User provided identifier for the ingress
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// room to publish to
	RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// publish as participant
	ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	// name of publishing participant (used for display only)
	ParticipantName string               `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"`
	Audio           *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"`
	Video           *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIngressRequest) Descriptor deprecated

func (*CreateIngressRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIngressRequest.ProtoReflect.Descriptor instead.

func (*CreateIngressRequest) GetAudio

func (*CreateIngressRequest) GetInputType

func (x *CreateIngressRequest) GetInputType() IngressInput

func (*CreateIngressRequest) GetName

func (x *CreateIngressRequest) GetName() string

func (*CreateIngressRequest) GetParticipantIdentity

func (x *CreateIngressRequest) GetParticipantIdentity() string

func (*CreateIngressRequest) GetParticipantName

func (x *CreateIngressRequest) GetParticipantName() string

func (*CreateIngressRequest) GetRoomName

func (x *CreateIngressRequest) GetRoomName() string

func (*CreateIngressRequest) GetVideo

func (*CreateIngressRequest) ProtoMessage

func (*CreateIngressRequest) ProtoMessage()

func (*CreateIngressRequest) ProtoReflect

func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message

func (*CreateIngressRequest) Reset

func (x *CreateIngressRequest) Reset()

func (*CreateIngressRequest) String

func (x *CreateIngressRequest) String() string

type CreateRoomRequest

type CreateRoomRequest struct {

	// name of the room
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// number of seconds to keep the room open if no one joins
	EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"`
	// limit number of participants that can be in a room
	MaxParticipants uint32 `protobuf:"varint,3,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"`
	// override the node room is allocated to, for debugging
	NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// metadata of room
	Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// egress
	Egress *RoomEgress `protobuf:"bytes,6,opt,name=egress,proto3" json:"egress,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoomRequest) Descriptor deprecated

func (*CreateRoomRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.

func (*CreateRoomRequest) GetEgress

func (x *CreateRoomRequest) GetEgress() *RoomEgress

func (*CreateRoomRequest) GetEmptyTimeout

func (x *CreateRoomRequest) GetEmptyTimeout() uint32

func (*CreateRoomRequest) GetMaxParticipants

func (x *CreateRoomRequest) GetMaxParticipants() uint32

func (*CreateRoomRequest) GetMetadata

func (x *CreateRoomRequest) GetMetadata() string

func (*CreateRoomRequest) GetName

func (x *CreateRoomRequest) GetName() string

func (*CreateRoomRequest) GetNodeId

func (x *CreateRoomRequest) GetNodeId() string

func (*CreateRoomRequest) ProtoMessage

func (*CreateRoomRequest) ProtoMessage()

func (*CreateRoomRequest) ProtoReflect

func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message

func (*CreateRoomRequest) Reset

func (x *CreateRoomRequest) Reset()

func (*CreateRoomRequest) String

func (x *CreateRoomRequest) String() string

type DataChannelInfo

type DataChannelInfo struct {
	Label  string       `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Id     uint32       `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*DataChannelInfo) Descriptor deprecated

func (*DataChannelInfo) Descriptor() ([]byte, []int)

Deprecated: Use DataChannelInfo.ProtoReflect.Descriptor instead.

func (*DataChannelInfo) GetId

func (x *DataChannelInfo) GetId() uint32

func (*DataChannelInfo) GetLabel

func (x *DataChannelInfo) GetLabel() string

func (*DataChannelInfo) GetTarget

func (x *DataChannelInfo) GetTarget() SignalTarget

func (*DataChannelInfo) ProtoMessage

func (*DataChannelInfo) ProtoMessage()

func (*DataChannelInfo) ProtoReflect

func (x *DataChannelInfo) ProtoReflect() protoreflect.Message

func (*DataChannelInfo) Reset

func (x *DataChannelInfo) Reset()

func (*DataChannelInfo) String

func (x *DataChannelInfo) String() string

type DataPacket

type DataPacket struct {
	Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"`
	// Types that are assignable to Value:
	//	*DataPacket_User
	//	*DataPacket_Speaker
	Value isDataPacket_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

new DataPacket API

func (*DataPacket) Descriptor deprecated

func (*DataPacket) Descriptor() ([]byte, []int)

Deprecated: Use DataPacket.ProtoReflect.Descriptor instead.

func (*DataPacket) GetKind

func (x *DataPacket) GetKind() DataPacket_Kind

func (*DataPacket) GetSpeaker

func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate

func (*DataPacket) GetUser

func (x *DataPacket) GetUser() *UserPacket

func (*DataPacket) GetValue

func (m *DataPacket) GetValue() isDataPacket_Value

func (*DataPacket) ProtoMessage

func (*DataPacket) ProtoMessage()

func (*DataPacket) ProtoReflect

func (x *DataPacket) ProtoReflect() protoreflect.Message

func (*DataPacket) Reset

func (x *DataPacket) Reset()

func (*DataPacket) String

func (x *DataPacket) String() string

type DataPacket_Kind

type DataPacket_Kind int32
const (
	DataPacket_RELIABLE DataPacket_Kind = 0
	DataPacket_LOSSY    DataPacket_Kind = 1
)

func (DataPacket_Kind) Descriptor

func (DataPacket_Kind) Enum

func (x DataPacket_Kind) Enum() *DataPacket_Kind

func (DataPacket_Kind) EnumDescriptor deprecated

func (DataPacket_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataPacket_Kind.Descriptor instead.

func (DataPacket_Kind) Number

func (DataPacket_Kind) String

func (x DataPacket_Kind) String() string

func (DataPacket_Kind) Type

type DataPacket_Speaker

type DataPacket_Speaker struct {
	Speaker *ActiveSpeakerUpdate `protobuf:"bytes,3,opt,name=speaker,proto3,oneof"`
}

type DataPacket_User

type DataPacket_User struct {
	User *UserPacket `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}

type DeleteIngressRequest

type DeleteIngressRequest struct {
	IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIngressRequest) Descriptor deprecated

func (*DeleteIngressRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIngressRequest.ProtoReflect.Descriptor instead.

func (*DeleteIngressRequest) GetIngressId

func (x *DeleteIngressRequest) GetIngressId() string

func (*DeleteIngressRequest) ProtoMessage

func (*DeleteIngressRequest) ProtoMessage()

func (*DeleteIngressRequest) ProtoReflect

func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message

func (*DeleteIngressRequest) Reset

func (x *DeleteIngressRequest) Reset()

func (*DeleteIngressRequest) String

func (x *DeleteIngressRequest) String() string

type DeleteRoomRequest

type DeleteRoomRequest struct {

	// name of the room
	Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoomRequest) Descriptor deprecated

func (*DeleteRoomRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoomRequest) GetRoom

func (x *DeleteRoomRequest) GetRoom() string

func (*DeleteRoomRequest) ProtoMessage

func (*DeleteRoomRequest) ProtoMessage()

func (*DeleteRoomRequest) ProtoReflect

func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message

func (*DeleteRoomRequest) Reset

func (x *DeleteRoomRequest) Reset()

func (*DeleteRoomRequest) String

func (x *DeleteRoomRequest) String() string

type DeleteRoomResponse

type DeleteRoomResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteRoomResponse) Descriptor deprecated

func (*DeleteRoomResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoomResponse.ProtoReflect.Descriptor instead.

func (*DeleteRoomResponse) ProtoMessage

func (*DeleteRoomResponse) ProtoMessage()

func (*DeleteRoomResponse) ProtoReflect

func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message

func (*DeleteRoomResponse) Reset

func (x *DeleteRoomResponse) Reset()

func (*DeleteRoomResponse) String

func (x *DeleteRoomResponse) String() string

type DirectFileOutput

type DirectFileOutput struct {
	Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // (optional)
	// Types that are assignable to Output:
	//	*DirectFileOutput_S3
	//	*DirectFileOutput_Gcp
	//	*DirectFileOutput_Azure
	//	*DirectFileOutput_Ali
	Output isDirectFileOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*DirectFileOutput) Descriptor deprecated

func (*DirectFileOutput) Descriptor() ([]byte, []int)

Deprecated: Use DirectFileOutput.ProtoReflect.Descriptor instead.

func (*DirectFileOutput) GetAli

func (x *DirectFileOutput) GetAli() *ALIUpload

func (*DirectFileOutput) GetAzure

func (x *DirectFileOutput) GetAzure() *AzureBlobUpload

func (*DirectFileOutput) GetFilepath

func (x *DirectFileOutput) GetFilepath() string

func (*DirectFileOutput) GetGcp

func (x *DirectFileOutput) GetGcp() *GCPUpload

func (*DirectFileOutput) GetOutput

func (m *DirectFileOutput) GetOutput() isDirectFileOutput_Output

func (*DirectFileOutput) GetS3

func (x *DirectFileOutput) GetS3() *S3Upload

func (*DirectFileOutput) ProtoMessage

func (*DirectFileOutput) ProtoMessage()

func (*DirectFileOutput) ProtoReflect

func (x *DirectFileOutput) ProtoReflect() protoreflect.Message

func (*DirectFileOutput) Reset

func (x *DirectFileOutput) Reset()

func (*DirectFileOutput) String

func (x *DirectFileOutput) String() string

type DirectFileOutput_Ali

type DirectFileOutput_Ali struct {
	Ali *ALIUpload `protobuf:"bytes,5,opt,name=ali,proto3,oneof"`
}

type DirectFileOutput_Azure

type DirectFileOutput_Azure struct {
	Azure *AzureBlobUpload `protobuf:"bytes,4,opt,name=azure,proto3,oneof"`
}

type DirectFileOutput_Gcp

type DirectFileOutput_Gcp struct {
	Gcp *GCPUpload `protobuf:"bytes,3,opt,name=gcp,proto3,oneof"`
}

type DirectFileOutput_S3

type DirectFileOutput_S3 struct {
	S3 *S3Upload `protobuf:"bytes,2,opt,name=s3,proto3,oneof"`
}

type DisabledCodecs

type DisabledCodecs struct {
	Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"`
	// contains filtered or unexported fields
}

func (*DisabledCodecs) Descriptor deprecated

func (*DisabledCodecs) Descriptor() ([]byte, []int)

Deprecated: Use DisabledCodecs.ProtoReflect.Descriptor instead.

func (*DisabledCodecs) GetCodecs

func (x *DisabledCodecs) GetCodecs() []*Codec

func (*DisabledCodecs) ProtoMessage

func (*DisabledCodecs) ProtoMessage()

func (*DisabledCodecs) ProtoReflect

func (x *DisabledCodecs) ProtoReflect() protoreflect.Message

func (*DisabledCodecs) Reset

func (x *DisabledCodecs) Reset()

func (*DisabledCodecs) String

func (x *DisabledCodecs) String() string

type DisconnectReason

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
)

func (DisconnectReason) Descriptor

func (DisconnectReason) Enum

func (DisconnectReason) EnumDescriptor deprecated

func (DisconnectReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use DisconnectReason.Descriptor instead.

func (DisconnectReason) Number

func (DisconnectReason) String

func (x DisconnectReason) String() string

func (DisconnectReason) Type

type Egress

type Egress interface {
	// start recording or streaming a room, participant, or tracks
	StartRoomCompositeEgress(context.Context, *RoomCompositeEgressRequest) (*EgressInfo, error)

	StartTrackCompositeEgress(context.Context, *TrackCompositeEgressRequest) (*EgressInfo, error)

	StartTrackEgress(context.Context, *TrackEgressRequest) (*EgressInfo, error)

	// update web composite layout
	UpdateLayout(context.Context, *UpdateLayoutRequest) (*EgressInfo, error)

	// add or remove stream endpoints
	UpdateStream(context.Context, *UpdateStreamRequest) (*EgressInfo, error)

	// list available egress
	ListEgress(context.Context, *ListEgressRequest) (*ListEgressResponse, error)

	// stop a recording or stream
	StopEgress(context.Context, *StopEgressRequest) (*EgressInfo, error)
}

func NewEgressJSONClient

func NewEgressJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Egress

NewEgressJSONClient creates a JSON client that implements the Egress interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewEgressProtobufClient

func NewEgressProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Egress

NewEgressProtobufClient creates a Protobuf client that implements the Egress interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type EgressInfo

type EgressInfo struct {
	EgressId  string       `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	RoomId    string       `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	RoomName  string       `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	Status    EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"`
	StartedAt int64        `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	EndedAt   int64        `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	Error     string       `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// Types that are assignable to Request:
	//	*EgressInfo_RoomComposite
	//	*EgressInfo_TrackComposite
	//	*EgressInfo_Track
	Request isEgressInfo_Request `protobuf_oneof:"request"`
	// Types that are assignable to Result:
	//	*EgressInfo_Stream
	//	*EgressInfo_File
	//	*EgressInfo_Segments
	Result isEgressInfo_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*EgressInfo) Descriptor deprecated

func (*EgressInfo) Descriptor() ([]byte, []int)

Deprecated: Use EgressInfo.ProtoReflect.Descriptor instead.

func (*EgressInfo) GetEgressId

func (x *EgressInfo) GetEgressId() string

func (*EgressInfo) GetEndedAt

func (x *EgressInfo) GetEndedAt() int64

func (*EgressInfo) GetError

func (x *EgressInfo) GetError() string

func (*EgressInfo) GetFile

func (x *EgressInfo) GetFile() *FileInfo

func (*EgressInfo) GetRequest

func (m *EgressInfo) GetRequest() isEgressInfo_Request

func (*EgressInfo) GetResult

func (m *EgressInfo) GetResult() isEgressInfo_Result

func (*EgressInfo) GetRoomComposite

func (x *EgressInfo) GetRoomComposite() *RoomCompositeEgressRequest

func (*EgressInfo) GetRoomId

func (x *EgressInfo) GetRoomId() string

func (*EgressInfo) GetRoomName

func (x *EgressInfo) GetRoomName() string

func (*EgressInfo) GetSegments

func (x *EgressInfo) GetSegments() *SegmentsInfo

func (*EgressInfo) GetStartedAt

func (x *EgressInfo) GetStartedAt() int64

func (*EgressInfo) GetStatus

func (x *EgressInfo) GetStatus() EgressStatus

func (*EgressInfo) GetStream

func (x *EgressInfo) GetStream() *StreamInfoList

func (*EgressInfo) GetTrack

func (x *EgressInfo) GetTrack() *TrackEgressRequest

func (*EgressInfo) GetTrackComposite

func (x *EgressInfo) GetTrackComposite() *TrackCompositeEgressRequest

func (*EgressInfo) ProtoMessage

func (*EgressInfo) ProtoMessage()

func (*EgressInfo) ProtoReflect

func (x *EgressInfo) ProtoReflect() protoreflect.Message

func (*EgressInfo) Reset

func (x *EgressInfo) Reset()

func (*EgressInfo) String

func (x *EgressInfo) String() string

type EgressInfo_File

type EgressInfo_File struct {
	File *FileInfo `protobuf:"bytes,8,opt,name=file,proto3,oneof"`
}

type EgressInfo_RoomComposite

type EgressInfo_RoomComposite struct {
	RoomComposite *RoomCompositeEgressRequest `protobuf:"bytes,4,opt,name=room_composite,json=roomComposite,proto3,oneof"`
}

type EgressInfo_Segments

type EgressInfo_Segments struct {
	Segments *SegmentsInfo `protobuf:"bytes,12,opt,name=segments,proto3,oneof"`
}

type EgressInfo_Stream

type EgressInfo_Stream struct {
	Stream *StreamInfoList `protobuf:"bytes,7,opt,name=stream,proto3,oneof"`
}

type EgressInfo_Track

type EgressInfo_Track struct {
	Track *TrackEgressRequest `protobuf:"bytes,6,opt,name=track,proto3,oneof"`
}

type EgressInfo_TrackComposite

type EgressInfo_TrackComposite struct {
	TrackComposite *TrackCompositeEgressRequest `protobuf:"bytes,5,opt,name=track_composite,json=trackComposite,proto3,oneof"`
}

type EgressRequest

type EgressRequest struct {

	// request metadata
	EgressId  string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	SenderId  string `protobuf:"bytes,5,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// request
	//
	// Types that are assignable to Request:
	//	*EgressRequest_UpdateStream
	//	*EgressRequest_Stop
	Request isEgressRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*EgressRequest) Descriptor deprecated

func (*EgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use EgressRequest.ProtoReflect.Descriptor instead.

func (*EgressRequest) GetEgressId

func (x *EgressRequest) GetEgressId() string

func (*EgressRequest) GetRequest

func (m *EgressRequest) GetRequest() isEgressRequest_Request

func (*EgressRequest) GetRequestId

func (x *EgressRequest) GetRequestId() string

func (*EgressRequest) GetSenderId

func (x *EgressRequest) GetSenderId() string

func (*EgressRequest) GetStop

func (x *EgressRequest) GetStop() *livekit.StopEgressRequest

func (*EgressRequest) GetUpdateStream

func (x *EgressRequest) GetUpdateStream() *livekit.UpdateStreamRequest

func (*EgressRequest) ProtoMessage

func (*EgressRequest) ProtoMessage()

func (*EgressRequest) ProtoReflect

func (x *EgressRequest) ProtoReflect() protoreflect.Message

func (*EgressRequest) Reset

func (x *EgressRequest) Reset()

func (*EgressRequest) String

func (x *EgressRequest) String() string

type EgressRequest_Stop

type EgressRequest_Stop struct {
	Stop *livekit.StopEgressRequest `protobuf:"bytes,4,opt,name=stop,proto3,oneof"`
}

type EgressRequest_UpdateStream

type EgressRequest_UpdateStream struct {
	UpdateStream *livekit.UpdateStreamRequest `protobuf:"bytes,3,opt,name=update_stream,json=updateStream,proto3,oneof"`
}

type EgressResponse

type EgressResponse struct {
	Info      *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Error     string              `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	RequestId string              `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EgressResponse) Descriptor deprecated

func (*EgressResponse) Descriptor() ([]byte, []int)

Deprecated: Use EgressResponse.ProtoReflect.Descriptor instead.

func (*EgressResponse) GetError

func (x *EgressResponse) GetError() string

func (*EgressResponse) GetInfo

func (x *EgressResponse) GetInfo() *livekit.EgressInfo

func (*EgressResponse) GetRequestId

func (x *EgressResponse) GetRequestId() string

func (*EgressResponse) ProtoMessage

func (*EgressResponse) ProtoMessage()

func (*EgressResponse) ProtoReflect

func (x *EgressResponse) ProtoReflect() protoreflect.Message

func (*EgressResponse) Reset

func (x *EgressResponse) Reset()

func (*EgressResponse) String

func (x *EgressResponse) String() string

type EgressStatus

type EgressStatus int32
const (
	EgressStatus_EGRESS_STARTING      EgressStatus = 0
	EgressStatus_EGRESS_ACTIVE        EgressStatus = 1
	EgressStatus_EGRESS_ENDING        EgressStatus = 2
	EgressStatus_EGRESS_COMPLETE      EgressStatus = 3
	EgressStatus_EGRESS_FAILED        EgressStatus = 4
	EgressStatus_EGRESS_ABORTED       EgressStatus = 5
	EgressStatus_EGRESS_LIMIT_REACHED EgressStatus = 6
)

func (EgressStatus) Descriptor

func (EgressStatus) Enum

func (x EgressStatus) Enum() *EgressStatus

func (EgressStatus) EnumDescriptor deprecated

func (EgressStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use EgressStatus.Descriptor instead.

func (EgressStatus) Number

func (EgressStatus) String

func (x EgressStatus) String() string

func (EgressStatus) Type

type EncodedFileOutput

type EncodedFileOutput struct {
	FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional)
	Filepath string          `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"`                                               // (optional)
	// Types that are assignable to Output:
	//	*EncodedFileOutput_S3
	//	*EncodedFileOutput_Gcp
	//	*EncodedFileOutput_Azure
	//	*EncodedFileOutput_Ali
	Output isEncodedFileOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*EncodedFileOutput) Descriptor deprecated

func (*EncodedFileOutput) Descriptor() ([]byte, []int)

Deprecated: Use EncodedFileOutput.ProtoReflect.Descriptor instead.

func (*EncodedFileOutput) GetAli

func (x *EncodedFileOutput) GetAli() *ALIUpload

func (*EncodedFileOutput) GetAzure

func (x *EncodedFileOutput) GetAzure() *AzureBlobUpload

func (*EncodedFileOutput) GetFileType

func (x *EncodedFileOutput) GetFileType() EncodedFileType

func (*EncodedFileOutput) GetFilepath

func (x *EncodedFileOutput) GetFilepath() string

func (*EncodedFileOutput) GetGcp

func (x *EncodedFileOutput) GetGcp() *GCPUpload

func (*EncodedFileOutput) GetOutput

func (m *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output

func (*EncodedFileOutput) GetS3

func (x *EncodedFileOutput) GetS3() *S3Upload

func (*EncodedFileOutput) ProtoMessage

func (*EncodedFileOutput) ProtoMessage()

func (*EncodedFileOutput) ProtoReflect

func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message

func (*EncodedFileOutput) Reset

func (x *EncodedFileOutput) Reset()

func (*EncodedFileOutput) String

func (x *EncodedFileOutput) String() string

type EncodedFileOutput_Ali

type EncodedFileOutput_Ali struct {
	Ali *ALIUpload `protobuf:"bytes,6,opt,name=ali,proto3,oneof"`
}

type EncodedFileOutput_Azure

type EncodedFileOutput_Azure struct {
	Azure *AzureBlobUpload `protobuf:"bytes,5,opt,name=azure,proto3,oneof"`
}

type EncodedFileOutput_Gcp

type EncodedFileOutput_Gcp struct {
	Gcp *GCPUpload `protobuf:"bytes,4,opt,name=gcp,proto3,oneof"`
}

type EncodedFileOutput_S3

type EncodedFileOutput_S3 struct {
	S3 *S3Upload `protobuf:"bytes,3,opt,name=s3,proto3,oneof"`
}

type EncodedFileType

type EncodedFileType int32
const (
	EncodedFileType_DEFAULT_FILETYPE EncodedFileType = 0 // file type chosen based on codecs
	EncodedFileType_MP4              EncodedFileType = 1
	EncodedFileType_OGG              EncodedFileType = 2
)

func (EncodedFileType) Descriptor

func (EncodedFileType) Enum

func (x EncodedFileType) Enum() *EncodedFileType

func (EncodedFileType) EnumDescriptor deprecated

func (EncodedFileType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncodedFileType.Descriptor instead.

func (EncodedFileType) Number

func (EncodedFileType) String

func (x EncodedFileType) String() string

func (EncodedFileType) Type

type EncodingOptions

type EncodingOptions struct {
	Width          int32      `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`                                                     // (default 1920)
	Height         int32      `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`                                                   // (default 1080)
	Depth          int32      `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`                                                     // (default 24)
	Framerate      int32      `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"`                                             // (default 30)
	AudioCodec     AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS)
	AudioBitrate   int32      `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"`                   // (default 128)
	AudioFrequency int32      `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"`             // (default 44100)
	VideoCodec     VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN)
	VideoBitrate   int32      `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"`                   // (default 4500)
	// contains filtered or unexported fields
}

func (*EncodingOptions) Descriptor deprecated

func (*EncodingOptions) Descriptor() ([]byte, []int)

Deprecated: Use EncodingOptions.ProtoReflect.Descriptor instead.

func (*EncodingOptions) GetAudioBitrate

func (x *EncodingOptions) GetAudioBitrate() int32

func (*EncodingOptions) GetAudioCodec

func (x *EncodingOptions) GetAudioCodec() AudioCodec

func (*EncodingOptions) GetAudioFrequency

func (x *EncodingOptions) GetAudioFrequency() int32

func (*EncodingOptions) GetDepth

func (x *EncodingOptions) GetDepth() int32

func (*EncodingOptions) GetFramerate

func (x *EncodingOptions) GetFramerate() int32

func (*EncodingOptions) GetHeight

func (x *EncodingOptions) GetHeight() int32

func (*EncodingOptions) GetVideoBitrate

func (x *EncodingOptions) GetVideoBitrate() int32

func (*EncodingOptions) GetVideoCodec

func (x *EncodingOptions) GetVideoCodec() VideoCodec

func (*EncodingOptions) GetWidth

func (x *EncodingOptions) GetWidth() int32

func (*EncodingOptions) ProtoMessage

func (*EncodingOptions) ProtoMessage()

func (*EncodingOptions) ProtoReflect

func (x *EncodingOptions) ProtoReflect() protoreflect.Message

func (*EncodingOptions) Reset

func (x *EncodingOptions) Reset()

func (*EncodingOptions) String

func (x *EncodingOptions) String() string

type EncodingOptionsPreset

type EncodingOptionsPreset int32
const (
	EncodingOptionsPreset_H264_720P_30           EncodingOptionsPreset = 0 //  1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS
	EncodingOptionsPreset_H264_720P_60           EncodingOptionsPreset = 1 //  1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS
	EncodingOptionsPreset_H264_1080P_30          EncodingOptionsPreset = 2 // 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS
	EncodingOptionsPreset_H264_1080P_60          EncodingOptionsPreset = 3 // 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS
	EncodingOptionsPreset_PORTRAIT_H264_720P_30  EncodingOptionsPreset = 4 //  720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS
	EncodingOptionsPreset_PORTRAIT_H264_720P_60  EncodingOptionsPreset = 5 //  720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS
	EncodingOptionsPreset_PORTRAIT_H264_1080P_30 EncodingOptionsPreset = 6 // 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS
	EncodingOptionsPreset_PORTRAIT_H264_1080P_60 EncodingOptionsPreset = 7 // 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS
)

func (EncodingOptionsPreset) Descriptor

func (EncodingOptionsPreset) Enum

func (EncodingOptionsPreset) EnumDescriptor deprecated

func (EncodingOptionsPreset) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncodingOptionsPreset.Descriptor instead.

func (EncodingOptionsPreset) Number

func (EncodingOptionsPreset) String

func (x EncodingOptionsPreset) String() string

func (EncodingOptionsPreset) Type

type EndSession

type EndSession struct {
	// contains filtered or unexported fields
}

func (*EndSession) Descriptor deprecated

func (*EndSession) Descriptor() ([]byte, []int)

Deprecated: Use EndSession.ProtoReflect.Descriptor instead.

func (*EndSession) ProtoMessage

func (*EndSession) ProtoMessage()

func (*EndSession) ProtoReflect

func (x *EndSession) ProtoReflect() protoreflect.Message

func (*EndSession) Reset

func (x *EndSession) Reset()

func (*EndSession) String

func (x *EndSession) String() string

type FileInfo

type FileInfo struct {
	Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
	Duration int64  `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"`
	Size     int64  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

func (*FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetDuration

func (x *FileInfo) GetDuration() int64

func (*FileInfo) GetFilename

func (x *FileInfo) GetFilename() string

func (*FileInfo) GetLocation

func (x *FileInfo) GetLocation() string

func (*FileInfo) GetSize

func (x *FileInfo) GetSize() int64

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

func (x *FileInfo) ProtoReflect() protoreflect.Message

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) String

func (x *FileInfo) String() string

type GCPUpload

type GCPUpload struct {
	Credentials []byte `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"`
	Bucket      string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*GCPUpload) Descriptor deprecated

func (*GCPUpload) Descriptor() ([]byte, []int)

Deprecated: Use GCPUpload.ProtoReflect.Descriptor instead.

func (*GCPUpload) GetBucket

func (x *GCPUpload) GetBucket() string

func (*GCPUpload) GetCredentials

func (x *GCPUpload) GetCredentials() []byte

func (*GCPUpload) ProtoMessage

func (*GCPUpload) ProtoMessage()

func (*GCPUpload) ProtoReflect

func (x *GCPUpload) ProtoReflect() protoreflect.Message

func (*GCPUpload) Reset

func (x *GCPUpload) Reset()

func (*GCPUpload) String

func (x *GCPUpload) String() string

type GetIngressInfoRequest

type GetIngressInfoRequest struct {
	IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
	StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"`
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	SenderId  string `protobuf:"bytes,4,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	SentAt    int64  `protobuf:"varint,5,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"`
	// contains filtered or unexported fields
}

Query an ingress info from an ingress ID or stream key

func (*GetIngressInfoRequest) Descriptor deprecated

func (*GetIngressInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIngressInfoRequest.ProtoReflect.Descriptor instead.

func (*GetIngressInfoRequest) GetIngressId

func (x *GetIngressInfoRequest) GetIngressId() string

func (*GetIngressInfoRequest) GetRequestId

func (x *GetIngressInfoRequest) GetRequestId() string

func (*GetIngressInfoRequest) GetSenderId

func (x *GetIngressInfoRequest) GetSenderId() string

func (*GetIngressInfoRequest) GetSentAt

func (x *GetIngressInfoRequest) GetSentAt() int64

func (*GetIngressInfoRequest) GetStreamKey

func (x *GetIngressInfoRequest) GetStreamKey() string

func (*GetIngressInfoRequest) ProtoMessage

func (*GetIngressInfoRequest) ProtoMessage()

func (*GetIngressInfoRequest) ProtoReflect

func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message

func (*GetIngressInfoRequest) Reset

func (x *GetIngressInfoRequest) Reset()

func (*GetIngressInfoRequest) String

func (x *GetIngressInfoRequest) String() string

type GetIngressInfoResponse

type GetIngressInfoResponse struct {
	Info      *IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Token     string       `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	WsUrl     string       `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
	Error     string       `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	RequestId string       `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIngressInfoResponse) Descriptor deprecated

func (*GetIngressInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetIngressInfoResponse.ProtoReflect.Descriptor instead.

func (*GetIngressInfoResponse) GetError

func (x *GetIngressInfoResponse) GetError() string

func (*GetIngressInfoResponse) GetInfo

func (x *GetIngressInfoResponse) GetInfo() *IngressInfo

func (*GetIngressInfoResponse) GetRequestId

func (x *GetIngressInfoResponse) GetRequestId() string

func (*GetIngressInfoResponse) GetToken

func (x *GetIngressInfoResponse) GetToken() string

func (*GetIngressInfoResponse) GetWsUrl

func (x *GetIngressInfoResponse) GetWsUrl() string

func (*GetIngressInfoResponse) ProtoMessage

func (*GetIngressInfoResponse) ProtoMessage()

func (*GetIngressInfoResponse) ProtoReflect

func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message

func (*GetIngressInfoResponse) Reset

func (x *GetIngressInfoResponse) Reset()

func (*GetIngressInfoResponse) String

func (x *GetIngressInfoResponse) String() string

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.

HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.

type ICEServer

type ICEServer struct {
	Urls       []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
	Username   string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Credential string   `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

func (*ICEServer) Descriptor deprecated

func (*ICEServer) Descriptor() ([]byte, []int)

Deprecated: Use ICEServer.ProtoReflect.Descriptor instead.

func (*ICEServer) GetCredential

func (x *ICEServer) GetCredential() string

func (*ICEServer) GetUrls

func (x *ICEServer) GetUrls() []string

func (*ICEServer) GetUsername

func (x *ICEServer) GetUsername() string

func (*ICEServer) ProtoMessage

func (*ICEServer) ProtoMessage()

func (*ICEServer) ProtoReflect

func (x *ICEServer) ProtoReflect() protoreflect.Message

func (*ICEServer) Reset

func (x *ICEServer) Reset()

func (*ICEServer) String

func (x *ICEServer) String() string

type Ingress

type Ingress interface {
	// Create a new Ingress
	CreateIngress(context.Context, *CreateIngressRequest) (*IngressInfo, error)

	// Update an existing Ingress. Ingress can only be updated when it's in ENDPOINT_WAITING state.
	UpdateIngress(context.Context, *UpdateIngressRequest) (*IngressInfo, error)

	ListIngress(context.Context, *ListIngressRequest) (*ListIngressResponse, error)

	DeleteIngress(context.Context, *DeleteIngressRequest) (*IngressInfo, error)
}

func NewIngressJSONClient

func NewIngressJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Ingress

NewIngressJSONClient creates a JSON client that implements the Ingress interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewIngressProtobufClient

func NewIngressProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Ingress

NewIngressProtobufClient creates a Protobuf client that implements the Ingress interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type IngressAudioOptions

type IngressAudioOptions struct {
	Name   string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"`
	// desired mime_type to publish to room
	MimeType   string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Bitrate    uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"`
	DisableDtx bool   `protobuf:"varint,5,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"`
	Channels   uint32 `protobuf:"varint,6,opt,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressAudioOptions) Descriptor deprecated

func (*IngressAudioOptions) Descriptor() ([]byte, []int)

Deprecated: Use IngressAudioOptions.ProtoReflect.Descriptor instead.

func (*IngressAudioOptions) GetBitrate

func (x *IngressAudioOptions) GetBitrate() uint32

func (*IngressAudioOptions) GetChannels

func (x *IngressAudioOptions) GetChannels() uint32

func (*IngressAudioOptions) GetDisableDtx

func (x *IngressAudioOptions) GetDisableDtx() bool

func (*IngressAudioOptions) GetMimeType

func (x *IngressAudioOptions) GetMimeType() string

func (*IngressAudioOptions) GetName

func (x *IngressAudioOptions) GetName() string

func (*IngressAudioOptions) GetSource

func (x *IngressAudioOptions) GetSource() TrackSource

func (*IngressAudioOptions) ProtoMessage

func (*IngressAudioOptions) ProtoMessage()

func (*IngressAudioOptions) ProtoReflect

func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message

func (*IngressAudioOptions) Reset

func (x *IngressAudioOptions) Reset()

func (*IngressAudioOptions) String

func (x *IngressAudioOptions) String() string

type IngressInfo

type IngressInfo struct {
	IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"`
	Url       string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// for RTMP input, it'll be a rtmp:// URL
	// for FILE input, it'll be a http:// URL
	// for SRT input, it'll be a srt:// URL
	InputType           IngressInput         `protobuf:"varint,5,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"`
	Audio               *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"`
	Video               *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"`
	RoomName            string               `protobuf:"bytes,8,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	ParticipantIdentity string               `protobuf:"bytes,9,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	ParticipantName     string               `protobuf:"bytes,10,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"`
	Reusable            bool                 `protobuf:"varint,11,opt,name=reusable,proto3" json:"reusable,omitempty"`
	State               *IngressState        `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)
	// contains filtered or unexported fields
}

func (*IngressInfo) Descriptor deprecated

func (*IngressInfo) Descriptor() ([]byte, []int)

Deprecated: Use IngressInfo.ProtoReflect.Descriptor instead.

func (*IngressInfo) GetAudio

func (x *IngressInfo) GetAudio() *IngressAudioOptions

func (*IngressInfo) GetIngressId

func (x *IngressInfo) GetIngressId() string

func (*IngressInfo) GetInputType

func (x *IngressInfo) GetInputType() IngressInput

func (*IngressInfo) GetName

func (x *IngressInfo) GetName() string

func (*IngressInfo) GetParticipantIdentity

func (x *IngressInfo) GetParticipantIdentity() string

func (*IngressInfo) GetParticipantName

func (x *IngressInfo) GetParticipantName() string

func (*IngressInfo) GetReusable

func (x *IngressInfo) GetReusable() bool

func (*IngressInfo) GetRoomName

func (x *IngressInfo) GetRoomName() string

func (*IngressInfo) GetState

func (x *IngressInfo) GetState() *IngressState

func (*IngressInfo) GetStreamKey

func (x *IngressInfo) GetStreamKey() string

func (*IngressInfo) GetUrl

func (x *IngressInfo) GetUrl() string

func (*IngressInfo) GetVideo

func (x *IngressInfo) GetVideo() *IngressVideoOptions

func (*IngressInfo) ProtoMessage

func (*IngressInfo) ProtoMessage()

func (*IngressInfo) ProtoReflect

func (x *IngressInfo) ProtoReflect() protoreflect.Message

func (*IngressInfo) Reset

func (x *IngressInfo) Reset()

func (*IngressInfo) String

func (x *IngressInfo) String() string

type IngressInput

type IngressInput int32
const (
	IngressInput_RTMP_INPUT IngressInput = 0
)

func (IngressInput) Descriptor

func (IngressInput) Enum

func (x IngressInput) Enum() *IngressInput

func (IngressInput) EnumDescriptor deprecated

func (IngressInput) EnumDescriptor() ([]byte, []int)

Deprecated: Use IngressInput.Descriptor instead.

func (IngressInput) Number

func (IngressInput) String

func (x IngressInput) String() string

func (IngressInput) Type

type IngressRequest

type IngressRequest struct {

	// request metadata
	IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	SenderId  string `protobuf:"bytes,3,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// Types that are assignable to Request:
	//	*IngressRequest_Update
	//	*IngressRequest_Delete
	Request isIngressRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*IngressRequest) Descriptor deprecated

func (*IngressRequest) Descriptor() ([]byte, []int)

Deprecated: Use IngressRequest.ProtoReflect.Descriptor instead.

func (*IngressRequest) GetDelete

func (x *IngressRequest) GetDelete() *DeleteIngressRequest

func (*IngressRequest) GetIngressId

func (x *IngressRequest) GetIngressId() string

func (*IngressRequest) GetRequest

func (m *IngressRequest) GetRequest() isIngressRequest_Request

func (*IngressRequest) GetRequestId

func (x *IngressRequest) GetRequestId() string

func (*IngressRequest) GetSenderId

func (x *IngressRequest) GetSenderId() string

func (*IngressRequest) GetUpdate

func (x *IngressRequest) GetUpdate() *UpdateIngressRequest

func (*IngressRequest) ProtoMessage

func (*IngressRequest) ProtoMessage()

func (*IngressRequest) ProtoReflect

func (x *IngressRequest) ProtoReflect() protoreflect.Message

func (*IngressRequest) Reset

func (x *IngressRequest) Reset()

func (*IngressRequest) String

func (x *IngressRequest) String() string

type IngressRequest_Delete

type IngressRequest_Delete struct {
	Delete *DeleteIngressRequest `protobuf:"bytes,5,opt,name=delete,proto3,oneof"`
}

type IngressRequest_Update

type IngressRequest_Update struct {
	Update *UpdateIngressRequest `protobuf:"bytes,4,opt,name=update,proto3,oneof"`
}

type IngressResponse

type IngressResponse struct {
	Info      *IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Error     string       `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	RequestId string       `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressResponse) Descriptor deprecated

func (*IngressResponse) Descriptor() ([]byte, []int)

Deprecated: Use IngressResponse.ProtoReflect.Descriptor instead.

func (*IngressResponse) GetError

func (x *IngressResponse) GetError() string

func (*IngressResponse) GetInfo

func (x *IngressResponse) GetInfo() *IngressInfo

func (*IngressResponse) GetRequestId

func (x *IngressResponse) GetRequestId() string

func (*IngressResponse) ProtoMessage

func (*IngressResponse) ProtoMessage()

func (*IngressResponse) ProtoReflect

func (x *IngressResponse) ProtoReflect() protoreflect.Message

func (*IngressResponse) Reset

func (x *IngressResponse) Reset()

func (*IngressResponse) String

func (x *IngressResponse) String() string

type IngressState

type IngressState struct {
	Status    IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"`
	Error     string              `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any
	Video     *InputVideoState    `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"`
	Audio     *InputAudioState    `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"`
	RoomId    string              `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to
	StartedAt int64               `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	Tracks    []*TrackInfo        `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressState) Descriptor deprecated

func (*IngressState) Descriptor() ([]byte, []int)

Deprecated: Use IngressState.ProtoReflect.Descriptor instead.

func (*IngressState) GetAudio

func (x *IngressState) GetAudio() *InputAudioState

func (*IngressState) GetError

func (x *IngressState) GetError() string

func (*IngressState) GetRoomId

func (x *IngressState) GetRoomId() string

func (*IngressState) GetStartedAt

func (x *IngressState) GetStartedAt() int64

func (*IngressState) GetStatus

func (x *IngressState) GetStatus() IngressState_Status

func (*IngressState) GetTracks

func (x *IngressState) GetTracks() []*TrackInfo

func (*IngressState) GetVideo

func (x *IngressState) GetVideo() *InputVideoState

func (*IngressState) ProtoMessage

func (*IngressState) ProtoMessage()

func (*IngressState) ProtoReflect

func (x *IngressState) ProtoReflect() protoreflect.Message

func (*IngressState) Reset

func (x *IngressState) Reset()

func (*IngressState) String

func (x *IngressState) String() string

type IngressState_Status

type IngressState_Status int32
const (
	IngressState_ENDPOINT_INACTIVE   IngressState_Status = 0
	IngressState_ENDPOINT_BUFFERING  IngressState_Status = 1
	IngressState_ENDPOINT_PUBLISHING IngressState_Status = 2
	IngressState_ENDPOINT_ERROR      IngressState_Status = 3
)

func (IngressState_Status) Descriptor

func (IngressState_Status) Enum

func (IngressState_Status) EnumDescriptor deprecated

func (IngressState_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use IngressState_Status.Descriptor instead.

func (IngressState_Status) Number

func (IngressState_Status) String

func (x IngressState_Status) String() string

func (IngressState_Status) Type

type IngressVideoOptions

type IngressVideoOptions struct {
	Name   string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"`
	// desired mime_type to publish to room
	MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// simulcast layers to publish, when empty, it'll pick default simulcast
	// layers at 1/2 and 1/4 of the dimensions
	Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressVideoOptions) Descriptor deprecated

func (*IngressVideoOptions) Descriptor() ([]byte, []int)

Deprecated: Use IngressVideoOptions.ProtoReflect.Descriptor instead.

func (*IngressVideoOptions) GetLayers

func (x *IngressVideoOptions) GetLayers() []*VideoLayer

func (*IngressVideoOptions) GetMimeType

func (x *IngressVideoOptions) GetMimeType() string

func (*IngressVideoOptions) GetName

func (x *IngressVideoOptions) GetName() string

func (*IngressVideoOptions) GetSource

func (x *IngressVideoOptions) GetSource() TrackSource

func (*IngressVideoOptions) ProtoMessage

func (*IngressVideoOptions) ProtoMessage()

func (*IngressVideoOptions) ProtoReflect

func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message

func (*IngressVideoOptions) Reset

func (x *IngressVideoOptions) Reset()

func (*IngressVideoOptions) String

func (x *IngressVideoOptions) String() string

type InputAudioState

type InputAudioState struct {
	MimeType uint32 `protobuf:"varint,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	//  uint32 bitrate = 2;
	Channels   uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"`
	SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	// contains filtered or unexported fields
}

func (*InputAudioState) Descriptor deprecated

func (*InputAudioState) Descriptor() ([]byte, []int)

Deprecated: Use InputAudioState.ProtoReflect.Descriptor instead.

func (*InputAudioState) GetChannels

func (x *InputAudioState) GetChannels() uint32

func (*InputAudioState) GetMimeType

func (x *InputAudioState) GetMimeType() uint32

func (*InputAudioState) GetSampleRate

func (x *InputAudioState) GetSampleRate() uint32

func (*InputAudioState) ProtoMessage

func (*InputAudioState) ProtoMessage()

func (*InputAudioState) ProtoReflect

func (x *InputAudioState) ProtoReflect() protoreflect.Message

func (*InputAudioState) Reset

func (x *InputAudioState) Reset()

func (*InputAudioState) String

func (x *InputAudioState) String() string

type InputVideoState

type InputVideoState struct {
	MimeType uint32 `protobuf:"varint,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	//  uint32 bitrate = 2;
	Width     uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	Height    uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	Framerate uint32 `protobuf:"varint,5,opt,name=framerate,proto3" json:"framerate,omitempty"`
	// contains filtered or unexported fields
}

func (*InputVideoState) Descriptor deprecated

func (*InputVideoState) Descriptor() ([]byte, []int)

Deprecated: Use InputVideoState.ProtoReflect.Descriptor instead.

func (*InputVideoState) GetFramerate

func (x *InputVideoState) GetFramerate() uint32

func (*InputVideoState) GetHeight

func (x *InputVideoState) GetHeight() uint32

func (*InputVideoState) GetMimeType

func (x *InputVideoState) GetMimeType() uint32

func (*InputVideoState) GetWidth

func (x *InputVideoState) GetWidth() uint32

func (*InputVideoState) ProtoMessage

func (*InputVideoState) ProtoMessage()

func (*InputVideoState) ProtoReflect

func (x *InputVideoState) ProtoReflect() protoreflect.Message

func (*InputVideoState) Reset

func (x *InputVideoState) Reset()

func (*InputVideoState) String

func (x *InputVideoState) String() string

type JoinResponse

type JoinResponse struct {
	Room              *Room              `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Participant       *ParticipantInfo   `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"`
	OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"`
	// deprecated. use server_info.version instead.
	ServerVersion string       `protobuf:"bytes,4,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	IceServers    []*ICEServer `protobuf:"bytes,5,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"`
	// use subscriber as the primary PeerConnection
	SubscriberPrimary bool `protobuf:"varint,6,opt,name=subscriber_primary,json=subscriberPrimary,proto3" json:"subscriber_primary,omitempty"`
	// when the current server isn't available, return alternate url to retry connection
	// when this is set, the other fields will be largely empty
	AlternativeUrl      string               `protobuf:"bytes,7,opt,name=alternative_url,json=alternativeUrl,proto3" json:"alternative_url,omitempty"`
	ClientConfiguration *ClientConfiguration `protobuf:"bytes,8,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"`
	// deprecated. use server_info.region instead.
	ServerRegion string      `protobuf:"bytes,9,opt,name=server_region,json=serverRegion,proto3" json:"server_region,omitempty"`
	PingTimeout  int32       `protobuf:"varint,10,opt,name=ping_timeout,json=pingTimeout,proto3" json:"ping_timeout,omitempty"`
	PingInterval int32       `protobuf:"varint,11,opt,name=ping_interval,json=pingInterval,proto3" json:"ping_interval,omitempty"`
	ServerInfo   *ServerInfo `protobuf:"bytes,12,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinResponse) Descriptor deprecated

func (*JoinResponse) Descriptor() ([]byte, []int)

Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.

func (*JoinResponse) GetAlternativeUrl

func (x *JoinResponse) GetAlternativeUrl() string

func (*JoinResponse) GetClientConfiguration

func (x *JoinResponse) GetClientConfiguration() *ClientConfiguration

func (*JoinResponse) GetIceServers

func (x *JoinResponse) GetIceServers() []*ICEServer

func (*JoinResponse) GetOtherParticipants

func (x *JoinResponse) GetOtherParticipants() []*ParticipantInfo

func (*JoinResponse) GetParticipant

func (x *JoinResponse) GetParticipant() *ParticipantInfo

func (*JoinResponse) GetPingInterval

func (x *JoinResponse) GetPingInterval() int32

func (*JoinResponse) GetPingTimeout

func (x *JoinResponse) GetPingTimeout() int32

func (*JoinResponse) GetRoom

func (x *JoinResponse) GetRoom() *Room

func (*JoinResponse) GetServerInfo

func (x *JoinResponse) GetServerInfo() *ServerInfo

func (*JoinResponse) GetServerRegion

func (x *JoinResponse) GetServerRegion() string

func (*JoinResponse) GetServerVersion

func (x *JoinResponse) GetServerVersion() string

func (*JoinResponse) GetSubscriberPrimary

func (x *JoinResponse) GetSubscriberPrimary() bool

func (*JoinResponse) ProtoMessage

func (*JoinResponse) ProtoMessage()

func (*JoinResponse) ProtoReflect

func (x *JoinResponse) ProtoReflect() protoreflect.Message

func (*JoinResponse) Reset

func (x *JoinResponse) Reset()

func (*JoinResponse) String

func (x *JoinResponse) String() string

type KeepAlive

type KeepAlive struct {
	// contains filtered or unexported fields
}

func (*KeepAlive) Descriptor deprecated

func (*KeepAlive) Descriptor() ([]byte, []int)

Deprecated: Use KeepAlive.ProtoReflect.Descriptor instead.

func (*KeepAlive) ProtoMessage

func (*KeepAlive) ProtoMessage()

func (*KeepAlive) ProtoReflect

func (x *KeepAlive) ProtoReflect() protoreflect.Message

func (*KeepAlive) Reset

func (x *KeepAlive) Reset()

func (*KeepAlive) String

func (x *KeepAlive) String() string

type LeaveRequest

type LeaveRequest struct {

	// sent when server initiates the disconnect due to server-restart
	// indicates clients should attempt full-reconnect sequence
	CanReconnect bool             `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"`
	Reason       DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveRequest) Descriptor deprecated

func (*LeaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead.

func (*LeaveRequest) GetCanReconnect

func (x *LeaveRequest) GetCanReconnect() bool

func (*LeaveRequest) GetReason

func (x *LeaveRequest) GetReason() DisconnectReason

func (*LeaveRequest) ProtoMessage

func (*LeaveRequest) ProtoMessage()

func (*LeaveRequest) ProtoReflect

func (x *LeaveRequest) ProtoReflect() protoreflect.Message

func (*LeaveRequest) Reset

func (x *LeaveRequest) Reset()

func (*LeaveRequest) String

func (x *LeaveRequest) String() string

type ListEgressRequest

type ListEgressRequest struct {
	RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, used to filter results)
	// contains filtered or unexported fields
}

func (*ListEgressRequest) Descriptor deprecated

func (*ListEgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEgressRequest.ProtoReflect.Descriptor instead.

func (*ListEgressRequest) GetRoomName

func (x *ListEgressRequest) GetRoomName() string

func (*ListEgressRequest) ProtoMessage

func (*ListEgressRequest) ProtoMessage()

func (*ListEgressRequest) ProtoReflect

func (x *ListEgressRequest) ProtoReflect() protoreflect.Message

func (*ListEgressRequest) Reset

func (x *ListEgressRequest) Reset()

func (*ListEgressRequest) String

func (x *ListEgressRequest) String() string

type ListEgressResponse

type ListEgressResponse struct {
	Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEgressResponse) Descriptor deprecated

func (*ListEgressResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEgressResponse.ProtoReflect.Descriptor instead.

func (*ListEgressResponse) GetItems

func (x *ListEgressResponse) GetItems() []*EgressInfo

func (*ListEgressResponse) ProtoMessage

func (*ListEgressResponse) ProtoMessage()

func (*ListEgressResponse) ProtoReflect

func (x *ListEgressResponse) ProtoReflect() protoreflect.Message

func (*ListEgressResponse) Reset

func (x *ListEgressResponse) Reset()

func (*ListEgressResponse) String

func (x *ListEgressResponse) String() string

type ListIngressRequest

type ListIngressRequest struct {

	// when blank, lists all ingress endpoints
	RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIngressRequest) Descriptor deprecated

func (*ListIngressRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIngressRequest.ProtoReflect.Descriptor instead.

func (*ListIngressRequest) GetRoomName

func (x *ListIngressRequest) GetRoomName() string

func (*ListIngressRequest) ProtoMessage

func (*ListIngressRequest) ProtoMessage()

func (*ListIngressRequest) ProtoReflect

func (x *ListIngressRequest) ProtoReflect() protoreflect.Message

func (*ListIngressRequest) Reset

func (x *ListIngressRequest) Reset()

func (*ListIngressRequest) String

func (x *ListIngressRequest) String() string

type ListIngressResponse

type ListIngressResponse struct {
	Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIngressResponse) Descriptor deprecated

func (*ListIngressResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIngressResponse.ProtoReflect.Descriptor instead.

func (*ListIngressResponse) GetItems

func (x *ListIngressResponse) GetItems() []*IngressInfo

func (*ListIngressResponse) ProtoMessage

func (*ListIngressResponse) ProtoMessage()

func (*ListIngressResponse) ProtoReflect

func (x *ListIngressResponse) ProtoReflect() protoreflect.Message

func (*ListIngressResponse) Reset

func (x *ListIngressResponse) Reset()

func (*ListIngressResponse) String

func (x *ListIngressResponse) String() string

type ListParticipantsRequest

type ListParticipantsRequest struct {

	// name of the room
	Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	// contains filtered or unexported fields
}

func (*ListParticipantsRequest) Descriptor deprecated

func (*ListParticipantsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListParticipantsRequest.ProtoReflect.Descriptor instead.

func (*ListParticipantsRequest) GetRoom

func (x *ListParticipantsRequest) GetRoom() string

func (*ListParticipantsRequest) ProtoMessage

func (*ListParticipantsRequest) ProtoMessage()

func (*ListParticipantsRequest) ProtoReflect

func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message

func (*ListParticipantsRequest) Reset

func (x *ListParticipantsRequest) Reset()

func (*ListParticipantsRequest) String

func (x *ListParticipantsRequest) String() string

type ListParticipantsResponse

type ListParticipantsResponse struct {
	Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListParticipantsResponse) Descriptor deprecated

func (*ListParticipantsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListParticipantsResponse.ProtoReflect.Descriptor instead.

func (*ListParticipantsResponse) GetParticipants

func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo

func (*ListParticipantsResponse) ProtoMessage

func (*ListParticipantsResponse) ProtoMessage()

func (*ListParticipantsResponse) ProtoReflect

func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message

func (*ListParticipantsResponse) Reset

func (x *ListParticipantsResponse) Reset()

func (*ListParticipantsResponse) String

func (x *ListParticipantsResponse) String() string

type ListRoomsRequest

type ListRoomsRequest struct {

	// when set, will only return rooms with name match
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoomsRequest) Descriptor deprecated

func (*ListRoomsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRoomsRequest.ProtoReflect.Descriptor instead.

func (*ListRoomsRequest) GetNames

func (x *ListRoomsRequest) GetNames() []string

func (*ListRoomsRequest) ProtoMessage

func (*ListRoomsRequest) ProtoMessage()

func (*ListRoomsRequest) ProtoReflect

func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message

func (*ListRoomsRequest) Reset

func (x *ListRoomsRequest) Reset()

func (*ListRoomsRequest) String

func (x *ListRoomsRequest) String() string

type ListRoomsResponse

type ListRoomsResponse struct {
	Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoomsResponse) Descriptor deprecated

func (*ListRoomsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRoomsResponse.ProtoReflect.Descriptor instead.

func (*ListRoomsResponse) GetRooms

func (x *ListRoomsResponse) GetRooms() []*Room

func (*ListRoomsResponse) ProtoMessage

func (*ListRoomsResponse) ProtoMessage()

func (*ListRoomsResponse) ProtoReflect

func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message

func (*ListRoomsResponse) Reset

func (x *ListRoomsResponse) Reset()

func (*ListRoomsResponse) String

func (x *ListRoomsResponse) String() string

type MuteRoomTrackRequest

type MuteRoomTrackRequest struct {

	// name of the room
	Room     string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// sid of the track to mute
	TrackSid string `protobuf:"bytes,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	// set to true to mute, false to unmute
	Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteRoomTrackRequest) Descriptor deprecated

func (*MuteRoomTrackRequest) Descriptor() ([]byte, []int)

Deprecated: Use MuteRoomTrackRequest.ProtoReflect.Descriptor instead.

func (*MuteRoomTrackRequest) GetIdentity

func (x *MuteRoomTrackRequest) GetIdentity() string

func (*MuteRoomTrackRequest) GetMuted

func (x *MuteRoomTrackRequest) GetMuted() bool

func (*MuteRoomTrackRequest) GetRoom

func (x *MuteRoomTrackRequest) GetRoom() string

func (*MuteRoomTrackRequest) GetTrackSid

func (x *MuteRoomTrackRequest) GetTrackSid() string

func (*MuteRoomTrackRequest) ProtoMessage

func (*MuteRoomTrackRequest) ProtoMessage()

func (*MuteRoomTrackRequest) ProtoReflect

func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message

func (*MuteRoomTrackRequest) Reset

func (x *MuteRoomTrackRequest) Reset()

func (*MuteRoomTrackRequest) String

func (x *MuteRoomTrackRequest) String() string

type MuteRoomTrackResponse

type MuteRoomTrackResponse struct {
	Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteRoomTrackResponse) Descriptor deprecated

func (*MuteRoomTrackResponse) Descriptor() ([]byte, []int)

Deprecated: Use MuteRoomTrackResponse.ProtoReflect.Descriptor instead.

func (*MuteRoomTrackResponse) GetTrack

func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo

func (*MuteRoomTrackResponse) ProtoMessage

func (*MuteRoomTrackResponse) ProtoMessage()

func (*MuteRoomTrackResponse) ProtoReflect

func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message

func (*MuteRoomTrackResponse) Reset

func (x *MuteRoomTrackResponse) Reset()

func (*MuteRoomTrackResponse) String

func (x *MuteRoomTrackResponse) String() string

type MuteTrackRequest

type MuteTrackRequest struct {
	Sid   string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
	Muted bool   `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteTrackRequest) Descriptor deprecated

func (*MuteTrackRequest) Descriptor() ([]byte, []int)

Deprecated: Use MuteTrackRequest.ProtoReflect.Descriptor instead.

func (*MuteTrackRequest) GetMuted

func (x *MuteTrackRequest) GetMuted() bool

func (*MuteTrackRequest) GetSid

func (x *MuteTrackRequest) GetSid() string

func (*MuteTrackRequest) ProtoMessage

func (*MuteTrackRequest) ProtoMessage()

func (*MuteTrackRequest) ProtoReflect

func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message

func (*MuteTrackRequest) Reset

func (x *MuteTrackRequest) Reset()

func (*MuteTrackRequest) String

func (x *MuteTrackRequest) String() string

type Node

type Node struct {
	Id      string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip      string     `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	NumCpus uint32     `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"`
	Stats   *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"`
	Type    NodeType   `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"`
	State   NodeState  `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"`
	Region  string     `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetIp

func (x *Node) GetIp() string

func (*Node) GetNumCpus

func (x *Node) GetNumCpus() uint32

func (*Node) GetRegion

func (x *Node) GetRegion() string

func (*Node) GetState

func (x *Node) GetState() NodeState

func (*Node) GetStats

func (x *Node) GetStats() *NodeStats

func (*Node) GetType

func (x *Node) GetType() NodeType

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeID

type NodeID string

type NodeState

type NodeState int32
const (
	NodeState_STARTING_UP   NodeState = 0
	NodeState_SERVING       NodeState = 1
	NodeState_SHUTTING_DOWN NodeState = 2
)

func (NodeState) Descriptor

func (NodeState) Descriptor() protoreflect.EnumDescriptor

func (NodeState) Enum

func (x NodeState) Enum() *NodeState

func (NodeState) EnumDescriptor deprecated

func (NodeState) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodeState.Descriptor instead.

func (NodeState) Number

func (x NodeState) Number() protoreflect.EnumNumber

func (NodeState) String

func (x NodeState) String() string

func (NodeState) Type

type NodeStats

type NodeStats struct {

	// when server was started
	StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// when server last reported its status
	UpdatedAt int64 `protobuf:"varint,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// room
	NumRooms     int32 `protobuf:"varint,3,opt,name=num_rooms,json=numRooms,proto3" json:"num_rooms,omitempty"`
	NumClients   int32 `protobuf:"varint,4,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"`
	NumTracksIn  int32 `protobuf:"varint,5,opt,name=num_tracks_in,json=numTracksIn,proto3" json:"num_tracks_in,omitempty"`
	NumTracksOut int32 `protobuf:"varint,6,opt,name=num_tracks_out,json=numTracksOut,proto3" json:"num_tracks_out,omitempty"`
	// packet
	BytesIn          uint64  `protobuf:"varint,7,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"`
	BytesOut         uint64  `protobuf:"varint,8,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"`
	PacketsIn        uint64  `protobuf:"varint,9,opt,name=packets_in,json=packetsIn,proto3" json:"packets_in,omitempty"`
	PacketsOut       uint64  `protobuf:"varint,10,opt,name=packets_out,json=packetsOut,proto3" json:"packets_out,omitempty"`
	NackTotal        uint64  `protobuf:"varint,11,opt,name=nack_total,json=nackTotal,proto3" json:"nack_total,omitempty"`
	BytesInPerSec    float32 `protobuf:"fixed32,12,opt,name=bytes_in_per_sec,json=bytesInPerSec,proto3" json:"bytes_in_per_sec,omitempty"`
	BytesOutPerSec   float32 `protobuf:"fixed32,13,opt,name=bytes_out_per_sec,json=bytesOutPerSec,proto3" json:"bytes_out_per_sec,omitempty"`
	PacketsInPerSec  float32 `protobuf:"fixed32,14,opt,name=packets_in_per_sec,json=packetsInPerSec,proto3" json:"packets_in_per_sec,omitempty"`
	PacketsOutPerSec float32 `protobuf:"fixed32,15,opt,name=packets_out_per_sec,json=packetsOutPerSec,proto3" json:"packets_out_per_sec,omitempty"`
	NackPerSec       float32 `protobuf:"fixed32,16,opt,name=nack_per_sec,json=nackPerSec,proto3" json:"nack_per_sec,omitempty"`
	// system
	NumCpus                    uint32  `protobuf:"varint,17,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"`
	LoadAvgLast1Min            float32 `protobuf:"fixed32,18,opt,name=load_avg_last1min,json=loadAvgLast1min,proto3" json:"load_avg_last1min,omitempty"`
	LoadAvgLast5Min            float32 `protobuf:"fixed32,19,opt,name=load_avg_last5min,json=loadAvgLast5min,proto3" json:"load_avg_last5min,omitempty"`
	LoadAvgLast15Min           float32 `protobuf:"fixed32,20,opt,name=load_avg_last15min,json=loadAvgLast15min,proto3" json:"load_avg_last15min,omitempty"`
	CpuLoad                    float32 `protobuf:"fixed32,21,opt,name=cpu_load,json=cpuLoad,proto3" json:"cpu_load,omitempty"`
	SysPacketsOut              uint32  `protobuf:"varint,28,opt,name=sys_packets_out,json=sysPacketsOut,proto3" json:"sys_packets_out,omitempty"`
	SysPacketsDropped          uint32  `protobuf:"varint,29,opt,name=sys_packets_dropped,json=sysPacketsDropped,proto3" json:"sys_packets_dropped,omitempty"`
	SysPacketsOutPerSec        float32 `` /* 127-byte string literal not displayed */
	SysPacketsDroppedPerSec    float32 `` /* 139-byte string literal not displayed */
	SysPacketsDroppedPctPerSec float32 `` /* 150-byte string literal not displayed */
	// retransmissions
	RetransmitBytesOut         uint64  `protobuf:"varint,22,opt,name=retransmit_bytes_out,json=retransmitBytesOut,proto3" json:"retransmit_bytes_out,omitempty"`
	RetransmitPacketsOut       uint64  `protobuf:"varint,23,opt,name=retransmit_packets_out,json=retransmitPacketsOut,proto3" json:"retransmit_packets_out,omitempty"`
	RetransmitBytesOutPerSec   float32 `` /* 142-byte string literal not displayed */
	RetransmitPacketsOutPerSec float32 `` /* 148-byte string literal not displayed */
	// participant joins
	ParticipantJoin       uint64  `protobuf:"varint,26,opt,name=participant_join,json=participantJoin,proto3" json:"participant_join,omitempty"`
	ParticipantJoinPerSec float32 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeStats) Descriptor deprecated

func (*NodeStats) Descriptor() ([]byte, []int)

Deprecated: Use NodeStats.ProtoReflect.Descriptor instead.

func (*NodeStats) GetBytesIn

func (x *NodeStats) GetBytesIn() uint64

func (*NodeStats) GetBytesInPerSec

func (x *NodeStats) GetBytesInPerSec() float32

func (*NodeStats) GetBytesOut

func (x *NodeStats) GetBytesOut() uint64

func (*NodeStats) GetBytesOutPerSec

func (x *NodeStats) GetBytesOutPerSec() float32

func (*NodeStats) GetCpuLoad

func (x *NodeStats) GetCpuLoad() float32

func (*NodeStats) GetLoadAvgLast15Min

func (x *NodeStats) GetLoadAvgLast15Min() float32

func (*NodeStats) GetLoadAvgLast1Min

func (x *NodeStats) GetLoadAvgLast1Min() float32

func (*NodeStats) GetLoadAvgLast5Min

func (x *NodeStats) GetLoadAvgLast5Min() float32

func (*NodeStats) GetNackPerSec

func (x *NodeStats) GetNackPerSec() float32

func (*NodeStats) GetNackTotal

func (x *NodeStats) GetNackTotal() uint64

func (*NodeStats) GetNumClients

func (x *NodeStats) GetNumClients() int32

func (*NodeStats) GetNumCpus

func (x *NodeStats) GetNumCpus() uint32

func (*NodeStats) GetNumRooms

func (x *NodeStats) GetNumRooms() int32

func (*NodeStats) GetNumTracksIn

func (x *NodeStats) GetNumTracksIn() int32

func (*NodeStats) GetNumTracksOut

func (x *NodeStats) GetNumTracksOut() int32

func (*NodeStats) GetPacketsIn

func (x *NodeStats) GetPacketsIn() uint64

func (*NodeStats) GetPacketsInPerSec

func (x *NodeStats) GetPacketsInPerSec() float32

func (*NodeStats) GetPacketsOut

func (x *NodeStats) GetPacketsOut() uint64

func (*NodeStats) GetPacketsOutPerSec

func (x *NodeStats) GetPacketsOutPerSec() float32

func (*NodeStats) GetParticipantJoin

func (x *NodeStats) GetParticipantJoin() uint64

func (*NodeStats) GetParticipantJoinPerSec

func (x *NodeStats) GetParticipantJoinPerSec() float32

func (*NodeStats) GetRetransmitBytesOut

func (x *NodeStats) GetRetransmitBytesOut() uint64

func (*NodeStats) GetRetransmitBytesOutPerSec

func (x *NodeStats) GetRetransmitBytesOutPerSec() float32

func (*NodeStats) GetRetransmitPacketsOut

func (x *NodeStats) GetRetransmitPacketsOut() uint64

func (*NodeStats) GetRetransmitPacketsOutPerSec

func (x *NodeStats) GetRetransmitPacketsOutPerSec() float32

func (*NodeStats) GetStartedAt

func (x *NodeStats) GetStartedAt() int64

func (*NodeStats) GetSysPacketsDropped

func (x *NodeStats) GetSysPacketsDropped() uint32

func (*NodeStats) GetSysPacketsDroppedPctPerSec

func (x *NodeStats) GetSysPacketsDroppedPctPerSec() float32

func (*NodeStats) GetSysPacketsDroppedPerSec

func (x *NodeStats) GetSysPacketsDroppedPerSec() float32

func (*NodeStats) GetSysPacketsOut

func (x *NodeStats) GetSysPacketsOut() uint32

func (*NodeStats) GetSysPacketsOutPerSec

func (x *NodeStats) GetSysPacketsOutPerSec() float32

func (*NodeStats) GetUpdatedAt

func (x *NodeStats) GetUpdatedAt() int64

func (*NodeStats) ProtoMessage

func (*NodeStats) ProtoMessage()

func (*NodeStats) ProtoReflect

func (x *NodeStats) ProtoReflect() protoreflect.Message

func (*NodeStats) Reset

func (x *NodeStats) Reset()

func (*NodeStats) String

func (x *NodeStats) String() string

type NodeType

type NodeType int32
const (
	NodeType_SERVER     NodeType = 0
	NodeType_CONTROLLER NodeType = 1
	NodeType_MEDIA      NodeType = 2
	NodeType_TURN       NodeType = 4
)

func (NodeType) Descriptor

func (NodeType) Descriptor() protoreflect.EnumDescriptor

func (NodeType) Enum

func (x NodeType) Enum() *NodeType

func (NodeType) EnumDescriptor deprecated

func (NodeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodeType.Descriptor instead.

func (NodeType) Number

func (x NodeType) Number() protoreflect.EnumNumber

func (NodeType) String

func (x NodeType) String() string

func (NodeType) Type

type ParticipantID

type ParticipantID string

type ParticipantIdentity

type ParticipantIdentity string

type ParticipantInfo

type ParticipantInfo struct {
	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"`
	// timestamp when participant joined room, in seconds
	JoinedAt   int64                  `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,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"`
	// indicates the participant has an active publisher connection
	// and can publish to the server
	IsPublisher bool `protobuf:"varint,13,opt,name=is_publisher,json=isPublisher,proto3" json:"is_publisher,omitempty"`
	// contains filtered or unexported fields
}

func (*ParticipantInfo) Descriptor deprecated

func (*ParticipantInfo) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantInfo.ProtoReflect.Descriptor instead.

func (*ParticipantInfo) GetIdentity

func (x *ParticipantInfo) GetIdentity() string

func (*ParticipantInfo) GetIsPublisher

func (x *ParticipantInfo) GetIsPublisher() bool

func (*ParticipantInfo) GetJoinedAt

func (x *ParticipantInfo) GetJoinedAt() int64

func (*ParticipantInfo) GetMetadata

func (x *ParticipantInfo) GetMetadata() string

func (*ParticipantInfo) GetName

func (x *ParticipantInfo) GetName() string

func (*ParticipantInfo) GetPermission

func (x *ParticipantInfo) GetPermission() *ParticipantPermission

func (*ParticipantInfo) GetRegion

func (x *ParticipantInfo) GetRegion() string

func (*ParticipantInfo) GetSid

func (x *ParticipantInfo) GetSid() string

func (*ParticipantInfo) GetState

func (x *ParticipantInfo) GetState() ParticipantInfo_State

func (*ParticipantInfo) GetTracks

func (x *ParticipantInfo) GetTracks() []*TrackInfo

func (*ParticipantInfo) GetVersion

func (x *ParticipantInfo) GetVersion() uint32

func (*ParticipantInfo) ProtoMessage

func (*ParticipantInfo) ProtoMessage()

func (*ParticipantInfo) ProtoReflect

func (x *ParticipantInfo) ProtoReflect() protoreflect.Message

func (*ParticipantInfo) Reset

func (x *ParticipantInfo) Reset()

func (*ParticipantInfo) String

func (x *ParticipantInfo) String() string

type ParticipantInfo_State

type ParticipantInfo_State int32
const (
	// websocket' connected, but not offered yet
	ParticipantInfo_JOINING ParticipantInfo_State = 0
	// server received client offer
	ParticipantInfo_JOINED ParticipantInfo_State = 1
	// ICE connectivity established
	ParticipantInfo_ACTIVE ParticipantInfo_State = 2
	// WS disconnected
	ParticipantInfo_DISCONNECTED ParticipantInfo_State = 3
)

func (ParticipantInfo_State) Descriptor

func (ParticipantInfo_State) Enum

func (ParticipantInfo_State) EnumDescriptor deprecated

func (ParticipantInfo_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ParticipantInfo_State.Descriptor instead.

func (ParticipantInfo_State) Number

func (ParticipantInfo_State) String

func (x ParticipantInfo_State) String() string

func (ParticipantInfo_State) Type

type ParticipantKey

type ParticipantKey string

----------------------------------------------------------------

type ParticipantName

type ParticipantName string

type ParticipantPermission

type ParticipantPermission struct {

	// allow participant to subscribe to other tracks in the room
	CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"`
	// allow participant to publish new tracks to room
	CanPublish bool `protobuf:"varint,2,opt,name=can_publish,json=canPublish,proto3" json:"can_publish,omitempty"`
	// allow participant to publish data
	CanPublishData bool `protobuf:"varint,3,opt,name=can_publish_data,json=canPublishData,proto3" json:"can_publish_data,omitempty"`
	// indicates that it's hidden to others
	Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// indicates it's a recorder instance
	Recorder bool `protobuf:"varint,8,opt,name=recorder,proto3" json:"recorder,omitempty"`
	// contains filtered or unexported fields
}

func (*ParticipantPermission) Descriptor deprecated

func (*ParticipantPermission) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantPermission.ProtoReflect.Descriptor instead.

func (*ParticipantPermission) GetCanPublish

func (x *ParticipantPermission) GetCanPublish() bool

func (*ParticipantPermission) GetCanPublishData

func (x *ParticipantPermission) GetCanPublishData() bool

func (*ParticipantPermission) GetCanSubscribe

func (x *ParticipantPermission) GetCanSubscribe() bool

func (*ParticipantPermission) GetHidden

func (x *ParticipantPermission) GetHidden() bool

func (*ParticipantPermission) GetRecorder

func (x *ParticipantPermission) GetRecorder() bool

func (*ParticipantPermission) ProtoMessage

func (*ParticipantPermission) ProtoMessage()

func (*ParticipantPermission) ProtoReflect

func (x *ParticipantPermission) ProtoReflect() protoreflect.Message

func (*ParticipantPermission) Reset

func (x *ParticipantPermission) Reset()

func (*ParticipantPermission) String

func (x *ParticipantPermission) String() string

type ParticipantTracks

type ParticipantTracks struct {

	// participant ID of participant to whom the tracks belong
	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"`
	// contains filtered or unexported fields
}

func (*ParticipantTracks) Descriptor deprecated

func (*ParticipantTracks) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantTracks.ProtoReflect.Descriptor instead.

func (*ParticipantTracks) GetParticipantSid

func (x *ParticipantTracks) GetParticipantSid() string

func (*ParticipantTracks) GetTrackSids

func (x *ParticipantTracks) GetTrackSids() []string

func (*ParticipantTracks) ProtoMessage

func (*ParticipantTracks) ProtoMessage()

func (*ParticipantTracks) ProtoReflect

func (x *ParticipantTracks) ProtoReflect() protoreflect.Message

func (*ParticipantTracks) Reset

func (x *ParticipantTracks) Reset()

func (*ParticipantTracks) String

func (x *ParticipantTracks) String() string

type ParticipantUpdate

type ParticipantUpdate struct {
	Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"`
	// contains filtered or unexported fields
}

func (*ParticipantUpdate) Descriptor deprecated

func (*ParticipantUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ParticipantUpdate.ProtoReflect.Descriptor instead.

func (*ParticipantUpdate) GetParticipants

func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo

func (*ParticipantUpdate) ProtoMessage

func (*ParticipantUpdate) ProtoMessage()

func (*ParticipantUpdate) ProtoReflect

func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message

func (*ParticipantUpdate) Reset

func (x *ParticipantUpdate) Reset()

func (*ParticipantUpdate) String

func (x *ParticipantUpdate) String() string

type RTCNodeMessage

type RTCNodeMessage struct {
	ParticipantKey string `protobuf:"bytes,1,opt,name=participant_key,json=participantKey,proto3" json:"participant_key,omitempty"`
	SenderTime     int64  `protobuf:"varint,11,opt,name=sender_time,json=senderTime,proto3" json:"sender_time,omitempty"`
	ConnectionId   string `protobuf:"bytes,13,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// Types that are assignable to Message:
	//	*RTCNodeMessage_StartSession
	//	*RTCNodeMessage_Request
	//	*RTCNodeMessage_RemoveParticipant
	//	*RTCNodeMessage_MuteTrack
	//	*RTCNodeMessage_UpdateParticipant
	//	*RTCNodeMessage_DeleteRoom
	//	*RTCNodeMessage_UpdateSubscriptions
	//	*RTCNodeMessage_SendData
	//	*RTCNodeMessage_UpdateRoomMetadata
	//	*RTCNodeMessage_KeepAlive
	Message isRTCNodeMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

message to RTC nodes

func (*RTCNodeMessage) Descriptor deprecated

func (*RTCNodeMessage) Descriptor() ([]byte, []int)

Deprecated: Use RTCNodeMessage.ProtoReflect.Descriptor instead.

func (*RTCNodeMessage) GetConnectionId

func (x *RTCNodeMessage) GetConnectionId() string

func (*RTCNodeMessage) GetDeleteRoom

func (x *RTCNodeMessage) GetDeleteRoom() *DeleteRoomRequest

func (*RTCNodeMessage) GetKeepAlive

func (x *RTCNodeMessage) GetKeepAlive() *KeepAlive

func (*RTCNodeMessage) GetMessage

func (m *RTCNodeMessage) GetMessage() isRTCNodeMessage_Message

func (*RTCNodeMessage) GetMuteTrack

func (x *RTCNodeMessage) GetMuteTrack() *MuteRoomTrackRequest

func (*RTCNodeMessage) GetParticipantKey

func (x *RTCNodeMessage) GetParticipantKey() string

func (*RTCNodeMessage) GetRemoveParticipant

func (x *RTCNodeMessage) GetRemoveParticipant() *RoomParticipantIdentity

func (*RTCNodeMessage) GetRequest

func (x *RTCNodeMessage) GetRequest() *SignalRequest

func (*RTCNodeMessage) GetSendData

func (x *RTCNodeMessage) GetSendData() *SendDataRequest

func (*RTCNodeMessage) GetSenderTime

func (x *RTCNodeMessage) GetSenderTime() int64

func (*RTCNodeMessage) GetStartSession

func (x *RTCNodeMessage) GetStartSession() *StartSession

func (*RTCNodeMessage) GetUpdateParticipant

func (x *RTCNodeMessage) GetUpdateParticipant() *UpdateParticipantRequest

func (*RTCNodeMessage) GetUpdateRoomMetadata

func (x *RTCNodeMessage) GetUpdateRoomMetadata() *UpdateRoomMetadataRequest

func (*RTCNodeMessage) GetUpdateSubscriptions

func (x *RTCNodeMessage) GetUpdateSubscriptions() *UpdateSubscriptionsRequest

func (*RTCNodeMessage) ProtoMessage

func (*RTCNodeMessage) ProtoMessage()

func (*RTCNodeMessage) ProtoReflect

func (x *RTCNodeMessage) ProtoReflect() protoreflect.Message

func (*RTCNodeMessage) Reset

func (x *RTCNodeMessage) Reset()

func (*RTCNodeMessage) String

func (x *RTCNodeMessage) String() string

type RTCNodeMessage_DeleteRoom

type RTCNodeMessage_DeleteRoom struct {
	DeleteRoom *DeleteRoomRequest `protobuf:"bytes,7,opt,name=delete_room,json=deleteRoom,proto3,oneof"`
}

type RTCNodeMessage_KeepAlive

type RTCNodeMessage_KeepAlive struct {
	KeepAlive *KeepAlive `protobuf:"bytes,12,opt,name=keep_alive,json=keepAlive,proto3,oneof"`
}

type RTCNodeMessage_MuteTrack

type RTCNodeMessage_MuteTrack struct {
	MuteTrack *MuteRoomTrackRequest `protobuf:"bytes,5,opt,name=mute_track,json=muteTrack,proto3,oneof"`
}

type RTCNodeMessage_RemoveParticipant

type RTCNodeMessage_RemoveParticipant struct {
	// internal messages
	RemoveParticipant *RoomParticipantIdentity `protobuf:"bytes,4,opt,name=remove_participant,json=removeParticipant,proto3,oneof"`
}

type RTCNodeMessage_Request

type RTCNodeMessage_Request struct {
	Request *SignalRequest `protobuf:"bytes,3,opt,name=request,proto3,oneof"`
}

type RTCNodeMessage_SendData

type RTCNodeMessage_SendData struct {
	SendData *SendDataRequest `protobuf:"bytes,9,opt,name=send_data,json=sendData,proto3,oneof"`
}

type RTCNodeMessage_StartSession

type RTCNodeMessage_StartSession struct {
	StartSession *StartSession `protobuf:"bytes,2,opt,name=start_session,json=startSession,proto3,oneof"`
}

type RTCNodeMessage_UpdateParticipant

type RTCNodeMessage_UpdateParticipant struct {
	UpdateParticipant *UpdateParticipantRequest `protobuf:"bytes,6,opt,name=update_participant,json=updateParticipant,proto3,oneof"`
}

type RTCNodeMessage_UpdateRoomMetadata

type RTCNodeMessage_UpdateRoomMetadata struct {
	UpdateRoomMetadata *UpdateRoomMetadataRequest `protobuf:"bytes,10,opt,name=update_room_metadata,json=updateRoomMetadata,proto3,oneof"`
}

type RTCNodeMessage_UpdateSubscriptions

type RTCNodeMessage_UpdateSubscriptions struct {
	UpdateSubscriptions *UpdateSubscriptionsRequest `protobuf:"bytes,8,opt,name=update_subscriptions,json=updateSubscriptions,proto3,oneof"`
}

type RTPStats

type RTPStats struct {
	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                `` /* 126-byte string literal not displayed */
	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       `` /* 188-byte string literal not displayed */
	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"`
	// contains filtered or unexported fields
}

func (*RTPStats) Descriptor deprecated

func (*RTPStats) Descriptor() ([]byte, []int)

Deprecated: Use RTPStats.ProtoReflect.Descriptor instead.

func (*RTPStats) GetBitrate

func (x *RTPStats) GetBitrate() float64

func (*RTPStats) GetBitrateDuplicate

func (x *RTPStats) GetBitrateDuplicate() float64

func (*RTPStats) GetBitratePadding

func (x *RTPStats) GetBitratePadding() float64

func (*RTPStats) GetBytes

func (x *RTPStats) GetBytes() uint64

func (*RTPStats) GetBytesDuplicate

func (x *RTPStats) GetBytesDuplicate() uint64

func (*RTPStats) GetBytesPadding

func (x *RTPStats) GetBytesPadding() uint64

func (*RTPStats) GetDuration

func (x *RTPStats) GetDuration() float64

func (*RTPStats) GetEndTime

func (x *RTPStats) GetEndTime() *timestamppb.Timestamp

func (*RTPStats) GetFirs

func (x *RTPStats) GetFirs() uint32

func (*RTPStats) GetFrameRate

func (x *RTPStats) GetFrameRate() float64

func (*RTPStats) GetFrames

func (x *RTPStats) GetFrames() uint32

func (*RTPStats) GetGapHistogram

func (x *RTPStats) GetGapHistogram() map[int32]uint32

func (*RTPStats) GetHeaderBytes

func (x *RTPStats) GetHeaderBytes() uint64

func (*RTPStats) GetHeaderBytesDuplicate

func (x *RTPStats) GetHeaderBytesDuplicate() uint64

func (*RTPStats) GetHeaderBytesPadding

func (x *RTPStats) GetHeaderBytesPadding() uint64

func (*RTPStats) GetJitterCurrent

func (x *RTPStats) GetJitterCurrent() float64

func (*RTPStats) GetJitterMax

func (x *RTPStats) GetJitterMax() float64

func (*RTPStats) GetKeyFrames

func (x *RTPStats) GetKeyFrames() uint32

func (*RTPStats) GetLastFir

func (x *RTPStats) GetLastFir() *timestamppb.Timestamp

func (*RTPStats) GetLastKeyFrame

func (x *RTPStats) GetLastKeyFrame() *timestamppb.Timestamp

func (*RTPStats) GetLastLayerLockPli

func (x *RTPStats) GetLastLayerLockPli() *timestamppb.Timestamp

func (*RTPStats) GetLastPli

func (x *RTPStats) GetLastPli() *timestamppb.Timestamp

func (*RTPStats) GetLayerLockPlis

func (x *RTPStats) GetLayerLockPlis() uint32

func (*RTPStats) GetNackAcks

func (x *RTPStats) GetNackAcks() uint32

func (*RTPStats) GetNackMisses

func (x *RTPStats) GetNackMisses() uint32

func (*RTPStats) GetNackRepeated

func (x *RTPStats) GetNackRepeated() uint32

func (*RTPStats) GetNacks

func (x *RTPStats) GetNacks() uint32

func (*RTPStats) GetPacketDuplicateRate

func (x *RTPStats) GetPacketDuplicateRate() float64

func (*RTPStats) GetPacketLossPercentage

func (x *RTPStats) GetPacketLossPercentage() float32

func (*RTPStats) GetPacketLossRate

func (x *RTPStats) GetPacketLossRate() float64

func (*RTPStats) GetPacketPaddingRate

func (x *RTPStats) GetPacketPaddingRate() float64

func (*RTPStats) GetPacketRate

func (x *RTPStats) GetPacketRate() float64

func (*RTPStats) GetPackets

func (x *RTPStats) GetPackets() uint32

func (*RTPStats) GetPacketsDuplicate

func (x *RTPStats) GetPacketsDuplicate() uint32

func (*RTPStats) GetPacketsLost

func (x *RTPStats) GetPacketsLost() uint32

func (*RTPStats) GetPacketsOutOfOrder

func (x *RTPStats) GetPacketsOutOfOrder() uint32

func (*RTPStats) GetPacketsPadding

func (x *RTPStats) GetPacketsPadding() uint32

func (*RTPStats) GetPlis

func (x *RTPStats) GetPlis() uint32

func (*RTPStats) GetRttCurrent

func (x *RTPStats) GetRttCurrent() uint32

func (*RTPStats) GetRttMax

func (x *RTPStats) GetRttMax() uint32

func (*RTPStats) GetStartTime

func (x *RTPStats) GetStartTime() *timestamppb.Timestamp

func (*RTPStats) ProtoMessage

func (*RTPStats) ProtoMessage()

func (*RTPStats) ProtoReflect

func (x *RTPStats) ProtoReflect() protoreflect.Message

func (*RTPStats) Reset

func (x *RTPStats) Reset()

func (*RTPStats) String

func (x *RTPStats) String() string

type RemoveParticipant

type RemoveParticipant struct {
	ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveParticipant) Descriptor deprecated

func (*RemoveParticipant) Descriptor() ([]byte, []int)

Deprecated: Use RemoveParticipant.ProtoReflect.Descriptor instead.

func (*RemoveParticipant) GetParticipantId

func (x *RemoveParticipant) GetParticipantId() string

func (*RemoveParticipant) ProtoMessage

func (*RemoveParticipant) ProtoMessage()

func (*RemoveParticipant) ProtoReflect

func (x *RemoveParticipant) ProtoReflect() protoreflect.Message

func (*RemoveParticipant) Reset

func (x *RemoveParticipant) Reset()

func (*RemoveParticipant) String

func (x *RemoveParticipant) String() string

type RemoveParticipantResponse

type RemoveParticipantResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveParticipantResponse) Descriptor deprecated

func (*RemoveParticipantResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveParticipantResponse.ProtoReflect.Descriptor instead.

func (*RemoveParticipantResponse) ProtoMessage

func (*RemoveParticipantResponse) ProtoMessage()

func (*RemoveParticipantResponse) ProtoReflect

func (*RemoveParticipantResponse) Reset

func (x *RemoveParticipantResponse) Reset()

func (*RemoveParticipantResponse) String

func (x *RemoveParticipantResponse) String() string

type Room

type Room struct {
	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"`
	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"`
	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"`
	ActiveRecording bool     `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"`
	// contains filtered or unexported fields
}

func (*Room) Descriptor deprecated

func (*Room) Descriptor() ([]byte, []int)

Deprecated: Use Room.ProtoReflect.Descriptor instead.

func (*Room) GetActiveRecording

func (x *Room) GetActiveRecording() bool

func (*Room) GetCreationTime

func (x *Room) GetCreationTime() int64

func (*Room) GetEmptyTimeout

func (x *Room) GetEmptyTimeout() uint32

func (*Room) GetEnabledCodecs

func (x *Room) GetEnabledCodecs() []*Codec

func (*Room) GetMaxParticipants

func (x *Room) GetMaxParticipants() uint32

func (*Room) GetMetadata

func (x *Room) GetMetadata() string

func (*Room) GetName

func (x *Room) GetName() string

func (*Room) GetNumParticipants

func (x *Room) GetNumParticipants() uint32

func (*Room) GetSid

func (x *Room) GetSid() string

func (*Room) GetTurnPassword

func (x *Room) GetTurnPassword() string

func (*Room) ProtoMessage

func (*Room) ProtoMessage()

func (*Room) ProtoReflect

func (x *Room) ProtoReflect() protoreflect.Message

func (*Room) Reset

func (x *Room) Reset()

func (*Room) String

func (x *Room) String() string

type RoomCompositeEgressRequest

type RoomCompositeEgressRequest struct {
	RoomName      string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`                  // required
	Layout        string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"`                                      // (optional)
	AudioOnly     bool   `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"`              // (default false)
	VideoOnly     bool   `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"`              // (default false)
	CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // (default https://recorder.livekit.io)
	// Types that are assignable to Output:
	//	*RoomCompositeEgressRequest_File
	//	*RoomCompositeEgressRequest_Stream
	//	*RoomCompositeEgressRequest_Segments
	Output isRoomCompositeEgressRequest_Output `protobuf_oneof:"output"`
	// Types that are assignable to Options:
	//	*RoomCompositeEgressRequest_Preset
	//	*RoomCompositeEgressRequest_Advanced
	Options isRoomCompositeEgressRequest_Options `protobuf_oneof:"options"`
	// contains filtered or unexported fields
}

composite using a web browser

func (*RoomCompositeEgressRequest) Descriptor deprecated

func (*RoomCompositeEgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use RoomCompositeEgressRequest.ProtoReflect.Descriptor instead.

func (*RoomCompositeEgressRequest) GetAdvanced

func (x *RoomCompositeEgressRequest) GetAdvanced() *EncodingOptions

func (*RoomCompositeEgressRequest) GetAudioOnly

func (x *RoomCompositeEgressRequest) GetAudioOnly() bool

func (*RoomCompositeEgressRequest) GetCustomBaseUrl

func (x *RoomCompositeEgressRequest) GetCustomBaseUrl() string

func (*RoomCompositeEgressRequest) GetFile

func (*RoomCompositeEgressRequest) GetLayout

func (x *RoomCompositeEgressRequest) GetLayout() string

func (*RoomCompositeEgressRequest) GetOptions

func (m *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options

func (*RoomCompositeEgressRequest) GetOutput

func (m *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output

func (*RoomCompositeEgressRequest) GetPreset

func (*RoomCompositeEgressRequest) GetRoomName

func (x *RoomCompositeEgressRequest) GetRoomName() string

func (*RoomCompositeEgressRequest) GetSegments

func (*RoomCompositeEgressRequest) GetStream

func (x *RoomCompositeEgressRequest) GetStream() *StreamOutput

func (*RoomCompositeEgressRequest) GetVideoOnly

func (x *RoomCompositeEgressRequest) GetVideoOnly() bool

func (*RoomCompositeEgressRequest) ProtoMessage

func (*RoomCompositeEgressRequest) ProtoMessage()

func (*RoomCompositeEgressRequest) ProtoReflect

func (*RoomCompositeEgressRequest) Reset

func (x *RoomCompositeEgressRequest) Reset()

func (*RoomCompositeEgressRequest) String

func (x *RoomCompositeEgressRequest) String() string

type RoomCompositeEgressRequest_Advanced

type RoomCompositeEgressRequest_Advanced struct {
	Advanced *EncodingOptions `protobuf:"bytes,9,opt,name=advanced,proto3,oneof"` // (optional)
}

type RoomCompositeEgressRequest_File

type RoomCompositeEgressRequest_File struct {
	File *EncodedFileOutput `protobuf:"bytes,6,opt,name=file,proto3,oneof"`
}

type RoomCompositeEgressRequest_Preset

type RoomCompositeEgressRequest_Preset struct {
	Preset EncodingOptionsPreset `protobuf:"varint,8,opt,name=preset,proto3,enum=livekit.EncodingOptionsPreset,oneof"` // (default H264_720P_30)
}

type RoomCompositeEgressRequest_Segments

type RoomCompositeEgressRequest_Segments struct {
	Segments *SegmentedFileOutput `protobuf:"bytes,10,opt,name=segments,proto3,oneof"`
}

type RoomCompositeEgressRequest_Stream

type RoomCompositeEgressRequest_Stream struct {
	Stream *StreamOutput `protobuf:"bytes,7,opt,name=stream,proto3,oneof"`
}

type RoomEgress

type RoomEgress struct {
	Room   *livekit.RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Tracks *AutoTrackEgress                    `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"`
	// contains filtered or unexported fields
}

func (*RoomEgress) Descriptor deprecated

func (*RoomEgress) Descriptor() ([]byte, []int)

Deprecated: Use RoomEgress.ProtoReflect.Descriptor instead.

func (*RoomEgress) GetRoom

func (*RoomEgress) GetTracks

func (x *RoomEgress) GetTracks() *AutoTrackEgress

func (*RoomEgress) ProtoMessage

func (*RoomEgress) ProtoMessage()

func (*RoomEgress) ProtoReflect

func (x *RoomEgress) ProtoReflect() protoreflect.Message

func (*RoomEgress) Reset

func (x *RoomEgress) Reset()

func (*RoomEgress) String

func (x *RoomEgress) String() string

type RoomID

type RoomID string

type RoomInternal

type RoomInternal struct {
	TrackEgress *AutoTrackEgress `protobuf:"bytes,1,opt,name=track_egress,json=trackEgress,proto3" json:"track_egress,omitempty"`
	// contains filtered or unexported fields
}

room info that should not be returned to clients

func (*RoomInternal) Descriptor deprecated

func (*RoomInternal) Descriptor() ([]byte, []int)

Deprecated: Use RoomInternal.ProtoReflect.Descriptor instead.

func (*RoomInternal) GetTrackEgress

func (x *RoomInternal) GetTrackEgress() *AutoTrackEgress

func (*RoomInternal) ProtoMessage

func (*RoomInternal) ProtoMessage()

func (*RoomInternal) ProtoReflect

func (x *RoomInternal) ProtoReflect() protoreflect.Message

func (*RoomInternal) Reset

func (x *RoomInternal) Reset()

func (*RoomInternal) String

func (x *RoomInternal) String() string

type RoomName

type RoomName string

func StringsAsRoomNames

func StringsAsRoomNames(roomNames []string) []RoomName

type RoomParticipantIdentity

type RoomParticipantIdentity struct {

	// name of the room
	Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	// identity of the participant
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*RoomParticipantIdentity) Descriptor deprecated

func (*RoomParticipantIdentity) Descriptor() ([]byte, []int)

Deprecated: Use RoomParticipantIdentity.ProtoReflect.Descriptor instead.

func (*RoomParticipantIdentity) GetIdentity

func (x *RoomParticipantIdentity) GetIdentity() string

func (*RoomParticipantIdentity) GetRoom

func (x *RoomParticipantIdentity) GetRoom() string

func (*RoomParticipantIdentity) ProtoMessage

func (*RoomParticipantIdentity) ProtoMessage()

func (*RoomParticipantIdentity) ProtoReflect

func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message

func (*RoomParticipantIdentity) Reset

func (x *RoomParticipantIdentity) Reset()

func (*RoomParticipantIdentity) String

func (x *RoomParticipantIdentity) String() string

type RoomService

type RoomService interface {
	// Creates a room with settings. Requires `roomCreate` permission.
	// This method is optional; rooms are automatically created when clients connect to them for the first time.
	CreateRoom(context.Context, *CreateRoomRequest) (*Room, error)

	// List rooms that are active on the server. Requires `roomList` permission.
	ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error)

	// Deletes an existing room by name or id. Requires `roomCreate` permission.
	// DeleteRoom will disconnect all participants that are currently in the room.
	DeleteRoom(context.Context, *DeleteRoomRequest) (*DeleteRoomResponse, error)

	// Lists participants in a room, Requires `roomAdmin`
	ListParticipants(context.Context, *ListParticipantsRequest) (*ListParticipantsResponse, error)

	// Get information on a specific participant, Requires `roomAdmin`
	GetParticipant(context.Context, *RoomParticipantIdentity) (*ParticipantInfo, error)

	// Removes a participant from room. Requires `roomAdmin`
	RemoveParticipant(context.Context, *RoomParticipantIdentity) (*RemoveParticipantResponse, error)

	// Mute/unmute a participant's track, Requires `roomAdmin`
	MutePublishedTrack(context.Context, *MuteRoomTrackRequest) (*MuteRoomTrackResponse, error)

	// Update participant metadata, will cause updates to be broadcasted to everyone in the room. Requires `roomAdmin`
	UpdateParticipant(context.Context, *UpdateParticipantRequest) (*ParticipantInfo, error)

	// Subscribes or unsubscribe a participant from tracks. Requires `roomAdmin`
	UpdateSubscriptions(context.Context, *UpdateSubscriptionsRequest) (*UpdateSubscriptionsResponse, error)

	// Send data over data channel to participants in a room, Requires `roomAdmin`
	SendData(context.Context, *SendDataRequest) (*SendDataResponse, error)

	// Update room metadata, will cause updates to be broadcasted to everyone in the room, Requires `roomAdmin`
	UpdateRoomMetadata(context.Context, *UpdateRoomMetadataRequest) (*Room, error)
}

Room service that can be performed on any node they are Twirp-based HTTP req/responses

func NewRoomServiceJSONClient

func NewRoomServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RoomService

NewRoomServiceJSONClient creates a JSON client that implements the RoomService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRoomServiceProtobufClient

func NewRoomServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RoomService

NewRoomServiceProtobufClient creates a Protobuf client that implements the RoomService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RoomUpdate

type RoomUpdate struct {
	Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	// contains filtered or unexported fields
}

func (*RoomUpdate) Descriptor deprecated

func (*RoomUpdate) Descriptor() ([]byte, []int)

Deprecated: Use RoomUpdate.ProtoReflect.Descriptor instead.

func (*RoomUpdate) GetRoom

func (x *RoomUpdate) GetRoom() *Room

func (*RoomUpdate) ProtoMessage

func (*RoomUpdate) ProtoMessage()

func (*RoomUpdate) ProtoReflect

func (x *RoomUpdate) ProtoReflect() protoreflect.Message

func (*RoomUpdate) Reset

func (x *RoomUpdate) Reset()

func (*RoomUpdate) String

func (x *RoomUpdate) String() string

type S3Upload

type S3Upload struct {
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	Secret    string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Region    string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	Endpoint  string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Bucket    string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*S3Upload) Descriptor deprecated

func (*S3Upload) Descriptor() ([]byte, []int)

Deprecated: Use S3Upload.ProtoReflect.Descriptor instead.

func (*S3Upload) GetAccessKey

func (x *S3Upload) GetAccessKey() string

func (*S3Upload) GetBucket

func (x *S3Upload) GetBucket() string

func (*S3Upload) GetEndpoint

func (x *S3Upload) GetEndpoint() string

func (*S3Upload) GetRegion

func (x *S3Upload) GetRegion() string

func (*S3Upload) GetSecret

func (x *S3Upload) GetSecret() string

func (*S3Upload) ProtoMessage

func (*S3Upload) ProtoMessage()

func (*S3Upload) ProtoReflect

func (x *S3Upload) ProtoReflect() protoreflect.Message

func (*S3Upload) Reset

func (x *S3Upload) Reset()

func (*S3Upload) String

func (x *S3Upload) String() string

type SegmentedFileOutput

type SegmentedFileOutput struct {
	Protocol        SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"`   // (optional)
	FilenamePrefix  string                `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"`     // (optional)
	PlaylistName    string                `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"`           // (optional)
	SegmentDuration uint32                `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // (optional)
	// Types that are assignable to Output:
	//	*SegmentedFileOutput_S3
	//	*SegmentedFileOutput_Gcp
	//	*SegmentedFileOutput_Azure
	//	*SegmentedFileOutput_Ali
	Output isSegmentedFileOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

Used to generate HLS segments or other kind of segmented output

func (*SegmentedFileOutput) Descriptor deprecated

func (*SegmentedFileOutput) Descriptor() ([]byte, []int)

Deprecated: Use SegmentedFileOutput.ProtoReflect.Descriptor instead.

func (*SegmentedFileOutput) GetAli

func (x *SegmentedFileOutput) GetAli() *ALIUpload

func (*SegmentedFileOutput) GetAzure

func (x *SegmentedFileOutput) GetAzure() *AzureBlobUpload

func (*SegmentedFileOutput) GetFilenamePrefix

func (x *SegmentedFileOutput) GetFilenamePrefix() string

func (*SegmentedFileOutput) GetGcp

func (x *SegmentedFileOutput) GetGcp() *GCPUpload

func (*SegmentedFileOutput) GetOutput

func (m *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output

func (*SegmentedFileOutput) GetPlaylistName

func (x *SegmentedFileOutput) GetPlaylistName() string

func (*SegmentedFileOutput) GetProtocol

func (x *SegmentedFileOutput) GetProtocol() SegmentedFileProtocol

func (*SegmentedFileOutput) GetS3

func (x *SegmentedFileOutput) GetS3() *S3Upload

func (*SegmentedFileOutput) GetSegmentDuration

func (x *SegmentedFileOutput) GetSegmentDuration() uint32

func (*SegmentedFileOutput) ProtoMessage

func (*SegmentedFileOutput) ProtoMessage()

func (*SegmentedFileOutput) ProtoReflect

func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message

func (*SegmentedFileOutput) Reset

func (x *SegmentedFileOutput) Reset()

func (*SegmentedFileOutput) String

func (x *SegmentedFileOutput) String() string

type SegmentedFileOutput_Ali

type SegmentedFileOutput_Ali struct {
	Ali *ALIUpload `protobuf:"bytes,8,opt,name=ali,proto3,oneof"`
}

type SegmentedFileOutput_Azure

type SegmentedFileOutput_Azure struct {
	Azure *AzureBlobUpload `protobuf:"bytes,7,opt,name=azure,proto3,oneof"`
}

type SegmentedFileOutput_Gcp

type SegmentedFileOutput_Gcp struct {
	Gcp *GCPUpload `protobuf:"bytes,6,opt,name=gcp,proto3,oneof"`
}

type SegmentedFileOutput_S3

type SegmentedFileOutput_S3 struct {
	S3 *S3Upload `protobuf:"bytes,5,opt,name=s3,proto3,oneof"`
}

type SegmentedFileProtocol

type SegmentedFileProtocol int32
const (
	SegmentedFileProtocol_DEFAULT_SEGMENTED_FILE_PROTOCOL SegmentedFileProtocol = 0
	SegmentedFileProtocol_HLS_PROTOCOL                    SegmentedFileProtocol = 1
)

func (SegmentedFileProtocol) Descriptor

func (SegmentedFileProtocol) Enum

func (SegmentedFileProtocol) EnumDescriptor deprecated

func (SegmentedFileProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use SegmentedFileProtocol.Descriptor instead.

func (SegmentedFileProtocol) Number

func (SegmentedFileProtocol) String

func (x SegmentedFileProtocol) String() string

func (SegmentedFileProtocol) Type

type SegmentsInfo

type SegmentsInfo struct {
	PlaylistName     string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"`
	Duration         int64  `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Size             int64  `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"`
	SegmentCount     int64  `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentsInfo) Descriptor deprecated

func (*SegmentsInfo) Descriptor() ([]byte, []int)

Deprecated: Use SegmentsInfo.ProtoReflect.Descriptor instead.

func (*SegmentsInfo) GetDuration

func (x *SegmentsInfo) GetDuration() int64

func (*SegmentsInfo) GetPlaylistLocation

func (x *SegmentsInfo) GetPlaylistLocation() string

func (*SegmentsInfo) GetPlaylistName

func (x *SegmentsInfo) GetPlaylistName() string

func (*SegmentsInfo) GetSegmentCount

func (x *SegmentsInfo) GetSegmentCount() int64

func (*SegmentsInfo) GetSize

func (x *SegmentsInfo) GetSize() int64

func (*SegmentsInfo) ProtoMessage

func (*SegmentsInfo) ProtoMessage()

func (*SegmentsInfo) ProtoReflect

func (x *SegmentsInfo) ProtoReflect() protoreflect.Message

func (*SegmentsInfo) Reset

func (x *SegmentsInfo) Reset()

func (*SegmentsInfo) String

func (x *SegmentsInfo) String() string

type SendDataRequest

type SendDataRequest struct {
	Room            string          `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Data            []byte          `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Kind            DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"`
	DestinationSids []string        `protobuf:"bytes,4,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"`
	// contains filtered or unexported fields
}

func (*SendDataRequest) Descriptor deprecated

func (*SendDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendDataRequest.ProtoReflect.Descriptor instead.

func (*SendDataRequest) GetData

func (x *SendDataRequest) GetData() []byte

func (*SendDataRequest) GetDestinationSids

func (x *SendDataRequest) GetDestinationSids() []string

func (*SendDataRequest) GetKind

func (x *SendDataRequest) GetKind() DataPacket_Kind

func (*SendDataRequest) GetRoom

func (x *SendDataRequest) GetRoom() string

func (*SendDataRequest) ProtoMessage

func (*SendDataRequest) ProtoMessage()

func (*SendDataRequest) ProtoReflect

func (x *SendDataRequest) ProtoReflect() protoreflect.Message

func (*SendDataRequest) Reset

func (x *SendDataRequest) Reset()

func (*SendDataRequest) String

func (x *SendDataRequest) String() string

type SendDataResponse

type SendDataResponse struct {
	// contains filtered or unexported fields
}

func (*SendDataResponse) Descriptor deprecated

func (*SendDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendDataResponse.ProtoReflect.Descriptor instead.

func (*SendDataResponse) ProtoMessage

func (*SendDataResponse) ProtoMessage()

func (*SendDataResponse) ProtoReflect

func (x *SendDataResponse) ProtoReflect() protoreflect.Message

func (*SendDataResponse) Reset

func (x *SendDataResponse) Reset()

func (*SendDataResponse) String

func (x *SendDataResponse) String() string

type ServerInfo

type ServerInfo struct {
	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"`
	// additional debugging information. sent only if server is in development mode
	DebugInfo string `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
	// contains filtered or unexported fields
}

details about the server

func (*ServerInfo) Descriptor deprecated

func (*ServerInfo) Descriptor() ([]byte, []int)

Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.

func (*ServerInfo) GetDebugInfo

func (x *ServerInfo) GetDebugInfo() string

func (*ServerInfo) GetEdition

func (x *ServerInfo) GetEdition() ServerInfo_Edition

func (*ServerInfo) GetNodeId

func (x *ServerInfo) GetNodeId() string

func (*ServerInfo) GetProtocol

func (x *ServerInfo) GetProtocol() int32

func (*ServerInfo) GetRegion

func (x *ServerInfo) GetRegion() string

func (*ServerInfo) GetVersion

func (x *ServerInfo) GetVersion() string

func (*ServerInfo) ProtoMessage

func (*ServerInfo) ProtoMessage()

func (*ServerInfo) ProtoReflect

func (x *ServerInfo) ProtoReflect() protoreflect.Message

func (*ServerInfo) Reset

func (x *ServerInfo) Reset()

func (*ServerInfo) String

func (x *ServerInfo) String() string

type ServerInfo_Edition

type ServerInfo_Edition int32
const (
	ServerInfo_Standard ServerInfo_Edition = 0
	ServerInfo_Cloud    ServerInfo_Edition = 1
)

func (ServerInfo_Edition) Descriptor

func (ServerInfo_Edition) Enum

func (ServerInfo_Edition) EnumDescriptor deprecated

func (ServerInfo_Edition) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServerInfo_Edition.Descriptor instead.

func (ServerInfo_Edition) Number

func (ServerInfo_Edition) String

func (x ServerInfo_Edition) String() string

func (ServerInfo_Edition) Type

type SessionDescription

type SessionDescription struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback"
	Sdp  string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionDescription) Descriptor deprecated

func (*SessionDescription) Descriptor() ([]byte, []int)

Deprecated: Use SessionDescription.ProtoReflect.Descriptor instead.

func (*SessionDescription) GetSdp

func (x *SessionDescription) GetSdp() string

func (*SessionDescription) GetType

func (x *SessionDescription) GetType() string

func (*SessionDescription) ProtoMessage

func (*SessionDescription) ProtoMessage()

func (*SessionDescription) ProtoReflect

func (x *SessionDescription) ProtoReflect() protoreflect.Message

func (*SessionDescription) Reset

func (x *SessionDescription) Reset()

func (*SessionDescription) String

func (x *SessionDescription) String() string

type SignalNodeMessage

type SignalNodeMessage struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// Types that are assignable to Message:
	//	*SignalNodeMessage_Response
	//	*SignalNodeMessage_EndSession
	Message isSignalNodeMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

message to Signal nodes

func (*SignalNodeMessage) Descriptor deprecated

func (*SignalNodeMessage) Descriptor() ([]byte, []int)

Deprecated: Use SignalNodeMessage.ProtoReflect.Descriptor instead.

func (*SignalNodeMessage) GetConnectionId

func (x *SignalNodeMessage) GetConnectionId() string

func (*SignalNodeMessage) GetEndSession

func (x *SignalNodeMessage) GetEndSession() *EndSession

func (*SignalNodeMessage) GetMessage

func (m *SignalNodeMessage) GetMessage() isSignalNodeMessage_Message

func (*SignalNodeMessage) GetResponse

func (x *SignalNodeMessage) GetResponse() *SignalResponse

func (*SignalNodeMessage) ProtoMessage

func (*SignalNodeMessage) ProtoMessage()

func (*SignalNodeMessage) ProtoReflect

func (x *SignalNodeMessage) ProtoReflect() protoreflect.Message

func (*SignalNodeMessage) Reset

func (x *SignalNodeMessage) Reset()

func (*SignalNodeMessage) String

func (x *SignalNodeMessage) String() string

type SignalNodeMessage_EndSession

type SignalNodeMessage_EndSession struct {
	EndSession *EndSession `protobuf:"bytes,3,opt,name=end_session,json=endSession,proto3,oneof"`
}

type SignalNodeMessage_Response

type SignalNodeMessage_Response struct {
	Response *SignalResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}

type SignalRequest

type SignalRequest struct {

	// Types that are assignable to Message:
	//	*SignalRequest_Offer
	//	*SignalRequest_Answer
	//	*SignalRequest_Trickle
	//	*SignalRequest_AddTrack
	//	*SignalRequest_Mute
	//	*SignalRequest_Subscription
	//	*SignalRequest_TrackSetting
	//	*SignalRequest_Leave
	//	*SignalRequest_UpdateLayers
	//	*SignalRequest_SubscriptionPermission
	//	*SignalRequest_SyncState
	//	*SignalRequest_Simulate
	//	*SignalRequest_Ping
	Message isSignalRequest_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*SignalRequest) Descriptor deprecated

func (*SignalRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignalRequest.ProtoReflect.Descriptor instead.

func (*SignalRequest) GetAddTrack

func (x *SignalRequest) GetAddTrack() *AddTrackRequest

func (*SignalRequest) GetAnswer

func (x *SignalRequest) GetAnswer() *SessionDescription

func (*SignalRequest) GetLeave

func (x *SignalRequest) GetLeave() *LeaveRequest

func (*SignalRequest) GetMessage

func (m *SignalRequest) GetMessage() isSignalRequest_Message

func (*SignalRequest) GetMute

func (x *SignalRequest) GetMute() *MuteTrackRequest

func (*SignalRequest) GetOffer

func (x *SignalRequest) GetOffer() *SessionDescription

func (*SignalRequest) GetPing

func (x *SignalRequest) GetPing() int64

func (*SignalRequest) GetSimulate

func (x *SignalRequest) GetSimulate() *SimulateScenario

func (*SignalRequest) GetSubscription

func (x *SignalRequest) GetSubscription() *UpdateSubscription

func (*SignalRequest) GetSubscriptionPermission

func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission

func (*SignalRequest) GetSyncState

func (x *SignalRequest) GetSyncState() *SyncState

func (*SignalRequest) GetTrackSetting

func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings

func (*SignalRequest) GetTrickle

func (x *SignalRequest) GetTrickle() *TrickleRequest

func (*SignalRequest) GetUpdateLayers

func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers

func (*SignalRequest) ProtoMessage

func (*SignalRequest) ProtoMessage()

func (*SignalRequest) ProtoReflect

func (x *SignalRequest) ProtoReflect() protoreflect.Message

func (*SignalRequest) Reset

func (x *SignalRequest) Reset()

func (*SignalRequest) String

func (x *SignalRequest) String() string

type SignalRequest_AddTrack

type SignalRequest_AddTrack struct {
	AddTrack *AddTrackRequest `protobuf:"bytes,4,opt,name=add_track,json=addTrack,proto3,oneof"`
}

type SignalRequest_Answer

type SignalRequest_Answer struct {
	// participant answering publisher offer
	Answer *SessionDescription `protobuf:"bytes,2,opt,name=answer,proto3,oneof"`
}

type SignalRequest_Leave

type SignalRequest_Leave struct {
	// Immediately terminate session
	Leave *LeaveRequest `protobuf:"bytes,8,opt,name=leave,proto3,oneof"`
}

type SignalRequest_Mute

type SignalRequest_Mute struct {
	// mute the participant's published tracks
	Mute *MuteTrackRequest `protobuf:"bytes,5,opt,name=mute,proto3,oneof"`
}

type SignalRequest_Offer

type SignalRequest_Offer struct {
	// initial join exchange, for publisher
	Offer *SessionDescription `protobuf:"bytes,1,opt,name=offer,proto3,oneof"`
}

type SignalRequest_Ping

type SignalRequest_Ping struct {
	// client triggered ping to server
	Ping int64 `protobuf:"varint,14,opt,name=ping,proto3,oneof"`
}

type SignalRequest_Simulate

type SignalRequest_Simulate struct {
	// Simulate conditions, for client validations
	Simulate *SimulateScenario `protobuf:"bytes,13,opt,name=simulate,proto3,oneof"`
}

type SignalRequest_Subscription

type SignalRequest_Subscription struct {
	// Subscribe or unsubscribe from tracks
	Subscription *UpdateSubscription `protobuf:"bytes,6,opt,name=subscription,proto3,oneof"`
}

type SignalRequest_SubscriptionPermission

type SignalRequest_SubscriptionPermission struct {
	// Update subscriber permissions
	SubscriptionPermission *SubscriptionPermission `protobuf:"bytes,11,opt,name=subscription_permission,json=subscriptionPermission,proto3,oneof"`
}

type SignalRequest_SyncState

type SignalRequest_SyncState struct {
	// sync client's subscribe state to server during reconnect
	SyncState *SyncState `protobuf:"bytes,12,opt,name=sync_state,json=syncState,proto3,oneof"`
}

type SignalRequest_TrackSetting

type SignalRequest_TrackSetting struct {
	// Update settings of subscribed tracks
	TrackSetting *UpdateTrackSettings `protobuf:"bytes,7,opt,name=track_setting,json=trackSetting,proto3,oneof"`
}

type SignalRequest_Trickle

type SignalRequest_Trickle struct {
	Trickle *TrickleRequest `protobuf:"bytes,3,opt,name=trickle,proto3,oneof"`
}

type SignalRequest_UpdateLayers

type SignalRequest_UpdateLayers struct {
	// Set active published layers, deprecated in favor of automatic tracking
	//    SetSimulcastLayers simulcast = 9;
	// Update published video layers
	UpdateLayers *UpdateVideoLayers `protobuf:"bytes,10,opt,name=update_layers,json=updateLayers,proto3,oneof"`
}

type SignalResponse

type SignalResponse struct {

	// Types that are assignable to Message:
	//	*SignalResponse_Join
	//	*SignalResponse_Answer
	//	*SignalResponse_Offer
	//	*SignalResponse_Trickle
	//	*SignalResponse_Update
	//	*SignalResponse_TrackPublished
	//	*SignalResponse_Leave
	//	*SignalResponse_Mute
	//	*SignalResponse_SpeakersChanged
	//	*SignalResponse_RoomUpdate
	//	*SignalResponse_ConnectionQuality
	//	*SignalResponse_StreamStateUpdate
	//	*SignalResponse_SubscribedQualityUpdate
	//	*SignalResponse_SubscriptionPermissionUpdate
	//	*SignalResponse_RefreshToken
	//	*SignalResponse_TrackUnpublished
	//	*SignalResponse_Pong
	Message isSignalResponse_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*SignalResponse) Descriptor deprecated

func (*SignalResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignalResponse.ProtoReflect.Descriptor instead.

func (*SignalResponse) GetAnswer

func (x *SignalResponse) GetAnswer() *SessionDescription

func (*SignalResponse) GetConnectionQuality

func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate

func (*SignalResponse) GetJoin

func (x *SignalResponse) GetJoin() *JoinResponse

func (*SignalResponse) GetLeave

func (x *SignalResponse) GetLeave() *LeaveRequest

func (*SignalResponse) GetMessage

func (m *SignalResponse) GetMessage() isSignalResponse_Message

func (*SignalResponse) GetMute

func (x *SignalResponse) GetMute() *MuteTrackRequest

func (*SignalResponse) GetOffer

func (x *SignalResponse) GetOffer() *SessionDescription

func (*SignalResponse) GetPong

func (x *SignalResponse) GetPong() int64

func (*SignalResponse) GetRefreshToken

func (x *SignalResponse) GetRefreshToken() string

func (*SignalResponse) GetRoomUpdate

func (x *SignalResponse) GetRoomUpdate() *RoomUpdate

func (*SignalResponse) GetSpeakersChanged

func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged

func (*SignalResponse) GetStreamStateUpdate

func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate

func (*SignalResponse) GetSubscribedQualityUpdate

func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate

func (*SignalResponse) GetSubscriptionPermissionUpdate

func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate

func (*SignalResponse) GetTrackPublished

func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse

func (*SignalResponse) GetTrackUnpublished

func (x *SignalResponse) GetTrackUnpublished() *TrackUnpublishedResponse

func (*SignalResponse) GetTrickle

func (x *SignalResponse) GetTrickle() *TrickleRequest

func (*SignalResponse) GetUpdate

func (x *SignalResponse) GetUpdate() *ParticipantUpdate

func (*SignalResponse) ProtoMessage

func (*SignalResponse) ProtoMessage()

func (*SignalResponse) ProtoReflect

func (x *SignalResponse) ProtoReflect() protoreflect.Message

func (*SignalResponse) Reset

func (x *SignalResponse) Reset()

func (*SignalResponse) String

func (x *SignalResponse) String() string

type SignalResponse_Answer

type SignalResponse_Answer struct {
	// sent when server answers publisher
	Answer *SessionDescription `protobuf:"bytes,2,opt,name=answer,proto3,oneof"`
}

type SignalResponse_ConnectionQuality

type SignalResponse_ConnectionQuality struct {
	// when connection quality changed
	ConnectionQuality *ConnectionQualityUpdate `protobuf:"bytes,12,opt,name=connection_quality,json=connectionQuality,proto3,oneof"`
}

type SignalResponse_Join

type SignalResponse_Join struct {
	// sent when join is accepted
	Join *JoinResponse `protobuf:"bytes,1,opt,name=join,proto3,oneof"`
}

type SignalResponse_Leave

type SignalResponse_Leave struct {
	// Immediately terminate session
	Leave *LeaveRequest `protobuf:"bytes,8,opt,name=leave,proto3,oneof"`
}

type SignalResponse_Mute

type SignalResponse_Mute struct {
	// server initiated mute
	Mute *MuteTrackRequest `protobuf:"bytes,9,opt,name=mute,proto3,oneof"`
}

type SignalResponse_Offer

type SignalResponse_Offer struct {
	// sent when server is sending subscriber an offer
	Offer *SessionDescription `protobuf:"bytes,3,opt,name=offer,proto3,oneof"`
}

type SignalResponse_Pong

type SignalResponse_Pong struct {
	// respond to ping
	Pong int64 `protobuf:"varint,18,opt,name=pong,proto3,oneof"`
}

type SignalResponse_RefreshToken

type SignalResponse_RefreshToken struct {
	// update the token the client was using, to prevent an active client from using an expired token
	RefreshToken string `protobuf:"bytes,16,opt,name=refresh_token,json=refreshToken,proto3,oneof"`
}

type SignalResponse_RoomUpdate

type SignalResponse_RoomUpdate struct {
	// sent when metadata of the room has changed
	RoomUpdate *RoomUpdate `protobuf:"bytes,11,opt,name=room_update,json=roomUpdate,proto3,oneof"`
}

type SignalResponse_SpeakersChanged

type SignalResponse_SpeakersChanged struct {
	// indicates changes to speaker status, including when they've gone to not speaking
	SpeakersChanged *SpeakersChanged `protobuf:"bytes,10,opt,name=speakers_changed,json=speakersChanged,proto3,oneof"`
}

type SignalResponse_StreamStateUpdate

type SignalResponse_StreamStateUpdate struct {
	// when streamed tracks state changed, used to notify when any of the streams were paused due to
	// congestion
	StreamStateUpdate *StreamStateUpdate `protobuf:"bytes,13,opt,name=stream_state_update,json=streamStateUpdate,proto3,oneof"`
}

type SignalResponse_SubscribedQualityUpdate

type SignalResponse_SubscribedQualityUpdate struct {
	// when max subscribe quality changed, used by dynamic broadcasting to disable unused layers
	SubscribedQualityUpdate *SubscribedQualityUpdate `protobuf:"bytes,14,opt,name=subscribed_quality_update,json=subscribedQualityUpdate,proto3,oneof"`
}

type SignalResponse_SubscriptionPermissionUpdate

type SignalResponse_SubscriptionPermissionUpdate struct {
	// when subscription permission changed
	SubscriptionPermissionUpdate *SubscriptionPermissionUpdate `protobuf:"bytes,15,opt,name=subscription_permission_update,json=subscriptionPermissionUpdate,proto3,oneof"`
}

type SignalResponse_TrackPublished

type SignalResponse_TrackPublished struct {
	// sent to the participant when their track has been published
	TrackPublished *TrackPublishedResponse `protobuf:"bytes,6,opt,name=track_published,json=trackPublished,proto3,oneof"`
}

type SignalResponse_TrackUnpublished

type SignalResponse_TrackUnpublished struct {
	// server initiated track unpublish
	TrackUnpublished *TrackUnpublishedResponse `protobuf:"bytes,17,opt,name=track_unpublished,json=trackUnpublished,proto3,oneof"`
}

type SignalResponse_Trickle

type SignalResponse_Trickle struct {
	// sent when an ICE candidate is available
	Trickle *TrickleRequest `protobuf:"bytes,4,opt,name=trickle,proto3,oneof"`
}

type SignalResponse_Update

type SignalResponse_Update struct {
	// sent when participants in the room has changed
	Update *ParticipantUpdate `protobuf:"bytes,5,opt,name=update,proto3,oneof"`
}

type SignalTarget

type SignalTarget int32
const (
	SignalTarget_PUBLISHER  SignalTarget = 0
	SignalTarget_SUBSCRIBER SignalTarget = 1
)

func (SignalTarget) Descriptor

func (SignalTarget) Enum

func (x SignalTarget) Enum() *SignalTarget

func (SignalTarget) EnumDescriptor deprecated

func (SignalTarget) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignalTarget.Descriptor instead.

func (SignalTarget) Number

func (SignalTarget) String

func (x SignalTarget) String() string

func (SignalTarget) Type

type SimulateScenario

type SimulateScenario struct {

	// Types that are assignable to Scenario:
	//	*SimulateScenario_SpeakerUpdate
	//	*SimulateScenario_NodeFailure
	//	*SimulateScenario_Migration
	//	*SimulateScenario_ServerLeave
	//	*SimulateScenario_SwitchCandidateProtocol
	Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"`
	// contains filtered or unexported fields
}

func (*SimulateScenario) Descriptor deprecated

func (*SimulateScenario) Descriptor() ([]byte, []int)

Deprecated: Use SimulateScenario.ProtoReflect.Descriptor instead.

func (*SimulateScenario) GetMigration

func (x *SimulateScenario) GetMigration() bool

func (*SimulateScenario) GetNodeFailure

func (x *SimulateScenario) GetNodeFailure() bool

func (*SimulateScenario) GetScenario

func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario

func (*SimulateScenario) GetServerLeave

func (x *SimulateScenario) GetServerLeave() bool

func (*SimulateScenario) GetSpeakerUpdate

func (x *SimulateScenario) GetSpeakerUpdate() int32

func (*SimulateScenario) GetSwitchCandidateProtocol

func (x *SimulateScenario) GetSwitchCandidateProtocol() CandidateProtocol

func (*SimulateScenario) ProtoMessage

func (*SimulateScenario) ProtoMessage()

func (*SimulateScenario) ProtoReflect

func (x *SimulateScenario) ProtoReflect() protoreflect.Message

func (*SimulateScenario) Reset

func (x *SimulateScenario) Reset()

func (*SimulateScenario) String

func (x *SimulateScenario) String() string

type SimulateScenario_Migration

type SimulateScenario_Migration struct {
	// simulate migration
	Migration bool `protobuf:"varint,3,opt,name=migration,proto3,oneof"`
}

type SimulateScenario_NodeFailure

type SimulateScenario_NodeFailure struct {
	// simulate local node failure
	NodeFailure bool `protobuf:"varint,2,opt,name=node_failure,json=nodeFailure,proto3,oneof"`
}

type SimulateScenario_ServerLeave

type SimulateScenario_ServerLeave struct {
	// server to send leave
	ServerLeave bool `protobuf:"varint,4,opt,name=server_leave,json=serverLeave,proto3,oneof"`
}

type SimulateScenario_SpeakerUpdate

type SimulateScenario_SpeakerUpdate struct {
	// simulate N seconds of speaker activity
	SpeakerUpdate int32 `protobuf:"varint,1,opt,name=speaker_update,json=speakerUpdate,proto3,oneof"`
}

type SimulateScenario_SwitchCandidateProtocol

type SimulateScenario_SwitchCandidateProtocol struct {
	// switch candidate protocol to tcp
	SwitchCandidateProtocol CandidateProtocol `` /* 127-byte string literal not displayed */
}

type SimulcastCodec

type SimulcastCodec struct {
	Codec                 string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	Cid                   string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	EnableSimulcastLayers bool   `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SimulcastCodec) Descriptor deprecated

func (*SimulcastCodec) Descriptor() ([]byte, []int)

Deprecated: Use SimulcastCodec.ProtoReflect.Descriptor instead.

func (*SimulcastCodec) GetCid

func (x *SimulcastCodec) GetCid() string

func (*SimulcastCodec) GetCodec

func (x *SimulcastCodec) GetCodec() string

func (*SimulcastCodec) GetEnableSimulcastLayers

func (x *SimulcastCodec) GetEnableSimulcastLayers() bool

func (*SimulcastCodec) ProtoMessage

func (*SimulcastCodec) ProtoMessage()

func (*SimulcastCodec) ProtoReflect

func (x *SimulcastCodec) ProtoReflect() protoreflect.Message

func (*SimulcastCodec) Reset

func (x *SimulcastCodec) Reset()

func (*SimulcastCodec) String

func (x *SimulcastCodec) String() string

type SimulcastCodecInfo

type SimulcastCodecInfo struct {
	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"`
	// contains filtered or unexported fields
}

func (*SimulcastCodecInfo) Descriptor deprecated

func (*SimulcastCodecInfo) Descriptor() ([]byte, []int)

Deprecated: Use SimulcastCodecInfo.ProtoReflect.Descriptor instead.

func (*SimulcastCodecInfo) GetCid

func (x *SimulcastCodecInfo) GetCid() string

func (*SimulcastCodecInfo) GetLayers

func (x *SimulcastCodecInfo) GetLayers() []*VideoLayer

func (*SimulcastCodecInfo) GetMid

func (x *SimulcastCodecInfo) GetMid() string

func (*SimulcastCodecInfo) GetMimeType

func (x *SimulcastCodecInfo) GetMimeType() string

func (*SimulcastCodecInfo) ProtoMessage

func (*SimulcastCodecInfo) ProtoMessage()

func (*SimulcastCodecInfo) ProtoReflect

func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message

func (*SimulcastCodecInfo) Reset

func (x *SimulcastCodecInfo) Reset()

func (*SimulcastCodecInfo) String

func (x *SimulcastCodecInfo) String() string

type SpeakerInfo

type SpeakerInfo struct {
	Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
	// audio level, 0-1.0, 1 is loudest
	Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"`
	// true if speaker is currently active
	Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*SpeakerInfo) Descriptor deprecated

func (*SpeakerInfo) Descriptor() ([]byte, []int)

Deprecated: Use SpeakerInfo.ProtoReflect.Descriptor instead.

func (*SpeakerInfo) GetActive

func (x *SpeakerInfo) GetActive() bool

func (*SpeakerInfo) GetLevel

func (x *SpeakerInfo) GetLevel() float32

func (*SpeakerInfo) GetSid

func (x *SpeakerInfo) GetSid() string

func (*SpeakerInfo) ProtoMessage

func (*SpeakerInfo) ProtoMessage()

func (*SpeakerInfo) ProtoReflect

func (x *SpeakerInfo) ProtoReflect() protoreflect.Message

func (*SpeakerInfo) Reset

func (x *SpeakerInfo) Reset()

func (*SpeakerInfo) String

func (x *SpeakerInfo) String() string

type SpeakersChanged

type SpeakersChanged struct {
	Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"`
	// contains filtered or unexported fields
}

func (*SpeakersChanged) Descriptor deprecated

func (*SpeakersChanged) Descriptor() ([]byte, []int)

Deprecated: Use SpeakersChanged.ProtoReflect.Descriptor instead.

func (*SpeakersChanged) GetSpeakers

func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo

func (*SpeakersChanged) ProtoMessage

func (*SpeakersChanged) ProtoMessage()

func (*SpeakersChanged) ProtoReflect

func (x *SpeakersChanged) ProtoReflect() protoreflect.Message

func (*SpeakersChanged) Reset

func (x *SpeakersChanged) Reset()

func (*SpeakersChanged) String

func (x *SpeakersChanged) String() string

type StartEgressRequest

type StartEgressRequest struct {

	// request metadata
	EgressId  string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	SenderId  string `protobuf:"bytes,10,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	SentAt    int64  `protobuf:"varint,4,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"`
	// request
	//
	// Types that are assignable to Request:
	//	*StartEgressRequest_RoomComposite
	//	*StartEgressRequest_TrackComposite
	//	*StartEgressRequest_Track
	Request isStartEgressRequest_Request `protobuf_oneof:"request"`
	// connection info
	RoomId string `protobuf:"bytes,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	Token  string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"`
	WsUrl  string `protobuf:"bytes,9,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
	// contains filtered or unexported fields
}

func (*StartEgressRequest) Descriptor deprecated

func (*StartEgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartEgressRequest.ProtoReflect.Descriptor instead.

func (*StartEgressRequest) GetEgressId

func (x *StartEgressRequest) GetEgressId() string

func (*StartEgressRequest) GetRequest

func (m *StartEgressRequest) GetRequest() isStartEgressRequest_Request

func (*StartEgressRequest) GetRequestId

func (x *StartEgressRequest) GetRequestId() string

func (*StartEgressRequest) GetRoomComposite

func (x *StartEgressRequest) GetRoomComposite() *livekit.RoomCompositeEgressRequest

func (*StartEgressRequest) GetRoomId

func (x *StartEgressRequest) GetRoomId() string

func (*StartEgressRequest) GetSenderId

func (x *StartEgressRequest) GetSenderId() string

func (*StartEgressRequest) GetSentAt

func (x *StartEgressRequest) GetSentAt() int64

func (*StartEgressRequest) GetToken

func (x *StartEgressRequest) GetToken() string

func (*StartEgressRequest) GetTrack

func (*StartEgressRequest) GetTrackComposite

func (x *StartEgressRequest) GetTrackComposite() *livekit.TrackCompositeEgressRequest

func (*StartEgressRequest) GetWsUrl

func (x *StartEgressRequest) GetWsUrl() string

func (*StartEgressRequest) ProtoMessage

func (*StartEgressRequest) ProtoMessage()

func (*StartEgressRequest) ProtoReflect

func (x *StartEgressRequest) ProtoReflect() protoreflect.Message

func (*StartEgressRequest) Reset

func (x *StartEgressRequest) Reset()

func (*StartEgressRequest) String

func (x *StartEgressRequest) String() string

type StartEgressRequest_RoomComposite

type StartEgressRequest_RoomComposite struct {
	RoomComposite *livekit.RoomCompositeEgressRequest `protobuf:"bytes,5,opt,name=room_composite,json=roomComposite,proto3,oneof"`
}

type StartEgressRequest_Track

type StartEgressRequest_Track struct {
	Track *livekit.TrackEgressRequest `protobuf:"bytes,7,opt,name=track,proto3,oneof"`
}

type StartEgressRequest_TrackComposite

type StartEgressRequest_TrackComposite struct {
	TrackComposite *livekit.TrackCompositeEgressRequest `protobuf:"bytes,6,opt,name=track_composite,json=trackComposite,proto3,oneof"`
}

type StartSession

type StartSession struct {
	RoomName     string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	Identity     string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// if a client is reconnecting (i.e. resume instead of restart)
	Reconnect     bool        `protobuf:"varint,4,opt,name=reconnect,proto3" json:"reconnect,omitempty"`
	AutoSubscribe bool        `protobuf:"varint,9,opt,name=auto_subscribe,json=autoSubscribe,proto3" json:"auto_subscribe,omitempty"`
	Hidden        bool        `protobuf:"varint,10,opt,name=hidden,proto3" json:"hidden,omitempty"`
	Client        *ClientInfo `protobuf:"bytes,11,opt,name=client,proto3" json:"client,omitempty"`
	Recorder      bool        `protobuf:"varint,12,opt,name=recorder,proto3" json:"recorder,omitempty"`
	Name          string      `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"`
	// A user's ClaimGrants serialized in JSON
	GrantsJson     string `protobuf:"bytes,14,opt,name=grants_json,json=grantsJson,proto3" json:"grants_json,omitempty"`
	AdaptiveStream bool   `protobuf:"varint,15,opt,name=adaptive_stream,json=adaptiveStream,proto3" json:"adaptive_stream,omitempty"`
	//if reconnect, client will set current sid
	ParticipantId string `protobuf:"bytes,16,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartSession) Descriptor deprecated

func (*StartSession) Descriptor() ([]byte, []int)

Deprecated: Use StartSession.ProtoReflect.Descriptor instead.

func (*StartSession) GetAdaptiveStream

func (x *StartSession) GetAdaptiveStream() bool

func (*StartSession) GetAutoSubscribe

func (x *StartSession) GetAutoSubscribe() bool

func (*StartSession) GetClient

func (x *StartSession) GetClient() *ClientInfo

func (*StartSession) GetConnectionId

func (x *StartSession) GetConnectionId() string

func (*StartSession) GetGrantsJson

func (x *StartSession) GetGrantsJson() string

func (*StartSession) GetHidden

func (x *StartSession) GetHidden() bool

func (*StartSession) GetIdentity

func (x *StartSession) GetIdentity() string

func (*StartSession) GetName

func (x *StartSession) GetName() string

func (*StartSession) GetParticipantId

func (x *StartSession) GetParticipantId() string

func (*StartSession) GetReconnect

func (x *StartSession) GetReconnect() bool

func (*StartSession) GetRecorder

func (x *StartSession) GetRecorder() bool

func (*StartSession) GetRoomName

func (x *StartSession) GetRoomName() string

func (*StartSession) ProtoMessage

func (*StartSession) ProtoMessage()

func (*StartSession) ProtoReflect

func (x *StartSession) ProtoReflect() protoreflect.Message

func (*StartSession) Reset

func (x *StartSession) Reset()

func (*StartSession) String

func (x *StartSession) String() string

type StopEgressRequest

type StopEgressRequest struct {
	EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopEgressRequest) Descriptor deprecated

func (*StopEgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopEgressRequest.ProtoReflect.Descriptor instead.

func (*StopEgressRequest) GetEgressId

func (x *StopEgressRequest) GetEgressId() string

func (*StopEgressRequest) ProtoMessage

func (*StopEgressRequest) ProtoMessage()

func (*StopEgressRequest) ProtoReflect

func (x *StopEgressRequest) ProtoReflect() protoreflect.Message

func (*StopEgressRequest) Reset

func (x *StopEgressRequest) Reset()

func (*StopEgressRequest) String

func (x *StopEgressRequest) String() string

type StreamInfo

type StreamInfo struct {
	Url       string            `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	StartedAt int64             `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	EndedAt   int64             `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	Duration  int64             `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
	Status    StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamInfo) Descriptor deprecated

func (*StreamInfo) Descriptor() ([]byte, []int)

Deprecated: Use StreamInfo.ProtoReflect.Descriptor instead.

func (*StreamInfo) GetDuration

func (x *StreamInfo) GetDuration() int64

func (*StreamInfo) GetEndedAt

func (x *StreamInfo) GetEndedAt() int64

func (*StreamInfo) GetStartedAt

func (x *StreamInfo) GetStartedAt() int64

func (*StreamInfo) GetStatus

func (x *StreamInfo) GetStatus() StreamInfo_Status

func (*StreamInfo) GetUrl

func (x *StreamInfo) GetUrl() string

func (*StreamInfo) ProtoMessage

func (*StreamInfo) ProtoMessage()

func (*StreamInfo) ProtoReflect

func (x *StreamInfo) ProtoReflect() protoreflect.Message

func (*StreamInfo) Reset

func (x *StreamInfo) Reset()

func (*StreamInfo) String

func (x *StreamInfo) String() string

type StreamInfoList

type StreamInfoList struct {
	Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamInfoList) Descriptor deprecated

func (*StreamInfoList) Descriptor() ([]byte, []int)

Deprecated: Use StreamInfoList.ProtoReflect.Descriptor instead.

func (*StreamInfoList) GetInfo

func (x *StreamInfoList) GetInfo() []*StreamInfo

func (*StreamInfoList) ProtoMessage

func (*StreamInfoList) ProtoMessage()

func (*StreamInfoList) ProtoReflect

func (x *StreamInfoList) ProtoReflect() protoreflect.Message

func (*StreamInfoList) Reset

func (x *StreamInfoList) Reset()

func (*StreamInfoList) String

func (x *StreamInfoList) String() string

type StreamInfo_Status

type StreamInfo_Status int32
const (
	StreamInfo_ACTIVE   StreamInfo_Status = 0
	StreamInfo_FINISHED StreamInfo_Status = 1
	StreamInfo_FAILED   StreamInfo_Status = 2
)

func (StreamInfo_Status) Descriptor

func (StreamInfo_Status) Enum

func (StreamInfo_Status) EnumDescriptor deprecated

func (StreamInfo_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamInfo_Status.Descriptor instead.

func (StreamInfo_Status) Number

func (StreamInfo_Status) String

func (x StreamInfo_Status) String() string

func (StreamInfo_Status) Type

type StreamOutput

type StreamOutput struct {
	Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required
	Urls     []string       `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"`                                      // required
	// contains filtered or unexported fields
}

func (*StreamOutput) Descriptor deprecated

func (*StreamOutput) Descriptor() ([]byte, []int)

Deprecated: Use StreamOutput.ProtoReflect.Descriptor instead.

func (*StreamOutput) GetProtocol

func (x *StreamOutput) GetProtocol() StreamProtocol

func (*StreamOutput) GetUrls

func (x *StreamOutput) GetUrls() []string

func (*StreamOutput) ProtoMessage

func (*StreamOutput) ProtoMessage()

func (*StreamOutput) ProtoReflect

func (x *StreamOutput) ProtoReflect() protoreflect.Message

func (*StreamOutput) Reset

func (x *StreamOutput) Reset()

func (*StreamOutput) String

func (x *StreamOutput) String() string

type StreamProtocol

type StreamProtocol int32
const (
	StreamProtocol_DEFAULT_PROTOCOL StreamProtocol = 0 // protocol chosen based on urls
	StreamProtocol_RTMP             StreamProtocol = 1
)

func (StreamProtocol) Descriptor

func (StreamProtocol) Enum

func (x StreamProtocol) Enum() *StreamProtocol

func (StreamProtocol) EnumDescriptor deprecated

func (StreamProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamProtocol.Descriptor instead.

func (StreamProtocol) Number

func (StreamProtocol) String

func (x StreamProtocol) String() string

func (StreamProtocol) Type

type StreamState

type StreamState int32
const (
	StreamState_ACTIVE StreamState = 0
	StreamState_PAUSED StreamState = 1
)

func (StreamState) Descriptor

func (StreamState) Enum

func (x StreamState) Enum() *StreamState

func (StreamState) EnumDescriptor deprecated

func (StreamState) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamState.Descriptor instead.

func (StreamState) Number

func (x StreamState) Number() protoreflect.EnumNumber

func (StreamState) String

func (x StreamState) String() string

func (StreamState) Type

type StreamStateInfo

type StreamStateInfo struct {
	ParticipantSid string      `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
	TrackSid       string      `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	State          StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamStateInfo) Descriptor deprecated

func (*StreamStateInfo) Descriptor() ([]byte, []int)

Deprecated: Use StreamStateInfo.ProtoReflect.Descriptor instead.

func (*StreamStateInfo) GetParticipantSid

func (x *StreamStateInfo) GetParticipantSid() string

func (*StreamStateInfo) GetState

func (x *StreamStateInfo) GetState() StreamState

func (*StreamStateInfo) GetTrackSid

func (x *StreamStateInfo) GetTrackSid() string

func (*StreamStateInfo) ProtoMessage

func (*StreamStateInfo) ProtoMessage()

func (*StreamStateInfo) ProtoReflect

func (x *StreamStateInfo) ProtoReflect() protoreflect.Message

func (*StreamStateInfo) Reset

func (x *StreamStateInfo) Reset()

func (*StreamStateInfo) String

func (x *StreamStateInfo) String() string

type StreamStateUpdate

type StreamStateUpdate struct {
	StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamStateUpdate) Descriptor deprecated

func (*StreamStateUpdate) Descriptor() ([]byte, []int)

Deprecated: Use StreamStateUpdate.ProtoReflect.Descriptor instead.

func (*StreamStateUpdate) GetStreamStates

func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo

func (*StreamStateUpdate) ProtoMessage

func (*StreamStateUpdate) ProtoMessage()

func (*StreamStateUpdate) ProtoReflect

func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message

func (*StreamStateUpdate) Reset

func (x *StreamStateUpdate) Reset()

func (*StreamStateUpdate) String

func (x *StreamStateUpdate) String() string

type StreamType

type StreamType int32
const (
	StreamType_UPSTREAM   StreamType = 0
	StreamType_DOWNSTREAM StreamType = 1
)

func (StreamType) Descriptor

func (StreamType) Descriptor() protoreflect.EnumDescriptor

func (StreamType) Enum

func (x StreamType) Enum() *StreamType

func (StreamType) EnumDescriptor deprecated

func (StreamType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamType.Descriptor instead.

func (StreamType) Number

func (x StreamType) Number() protoreflect.EnumNumber

func (StreamType) String

func (x StreamType) String() string

func (StreamType) Type

type SubscribedCodec

type SubscribedCodec struct {
	Codec     string               `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribedCodec) Descriptor deprecated

func (*SubscribedCodec) Descriptor() ([]byte, []int)

Deprecated: Use SubscribedCodec.ProtoReflect.Descriptor instead.

func (*SubscribedCodec) GetCodec

func (x *SubscribedCodec) GetCodec() string

func (*SubscribedCodec) GetQualities

func (x *SubscribedCodec) GetQualities() []*SubscribedQuality

func (*SubscribedCodec) ProtoMessage

func (*SubscribedCodec) ProtoMessage()

func (*SubscribedCodec) ProtoReflect

func (x *SubscribedCodec) ProtoReflect() protoreflect.Message

func (*SubscribedCodec) Reset

func (x *SubscribedCodec) Reset()

func (*SubscribedCodec) String

func (x *SubscribedCodec) String() string

type SubscribedQuality

type SubscribedQuality struct {
	Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"`
	Enabled bool         `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribedQuality) Descriptor deprecated

func (*SubscribedQuality) Descriptor() ([]byte, []int)

Deprecated: Use SubscribedQuality.ProtoReflect.Descriptor instead.

func (*SubscribedQuality) GetEnabled

func (x *SubscribedQuality) GetEnabled() bool

func (*SubscribedQuality) GetQuality

func (x *SubscribedQuality) GetQuality() VideoQuality

func (*SubscribedQuality) ProtoMessage

func (*SubscribedQuality) ProtoMessage()

func (*SubscribedQuality) ProtoReflect

func (x *SubscribedQuality) ProtoReflect() protoreflect.Message

func (*SubscribedQuality) Reset

func (x *SubscribedQuality) Reset()

func (*SubscribedQuality) String

func (x *SubscribedQuality) String() string

type SubscribedQualityUpdate

type SubscribedQualityUpdate struct {
	TrackSid            string               `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"`
	SubscribedCodecs    []*SubscribedCodec   `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribedQualityUpdate) Descriptor deprecated

func (*SubscribedQualityUpdate) Descriptor() ([]byte, []int)

Deprecated: Use SubscribedQualityUpdate.ProtoReflect.Descriptor instead.

func (*SubscribedQualityUpdate) GetSubscribedCodecs

func (x *SubscribedQualityUpdate) GetSubscribedCodecs() []*SubscribedCodec

func (*SubscribedQualityUpdate) GetSubscribedQualities

func (x *SubscribedQualityUpdate) GetSubscribedQualities() []*SubscribedQuality

func (*SubscribedQualityUpdate) GetTrackSid

func (x *SubscribedQualityUpdate) GetTrackSid() string

func (*SubscribedQualityUpdate) ProtoMessage

func (*SubscribedQualityUpdate) ProtoMessage()

func (*SubscribedQualityUpdate) ProtoReflect

func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message

func (*SubscribedQualityUpdate) Reset

func (x *SubscribedQualityUpdate) Reset()

func (*SubscribedQualityUpdate) String

func (x *SubscribedQualityUpdate) String() string

type SubscriptionPermission

type SubscriptionPermission struct {
	AllParticipants  bool               `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"`
	TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionPermission) Descriptor deprecated

func (*SubscriptionPermission) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionPermission.ProtoReflect.Descriptor instead.

func (*SubscriptionPermission) GetAllParticipants

func (x *SubscriptionPermission) GetAllParticipants() bool

func (*SubscriptionPermission) GetTrackPermissions

func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission

func (*SubscriptionPermission) ProtoMessage

func (*SubscriptionPermission) ProtoMessage()

func (*SubscriptionPermission) ProtoReflect

func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message

func (*SubscriptionPermission) Reset

func (x *SubscriptionPermission) Reset()

func (*SubscriptionPermission) String

func (x *SubscriptionPermission) String() string

type SubscriptionPermissionUpdate

type SubscriptionPermissionUpdate struct {
	ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
	TrackSid       string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	Allowed        bool   `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionPermissionUpdate) Descriptor deprecated

func (*SubscriptionPermissionUpdate) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionPermissionUpdate.ProtoReflect.Descriptor instead.

func (*SubscriptionPermissionUpdate) GetAllowed

func (x *SubscriptionPermissionUpdate) GetAllowed() bool

func (*SubscriptionPermissionUpdate) GetParticipantSid

func (x *SubscriptionPermissionUpdate) GetParticipantSid() string

func (*SubscriptionPermissionUpdate) GetTrackSid

func (x *SubscriptionPermissionUpdate) GetTrackSid() string

func (*SubscriptionPermissionUpdate) ProtoMessage

func (*SubscriptionPermissionUpdate) ProtoMessage()

func (*SubscriptionPermissionUpdate) ProtoReflect

func (*SubscriptionPermissionUpdate) Reset

func (x *SubscriptionPermissionUpdate) Reset()

func (*SubscriptionPermissionUpdate) String

type SyncState

type SyncState struct {

	// last subscribe answer before reconnecting
	Answer        *SessionDescription       `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"`
	Subscription  *UpdateSubscription       `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"`
	PublishTracks []*TrackPublishedResponse `protobuf:"bytes,3,rep,name=publish_tracks,json=publishTracks,proto3" json:"publish_tracks,omitempty"`
	DataChannels  []*DataChannelInfo        `protobuf:"bytes,4,rep,name=data_channels,json=dataChannels,proto3" json:"data_channels,omitempty"`
	// last received server side offer before reconnecting
	Offer *SessionDescription `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncState) Descriptor deprecated

func (*SyncState) Descriptor() ([]byte, []int)

Deprecated: Use SyncState.ProtoReflect.Descriptor instead.

func (*SyncState) GetAnswer

func (x *SyncState) GetAnswer() *SessionDescription

func (*SyncState) GetDataChannels

func (x *SyncState) GetDataChannels() []*DataChannelInfo

func (*SyncState) GetOffer

func (x *SyncState) GetOffer() *SessionDescription

func (*SyncState) GetPublishTracks

func (x *SyncState) GetPublishTracks() []*TrackPublishedResponse

func (*SyncState) GetSubscription

func (x *SyncState) GetSubscription() *UpdateSubscription

func (*SyncState) ProtoMessage

func (*SyncState) ProtoMessage()

func (*SyncState) ProtoReflect

func (x *SyncState) ProtoReflect() protoreflect.Message

func (*SyncState) Reset

func (x *SyncState) Reset()

func (*SyncState) String

func (x *SyncState) String() string

type TimedVersion

type TimedVersion struct {
	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"`
	// contains filtered or unexported fields
}

func (*TimedVersion) Descriptor deprecated

func (*TimedVersion) Descriptor() ([]byte, []int)

Deprecated: Use TimedVersion.ProtoReflect.Descriptor instead.

func (*TimedVersion) GetTicks

func (x *TimedVersion) GetTicks() int32

func (*TimedVersion) GetUnixMicro

func (x *TimedVersion) GetUnixMicro() int64

func (*TimedVersion) ProtoMessage

func (*TimedVersion) ProtoMessage()

func (*TimedVersion) ProtoReflect

func (x *TimedVersion) ProtoReflect() protoreflect.Message

func (*TimedVersion) Reset

func (x *TimedVersion) Reset()

func (*TimedVersion) String

func (x *TimedVersion) String() string

type TrackCompositeEgressRequest

type TrackCompositeEgressRequest struct {
	RoomName     string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`               // required
	AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional)
	VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional)
	// Types that are assignable to Output:
	//	*TrackCompositeEgressRequest_File
	//	*TrackCompositeEgressRequest_Stream
	//	*TrackCompositeEgressRequest_Segments
	Output isTrackCompositeEgressRequest_Output `protobuf_oneof:"output"`
	// Types that are assignable to Options:
	//	*TrackCompositeEgressRequest_Preset
	//	*TrackCompositeEgressRequest_Advanced
	Options isTrackCompositeEgressRequest_Options `protobuf_oneof:"options"`
	// contains filtered or unexported fields
}

containerize up to one audio and one video track

func (*TrackCompositeEgressRequest) Descriptor deprecated

func (*TrackCompositeEgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use TrackCompositeEgressRequest.ProtoReflect.Descriptor instead.

func (*TrackCompositeEgressRequest) GetAdvanced

func (x *TrackCompositeEgressRequest) GetAdvanced() *EncodingOptions

func (*TrackCompositeEgressRequest) GetAudioTrackId

func (x *TrackCompositeEgressRequest) GetAudioTrackId() string

func (*TrackCompositeEgressRequest) GetFile

func (*TrackCompositeEgressRequest) GetOptions

func (m *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options

func (*TrackCompositeEgressRequest) GetOutput

func (m *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output

func (*TrackCompositeEgressRequest) GetPreset

func (*TrackCompositeEgressRequest) GetRoomName

func (x *TrackCompositeEgressRequest) GetRoomName() string

func (*TrackCompositeEgressRequest) GetSegments

func (*TrackCompositeEgressRequest) GetStream

func (x *TrackCompositeEgressRequest) GetStream() *StreamOutput

func (*TrackCompositeEgressRequest) GetVideoTrackId

func (x *TrackCompositeEgressRequest) GetVideoTrackId() string

func (*TrackCompositeEgressRequest) ProtoMessage

func (*TrackCompositeEgressRequest) ProtoMessage()

func (*TrackCompositeEgressRequest) ProtoReflect

func (*TrackCompositeEgressRequest) Reset

func (x *TrackCompositeEgressRequest) Reset()

func (*TrackCompositeEgressRequest) String

func (x *TrackCompositeEgressRequest) String() string

type TrackCompositeEgressRequest_Advanced

type TrackCompositeEgressRequest_Advanced struct {
	Advanced *EncodingOptions `protobuf:"bytes,7,opt,name=advanced,proto3,oneof"` // (optional)
}

type TrackCompositeEgressRequest_File

type TrackCompositeEgressRequest_File struct {
	File *EncodedFileOutput `protobuf:"bytes,4,opt,name=file,proto3,oneof"`
}

type TrackCompositeEgressRequest_Preset

type TrackCompositeEgressRequest_Preset struct {
	Preset EncodingOptionsPreset `protobuf:"varint,6,opt,name=preset,proto3,enum=livekit.EncodingOptionsPreset,oneof"` // (default H264_720P_30)
}

type TrackCompositeEgressRequest_Segments

type TrackCompositeEgressRequest_Segments struct {
	Segments *SegmentedFileOutput `protobuf:"bytes,8,opt,name=segments,proto3,oneof"`
}

type TrackCompositeEgressRequest_Stream

type TrackCompositeEgressRequest_Stream struct {
	Stream *StreamOutput `protobuf:"bytes,5,opt,name=stream,proto3,oneof"`
}

type TrackEgressRequest

type TrackEgressRequest struct {
	RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required
	TrackId  string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"`    // required
	// Types that are assignable to Output:
	//	*TrackEgressRequest_File
	//	*TrackEgressRequest_WebsocketUrl
	Output isTrackEgressRequest_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

record tracks individually, without transcoding

func (*TrackEgressRequest) Descriptor deprecated

func (*TrackEgressRequest) Descriptor() ([]byte, []int)

Deprecated: Use TrackEgressRequest.ProtoReflect.Descriptor instead.

func (*TrackEgressRequest) GetFile

func (x *TrackEgressRequest) GetFile() *DirectFileOutput

func (*TrackEgressRequest) GetOutput

func (m *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output

func (*TrackEgressRequest) GetRoomName

func (x *TrackEgressRequest) GetRoomName() string

func (*TrackEgressRequest) GetTrackId

func (x *TrackEgressRequest) GetTrackId() string

func (*TrackEgressRequest) GetWebsocketUrl

func (x *TrackEgressRequest) GetWebsocketUrl() string

func (*TrackEgressRequest) ProtoMessage

func (*TrackEgressRequest) ProtoMessage()

func (*TrackEgressRequest) ProtoReflect

func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message

func (*TrackEgressRequest) Reset

func (x *TrackEgressRequest) Reset()

func (*TrackEgressRequest) String

func (x *TrackEgressRequest) String() string

type TrackEgressRequest_File

type TrackEgressRequest_File struct {
	File *DirectFileOutput `protobuf:"bytes,3,opt,name=file,proto3,oneof"`
}

type TrackEgressRequest_WebsocketUrl

type TrackEgressRequest_WebsocketUrl struct {
	WebsocketUrl string `protobuf:"bytes,4,opt,name=websocket_url,json=websocketUrl,proto3,oneof"`
}

type TrackID

type TrackID string

func StringsAsTrackIDs

func StringsAsTrackIDs(trackIDs []string) []TrackID

type TrackInfo

type TrackInfo struct {
	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"`
	// original width of video (unset for audio)
	// clients may receive a lower resolution version with simulcast
	Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
	// original height of video (unset for audio)
	Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	// true if track is simulcasted
	Simulcast bool `protobuf:"varint,7,opt,name=simulcast,proto3" json:"simulcast,omitempty"`
	// true if DTX (Discontinuous Transmission) is disabled for audio
	DisableDtx bool `protobuf:"varint,8,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"`
	// source of media
	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"`
	// mime type of codec
	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"`
	// contains filtered or unexported fields
}

func (*TrackInfo) Descriptor deprecated

func (*TrackInfo) Descriptor() ([]byte, []int)

Deprecated: Use TrackInfo.ProtoReflect.Descriptor instead.

func (*TrackInfo) GetCodecs

func (x *TrackInfo) GetCodecs() []*SimulcastCodecInfo

func (*TrackInfo) GetDisableDtx

func (x *TrackInfo) GetDisableDtx() bool

func (*TrackInfo) GetHeight

func (x *TrackInfo) GetHeight() uint32

func (*TrackInfo) GetLayers

func (x *TrackInfo) GetLayers() []*VideoLayer

func (*TrackInfo) GetMid

func (x *TrackInfo) GetMid() string

func (*TrackInfo) GetMimeType

func (x *TrackInfo) GetMimeType() string

func (*TrackInfo) GetMuted

func (x *TrackInfo) GetMuted() bool

func (*TrackInfo) GetName

func (x *TrackInfo) GetName() string

func (*TrackInfo) GetSid

func (x *TrackInfo) GetSid() string

func (*TrackInfo) GetSimulcast

func (x *TrackInfo) GetSimulcast() bool

func (*TrackInfo) GetSource

func (x *TrackInfo) GetSource() TrackSource

func (*TrackInfo) GetType

func (x *TrackInfo) GetType() TrackType

func (*TrackInfo) GetWidth

func (x *TrackInfo) GetWidth() uint32

func (*TrackInfo) ProtoMessage

func (*TrackInfo) ProtoMessage()

func (*TrackInfo) ProtoReflect

func (x *TrackInfo) ProtoReflect() protoreflect.Message

func (*TrackInfo) Reset

func (x *TrackInfo) Reset()

func (*TrackInfo) String

func (x *TrackInfo) String() string

type TrackPermission

type TrackPermission struct {

	// permission could be granted either by participant sid or identity
	ParticipantSid      string   `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
	AllTracks           bool     `protobuf:"varint,2,opt,name=all_tracks,json=allTracks,proto3" json:"all_tracks,omitempty"`
	TrackSids           []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"`
	ParticipantIdentity string   `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*TrackPermission) Descriptor deprecated

func (*TrackPermission) Descriptor() ([]byte, []int)

Deprecated: Use TrackPermission.ProtoReflect.Descriptor instead.

func (*TrackPermission) GetAllTracks

func (x *TrackPermission) GetAllTracks() bool

func (*TrackPermission) GetParticipantIdentity

func (x *TrackPermission) GetParticipantIdentity() string

func (*TrackPermission) GetParticipantSid

func (x *TrackPermission) GetParticipantSid() string

func (*TrackPermission) GetTrackSids

func (x *TrackPermission) GetTrackSids() []string

func (*TrackPermission) ProtoMessage

func (*TrackPermission) ProtoMessage()

func (*TrackPermission) ProtoReflect

func (x *TrackPermission) ProtoReflect() protoreflect.Message

func (*TrackPermission) Reset

func (x *TrackPermission) Reset()

func (*TrackPermission) String

func (x *TrackPermission) String() string

type TrackPublishedResponse

type TrackPublishedResponse struct {
	Cid   string     `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"`
	// contains filtered or unexported fields
}

func (*TrackPublishedResponse) Descriptor deprecated

func (*TrackPublishedResponse) Descriptor() ([]byte, []int)

Deprecated: Use TrackPublishedResponse.ProtoReflect.Descriptor instead.

func (*TrackPublishedResponse) GetCid

func (x *TrackPublishedResponse) GetCid() string

func (*TrackPublishedResponse) GetTrack

func (x *TrackPublishedResponse) GetTrack() *TrackInfo

func (*TrackPublishedResponse) ProtoMessage

func (*TrackPublishedResponse) ProtoMessage()

func (*TrackPublishedResponse) ProtoReflect

func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message

func (*TrackPublishedResponse) Reset

func (x *TrackPublishedResponse) Reset()

func (*TrackPublishedResponse) String

func (x *TrackPublishedResponse) String() string

type TrackSource

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
)

func (TrackSource) Descriptor

func (TrackSource) Enum

func (x TrackSource) Enum() *TrackSource

func (TrackSource) EnumDescriptor deprecated

func (TrackSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrackSource.Descriptor instead.

func (TrackSource) Number

func (x TrackSource) Number() protoreflect.EnumNumber

func (TrackSource) String

func (x TrackSource) String() string

func (TrackSource) Type

type TrackType

type TrackType int32
const (
	TrackType_AUDIO TrackType = 0
	TrackType_VIDEO TrackType = 1
	TrackType_DATA  TrackType = 2
)

func (TrackType) Descriptor

func (TrackType) Descriptor() protoreflect.EnumDescriptor

func (TrackType) Enum

func (x TrackType) Enum() *TrackType

func (TrackType) EnumDescriptor deprecated

func (TrackType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrackType.Descriptor instead.

func (TrackType) Number

func (x TrackType) Number() protoreflect.EnumNumber

func (TrackType) String

func (x TrackType) String() string

func (TrackType) Type

type TrackUnpublishedResponse

type TrackUnpublishedResponse struct {
	TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	// contains filtered or unexported fields
}

func (*TrackUnpublishedResponse) Descriptor deprecated

func (*TrackUnpublishedResponse) Descriptor() ([]byte, []int)

Deprecated: Use TrackUnpublishedResponse.ProtoReflect.Descriptor instead.

func (*TrackUnpublishedResponse) GetTrackSid

func (x *TrackUnpublishedResponse) GetTrackSid() string

func (*TrackUnpublishedResponse) ProtoMessage

func (*TrackUnpublishedResponse) ProtoMessage()

func (*TrackUnpublishedResponse) ProtoReflect

func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message

func (*TrackUnpublishedResponse) Reset

func (x *TrackUnpublishedResponse) Reset()

func (*TrackUnpublishedResponse) String

func (x *TrackUnpublishedResponse) String() string

type TrickleRequest

type TrickleRequest struct {
	CandidateInit string       `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"`
	Target        SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*TrickleRequest) Descriptor deprecated

func (*TrickleRequest) Descriptor() ([]byte, []int)

Deprecated: Use TrickleRequest.ProtoReflect.Descriptor instead.

func (*TrickleRequest) GetCandidateInit

func (x *TrickleRequest) GetCandidateInit() string

func (*TrickleRequest) GetTarget

func (x *TrickleRequest) GetTarget() SignalTarget

func (*TrickleRequest) ProtoMessage

func (*TrickleRequest) ProtoMessage()

func (*TrickleRequest) ProtoReflect

func (x *TrickleRequest) ProtoReflect() protoreflect.Message

func (*TrickleRequest) Reset

func (x *TrickleRequest) Reset()

func (*TrickleRequest) String

func (x *TrickleRequest) String() string

type TwirpServer

type TwirpServer interface {
	http.Handler

	// ServiceDescriptor returns gzipped bytes describing the .proto file that
	// this service was generated from. Once unzipped, the bytes can be
	// unmarshalled as a
	// google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto.
	//
	// The returned integer is the index of this particular service within that
	// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
	// low-level field, expected to be used for reflection.
	ServiceDescriptor() ([]byte, int)

	// ProtocGenTwirpVersion is the semantic version string of the version of
	// twirp used to generate this file.
	ProtocGenTwirpVersion() string

	// PathPrefix returns the HTTP URL path prefix for all methods handled by this
	// service. This can be used with an HTTP mux to route Twirp requests.
	// The path prefix is in the form: "/<prefix>/<package>.<Service>/"
	// that is, everything in a Twirp route except for the <Method> at the end.
	PathPrefix() string
}

TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.

func NewEgressServer

func NewEgressServer(svc Egress, opts ...interface{}) TwirpServer

NewEgressServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewIngressServer

func NewIngressServer(svc Ingress, opts ...interface{}) TwirpServer

NewIngressServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewRoomServiceServer

func NewRoomServiceServer(svc RoomService, opts ...interface{}) TwirpServer

NewRoomServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

type UnimplementedAnalyticsRecorderServiceServer

type UnimplementedAnalyticsRecorderServiceServer struct {
}

UnimplementedAnalyticsRecorderServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents

func (UnimplementedAnalyticsRecorderServiceServer) IngestStats

type UnsafeAnalyticsRecorderServiceServer

type UnsafeAnalyticsRecorderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAnalyticsRecorderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalyticsRecorderServiceServer will result in compilation errors.

type UpdateIngressRequest

type UpdateIngressRequest struct {
	IngressId           string               `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
	Name                string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RoomName            string               `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	ParticipantIdentity string               `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	ParticipantName     string               `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"`
	Audio               *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"`
	Video               *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIngressRequest) Descriptor deprecated

func (*UpdateIngressRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIngressRequest.ProtoReflect.Descriptor instead.

func (*UpdateIngressRequest) GetAudio

func (*UpdateIngressRequest) GetIngressId

func (x *UpdateIngressRequest) GetIngressId() string

func (*UpdateIngressRequest) GetName

func (x *UpdateIngressRequest) GetName() string

func (*UpdateIngressRequest) GetParticipantIdentity

func (x *UpdateIngressRequest) GetParticipantIdentity() string

func (*UpdateIngressRequest) GetParticipantName

func (x *UpdateIngressRequest) GetParticipantName() string

func (*UpdateIngressRequest) GetRoomName

func (x *UpdateIngressRequest) GetRoomName() string

func (*UpdateIngressRequest) GetVideo

func (*UpdateIngressRequest) ProtoMessage

func (*UpdateIngressRequest) ProtoMessage()

func (*UpdateIngressRequest) ProtoReflect

func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message

func (*UpdateIngressRequest) Reset

func (x *UpdateIngressRequest) Reset()

func (*UpdateIngressRequest) String

func (x *UpdateIngressRequest) String() string

type UpdateLayoutRequest

type UpdateLayoutRequest struct {
	EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	Layout   string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLayoutRequest) Descriptor deprecated

func (*UpdateLayoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateLayoutRequest.ProtoReflect.Descriptor instead.

func (*UpdateLayoutRequest) GetEgressId

func (x *UpdateLayoutRequest) GetEgressId() string

func (*UpdateLayoutRequest) GetLayout

func (x *UpdateLayoutRequest) GetLayout() string

func (*UpdateLayoutRequest) ProtoMessage

func (*UpdateLayoutRequest) ProtoMessage()

func (*UpdateLayoutRequest) ProtoReflect

func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message

func (*UpdateLayoutRequest) Reset

func (x *UpdateLayoutRequest) Reset()

func (*UpdateLayoutRequest) String

func (x *UpdateLayoutRequest) String() string

type UpdateParticipantRequest

type UpdateParticipantRequest struct {
	Room     string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// metadata to update. skipping updates if left empty
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// set to update the participant's permissions
	Permission *ParticipantPermission `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateParticipantRequest) Descriptor deprecated

func (*UpdateParticipantRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateParticipantRequest.ProtoReflect.Descriptor instead.

func (*UpdateParticipantRequest) GetIdentity

func (x *UpdateParticipantRequest) GetIdentity() string

func (*UpdateParticipantRequest) GetMetadata

func (x *UpdateParticipantRequest) GetMetadata() string

func (*UpdateParticipantRequest) GetPermission

func (x *UpdateParticipantRequest) GetPermission() *ParticipantPermission

func (*UpdateParticipantRequest) GetRoom

func (x *UpdateParticipantRequest) GetRoom() string

func (*UpdateParticipantRequest) ProtoMessage

func (*UpdateParticipantRequest) ProtoMessage()

func (*UpdateParticipantRequest) ProtoReflect

func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message

func (*UpdateParticipantRequest) Reset

func (x *UpdateParticipantRequest) Reset()

func (*UpdateParticipantRequest) String

func (x *UpdateParticipantRequest) String() string

type UpdateRoomMetadataRequest

type UpdateRoomMetadataRequest struct {
	Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	// metadata to update. skipping updates if left empty
	Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoomMetadataRequest) Descriptor deprecated

func (*UpdateRoomMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoomMetadataRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoomMetadataRequest) GetMetadata

func (x *UpdateRoomMetadataRequest) GetMetadata() string

func (*UpdateRoomMetadataRequest) GetRoom

func (x *UpdateRoomMetadataRequest) GetRoom() string

func (*UpdateRoomMetadataRequest) ProtoMessage

func (*UpdateRoomMetadataRequest) ProtoMessage()

func (*UpdateRoomMetadataRequest) ProtoReflect

func (*UpdateRoomMetadataRequest) Reset

func (x *UpdateRoomMetadataRequest) Reset()

func (*UpdateRoomMetadataRequest) String

func (x *UpdateRoomMetadataRequest) String() string

type UpdateStreamRequest

type UpdateStreamRequest struct {
	EgressId         string   `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
	AddOutputUrls    []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"`
	RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStreamRequest) Descriptor deprecated

func (*UpdateStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStreamRequest.ProtoReflect.Descriptor instead.

func (*UpdateStreamRequest) GetAddOutputUrls

func (x *UpdateStreamRequest) GetAddOutputUrls() []string

func (*UpdateStreamRequest) GetEgressId

func (x *UpdateStreamRequest) GetEgressId() string

func (*UpdateStreamRequest) GetRemoveOutputUrls

func (x *UpdateStreamRequest) GetRemoveOutputUrls() []string

func (*UpdateStreamRequest) ProtoMessage

func (*UpdateStreamRequest) ProtoMessage()

func (*UpdateStreamRequest) ProtoReflect

func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message

func (*UpdateStreamRequest) Reset

func (x *UpdateStreamRequest) Reset()

func (*UpdateStreamRequest) String

func (x *UpdateStreamRequest) String() string

type UpdateSubscription

type UpdateSubscription struct {
	TrackSids         []string             `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"`
	Subscribe         bool                 `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
	ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSubscription) Descriptor deprecated

func (*UpdateSubscription) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSubscription.ProtoReflect.Descriptor instead.

func (*UpdateSubscription) GetParticipantTracks

func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks

func (*UpdateSubscription) GetSubscribe

func (x *UpdateSubscription) GetSubscribe() bool

func (*UpdateSubscription) GetTrackSids

func (x *UpdateSubscription) GetTrackSids() []string

func (*UpdateSubscription) ProtoMessage

func (*UpdateSubscription) ProtoMessage()

func (*UpdateSubscription) ProtoReflect

func (x *UpdateSubscription) ProtoReflect() protoreflect.Message

func (*UpdateSubscription) Reset

func (x *UpdateSubscription) Reset()

func (*UpdateSubscription) String

func (x *UpdateSubscription) String() string

type UpdateSubscriptionsRequest

type UpdateSubscriptionsRequest struct {
	Room     string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// list of sids of tracks
	TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"`
	// set to true to subscribe, false to unsubscribe from tracks
	Subscribe bool `protobuf:"varint,4,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
	// list of participants and their tracks
	ParticipantTracks []*ParticipantTracks `protobuf:"bytes,5,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSubscriptionsRequest) Descriptor deprecated

func (*UpdateSubscriptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSubscriptionsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionsRequest) GetIdentity

func (x *UpdateSubscriptionsRequest) GetIdentity() string

func (*UpdateSubscriptionsRequest) GetParticipantTracks

func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks

func (*UpdateSubscriptionsRequest) GetRoom

func (x *UpdateSubscriptionsRequest) GetRoom() string

func (*UpdateSubscriptionsRequest) GetSubscribe

func (x *UpdateSubscriptionsRequest) GetSubscribe() bool

func (*UpdateSubscriptionsRequest) GetTrackSids

func (x *UpdateSubscriptionsRequest) GetTrackSids() []string

func (*UpdateSubscriptionsRequest) ProtoMessage

func (*UpdateSubscriptionsRequest) ProtoMessage()

func (*UpdateSubscriptionsRequest) ProtoReflect

func (*UpdateSubscriptionsRequest) Reset

func (x *UpdateSubscriptionsRequest) Reset()

func (*UpdateSubscriptionsRequest) String

func (x *UpdateSubscriptionsRequest) String() string

type UpdateSubscriptionsResponse

type UpdateSubscriptionsResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateSubscriptionsResponse) Descriptor deprecated

func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSubscriptionsResponse.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionsResponse) ProtoMessage

func (*UpdateSubscriptionsResponse) ProtoMessage()

func (*UpdateSubscriptionsResponse) ProtoReflect

func (*UpdateSubscriptionsResponse) Reset

func (x *UpdateSubscriptionsResponse) Reset()

func (*UpdateSubscriptionsResponse) String

func (x *UpdateSubscriptionsResponse) String() string

type UpdateTrackSettings

type UpdateTrackSettings struct {
	TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"`
	// when true, the track is placed in a paused state, with no new data returned
	Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// deprecated in favor of width & height
	Quality VideoQuality `protobuf:"varint,4,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"`
	// for video, width to receive
	Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
	// for video, height to receive
	Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTrackSettings) Descriptor deprecated

func (*UpdateTrackSettings) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTrackSettings.ProtoReflect.Descriptor instead.

func (*UpdateTrackSettings) GetDisabled

func (x *UpdateTrackSettings) GetDisabled() bool

func (*UpdateTrackSettings) GetHeight

func (x *UpdateTrackSettings) GetHeight() uint32

func (*UpdateTrackSettings) GetQuality

func (x *UpdateTrackSettings) GetQuality() VideoQuality

func (*UpdateTrackSettings) GetTrackSids

func (x *UpdateTrackSettings) GetTrackSids() []string

func (*UpdateTrackSettings) GetWidth

func (x *UpdateTrackSettings) GetWidth() uint32

func (*UpdateTrackSettings) ProtoMessage

func (*UpdateTrackSettings) ProtoMessage()

func (*UpdateTrackSettings) ProtoReflect

func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message

func (*UpdateTrackSettings) Reset

func (x *UpdateTrackSettings) Reset()

func (*UpdateTrackSettings) String

func (x *UpdateTrackSettings) String() string

type UpdateVideoLayers

type UpdateVideoLayers struct {
	TrackSid string        `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	Layers   []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"`
	// contains filtered or unexported fields
}

message to indicate published video track dimensions are changing

func (*UpdateVideoLayers) Descriptor deprecated

func (*UpdateVideoLayers) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVideoLayers.ProtoReflect.Descriptor instead.

func (*UpdateVideoLayers) GetLayers

func (x *UpdateVideoLayers) GetLayers() []*VideoLayer

func (*UpdateVideoLayers) GetTrackSid

func (x *UpdateVideoLayers) GetTrackSid() string

func (*UpdateVideoLayers) ProtoMessage

func (*UpdateVideoLayers) ProtoMessage()

func (*UpdateVideoLayers) ProtoReflect

func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message

func (*UpdateVideoLayers) Reset

func (x *UpdateVideoLayers) Reset()

func (*UpdateVideoLayers) String

func (x *UpdateVideoLayers) String() string

type UserPacket

type UserPacket struct {

	// participant ID of user that sent the message
	ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
	// user defined payload
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// the ID of the participants who will receive the message (the message will be sent to all the people in the room if this variable is empty)
	DestinationSids []string `protobuf:"bytes,3,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPacket) Descriptor deprecated

func (*UserPacket) Descriptor() ([]byte, []int)

Deprecated: Use UserPacket.ProtoReflect.Descriptor instead.

func (*UserPacket) GetDestinationSids

func (x *UserPacket) GetDestinationSids() []string

func (*UserPacket) GetParticipantSid

func (x *UserPacket) GetParticipantSid() string

func (*UserPacket) GetPayload

func (x *UserPacket) GetPayload() []byte

func (*UserPacket) ProtoMessage

func (*UserPacket) ProtoMessage()

func (*UserPacket) ProtoReflect

func (x *UserPacket) ProtoReflect() protoreflect.Message

func (*UserPacket) Reset

func (x *UserPacket) Reset()

func (*UserPacket) String

func (x *UserPacket) String() string

type VideoCodec

type VideoCodec int32
const (
	VideoCodec_DEFAULT_VC    VideoCodec = 0
	VideoCodec_H264_BASELINE VideoCodec = 1
	VideoCodec_H264_MAIN     VideoCodec = 2
	VideoCodec_H264_HIGH     VideoCodec = 3
)

func (VideoCodec) Descriptor

func (VideoCodec) Descriptor() protoreflect.EnumDescriptor

func (VideoCodec) Enum

func (x VideoCodec) Enum() *VideoCodec

func (VideoCodec) EnumDescriptor deprecated

func (VideoCodec) EnumDescriptor() ([]byte, []int)

Deprecated: Use VideoCodec.Descriptor instead.

func (VideoCodec) Number

func (x VideoCodec) Number() protoreflect.EnumNumber

func (VideoCodec) String

func (x VideoCodec) String() string

func (VideoCodec) Type

type VideoConfiguration

type VideoConfiguration struct {
	HardwareEncoder ClientConfigSetting `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VideoConfiguration) Descriptor deprecated

func (*VideoConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use VideoConfiguration.ProtoReflect.Descriptor instead.

func (*VideoConfiguration) GetHardwareEncoder

func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting

func (*VideoConfiguration) ProtoMessage

func (*VideoConfiguration) ProtoMessage()

func (*VideoConfiguration) ProtoReflect

func (x *VideoConfiguration) ProtoReflect() protoreflect.Message

func (*VideoConfiguration) Reset

func (x *VideoConfiguration) Reset()

func (*VideoConfiguration) String

func (x *VideoConfiguration) String() string

type VideoLayer

type VideoLayer struct {

	// for tracks with a single layer, this should be HIGH
	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"`
	// target bitrate, server will measure actual
	Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"`
	Ssrc    uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"`
	// contains filtered or unexported fields
}

provide information about available spatial layers

func (*VideoLayer) Descriptor deprecated

func (*VideoLayer) Descriptor() ([]byte, []int)

Deprecated: Use VideoLayer.ProtoReflect.Descriptor instead.

func (*VideoLayer) GetBitrate

func (x *VideoLayer) GetBitrate() uint32

func (*VideoLayer) GetHeight

func (x *VideoLayer) GetHeight() uint32

func (*VideoLayer) GetQuality

func (x *VideoLayer) GetQuality() VideoQuality

func (*VideoLayer) GetSsrc

func (x *VideoLayer) GetSsrc() uint32

func (*VideoLayer) GetWidth

func (x *VideoLayer) GetWidth() uint32

func (*VideoLayer) ProtoMessage

func (*VideoLayer) ProtoMessage()

func (*VideoLayer) ProtoReflect

func (x *VideoLayer) ProtoReflect() protoreflect.Message

func (*VideoLayer) Reset

func (x *VideoLayer) Reset()

func (*VideoLayer) String

func (x *VideoLayer) String() string

type VideoQuality

type VideoQuality int32
const (
	VideoQuality_LOW    VideoQuality = 0
	VideoQuality_MEDIUM VideoQuality = 1
	VideoQuality_HIGH   VideoQuality = 2
	VideoQuality_OFF    VideoQuality = 3
)

func (VideoQuality) Descriptor

func (VideoQuality) Enum

func (x VideoQuality) Enum() *VideoQuality

func (VideoQuality) EnumDescriptor deprecated

func (VideoQuality) EnumDescriptor() ([]byte, []int)

Deprecated: Use VideoQuality.Descriptor instead.

func (VideoQuality) Number

func (VideoQuality) String

func (x VideoQuality) String() string

func (VideoQuality) Type

type WebhookEvent

type WebhookEvent struct {

	// one of room_started, room_finished, participant_joined, participant_left,
	// track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended
	Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Room  *Room  `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"`
	// set when event is participant_* or track_*
	Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"`
	// set when event is egress_*
	EgressInfo *livekit.EgressInfo `protobuf:"bytes,9,opt,name=egress_info,json=egressInfo,proto3" json:"egress_info,omitempty"`
	// set when event is ingress_*
	IngressInfo *IngressInfo `protobuf:"bytes,10,opt,name=ingress_info,json=ingressInfo,proto3" json:"ingress_info,omitempty"`
	// set when event is track_*
	Track *TrackInfo `protobuf:"bytes,8,opt,name=track,proto3" json:"track,omitempty"`
	// unique event uuid
	Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// timestamp in seconds
	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEvent) Descriptor deprecated

func (*WebhookEvent) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEvent.ProtoReflect.Descriptor instead.

func (*WebhookEvent) GetCreatedAt

func (x *WebhookEvent) GetCreatedAt() int64

func (*WebhookEvent) GetEgressInfo

func (x *WebhookEvent) GetEgressInfo() *livekit.EgressInfo

func (*WebhookEvent) GetEvent

func (x *WebhookEvent) GetEvent() string

func (*WebhookEvent) GetId

func (x *WebhookEvent) GetId() string

func (*WebhookEvent) GetIngressInfo

func (x *WebhookEvent) GetIngressInfo() *IngressInfo

func (*WebhookEvent) GetParticipant

func (x *WebhookEvent) GetParticipant() *ParticipantInfo

func (*WebhookEvent) GetRoom

func (x *WebhookEvent) GetRoom() *Room

func (*WebhookEvent) GetTrack

func (x *WebhookEvent) GetTrack() *TrackInfo

func (*WebhookEvent) ProtoMessage

func (*WebhookEvent) ProtoMessage()

func (*WebhookEvent) ProtoReflect

func (x *WebhookEvent) ProtoReflect() protoreflect.Message

func (*WebhookEvent) Reset

func (x *WebhookEvent) Reset()

func (*WebhookEvent) String

func (x *WebhookEvent) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL