livekit

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 24 Imported by: 80

README

Generated protobuf stubs

Documentation

Index

Constants

View Source
const (
	AnalyticsRecorderService_IngestStats_FullMethodName          = "/livekit.AnalyticsRecorderService/IngestStats"
	AnalyticsRecorderService_IngestEvents_FullMethodName         = "/livekit.AnalyticsRecorderService/IngestEvents"
	AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName = "/livekit.AnalyticsRecorderService/IngestNodeRoomStates"
)
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

View Source
const SIPPathPrefix = "/twirp/livekit.SIP/"

SIPPathPrefix 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 (
	JobType_name = map[int32]string{
		0: "JT_ROOM",
		1: "JT_PUBLISHER",
	}
	JobType_value = map[string]int32{
		"JT_ROOM":      0,
		"JT_PUBLISHER": 1,
	}
)

Enum value maps for JobType.

View Source
var (
	WorkerStatus_name = map[int32]string{
		0: "WS_AVAILABLE",
		1: "WS_FULL",
	}
	WorkerStatus_value = map[string]int32{
		"WS_AVAILABLE": 0,
		"WS_FULL":      1,
	}
)

Enum value maps for WorkerStatus.

View Source
var (
	JobStatus_name = map[int32]string{
		0: "JS_UNKNOWN",
		1: "JS_SUCCESS",
		2: "JS_FAILED",
	}
	JobStatus_value = map[string]int32{
		"JS_UNKNOWN": 0,
		"JS_SUCCESS": 1,
		"JS_FAILED":  2,
	}
)

Enum value maps for JobStatus.

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",
		20: "TRACK_PUBLISH_REQUESTED",
		5:  "TRACK_UNPUBLISHED",
		6:  "TRACK_SUBSCRIBED",
		21: "TRACK_SUBSCRIBE_REQUESTED",
		25: "TRACK_SUBSCRIBE_FAILED",
		7:  "TRACK_UNSUBSCRIBED",
		10: "TRACK_PUBLISHED_UPDATE",
		23: "TRACK_MUTED",
		24: "TRACK_UNMUTED",
		26: "TRACK_PUBLISH_STATS",
		27: "TRACK_SUBSCRIBE_STATS",
		11: "PARTICIPANT_ACTIVE",
		22: "PARTICIPANT_RESUMED",
		12: "EGRESS_STARTED",
		13: "EGRESS_ENDED",
		28: "EGRESS_UPDATED",
		14: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY",
		15: "RECONNECTED",
		18: "INGRESS_CREATED",
		19: "INGRESS_DELETED",
		16: "INGRESS_STARTED",
		17: "INGRESS_ENDED",
		29: "INGRESS_UPDATED",
	}
	AnalyticsEventType_value = map[string]int32{
		"ROOM_CREATED":                       0,
		"ROOM_ENDED":                         1,
		"PARTICIPANT_JOINED":                 2,
		"PARTICIPANT_LEFT":                   3,
		"TRACK_PUBLISHED":                    4,
		"TRACK_PUBLISH_REQUESTED":            20,
		"TRACK_UNPUBLISHED":                  5,
		"TRACK_SUBSCRIBED":                   6,
		"TRACK_SUBSCRIBE_REQUESTED":          21,
		"TRACK_SUBSCRIBE_FAILED":             25,
		"TRACK_UNSUBSCRIBED":                 7,
		"TRACK_PUBLISHED_UPDATE":             10,
		"TRACK_MUTED":                        23,
		"TRACK_UNMUTED":                      24,
		"TRACK_PUBLISH_STATS":                26,
		"TRACK_SUBSCRIBE_STATS":              27,
		"PARTICIPANT_ACTIVE":                 11,
		"PARTICIPANT_RESUMED":                22,
		"EGRESS_STARTED":                     12,
		"EGRESS_ENDED":                       13,
		"EGRESS_UPDATED":                     28,
		"TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY": 14,
		"RECONNECTED":                        15,
		"INGRESS_CREATED":                    18,
		"INGRESS_DELETED":                    19,
		"INGRESS_STARTED":                    16,
		"INGRESS_ENDED":                      17,
		"INGRESS_UPDATED":                    29,
	}
)

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 (
	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 (
	SegmentedFileSuffix_name = map[int32]string{
		0: "INDEX",
		1: "TIMESTAMP",
	}
	SegmentedFileSuffix_value = map[string]int32{
		"INDEX":     0,
		"TIMESTAMP": 1,
	}
)

Enum value maps for SegmentedFileSuffix.

View Source
var (
	ImageFileSuffix_name = map[int32]string{
		0: "IMAGE_SUFFIX_INDEX",
		1: "IMAGE_SUFFIX_TIMESTAMP",
	}
	ImageFileSuffix_value = map[string]int32{
		"IMAGE_SUFFIX_INDEX":     0,
		"IMAGE_SUFFIX_TIMESTAMP": 1,
	}
)

Enum value maps for ImageFileSuffix.

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 (
	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",
		1: "WHIP_INPUT",
		2: "URL_INPUT",
	}
	IngressInput_value = map[string]int32{
		"RTMP_INPUT": 0,
		"WHIP_INPUT": 1,
		"URL_INPUT":  2,
	}
)

Enum value maps for IngressInput.

View Source
var (
	IngressAudioEncodingPreset_name = map[int32]string{
		0: "OPUS_STEREO_96KBPS",
		1: "OPUS_MONO_64KBS",
	}
	IngressAudioEncodingPreset_value = map[string]int32{
		"OPUS_STEREO_96KBPS": 0,
		"OPUS_MONO_64KBS":    1,
	}
)

Enum value maps for IngressAudioEncodingPreset.

View Source
var (
	IngressVideoEncodingPreset_name = map[int32]string{
		0: "H264_720P_30FPS_3_LAYERS",
		1: "H264_1080P_30FPS_3_LAYERS",
		2: "H264_540P_25FPS_2_LAYERS",
		3: "H264_720P_30FPS_1_LAYER",
		4: "H264_1080P_30FPS_1_LAYER",
		5: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION",
		6: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION",
		7: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION",
		8: "H264_720P_30FPS_1_LAYER_HIGH_MOTION",
		9: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION",
	}
	IngressVideoEncodingPreset_value = map[string]int32{
		"H264_720P_30FPS_3_LAYERS":              0,
		"H264_1080P_30FPS_3_LAYERS":             1,
		"H264_540P_25FPS_2_LAYERS":              2,
		"H264_720P_30FPS_1_LAYER":               3,
		"H264_1080P_30FPS_1_LAYER":              4,
		"H264_720P_30FPS_3_LAYERS_HIGH_MOTION":  5,
		"H264_1080P_30FPS_3_LAYERS_HIGH_MOTION": 6,
		"H264_540P_25FPS_2_LAYERS_HIGH_MOTION":  7,
		"H264_720P_30FPS_1_LAYER_HIGH_MOTION":   8,
		"H264_1080P_30FPS_1_LAYER_HIGH_MOTION":  9,
	}
)

Enum value maps for IngressVideoEncodingPreset.

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

Enum value maps for IngressState_Status.

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

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 (
	ICECandidateType_name = map[int32]string{
		0: "ICT_NONE",
		1: "ICT_TCP",
		2: "ICT_TLS",
	}
	ICECandidateType_value = map[string]int32{
		"ICT_NONE": 0,
		"ICT_TCP":  1,
		"ICT_TLS":  2,
	}
)

Enum value maps for ICECandidateType.

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",
		4: "VP8",
	}
	VideoCodec_value = map[string]int32{
		"DEFAULT_VC":    0,
		"H264_BASELINE": 1,
		"H264_MAIN":     2,
		"H264_HIGH":     3,
		"VP8":           4,
	}
)

Enum value maps for VideoCodec.

View Source
var (
	ImageCodec_name = map[int32]string{
		0: "IC_DEFAULT",
		1: "IC_JPEG",
	}
	ImageCodec_value = map[string]int32{
		"IC_DEFAULT": 0,
		"IC_JPEG":    1,
	}
)

Enum value maps for ImageCodec.

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",
		3: "LOST",
	}
	ConnectionQuality_value = map[string]int32{
		"POOR":      0,
		"GOOD":      1,
		"EXCELLENT": 2,
		"LOST":      3,
	}
)

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",
		8: "MIGRATION",
		9: "SIGNAL_CLOSE",
	}
	DisconnectReason_value = map[string]int32{
		"UNKNOWN_REASON":      0,
		"CLIENT_INITIATED":    1,
		"DUPLICATE_IDENTITY":  2,
		"SERVER_SHUTDOWN":     3,
		"PARTICIPANT_REMOVED": 4,
		"ROOM_DELETED":        5,
		"STATE_MISMATCH":      6,
		"JOIN_FAILURE":        7,
		"MIGRATION":           8,
		"SIGNAL_CLOSE":        9,
	}
)

Enum value maps for DisconnectReason.

View Source
var (
	ReconnectReason_name = map[int32]string{
		0: "RR_UNKNOWN",
		1: "RR_SIGNAL_DISCONNECTED",
		2: "RR_PUBLISHER_FAILED",
		3: "RR_SUBSCRIBER_FAILED",
		4: "RR_SWITCH_CANDIDATE",
	}
	ReconnectReason_value = map[string]int32{
		"RR_UNKNOWN":             0,
		"RR_SIGNAL_DISCONNECTED": 1,
		"RR_PUBLISHER_FAILED":    2,
		"RR_SUBSCRIBER_FAILED":   3,
		"RR_SWITCH_CANDIDATE":    4,
	}
)

Enum value maps for ReconnectReason.

View Source
var (
	SubscriptionError_name = map[int32]string{
		0: "SE_UNKNOWN",
		1: "SE_CODEC_UNSUPPORTED",
		2: "SE_TRACK_NOTFOUND",
	}
	SubscriptionError_value = map[string]int32{
		"SE_UNKNOWN":           0,
		"SE_CODEC_UNSUPPORTED": 1,
		"SE_TRACK_NOTFOUND":    2,
	}
)

Enum value maps for SubscriptionError.

View Source
var (
	AudioTrackFeature_name = map[int32]string{
		0: "TF_STEREO",
		1: "TF_NO_DTX",
		2: "TF_AUTO_GAIN_CONTROL",
		3: "TF_ECHO_CANCELLATION",
		4: "TF_NOISE_SUPPRESSION",
		5: "TF_ENHANCED_NOISE_CANCELLATION",
	}
	AudioTrackFeature_value = map[string]int32{
		"TF_STEREO":                      0,
		"TF_NO_DTX":                      1,
		"TF_AUTO_GAIN_CONTROL":           2,
		"TF_ECHO_CANCELLATION":           3,
		"TF_NOISE_SUPPRESSION":           4,
		"TF_ENHANCED_NOISE_CANCELLATION": 5,
	}
)

Enum value maps for AudioTrackFeature.

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 (
	ParticipantInfo_Kind_name = map[int32]string{
		0: "STANDARD",
		1: "INGRESS",
		2: "EGRESS",
		3: "SIP",
		4: "AGENT",
	}
	ParticipantInfo_Kind_value = map[string]int32{
		"STANDARD": 0,
		"INGRESS":  1,
		"EGRESS":   2,
		"SIP":      3,
		"AGENT":    4,
	}
)

Enum value maps for ParticipantInfo_Kind.

View Source
var (
	Encryption_Type_name = map[int32]string{
		0: "NONE",
		1: "GCM",
		2: "CUSTOM",
	}
	Encryption_Type_value = map[string]int32{
		"NONE":   0,
		"GCM":    1,
		"CUSTOM": 2,
	}
)

Enum value maps for Encryption_Type.

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",
		7:  "REACT_NATIVE",
		8:  "RUST",
		9:  "PYTHON",
		10: "CPP",
	}
	ClientInfo_SDK_value = map[string]int32{
		"UNKNOWN":      0,
		"JS":           1,
		"SWIFT":        2,
		"ANDROID":      3,
		"FLUTTER":      4,
		"GO":           5,
		"UNITY":        6,
		"REACT_NATIVE": 7,
		"RUST":         8,
		"PYTHON":       9,
		"CPP":          10,
	}
)

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 (
	LeaveRequest_Action_name = map[int32]string{
		0: "DISCONNECT",
		1: "RESUME",
		2: "RECONNECT",
	}
	LeaveRequest_Action_value = map[string]int32{
		"DISCONNECT": 0,
		"RESUME":     1,
		"RECONNECT":  2,
	}
)

Enum value maps for LeaveRequest_Action.

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,
		},
		{
			StreamName:    "IngestNodeRoomStates",
			Handler:       _AnalyticsRecorderService_IngestNodeRoomStates_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_agent_proto protoreflect.FileDescriptor
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_rtc_proto protoreflect.FileDescriptor
View Source
var File_livekit_sip_proto protoreflect.FileDescriptor
View Source
var File_livekit_webhook_proto protoreflect.FileDescriptor

Functions

func IDsAsStrings added in v1.8.0

func IDsAsStrings[T stringTypes](ids []T) []string

func RegisterAnalyticsRecorderServiceServer

func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv AnalyticsRecorderServiceServer)

func StringsAsIDs added in v1.8.0

func StringsAsIDs[T stringTypes](ids []string) []T

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 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"`
	Stereo bool   `protobuf:"varint,12,opt,name=stereo,proto3" json:"stereo,omitempty"`
	// true if RED (Redundant Encoding) is disabled for audio
	DisableRed bool            `protobuf:"varint,13,opt,name=disable_red,json=disableRed,proto3" json:"disable_red,omitempty"`
	Encryption Encryption_Type `protobuf:"varint,14,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"`
	// which stream the track belongs to, used to group tracks together.
	// if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together
	Stream string `protobuf:"bytes,15,opt,name=stream,proto3" json:"stream,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) GetDisableRed added in v1.2.0

func (x *AddTrackRequest) GetDisableRed() bool

func (*AddTrackRequest) GetEncryption added in v1.3.2

func (x *AddTrackRequest) GetEncryption() Encryption_Type

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 added in v0.13.4

func (x *AddTrackRequest) GetSid() string

func (*AddTrackRequest) GetSimulcastCodecs added in v0.13.3

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

func (*AddTrackRequest) GetSource

func (x *AddTrackRequest) GetSource() TrackSource

func (*AddTrackRequest) GetStereo added in v1.2.0

func (x *AddTrackRequest) GetStereo() bool

func (*AddTrackRequest) GetStream added in v1.5.9

func (x *AddTrackRequest) GetStream() string

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 AgentInfo added in v1.9.1

type AgentInfo struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentInfo) Descriptor deprecated added in v1.9.1

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

Deprecated: Use AgentInfo.ProtoReflect.Descriptor instead.

func (*AgentInfo) GetId added in v1.9.1

func (x *AgentInfo) GetId() string

func (*AgentInfo) GetName added in v1.9.1

func (x *AgentInfo) GetName() string

func (*AgentInfo) GetVersion added in v1.9.1

func (x *AgentInfo) GetVersion() string

func (*AgentInfo) ProtoMessage added in v1.9.1

func (*AgentInfo) ProtoMessage()

func (*AgentInfo) ProtoReflect added in v1.9.1

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

func (*AgentInfo) Reset added in v1.9.1

func (x *AgentInfo) Reset()

func (*AgentInfo) String added in v1.9.1

func (x *AgentInfo) String() string

type AliOSSUpload added in v1.2.0

type AliOSSUpload 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 (*AliOSSUpload) Descriptor deprecated added in v1.2.0

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

Deprecated: Use AliOSSUpload.ProtoReflect.Descriptor instead.

func (*AliOSSUpload) GetAccessKey added in v1.2.0

func (x *AliOSSUpload) GetAccessKey() string

func (*AliOSSUpload) GetBucket added in v1.2.0

func (x *AliOSSUpload) GetBucket() string

func (*AliOSSUpload) GetEndpoint added in v1.2.0

func (x *AliOSSUpload) GetEndpoint() string

func (*AliOSSUpload) GetRegion added in v1.2.0

func (x *AliOSSUpload) GetRegion() string

func (*AliOSSUpload) GetSecret added in v1.2.0

func (x *AliOSSUpload) GetSecret() string

func (*AliOSSUpload) ProtoMessage added in v1.2.0

func (*AliOSSUpload) ProtoMessage()

func (*AliOSSUpload) ProtoReflect added in v1.2.0

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

func (*AliOSSUpload) Reset added in v1.2.0

func (x *AliOSSUpload) Reset()

func (*AliOSSUpload) String added in v1.2.0

func (x *AliOSSUpload) String() string

type AnalyticsClientMeta added in v0.11.12

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"`
	ReconnectReason ReconnectReason `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AnalyticsClientMeta) Descriptor deprecated added in v0.11.12

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

Deprecated: Use AnalyticsClientMeta.ProtoReflect.Descriptor instead.

func (*AnalyticsClientMeta) GetClientAddr added in v0.11.12

func (x *AnalyticsClientMeta) GetClientAddr() string

func (*AnalyticsClientMeta) GetClientConnectTime added in v0.11.12

func (x *AnalyticsClientMeta) GetClientConnectTime() uint32

func (*AnalyticsClientMeta) GetConnectionType added in v1.0.1

func (x *AnalyticsClientMeta) GetConnectionType() string

func (*AnalyticsClientMeta) GetNode added in v0.11.12

func (x *AnalyticsClientMeta) GetNode() string

func (*AnalyticsClientMeta) GetReconnectReason added in v1.4.0

func (x *AnalyticsClientMeta) GetReconnectReason() ReconnectReason

func (*AnalyticsClientMeta) GetRegion added in v0.11.12

func (x *AnalyticsClientMeta) GetRegion() string

func (*AnalyticsClientMeta) ProtoMessage added in v0.11.12

func (*AnalyticsClientMeta) ProtoMessage()

func (*AnalyticsClientMeta) ProtoReflect added in v0.11.12

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

func (*AnalyticsClientMeta) Reset added in v0.11.12

func (x *AnalyticsClientMeta) Reset()

func (*AnalyticsClientMeta) String added in v0.11.12

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                    *EgressInfo            `protobuf:"bytes,17,opt,name=egress,proto3" json:"egress,omitempty"`
	Ingress                   *IngressInfo           `protobuf:"bytes,18,opt,name=ingress,proto3" json:"ingress,omitempty"`
	Error                     string                 `protobuf:"bytes,20,opt,name=error,proto3" json:"error,omitempty"`
	RtpStats                  *RTPStats              `protobuf:"bytes,21,opt,name=rtp_stats,json=rtpStats,proto3" json:"rtp_stats,omitempty"`
	VideoLayer                int32                  `protobuf:"varint,22,opt,name=video_layer,json=videoLayer,proto3" json:"video_layer,omitempty"`
	ProjectId                 string                 `protobuf:"bytes,23,opt,name=project_id,json=projectId,proto3" json:"project_id,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 added in v0.11.11

func (x *AnalyticsEvent) GetClientInfo() *ClientInfo

func (*AnalyticsEvent) GetClientMeta added in v0.11.12

func (x *AnalyticsEvent) GetClientMeta() *AnalyticsClientMeta

func (*AnalyticsEvent) GetEgress added in v1.0.2

func (x *AnalyticsEvent) GetEgress() *EgressInfo

func (*AnalyticsEvent) GetEgressId added in v0.11.14

func (x *AnalyticsEvent) GetEgressId() string

func (*AnalyticsEvent) GetError added in v1.4.0

func (x *AnalyticsEvent) GetError() string

func (*AnalyticsEvent) GetIngress added in v1.0.2

func (x *AnalyticsEvent) GetIngress() *IngressInfo

func (*AnalyticsEvent) GetIngressId added in v1.2.0

func (x *AnalyticsEvent) GetIngressId() string

func (*AnalyticsEvent) GetMaxSubscribedVideoQuality added in v0.11.14

func (x *AnalyticsEvent) GetMaxSubscribedVideoQuality() VideoQuality

func (*AnalyticsEvent) GetMime added in v0.13.3

func (x *AnalyticsEvent) GetMime() string

func (*AnalyticsEvent) GetParticipant

func (x *AnalyticsEvent) GetParticipant() *ParticipantInfo

func (*AnalyticsEvent) GetParticipantId

func (x *AnalyticsEvent) GetParticipantId() string

func (*AnalyticsEvent) GetProjectId added in v1.9.4

func (x *AnalyticsEvent) GetProjectId() string

func (*AnalyticsEvent) GetPublisher added in v0.11.14

func (x *AnalyticsEvent) GetPublisher() *ParticipantInfo

func (*AnalyticsEvent) GetRoom

func (x *AnalyticsEvent) GetRoom() *Room

func (*AnalyticsEvent) GetRoomId added in v0.11.8

func (x *AnalyticsEvent) GetRoomId() string

func (*AnalyticsEvent) GetRtpStats added in v1.5.0

func (x *AnalyticsEvent) GetRtpStats() *RTPStats

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) GetVideoLayer added in v1.5.0

func (x *AnalyticsEvent) GetVideoLayer() int32

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_PUBLISH_REQUESTED            AnalyticsEventType = 20
	AnalyticsEventType_TRACK_UNPUBLISHED                  AnalyticsEventType = 5
	AnalyticsEventType_TRACK_SUBSCRIBED                   AnalyticsEventType = 6
	AnalyticsEventType_TRACK_SUBSCRIBE_REQUESTED          AnalyticsEventType = 21
	AnalyticsEventType_TRACK_SUBSCRIBE_FAILED             AnalyticsEventType = 25
	AnalyticsEventType_TRACK_UNSUBSCRIBED                 AnalyticsEventType = 7
	AnalyticsEventType_TRACK_PUBLISHED_UPDATE             AnalyticsEventType = 10
	AnalyticsEventType_TRACK_MUTED                        AnalyticsEventType = 23
	AnalyticsEventType_TRACK_UNMUTED                      AnalyticsEventType = 24
	AnalyticsEventType_TRACK_PUBLISH_STATS                AnalyticsEventType = 26
	AnalyticsEventType_TRACK_SUBSCRIBE_STATS              AnalyticsEventType = 27
	AnalyticsEventType_PARTICIPANT_ACTIVE                 AnalyticsEventType = 11
	AnalyticsEventType_PARTICIPANT_RESUMED                AnalyticsEventType = 22
	AnalyticsEventType_EGRESS_STARTED                     AnalyticsEventType = 12
	AnalyticsEventType_EGRESS_ENDED                       AnalyticsEventType = 13
	AnalyticsEventType_EGRESS_UPDATED                     AnalyticsEventType = 28
	AnalyticsEventType_TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY AnalyticsEventType = 14
	AnalyticsEventType_RECONNECTED                        AnalyticsEventType = 15
	AnalyticsEventType_INGRESS_CREATED                    AnalyticsEventType = 18
	AnalyticsEventType_INGRESS_DELETED                    AnalyticsEventType = 19
	AnalyticsEventType_INGRESS_STARTED                    AnalyticsEventType = 16
	AnalyticsEventType_INGRESS_ENDED                      AnalyticsEventType = 17
	AnalyticsEventType_INGRESS_UPDATED                    AnalyticsEventType = 29
)

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 AnalyticsNodeRooms added in v1.9.4

type AnalyticsNodeRooms struct {
	NodeId         string                 `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	SequenceNumber uint64                 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	Timestamp      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Rooms          []*AnalyticsRoom       `protobuf:"bytes,4,rep,name=rooms,proto3" json:"rooms,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsNodeRooms) Descriptor deprecated added in v1.9.4

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

Deprecated: Use AnalyticsNodeRooms.ProtoReflect.Descriptor instead.

func (*AnalyticsNodeRooms) GetNodeId added in v1.9.4

func (x *AnalyticsNodeRooms) GetNodeId() string

func (*AnalyticsNodeRooms) GetRooms added in v1.9.4

func (x *AnalyticsNodeRooms) GetRooms() []*AnalyticsRoom

func (*AnalyticsNodeRooms) GetSequenceNumber added in v1.9.4

func (x *AnalyticsNodeRooms) GetSequenceNumber() uint64

func (*AnalyticsNodeRooms) GetTimestamp added in v1.9.4

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

func (*AnalyticsNodeRooms) ProtoMessage added in v1.9.4

func (*AnalyticsNodeRooms) ProtoMessage()

func (*AnalyticsNodeRooms) ProtoReflect added in v1.9.4

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

func (*AnalyticsNodeRooms) Reset added in v1.9.4

func (x *AnalyticsNodeRooms) Reset()

func (*AnalyticsNodeRooms) String added in v1.9.4

func (x *AnalyticsNodeRooms) 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)
	IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, 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
	IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) 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_IngestNodeRoomStatesClient added in v1.9.4

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

type AnalyticsRecorderService_IngestNodeRoomStatesServer added in v1.9.4

type AnalyticsRecorderService_IngestNodeRoomStatesServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*AnalyticsNodeRooms, 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 AnalyticsRoom added in v1.9.4

type AnalyticsRoom struct {
	Id           string                      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string                      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt    *timestamppb.Timestamp      `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsRoom) Descriptor deprecated added in v1.9.4

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

Deprecated: Use AnalyticsRoom.ProtoReflect.Descriptor instead.

func (*AnalyticsRoom) GetCreatedAt added in v1.9.4

func (x *AnalyticsRoom) GetCreatedAt() *timestamppb.Timestamp

func (*AnalyticsRoom) GetId added in v1.9.4

func (x *AnalyticsRoom) GetId() string

func (*AnalyticsRoom) GetName added in v1.9.4

func (x *AnalyticsRoom) GetName() string

func (*AnalyticsRoom) GetParticipants added in v1.9.4

func (x *AnalyticsRoom) GetParticipants() []*AnalyticsRoomParticipant

func (*AnalyticsRoom) ProtoMessage added in v1.9.4

func (*AnalyticsRoom) ProtoMessage()

func (*AnalyticsRoom) ProtoReflect added in v1.9.4

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

func (*AnalyticsRoom) Reset added in v1.9.4

func (x *AnalyticsRoom) Reset()

func (*AnalyticsRoom) String added in v1.9.4

func (x *AnalyticsRoom) String() string

type AnalyticsRoomParticipant added in v1.9.4

type AnalyticsRoomParticipant struct {
	Id       string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Identity string                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Name     string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	State    ParticipantInfo_State  `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"`
	JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyticsRoomParticipant) Descriptor deprecated added in v1.9.4

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

Deprecated: Use AnalyticsRoomParticipant.ProtoReflect.Descriptor instead.

func (*AnalyticsRoomParticipant) GetId added in v1.9.4

func (x *AnalyticsRoomParticipant) GetId() string

func (*AnalyticsRoomParticipant) GetIdentity added in v1.9.4

func (x *AnalyticsRoomParticipant) GetIdentity() string

func (*AnalyticsRoomParticipant) GetJoinedAt added in v1.9.4

func (*AnalyticsRoomParticipant) GetName added in v1.9.4

func (x *AnalyticsRoomParticipant) GetName() string

func (*AnalyticsRoomParticipant) GetState added in v1.9.4

func (*AnalyticsRoomParticipant) ProtoMessage added in v1.9.4

func (*AnalyticsRoomParticipant) ProtoMessage()

func (*AnalyticsRoomParticipant) ProtoReflect added in v1.9.4

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

func (*AnalyticsRoomParticipant) Reset added in v1.9.4

func (x *AnalyticsRoomParticipant) Reset()

func (*AnalyticsRoomParticipant) String added in v1.9.4

func (x *AnalyticsRoomParticipant) String() string

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"` // average score
	Streams       []*AnalyticsStream     `protobuf:"bytes,10,rep,name=streams,proto3" json:"streams,omitempty"`
	Mime          string                 `protobuf:"bytes,11,opt,name=mime,proto3" json:"mime,omitempty"`
	MinScore      float32                `protobuf:"fixed32,12,opt,name=min_score,json=minScore,proto3" json:"min_score,omitempty"`
	MedianScore   float32                `protobuf:"fixed32,13,opt,name=median_score,json=medianScore,proto3" json:"median_score,omitempty"`
	ProjectId     string                 `protobuf:"bytes,14,opt,name=project_id,json=projectId,proto3" json:"project_id,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) GetMedianScore added in v1.5.7

func (x *AnalyticsStat) GetMedianScore() float32

func (*AnalyticsStat) GetMime added in v0.13.3

func (x *AnalyticsStat) GetMime() string

func (*AnalyticsStat) GetMinScore added in v1.5.7

func (x *AnalyticsStat) GetMinScore() float32

func (*AnalyticsStat) GetNode

func (x *AnalyticsStat) GetNode() string

func (*AnalyticsStat) GetParticipantId

func (x *AnalyticsStat) GetParticipantId() string

func (*AnalyticsStat) GetProjectId added in v1.9.4

func (x *AnalyticsStat) GetProjectId() string

func (*AnalyticsStat) GetRoomId

func (x *AnalyticsStat) GetRoomId() string

func (*AnalyticsStat) GetRoomName

func (x *AnalyticsStat) GetRoomName() string

func (*AnalyticsStat) GetScore added in v0.11.13

func (x *AnalyticsStat) GetScore() float32

func (*AnalyticsStat) GetStreams added in v0.11.13

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

func (*AnalyticsStat) GetTimeStamp

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

func (*AnalyticsStat) GetTrackId added in v0.11.2

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 added in v0.11.13

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 added in v0.11.13

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

Deprecated: Use AnalyticsStream.ProtoReflect.Descriptor instead.

func (*AnalyticsStream) GetFirs added in v0.13.1

func (x *AnalyticsStream) GetFirs() uint32

func (*AnalyticsStream) GetFrames added in v0.13.1

func (x *AnalyticsStream) GetFrames() uint32

func (*AnalyticsStream) GetJitter added in v0.11.13

func (x *AnalyticsStream) GetJitter() uint32

func (*AnalyticsStream) GetNacks added in v0.13.1

func (x *AnalyticsStream) GetNacks() uint32

func (*AnalyticsStream) GetPacketsLost added in v0.13.1

func (x *AnalyticsStream) GetPacketsLost() uint32

func (*AnalyticsStream) GetPaddingBytes added in v0.13.1

func (x *AnalyticsStream) GetPaddingBytes() uint64

func (*AnalyticsStream) GetPaddingPackets added in v0.13.1

func (x *AnalyticsStream) GetPaddingPackets() uint32

func (*AnalyticsStream) GetPlis added in v0.13.1

func (x *AnalyticsStream) GetPlis() uint32

func (*AnalyticsStream) GetPrimaryBytes added in v0.13.1

func (x *AnalyticsStream) GetPrimaryBytes() uint64

func (*AnalyticsStream) GetPrimaryPackets added in v0.13.1

func (x *AnalyticsStream) GetPrimaryPackets() uint32

func (*AnalyticsStream) GetRetransmitBytes added in v0.13.1

func (x *AnalyticsStream) GetRetransmitBytes() uint64

func (*AnalyticsStream) GetRetransmitPackets added in v0.13.1

func (x *AnalyticsStream) GetRetransmitPackets() uint32

func (*AnalyticsStream) GetRtt added in v0.11.13

func (x *AnalyticsStream) GetRtt() uint32

func (*AnalyticsStream) GetSsrc added in v0.11.13

func (x *AnalyticsStream) GetSsrc() uint32

func (*AnalyticsStream) GetVideoLayers added in v0.11.13

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

func (*AnalyticsStream) ProtoMessage added in v0.11.13

func (*AnalyticsStream) ProtoMessage()

func (*AnalyticsStream) ProtoReflect added in v0.11.13

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

func (*AnalyticsStream) Reset added in v0.11.13

func (x *AnalyticsStream) Reset()

func (*AnalyticsStream) String added in v0.11.13

func (x *AnalyticsStream) String() string

type AnalyticsVideoLayer added in v0.11.13

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 added in v0.11.13

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

Deprecated: Use AnalyticsVideoLayer.ProtoReflect.Descriptor instead.

func (*AnalyticsVideoLayer) GetBytes added in v0.13.1

func (x *AnalyticsVideoLayer) GetBytes() uint64

func (*AnalyticsVideoLayer) GetFrames added in v0.13.1

func (x *AnalyticsVideoLayer) GetFrames() uint32

func (*AnalyticsVideoLayer) GetLayer added in v0.11.13

func (x *AnalyticsVideoLayer) GetLayer() int32

func (*AnalyticsVideoLayer) GetPackets added in v0.13.1

func (x *AnalyticsVideoLayer) GetPackets() uint32

func (*AnalyticsVideoLayer) ProtoMessage added in v0.11.13

func (*AnalyticsVideoLayer) ProtoMessage()

func (*AnalyticsVideoLayer) ProtoReflect added in v0.11.13

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

func (*AnalyticsVideoLayer) Reset added in v0.11.13

func (x *AnalyticsVideoLayer) Reset()

func (*AnalyticsVideoLayer) String added in v0.11.13

func (x *AnalyticsVideoLayer) String() string

type AudioCodec added in v0.11.14

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

func (AudioCodec) Descriptor added in v0.11.14

func (AudioCodec) Descriptor() protoreflect.EnumDescriptor

func (AudioCodec) Enum added in v0.11.14

func (x AudioCodec) Enum() *AudioCodec

func (AudioCodec) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use AudioCodec.Descriptor instead.

func (AudioCodec) Number added in v0.11.14

func (x AudioCodec) Number() protoreflect.EnumNumber

func (AudioCodec) String added in v0.11.14

func (x AudioCodec) String() string

func (AudioCodec) Type added in v0.11.14

type AudioTrackFeature added in v1.12.0

type AudioTrackFeature int32
const (
	AudioTrackFeature_TF_STEREO                      AudioTrackFeature = 0
	AudioTrackFeature_TF_NO_DTX                      AudioTrackFeature = 1
	AudioTrackFeature_TF_AUTO_GAIN_CONTROL           AudioTrackFeature = 2
	AudioTrackFeature_TF_ECHO_CANCELLATION           AudioTrackFeature = 3
	AudioTrackFeature_TF_NOISE_SUPPRESSION           AudioTrackFeature = 4
	AudioTrackFeature_TF_ENHANCED_NOISE_CANCELLATION AudioTrackFeature = 5
)

func (AudioTrackFeature) Descriptor added in v1.12.0

func (AudioTrackFeature) Enum added in v1.12.0

func (AudioTrackFeature) EnumDescriptor deprecated added in v1.12.0

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

Deprecated: Use AudioTrackFeature.Descriptor instead.

func (AudioTrackFeature) Number added in v1.12.0

func (AudioTrackFeature) String added in v1.12.0

func (x AudioTrackFeature) String() string

func (AudioTrackFeature) Type added in v1.12.0

type AutoParticipantEgress added in v1.0.2

type AutoParticipantEgress struct {

	// Types that are assignable to Options:
	//
	//	*AutoParticipantEgress_Preset
	//	*AutoParticipantEgress_Advanced
	Options        isAutoParticipantEgress_Options `protobuf_oneof:"options"`
	FileOutputs    []*EncodedFileOutput            `protobuf:"bytes,3,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"`
	SegmentOutputs []*SegmentedFileOutput          `protobuf:"bytes,4,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoParticipantEgress) Descriptor deprecated added in v1.0.2

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

Deprecated: Use AutoParticipantEgress.ProtoReflect.Descriptor instead.

func (*AutoParticipantEgress) GetAdvanced added in v1.0.2

func (x *AutoParticipantEgress) GetAdvanced() *EncodingOptions

func (*AutoParticipantEgress) GetFileOutputs added in v1.7.0

func (x *AutoParticipantEgress) GetFileOutputs() []*EncodedFileOutput

func (*AutoParticipantEgress) GetOptions added in v1.0.2

func (m *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options

func (*AutoParticipantEgress) GetPreset added in v1.0.2

func (*AutoParticipantEgress) GetSegmentOutputs added in v1.7.0

func (x *AutoParticipantEgress) GetSegmentOutputs() []*SegmentedFileOutput

func (*AutoParticipantEgress) ProtoMessage added in v1.0.2

func (*AutoParticipantEgress) ProtoMessage()

func (*AutoParticipantEgress) ProtoReflect added in v1.0.2

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

func (*AutoParticipantEgress) Reset added in v1.0.2

func (x *AutoParticipantEgress) Reset()

func (*AutoParticipantEgress) String added in v1.0.2

func (x *AutoParticipantEgress) String() string

type AutoParticipantEgress_Advanced added in v1.0.2

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

type AutoParticipantEgress_Preset added in v1.0.2

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

type AutoTrackEgress added in v1.0.2

type AutoTrackEgress struct {
	Filepath        string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"`                                       // see docs for templating (default {track_id}-{time})
	DisableManifest bool   `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false)
	// 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 added in v1.0.2

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

Deprecated: Use AutoTrackEgress.ProtoReflect.Descriptor instead.

func (*AutoTrackEgress) GetAzure added in v1.0.2

func (x *AutoTrackEgress) GetAzure() *AzureBlobUpload

func (*AutoTrackEgress) GetDisableManifest added in v1.2.0

func (x *AutoTrackEgress) GetDisableManifest() bool

func (*AutoTrackEgress) GetFilepath added in v1.2.0

func (x *AutoTrackEgress) GetFilepath() string

func (*AutoTrackEgress) GetGcp added in v1.0.2

func (x *AutoTrackEgress) GetGcp() *GCPUpload

func (*AutoTrackEgress) GetOutput added in v1.0.2

func (m *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output

func (*AutoTrackEgress) GetS3 added in v1.0.2

func (x *AutoTrackEgress) GetS3() *S3Upload

func (*AutoTrackEgress) ProtoMessage added in v1.0.2

func (*AutoTrackEgress) ProtoMessage()

func (*AutoTrackEgress) ProtoReflect added in v1.0.2

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

func (*AutoTrackEgress) Reset added in v1.0.2

func (x *AutoTrackEgress) Reset()

func (*AutoTrackEgress) String added in v1.0.2

func (x *AutoTrackEgress) String() string

type AutoTrackEgress_Azure added in v1.0.2

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

type AutoTrackEgress_Gcp added in v1.0.2

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

type AutoTrackEgress_S3 added in v1.0.2

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

type AvailabilityRequest added in v1.9.1

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

func (*AvailabilityRequest) Descriptor deprecated added in v1.9.1

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

Deprecated: Use AvailabilityRequest.ProtoReflect.Descriptor instead.

func (*AvailabilityRequest) GetJob added in v1.9.1

func (x *AvailabilityRequest) GetJob() *Job

func (*AvailabilityRequest) ProtoMessage added in v1.9.1

func (*AvailabilityRequest) ProtoMessage()

func (*AvailabilityRequest) ProtoReflect added in v1.9.1

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

func (*AvailabilityRequest) Reset added in v1.9.1

func (x *AvailabilityRequest) Reset()

func (*AvailabilityRequest) String added in v1.9.1

func (x *AvailabilityRequest) String() string

type AvailabilityResponse added in v1.9.1

type AvailabilityResponse struct {
	JobId     string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Available bool   `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	// contains filtered or unexported fields
}

func (*AvailabilityResponse) Descriptor deprecated added in v1.9.1

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

Deprecated: Use AvailabilityResponse.ProtoReflect.Descriptor instead.

func (*AvailabilityResponse) GetAvailable added in v1.9.1

func (x *AvailabilityResponse) GetAvailable() bool

func (*AvailabilityResponse) GetJobId added in v1.9.1

func (x *AvailabilityResponse) GetJobId() string

func (*AvailabilityResponse) ProtoMessage added in v1.9.1

func (*AvailabilityResponse) ProtoMessage()

func (*AvailabilityResponse) ProtoReflect added in v1.9.1

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

func (*AvailabilityResponse) Reset added in v1.9.1

func (x *AvailabilityResponse) Reset()

func (*AvailabilityResponse) String added in v1.9.1

func (x *AvailabilityResponse) String() string

type AzureBlobUpload added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use AzureBlobUpload.ProtoReflect.Descriptor instead.

func (*AzureBlobUpload) GetAccountKey added in v0.11.14

func (x *AzureBlobUpload) GetAccountKey() string

func (*AzureBlobUpload) GetAccountName added in v0.11.14

func (x *AzureBlobUpload) GetAccountName() string

func (*AzureBlobUpload) GetContainerName added in v0.11.14

func (x *AzureBlobUpload) GetContainerName() string

func (*AzureBlobUpload) ProtoMessage added in v0.11.14

func (*AzureBlobUpload) ProtoMessage()

func (*AzureBlobUpload) ProtoReflect added in v0.11.14

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

func (*AzureBlobUpload) Reset added in v0.11.14

func (x *AzureBlobUpload) Reset()

func (*AzureBlobUpload) String added in v0.11.14

func (x *AzureBlobUpload) String() string

type CandidateProtocol added in v0.13.3

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

func (CandidateProtocol) Descriptor added in v0.13.3

func (CandidateProtocol) Enum added in v0.13.3

func (CandidateProtocol) EnumDescriptor deprecated added in v0.13.3

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

Deprecated: Use CandidateProtocol.Descriptor instead.

func (CandidateProtocol) Number added in v0.13.3

func (CandidateProtocol) String added in v0.13.3

func (x CandidateProtocol) String() string

func (CandidateProtocol) Type added in v0.13.3

type ClientConfigSetting added in v0.11.14

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

func (ClientConfigSetting) Descriptor added in v0.11.14

func (ClientConfigSetting) Enum added in v0.11.14

func (ClientConfigSetting) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use ClientConfigSetting.Descriptor instead.

func (ClientConfigSetting) Number added in v0.11.14

func (ClientConfigSetting) String added in v0.11.14

func (x ClientConfigSetting) String() string

func (ClientConfigSetting) Type added in v0.11.14

type ClientConfiguration added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use ClientConfiguration.ProtoReflect.Descriptor instead.

func (*ClientConfiguration) GetDisabledCodecs added in v0.13.3

func (x *ClientConfiguration) GetDisabledCodecs() *DisabledCodecs

func (*ClientConfiguration) GetForceRelay added in v1.0.2

func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting

func (*ClientConfiguration) GetResumeConnection added in v0.11.14

func (x *ClientConfiguration) GetResumeConnection() ClientConfigSetting

func (*ClientConfiguration) GetScreen added in v0.11.14

func (x *ClientConfiguration) GetScreen() *VideoConfiguration

func (*ClientConfiguration) GetVideo added in v0.11.14

func (x *ClientConfiguration) GetVideo() *VideoConfiguration

func (*ClientConfiguration) ProtoMessage added in v0.11.14

func (*ClientConfiguration) ProtoMessage()

func (*ClientConfiguration) ProtoReflect added in v0.11.14

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

func (*ClientConfiguration) Reset added in v0.11.14

func (x *ClientConfiguration) Reset()

func (*ClientConfiguration) String added in v0.11.14

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 added in v0.11.12

func (x *ClientInfo) GetAddress() string

func (*ClientInfo) GetBrowser added in v0.11.11

func (x *ClientInfo) GetBrowser() string

func (*ClientInfo) GetBrowserVersion added in v0.11.11

func (x *ClientInfo) GetBrowserVersion() string

func (*ClientInfo) GetDeviceModel added in v0.11.11

func (x *ClientInfo) GetDeviceModel() string

func (*ClientInfo) GetNetwork added in v1.0.1

func (x *ClientInfo) GetNetwork() string

func (*ClientInfo) GetOs added in v0.11.11

func (x *ClientInfo) GetOs() string

func (*ClientInfo) GetOsVersion added in v0.11.11

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
	ClientInfo_REACT_NATIVE ClientInfo_SDK = 7
	ClientInfo_RUST         ClientInfo_SDK = 8
	ClientInfo_PYTHON       ClientInfo_SDK = 9
	ClientInfo_CPP          ClientInfo_SDK = 10
)

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 added in v0.11.14

type ConnectionID string

type ConnectionQuality

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

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 added in v0.11.1

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 added in v0.13.1

type CreateIngressRequest struct {
	InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"`
	// Where to pull media from, only for URL input type
	Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,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"`
	// metadata associated with the publishing participant
	ParticipantMetadata string `protobuf:"bytes,10,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"`
	// whether to pass through the incoming media without transcoding, only compatible with some input types
	BypassTranscoding bool                 `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3" json:"bypass_transcoding,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 added in v0.13.1

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

Deprecated: Use CreateIngressRequest.ProtoReflect.Descriptor instead.

func (*CreateIngressRequest) GetAudio added in v0.13.1

func (*CreateIngressRequest) GetBypassTranscoding added in v1.5.8

func (x *CreateIngressRequest) GetBypassTranscoding() bool

func (*CreateIngressRequest) GetInputType added in v0.13.1

func (x *CreateIngressRequest) GetInputType() IngressInput

func (*CreateIngressRequest) GetName added in v1.0.0

func (x *CreateIngressRequest) GetName() string

func (*CreateIngressRequest) GetParticipantIdentity added in v0.13.1

func (x *CreateIngressRequest) GetParticipantIdentity() string

func (*CreateIngressRequest) GetParticipantMetadata added in v1.9.9

func (x *CreateIngressRequest) GetParticipantMetadata() string

func (*CreateIngressRequest) GetParticipantName added in v0.13.1

func (x *CreateIngressRequest) GetParticipantName() string

func (*CreateIngressRequest) GetRoomName added in v0.13.1

func (x *CreateIngressRequest) GetRoomName() string

func (*CreateIngressRequest) GetUrl added in v1.6.0

func (x *CreateIngressRequest) GetUrl() string

func (*CreateIngressRequest) GetVideo added in v0.13.1

func (*CreateIngressRequest) ProtoMessage added in v0.13.1

func (*CreateIngressRequest) ProtoMessage()

func (*CreateIngressRequest) ProtoReflect added in v0.13.1

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

func (*CreateIngressRequest) Reset added in v0.13.1

func (x *CreateIngressRequest) Reset()

func (*CreateIngressRequest) String added in v0.13.1

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"`
	// number of seconds to keep the room open after everyone leaves
	DepartureTimeout uint32 `protobuf:"varint,10,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_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"`
	// playout delay of subscriber
	MinPlayoutDelay uint32 `protobuf:"varint,7,opt,name=min_playout_delay,json=minPlayoutDelay,proto3" json:"min_playout_delay,omitempty"`
	MaxPlayoutDelay uint32 `protobuf:"varint,8,opt,name=max_playout_delay,json=maxPlayoutDelay,proto3" json:"max_playout_delay,omitempty"`
	// improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
	// so not recommended for rooms with frequent subscription changes
	SyncStreams bool `protobuf:"varint,9,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoomRequest) Descriptor deprecated

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

Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.

func (*CreateRoomRequest) GetDepartureTimeout added in v1.11.0

func (x *CreateRoomRequest) GetDepartureTimeout() uint32

func (*CreateRoomRequest) GetEgress added in v1.0.2

func (x *CreateRoomRequest) GetEgress() *RoomEgress

func (*CreateRoomRequest) GetEmptyTimeout

func (x *CreateRoomRequest) GetEmptyTimeout() uint32

func (*CreateRoomRequest) GetMaxParticipants

func (x *CreateRoomRequest) GetMaxParticipants() uint32

func (*CreateRoomRequest) GetMaxPlayoutDelay added in v1.8.0

func (x *CreateRoomRequest) GetMaxPlayoutDelay() uint32

func (*CreateRoomRequest) GetMetadata added in v0.11.4

func (x *CreateRoomRequest) GetMetadata() string

func (*CreateRoomRequest) GetMinPlayoutDelay added in v1.6.0

func (x *CreateRoomRequest) GetMinPlayoutDelay() uint32

func (*CreateRoomRequest) GetName

func (x *CreateRoomRequest) GetName() string

func (*CreateRoomRequest) GetNodeId

func (x *CreateRoomRequest) GetNodeId() string

func (*CreateRoomRequest) GetSyncStreams added in v1.8.0

func (x *CreateRoomRequest) GetSyncStreams() bool

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 CreateSIPDispatchRuleRequest added in v1.9.0

type CreateSIPDispatchRuleRequest struct {
	Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
	// What trunks are accepted for this dispatch rule
	// If empty all trunks will match this dispatch rule
	TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
	// By default the From value (Phone number) is used as the participant identity
	// If true a random value will be used instead
	HidePhoneNumber bool `protobuf:"varint,3,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSIPDispatchRuleRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use CreateSIPDispatchRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateSIPDispatchRuleRequest) GetHidePhoneNumber added in v1.9.0

func (x *CreateSIPDispatchRuleRequest) GetHidePhoneNumber() bool

func (*CreateSIPDispatchRuleRequest) GetRule added in v1.9.1

func (*CreateSIPDispatchRuleRequest) GetTrunkIds added in v1.9.0

func (x *CreateSIPDispatchRuleRequest) GetTrunkIds() []string

func (*CreateSIPDispatchRuleRequest) ProtoMessage added in v1.9.0

func (*CreateSIPDispatchRuleRequest) ProtoMessage()

func (*CreateSIPDispatchRuleRequest) ProtoReflect added in v1.9.0

func (*CreateSIPDispatchRuleRequest) Reset added in v1.9.0

func (x *CreateSIPDispatchRuleRequest) Reset()

func (*CreateSIPDispatchRuleRequest) String added in v1.9.0

type CreateSIPParticipantRequest added in v1.9.0

type CreateSIPParticipantRequest struct {

	// What SIP Trunk should be used to dial the user
	SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
	// What number should be dialed via SIP
	SipCallTo string `protobuf:"bytes,2,opt,name=sip_call_to,json=sipCallTo,proto3" json:"sip_call_to,omitempty"`
	// What LiveKit room should this participant be connected too
	RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// Optional identity of the participant in LiveKit room
	ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	// Optionally send following DTMF digits (extension codes) when making a call.
	// Character 'w' can be used to add a 0.5 sec delay.
	Dtmf string `protobuf:"bytes,5,opt,name=dtmf,proto3" json:"dtmf,omitempty"`
	// contains filtered or unexported fields
}

A SIP Participant is a singular SIP session connected to a LiveKit room via a SIP Trunk into a SIP DispatchRule

func (*CreateSIPParticipantRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use CreateSIPParticipantRequest.ProtoReflect.Descriptor instead.

func (*CreateSIPParticipantRequest) GetDtmf added in v1.12.0

func (x *CreateSIPParticipantRequest) GetDtmf() string

func (*CreateSIPParticipantRequest) GetParticipantIdentity added in v1.9.2

func (x *CreateSIPParticipantRequest) GetParticipantIdentity() string

func (*CreateSIPParticipantRequest) GetRoomName added in v1.9.0

func (x *CreateSIPParticipantRequest) GetRoomName() string

func (*CreateSIPParticipantRequest) GetSipCallTo added in v1.9.2

func (x *CreateSIPParticipantRequest) GetSipCallTo() string

func (*CreateSIPParticipantRequest) GetSipTrunkId added in v1.9.0

func (x *CreateSIPParticipantRequest) GetSipTrunkId() string

func (*CreateSIPParticipantRequest) ProtoMessage added in v1.9.0

func (*CreateSIPParticipantRequest) ProtoMessage()

func (*CreateSIPParticipantRequest) ProtoReflect added in v1.9.0

func (*CreateSIPParticipantRequest) Reset added in v1.9.0

func (x *CreateSIPParticipantRequest) Reset()

func (*CreateSIPParticipantRequest) String added in v1.9.0

func (x *CreateSIPParticipantRequest) String() string

type CreateSIPTrunkRequest added in v1.9.0

type CreateSIPTrunkRequest struct {

	// CIDR or IPs that traffic is accepted from
	// An empty list means all inbound traffic is accepted.
	InboundAddresses []string `protobuf:"bytes,1,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"`
	// IP that SIP INVITE is sent too
	OutboundAddress string `protobuf:"bytes,2,opt,name=outbound_address,json=outboundAddress,proto3" json:"outbound_address,omitempty"`
	// Number used to make outbound calls
	OutboundNumber string `protobuf:"bytes,3,opt,name=outbound_number,json=outboundNumber,proto3" json:"outbound_number,omitempty"`
	// Deprecated: Marked as deprecated in livekit_sip.proto.
	InboundNumbersRegex []string `protobuf:"bytes,4,rep,name=inbound_numbers_regex,json=inboundNumbersRegex,proto3" json:"inbound_numbers_regex,omitempty"`
	// Accepted `To` values. This Trunk will only accept a call made to
	// these numbers. This allows you to have distinct Trunks for different phone
	// numbers at the same provider.
	InboundNumbers []string `protobuf:"bytes,9,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"`
	// Username and password used to authenticate inbound and outbound SIP invites
	// May be empty to have no Authentication
	InboundUsername  string `protobuf:"bytes,5,opt,name=inbound_username,json=inboundUsername,proto3" json:"inbound_username,omitempty"`
	InboundPassword  string `protobuf:"bytes,6,opt,name=inbound_password,json=inboundPassword,proto3" json:"inbound_password,omitempty"`
	OutboundUsername string `protobuf:"bytes,7,opt,name=outbound_username,json=outboundUsername,proto3" json:"outbound_username,omitempty"`
	OutboundPassword string `protobuf:"bytes,8,opt,name=outbound_password,json=outboundPassword,proto3" json:"outbound_password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSIPTrunkRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use CreateSIPTrunkRequest.ProtoReflect.Descriptor instead.

func (*CreateSIPTrunkRequest) GetInboundAddresses added in v1.9.1

func (x *CreateSIPTrunkRequest) GetInboundAddresses() []string

func (*CreateSIPTrunkRequest) GetInboundNumbers added in v1.10.1

func (x *CreateSIPTrunkRequest) GetInboundNumbers() []string

func (*CreateSIPTrunkRequest) GetInboundNumbersRegex deprecated added in v1.9.1

func (x *CreateSIPTrunkRequest) GetInboundNumbersRegex() []string

Deprecated: Marked as deprecated in livekit_sip.proto.

func (*CreateSIPTrunkRequest) GetInboundPassword added in v1.9.2

func (x *CreateSIPTrunkRequest) GetInboundPassword() string

func (*CreateSIPTrunkRequest) GetInboundUsername added in v1.9.2

func (x *CreateSIPTrunkRequest) GetInboundUsername() string

func (*CreateSIPTrunkRequest) GetOutboundAddress added in v1.9.1

func (x *CreateSIPTrunkRequest) GetOutboundAddress() string

func (*CreateSIPTrunkRequest) GetOutboundNumber added in v1.9.1

func (x *CreateSIPTrunkRequest) GetOutboundNumber() string

func (*CreateSIPTrunkRequest) GetOutboundPassword added in v1.9.2

func (x *CreateSIPTrunkRequest) GetOutboundPassword() string

func (*CreateSIPTrunkRequest) GetOutboundUsername added in v1.9.2

func (x *CreateSIPTrunkRequest) GetOutboundUsername() string

func (*CreateSIPTrunkRequest) ProtoMessage added in v1.9.0

func (*CreateSIPTrunkRequest) ProtoMessage()

func (*CreateSIPTrunkRequest) ProtoReflect added in v1.9.0

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

func (*CreateSIPTrunkRequest) Reset added in v1.9.0

func (x *CreateSIPTrunkRequest) Reset()

func (*CreateSIPTrunkRequest) String added in v1.9.0

func (x *CreateSIPTrunkRequest) String() string

type DataChannelInfo added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use DataChannelInfo.ProtoReflect.Descriptor instead.

func (*DataChannelInfo) GetId added in v0.11.14

func (x *DataChannelInfo) GetId() uint32

func (*DataChannelInfo) GetLabel added in v0.11.14

func (x *DataChannelInfo) GetLabel() string

func (*DataChannelInfo) GetTarget added in v0.13.1

func (x *DataChannelInfo) GetTarget() SignalTarget

func (*DataChannelInfo) ProtoMessage added in v0.11.14

func (*DataChannelInfo) ProtoMessage()

func (*DataChannelInfo) ProtoReflect added in v0.11.14

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

func (*DataChannelInfo) Reset added in v0.11.14

func (x *DataChannelInfo) Reset()

func (*DataChannelInfo) String added in v0.11.14

func (x *DataChannelInfo) String() string

type DataPacket

type DataPacket struct {

	// Deprecated: Marked as deprecated in livekit_models.proto.
	Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"`
	// participant identity of user that sent the message
	ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	// identities of participants who will receive the message (sent to all by default)
	DestinationIdentities []string `protobuf:"bytes,5,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"`
	// Types that are assignable to Value:
	//
	//	*DataPacket_User
	//	*DataPacket_Speaker
	//	*DataPacket_SipDtmf
	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) GetDestinationIdentities added in v1.11.0

func (x *DataPacket) GetDestinationIdentities() []string

func (*DataPacket) GetKind deprecated

func (x *DataPacket) GetKind() DataPacket_Kind

Deprecated: Marked as deprecated in livekit_models.proto.

func (*DataPacket) GetParticipantIdentity added in v1.11.0

func (x *DataPacket) GetParticipantIdentity() string

func (*DataPacket) GetSipDtmf added in v1.11.0

func (x *DataPacket) GetSipDtmf() *SipDTMF

func (*DataPacket) GetSpeaker deprecated

func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate

Deprecated: Marked as deprecated in livekit_models.proto.

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_SipDtmf added in v1.11.0

type DataPacket_SipDtmf struct {
	SipDtmf *SipDTMF `protobuf:"bytes,6,opt,name=sip_dtmf,json=sipDtmf,proto3,oneof"`
}

type DataPacket_Speaker

type DataPacket_Speaker struct {
	// Deprecated: Marked as deprecated in livekit_models.proto.
	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 added in v0.13.1

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 added in v0.13.1

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

Deprecated: Use DeleteIngressRequest.ProtoReflect.Descriptor instead.

func (*DeleteIngressRequest) GetIngressId added in v1.0.0

func (x *DeleteIngressRequest) GetIngressId() string

func (*DeleteIngressRequest) ProtoMessage added in v0.13.1

func (*DeleteIngressRequest) ProtoMessage()

func (*DeleteIngressRequest) ProtoReflect added in v0.13.1

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

func (*DeleteIngressRequest) Reset added in v0.13.1

func (x *DeleteIngressRequest) Reset()

func (*DeleteIngressRequest) String added in v0.13.1

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 DeleteSIPDispatchRuleRequest added in v1.9.0

type DeleteSIPDispatchRuleRequest struct {
	SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSIPDispatchRuleRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use DeleteSIPDispatchRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId added in v1.9.0

func (x *DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId() string

func (*DeleteSIPDispatchRuleRequest) ProtoMessage added in v1.9.0

func (*DeleteSIPDispatchRuleRequest) ProtoMessage()

func (*DeleteSIPDispatchRuleRequest) ProtoReflect added in v1.9.0

func (*DeleteSIPDispatchRuleRequest) Reset added in v1.9.0

func (x *DeleteSIPDispatchRuleRequest) Reset()

func (*DeleteSIPDispatchRuleRequest) String added in v1.9.0

type DeleteSIPTrunkRequest added in v1.9.0

type DeleteSIPTrunkRequest struct {
	SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSIPTrunkRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use DeleteSIPTrunkRequest.ProtoReflect.Descriptor instead.

func (*DeleteSIPTrunkRequest) GetSipTrunkId added in v1.9.0

func (x *DeleteSIPTrunkRequest) GetSipTrunkId() string

func (*DeleteSIPTrunkRequest) ProtoMessage added in v1.9.0

func (*DeleteSIPTrunkRequest) ProtoMessage()

func (*DeleteSIPTrunkRequest) ProtoReflect added in v1.9.0

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

func (*DeleteSIPTrunkRequest) Reset added in v1.9.0

func (x *DeleteSIPTrunkRequest) Reset()

func (*DeleteSIPTrunkRequest) String added in v1.9.0

func (x *DeleteSIPTrunkRequest) String() string

type DirectFileOutput added in v0.13.1

type DirectFileOutput struct {
	Filepath        string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"`                                       // see egress docs for templating (default {track_id}-{time})
	DisableManifest bool   `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false)
	// Types that are assignable to Output:
	//
	//	*DirectFileOutput_S3
	//	*DirectFileOutput_Gcp
	//	*DirectFileOutput_Azure
	//	*DirectFileOutput_AliOSS
	Output isDirectFileOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*DirectFileOutput) Descriptor deprecated added in v0.13.1

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

Deprecated: Use DirectFileOutput.ProtoReflect.Descriptor instead.

func (*DirectFileOutput) GetAliOSS added in v1.2.0

func (x *DirectFileOutput) GetAliOSS() *AliOSSUpload

func (*DirectFileOutput) GetAzure added in v0.13.1

func (x *DirectFileOutput) GetAzure() *AzureBlobUpload

func (*DirectFileOutput) GetDisableManifest added in v1.2.0

func (x *DirectFileOutput) GetDisableManifest() bool

func (*DirectFileOutput) GetFilepath added in v0.13.1

func (x *DirectFileOutput) GetFilepath() string

func (*DirectFileOutput) GetGcp added in v0.13.1

func (x *DirectFileOutput) GetGcp() *GCPUpload

func (*DirectFileOutput) GetOutput added in v0.13.1

func (m *DirectFileOutput) GetOutput() isDirectFileOutput_Output

func (*DirectFileOutput) GetS3 added in v0.13.1

func (x *DirectFileOutput) GetS3() *S3Upload

func (*DirectFileOutput) ProtoMessage added in v0.13.1

func (*DirectFileOutput) ProtoMessage()

func (*DirectFileOutput) ProtoReflect added in v0.13.1

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

func (*DirectFileOutput) Reset added in v0.13.1

func (x *DirectFileOutput) Reset()

func (*DirectFileOutput) String added in v0.13.1

func (x *DirectFileOutput) String() string

type DirectFileOutput_AliOSS added in v1.2.0

type DirectFileOutput_AliOSS struct {
	AliOSS *AliOSSUpload `protobuf:"bytes,6,opt,name=aliOSS,proto3,oneof"`
}

type DirectFileOutput_Azure added in v0.13.1

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

type DirectFileOutput_Gcp added in v0.13.1

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

type DirectFileOutput_S3 added in v0.13.1

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

type DisabledCodecs added in v0.13.3

type DisabledCodecs struct {

	// disabled for both publish and subscribe
	Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"`
	// only disable for publish
	Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"`
	// contains filtered or unexported fields
}

func (*DisabledCodecs) Descriptor deprecated added in v0.13.3

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

Deprecated: Use DisabledCodecs.ProtoReflect.Descriptor instead.

func (*DisabledCodecs) GetCodecs added in v0.13.3

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

func (*DisabledCodecs) GetPublish added in v1.5.7

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

func (*DisabledCodecs) ProtoMessage added in v0.13.3

func (*DisabledCodecs) ProtoMessage()

func (*DisabledCodecs) ProtoReflect added in v0.13.3

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

func (*DisabledCodecs) Reset added in v0.13.3

func (x *DisabledCodecs) Reset()

func (*DisabledCodecs) String added in v0.13.3

func (x *DisabledCodecs) String() string

type DisconnectReason added in v0.13.4

type DisconnectReason int32
const (
	DisconnectReason_UNKNOWN_REASON      DisconnectReason = 0
	DisconnectReason_CLIENT_INITIATED    DisconnectReason = 1
	DisconnectReason_DUPLICATE_IDENTITY  DisconnectReason = 2
	DisconnectReason_SERVER_SHUTDOWN     DisconnectReason = 3
	DisconnectReason_PARTICIPANT_REMOVED DisconnectReason = 4
	DisconnectReason_ROOM_DELETED        DisconnectReason = 5
	DisconnectReason_STATE_MISMATCH      DisconnectReason = 6
	DisconnectReason_JOIN_FAILURE        DisconnectReason = 7
	DisconnectReason_MIGRATION           DisconnectReason = 8
	DisconnectReason_SIGNAL_CLOSE        DisconnectReason = 9
)

func (DisconnectReason) Descriptor added in v0.13.4

func (DisconnectReason) Enum added in v0.13.4

func (DisconnectReason) EnumDescriptor deprecated added in v0.13.4

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

Deprecated: Use DisconnectReason.Descriptor instead.

func (DisconnectReason) Number added in v0.13.4

func (DisconnectReason) String added in v0.13.4

func (x DisconnectReason) String() string

func (DisconnectReason) Type added in v0.13.4

type Egress added in v0.11.14

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

	StartWebEgress(context.Context, *WebEgressRequest) (*EgressInfo, error)

	StartParticipantEgress(context.Context, *ParticipantEgressRequest) (*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 added in v0.11.14

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 added in v0.11.14

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 added in v0.11.14

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"`
	UpdatedAt int64        `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Details   string       `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"`
	Error     string       `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// Types that are assignable to Request:
	//
	//	*EgressInfo_RoomComposite
	//	*EgressInfo_Web
	//	*EgressInfo_Participant
	//	*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"`
	StreamResults  []*StreamInfo       `protobuf:"bytes,15,rep,name=stream_results,json=streamResults,proto3" json:"stream_results,omitempty"`
	FileResults    []*FileInfo         `protobuf:"bytes,16,rep,name=file_results,json=fileResults,proto3" json:"file_results,omitempty"`
	SegmentResults []*SegmentsInfo     `protobuf:"bytes,17,rep,name=segment_results,json=segmentResults,proto3" json:"segment_results,omitempty"`
	ImageResults   []*ImagesInfo       `protobuf:"bytes,20,rep,name=image_results,json=imageResults,proto3" json:"image_results,omitempty"`
	// contains filtered or unexported fields
}

func (*EgressInfo) Descriptor deprecated added in v0.11.14

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

Deprecated: Use EgressInfo.ProtoReflect.Descriptor instead.

func (*EgressInfo) GetDetails added in v1.12.0

func (x *EgressInfo) GetDetails() string

func (*EgressInfo) GetEgressId added in v0.11.14

func (x *EgressInfo) GetEgressId() string

func (*EgressInfo) GetEndedAt added in v0.13.2

func (x *EgressInfo) GetEndedAt() int64

func (*EgressInfo) GetError added in v0.11.14

func (x *EgressInfo) GetError() string

func (*EgressInfo) GetFile deprecated added in v0.11.14

func (x *EgressInfo) GetFile() *FileInfo

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*EgressInfo) GetFileResults added in v1.4.0

func (x *EgressInfo) GetFileResults() []*FileInfo

func (*EgressInfo) GetImageResults added in v1.8.0

func (x *EgressInfo) GetImageResults() []*ImagesInfo

func (*EgressInfo) GetParticipant added in v1.7.0

func (x *EgressInfo) GetParticipant() *ParticipantEgressRequest

func (*EgressInfo) GetRequest added in v0.11.14

func (m *EgressInfo) GetRequest() isEgressInfo_Request

func (*EgressInfo) GetResult added in v0.11.14

func (m *EgressInfo) GetResult() isEgressInfo_Result

func (*EgressInfo) GetRoomComposite added in v0.13.0

func (x *EgressInfo) GetRoomComposite() *RoomCompositeEgressRequest

func (*EgressInfo) GetRoomId added in v0.11.14

func (x *EgressInfo) GetRoomId() string

func (*EgressInfo) GetRoomName added in v1.0.0

func (x *EgressInfo) GetRoomName() string

func (*EgressInfo) GetSegmentResults added in v1.4.0

func (x *EgressInfo) GetSegmentResults() []*SegmentsInfo

func (*EgressInfo) GetSegments deprecated added in v0.13.3

func (x *EgressInfo) GetSegments() *SegmentsInfo

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*EgressInfo) GetStartedAt added in v0.13.2

func (x *EgressInfo) GetStartedAt() int64

func (*EgressInfo) GetStatus added in v0.11.14

func (x *EgressInfo) GetStatus() EgressStatus

func (*EgressInfo) GetStream deprecated added in v0.11.14

func (x *EgressInfo) GetStream() *StreamInfoList

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*EgressInfo) GetStreamResults added in v1.4.0

func (x *EgressInfo) GetStreamResults() []*StreamInfo

func (*EgressInfo) GetTrack added in v0.11.14

func (x *EgressInfo) GetTrack() *TrackEgressRequest

func (*EgressInfo) GetTrackComposite added in v0.11.14

func (x *EgressInfo) GetTrackComposite() *TrackCompositeEgressRequest

func (*EgressInfo) GetUpdatedAt added in v1.5.8

func (x *EgressInfo) GetUpdatedAt() int64

func (*EgressInfo) GetWeb added in v1.2.0

func (x *EgressInfo) GetWeb() *WebEgressRequest

func (*EgressInfo) ProtoMessage added in v0.11.14

func (*EgressInfo) ProtoMessage()

func (*EgressInfo) ProtoReflect added in v0.11.14

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

func (*EgressInfo) Reset added in v0.11.14

func (x *EgressInfo) Reset()

func (*EgressInfo) String added in v0.11.14

func (x *EgressInfo) String() string

type EgressInfo_File added in v0.11.14

type EgressInfo_File struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	File *FileInfo `protobuf:"bytes,8,opt,name=file,proto3,oneof"`
}

type EgressInfo_Participant added in v1.7.0

type EgressInfo_Participant struct {
	Participant *ParticipantEgressRequest `protobuf:"bytes,19,opt,name=participant,proto3,oneof"`
}

type EgressInfo_RoomComposite added in v0.13.0

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

type EgressInfo_Segments added in v0.13.3

type EgressInfo_Segments struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Segments *SegmentsInfo `protobuf:"bytes,12,opt,name=segments,proto3,oneof"`
}

type EgressInfo_Stream added in v0.11.14

type EgressInfo_Stream struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Stream *StreamInfoList `protobuf:"bytes,7,opt,name=stream,proto3,oneof"`
}

type EgressInfo_Track added in v0.11.14

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

type EgressInfo_TrackComposite added in v0.11.14

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

type EgressInfo_Web added in v1.2.0

type EgressInfo_Web struct {
	Web *WebEgressRequest `protobuf:"bytes,14,opt,name=web,proto3,oneof"`
}

type EgressStatus added in v0.11.14

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 added in v0.11.14

func (EgressStatus) Enum added in v0.11.14

func (x EgressStatus) Enum() *EgressStatus

func (EgressStatus) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use EgressStatus.Descriptor instead.

func (EgressStatus) Number added in v0.11.14

func (EgressStatus) String added in v0.11.14

func (x EgressStatus) String() string

func (EgressStatus) Type added in v0.11.14

type EncodedFileOutput added in v0.11.14

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"`                                               // see egress docs for templating (default {room_name}-{time})
	DisableManifest bool            `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"`         // disable upload of manifest file (default false)
	// Types that are assignable to Output:
	//
	//	*EncodedFileOutput_S3
	//	*EncodedFileOutput_Gcp
	//	*EncodedFileOutput_Azure
	//	*EncodedFileOutput_AliOSS
	Output isEncodedFileOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*EncodedFileOutput) Descriptor deprecated added in v0.11.14

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

Deprecated: Use EncodedFileOutput.ProtoReflect.Descriptor instead.

func (*EncodedFileOutput) GetAliOSS added in v1.2.0

func (x *EncodedFileOutput) GetAliOSS() *AliOSSUpload

func (*EncodedFileOutput) GetAzure added in v0.11.14

func (x *EncodedFileOutput) GetAzure() *AzureBlobUpload

func (*EncodedFileOutput) GetDisableManifest added in v1.2.0

func (x *EncodedFileOutput) GetDisableManifest() bool

func (*EncodedFileOutput) GetFileType added in v0.11.14

func (x *EncodedFileOutput) GetFileType() EncodedFileType

func (*EncodedFileOutput) GetFilepath added in v0.11.14

func (x *EncodedFileOutput) GetFilepath() string

func (*EncodedFileOutput) GetGcp added in v0.11.14

func (x *EncodedFileOutput) GetGcp() *GCPUpload

func (*EncodedFileOutput) GetOutput added in v0.11.14

func (m *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output

func (*EncodedFileOutput) GetS3 added in v0.11.14

func (x *EncodedFileOutput) GetS3() *S3Upload

func (*EncodedFileOutput) ProtoMessage added in v0.11.14

func (*EncodedFileOutput) ProtoMessage()

func (*EncodedFileOutput) ProtoReflect added in v0.11.14

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

func (*EncodedFileOutput) Reset added in v0.11.14

func (x *EncodedFileOutput) Reset()

func (*EncodedFileOutput) String added in v0.11.14

func (x *EncodedFileOutput) String() string

type EncodedFileOutput_AliOSS added in v1.2.0

type EncodedFileOutput_AliOSS struct {
	AliOSS *AliOSSUpload `protobuf:"bytes,7,opt,name=aliOSS,proto3,oneof"`
}

type EncodedFileOutput_Azure added in v0.11.14

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

type EncodedFileOutput_Gcp added in v0.11.14

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

type EncodedFileOutput_S3 added in v0.11.14

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

type EncodedFileType added in v0.11.14

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 added in v0.11.14

func (EncodedFileType) Enum added in v0.11.14

func (x EncodedFileType) Enum() *EncodedFileType

func (EncodedFileType) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use EncodedFileType.Descriptor instead.

func (EncodedFileType) Number added in v0.11.14

func (EncodedFileType) String added in v0.11.14

func (x EncodedFileType) String() string

func (EncodedFileType) Type added in v0.11.14

type EncodingOptions added in v0.11.14

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)
	AudioQuality     int32      `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"`                  // quality setting on audio encoder
	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)
	VideoQuality     int32      `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"`                  // quality setting on video encoder
	KeyFrameInterval float64    `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"`   // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
	// contains filtered or unexported fields
}

func (*EncodingOptions) Descriptor deprecated added in v0.11.14

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

Deprecated: Use EncodingOptions.ProtoReflect.Descriptor instead.

func (*EncodingOptions) GetAudioBitrate added in v0.11.14

func (x *EncodingOptions) GetAudioBitrate() int32

func (*EncodingOptions) GetAudioCodec added in v0.11.14

func (x *EncodingOptions) GetAudioCodec() AudioCodec

func (*EncodingOptions) GetAudioFrequency added in v0.11.14

func (x *EncodingOptions) GetAudioFrequency() int32

func (*EncodingOptions) GetAudioQuality added in v1.8.1

func (x *EncodingOptions) GetAudioQuality() int32

func (*EncodingOptions) GetDepth added in v0.11.14

func (x *EncodingOptions) GetDepth() int32

func (*EncodingOptions) GetFramerate added in v0.11.14

func (x *EncodingOptions) GetFramerate() int32

func (*EncodingOptions) GetHeight added in v0.11.14

func (x *EncodingOptions) GetHeight() int32

func (*EncodingOptions) GetKeyFrameInterval added in v1.3.2

func (x *EncodingOptions) GetKeyFrameInterval() float64

func (*EncodingOptions) GetVideoBitrate added in v0.11.14

func (x *EncodingOptions) GetVideoBitrate() int32

func (*EncodingOptions) GetVideoCodec added in v0.11.14

func (x *EncodingOptions) GetVideoCodec() VideoCodec

func (*EncodingOptions) GetVideoQuality added in v1.8.1

func (x *EncodingOptions) GetVideoQuality() int32

func (*EncodingOptions) GetWidth added in v0.11.14

func (x *EncodingOptions) GetWidth() int32

func (*EncodingOptions) ProtoMessage added in v0.11.14

func (*EncodingOptions) ProtoMessage()

func (*EncodingOptions) ProtoReflect added in v0.11.14

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

func (*EncodingOptions) Reset added in v0.11.14

func (x *EncodingOptions) Reset()

func (*EncodingOptions) String added in v0.11.14

func (x *EncodingOptions) String() string

type EncodingOptionsPreset added in v0.11.14

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 added in v0.11.14

func (EncodingOptionsPreset) Enum added in v0.11.14

func (EncodingOptionsPreset) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use EncodingOptionsPreset.Descriptor instead.

func (EncodingOptionsPreset) Number added in v0.11.14

func (EncodingOptionsPreset) String added in v0.11.14

func (x EncodingOptionsPreset) String() string

func (EncodingOptionsPreset) Type added in v0.11.14

type Encryption added in v1.3.2

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

func (*Encryption) Descriptor deprecated added in v1.3.2

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

Deprecated: Use Encryption.ProtoReflect.Descriptor instead.

func (*Encryption) ProtoMessage added in v1.3.2

func (*Encryption) ProtoMessage()

func (*Encryption) ProtoReflect added in v1.3.2

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

func (*Encryption) Reset added in v1.3.2

func (x *Encryption) Reset()

func (*Encryption) String added in v1.3.2

func (x *Encryption) String() string

type Encryption_Type added in v1.3.2

type Encryption_Type int32
const (
	Encryption_NONE   Encryption_Type = 0
	Encryption_GCM    Encryption_Type = 1
	Encryption_CUSTOM Encryption_Type = 2
)

func (Encryption_Type) Descriptor added in v1.3.2

func (Encryption_Type) Enum added in v1.3.2

func (x Encryption_Type) Enum() *Encryption_Type

func (Encryption_Type) EnumDescriptor deprecated added in v1.3.2

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

Deprecated: Use Encryption_Type.Descriptor instead.

func (Encryption_Type) Number added in v1.3.2

func (Encryption_Type) String added in v1.3.2

func (x Encryption_Type) String() string

func (Encryption_Type) Type added in v1.3.2

type FileInfo added in v0.11.14

type FileInfo struct {
	Filename  string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,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,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 added in v0.11.14

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

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetDuration added in v0.13.2

func (x *FileInfo) GetDuration() int64

func (*FileInfo) GetEndedAt added in v0.11.14

func (x *FileInfo) GetEndedAt() int64

func (*FileInfo) GetFilename added in v0.11.14

func (x *FileInfo) GetFilename() string

func (*FileInfo) GetLocation added in v0.11.14

func (x *FileInfo) GetLocation() string

func (*FileInfo) GetSize added in v0.11.14

func (x *FileInfo) GetSize() int64

func (*FileInfo) GetStartedAt added in v0.11.14

func (x *FileInfo) GetStartedAt() int64

func (*FileInfo) ProtoMessage added in v0.11.14

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect added in v0.11.14

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

func (*FileInfo) Reset added in v0.11.14

func (x *FileInfo) Reset()

func (*FileInfo) String added in v0.11.14

func (x *FileInfo) String() string

type GCPUpload added in v0.11.14

type GCPUpload struct {

	// service account credentials serialized in JSON "credentials.json"
	Credentials string       `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"`
	Bucket      string       `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Proxy       *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

func (*GCPUpload) Descriptor deprecated added in v0.11.14

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

Deprecated: Use GCPUpload.ProtoReflect.Descriptor instead.

func (*GCPUpload) GetBucket added in v0.11.14

func (x *GCPUpload) GetBucket() string

func (*GCPUpload) GetCredentials added in v0.11.14

func (x *GCPUpload) GetCredentials() string

func (*GCPUpload) GetProxy added in v1.12.0

func (x *GCPUpload) GetProxy() *ProxyConfig

func (*GCPUpload) ProtoMessage added in v0.11.14

func (*GCPUpload) ProtoMessage()

func (*GCPUpload) ProtoReflect added in v0.11.14

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

func (*GCPUpload) Reset added in v0.11.14

func (x *GCPUpload) Reset()

func (*GCPUpload) String added in v0.11.14

func (x *GCPUpload) String() string

type Guid added in v1.5.7

type Guid interface {
	TrackID | ParticipantID | RoomID
}

type GuidBlock added in v1.5.7

type GuidBlock [9]byte

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 ICECandidateType added in v1.3.1

type ICECandidateType int32
const (
	ICECandidateType_ICT_NONE ICECandidateType = 0
	ICECandidateType_ICT_TCP  ICECandidateType = 1
	ICECandidateType_ICT_TLS  ICECandidateType = 2
)

func (ICECandidateType) Descriptor added in v1.3.1

func (ICECandidateType) Enum added in v1.3.1

func (ICECandidateType) EnumDescriptor deprecated added in v1.3.1

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

Deprecated: Use ICECandidateType.Descriptor instead.

func (ICECandidateType) Number added in v1.3.1

func (ICECandidateType) String added in v1.3.1

func (x ICECandidateType) String() string

func (ICECandidateType) Type added in v1.3.1

type ICEConfig added in v1.3.1

type ICEConfig struct {
	PreferenceSubscriber ICECandidateType `` /* 152-byte string literal not displayed */
	PreferencePublisher  ICECandidateType `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ICEConfig) Descriptor deprecated added in v1.3.1

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

Deprecated: Use ICEConfig.ProtoReflect.Descriptor instead.

func (*ICEConfig) GetPreferencePublisher added in v1.3.1

func (x *ICEConfig) GetPreferencePublisher() ICECandidateType

func (*ICEConfig) GetPreferenceSubscriber added in v1.3.1

func (x *ICEConfig) GetPreferenceSubscriber() ICECandidateType

func (*ICEConfig) ProtoMessage added in v1.3.1

func (*ICEConfig) ProtoMessage()

func (*ICEConfig) ProtoReflect added in v1.3.1

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

func (*ICEConfig) Reset added in v1.3.1

func (x *ICEConfig) Reset()

func (*ICEConfig) String added in v1.3.1

func (x *ICEConfig) String() string

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 ImageCodec added in v1.8.0

type ImageCodec int32
const (
	ImageCodec_IC_DEFAULT ImageCodec = 0
	ImageCodec_IC_JPEG    ImageCodec = 1
)

func (ImageCodec) Descriptor added in v1.8.0

func (ImageCodec) Descriptor() protoreflect.EnumDescriptor

func (ImageCodec) Enum added in v1.8.0

func (x ImageCodec) Enum() *ImageCodec

func (ImageCodec) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use ImageCodec.Descriptor instead.

func (ImageCodec) Number added in v1.8.0

func (x ImageCodec) Number() protoreflect.EnumNumber

func (ImageCodec) String added in v1.8.0

func (x ImageCodec) String() string

func (ImageCodec) Type added in v1.8.0

type ImageFileSuffix added in v1.8.0

type ImageFileSuffix int32
const (
	ImageFileSuffix_IMAGE_SUFFIX_INDEX     ImageFileSuffix = 0
	ImageFileSuffix_IMAGE_SUFFIX_TIMESTAMP ImageFileSuffix = 1
)

func (ImageFileSuffix) Descriptor added in v1.8.0

func (ImageFileSuffix) Enum added in v1.8.0

func (x ImageFileSuffix) Enum() *ImageFileSuffix

func (ImageFileSuffix) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use ImageFileSuffix.Descriptor instead.

func (ImageFileSuffix) Number added in v1.8.0

func (ImageFileSuffix) String added in v1.8.0

func (x ImageFileSuffix) String() string

func (ImageFileSuffix) Type added in v1.8.0

type ImageOutput added in v1.8.0

type ImageOutput struct {
	CaptureInterval uint32          `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required)
	Width           int32           `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`                                            // (optional, defaults to track width)
	Height          int32           `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`                                          // (optional, defaults to track height)
	FilenamePrefix  string          `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"`     // (optional)
	FilenameSuffix  ImageFileSuffix ``                                                                                                            // (optional, default INDEX)
	/* 133-byte string literal not displayed */
	ImageCodec      ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional)
	DisableManifest bool       `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"`          // disable upload of manifest file (default false)
	// Types that are assignable to Output:
	//
	//	*ImageOutput_S3
	//	*ImageOutput_Gcp
	//	*ImageOutput_Azure
	//	*ImageOutput_AliOSS
	Output isImageOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

func (*ImageOutput) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ImageOutput.ProtoReflect.Descriptor instead.

func (*ImageOutput) GetAliOSS added in v1.8.0

func (x *ImageOutput) GetAliOSS() *AliOSSUpload

func (*ImageOutput) GetAzure added in v1.8.0

func (x *ImageOutput) GetAzure() *AzureBlobUpload

func (*ImageOutput) GetCaptureInterval added in v1.8.0

func (x *ImageOutput) GetCaptureInterval() uint32

func (*ImageOutput) GetDisableManifest added in v1.8.0

func (x *ImageOutput) GetDisableManifest() bool

func (*ImageOutput) GetFilenamePrefix added in v1.8.0

func (x *ImageOutput) GetFilenamePrefix() string

func (*ImageOutput) GetFilenameSuffix added in v1.8.0

func (x *ImageOutput) GetFilenameSuffix() ImageFileSuffix

func (*ImageOutput) GetGcp added in v1.8.0

func (x *ImageOutput) GetGcp() *GCPUpload

func (*ImageOutput) GetHeight added in v1.8.0

func (x *ImageOutput) GetHeight() int32

func (*ImageOutput) GetImageCodec added in v1.8.0

func (x *ImageOutput) GetImageCodec() ImageCodec

func (*ImageOutput) GetOutput added in v1.8.0

func (m *ImageOutput) GetOutput() isImageOutput_Output

func (*ImageOutput) GetS3 added in v1.8.0

func (x *ImageOutput) GetS3() *S3Upload

func (*ImageOutput) GetWidth added in v1.8.0

func (x *ImageOutput) GetWidth() int32

func (*ImageOutput) ProtoMessage added in v1.8.0

func (*ImageOutput) ProtoMessage()

func (*ImageOutput) ProtoReflect added in v1.8.0

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

func (*ImageOutput) Reset added in v1.8.0

func (x *ImageOutput) Reset()

func (*ImageOutput) String added in v1.8.0

func (x *ImageOutput) String() string

type ImageOutput_AliOSS added in v1.8.0

type ImageOutput_AliOSS struct {
	AliOSS *AliOSSUpload `protobuf:"bytes,11,opt,name=aliOSS,proto3,oneof"`
}

type ImageOutput_Azure added in v1.8.0

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

type ImageOutput_Gcp added in v1.8.0

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

type ImageOutput_S3 added in v1.8.0

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

type ImagesInfo added in v1.8.0

type ImagesInfo struct {
	ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,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"`
	// contains filtered or unexported fields
}

func (*ImagesInfo) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ImagesInfo.ProtoReflect.Descriptor instead.

func (*ImagesInfo) GetEndedAt added in v1.8.0

func (x *ImagesInfo) GetEndedAt() int64

func (*ImagesInfo) GetImageCount added in v1.8.0

func (x *ImagesInfo) GetImageCount() int64

func (*ImagesInfo) GetStartedAt added in v1.8.0

func (x *ImagesInfo) GetStartedAt() int64

func (*ImagesInfo) ProtoMessage added in v1.8.0

func (*ImagesInfo) ProtoMessage()

func (*ImagesInfo) ProtoReflect added in v1.8.0

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

func (*ImagesInfo) Reset added in v1.8.0

func (x *ImagesInfo) Reset()

func (*ImagesInfo) String added in v1.8.0

func (x *ImagesInfo) String() string

type Ingress added in v0.13.1

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 added in v0.13.1

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 added in v0.13.1

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 IngressAudioEncodingOptions added in v1.5.1

type IngressAudioEncodingOptions struct {

	// desired audio codec to publish to room
	AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"`
	Bitrate    uint32     `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"`
	DisableDtx bool       `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"`
	Channels   uint32     `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressAudioEncodingOptions) Descriptor deprecated added in v1.5.1

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

Deprecated: Use IngressAudioEncodingOptions.ProtoReflect.Descriptor instead.

func (*IngressAudioEncodingOptions) GetAudioCodec added in v1.5.1

func (x *IngressAudioEncodingOptions) GetAudioCodec() AudioCodec

func (*IngressAudioEncodingOptions) GetBitrate added in v1.5.1

func (x *IngressAudioEncodingOptions) GetBitrate() uint32

func (*IngressAudioEncodingOptions) GetChannels added in v1.5.1

func (x *IngressAudioEncodingOptions) GetChannels() uint32

func (*IngressAudioEncodingOptions) GetDisableDtx added in v1.5.1

func (x *IngressAudioEncodingOptions) GetDisableDtx() bool

func (*IngressAudioEncodingOptions) ProtoMessage added in v1.5.1

func (*IngressAudioEncodingOptions) ProtoMessage()

func (*IngressAudioEncodingOptions) ProtoReflect added in v1.5.1

func (*IngressAudioEncodingOptions) Reset added in v1.5.1

func (x *IngressAudioEncodingOptions) Reset()

func (*IngressAudioEncodingOptions) String added in v1.5.1

func (x *IngressAudioEncodingOptions) String() string

type IngressAudioEncodingPreset added in v1.5.1

type IngressAudioEncodingPreset int32
const (
	IngressAudioEncodingPreset_OPUS_STEREO_96KBPS IngressAudioEncodingPreset = 0 // OPUS, 2 channels, 96kbps
	IngressAudioEncodingPreset_OPUS_MONO_64KBS    IngressAudioEncodingPreset = 1 // OPUS, 1 channel, 64kbps
)

func (IngressAudioEncodingPreset) Descriptor added in v1.5.1

func (IngressAudioEncodingPreset) Enum added in v1.5.1

func (IngressAudioEncodingPreset) EnumDescriptor deprecated added in v1.5.1

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

Deprecated: Use IngressAudioEncodingPreset.Descriptor instead.

func (IngressAudioEncodingPreset) Number added in v1.5.1

func (IngressAudioEncodingPreset) String added in v1.5.1

func (IngressAudioEncodingPreset) Type added in v1.5.1

type IngressAudioOptions added in v0.13.1

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"`
	// Types that are assignable to EncodingOptions:
	//
	//	*IngressAudioOptions_Preset
	//	*IngressAudioOptions_Options
	EncodingOptions isIngressAudioOptions_EncodingOptions `protobuf_oneof:"encoding_options"`
	// contains filtered or unexported fields
}

func (*IngressAudioOptions) Descriptor deprecated added in v0.13.1

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

Deprecated: Use IngressAudioOptions.ProtoReflect.Descriptor instead.

func (*IngressAudioOptions) GetEncodingOptions added in v1.5.1

func (m *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions

func (*IngressAudioOptions) GetName added in v0.13.1

func (x *IngressAudioOptions) GetName() string

func (*IngressAudioOptions) GetOptions added in v1.5.1

func (*IngressAudioOptions) GetPreset added in v1.5.1

func (*IngressAudioOptions) GetSource added in v0.13.1

func (x *IngressAudioOptions) GetSource() TrackSource

func (*IngressAudioOptions) ProtoMessage added in v0.13.1

func (*IngressAudioOptions) ProtoMessage()

func (*IngressAudioOptions) ProtoReflect added in v0.13.1

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

func (*IngressAudioOptions) Reset added in v0.13.1

func (x *IngressAudioOptions) Reset()

func (*IngressAudioOptions) String added in v0.13.1

func (x *IngressAudioOptions) String() string

type IngressAudioOptions_Options added in v1.5.1

type IngressAudioOptions_Options struct {
	Options *IngressAudioEncodingOptions `protobuf:"bytes,4,opt,name=options,proto3,oneof"`
}

type IngressAudioOptions_Preset added in v1.5.1

type IngressAudioOptions_Preset struct {
	Preset IngressAudioEncodingPreset `protobuf:"varint,3,opt,name=preset,proto3,enum=livekit.IngressAudioEncodingPreset,oneof"`
}

type IngressInfo added in v0.13.1

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"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)
	// 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"`
	BypassTranscoding   bool                 `protobuf:"varint,13,opt,name=bypass_transcoding,json=bypassTranscoding,proto3" json:"bypass_transcoding,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"`
	ParticipantMetadata string               `protobuf:"bytes,14,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,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 added in v0.13.1

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

Deprecated: Use IngressInfo.ProtoReflect.Descriptor instead.

func (*IngressInfo) GetAudio added in v1.0.0

func (x *IngressInfo) GetAudio() *IngressAudioOptions

func (*IngressInfo) GetBypassTranscoding added in v1.5.8

func (x *IngressInfo) GetBypassTranscoding() bool

func (*IngressInfo) GetIngressId added in v1.0.0

func (x *IngressInfo) GetIngressId() string

func (*IngressInfo) GetInputType added in v0.13.1

func (x *IngressInfo) GetInputType() IngressInput

func (*IngressInfo) GetName added in v1.0.0

func (x *IngressInfo) GetName() string

func (*IngressInfo) GetParticipantIdentity added in v0.13.1

func (x *IngressInfo) GetParticipantIdentity() string

func (*IngressInfo) GetParticipantMetadata added in v1.9.9

func (x *IngressInfo) GetParticipantMetadata() string

func (*IngressInfo) GetParticipantName added in v0.13.1

func (x *IngressInfo) GetParticipantName() string

func (*IngressInfo) GetReusable added in v1.0.0

func (x *IngressInfo) GetReusable() bool

func (*IngressInfo) GetRoomName added in v1.0.0

func (x *IngressInfo) GetRoomName() string

func (*IngressInfo) GetState added in v0.13.1

func (x *IngressInfo) GetState() *IngressState

func (*IngressInfo) GetStreamKey added in v1.0.0

func (x *IngressInfo) GetStreamKey() string

func (*IngressInfo) GetUrl added in v0.13.1

func (x *IngressInfo) GetUrl() string

func (*IngressInfo) GetVideo added in v1.0.0

func (x *IngressInfo) GetVideo() *IngressVideoOptions

func (*IngressInfo) ProtoMessage added in v0.13.1

func (*IngressInfo) ProtoMessage()

func (*IngressInfo) ProtoReflect added in v0.13.1

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

func (*IngressInfo) Reset added in v0.13.1

func (x *IngressInfo) Reset()

func (*IngressInfo) String added in v0.13.1

func (x *IngressInfo) String() string

type IngressInput added in v0.13.1

type IngressInput int32
const (
	IngressInput_RTMP_INPUT IngressInput = 0
	IngressInput_WHIP_INPUT IngressInput = 1
	IngressInput_URL_INPUT  IngressInput = 2 // Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream
)

func (IngressInput) Descriptor added in v0.13.1

func (IngressInput) Enum added in v0.13.1

func (x IngressInput) Enum() *IngressInput

func (IngressInput) EnumDescriptor deprecated added in v0.13.1

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

Deprecated: Use IngressInput.Descriptor instead.

func (IngressInput) Number added in v0.13.1

func (IngressInput) String added in v0.13.1

func (x IngressInput) String() string

func (IngressInput) Type added in v0.13.1

type IngressState added in v1.0.0

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"`
	EndedAt    int64               `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	ResourceId string              `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Tracks     []*TrackInfo        `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressState) Descriptor deprecated added in v1.0.0

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

Deprecated: Use IngressState.ProtoReflect.Descriptor instead.

func (*IngressState) GetAudio added in v1.0.0

func (x *IngressState) GetAudio() *InputAudioState

func (*IngressState) GetEndedAt added in v1.3.0

func (x *IngressState) GetEndedAt() int64

func (*IngressState) GetError added in v1.0.0

func (x *IngressState) GetError() string

func (*IngressState) GetResourceId added in v1.5.8

func (x *IngressState) GetResourceId() string

func (*IngressState) GetRoomId added in v1.0.0

func (x *IngressState) GetRoomId() string

func (*IngressState) GetStartedAt added in v1.0.1

func (x *IngressState) GetStartedAt() int64

func (*IngressState) GetStatus added in v1.0.0

func (x *IngressState) GetStatus() IngressState_Status

func (*IngressState) GetTracks added in v1.0.0

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

func (*IngressState) GetVideo added in v1.0.0

func (x *IngressState) GetVideo() *InputVideoState

func (*IngressState) ProtoMessage added in v1.0.0

func (*IngressState) ProtoMessage()

func (*IngressState) ProtoReflect added in v1.0.0

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

func (*IngressState) Reset added in v1.0.0

func (x *IngressState) Reset()

func (*IngressState) String added in v1.0.0

func (x *IngressState) String() string

type IngressState_Status added in v1.0.0

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
	IngressState_ENDPOINT_COMPLETE   IngressState_Status = 4
)

func (IngressState_Status) Descriptor added in v1.0.0

func (IngressState_Status) Enum added in v1.0.0

func (IngressState_Status) EnumDescriptor deprecated added in v1.0.0

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

Deprecated: Use IngressState_Status.Descriptor instead.

func (IngressState_Status) Number added in v1.0.0

func (IngressState_Status) String added in v1.0.0

func (x IngressState_Status) String() string

func (IngressState_Status) Type added in v1.0.0

type IngressVideoEncodingOptions added in v1.5.1

type IngressVideoEncodingOptions struct {

	// desired codec to publish to room
	VideoCodec VideoCodec `protobuf:"varint,1,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"`
	FrameRate  float64    `protobuf:"fixed64,2,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
	// simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions
	Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"`
	// contains filtered or unexported fields
}

func (*IngressVideoEncodingOptions) Descriptor deprecated added in v1.5.1

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

Deprecated: Use IngressVideoEncodingOptions.ProtoReflect.Descriptor instead.

func (*IngressVideoEncodingOptions) GetFrameRate added in v1.5.1

func (x *IngressVideoEncodingOptions) GetFrameRate() float64

func (*IngressVideoEncodingOptions) GetLayers added in v1.5.1

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

func (*IngressVideoEncodingOptions) GetVideoCodec added in v1.5.1

func (x *IngressVideoEncodingOptions) GetVideoCodec() VideoCodec

func (*IngressVideoEncodingOptions) ProtoMessage added in v1.5.1

func (*IngressVideoEncodingOptions) ProtoMessage()

func (*IngressVideoEncodingOptions) ProtoReflect added in v1.5.1

func (*IngressVideoEncodingOptions) Reset added in v1.5.1

func (x *IngressVideoEncodingOptions) Reset()

func (*IngressVideoEncodingOptions) String added in v1.5.1

func (x *IngressVideoEncodingOptions) String() string

type IngressVideoEncodingPreset added in v1.5.1

type IngressVideoEncodingPreset int32
const (
	IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS              IngressVideoEncodingPreset = 0 // 1280x720,  30fps, 1900kbps main layer, 3 layers total
	IngressVideoEncodingPreset_H264_1080P_30FPS_3_LAYERS             IngressVideoEncodingPreset = 1 // 1980x1080, 30fps, 3500kbps main layer, 3 layers total
	IngressVideoEncodingPreset_H264_540P_25FPS_2_LAYERS              IngressVideoEncodingPreset = 2 //  960x540,  25fps, 1000kbps  main layer, 2 layers total
	IngressVideoEncodingPreset_H264_720P_30FPS_1_LAYER               IngressVideoEncodingPreset = 3 // 1280x720,  30fps, 1900kbps, no simulcast
	IngressVideoEncodingPreset_H264_1080P_30FPS_1_LAYER              IngressVideoEncodingPreset = 4 // 1980x1080, 30fps, 3500kbps, no simulcast
	IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS_HIGH_MOTION  IngressVideoEncodingPreset = 5 // 1280x720,  30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content
	IngressVideoEncodingPreset_H264_1080P_30FPS_3_LAYERS_HIGH_MOTION IngressVideoEncodingPreset = 6 // 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content
	IngressVideoEncodingPreset_H264_540P_25FPS_2_LAYERS_HIGH_MOTION  IngressVideoEncodingPreset = 7 //  960x540,  25fps, 1300kbps  main layer, 2 layers total, higher bitrate for high motion, harder to encode content
	IngressVideoEncodingPreset_H264_720P_30FPS_1_LAYER_HIGH_MOTION   IngressVideoEncodingPreset = 8 // 1280x720,  30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content
	IngressVideoEncodingPreset_H264_1080P_30FPS_1_LAYER_HIGH_MOTION  IngressVideoEncodingPreset = 9 // 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content
)

func (IngressVideoEncodingPreset) Descriptor added in v1.5.1

func (IngressVideoEncodingPreset) Enum added in v1.5.1

func (IngressVideoEncodingPreset) EnumDescriptor deprecated added in v1.5.1

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

Deprecated: Use IngressVideoEncodingPreset.Descriptor instead.

func (IngressVideoEncodingPreset) Number added in v1.5.1

func (IngressVideoEncodingPreset) String added in v1.5.1

func (IngressVideoEncodingPreset) Type added in v1.5.1

type IngressVideoOptions added in v0.13.1

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"`
	// Types that are assignable to EncodingOptions:
	//
	//	*IngressVideoOptions_Preset
	//	*IngressVideoOptions_Options
	EncodingOptions isIngressVideoOptions_EncodingOptions `protobuf_oneof:"encoding_options"`
	// contains filtered or unexported fields
}

func (*IngressVideoOptions) Descriptor deprecated added in v0.13.1

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

Deprecated: Use IngressVideoOptions.ProtoReflect.Descriptor instead.

func (*IngressVideoOptions) GetEncodingOptions added in v1.5.1

func (m *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions

func (*IngressVideoOptions) GetName added in v0.13.1

func (x *IngressVideoOptions) GetName() string

func (*IngressVideoOptions) GetOptions added in v1.5.1

func (*IngressVideoOptions) GetPreset added in v1.5.1

func (*IngressVideoOptions) GetSource added in v0.13.1

func (x *IngressVideoOptions) GetSource() TrackSource

func (*IngressVideoOptions) ProtoMessage added in v0.13.1

func (*IngressVideoOptions) ProtoMessage()

func (*IngressVideoOptions) ProtoReflect added in v0.13.1

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

func (*IngressVideoOptions) Reset added in v0.13.1

func (x *IngressVideoOptions) Reset()

func (*IngressVideoOptions) String added in v0.13.1

func (x *IngressVideoOptions) String() string

type IngressVideoOptions_Options added in v1.5.1

type IngressVideoOptions_Options struct {
	Options *IngressVideoEncodingOptions `protobuf:"bytes,4,opt,name=options,proto3,oneof"`
}

type IngressVideoOptions_Preset added in v1.5.1

type IngressVideoOptions_Preset struct {
	Preset IngressVideoEncodingPreset `protobuf:"varint,3,opt,name=preset,proto3,enum=livekit.IngressVideoEncodingPreset,oneof"`
}

type InputAudioState added in v1.0.0

type InputAudioState struct {
	MimeType       string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"`
	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 added in v1.0.0

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

Deprecated: Use InputAudioState.ProtoReflect.Descriptor instead.

func (*InputAudioState) GetAverageBitrate added in v1.6.0

func (x *InputAudioState) GetAverageBitrate() uint32

func (*InputAudioState) GetChannels added in v1.0.0

func (x *InputAudioState) GetChannels() uint32

func (*InputAudioState) GetMimeType added in v1.0.0

func (x *InputAudioState) GetMimeType() string

func (*InputAudioState) GetSampleRate added in v1.0.0

func (x *InputAudioState) GetSampleRate() uint32

func (*InputAudioState) ProtoMessage added in v1.0.0

func (*InputAudioState) ProtoMessage()

func (*InputAudioState) ProtoReflect added in v1.0.0

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

func (*InputAudioState) Reset added in v1.0.0

func (x *InputAudioState) Reset()

func (*InputAudioState) String added in v1.0.0

func (x *InputAudioState) String() string

type InputVideoState added in v1.0.0

type InputVideoState struct {
	MimeType       string  `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	AverageBitrate uint32  `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"`
	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      float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"`
	// contains filtered or unexported fields
}

func (*InputVideoState) Descriptor deprecated added in v1.0.0

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

Deprecated: Use InputVideoState.ProtoReflect.Descriptor instead.

func (*InputVideoState) GetAverageBitrate added in v1.6.0

func (x *InputVideoState) GetAverageBitrate() uint32

func (*InputVideoState) GetFramerate added in v1.0.0

func (x *InputVideoState) GetFramerate() float64

func (*InputVideoState) GetHeight added in v1.0.0

func (x *InputVideoState) GetHeight() uint32

func (*InputVideoState) GetMimeType added in v1.0.0

func (x *InputVideoState) GetMimeType() string

func (*InputVideoState) GetWidth added in v1.0.0

func (x *InputVideoState) GetWidth() uint32

func (*InputVideoState) ProtoMessage added in v1.0.0

func (*InputVideoState) ProtoMessage()

func (*InputVideoState) ProtoReflect added in v1.0.0

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

func (*InputVideoState) Reset added in v1.0.0

func (x *InputVideoState) Reset()

func (*InputVideoState) String added in v1.0.0

func (x *InputVideoState) String() string

type Job added in v1.9.1

type Job struct {
	Id          string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type        JobType          `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"`
	Room        *Room            `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"`
	Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated added in v1.9.1

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetId added in v1.9.1

func (x *Job) GetId() string

func (*Job) GetParticipant added in v1.9.1

func (x *Job) GetParticipant() *ParticipantInfo

func (*Job) GetRoom added in v1.9.1

func (x *Job) GetRoom() *Room

func (*Job) GetType added in v1.9.1

func (x *Job) GetType() JobType

func (*Job) ProtoMessage added in v1.9.1

func (*Job) ProtoMessage()

func (*Job) ProtoReflect added in v1.9.1

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

func (*Job) Reset added in v1.9.1

func (x *Job) Reset()

func (*Job) String added in v1.9.1

func (x *Job) String() string

type JobAssignment added in v1.9.1

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

func (*JobAssignment) Descriptor deprecated added in v1.9.1

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

Deprecated: Use JobAssignment.ProtoReflect.Descriptor instead.

func (*JobAssignment) GetJob added in v1.9.1

func (x *JobAssignment) GetJob() *Job

func (*JobAssignment) ProtoMessage added in v1.9.1

func (*JobAssignment) ProtoMessage()

func (*JobAssignment) ProtoReflect added in v1.9.1

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

func (*JobAssignment) Reset added in v1.9.1

func (x *JobAssignment) Reset()

func (*JobAssignment) String added in v1.9.1

func (x *JobAssignment) String() string

type JobStatus added in v1.9.1

type JobStatus int32
const (
	JobStatus_JS_UNKNOWN JobStatus = 0
	JobStatus_JS_SUCCESS JobStatus = 1
	JobStatus_JS_FAILED  JobStatus = 2
)

func (JobStatus) Descriptor added in v1.9.1

func (JobStatus) Descriptor() protoreflect.EnumDescriptor

func (JobStatus) Enum added in v1.9.1

func (x JobStatus) Enum() *JobStatus

func (JobStatus) EnumDescriptor deprecated added in v1.9.1

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

Deprecated: Use JobStatus.Descriptor instead.

func (JobStatus) Number added in v1.9.1

func (x JobStatus) Number() protoreflect.EnumNumber

func (JobStatus) String added in v1.9.1

func (x JobStatus) String() string

func (JobStatus) Type added in v1.9.1

type JobStatusUpdate added in v1.9.1

type JobStatusUpdate struct {
	JobId    string    `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Status   JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"`
	Error    string    `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	UserData string    `protobuf:"bytes,4,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
	// contains filtered or unexported fields
}

func (*JobStatusUpdate) Descriptor deprecated added in v1.9.1

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

Deprecated: Use JobStatusUpdate.ProtoReflect.Descriptor instead.

func (*JobStatusUpdate) GetError added in v1.9.1

func (x *JobStatusUpdate) GetError() string

func (*JobStatusUpdate) GetJobId added in v1.9.1

func (x *JobStatusUpdate) GetJobId() string

func (*JobStatusUpdate) GetStatus added in v1.9.1

func (x *JobStatusUpdate) GetStatus() JobStatus

func (*JobStatusUpdate) GetUserData added in v1.9.1

func (x *JobStatusUpdate) GetUserData() string

func (*JobStatusUpdate) ProtoMessage added in v1.9.1

func (*JobStatusUpdate) ProtoMessage()

func (*JobStatusUpdate) ProtoReflect added in v1.9.1

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

func (*JobStatusUpdate) Reset added in v1.9.1

func (x *JobStatusUpdate) Reset()

func (*JobStatusUpdate) String added in v1.9.1

func (x *JobStatusUpdate) String() string

type JobType added in v1.9.1

type JobType int32
const (
	JobType_JT_ROOM      JobType = 0
	JobType_JT_PUBLISHER JobType = 1
)

func (JobType) Descriptor added in v1.9.1

func (JobType) Descriptor() protoreflect.EnumDescriptor

func (JobType) Enum added in v1.9.1

func (x JobType) Enum() *JobType

func (JobType) EnumDescriptor deprecated added in v1.9.1

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

Deprecated: Use JobType.Descriptor instead.

func (JobType) Number added in v1.9.1

func (x JobType) Number() protoreflect.EnumNumber

func (JobType) String added in v1.9.1

func (x JobType) String() string

func (JobType) Type added in v1.9.1

func (JobType) Type() protoreflect.EnumType

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"`
	// Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled
	SifTrailer []byte `protobuf:"bytes,13,opt,name=sif_trailer,json=sifTrailer,proto3" json:"sif_trailer,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 added in v0.11.14

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 added in v1.0.0

func (x *JoinResponse) GetPingInterval() int32

func (*JoinResponse) GetPingTimeout added in v1.0.0

func (x *JoinResponse) GetPingTimeout() int32

func (*JoinResponse) GetRoom

func (x *JoinResponse) GetRoom() *Room

func (*JoinResponse) GetServerInfo added in v1.0.1

func (x *JoinResponse) GetServerInfo() *ServerInfo

func (*JoinResponse) GetServerRegion added in v0.11.14

func (x *JoinResponse) GetServerRegion() string

func (*JoinResponse) GetServerVersion

func (x *JoinResponse) GetServerVersion() string

func (*JoinResponse) GetSifTrailer added in v1.5.7

func (x *JoinResponse) GetSifTrailer() []byte

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 LeaveRequest

type LeaveRequest struct {

	// sent when server initiates the disconnect due to server-restart
	// indicates clients should attempt full-reconnect sequence
	// NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
	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"`
	Action       LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"`
	Regions      *RegionSettings     `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveRequest) Descriptor deprecated

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

Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead.

func (*LeaveRequest) GetAction added in v1.9.7

func (x *LeaveRequest) GetAction() LeaveRequest_Action

func (*LeaveRequest) GetCanReconnect

func (x *LeaveRequest) GetCanReconnect() bool

func (*LeaveRequest) GetReason added in v0.13.4

func (x *LeaveRequest) GetReason() DisconnectReason

func (*LeaveRequest) GetRegions added in v1.9.7

func (x *LeaveRequest) GetRegions() *RegionSettings

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 LeaveRequest_Action added in v1.9.7

type LeaveRequest_Action int32

indicates action clients should take on receiving this message

const (
	LeaveRequest_DISCONNECT LeaveRequest_Action = 0 // should disconnect
	LeaveRequest_RESUME     LeaveRequest_Action = 1 // should attempt a resume with `reconnect=1` in join URL
	LeaveRequest_RECONNECT  LeaveRequest_Action = 2 // should attempt a reconnect, i. e. no `reconnect=1`
)

func (LeaveRequest_Action) Descriptor added in v1.9.7

func (LeaveRequest_Action) Enum added in v1.9.7

func (LeaveRequest_Action) EnumDescriptor deprecated added in v1.9.7

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

Deprecated: Use LeaveRequest_Action.Descriptor instead.

func (LeaveRequest_Action) Number added in v1.9.7

func (LeaveRequest_Action) String added in v1.9.7

func (x LeaveRequest_Action) String() string

func (LeaveRequest_Action) Type added in v1.9.7

type ListEgressRequest added in v0.11.14

type ListEgressRequest struct {
	RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name)
	EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID)
	Active   bool   `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`                    // (optional, list active egress only)
	// contains filtered or unexported fields
}

func (*ListEgressRequest) Descriptor deprecated added in v0.11.14

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

Deprecated: Use ListEgressRequest.ProtoReflect.Descriptor instead.

func (*ListEgressRequest) GetActive added in v1.5.1

func (x *ListEgressRequest) GetActive() bool

func (*ListEgressRequest) GetEgressId added in v1.4.0

func (x *ListEgressRequest) GetEgressId() string

func (*ListEgressRequest) GetRoomName added in v0.11.14

func (x *ListEgressRequest) GetRoomName() string

func (*ListEgressRequest) ProtoMessage added in v0.11.14

func (*ListEgressRequest) ProtoMessage()

func (*ListEgressRequest) ProtoReflect added in v0.11.14

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

func (*ListEgressRequest) Reset added in v0.11.14

func (x *ListEgressRequest) Reset()

func (*ListEgressRequest) String added in v0.11.14

func (x *ListEgressRequest) String() string

type ListEgressResponse added in v0.11.14

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

func (*ListEgressResponse) Descriptor deprecated added in v0.11.14

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

Deprecated: Use ListEgressResponse.ProtoReflect.Descriptor instead.

func (*ListEgressResponse) GetItems added in v0.11.14

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

func (*ListEgressResponse) ProtoMessage added in v0.11.14

func (*ListEgressResponse) ProtoMessage()

func (*ListEgressResponse) ProtoReflect added in v0.11.14

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

func (*ListEgressResponse) Reset added in v0.11.14

func (x *ListEgressResponse) Reset()

func (*ListEgressResponse) String added in v0.11.14

func (x *ListEgressResponse) String() string

type ListIngressRequest added in v0.13.1

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"`    // (optional, filter by room name)
	IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID)
	// contains filtered or unexported fields
}

func (*ListIngressRequest) Descriptor deprecated added in v0.13.1

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

Deprecated: Use ListIngressRequest.ProtoReflect.Descriptor instead.

func (*ListIngressRequest) GetIngressId added in v1.5.10

func (x *ListIngressRequest) GetIngressId() string

func (*ListIngressRequest) GetRoomName added in v1.0.0

func (x *ListIngressRequest) GetRoomName() string

func (*ListIngressRequest) ProtoMessage added in v0.13.1

func (*ListIngressRequest) ProtoMessage()

func (*ListIngressRequest) ProtoReflect added in v0.13.1

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

func (*ListIngressRequest) Reset added in v0.13.1

func (x *ListIngressRequest) Reset()

func (*ListIngressRequest) String added in v0.13.1

func (x *ListIngressRequest) String() string

type ListIngressResponse added in v0.13.1

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

func (*ListIngressResponse) Descriptor deprecated added in v0.13.1

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

Deprecated: Use ListIngressResponse.ProtoReflect.Descriptor instead.

func (*ListIngressResponse) GetItems added in v0.13.1

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

func (*ListIngressResponse) ProtoMessage added in v0.13.1

func (*ListIngressResponse) ProtoMessage()

func (*ListIngressResponse) ProtoReflect added in v0.13.1

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

func (*ListIngressResponse) Reset added in v0.13.1

func (x *ListIngressResponse) Reset()

func (*ListIngressResponse) String added in v0.13.1

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 added in v0.11.4

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 ListSIPDispatchRuleRequest added in v1.9.0

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

func (*ListSIPDispatchRuleRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ListSIPDispatchRuleRequest.ProtoReflect.Descriptor instead.

func (*ListSIPDispatchRuleRequest) ProtoMessage added in v1.9.0

func (*ListSIPDispatchRuleRequest) ProtoMessage()

func (*ListSIPDispatchRuleRequest) ProtoReflect added in v1.9.0

func (*ListSIPDispatchRuleRequest) Reset added in v1.9.0

func (x *ListSIPDispatchRuleRequest) Reset()

func (*ListSIPDispatchRuleRequest) String added in v1.9.0

func (x *ListSIPDispatchRuleRequest) String() string

type ListSIPDispatchRuleResponse added in v1.9.0

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

func (*ListSIPDispatchRuleResponse) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ListSIPDispatchRuleResponse.ProtoReflect.Descriptor instead.

func (*ListSIPDispatchRuleResponse) GetItems added in v1.9.0

func (*ListSIPDispatchRuleResponse) ProtoMessage added in v1.9.0

func (*ListSIPDispatchRuleResponse) ProtoMessage()

func (*ListSIPDispatchRuleResponse) ProtoReflect added in v1.9.0

func (*ListSIPDispatchRuleResponse) Reset added in v1.9.0

func (x *ListSIPDispatchRuleResponse) Reset()

func (*ListSIPDispatchRuleResponse) String added in v1.9.0

func (x *ListSIPDispatchRuleResponse) String() string

type ListSIPTrunkRequest added in v1.9.0

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

func (*ListSIPTrunkRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ListSIPTrunkRequest.ProtoReflect.Descriptor instead.

func (*ListSIPTrunkRequest) ProtoMessage added in v1.9.0

func (*ListSIPTrunkRequest) ProtoMessage()

func (*ListSIPTrunkRequest) ProtoReflect added in v1.9.0

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

func (*ListSIPTrunkRequest) Reset added in v1.9.0

func (x *ListSIPTrunkRequest) Reset()

func (*ListSIPTrunkRequest) String added in v1.9.0

func (x *ListSIPTrunkRequest) String() string

type ListSIPTrunkResponse added in v1.9.0

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

func (*ListSIPTrunkResponse) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ListSIPTrunkResponse.ProtoReflect.Descriptor instead.

func (*ListSIPTrunkResponse) GetItems added in v1.9.0

func (x *ListSIPTrunkResponse) GetItems() []*SIPTrunkInfo

func (*ListSIPTrunkResponse) ProtoMessage added in v1.9.0

func (*ListSIPTrunkResponse) ProtoMessage()

func (*ListSIPTrunkResponse) ProtoReflect added in v1.9.0

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

func (*ListSIPTrunkResponse) Reset added in v1.9.0

func (x *ListSIPTrunkResponse) Reset()

func (*ListSIPTrunkResponse) String added in v1.9.0

func (x *ListSIPTrunkResponse) 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 added in v0.11.14

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"`
	NumTrackPublishAttempts      int32   `` /* 136-byte string literal not displayed */
	TrackPublishAttemptsPerSec   float32 `` /* 148-byte string literal not displayed */
	NumTrackPublishSuccess       int32   `` /* 133-byte string literal not displayed */
	TrackPublishSuccessPerSec    float32 `` /* 145-byte string literal not displayed */
	NumTrackSubscribeAttempts    int32   `` /* 142-byte string literal not displayed */
	TrackSubscribeAttemptsPerSec float32 `` /* 154-byte string literal not displayed */
	NumTrackSubscribeSuccess     int32   `` /* 139-byte string literal not displayed */
	TrackSubscribeSuccessPerSec  float32 `` /* 151-byte string literal not displayed */
	// 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"`
	MemoryLoad                 float32 `protobuf:"fixed32,33,opt,name=memory_load,json=memoryLoad,proto3" json:"memory_load,omitempty"` // deprecated
	MemoryTotal                uint64  `protobuf:"varint,34,opt,name=memory_total,json=memoryTotal,proto3" json:"memory_total,omitempty"`
	MemoryUsed                 uint64  `protobuf:"varint,35,opt,name=memory_used,json=memoryUsed,proto3" json:"memory_used,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
	ParticipantSignalConnected       uint64  `` /* 143-byte string literal not displayed */
	ParticipantSignalConnectedPerSec float32 `` /* 166-byte string literal not displayed */
	ParticipantRtcConnected          uint64  `` /* 134-byte string literal not displayed */
	ParticipantRtcConnectedPerSec    float32 `` /* 157-byte string literal not displayed */
	ParticipantRtcInit               uint64  `protobuf:"varint,46,opt,name=participant_rtc_init,json=participantRtcInit,proto3" json:"participant_rtc_init,omitempty"`
	ParticipantRtcInitPerSec         float32 `` /* 142-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 added in v0.11.14

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) GetMemoryLoad added in v1.2.0

func (x *NodeStats) GetMemoryLoad() float32

func (*NodeStats) GetMemoryTotal added in v1.3.2

func (x *NodeStats) GetMemoryTotal() uint64

func (*NodeStats) GetMemoryUsed added in v1.3.2

func (x *NodeStats) GetMemoryUsed() uint64

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) GetNumTrackPublishAttempts added in v1.3.2

func (x *NodeStats) GetNumTrackPublishAttempts() int32

func (*NodeStats) GetNumTrackPublishSuccess added in v1.3.2

func (x *NodeStats) GetNumTrackPublishSuccess() int32

func (*NodeStats) GetNumTrackSubscribeAttempts added in v1.3.2

func (x *NodeStats) GetNumTrackSubscribeAttempts() int32

func (*NodeStats) GetNumTrackSubscribeSuccess added in v1.3.2

func (x *NodeStats) GetNumTrackSubscribeSuccess() 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) GetParticipantRtcConnected added in v1.4.0

func (x *NodeStats) GetParticipantRtcConnected() uint64

func (*NodeStats) GetParticipantRtcConnectedPerSec added in v1.4.0

func (x *NodeStats) GetParticipantRtcConnectedPerSec() float32

func (*NodeStats) GetParticipantRtcInit added in v1.4.0

func (x *NodeStats) GetParticipantRtcInit() uint64

func (*NodeStats) GetParticipantRtcInitPerSec added in v1.4.0

func (x *NodeStats) GetParticipantRtcInitPerSec() float32

func (*NodeStats) GetParticipantSignalConnected added in v1.4.0

func (x *NodeStats) GetParticipantSignalConnected() uint64

func (*NodeStats) GetParticipantSignalConnectedPerSec added in v1.4.0

func (x *NodeStats) GetParticipantSignalConnectedPerSec() float32

func (*NodeStats) GetRetransmitBytesOut added in v0.13.3

func (x *NodeStats) GetRetransmitBytesOut() uint64

func (*NodeStats) GetRetransmitBytesOutPerSec added in v0.13.3

func (x *NodeStats) GetRetransmitBytesOutPerSec() float32

func (*NodeStats) GetRetransmitPacketsOut added in v0.13.3

func (x *NodeStats) GetRetransmitPacketsOut() uint64

func (*NodeStats) GetRetransmitPacketsOutPerSec added in v0.13.3

func (x *NodeStats) GetRetransmitPacketsOutPerSec() float32

func (*NodeStats) GetStartedAt

func (x *NodeStats) GetStartedAt() int64

func (*NodeStats) GetSysPacketsDropped added in v1.0.0

func (x *NodeStats) GetSysPacketsDropped() uint32

func (*NodeStats) GetSysPacketsDroppedPctPerSec added in v1.0.0

func (x *NodeStats) GetSysPacketsDroppedPctPerSec() float32

func (*NodeStats) GetSysPacketsDroppedPerSec added in v1.0.0

func (x *NodeStats) GetSysPacketsDroppedPerSec() float32

func (*NodeStats) GetSysPacketsOut added in v1.0.0

func (x *NodeStats) GetSysPacketsOut() uint32

func (*NodeStats) GetSysPacketsOutPerSec added in v1.0.0

func (x *NodeStats) GetSysPacketsOutPerSec() float32

func (*NodeStats) GetTrackPublishAttemptsPerSec added in v1.3.2

func (x *NodeStats) GetTrackPublishAttemptsPerSec() float32

func (*NodeStats) GetTrackPublishSuccessPerSec added in v1.3.2

func (x *NodeStats) GetTrackPublishSuccessPerSec() float32

func (*NodeStats) GetTrackSubscribeAttemptsPerSec added in v1.3.2

func (x *NodeStats) GetTrackSubscribeAttemptsPerSec() float32

func (*NodeStats) GetTrackSubscribeSuccessPerSec added in v1.3.2

func (x *NodeStats) GetTrackSubscribeSuccessPerSec() 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
	NodeType_SWEEPER    NodeType = 5
	NodeType_DIRECTOR   NodeType = 6
)

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 ParticipantEgressRequest added in v1.7.0

type ParticipantEgressRequest struct {
	RoomName    string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`           // required
	Identity    string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`                           // required
	ScreenShare bool   `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false)
	// Types that are assignable to Options:
	//
	//	*ParticipantEgressRequest_Preset
	//	*ParticipantEgressRequest_Advanced
	Options        isParticipantEgressRequest_Options `protobuf_oneof:"options"`
	FileOutputs    []*EncodedFileOutput               `protobuf:"bytes,6,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"`
	StreamOutputs  []*StreamOutput                    `protobuf:"bytes,7,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"`
	SegmentOutputs []*SegmentedFileOutput             `protobuf:"bytes,8,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"`
	ImageOutputs   []*ImageOutput                     `protobuf:"bytes,9,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"`
	// contains filtered or unexported fields
}

record audio and video from a single participant

func (*ParticipantEgressRequest) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ParticipantEgressRequest.ProtoReflect.Descriptor instead.

func (*ParticipantEgressRequest) GetAdvanced added in v1.7.0

func (x *ParticipantEgressRequest) GetAdvanced() *EncodingOptions

func (*ParticipantEgressRequest) GetFileOutputs added in v1.7.0

func (x *ParticipantEgressRequest) GetFileOutputs() []*EncodedFileOutput

func (*ParticipantEgressRequest) GetIdentity added in v1.7.0

func (x *ParticipantEgressRequest) GetIdentity() string

func (*ParticipantEgressRequest) GetImageOutputs added in v1.8.0

func (x *ParticipantEgressRequest) GetImageOutputs() []*ImageOutput

func (*ParticipantEgressRequest) GetOptions added in v1.7.0

func (m *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options

func (*ParticipantEgressRequest) GetPreset added in v1.7.0

func (*ParticipantEgressRequest) GetRoomName added in v1.7.0

func (x *ParticipantEgressRequest) GetRoomName() string

func (*ParticipantEgressRequest) GetScreenShare added in v1.7.0

func (x *ParticipantEgressRequest) GetScreenShare() bool

func (*ParticipantEgressRequest) GetSegmentOutputs added in v1.7.0

func (x *ParticipantEgressRequest) GetSegmentOutputs() []*SegmentedFileOutput

func (*ParticipantEgressRequest) GetStreamOutputs added in v1.7.0

func (x *ParticipantEgressRequest) GetStreamOutputs() []*StreamOutput

func (*ParticipantEgressRequest) ProtoMessage added in v1.7.0

func (*ParticipantEgressRequest) ProtoMessage()

func (*ParticipantEgressRequest) ProtoReflect added in v1.7.0

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

func (*ParticipantEgressRequest) Reset added in v1.7.0

func (x *ParticipantEgressRequest) Reset()

func (*ParticipantEgressRequest) String added in v1.7.0

func (x *ParticipantEgressRequest) String() string

type ParticipantEgressRequest_Advanced added in v1.7.0

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

type ParticipantEgressRequest_Preset added in v1.7.0

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

type ParticipantID added in v0.11.6

type ParticipantID string

type ParticipantIdentity added in v0.11.6

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"`
	Kind        ParticipantInfo_Kind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.ParticipantInfo_Kind" json:"kind,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 added in v0.13.2

func (x *ParticipantInfo) GetIsPublisher() bool

func (*ParticipantInfo) GetJoinedAt

func (x *ParticipantInfo) GetJoinedAt() int64

func (*ParticipantInfo) GetKind added in v1.9.4

func (*ParticipantInfo) GetMetadata

func (x *ParticipantInfo) GetMetadata() string

func (*ParticipantInfo) GetName added in v0.11.4

func (x *ParticipantInfo) GetName() string

func (*ParticipantInfo) GetPermission added in v0.12.0

func (x *ParticipantInfo) GetPermission() *ParticipantPermission

func (*ParticipantInfo) GetRegion added in v0.13.1

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 added in v0.11.12

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_Kind added in v1.9.4

type ParticipantInfo_Kind int32
const (
	// standard participants, e.g. web clients
	ParticipantInfo_STANDARD ParticipantInfo_Kind = 0
	// only ingests streams
	ParticipantInfo_INGRESS ParticipantInfo_Kind = 1
	// only consumes streams
	ParticipantInfo_EGRESS ParticipantInfo_Kind = 2
	// SIP participants
	ParticipantInfo_SIP ParticipantInfo_Kind = 3
	// LiveKit agents
	ParticipantInfo_AGENT ParticipantInfo_Kind = 4
)

func (ParticipantInfo_Kind) Descriptor added in v1.9.4

func (ParticipantInfo_Kind) Enum added in v1.9.4

func (ParticipantInfo_Kind) EnumDescriptor deprecated added in v1.9.4

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

Deprecated: Use ParticipantInfo_Kind.Descriptor instead.

func (ParticipantInfo_Kind) Number added in v1.9.4

func (ParticipantInfo_Kind) String added in v1.9.4

func (x ParticipantInfo_Kind) String() string

func (ParticipantInfo_Kind) Type added in v1.9.4

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 added in v0.11.14

type ParticipantKey string

type ParticipantName added in v0.11.6

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"`
	// sources that are allowed to be published
	CanPublishSources []TrackSource `` /* 147-byte string literal not displayed */
	// 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"`
	// indicates that participant can update own metadata
	CanUpdateMetadata bool `protobuf:"varint,10,opt,name=can_update_metadata,json=canUpdateMetadata,proto3" json:"can_update_metadata,omitempty"`
	// indicates that participant is an agent
	Agent bool `protobuf:"varint,11,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

func (*ParticipantPermission) Descriptor deprecated

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

Deprecated: Use ParticipantPermission.ProtoReflect.Descriptor instead.

func (*ParticipantPermission) GetAgent added in v1.9.1

func (x *ParticipantPermission) GetAgent() bool

func (*ParticipantPermission) GetCanPublish

func (x *ParticipantPermission) GetCanPublish() bool

func (*ParticipantPermission) GetCanPublishData

func (x *ParticipantPermission) GetCanPublishData() bool

func (*ParticipantPermission) GetCanPublishSources added in v1.4.0

func (x *ParticipantPermission) GetCanPublishSources() []TrackSource

func (*ParticipantPermission) GetCanSubscribe

func (x *ParticipantPermission) GetCanSubscribe() bool

func (*ParticipantPermission) GetCanUpdateMetadata added in v1.4.3

func (x *ParticipantPermission) GetCanUpdateMetadata() bool

func (*ParticipantPermission) GetHidden added in v0.12.0

func (x *ParticipantPermission) GetHidden() bool

func (*ParticipantPermission) GetRecorder added in v0.12.0

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 added in v0.11.3

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 added in v0.11.3

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

Deprecated: Use ParticipantTracks.ProtoReflect.Descriptor instead.

func (*ParticipantTracks) GetParticipantSid added in v0.11.3

func (x *ParticipantTracks) GetParticipantSid() string

func (*ParticipantTracks) GetTrackSids added in v0.11.3

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

func (*ParticipantTracks) ProtoMessage added in v0.11.3

func (*ParticipantTracks) ProtoMessage()

func (*ParticipantTracks) ProtoReflect added in v0.11.3

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

func (*ParticipantTracks) Reset added in v0.11.3

func (x *ParticipantTracks) Reset()

func (*ParticipantTracks) String added in v0.11.3

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 Ping added in v1.4.0

type Ping struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// rtt in milliseconds calculated by client
	Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"`
	// contains filtered or unexported fields
}

func (*Ping) Descriptor deprecated added in v1.4.0

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetRtt added in v1.4.0

func (x *Ping) GetRtt() int64

func (*Ping) GetTimestamp added in v1.4.0

func (x *Ping) GetTimestamp() int64

func (*Ping) ProtoMessage added in v1.4.0

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect added in v1.4.0

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

func (*Ping) Reset added in v1.4.0

func (x *Ping) Reset()

func (*Ping) String added in v1.4.0

func (x *Ping) String() string

type PlayoutDelay added in v1.5.9

type PlayoutDelay struct {
	Enabled bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Min     uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	Max     uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayoutDelay) Descriptor deprecated added in v1.5.9

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

Deprecated: Use PlayoutDelay.ProtoReflect.Descriptor instead.

func (*PlayoutDelay) GetEnabled added in v1.5.9

func (x *PlayoutDelay) GetEnabled() bool

func (*PlayoutDelay) GetMax added in v1.5.9

func (x *PlayoutDelay) GetMax() uint32

func (*PlayoutDelay) GetMin added in v1.5.9

func (x *PlayoutDelay) GetMin() uint32

func (*PlayoutDelay) ProtoMessage added in v1.5.9

func (*PlayoutDelay) ProtoMessage()

func (*PlayoutDelay) ProtoReflect added in v1.5.9

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

func (*PlayoutDelay) Reset added in v1.5.9

func (x *PlayoutDelay) Reset()

func (*PlayoutDelay) String added in v1.5.9

func (x *PlayoutDelay) String() string

type Pong added in v1.4.0

type Pong struct {

	// timestamp field of last received ping request
	LastPingTimestamp int64 `protobuf:"varint,1,opt,name=last_ping_timestamp,json=lastPingTimestamp,proto3" json:"last_ping_timestamp,omitempty"`
	Timestamp         int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Pong) Descriptor deprecated added in v1.4.0

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) GetLastPingTimestamp added in v1.4.0

func (x *Pong) GetLastPingTimestamp() int64

func (*Pong) GetTimestamp added in v1.4.0

func (x *Pong) GetTimestamp() int64

func (*Pong) ProtoMessage added in v1.4.0

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect added in v1.4.0

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

func (*Pong) Reset added in v1.4.0

func (x *Pong) Reset()

func (*Pong) String added in v1.4.0

func (x *Pong) String() string

type ProxyConfig added in v1.12.0

type ProxyConfig struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig) Descriptor deprecated added in v1.12.0

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

Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.

func (*ProxyConfig) GetPassword added in v1.12.0

func (x *ProxyConfig) GetPassword() string

func (*ProxyConfig) GetUrl added in v1.12.0

func (x *ProxyConfig) GetUrl() string

func (*ProxyConfig) GetUsername added in v1.12.0

func (x *ProxyConfig) GetUsername() string

func (*ProxyConfig) ProtoMessage added in v1.12.0

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) ProtoReflect added in v1.12.0

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

func (*ProxyConfig) Reset added in v1.12.0

func (x *ProxyConfig) Reset()

func (*ProxyConfig) String added in v1.12.0

func (x *ProxyConfig) String() string

type RTPDrift added in v1.7.0

type RTPDrift 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"`
	StartTimestamp uint64                 `protobuf:"varint,4,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	EndTimestamp   uint64                 `protobuf:"varint,5,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	RtpClockTicks  uint64                 `protobuf:"varint,6,opt,name=rtp_clock_ticks,json=rtpClockTicks,proto3" json:"rtp_clock_ticks,omitempty"`
	DriftSamples   int64                  `protobuf:"varint,7,opt,name=drift_samples,json=driftSamples,proto3" json:"drift_samples,omitempty"`
	DriftMs        float64                `protobuf:"fixed64,8,opt,name=drift_ms,json=driftMs,proto3" json:"drift_ms,omitempty"`
	ClockRate      float64                `protobuf:"fixed64,9,opt,name=clock_rate,json=clockRate,proto3" json:"clock_rate,omitempty"`
	// contains filtered or unexported fields
}

func (*RTPDrift) Descriptor deprecated added in v1.7.0

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

Deprecated: Use RTPDrift.ProtoReflect.Descriptor instead.

func (*RTPDrift) GetClockRate added in v1.7.0

func (x *RTPDrift) GetClockRate() float64

func (*RTPDrift) GetDriftMs added in v1.7.0

func (x *RTPDrift) GetDriftMs() float64

func (*RTPDrift) GetDriftSamples added in v1.7.0

func (x *RTPDrift) GetDriftSamples() int64

func (*RTPDrift) GetDuration added in v1.7.0

func (x *RTPDrift) GetDuration() float64

func (*RTPDrift) GetEndTime added in v1.7.0

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

func (*RTPDrift) GetEndTimestamp added in v1.7.0

func (x *RTPDrift) GetEndTimestamp() uint64

func (*RTPDrift) GetRtpClockTicks added in v1.7.0

func (x *RTPDrift) GetRtpClockTicks() uint64

func (*RTPDrift) GetStartTime added in v1.7.0

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

func (*RTPDrift) GetStartTimestamp added in v1.7.0

func (x *RTPDrift) GetStartTimestamp() uint64

func (*RTPDrift) ProtoMessage added in v1.7.0

func (*RTPDrift) ProtoMessage()

func (*RTPDrift) ProtoReflect added in v1.7.0

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

func (*RTPDrift) Reset added in v1.7.0

func (x *RTPDrift) Reset()

func (*RTPDrift) String added in v1.7.0

func (x *RTPDrift) String() string

type RTPStats added in v0.11.14

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"`
	PacketDrift          *RTPDrift              `protobuf:"bytes,44,opt,name=packet_drift,json=packetDrift,proto3" json:"packet_drift,omitempty"`
	ReportDrift          *RTPDrift              `protobuf:"bytes,45,opt,name=report_drift,json=reportDrift,proto3" json:"report_drift,omitempty"`
	RebasedReportDrift   *RTPDrift              `protobuf:"bytes,46,opt,name=rebased_report_drift,json=rebasedReportDrift,proto3" json:"rebased_report_drift,omitempty"` // NEXT_ID: 47
	// contains filtered or unexported fields
}

func (*RTPStats) Descriptor deprecated added in v0.11.14

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

Deprecated: Use RTPStats.ProtoReflect.Descriptor instead.

func (*RTPStats) GetBitrate added in v0.11.14

func (x *RTPStats) GetBitrate() float64

func (*RTPStats) GetBitrateDuplicate added in v0.11.14

func (x *RTPStats) GetBitrateDuplicate() float64

func (*RTPStats) GetBitratePadding added in v0.11.14

func (x *RTPStats) GetBitratePadding() float64

func (*RTPStats) GetBytes added in v0.11.14

func (x *RTPStats) GetBytes() uint64

func (*RTPStats) GetBytesDuplicate added in v0.11.14

func (x *RTPStats) GetBytesDuplicate() uint64

func (*RTPStats) GetBytesPadding added in v0.11.14

func (x *RTPStats) GetBytesPadding() uint64

func (*RTPStats) GetDuration added in v0.11.14

func (x *RTPStats) GetDuration() float64

func (*RTPStats) GetEndTime added in v0.11.14

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

func (*RTPStats) GetFirs added in v0.11.14

func (x *RTPStats) GetFirs() uint32

func (*RTPStats) GetFrameRate added in v0.11.14

func (x *RTPStats) GetFrameRate() float64

func (*RTPStats) GetFrames added in v0.11.14

func (x *RTPStats) GetFrames() uint32

func (*RTPStats) GetGapHistogram added in v0.11.14

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

func (*RTPStats) GetHeaderBytes added in v1.0.1

func (x *RTPStats) GetHeaderBytes() uint64

func (*RTPStats) GetHeaderBytesDuplicate added in v1.0.1

func (x *RTPStats) GetHeaderBytesDuplicate() uint64

func (*RTPStats) GetHeaderBytesPadding added in v1.0.1

func (x *RTPStats) GetHeaderBytesPadding() uint64

func (*RTPStats) GetJitterCurrent added in v0.11.14

func (x *RTPStats) GetJitterCurrent() float64

func (*RTPStats) GetJitterMax added in v0.11.14

func (x *RTPStats) GetJitterMax() float64

func (*RTPStats) GetKeyFrames added in v0.11.14

func (x *RTPStats) GetKeyFrames() uint32

func (*RTPStats) GetLastFir added in v0.11.14

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

func (*RTPStats) GetLastKeyFrame added in v0.11.14

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

func (*RTPStats) GetLastLayerLockPli added in v0.11.14

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

func (*RTPStats) GetLastPli added in v0.11.14

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

func (*RTPStats) GetLayerLockPlis added in v0.11.14

func (x *RTPStats) GetLayerLockPlis() uint32

func (*RTPStats) GetNackAcks added in v0.13.2

func (x *RTPStats) GetNackAcks() uint32

func (*RTPStats) GetNackMisses added in v0.11.14

func (x *RTPStats) GetNackMisses() uint32

func (*RTPStats) GetNackRepeated added in v0.13.2

func (x *RTPStats) GetNackRepeated() uint32

func (*RTPStats) GetNacks added in v0.11.14

func (x *RTPStats) GetNacks() uint32

func (*RTPStats) GetPacketDrift added in v1.7.0

func (x *RTPStats) GetPacketDrift() *RTPDrift

func (*RTPStats) GetPacketDuplicateRate added in v0.11.14

func (x *RTPStats) GetPacketDuplicateRate() float64

func (*RTPStats) GetPacketLossPercentage added in v0.11.14

func (x *RTPStats) GetPacketLossPercentage() float32

func (*RTPStats) GetPacketLossRate added in v0.11.14

func (x *RTPStats) GetPacketLossRate() float64

func (*RTPStats) GetPacketPaddingRate added in v0.11.14

func (x *RTPStats) GetPacketPaddingRate() float64

func (*RTPStats) GetPacketRate added in v0.11.14

func (x *RTPStats) GetPacketRate() float64

func (*RTPStats) GetPackets added in v0.11.14

func (x *RTPStats) GetPackets() uint32

func (*RTPStats) GetPacketsDuplicate added in v0.11.14

func (x *RTPStats) GetPacketsDuplicate() uint32

func (*RTPStats) GetPacketsLost added in v0.11.14

func (x *RTPStats) GetPacketsLost() uint32

func (*RTPStats) GetPacketsOutOfOrder added in v0.11.14

func (x *RTPStats) GetPacketsOutOfOrder() uint32

func (*RTPStats) GetPacketsPadding added in v0.11.14

func (x *RTPStats) GetPacketsPadding() uint32

func (*RTPStats) GetPlis added in v0.11.14

func (x *RTPStats) GetPlis() uint32

func (*RTPStats) GetRebasedReportDrift added in v1.12.0

func (x *RTPStats) GetRebasedReportDrift() *RTPDrift

func (*RTPStats) GetReportDrift added in v1.7.0

func (x *RTPStats) GetReportDrift() *RTPDrift

func (*RTPStats) GetRttCurrent added in v0.11.14

func (x *RTPStats) GetRttCurrent() uint32

func (*RTPStats) GetRttMax added in v0.11.14

func (x *RTPStats) GetRttMax() uint32

func (*RTPStats) GetStartTime added in v0.11.14

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

func (*RTPStats) ProtoMessage added in v0.11.14

func (*RTPStats) ProtoMessage()

func (*RTPStats) ProtoReflect added in v0.11.14

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

func (*RTPStats) Reset added in v0.11.14

func (x *RTPStats) Reset()

func (*RTPStats) String added in v0.11.14

func (x *RTPStats) String() string

type ReconnectReason added in v1.4.0

type ReconnectReason int32
const (
	ReconnectReason_RR_UNKNOWN             ReconnectReason = 0
	ReconnectReason_RR_SIGNAL_DISCONNECTED ReconnectReason = 1
	ReconnectReason_RR_PUBLISHER_FAILED    ReconnectReason = 2
	ReconnectReason_RR_SUBSCRIBER_FAILED   ReconnectReason = 3
	ReconnectReason_RR_SWITCH_CANDIDATE    ReconnectReason = 4
)

func (ReconnectReason) Descriptor added in v1.4.0

func (ReconnectReason) Enum added in v1.4.0

func (x ReconnectReason) Enum() *ReconnectReason

func (ReconnectReason) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use ReconnectReason.Descriptor instead.

func (ReconnectReason) Number added in v1.4.0

func (ReconnectReason) String added in v1.4.0

func (x ReconnectReason) String() string

func (ReconnectReason) Type added in v1.4.0

type ReconnectResponse added in v1.3.2

type ReconnectResponse struct {
	IceServers          []*ICEServer         `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"`
	ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*ReconnectResponse) Descriptor deprecated added in v1.3.2

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

Deprecated: Use ReconnectResponse.ProtoReflect.Descriptor instead.

func (*ReconnectResponse) GetClientConfiguration added in v1.3.2

func (x *ReconnectResponse) GetClientConfiguration() *ClientConfiguration

func (*ReconnectResponse) GetIceServers added in v1.3.2

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

func (*ReconnectResponse) ProtoMessage added in v1.3.2

func (*ReconnectResponse) ProtoMessage()

func (*ReconnectResponse) ProtoReflect added in v1.3.2

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

func (*ReconnectResponse) Reset added in v1.3.2

func (x *ReconnectResponse) Reset()

func (*ReconnectResponse) String added in v1.3.2

func (x *ReconnectResponse) String() string

type RegionInfo added in v1.5.2

type RegionInfo struct {
	Region   string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Distance int64  `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*RegionInfo) Descriptor deprecated added in v1.5.2

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

Deprecated: Use RegionInfo.ProtoReflect.Descriptor instead.

func (*RegionInfo) GetDistance added in v1.5.2

func (x *RegionInfo) GetDistance() int64

func (*RegionInfo) GetRegion added in v1.5.2

func (x *RegionInfo) GetRegion() string

func (*RegionInfo) GetUrl added in v1.5.2

func (x *RegionInfo) GetUrl() string

func (*RegionInfo) ProtoMessage added in v1.5.2

func (*RegionInfo) ProtoMessage()

func (*RegionInfo) ProtoReflect added in v1.5.2

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

func (*RegionInfo) Reset added in v1.5.2

func (x *RegionInfo) Reset()

func (*RegionInfo) String added in v1.5.2

func (x *RegionInfo) String() string

type RegionSettings added in v1.5.2

type RegionSettings struct {
	Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

func (*RegionSettings) Descriptor deprecated added in v1.5.2

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

Deprecated: Use RegionSettings.ProtoReflect.Descriptor instead.

func (*RegionSettings) GetRegions added in v1.5.2

func (x *RegionSettings) GetRegions() []*RegionInfo

func (*RegionSettings) ProtoMessage added in v1.5.2

func (*RegionSettings) ProtoMessage()

func (*RegionSettings) ProtoReflect added in v1.5.2

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

func (*RegionSettings) Reset added in v1.5.2

func (x *RegionSettings) Reset()

func (*RegionSettings) String added in v1.5.2

func (x *RegionSettings) String() string

type RegisterWorkerRequest added in v1.9.1

type RegisterWorkerRequest struct {
	Type     JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"`
	WorkerId string  `protobuf:"bytes,2,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
	Version  string  `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Name     string  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterWorkerRequest) Descriptor deprecated added in v1.9.1

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

Deprecated: Use RegisterWorkerRequest.ProtoReflect.Descriptor instead.

func (*RegisterWorkerRequest) GetName added in v1.9.1

func (x *RegisterWorkerRequest) GetName() string

func (*RegisterWorkerRequest) GetType added in v1.9.1

func (x *RegisterWorkerRequest) GetType() JobType

func (*RegisterWorkerRequest) GetVersion added in v1.9.1

func (x *RegisterWorkerRequest) GetVersion() string

func (*RegisterWorkerRequest) GetWorkerId added in v1.9.1

func (x *RegisterWorkerRequest) GetWorkerId() string

func (*RegisterWorkerRequest) ProtoMessage added in v1.9.1

func (*RegisterWorkerRequest) ProtoMessage()

func (*RegisterWorkerRequest) ProtoReflect added in v1.9.1

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

func (*RegisterWorkerRequest) Reset added in v1.9.1

func (x *RegisterWorkerRequest) Reset()

func (*RegisterWorkerRequest) String added in v1.9.1

func (x *RegisterWorkerRequest) String() string

type RegisterWorkerResponse added in v1.9.1

type RegisterWorkerResponse struct {
	WorkerId      string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
	ServerVersion string `protobuf:"bytes,2,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterWorkerResponse) Descriptor deprecated added in v1.9.1

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

Deprecated: Use RegisterWorkerResponse.ProtoReflect.Descriptor instead.

func (*RegisterWorkerResponse) GetServerVersion added in v1.9.1

func (x *RegisterWorkerResponse) GetServerVersion() string

func (*RegisterWorkerResponse) GetWorkerId added in v1.9.1

func (x *RegisterWorkerResponse) GetWorkerId() string

func (*RegisterWorkerResponse) ProtoMessage added in v1.9.1

func (*RegisterWorkerResponse) ProtoMessage()

func (*RegisterWorkerResponse) ProtoReflect added in v1.9.1

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

func (*RegisterWorkerResponse) Reset added in v1.9.1

func (x *RegisterWorkerResponse) Reset()

func (*RegisterWorkerResponse) String added in v1.9.1

func (x *RegisterWorkerResponse) 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"`
	DepartureTimeout uint32        `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"`
	MaxParticipants  uint32        `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"`
	CreationTime     int64         `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	TurnPassword     string        `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"`
	EnabledCodecs    []*Codec      `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"`
	Metadata         string        `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	NumParticipants  uint32        `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"`
	NumPublishers    uint32        `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"`
	ActiveRecording  bool          `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"`
	Version          *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"`
	// 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) GetDepartureTimeout added in v1.11.0

func (x *Room) GetDepartureTimeout() uint32

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) GetNumPublishers added in v1.5.5

func (x *Room) GetNumPublishers() uint32

func (*Room) GetSid

func (x *Room) GetSid() string

func (*Room) GetTurnPassword

func (x *Room) GetTurnPassword() string

func (*Room) GetVersion added in v1.9.4

func (x *Room) GetVersion() *TimedVersion

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 added in v0.13.0

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"` // template base url (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"`
	FileOutputs    []*EncodedFileOutput                 `protobuf:"bytes,11,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"`
	StreamOutputs  []*StreamOutput                      `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"`
	SegmentOutputs []*SegmentedFileOutput               `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"`
	ImageOutputs   []*ImageOutput                       `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"`
	// contains filtered or unexported fields
}

composite using a web browser

func (*RoomCompositeEgressRequest) Descriptor deprecated added in v0.13.0

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

Deprecated: Use RoomCompositeEgressRequest.ProtoReflect.Descriptor instead.

func (*RoomCompositeEgressRequest) GetAdvanced added in v0.13.0

func (x *RoomCompositeEgressRequest) GetAdvanced() *EncodingOptions

func (*RoomCompositeEgressRequest) GetAudioOnly added in v0.13.0

func (x *RoomCompositeEgressRequest) GetAudioOnly() bool

func (*RoomCompositeEgressRequest) GetCustomBaseUrl added in v0.13.0

func (x *RoomCompositeEgressRequest) GetCustomBaseUrl() string

func (*RoomCompositeEgressRequest) GetFile deprecated added in v0.13.0

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*RoomCompositeEgressRequest) GetFileOutputs added in v1.4.0

func (x *RoomCompositeEgressRequest) GetFileOutputs() []*EncodedFileOutput

func (*RoomCompositeEgressRequest) GetImageOutputs added in v1.8.0

func (x *RoomCompositeEgressRequest) GetImageOutputs() []*ImageOutput

func (*RoomCompositeEgressRequest) GetLayout added in v0.13.0

func (x *RoomCompositeEgressRequest) GetLayout() string

func (*RoomCompositeEgressRequest) GetOptions added in v0.13.0

func (m *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options

func (*RoomCompositeEgressRequest) GetOutput added in v0.13.0

func (m *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output

func (*RoomCompositeEgressRequest) GetPreset added in v0.13.0

func (*RoomCompositeEgressRequest) GetRoomName added in v0.13.0

func (x *RoomCompositeEgressRequest) GetRoomName() string

func (*RoomCompositeEgressRequest) GetSegmentOutputs added in v1.4.0

func (x *RoomCompositeEgressRequest) GetSegmentOutputs() []*SegmentedFileOutput

func (*RoomCompositeEgressRequest) GetSegments deprecated added in v0.13.3

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*RoomCompositeEgressRequest) GetStream deprecated added in v0.13.0

func (x *RoomCompositeEgressRequest) GetStream() *StreamOutput

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*RoomCompositeEgressRequest) GetStreamOutputs added in v1.4.0

func (x *RoomCompositeEgressRequest) GetStreamOutputs() []*StreamOutput

func (*RoomCompositeEgressRequest) GetVideoOnly added in v0.13.0

func (x *RoomCompositeEgressRequest) GetVideoOnly() bool

func (*RoomCompositeEgressRequest) ProtoMessage added in v0.13.0

func (*RoomCompositeEgressRequest) ProtoMessage()

func (*RoomCompositeEgressRequest) ProtoReflect added in v0.13.0

func (*RoomCompositeEgressRequest) Reset added in v0.13.0

func (x *RoomCompositeEgressRequest) Reset()

func (*RoomCompositeEgressRequest) String added in v0.13.0

func (x *RoomCompositeEgressRequest) String() string

type RoomCompositeEgressRequest_Advanced added in v0.13.0

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

type RoomCompositeEgressRequest_File added in v0.13.0

type RoomCompositeEgressRequest_File struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	File *EncodedFileOutput `protobuf:"bytes,6,opt,name=file,proto3,oneof"`
}

type RoomCompositeEgressRequest_Preset added in v0.13.0

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

type RoomCompositeEgressRequest_Segments added in v0.13.3

type RoomCompositeEgressRequest_Segments struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Segments *SegmentedFileOutput `protobuf:"bytes,10,opt,name=segments,proto3,oneof"`
}

type RoomCompositeEgressRequest_Stream added in v0.13.0

type RoomCompositeEgressRequest_Stream struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Stream *StreamOutput `protobuf:"bytes,7,opt,name=stream,proto3,oneof"`
}

type RoomEgress added in v1.0.2

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

func (*RoomEgress) Descriptor deprecated added in v1.0.2

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

Deprecated: Use RoomEgress.ProtoReflect.Descriptor instead.

func (*RoomEgress) GetParticipant added in v1.7.0

func (x *RoomEgress) GetParticipant() *AutoParticipantEgress

func (*RoomEgress) GetRoom added in v1.0.2

func (x *RoomEgress) GetRoom() *RoomCompositeEgressRequest

func (*RoomEgress) GetTracks added in v1.0.2

func (x *RoomEgress) GetTracks() *AutoTrackEgress

func (*RoomEgress) ProtoMessage added in v1.0.2

func (*RoomEgress) ProtoMessage()

func (*RoomEgress) ProtoReflect added in v1.0.2

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

func (*RoomEgress) Reset added in v1.0.2

func (x *RoomEgress) Reset()

func (*RoomEgress) String added in v1.0.2

func (x *RoomEgress) String() string

type RoomID added in v0.11.6

type RoomID string

type RoomInternal added in v1.0.2

type RoomInternal struct {
	TrackEgress       *AutoTrackEgress       `protobuf:"bytes,1,opt,name=track_egress,json=trackEgress,proto3" json:"track_egress,omitempty"`
	ParticipantEgress *AutoParticipantEgress `protobuf:"bytes,2,opt,name=participant_egress,json=participantEgress,proto3" json:"participant_egress,omitempty"`
	PlayoutDelay      *PlayoutDelay          `protobuf:"bytes,3,opt,name=playout_delay,json=playoutDelay,proto3" json:"playout_delay,omitempty"`
	SyncStreams       bool                   `protobuf:"varint,4,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"`
	// contains filtered or unexported fields
}

room info that should not be returned to clients

func (*RoomInternal) Descriptor deprecated added in v1.0.2

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

Deprecated: Use RoomInternal.ProtoReflect.Descriptor instead.

func (*RoomInternal) GetParticipantEgress added in v1.0.2

func (x *RoomInternal) GetParticipantEgress() *AutoParticipantEgress

func (*RoomInternal) GetPlayoutDelay added in v1.8.0

func (x *RoomInternal) GetPlayoutDelay() *PlayoutDelay

func (*RoomInternal) GetSyncStreams added in v1.8.0

func (x *RoomInternal) GetSyncStreams() bool

func (*RoomInternal) GetTrackEgress added in v1.0.2

func (x *RoomInternal) GetTrackEgress() *AutoTrackEgress

func (*RoomInternal) ProtoMessage added in v1.0.2

func (*RoomInternal) ProtoMessage()

func (*RoomInternal) ProtoReflect added in v1.0.2

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

func (*RoomInternal) Reset added in v1.0.2

func (x *RoomInternal) Reset()

func (*RoomInternal) String added in v1.0.2

func (x *RoomInternal) String() string

type RoomName added in v0.11.6

type RoomName string

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 added in v0.11.14

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"`
	ForcePathStyle     bool              `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"`
	Metadata           map[string]string `` /* 157-byte string literal not displayed */
	Tagging            string            `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"`
	ContentDisposition string            `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header
	Proxy              *ProxyConfig      `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

func (*S3Upload) Descriptor deprecated added in v0.11.14

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

Deprecated: Use S3Upload.ProtoReflect.Descriptor instead.

func (*S3Upload) GetAccessKey added in v0.11.14

func (x *S3Upload) GetAccessKey() string

func (*S3Upload) GetBucket added in v0.11.14

func (x *S3Upload) GetBucket() string

func (*S3Upload) GetContentDisposition added in v1.9.2

func (x *S3Upload) GetContentDisposition() string

func (*S3Upload) GetEndpoint added in v0.11.14

func (x *S3Upload) GetEndpoint() string

func (*S3Upload) GetForcePathStyle added in v1.2.0

func (x *S3Upload) GetForcePathStyle() bool

func (*S3Upload) GetMetadata added in v1.2.0

func (x *S3Upload) GetMetadata() map[string]string

func (*S3Upload) GetProxy added in v1.12.0

func (x *S3Upload) GetProxy() *ProxyConfig

func (*S3Upload) GetRegion added in v0.11.14

func (x *S3Upload) GetRegion() string

func (*S3Upload) GetSecret added in v0.11.14

func (x *S3Upload) GetSecret() string

func (*S3Upload) GetTagging added in v1.2.0

func (x *S3Upload) GetTagging() string

func (*S3Upload) ProtoMessage added in v0.11.14

func (*S3Upload) ProtoMessage()

func (*S3Upload) ProtoReflect added in v0.11.14

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

func (*S3Upload) Reset added in v0.11.14

func (x *S3Upload) Reset()

func (*S3Upload) String added in v0.11.14

func (x *S3Upload) String() string

type SIP added in v1.9.0

func NewSIPJSONClient added in v1.9.0

func NewSIPJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) SIP

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

func NewSIPProtobufClient added in v1.9.0

func NewSIPProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) SIP

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

type SIPDispatchRule added in v1.9.1

type SIPDispatchRule struct {

	// Types that are assignable to Rule:
	//
	//	*SIPDispatchRule_DispatchRuleDirect
	//	*SIPDispatchRule_DispatchRuleIndividual
	Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"`
	// contains filtered or unexported fields
}

func (*SIPDispatchRule) Descriptor deprecated added in v1.9.1

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

Deprecated: Use SIPDispatchRule.ProtoReflect.Descriptor instead.

func (*SIPDispatchRule) GetDispatchRuleDirect added in v1.9.1

func (x *SIPDispatchRule) GetDispatchRuleDirect() *SIPDispatchRuleDirect

func (*SIPDispatchRule) GetDispatchRuleIndividual added in v1.9.1

func (x *SIPDispatchRule) GetDispatchRuleIndividual() *SIPDispatchRuleIndividual

func (*SIPDispatchRule) GetRule added in v1.9.1

func (m *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule

func (*SIPDispatchRule) ProtoMessage added in v1.9.1

func (*SIPDispatchRule) ProtoMessage()

func (*SIPDispatchRule) ProtoReflect added in v1.9.1

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

func (*SIPDispatchRule) Reset added in v1.9.1

func (x *SIPDispatchRule) Reset()

func (*SIPDispatchRule) String added in v1.9.1

func (x *SIPDispatchRule) String() string

type SIPDispatchRuleDirect added in v1.9.0

type SIPDispatchRuleDirect struct {

	// What room should call be directed into
	RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// Optional pin required to enter room
	Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
	// contains filtered or unexported fields
}

func (*SIPDispatchRuleDirect) Descriptor deprecated added in v1.9.0

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

Deprecated: Use SIPDispatchRuleDirect.ProtoReflect.Descriptor instead.

func (*SIPDispatchRuleDirect) GetPin added in v1.9.0

func (x *SIPDispatchRuleDirect) GetPin() string

func (*SIPDispatchRuleDirect) GetRoomName added in v1.9.0

func (x *SIPDispatchRuleDirect) GetRoomName() string

func (*SIPDispatchRuleDirect) ProtoMessage added in v1.9.0

func (*SIPDispatchRuleDirect) ProtoMessage()

func (*SIPDispatchRuleDirect) ProtoReflect added in v1.9.0

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

func (*SIPDispatchRuleDirect) Reset added in v1.9.0

func (x *SIPDispatchRuleDirect) Reset()

func (*SIPDispatchRuleDirect) String added in v1.9.0

func (x *SIPDispatchRuleDirect) String() string

type SIPDispatchRuleIndividual added in v1.9.0

type SIPDispatchRuleIndividual struct {

	// Prefix used on new room name
	RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"`
	// Optional pin required to enter room
	Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
	// contains filtered or unexported fields
}

func (*SIPDispatchRuleIndividual) Descriptor deprecated added in v1.9.0

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

Deprecated: Use SIPDispatchRuleIndividual.ProtoReflect.Descriptor instead.

func (*SIPDispatchRuleIndividual) GetPin added in v1.9.0

func (x *SIPDispatchRuleIndividual) GetPin() string

func (*SIPDispatchRuleIndividual) GetRoomPrefix added in v1.9.0

func (x *SIPDispatchRuleIndividual) GetRoomPrefix() string

func (*SIPDispatchRuleIndividual) ProtoMessage added in v1.9.0

func (*SIPDispatchRuleIndividual) ProtoMessage()

func (*SIPDispatchRuleIndividual) ProtoReflect added in v1.9.0

func (*SIPDispatchRuleIndividual) Reset added in v1.9.0

func (x *SIPDispatchRuleIndividual) Reset()

func (*SIPDispatchRuleIndividual) String added in v1.9.0

func (x *SIPDispatchRuleIndividual) String() string

type SIPDispatchRuleInfo added in v1.9.0

type SIPDispatchRuleInfo struct {
	SipDispatchRuleId string           `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"`
	Rule              *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	TrunkIds          []string         `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
	HidePhoneNumber   bool             `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*SIPDispatchRuleInfo) Descriptor deprecated added in v1.9.0

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

Deprecated: Use SIPDispatchRuleInfo.ProtoReflect.Descriptor instead.

func (*SIPDispatchRuleInfo) GetHidePhoneNumber added in v1.9.1

func (x *SIPDispatchRuleInfo) GetHidePhoneNumber() bool

func (*SIPDispatchRuleInfo) GetRule added in v1.9.1

func (x *SIPDispatchRuleInfo) GetRule() *SIPDispatchRule

func (*SIPDispatchRuleInfo) GetSipDispatchRuleId added in v1.9.0

func (x *SIPDispatchRuleInfo) GetSipDispatchRuleId() string

func (*SIPDispatchRuleInfo) GetTrunkIds added in v1.9.1

func (x *SIPDispatchRuleInfo) GetTrunkIds() []string

func (*SIPDispatchRuleInfo) ProtoMessage added in v1.9.0

func (*SIPDispatchRuleInfo) ProtoMessage()

func (*SIPDispatchRuleInfo) ProtoReflect added in v1.9.0

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

func (*SIPDispatchRuleInfo) Reset added in v1.9.0

func (x *SIPDispatchRuleInfo) Reset()

func (*SIPDispatchRuleInfo) String added in v1.9.0

func (x *SIPDispatchRuleInfo) String() string

type SIPDispatchRule_DispatchRuleDirect added in v1.9.1

type SIPDispatchRule_DispatchRuleDirect struct {
	// SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room
	// This places users into an existing room. Optionally you can require a pin before a user can
	// enter the room
	DispatchRuleDirect *SIPDispatchRuleDirect `protobuf:"bytes,1,opt,name=dispatch_rule_direct,json=dispatchRuleDirect,proto3,oneof"`
}

type SIPDispatchRule_DispatchRuleIndividual added in v1.9.1

type SIPDispatchRule_DispatchRuleIndividual struct {
	// SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.
	DispatchRuleIndividual *SIPDispatchRuleIndividual `protobuf:"bytes,2,opt,name=dispatch_rule_individual,json=dispatchRuleIndividual,proto3,oneof"`
}

type SIPParticipantInfo added in v1.9.0

type SIPParticipantInfo struct {
	ParticipantId       string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
	ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
	RoomName            string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SIPParticipantInfo) Descriptor deprecated added in v1.9.0

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

Deprecated: Use SIPParticipantInfo.ProtoReflect.Descriptor instead.

func (*SIPParticipantInfo) GetParticipantId added in v1.9.5

func (x *SIPParticipantInfo) GetParticipantId() string

func (*SIPParticipantInfo) GetParticipantIdentity added in v1.9.2

func (x *SIPParticipantInfo) GetParticipantIdentity() string

func (*SIPParticipantInfo) GetRoomName added in v1.9.2

func (x *SIPParticipantInfo) GetRoomName() string

func (*SIPParticipantInfo) ProtoMessage added in v1.9.0

func (*SIPParticipantInfo) ProtoMessage()

func (*SIPParticipantInfo) ProtoReflect added in v1.9.0

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

func (*SIPParticipantInfo) Reset added in v1.9.0

func (x *SIPParticipantInfo) Reset()

func (*SIPParticipantInfo) String added in v1.9.0

func (x *SIPParticipantInfo) String() string

type SIPTrunkInfo added in v1.9.0

type SIPTrunkInfo struct {
	SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
	// CIDR or IPs that traffic is accepted from
	// An empty list means all inbound traffic is accepted.
	InboundAddresses []string `protobuf:"bytes,2,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"`
	// IP that SIP INVITE is sent too
	OutboundAddress string `protobuf:"bytes,3,opt,name=outbound_address,json=outboundAddress,proto3" json:"outbound_address,omitempty"`
	// Number used to make outbound calls
	OutboundNumber string `protobuf:"bytes,4,opt,name=outbound_number,json=outboundNumber,proto3" json:"outbound_number,omitempty"`
	// Deprecated: Marked as deprecated in livekit_sip.proto.
	InboundNumbersRegex []string `protobuf:"bytes,5,rep,name=inbound_numbers_regex,json=inboundNumbersRegex,proto3" json:"inbound_numbers_regex,omitempty"`
	// Accepted `To` values. This Trunk will only accept a call made to
	// these numbers. This allows you to have distinct Trunks for different phone
	// numbers at the same provider.
	InboundNumbers []string `protobuf:"bytes,10,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"`
	// Username and password used to authenticate inbound and outbound SIP invites
	// May be empty to have no Authentication
	InboundUsername  string `protobuf:"bytes,6,opt,name=inbound_username,json=inboundUsername,proto3" json:"inbound_username,omitempty"`
	InboundPassword  string `protobuf:"bytes,7,opt,name=inbound_password,json=inboundPassword,proto3" json:"inbound_password,omitempty"`
	OutboundUsername string `protobuf:"bytes,8,opt,name=outbound_username,json=outboundUsername,proto3" json:"outbound_username,omitempty"`
	OutboundPassword string `protobuf:"bytes,9,opt,name=outbound_password,json=outboundPassword,proto3" json:"outbound_password,omitempty"`
	// contains filtered or unexported fields
}

func (*SIPTrunkInfo) Descriptor deprecated added in v1.9.0

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

Deprecated: Use SIPTrunkInfo.ProtoReflect.Descriptor instead.

func (*SIPTrunkInfo) GetInboundAddresses added in v1.9.1

func (x *SIPTrunkInfo) GetInboundAddresses() []string

func (*SIPTrunkInfo) GetInboundNumbers added in v1.10.1

func (x *SIPTrunkInfo) GetInboundNumbers() []string

func (*SIPTrunkInfo) GetInboundNumbersRegex deprecated added in v1.9.1

func (x *SIPTrunkInfo) GetInboundNumbersRegex() []string

Deprecated: Marked as deprecated in livekit_sip.proto.

func (*SIPTrunkInfo) GetInboundPassword added in v1.9.2

func (x *SIPTrunkInfo) GetInboundPassword() string

func (*SIPTrunkInfo) GetInboundUsername added in v1.9.2

func (x *SIPTrunkInfo) GetInboundUsername() string

func (*SIPTrunkInfo) GetOutboundAddress added in v1.9.1

func (x *SIPTrunkInfo) GetOutboundAddress() string

func (*SIPTrunkInfo) GetOutboundNumber added in v1.9.1

func (x *SIPTrunkInfo) GetOutboundNumber() string

func (*SIPTrunkInfo) GetOutboundPassword added in v1.9.2

func (x *SIPTrunkInfo) GetOutboundPassword() string

func (*SIPTrunkInfo) GetOutboundUsername added in v1.9.2

func (x *SIPTrunkInfo) GetOutboundUsername() string

func (*SIPTrunkInfo) GetSipTrunkId added in v1.9.0

func (x *SIPTrunkInfo) GetSipTrunkId() string

func (*SIPTrunkInfo) ProtoMessage added in v1.9.0

func (*SIPTrunkInfo) ProtoMessage()

func (*SIPTrunkInfo) ProtoReflect added in v1.9.0

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

func (*SIPTrunkInfo) Reset added in v1.9.0

func (x *SIPTrunkInfo) Reset()

func (*SIPTrunkInfo) String added in v1.9.0

func (x *SIPTrunkInfo) String() string

type SegmentedFileOutput added in v0.13.3

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)
	LivePlaylistName string                `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist
	SegmentDuration  uint32                `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"`      // in seconds (optional)
	FilenameSuffix   SegmentedFileSuffix   ``                                                                                                                 // (optional, default INDEX)
	/* 138-byte string literal not displayed */
	DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false)
	// Types that are assignable to Output:
	//
	//	*SegmentedFileOutput_S3
	//	*SegmentedFileOutput_Gcp
	//	*SegmentedFileOutput_Azure
	//	*SegmentedFileOutput_AliOSS
	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 added in v0.13.3

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

Deprecated: Use SegmentedFileOutput.ProtoReflect.Descriptor instead.

func (*SegmentedFileOutput) GetAliOSS added in v1.2.0

func (x *SegmentedFileOutput) GetAliOSS() *AliOSSUpload

func (*SegmentedFileOutput) GetAzure added in v0.13.3

func (x *SegmentedFileOutput) GetAzure() *AzureBlobUpload

func (*SegmentedFileOutput) GetDisableManifest added in v1.2.0

func (x *SegmentedFileOutput) GetDisableManifest() bool

func (*SegmentedFileOutput) GetFilenamePrefix added in v0.13.3

func (x *SegmentedFileOutput) GetFilenamePrefix() string

func (*SegmentedFileOutput) GetFilenameSuffix added in v1.4.2

func (x *SegmentedFileOutput) GetFilenameSuffix() SegmentedFileSuffix

func (*SegmentedFileOutput) GetGcp added in v0.13.3

func (x *SegmentedFileOutput) GetGcp() *GCPUpload

func (*SegmentedFileOutput) GetLivePlaylistName added in v1.7.0

func (x *SegmentedFileOutput) GetLivePlaylistName() string

func (*SegmentedFileOutput) GetOutput added in v0.13.3

func (m *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output

func (*SegmentedFileOutput) GetPlaylistName added in v0.13.3

func (x *SegmentedFileOutput) GetPlaylistName() string

func (*SegmentedFileOutput) GetProtocol added in v0.13.3

func (x *SegmentedFileOutput) GetProtocol() SegmentedFileProtocol

func (*SegmentedFileOutput) GetS3 added in v0.13.3

func (x *SegmentedFileOutput) GetS3() *S3Upload

func (*SegmentedFileOutput) GetSegmentDuration added in v0.13.3

func (x *SegmentedFileOutput) GetSegmentDuration() uint32

func (*SegmentedFileOutput) ProtoMessage added in v0.13.3

func (*SegmentedFileOutput) ProtoMessage()

func (*SegmentedFileOutput) ProtoReflect added in v0.13.3

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

func (*SegmentedFileOutput) Reset added in v0.13.3

func (x *SegmentedFileOutput) Reset()

func (*SegmentedFileOutput) String added in v0.13.3

func (x *SegmentedFileOutput) String() string

type SegmentedFileOutput_AliOSS added in v1.2.0

type SegmentedFileOutput_AliOSS struct {
	AliOSS *AliOSSUpload `protobuf:"bytes,9,opt,name=aliOSS,proto3,oneof"`
}

type SegmentedFileOutput_Azure added in v0.13.3

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

type SegmentedFileOutput_Gcp added in v0.13.3

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

type SegmentedFileOutput_S3 added in v0.13.3

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

type SegmentedFileProtocol added in v0.13.3

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

func (SegmentedFileProtocol) Descriptor added in v0.13.3

func (SegmentedFileProtocol) Enum added in v0.13.3

func (SegmentedFileProtocol) EnumDescriptor deprecated added in v0.13.3

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

Deprecated: Use SegmentedFileProtocol.Descriptor instead.

func (SegmentedFileProtocol) Number added in v0.13.3

func (SegmentedFileProtocol) String added in v0.13.3

func (x SegmentedFileProtocol) String() string

func (SegmentedFileProtocol) Type added in v0.13.3

type SegmentedFileSuffix added in v1.4.2

type SegmentedFileSuffix int32
const (
	SegmentedFileSuffix_INDEX     SegmentedFileSuffix = 0
	SegmentedFileSuffix_TIMESTAMP SegmentedFileSuffix = 1
)

func (SegmentedFileSuffix) Descriptor added in v1.4.2

func (SegmentedFileSuffix) Enum added in v1.4.2

func (SegmentedFileSuffix) EnumDescriptor deprecated added in v1.4.2

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

Deprecated: Use SegmentedFileSuffix.Descriptor instead.

func (SegmentedFileSuffix) Number added in v1.4.2

func (SegmentedFileSuffix) String added in v1.4.2

func (x SegmentedFileSuffix) String() string

func (SegmentedFileSuffix) Type added in v1.4.2

type SegmentsInfo added in v0.13.3

type SegmentsInfo struct {
	PlaylistName         string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"`
	LivePlaylistName     string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_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"`
	LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"`
	SegmentCount         int64  `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"`
	StartedAt            int64  `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	EndedAt              int64  `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SegmentsInfo) Descriptor deprecated added in v0.13.3

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

Deprecated: Use SegmentsInfo.ProtoReflect.Descriptor instead.

func (*SegmentsInfo) GetDuration added in v0.13.3

func (x *SegmentsInfo) GetDuration() int64

func (*SegmentsInfo) GetEndedAt added in v1.2.0

func (x *SegmentsInfo) GetEndedAt() int64

func (*SegmentsInfo) GetLivePlaylistLocation added in v1.7.0

func (x *SegmentsInfo) GetLivePlaylistLocation() string

func (*SegmentsInfo) GetLivePlaylistName added in v1.7.0

func (x *SegmentsInfo) GetLivePlaylistName() string

func (*SegmentsInfo) GetPlaylistLocation added in v0.13.3

func (x *SegmentsInfo) GetPlaylistLocation() string

func (*SegmentsInfo) GetPlaylistName added in v0.13.3

func (x *SegmentsInfo) GetPlaylistName() string

func (*SegmentsInfo) GetSegmentCount added in v0.13.3

func (x *SegmentsInfo) GetSegmentCount() int64

func (*SegmentsInfo) GetSize added in v0.13.3

func (x *SegmentsInfo) GetSize() int64

func (*SegmentsInfo) GetStartedAt added in v1.2.0

func (x *SegmentsInfo) GetStartedAt() int64

func (*SegmentsInfo) ProtoMessage added in v0.13.3

func (*SegmentsInfo) ProtoMessage()

func (*SegmentsInfo) ProtoReflect added in v0.13.3

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

func (*SegmentsInfo) Reset added in v0.13.3

func (x *SegmentsInfo) Reset()

func (*SegmentsInfo) String added in v0.13.3

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"`
	// mark deprecated
	//
	// Deprecated: Marked as deprecated in livekit_room.proto.
	DestinationSids []string `protobuf:"bytes,4,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"`
	// when set, only forward to these identities
	DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"`
	Topic                 *string  `protobuf:"bytes,5,opt,name=topic,proto3,oneof" json:"topic,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) GetDestinationIdentities added in v1.7.1

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

func (*SendDataRequest) GetDestinationSids deprecated

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

Deprecated: Marked as deprecated in livekit_room.proto.

func (*SendDataRequest) GetKind

func (x *SendDataRequest) GetKind() DataPacket_Kind

func (*SendDataRequest) GetRoom

func (x *SendDataRequest) GetRoom() string

func (*SendDataRequest) GetTopic added in v1.4.3

func (x *SendDataRequest) GetTopic() 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 added in v1.0.1

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 added in v1.0.1

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

Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.

func (*ServerInfo) GetDebugInfo added in v1.0.1

func (x *ServerInfo) GetDebugInfo() string

func (*ServerInfo) GetEdition added in v1.0.1

func (x *ServerInfo) GetEdition() ServerInfo_Edition

func (*ServerInfo) GetNodeId added in v1.0.1

func (x *ServerInfo) GetNodeId() string

func (*ServerInfo) GetProtocol added in v1.0.1

func (x *ServerInfo) GetProtocol() int32

func (*ServerInfo) GetRegion added in v1.0.1

func (x *ServerInfo) GetRegion() string

func (*ServerInfo) GetVersion added in v1.0.1

func (x *ServerInfo) GetVersion() string

func (*ServerInfo) ProtoMessage added in v1.0.1

func (*ServerInfo) ProtoMessage()

func (*ServerInfo) ProtoReflect added in v1.0.1

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

func (*ServerInfo) Reset added in v1.0.1

func (x *ServerInfo) Reset()

func (*ServerInfo) String added in v1.0.1

func (x *ServerInfo) String() string

type ServerInfo_Edition added in v1.0.1

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

func (ServerInfo_Edition) Descriptor added in v1.0.1

func (ServerInfo_Edition) Enum added in v1.0.1

func (ServerInfo_Edition) EnumDescriptor deprecated added in v1.0.1

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

Deprecated: Use ServerInfo_Edition.Descriptor instead.

func (ServerInfo_Edition) Number added in v1.0.1

func (ServerInfo_Edition) String added in v1.0.1

func (x ServerInfo_Edition) String() string

func (ServerInfo_Edition) Type added in v1.0.1

type ServerMessage added in v1.9.1

type ServerMessage struct {

	// Types that are assignable to Message:
	//
	//	*ServerMessage_Register
	//	*ServerMessage_Availability
	//	*ServerMessage_Assignment
	Message isServerMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

from Server to Worker

func (*ServerMessage) Descriptor deprecated added in v1.9.1

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

Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead.

func (*ServerMessage) GetAssignment added in v1.9.1

func (x *ServerMessage) GetAssignment() *JobAssignment

func (*ServerMessage) GetAvailability added in v1.9.1

func (x *ServerMessage) GetAvailability() *AvailabilityRequest

func (*ServerMessage) GetMessage added in v1.9.1

func (m *ServerMessage) GetMessage() isServerMessage_Message

func (*ServerMessage) GetRegister added in v1.9.1

func (x *ServerMessage) GetRegister() *RegisterWorkerResponse

func (*ServerMessage) ProtoMessage added in v1.9.1

func (*ServerMessage) ProtoMessage()

func (*ServerMessage) ProtoReflect added in v1.9.1

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

func (*ServerMessage) Reset added in v1.9.1

func (x *ServerMessage) Reset()

func (*ServerMessage) String added in v1.9.1

func (x *ServerMessage) String() string

type ServerMessage_Assignment added in v1.9.1

type ServerMessage_Assignment struct {
	Assignment *JobAssignment `protobuf:"bytes,3,opt,name=assignment,proto3,oneof"`
}

type ServerMessage_Availability added in v1.9.1

type ServerMessage_Availability struct {
	// server asks worker to confirm availability for a job
	Availability *AvailabilityRequest `protobuf:"bytes,2,opt,name=availability,proto3,oneof"`
}

type ServerMessage_Register added in v1.9.1

type ServerMessage_Register struct {
	// server confirms the registration, from this moment on, the worker is considered active
	Register *RegisterWorkerResponse `protobuf:"bytes,1,opt,name=register,proto3,oneof"`
}

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 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
	//	*SignalRequest_UpdateMetadata
	//	*SignalRequest_PingReq
	//	*SignalRequest_UpdateAudioTrack
	//	*SignalRequest_UpdateVideoTrack
	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 added in v1.0.0

func (x *SignalRequest) GetPing() int64

func (*SignalRequest) GetPingReq added in v1.4.0

func (x *SignalRequest) GetPingReq() *Ping

func (*SignalRequest) GetSimulate added in v0.11.9

func (x *SignalRequest) GetSimulate() *SimulateScenario

func (*SignalRequest) GetSubscription

func (x *SignalRequest) GetSubscription() *UpdateSubscription

func (*SignalRequest) GetSubscriptionPermission added in v0.11.11

func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission

func (*SignalRequest) GetSyncState added in v0.11.9

func (x *SignalRequest) GetSyncState() *SyncState

func (*SignalRequest) GetTrackSetting

func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings

func (*SignalRequest) GetTrickle

func (x *SignalRequest) GetTrickle() *TrickleRequest

func (*SignalRequest) GetUpdateAudioTrack added in v1.12.0

func (x *SignalRequest) GetUpdateAudioTrack() *UpdateLocalAudioTrack

func (*SignalRequest) GetUpdateLayers

func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers

func (*SignalRequest) GetUpdateMetadata added in v1.4.0

func (x *SignalRequest) GetUpdateMetadata() *UpdateParticipantMetadata

func (*SignalRequest) GetUpdateVideoTrack added in v1.12.0

func (x *SignalRequest) GetUpdateVideoTrack() *UpdateLocalVideoTrack

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 added in v1.0.0

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

type SignalRequest_PingReq added in v1.4.0

type SignalRequest_PingReq struct {
	PingReq *Ping `protobuf:"bytes,16,opt,name=ping_req,json=pingReq,proto3,oneof"`
}

type SignalRequest_Simulate added in v0.11.9

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 added in v0.11.11

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

type SignalRequest_SyncState added in v0.11.9

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_UpdateAudioTrack added in v1.12.0

type SignalRequest_UpdateAudioTrack struct {
	// Update local audio track settings
	UpdateAudioTrack *UpdateLocalAudioTrack `protobuf:"bytes,17,opt,name=update_audio_track,json=updateAudioTrack,proto3,oneof"`
}

type SignalRequest_UpdateLayers

type SignalRequest_UpdateLayers struct {
	// Update published video layers
	UpdateLayers *UpdateVideoLayers `protobuf:"bytes,10,opt,name=update_layers,json=updateLayers,proto3,oneof"`
}

type SignalRequest_UpdateMetadata added in v1.4.0

type SignalRequest_UpdateMetadata struct {
	// update a participant's own metadata and/or name
	UpdateMetadata *UpdateParticipantMetadata `protobuf:"bytes,15,opt,name=update_metadata,json=updateMetadata,proto3,oneof"`
}

type SignalRequest_UpdateVideoTrack added in v1.12.0

type SignalRequest_UpdateVideoTrack struct {
	// Update local video track settings
	UpdateVideoTrack *UpdateLocalVideoTrack `protobuf:"bytes,18,opt,name=update_video_track,json=updateVideoTrack,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
	//	*SignalResponse_Reconnect
	//	*SignalResponse_PongResp
	//	*SignalResponse_SubscriptionResponse
	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 added in v1.0.0

func (x *SignalResponse) GetPong() int64

func (*SignalResponse) GetPongResp added in v1.4.0

func (x *SignalResponse) GetPongResp() *Pong

func (*SignalResponse) GetReconnect added in v1.3.2

func (x *SignalResponse) GetReconnect() *ReconnectResponse

func (*SignalResponse) GetRefreshToken added in v0.11.11

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 added in v0.11.1

func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate

func (*SignalResponse) GetSubscriptionPermissionUpdate added in v0.11.2

func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate

func (*SignalResponse) GetSubscriptionResponse added in v1.5.8

func (x *SignalResponse) GetSubscriptionResponse() *SubscriptionResponse

func (*SignalResponse) GetTrackPublished

func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse

func (*SignalResponse) GetTrackUnpublished added in v0.12.0

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 added in v1.0.0

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

type SignalResponse_PongResp added in v1.4.0

type SignalResponse_PongResp struct {
	// respond to Ping
	PongResp *Pong `protobuf:"bytes,20,opt,name=pong_resp,json=pongResp,proto3,oneof"`
}

type SignalResponse_Reconnect added in v1.3.2

type SignalResponse_Reconnect struct {
	// sent when client reconnects
	Reconnect *ReconnectResponse `protobuf:"bytes,19,opt,name=reconnect,proto3,oneof"`
}

type SignalResponse_RefreshToken added in v0.11.11

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 added in v0.11.1

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 added in v0.11.2

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

type SignalResponse_SubscriptionResponse added in v1.5.8

type SignalResponse_SubscriptionResponse struct {
	// Subscription response, client should not expect any media from this subscription if it fails
	SubscriptionResponse *SubscriptionResponse `protobuf:"bytes,21,opt,name=subscription_response,json=subscriptionResponse,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 added in v0.12.0

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 added in v0.11.9

type SimulateScenario struct {

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

func (*SimulateScenario) Descriptor deprecated added in v0.11.9

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

Deprecated: Use SimulateScenario.ProtoReflect.Descriptor instead.

func (*SimulateScenario) GetDisconnectSignalOnResume added in v1.9.5

func (x *SimulateScenario) GetDisconnectSignalOnResume() bool

func (*SimulateScenario) GetDisconnectSignalOnResumeNoMessages added in v1.9.5

func (x *SimulateScenario) GetDisconnectSignalOnResumeNoMessages() bool

func (*SimulateScenario) GetMigration added in v0.11.9

func (x *SimulateScenario) GetMigration() bool

func (*SimulateScenario) GetNodeFailure added in v0.11.9

func (x *SimulateScenario) GetNodeFailure() bool

func (*SimulateScenario) GetScenario added in v0.11.9

func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario

func (*SimulateScenario) GetServerLeave added in v0.11.10

func (x *SimulateScenario) GetServerLeave() bool

func (*SimulateScenario) GetSpeakerUpdate added in v0.11.9

func (x *SimulateScenario) GetSpeakerUpdate() int32

func (*SimulateScenario) GetSubscriberBandwidth added in v1.5.2

func (x *SimulateScenario) GetSubscriberBandwidth() int64

func (*SimulateScenario) GetSwitchCandidateProtocol added in v0.13.3

func (x *SimulateScenario) GetSwitchCandidateProtocol() CandidateProtocol

func (*SimulateScenario) ProtoMessage added in v0.11.9

func (*SimulateScenario) ProtoMessage()

func (*SimulateScenario) ProtoReflect added in v0.11.9

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

func (*SimulateScenario) Reset added in v0.11.9

func (x *SimulateScenario) Reset()

func (*SimulateScenario) String added in v0.11.9

func (x *SimulateScenario) String() string

type SimulateScenario_DisconnectSignalOnResume added in v1.9.5

type SimulateScenario_DisconnectSignalOnResume struct {
	// disconnect signal on resume
	DisconnectSignalOnResume bool `protobuf:"varint,7,opt,name=disconnect_signal_on_resume,json=disconnectSignalOnResume,proto3,oneof"`
}

type SimulateScenario_DisconnectSignalOnResumeNoMessages added in v1.9.5

type SimulateScenario_DisconnectSignalOnResumeNoMessages struct {
	// disconnect signal on resume before sending any messages from server
	DisconnectSignalOnResumeNoMessages bool `protobuf:"varint,8,opt,name=disconnect_signal_on_resume_no_messages,json=disconnectSignalOnResumeNoMessages,proto3,oneof"`
}

type SimulateScenario_Migration added in v0.11.9

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

type SimulateScenario_NodeFailure added in v0.11.9

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

type SimulateScenario_ServerLeave added in v0.11.10

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

type SimulateScenario_SpeakerUpdate added in v0.11.9

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_SubscriberBandwidth added in v1.5.2

type SimulateScenario_SubscriberBandwidth struct {
	// maximum bandwidth for subscribers, in bps
	// when zero, clears artificial bandwidth limit
	SubscriberBandwidth int64 `protobuf:"varint,6,opt,name=subscriber_bandwidth,json=subscriberBandwidth,proto3,oneof"`
}

type SimulateScenario_SwitchCandidateProtocol added in v0.13.3

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

type SimulcastCodec added in v0.13.3

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

func (*SimulcastCodec) Descriptor deprecated added in v0.13.3

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

Deprecated: Use SimulcastCodec.ProtoReflect.Descriptor instead.

func (*SimulcastCodec) GetCid added in v0.13.3

func (x *SimulcastCodec) GetCid() string

func (*SimulcastCodec) GetCodec added in v0.13.3

func (x *SimulcastCodec) GetCodec() string

func (*SimulcastCodec) ProtoMessage added in v0.13.3

func (*SimulcastCodec) ProtoMessage()

func (*SimulcastCodec) ProtoReflect added in v0.13.3

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

func (*SimulcastCodec) Reset added in v0.13.3

func (x *SimulcastCodec) Reset()

func (*SimulcastCodec) String added in v0.13.3

func (x *SimulcastCodec) String() string

type SimulcastCodecInfo added in v0.13.3

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 added in v0.13.3

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

Deprecated: Use SimulcastCodecInfo.ProtoReflect.Descriptor instead.

func (*SimulcastCodecInfo) GetCid added in v0.13.3

func (x *SimulcastCodecInfo) GetCid() string

func (*SimulcastCodecInfo) GetLayers added in v0.13.3

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

func (*SimulcastCodecInfo) GetMid added in v0.13.3

func (x *SimulcastCodecInfo) GetMid() string

func (*SimulcastCodecInfo) GetMimeType added in v0.13.3

func (x *SimulcastCodecInfo) GetMimeType() string

func (*SimulcastCodecInfo) ProtoMessage added in v0.13.3

func (*SimulcastCodecInfo) ProtoMessage()

func (*SimulcastCodecInfo) ProtoReflect added in v0.13.3

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

func (*SimulcastCodecInfo) Reset added in v0.13.3

func (x *SimulcastCodecInfo) Reset()

func (*SimulcastCodecInfo) String added in v0.13.3

func (x *SimulcastCodecInfo) String() string

type SipDTMF added in v1.11.0

type SipDTMF struct {
	Code  uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
	Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"`
	// contains filtered or unexported fields
}

func (*SipDTMF) Descriptor deprecated added in v1.11.0

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

Deprecated: Use SipDTMF.ProtoReflect.Descriptor instead.

func (*SipDTMF) GetCode added in v1.11.0

func (x *SipDTMF) GetCode() uint32

func (*SipDTMF) GetDigit added in v1.11.0

func (x *SipDTMF) GetDigit() string

func (*SipDTMF) ProtoMessage added in v1.11.0

func (*SipDTMF) ProtoMessage()

func (*SipDTMF) ProtoReflect added in v1.11.0

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

func (*SipDTMF) Reset added in v1.11.0

func (x *SipDTMF) Reset()

func (*SipDTMF) String added in v1.11.0

func (x *SipDTMF) String() string

func (*SipDTMF) ToProto added in v1.11.0

func (p *SipDTMF) ToProto() *DataPacket

ToProto implements DataPacket in Go SDK.

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 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"`
	ReconnectReason      ReconnectReason `` /* 137-byte string literal not displayed */
	SubscriberAllowPause *bool           `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StartSession) Descriptor deprecated

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

Deprecated: Use StartSession.ProtoReflect.Descriptor instead.

func (*StartSession) GetAdaptiveStream added in v0.13.1

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 added in v0.11.11

func (x *StartSession) GetGrantsJson() string

func (*StartSession) GetHidden

func (x *StartSession) GetHidden() bool

func (*StartSession) GetIdentity

func (x *StartSession) GetIdentity() string

func (*StartSession) GetName added in v0.11.4

func (x *StartSession) GetName() string

func (*StartSession) GetParticipantId added in v1.0.2

func (x *StartSession) GetParticipantId() string

func (*StartSession) GetReconnect

func (x *StartSession) GetReconnect() bool

func (*StartSession) GetReconnectReason added in v1.4.0

func (x *StartSession) GetReconnectReason() ReconnectReason

func (*StartSession) GetRecorder

func (x *StartSession) GetRecorder() bool

func (*StartSession) GetRoomName

func (x *StartSession) GetRoomName() string

func (*StartSession) GetSubscriberAllowPause added in v1.5.4

func (x *StartSession) GetSubscriberAllowPause() bool

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 added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use StopEgressRequest.ProtoReflect.Descriptor instead.

func (*StopEgressRequest) GetEgressId added in v0.11.14

func (x *StopEgressRequest) GetEgressId() string

func (*StopEgressRequest) ProtoMessage added in v0.11.14

func (*StopEgressRequest) ProtoMessage()

func (*StopEgressRequest) ProtoReflect added in v0.11.14

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

func (*StopEgressRequest) Reset added in v0.11.14

func (x *StopEgressRequest) Reset()

func (*StopEgressRequest) String added in v0.11.14

func (x *StopEgressRequest) String() string

type StreamInfo added in v0.11.14

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"`
	Error     string            `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamInfo) Descriptor deprecated added in v0.11.14

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

Deprecated: Use StreamInfo.ProtoReflect.Descriptor instead.

func (*StreamInfo) GetDuration added in v0.13.2

func (x *StreamInfo) GetDuration() int64

func (*StreamInfo) GetEndedAt added in v0.11.14

func (x *StreamInfo) GetEndedAt() int64

func (*StreamInfo) GetError added in v1.4.0

func (x *StreamInfo) GetError() string

func (*StreamInfo) GetStartedAt added in v0.11.14

func (x *StreamInfo) GetStartedAt() int64

func (*StreamInfo) GetStatus added in v1.0.2

func (x *StreamInfo) GetStatus() StreamInfo_Status

func (*StreamInfo) GetUrl added in v0.11.14

func (x *StreamInfo) GetUrl() string

func (*StreamInfo) ProtoMessage added in v0.11.14

func (*StreamInfo) ProtoMessage()

func (*StreamInfo) ProtoReflect added in v0.11.14

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

func (*StreamInfo) Reset added in v0.11.14

func (x *StreamInfo) Reset()

func (*StreamInfo) String added in v0.11.14

func (x *StreamInfo) String() string

type StreamInfoList deprecated added in v0.11.14

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

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*StreamInfoList) Descriptor deprecated added in v0.11.14

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

Deprecated: Use StreamInfoList.ProtoReflect.Descriptor instead.

func (*StreamInfoList) GetInfo added in v0.11.14

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

func (*StreamInfoList) ProtoMessage added in v0.11.14

func (*StreamInfoList) ProtoMessage()

func (*StreamInfoList) ProtoReflect added in v0.11.14

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

func (*StreamInfoList) Reset added in v0.11.14

func (x *StreamInfoList) Reset()

func (*StreamInfoList) String added in v0.11.14

func (x *StreamInfoList) String() string

type StreamInfo_Status added in v1.0.2

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

func (StreamInfo_Status) Descriptor added in v1.0.2

func (StreamInfo_Status) Enum added in v1.0.2

func (StreamInfo_Status) EnumDescriptor deprecated added in v1.0.2

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

Deprecated: Use StreamInfo_Status.Descriptor instead.

func (StreamInfo_Status) Number added in v1.0.2

func (StreamInfo_Status) String added in v1.0.2

func (x StreamInfo_Status) String() string

func (StreamInfo_Status) Type added in v1.0.2

type StreamOutput added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use StreamOutput.ProtoReflect.Descriptor instead.

func (*StreamOutput) GetProtocol added in v0.11.14

func (x *StreamOutput) GetProtocol() StreamProtocol

func (*StreamOutput) GetUrls added in v0.11.14

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

func (*StreamOutput) ProtoMessage added in v0.11.14

func (*StreamOutput) ProtoMessage()

func (*StreamOutput) ProtoReflect added in v0.11.14

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

func (*StreamOutput) Reset added in v0.11.14

func (x *StreamOutput) Reset()

func (*StreamOutput) String added in v0.11.14

func (x *StreamOutput) String() string

type StreamProtocol added in v0.11.14

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

func (StreamProtocol) Descriptor added in v0.11.14

func (StreamProtocol) Enum added in v0.11.14

func (x StreamProtocol) Enum() *StreamProtocol

func (StreamProtocol) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use StreamProtocol.Descriptor instead.

func (StreamProtocol) Number added in v0.11.14

func (StreamProtocol) String added in v0.11.14

func (x StreamProtocol) String() string

func (StreamProtocol) Type added in v0.11.14

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 added in v0.13.3

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 added in v0.13.3

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

Deprecated: Use SubscribedCodec.ProtoReflect.Descriptor instead.

func (*SubscribedCodec) GetCodec added in v0.13.3

func (x *SubscribedCodec) GetCodec() string

func (*SubscribedCodec) GetQualities added in v0.13.3

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

func (*SubscribedCodec) ProtoMessage added in v0.13.3

func (*SubscribedCodec) ProtoMessage()

func (*SubscribedCodec) ProtoReflect added in v0.13.3

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

func (*SubscribedCodec) Reset added in v0.13.3

func (x *SubscribedCodec) Reset()

func (*SubscribedCodec) String added in v0.13.3

func (x *SubscribedCodec) String() string

type SubscribedQuality added in v0.11.1

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 added in v0.11.1

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

Deprecated: Use SubscribedQuality.ProtoReflect.Descriptor instead.

func (*SubscribedQuality) GetEnabled added in v0.11.1

func (x *SubscribedQuality) GetEnabled() bool

func (*SubscribedQuality) GetQuality added in v0.11.1

func (x *SubscribedQuality) GetQuality() VideoQuality

func (*SubscribedQuality) ProtoMessage added in v0.11.1

func (*SubscribedQuality) ProtoMessage()

func (*SubscribedQuality) ProtoReflect added in v0.11.1

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

func (*SubscribedQuality) Reset added in v0.11.1

func (x *SubscribedQuality) Reset()

func (*SubscribedQuality) String added in v0.11.1

func (x *SubscribedQuality) String() string

type SubscribedQualityUpdate added in v0.11.1

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 added in v0.11.1

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

Deprecated: Use SubscribedQualityUpdate.ProtoReflect.Descriptor instead.

func (*SubscribedQualityUpdate) GetSubscribedCodecs added in v0.13.3

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

func (*SubscribedQualityUpdate) GetSubscribedQualities added in v0.11.1

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

func (*SubscribedQualityUpdate) GetTrackSid added in v0.11.1

func (x *SubscribedQualityUpdate) GetTrackSid() string

func (*SubscribedQualityUpdate) ProtoMessage added in v0.11.1

func (*SubscribedQualityUpdate) ProtoMessage()

func (*SubscribedQualityUpdate) ProtoReflect added in v0.11.1

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

func (*SubscribedQualityUpdate) Reset added in v0.11.1

func (x *SubscribedQualityUpdate) Reset()

func (*SubscribedQualityUpdate) String added in v0.11.1

func (x *SubscribedQualityUpdate) String() string

type SubscriptionError added in v1.5.8

type SubscriptionError int32
const (
	SubscriptionError_SE_UNKNOWN           SubscriptionError = 0
	SubscriptionError_SE_CODEC_UNSUPPORTED SubscriptionError = 1
	SubscriptionError_SE_TRACK_NOTFOUND    SubscriptionError = 2
)

func (SubscriptionError) Descriptor added in v1.5.8

func (SubscriptionError) Enum added in v1.5.8

func (SubscriptionError) EnumDescriptor deprecated added in v1.5.8

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

Deprecated: Use SubscriptionError.Descriptor instead.

func (SubscriptionError) Number added in v1.5.8

func (SubscriptionError) String added in v1.5.8

func (x SubscriptionError) String() string

func (SubscriptionError) Type added in v1.5.8

type SubscriptionPermission added in v0.11.11

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 added in v0.11.11

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

Deprecated: Use SubscriptionPermission.ProtoReflect.Descriptor instead.

func (*SubscriptionPermission) GetAllParticipants added in v0.11.11

func (x *SubscriptionPermission) GetAllParticipants() bool

func (*SubscriptionPermission) GetTrackPermissions added in v0.11.11

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

func (*SubscriptionPermission) ProtoMessage added in v0.11.11

func (*SubscriptionPermission) ProtoMessage()

func (*SubscriptionPermission) ProtoReflect added in v0.11.11

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

func (*SubscriptionPermission) Reset added in v0.11.11

func (x *SubscriptionPermission) Reset()

func (*SubscriptionPermission) String added in v0.11.11

func (x *SubscriptionPermission) String() string

type SubscriptionPermissionUpdate added in v0.11.2

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 added in v0.11.2

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

Deprecated: Use SubscriptionPermissionUpdate.ProtoReflect.Descriptor instead.

func (*SubscriptionPermissionUpdate) GetAllowed added in v0.11.2

func (x *SubscriptionPermissionUpdate) GetAllowed() bool

func (*SubscriptionPermissionUpdate) GetParticipantSid added in v0.11.2

func (x *SubscriptionPermissionUpdate) GetParticipantSid() string

func (*SubscriptionPermissionUpdate) GetTrackSid added in v0.11.2

func (x *SubscriptionPermissionUpdate) GetTrackSid() string

func (*SubscriptionPermissionUpdate) ProtoMessage added in v0.11.2

func (*SubscriptionPermissionUpdate) ProtoMessage()

func (*SubscriptionPermissionUpdate) ProtoReflect added in v0.11.2

func (*SubscriptionPermissionUpdate) Reset added in v0.11.2

func (x *SubscriptionPermissionUpdate) Reset()

func (*SubscriptionPermissionUpdate) String added in v0.11.2

type SubscriptionResponse added in v1.5.8

type SubscriptionResponse struct {
	TrackSid string            `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	Err      SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionResponse) Descriptor deprecated added in v1.5.8

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

Deprecated: Use SubscriptionResponse.ProtoReflect.Descriptor instead.

func (*SubscriptionResponse) GetErr added in v1.5.8

func (*SubscriptionResponse) GetTrackSid added in v1.5.8

func (x *SubscriptionResponse) GetTrackSid() string

func (*SubscriptionResponse) ProtoMessage added in v1.5.8

func (*SubscriptionResponse) ProtoMessage()

func (*SubscriptionResponse) ProtoReflect added in v1.5.8

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

func (*SubscriptionResponse) Reset added in v1.5.8

func (x *SubscriptionResponse) Reset()

func (*SubscriptionResponse) String added in v1.5.8

func (x *SubscriptionResponse) String() string

type SyncState added in v0.11.9

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"`
	TrackSidsDisabled []string            `protobuf:"bytes,6,rep,name=track_sids_disabled,json=trackSidsDisabled,proto3" json:"track_sids_disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncState) Descriptor deprecated added in v0.11.9

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

Deprecated: Use SyncState.ProtoReflect.Descriptor instead.

func (*SyncState) GetAnswer added in v0.11.9

func (x *SyncState) GetAnswer() *SessionDescription

func (*SyncState) GetDataChannels added in v0.11.14

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

func (*SyncState) GetOffer added in v1.0.2

func (x *SyncState) GetOffer() *SessionDescription

func (*SyncState) GetPublishTracks added in v0.11.9

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

func (*SyncState) GetSubscription added in v0.11.9

func (x *SyncState) GetSubscription() *UpdateSubscription

func (*SyncState) GetTrackSidsDisabled added in v1.9.9

func (x *SyncState) GetTrackSidsDisabled() []string

func (*SyncState) ProtoMessage added in v0.11.9

func (*SyncState) ProtoMessage()

func (*SyncState) ProtoReflect added in v0.11.9

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

func (*SyncState) Reset added in v0.11.9

func (x *SyncState) Reset()

func (*SyncState) String added in v0.11.9

func (x *SyncState) String() string

type TimedVersion added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use TimedVersion.ProtoReflect.Descriptor instead.

func (*TimedVersion) GetTicks added in v1.0.0

func (x *TimedVersion) GetTicks() int32

func (*TimedVersion) GetUnixMicro added in v1.0.0

func (x *TimedVersion) GetUnixMicro() int64

func (*TimedVersion) ProtoMessage added in v1.0.0

func (*TimedVersion) ProtoMessage()

func (*TimedVersion) ProtoReflect added in v1.0.0

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

func (*TimedVersion) Reset added in v1.0.0

func (x *TimedVersion) Reset()

func (*TimedVersion) String added in v1.0.0

func (x *TimedVersion) String() string

type TrackCompositeEgressRequest added in v0.11.14

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"`
	FileOutputs    []*EncodedFileOutput                  `protobuf:"bytes,11,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"`
	StreamOutputs  []*StreamOutput                       `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"`
	SegmentOutputs []*SegmentedFileOutput                `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"`
	ImageOutputs   []*ImageOutput                        `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"`
	// contains filtered or unexported fields
}

containerize up to one audio and one video track

func (*TrackCompositeEgressRequest) Descriptor deprecated added in v0.11.14

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

Deprecated: Use TrackCompositeEgressRequest.ProtoReflect.Descriptor instead.

func (*TrackCompositeEgressRequest) GetAdvanced added in v0.11.14

func (x *TrackCompositeEgressRequest) GetAdvanced() *EncodingOptions

func (*TrackCompositeEgressRequest) GetAudioTrackId added in v0.11.14

func (x *TrackCompositeEgressRequest) GetAudioTrackId() string

func (*TrackCompositeEgressRequest) GetFile deprecated added in v0.11.14

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*TrackCompositeEgressRequest) GetFileOutputs added in v1.4.0

func (x *TrackCompositeEgressRequest) GetFileOutputs() []*EncodedFileOutput

func (*TrackCompositeEgressRequest) GetImageOutputs added in v1.8.0

func (x *TrackCompositeEgressRequest) GetImageOutputs() []*ImageOutput

func (*TrackCompositeEgressRequest) GetOptions added in v0.11.14

func (m *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options

func (*TrackCompositeEgressRequest) GetOutput added in v0.11.14

func (m *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output

func (*TrackCompositeEgressRequest) GetPreset added in v0.11.14

func (*TrackCompositeEgressRequest) GetRoomName added in v0.11.14

func (x *TrackCompositeEgressRequest) GetRoomName() string

func (*TrackCompositeEgressRequest) GetSegmentOutputs added in v1.4.0

func (x *TrackCompositeEgressRequest) GetSegmentOutputs() []*SegmentedFileOutput

func (*TrackCompositeEgressRequest) GetSegments deprecated added in v0.13.3

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*TrackCompositeEgressRequest) GetStream deprecated added in v0.11.14

func (x *TrackCompositeEgressRequest) GetStream() *StreamOutput

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*TrackCompositeEgressRequest) GetStreamOutputs added in v1.4.0

func (x *TrackCompositeEgressRequest) GetStreamOutputs() []*StreamOutput

func (*TrackCompositeEgressRequest) GetVideoTrackId added in v0.11.14

func (x *TrackCompositeEgressRequest) GetVideoTrackId() string

func (*TrackCompositeEgressRequest) ProtoMessage added in v0.11.14

func (*TrackCompositeEgressRequest) ProtoMessage()

func (*TrackCompositeEgressRequest) ProtoReflect added in v0.11.14

func (*TrackCompositeEgressRequest) Reset added in v0.11.14

func (x *TrackCompositeEgressRequest) Reset()

func (*TrackCompositeEgressRequest) String added in v0.11.14

func (x *TrackCompositeEgressRequest) String() string

type TrackCompositeEgressRequest_Advanced added in v0.11.14

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

type TrackCompositeEgressRequest_File added in v0.11.14

type TrackCompositeEgressRequest_File struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	File *EncodedFileOutput `protobuf:"bytes,4,opt,name=file,proto3,oneof"`
}

type TrackCompositeEgressRequest_Preset added in v0.11.14

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

type TrackCompositeEgressRequest_Segments added in v0.13.3

type TrackCompositeEgressRequest_Segments struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Segments *SegmentedFileOutput `protobuf:"bytes,8,opt,name=segments,proto3,oneof"`
}

type TrackCompositeEgressRequest_Stream added in v0.11.14

type TrackCompositeEgressRequest_Stream struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Stream *StreamOutput `protobuf:"bytes,5,opt,name=stream,proto3,oneof"`
}

type TrackEgressRequest added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use TrackEgressRequest.ProtoReflect.Descriptor instead.

func (*TrackEgressRequest) GetFile added in v0.13.1

func (x *TrackEgressRequest) GetFile() *DirectFileOutput

func (*TrackEgressRequest) GetOutput added in v0.11.14

func (m *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output

func (*TrackEgressRequest) GetRoomName added in v0.11.14

func (x *TrackEgressRequest) GetRoomName() string

func (*TrackEgressRequest) GetTrackId added in v0.11.14

func (x *TrackEgressRequest) GetTrackId() string

func (*TrackEgressRequest) GetWebsocketUrl added in v0.11.14

func (x *TrackEgressRequest) GetWebsocketUrl() string

func (*TrackEgressRequest) ProtoMessage added in v0.11.14

func (*TrackEgressRequest) ProtoMessage()

func (*TrackEgressRequest) ProtoReflect added in v0.11.14

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

func (*TrackEgressRequest) Reset added in v0.11.14

func (x *TrackEgressRequest) Reset()

func (*TrackEgressRequest) String added in v0.11.14

func (x *TrackEgressRequest) String() string

type TrackEgressRequest_File added in v0.13.1

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

type TrackEgressRequest_WebsocketUrl added in v0.11.14

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

type TrackID added in v0.11.6

type TrackID string

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"`
	Stereo   bool                  `protobuf:"varint,14,opt,name=stereo,proto3" json:"stereo,omitempty"`
	// true if RED (Redundant Encoding) is disabled for audio
	DisableRed bool            `protobuf:"varint,15,opt,name=disable_red,json=disableRed,proto3" json:"disable_red,omitempty"`
	Encryption Encryption_Type `protobuf:"varint,16,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"`
	Stream     string          `protobuf:"bytes,17,opt,name=stream,proto3" json:"stream,omitempty"`
	Version    *TimedVersion   `protobuf:"bytes,18,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*TrackInfo) Descriptor deprecated

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

Deprecated: Use TrackInfo.ProtoReflect.Descriptor instead.

func (*TrackInfo) GetCodecs added in v0.13.3

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

func (*TrackInfo) GetDisableDtx

func (x *TrackInfo) GetDisableDtx() bool

func (*TrackInfo) GetDisableRed added in v1.2.0

func (x *TrackInfo) GetDisableRed() bool

func (*TrackInfo) GetEncryption added in v1.3.2

func (x *TrackInfo) GetEncryption() Encryption_Type

func (*TrackInfo) GetHeight

func (x *TrackInfo) GetHeight() uint32

func (*TrackInfo) GetLayers

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

func (*TrackInfo) GetMid added in v0.11.9

func (x *TrackInfo) GetMid() string

func (*TrackInfo) GetMimeType added in v0.11.4

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) GetStereo added in v1.2.0

func (x *TrackInfo) GetStereo() bool

func (*TrackInfo) GetStream added in v1.5.9

func (x *TrackInfo) GetStream() string

func (*TrackInfo) GetType

func (x *TrackInfo) GetType() TrackType

func (*TrackInfo) GetVersion added in v1.9.4

func (x *TrackInfo) GetVersion() *TimedVersion

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 added in v0.11.2

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 added in v0.11.2

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

Deprecated: Use TrackPermission.ProtoReflect.Descriptor instead.

func (*TrackPermission) GetAllTracks added in v0.11.2

func (x *TrackPermission) GetAllTracks() bool

func (*TrackPermission) GetParticipantIdentity added in v0.13.2

func (x *TrackPermission) GetParticipantIdentity() string

func (*TrackPermission) GetParticipantSid added in v0.11.2

func (x *TrackPermission) GetParticipantSid() string

func (*TrackPermission) GetTrackSids added in v0.11.2

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

func (*TrackPermission) ProtoMessage added in v0.11.2

func (*TrackPermission) ProtoMessage()

func (*TrackPermission) ProtoReflect added in v0.11.2

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

func (*TrackPermission) Reset added in v0.11.2

func (x *TrackPermission) Reset()

func (*TrackPermission) String added in v0.11.2

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 added in v0.12.0

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 added in v0.12.0

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

Deprecated: Use TrackUnpublishedResponse.ProtoReflect.Descriptor instead.

func (*TrackUnpublishedResponse) GetTrackSid added in v0.12.0

func (x *TrackUnpublishedResponse) GetTrackSid() string

func (*TrackUnpublishedResponse) ProtoMessage added in v0.12.0

func (*TrackUnpublishedResponse) ProtoMessage()

func (*TrackUnpublishedResponse) ProtoReflect added in v0.12.0

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

func (*TrackUnpublishedResponse) Reset added in v0.12.0

func (x *TrackUnpublishedResponse) Reset()

func (*TrackUnpublishedResponse) String added in v0.12.0

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 added in v0.11.14

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 added in v0.13.1

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).

func NewSIPServer added in v1.9.0

func NewSIPServer(svc SIP, opts ...interface{}) TwirpServer

NewSIPServer 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) IngestNodeRoomStates added in v1.9.4

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 added in v1.0.0

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"`
	ParticipantMetadata string               `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"`
	BypassTranscoding   *bool                `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3,oneof" json:"bypass_transcoding,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 added in v1.0.0

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

Deprecated: Use UpdateIngressRequest.ProtoReflect.Descriptor instead.

func (*UpdateIngressRequest) GetAudio added in v1.0.0

func (*UpdateIngressRequest) GetBypassTranscoding added in v1.5.8

func (x *UpdateIngressRequest) GetBypassTranscoding() bool

func (*UpdateIngressRequest) GetIngressId added in v1.0.0

func (x *UpdateIngressRequest) GetIngressId() string

func (*UpdateIngressRequest) GetName added in v1.0.0

func (x *UpdateIngressRequest) GetName() string

func (*UpdateIngressRequest) GetParticipantIdentity added in v1.0.0

func (x *UpdateIngressRequest) GetParticipantIdentity() string

func (*UpdateIngressRequest) GetParticipantMetadata added in v1.9.9

func (x *UpdateIngressRequest) GetParticipantMetadata() string

func (*UpdateIngressRequest) GetParticipantName added in v1.0.0

func (x *UpdateIngressRequest) GetParticipantName() string

func (*UpdateIngressRequest) GetRoomName added in v1.0.0

func (x *UpdateIngressRequest) GetRoomName() string

func (*UpdateIngressRequest) GetVideo added in v1.0.0

func (*UpdateIngressRequest) ProtoMessage added in v1.0.0

func (*UpdateIngressRequest) ProtoMessage()

func (*UpdateIngressRequest) ProtoReflect added in v1.0.0

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

func (*UpdateIngressRequest) Reset added in v1.0.0

func (x *UpdateIngressRequest) Reset()

func (*UpdateIngressRequest) String added in v1.0.0

func (x *UpdateIngressRequest) String() string

type UpdateLayoutRequest added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use UpdateLayoutRequest.ProtoReflect.Descriptor instead.

func (*UpdateLayoutRequest) GetEgressId added in v0.11.14

func (x *UpdateLayoutRequest) GetEgressId() string

func (*UpdateLayoutRequest) GetLayout added in v0.11.14

func (x *UpdateLayoutRequest) GetLayout() string

func (*UpdateLayoutRequest) ProtoMessage added in v0.11.14

func (*UpdateLayoutRequest) ProtoMessage()

func (*UpdateLayoutRequest) ProtoReflect added in v0.11.14

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

func (*UpdateLayoutRequest) Reset added in v0.11.14

func (x *UpdateLayoutRequest) Reset()

func (*UpdateLayoutRequest) String added in v0.11.14

func (x *UpdateLayoutRequest) String() string

type UpdateLocalAudioTrack added in v1.12.0

type UpdateLocalAudioTrack struct {
	TrackSid string              `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"`
	Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLocalAudioTrack) Descriptor deprecated added in v1.12.0

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

Deprecated: Use UpdateLocalAudioTrack.ProtoReflect.Descriptor instead.

func (*UpdateLocalAudioTrack) GetFeatures added in v1.12.0

func (x *UpdateLocalAudioTrack) GetFeatures() []AudioTrackFeature

func (*UpdateLocalAudioTrack) GetTrackSid added in v1.12.0

func (x *UpdateLocalAudioTrack) GetTrackSid() string

func (*UpdateLocalAudioTrack) ProtoMessage added in v1.12.0

func (*UpdateLocalAudioTrack) ProtoMessage()

func (*UpdateLocalAudioTrack) ProtoReflect added in v1.12.0

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

func (*UpdateLocalAudioTrack) Reset added in v1.12.0

func (x *UpdateLocalAudioTrack) Reset()

func (*UpdateLocalAudioTrack) String added in v1.12.0

func (x *UpdateLocalAudioTrack) String() string

type UpdateLocalVideoTrack added in v1.12.0

type UpdateLocalVideoTrack struct {
	TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,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"`
	// contains filtered or unexported fields
}

func (*UpdateLocalVideoTrack) Descriptor deprecated added in v1.12.0

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

Deprecated: Use UpdateLocalVideoTrack.ProtoReflect.Descriptor instead.

func (*UpdateLocalVideoTrack) GetHeight added in v1.12.0

func (x *UpdateLocalVideoTrack) GetHeight() uint32

func (*UpdateLocalVideoTrack) GetTrackSid added in v1.12.0

func (x *UpdateLocalVideoTrack) GetTrackSid() string

func (*UpdateLocalVideoTrack) GetWidth added in v1.12.0

func (x *UpdateLocalVideoTrack) GetWidth() uint32

func (*UpdateLocalVideoTrack) ProtoMessage added in v1.12.0

func (*UpdateLocalVideoTrack) ProtoMessage()

func (*UpdateLocalVideoTrack) ProtoReflect added in v1.12.0

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

func (*UpdateLocalVideoTrack) Reset added in v1.12.0

func (x *UpdateLocalVideoTrack) Reset()

func (*UpdateLocalVideoTrack) String added in v1.12.0

func (x *UpdateLocalVideoTrack) String() string

type UpdateParticipantMetadata added in v1.4.0

type UpdateParticipantMetadata struct {
	Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateParticipantMetadata) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UpdateParticipantMetadata.ProtoReflect.Descriptor instead.

func (*UpdateParticipantMetadata) GetMetadata added in v1.4.0

func (x *UpdateParticipantMetadata) GetMetadata() string

func (*UpdateParticipantMetadata) GetName added in v1.4.3

func (x *UpdateParticipantMetadata) GetName() string

func (*UpdateParticipantMetadata) ProtoMessage added in v1.4.0

func (*UpdateParticipantMetadata) ProtoMessage()

func (*UpdateParticipantMetadata) ProtoReflect added in v1.4.0

func (*UpdateParticipantMetadata) Reset added in v1.4.0

func (x *UpdateParticipantMetadata) Reset()

func (*UpdateParticipantMetadata) String added in v1.4.0

func (x *UpdateParticipantMetadata) 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"`
	// display name to update
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,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) GetName added in v1.2.0

func (x *UpdateParticipantRequest) GetName() 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 added in v0.11.14

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 added in v0.11.14

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

Deprecated: Use UpdateStreamRequest.ProtoReflect.Descriptor instead.

func (*UpdateStreamRequest) GetAddOutputUrls added in v0.11.14

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

func (*UpdateStreamRequest) GetEgressId added in v0.11.14

func (x *UpdateStreamRequest) GetEgressId() string

func (*UpdateStreamRequest) GetRemoveOutputUrls added in v0.11.14

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

func (*UpdateStreamRequest) ProtoMessage added in v0.11.14

func (*UpdateStreamRequest) ProtoMessage()

func (*UpdateStreamRequest) ProtoReflect added in v0.11.14

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

func (*UpdateStreamRequest) Reset added in v0.11.14

func (x *UpdateStreamRequest) Reset()

func (*UpdateStreamRequest) String added in v0.11.14

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 added in v0.11.3

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 added in v0.11.3

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"`
	Fps    uint32 `protobuf:"varint,7,opt,name=fps,proto3" json:"fps,omitempty"`
	// subscription priority. 1 being the highest (0 is unset)
	// when unset, server sill assign priority based on the order of subscription
	// server will use priority in the following ways:
	//  1. when subscribed tracks exceed per-participant subscription limit, server will
	//     pause the lowest priority tracks
	//  2. when the network is congested, server will assign available bandwidth to
	//     higher priority tracks first. lowest priority tracks can be paused
	Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,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) GetFps added in v1.2.0

func (x *UpdateTrackSettings) GetFps() uint32

func (*UpdateTrackSettings) GetHeight

func (x *UpdateTrackSettings) GetHeight() uint32

func (*UpdateTrackSettings) GetPriority added in v1.4.0

func (x *UpdateTrackSettings) GetPriority() 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 UpdateWorkerStatus added in v1.9.1

type UpdateWorkerStatus struct {
	Status WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWorkerStatus) Descriptor deprecated added in v1.9.1

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

Deprecated: Use UpdateWorkerStatus.ProtoReflect.Descriptor instead.

func (*UpdateWorkerStatus) GetStatus added in v1.9.1

func (x *UpdateWorkerStatus) GetStatus() WorkerStatus

func (*UpdateWorkerStatus) ProtoMessage added in v1.9.1

func (*UpdateWorkerStatus) ProtoMessage()

func (*UpdateWorkerStatus) ProtoReflect added in v1.9.1

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

func (*UpdateWorkerStatus) Reset added in v1.9.1

func (x *UpdateWorkerStatus) Reset()

func (*UpdateWorkerStatus) String added in v1.9.1

func (x *UpdateWorkerStatus) String() string

type UserPacket

type UserPacket struct {

	// participant ID of user that sent the message
	//
	// Deprecated: Marked as deprecated in livekit_models.proto.
	ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"`
	// Deprecated: Marked as deprecated in livekit_models.proto.
	ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,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 (sent to all by default)
	//
	// Deprecated: Marked as deprecated in livekit_models.proto.
	DestinationSids []string `protobuf:"bytes,3,rep,name=destination_sids,json=destinationSids,proto3" json:"destination_sids,omitempty"`
	// identities of participants who will receive the message (sent to all by default)
	//
	// Deprecated: Marked as deprecated in livekit_models.proto.
	DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"`
	// topic under which the message was published
	Topic *string `protobuf:"bytes,4,opt,name=topic,proto3,oneof" json:"topic,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPacket) Descriptor deprecated

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

Deprecated: Use UserPacket.ProtoReflect.Descriptor instead.

func (*UserPacket) GetDestinationIdentities deprecated added in v1.6.1

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

Deprecated: Marked as deprecated in livekit_models.proto.

func (*UserPacket) GetDestinationSids deprecated

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

Deprecated: Marked as deprecated in livekit_models.proto.

func (*UserPacket) GetParticipantIdentity deprecated added in v1.6.1

func (x *UserPacket) GetParticipantIdentity() string

Deprecated: Marked as deprecated in livekit_models.proto.

func (*UserPacket) GetParticipantSid deprecated

func (x *UserPacket) GetParticipantSid() string

Deprecated: Marked as deprecated in livekit_models.proto.

func (*UserPacket) GetPayload

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

func (*UserPacket) GetTopic added in v1.4.3

func (x *UserPacket) GetTopic() string

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 added in v0.11.14

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

func (VideoCodec) Descriptor added in v0.11.14

func (VideoCodec) Descriptor() protoreflect.EnumDescriptor

func (VideoCodec) Enum added in v0.11.14

func (x VideoCodec) Enum() *VideoCodec

func (VideoCodec) EnumDescriptor deprecated added in v0.11.14

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

Deprecated: Use VideoCodec.Descriptor instead.

func (VideoCodec) Number added in v0.11.14

func (x VideoCodec) Number() protoreflect.EnumNumber

func (VideoCodec) String added in v0.11.14

func (x VideoCodec) String() string

func (VideoCodec) Type added in v0.11.14

type VideoConfiguration added in v0.11.14

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

func (*VideoConfiguration) Descriptor deprecated added in v0.11.14

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

Deprecated: Use VideoConfiguration.ProtoReflect.Descriptor instead.

func (*VideoConfiguration) GetHardwareEncoder added in v0.11.14

func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting

func (*VideoConfiguration) ProtoMessage added in v0.11.14

func (*VideoConfiguration) ProtoMessage()

func (*VideoConfiguration) ProtoReflect added in v0.11.14

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

func (*VideoConfiguration) Reset added in v0.11.14

func (x *VideoConfiguration) Reset()

func (*VideoConfiguration) String added in v0.11.14

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 in bit per second (bps), 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 added in v0.11.9

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 WebEgressRequest added in v1.2.0

type WebEgressRequest struct {
	Url              string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	AudioOnly        bool   `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"`
	VideoOnly        bool   `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"`
	AwaitStartSignal bool   `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"`
	// Types that are assignable to Output:
	//
	//	*WebEgressRequest_File
	//	*WebEgressRequest_Stream
	//	*WebEgressRequest_Segments
	Output isWebEgressRequest_Output `protobuf_oneof:"output"`
	// Types that are assignable to Options:
	//
	//	*WebEgressRequest_Preset
	//	*WebEgressRequest_Advanced
	Options        isWebEgressRequest_Options `protobuf_oneof:"options"`
	FileOutputs    []*EncodedFileOutput       `protobuf:"bytes,9,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"`
	StreamOutputs  []*StreamOutput            `protobuf:"bytes,10,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"`
	SegmentOutputs []*SegmentedFileOutput     `protobuf:"bytes,11,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"`
	ImageOutputs   []*ImageOutput             `protobuf:"bytes,13,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"`
	// contains filtered or unexported fields
}

record any website

func (*WebEgressRequest) Descriptor deprecated added in v1.2.0

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

Deprecated: Use WebEgressRequest.ProtoReflect.Descriptor instead.

func (*WebEgressRequest) GetAdvanced added in v1.2.0

func (x *WebEgressRequest) GetAdvanced() *EncodingOptions

func (*WebEgressRequest) GetAudioOnly added in v1.2.0

func (x *WebEgressRequest) GetAudioOnly() bool

func (*WebEgressRequest) GetAwaitStartSignal added in v1.5.8

func (x *WebEgressRequest) GetAwaitStartSignal() bool

func (*WebEgressRequest) GetFile deprecated added in v1.2.0

func (x *WebEgressRequest) GetFile() *EncodedFileOutput

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*WebEgressRequest) GetFileOutputs added in v1.4.0

func (x *WebEgressRequest) GetFileOutputs() []*EncodedFileOutput

func (*WebEgressRequest) GetImageOutputs added in v1.8.0

func (x *WebEgressRequest) GetImageOutputs() []*ImageOutput

func (*WebEgressRequest) GetOptions added in v1.2.0

func (m *WebEgressRequest) GetOptions() isWebEgressRequest_Options

func (*WebEgressRequest) GetOutput added in v1.2.0

func (m *WebEgressRequest) GetOutput() isWebEgressRequest_Output

func (*WebEgressRequest) GetPreset added in v1.2.0

func (x *WebEgressRequest) GetPreset() EncodingOptionsPreset

func (*WebEgressRequest) GetSegmentOutputs added in v1.4.0

func (x *WebEgressRequest) GetSegmentOutputs() []*SegmentedFileOutput

func (*WebEgressRequest) GetSegments deprecated added in v1.2.0

func (x *WebEgressRequest) GetSegments() *SegmentedFileOutput

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*WebEgressRequest) GetStream deprecated added in v1.2.0

func (x *WebEgressRequest) GetStream() *StreamOutput

Deprecated: Marked as deprecated in livekit_egress.proto.

func (*WebEgressRequest) GetStreamOutputs added in v1.4.0

func (x *WebEgressRequest) GetStreamOutputs() []*StreamOutput

func (*WebEgressRequest) GetUrl added in v1.2.0

func (x *WebEgressRequest) GetUrl() string

func (*WebEgressRequest) GetVideoOnly added in v1.2.0

func (x *WebEgressRequest) GetVideoOnly() bool

func (*WebEgressRequest) ProtoMessage added in v1.2.0

func (*WebEgressRequest) ProtoMessage()

func (*WebEgressRequest) ProtoReflect added in v1.2.0

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

func (*WebEgressRequest) Reset added in v1.2.0

func (x *WebEgressRequest) Reset()

func (*WebEgressRequest) String added in v1.2.0

func (x *WebEgressRequest) String() string

type WebEgressRequest_Advanced added in v1.2.0

type WebEgressRequest_Advanced struct {
	Advanced *EncodingOptions `protobuf:"bytes,8,opt,name=advanced,proto3,oneof"`
}

type WebEgressRequest_File added in v1.2.0

type WebEgressRequest_File struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	File *EncodedFileOutput `protobuf:"bytes,4,opt,name=file,proto3,oneof"`
}

type WebEgressRequest_Preset added in v1.2.0

type WebEgressRequest_Preset struct {
	Preset EncodingOptionsPreset `protobuf:"varint,7,opt,name=preset,proto3,enum=livekit.EncodingOptionsPreset,oneof"`
}

type WebEgressRequest_Segments added in v1.2.0

type WebEgressRequest_Segments struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Segments *SegmentedFileOutput `protobuf:"bytes,6,opt,name=segments,proto3,oneof"`
}

type WebEgressRequest_Stream added in v1.2.0

type WebEgressRequest_Stream struct {
	// Deprecated: Marked as deprecated in livekit_egress.proto.
	Stream *StreamOutput `protobuf:"bytes,5,opt,name=stream,proto3,oneof"`
}

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 *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"`
	NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEvent) Descriptor deprecated

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

Deprecated: Use WebhookEvent.ProtoReflect.Descriptor instead.

func (*WebhookEvent) GetCreatedAt added in v0.11.4

func (x *WebhookEvent) GetCreatedAt() int64

func (*WebhookEvent) GetEgressInfo added in v0.11.14

func (x *WebhookEvent) GetEgressInfo() *EgressInfo

func (*WebhookEvent) GetEvent

func (x *WebhookEvent) GetEvent() string

func (*WebhookEvent) GetId added in v0.11.4

func (x *WebhookEvent) GetId() string

func (*WebhookEvent) GetIngressInfo added in v1.0.0

func (x *WebhookEvent) GetIngressInfo() *IngressInfo

func (*WebhookEvent) GetNumDropped added in v1.5.4

func (x *WebhookEvent) GetNumDropped() int32

func (*WebhookEvent) GetParticipant

func (x *WebhookEvent) GetParticipant() *ParticipantInfo

func (*WebhookEvent) GetRoom

func (x *WebhookEvent) GetRoom() *Room

func (*WebhookEvent) GetTrack added in v0.11.13

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

type WorkerMessage added in v1.9.1

type WorkerMessage struct {

	// Types that are assignable to Message:
	//
	//	*WorkerMessage_Register
	//	*WorkerMessage_Availability
	//	*WorkerMessage_Status
	//	*WorkerMessage_JobUpdate
	Message isWorkerMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

from Worker to Server

func (*WorkerMessage) Descriptor deprecated added in v1.9.1

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

Deprecated: Use WorkerMessage.ProtoReflect.Descriptor instead.

func (*WorkerMessage) GetAvailability added in v1.9.1

func (x *WorkerMessage) GetAvailability() *AvailabilityResponse

func (*WorkerMessage) GetJobUpdate added in v1.9.1

func (x *WorkerMessage) GetJobUpdate() *JobStatusUpdate

func (*WorkerMessage) GetMessage added in v1.9.1

func (m *WorkerMessage) GetMessage() isWorkerMessage_Message

func (*WorkerMessage) GetRegister added in v1.9.1

func (x *WorkerMessage) GetRegister() *RegisterWorkerRequest

func (*WorkerMessage) GetStatus added in v1.9.1

func (x *WorkerMessage) GetStatus() *UpdateWorkerStatus

func (*WorkerMessage) ProtoMessage added in v1.9.1

func (*WorkerMessage) ProtoMessage()

func (*WorkerMessage) ProtoReflect added in v1.9.1

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

func (*WorkerMessage) Reset added in v1.9.1

func (x *WorkerMessage) Reset()

func (*WorkerMessage) String added in v1.9.1

func (x *WorkerMessage) String() string

type WorkerMessage_Availability added in v1.9.1

type WorkerMessage_Availability struct {
	// worker confirms to server that it's available for a job, or declines it
	Availability *AvailabilityResponse `protobuf:"bytes,2,opt,name=availability,proto3,oneof"`
}

type WorkerMessage_JobUpdate added in v1.9.1

type WorkerMessage_JobUpdate struct {
	JobUpdate *JobStatusUpdate `protobuf:"bytes,4,opt,name=job_update,json=jobUpdate,proto3,oneof"`
}

type WorkerMessage_Register added in v1.9.1

type WorkerMessage_Register struct {
	// agent workers need to register themselves with the server first
	Register *RegisterWorkerRequest `protobuf:"bytes,1,opt,name=register,proto3,oneof"`
}

type WorkerMessage_Status added in v1.9.1

type WorkerMessage_Status struct {
	// worker can update its status to the server, including taking itself out of the pool
	Status *UpdateWorkerStatus `protobuf:"bytes,3,opt,name=status,proto3,oneof"`
}

type WorkerStatus added in v1.9.1

type WorkerStatus int32
const (
	WorkerStatus_WS_AVAILABLE WorkerStatus = 0
	WorkerStatus_WS_FULL      WorkerStatus = 1
)

func (WorkerStatus) Descriptor added in v1.9.1

func (WorkerStatus) Enum added in v1.9.1

func (x WorkerStatus) Enum() *WorkerStatus

func (WorkerStatus) EnumDescriptor deprecated added in v1.9.1

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

Deprecated: Use WorkerStatus.Descriptor instead.

func (WorkerStatus) Number added in v1.9.1

func (WorkerStatus) String added in v1.9.1

func (x WorkerStatus) String() string

func (WorkerStatus) Type added in v1.9.1

Jump to

Keyboard shortcuts

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