package livekit
import (
_ "github.com/livekit/protocol/livekit/logger"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type IngressInput int32
const (
IngressInput_RTMP_INPUT IngressInput = 0
IngressInput_WHIP_INPUT IngressInput = 1
IngressInput_URL_INPUT IngressInput = 2 )
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,
}
)
func (x IngressInput) Enum() *IngressInput {
p := new(IngressInput)
*p = x
return p
}
func (x IngressInput) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IngressInput) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_ingress_proto_enumTypes[0].Descriptor()
}
func (IngressInput) Type() protoreflect.EnumType {
return &file_livekit_ingress_proto_enumTypes[0]
}
func (x IngressInput) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (IngressInput) EnumDescriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{0}
}
type IngressAudioEncodingPreset int32
const (
IngressAudioEncodingPreset_OPUS_STEREO_96KBPS IngressAudioEncodingPreset = 0 IngressAudioEncodingPreset_OPUS_MONO_64KBS IngressAudioEncodingPreset = 1 )
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,
}
)
func (x IngressAudioEncodingPreset) Enum() *IngressAudioEncodingPreset {
p := new(IngressAudioEncodingPreset)
*p = x
return p
}
func (x IngressAudioEncodingPreset) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IngressAudioEncodingPreset) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_ingress_proto_enumTypes[1].Descriptor()
}
func (IngressAudioEncodingPreset) Type() protoreflect.EnumType {
return &file_livekit_ingress_proto_enumTypes[1]
}
func (x IngressAudioEncodingPreset) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (IngressAudioEncodingPreset) EnumDescriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{1}
}
type IngressVideoEncodingPreset int32
const (
IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS IngressVideoEncodingPreset = 0 IngressVideoEncodingPreset_H264_1080P_30FPS_3_LAYERS IngressVideoEncodingPreset = 1 IngressVideoEncodingPreset_H264_540P_25FPS_2_LAYERS IngressVideoEncodingPreset = 2 IngressVideoEncodingPreset_H264_720P_30FPS_1_LAYER IngressVideoEncodingPreset = 3 IngressVideoEncodingPreset_H264_1080P_30FPS_1_LAYER IngressVideoEncodingPreset = 4 IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS_HIGH_MOTION IngressVideoEncodingPreset = 5 IngressVideoEncodingPreset_H264_1080P_30FPS_3_LAYERS_HIGH_MOTION IngressVideoEncodingPreset = 6 IngressVideoEncodingPreset_H264_540P_25FPS_2_LAYERS_HIGH_MOTION IngressVideoEncodingPreset = 7 IngressVideoEncodingPreset_H264_720P_30FPS_1_LAYER_HIGH_MOTION IngressVideoEncodingPreset = 8 IngressVideoEncodingPreset_H264_1080P_30FPS_1_LAYER_HIGH_MOTION IngressVideoEncodingPreset = 9 )
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,
}
)
func (x IngressVideoEncodingPreset) Enum() *IngressVideoEncodingPreset {
p := new(IngressVideoEncodingPreset)
*p = x
return p
}
func (x IngressVideoEncodingPreset) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IngressVideoEncodingPreset) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_ingress_proto_enumTypes[2].Descriptor()
}
func (IngressVideoEncodingPreset) Type() protoreflect.EnumType {
return &file_livekit_ingress_proto_enumTypes[2]
}
func (x IngressVideoEncodingPreset) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (IngressVideoEncodingPreset) EnumDescriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{2}
}
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
)
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,
}
)
func (x IngressState_Status) Enum() *IngressState_Status {
p := new(IngressState_Status)
*p = x
return p
}
func (x IngressState_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IngressState_Status) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_ingress_proto_enumTypes[3].Descriptor()
}
func (IngressState_Status) Type() protoreflect.EnumType {
return &file_livekit_ingress_proto_enumTypes[3]
}
func (x IngressState_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (IngressState_Status) EnumDescriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{6, 0}
}
type CreateIngressRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"`
Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,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,10,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"`
BypassTranscoding bool `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3" json:"bypass_transcoding,omitempty"`
EnableTranscoding *bool `protobuf:"varint,11,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_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"`
Enabled *bool `protobuf:"varint,12,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateIngressRequest) Reset() {
*x = CreateIngressRequest{}
mi := &file_livekit_ingress_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateIngressRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateIngressRequest) ProtoMessage() {}
func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateIngressRequest) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{0}
}
func (x *CreateIngressRequest) GetInputType() IngressInput {
if x != nil {
return x.InputType
}
return IngressInput_RTMP_INPUT
}
func (x *CreateIngressRequest) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *CreateIngressRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateIngressRequest) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *CreateIngressRequest) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *CreateIngressRequest) GetParticipantName() string {
if x != nil {
return x.ParticipantName
}
return ""
}
func (x *CreateIngressRequest) GetParticipantMetadata() string {
if x != nil {
return x.ParticipantMetadata
}
return ""
}
func (x *CreateIngressRequest) GetBypassTranscoding() bool {
if x != nil {
return x.BypassTranscoding
}
return false
}
func (x *CreateIngressRequest) GetEnableTranscoding() bool {
if x != nil && x.EnableTranscoding != nil {
return *x.EnableTranscoding
}
return false
}
func (x *CreateIngressRequest) GetAudio() *IngressAudioOptions {
if x != nil {
return x.Audio
}
return nil
}
func (x *CreateIngressRequest) GetVideo() *IngressVideoOptions {
if x != nil {
return x.Video
}
return nil
}
func (x *CreateIngressRequest) GetEnabled() bool {
if x != nil && x.Enabled != nil {
return *x.Enabled
}
return false
}
type IngressAudioOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
EncodingOptions isIngressAudioOptions_EncodingOptions `protobuf_oneof:"encoding_options"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressAudioOptions) Reset() {
*x = IngressAudioOptions{}
mi := &file_livekit_ingress_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressAudioOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressAudioOptions) ProtoMessage() {}
func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*IngressAudioOptions) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{1}
}
func (x *IngressAudioOptions) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *IngressAudioOptions) GetSource() TrackSource {
if x != nil {
return x.Source
}
return TrackSource_UNKNOWN
}
func (x *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions {
if x != nil {
return x.EncodingOptions
}
return nil
}
func (x *IngressAudioOptions) GetPreset() IngressAudioEncodingPreset {
if x != nil {
if x, ok := x.EncodingOptions.(*IngressAudioOptions_Preset); ok {
return x.Preset
}
}
return IngressAudioEncodingPreset_OPUS_STEREO_96KBPS
}
func (x *IngressAudioOptions) GetOptions() *IngressAudioEncodingOptions {
if x != nil {
if x, ok := x.EncodingOptions.(*IngressAudioOptions_Options); ok {
return x.Options
}
}
return nil
}
type isIngressAudioOptions_EncodingOptions interface {
isIngressAudioOptions_EncodingOptions()
}
type IngressAudioOptions_Preset struct {
Preset IngressAudioEncodingPreset `protobuf:"varint,3,opt,name=preset,proto3,enum=livekit.IngressAudioEncodingPreset,oneof"`
}
type IngressAudioOptions_Options struct {
Options *IngressAudioEncodingOptions `protobuf:"bytes,4,opt,name=options,proto3,oneof"`
}
func (*IngressAudioOptions_Preset) isIngressAudioOptions_EncodingOptions() {}
func (*IngressAudioOptions_Options) isIngressAudioOptions_EncodingOptions() {}
type IngressVideoOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
EncodingOptions isIngressVideoOptions_EncodingOptions `protobuf_oneof:"encoding_options"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressVideoOptions) Reset() {
*x = IngressVideoOptions{}
mi := &file_livekit_ingress_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressVideoOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressVideoOptions) ProtoMessage() {}
func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*IngressVideoOptions) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{2}
}
func (x *IngressVideoOptions) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *IngressVideoOptions) GetSource() TrackSource {
if x != nil {
return x.Source
}
return TrackSource_UNKNOWN
}
func (x *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions {
if x != nil {
return x.EncodingOptions
}
return nil
}
func (x *IngressVideoOptions) GetPreset() IngressVideoEncodingPreset {
if x != nil {
if x, ok := x.EncodingOptions.(*IngressVideoOptions_Preset); ok {
return x.Preset
}
}
return IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS
}
func (x *IngressVideoOptions) GetOptions() *IngressVideoEncodingOptions {
if x != nil {
if x, ok := x.EncodingOptions.(*IngressVideoOptions_Options); ok {
return x.Options
}
}
return nil
}
type isIngressVideoOptions_EncodingOptions interface {
isIngressVideoOptions_EncodingOptions()
}
type IngressVideoOptions_Preset struct {
Preset IngressVideoEncodingPreset `protobuf:"varint,3,opt,name=preset,proto3,enum=livekit.IngressVideoEncodingPreset,oneof"`
}
type IngressVideoOptions_Options struct {
Options *IngressVideoEncodingOptions `protobuf:"bytes,4,opt,name=options,proto3,oneof"`
}
func (*IngressVideoOptions_Preset) isIngressVideoOptions_EncodingOptions() {}
func (*IngressVideoOptions_Options) isIngressVideoOptions_EncodingOptions() {}
type IngressAudioEncodingOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressAudioEncodingOptions) Reset() {
*x = IngressAudioEncodingOptions{}
mi := &file_livekit_ingress_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressAudioEncodingOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressAudioEncodingOptions) ProtoMessage() {}
func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*IngressAudioEncodingOptions) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{3}
}
func (x *IngressAudioEncodingOptions) GetAudioCodec() AudioCodec {
if x != nil {
return x.AudioCodec
}
return AudioCodec_DEFAULT_AC
}
func (x *IngressAudioEncodingOptions) GetBitrate() uint32 {
if x != nil {
return x.Bitrate
}
return 0
}
func (x *IngressAudioEncodingOptions) GetDisableDtx() bool {
if x != nil {
return x.DisableDtx
}
return false
}
func (x *IngressAudioEncodingOptions) GetChannels() uint32 {
if x != nil {
return x.Channels
}
return 0
}
type IngressVideoEncodingOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressVideoEncodingOptions) Reset() {
*x = IngressVideoEncodingOptions{}
mi := &file_livekit_ingress_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressVideoEncodingOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressVideoEncodingOptions) ProtoMessage() {}
func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*IngressVideoEncodingOptions) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{4}
}
func (x *IngressVideoEncodingOptions) GetVideoCodec() VideoCodec {
if x != nil {
return x.VideoCodec
}
return VideoCodec_DEFAULT_VC
}
func (x *IngressVideoEncodingOptions) GetFrameRate() float64 {
if x != nil {
return x.FrameRate
}
return 0
}
func (x *IngressVideoEncodingOptions) GetLayers() []*VideoLayer {
if x != nil {
return x.Layers
}
return nil
}
type IngressInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"` 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"`
EnableTranscoding *bool `protobuf:"varint,15,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_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"` Enabled *bool `protobuf:"varint,16,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressInfo) Reset() {
*x = IngressInfo{}
mi := &file_livekit_ingress_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressInfo) ProtoMessage() {}
func (x *IngressInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*IngressInfo) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{5}
}
func (x *IngressInfo) GetIngressId() string {
if x != nil {
return x.IngressId
}
return ""
}
func (x *IngressInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *IngressInfo) GetStreamKey() string {
if x != nil {
return x.StreamKey
}
return ""
}
func (x *IngressInfo) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *IngressInfo) GetInputType() IngressInput {
if x != nil {
return x.InputType
}
return IngressInput_RTMP_INPUT
}
func (x *IngressInfo) GetBypassTranscoding() bool {
if x != nil {
return x.BypassTranscoding
}
return false
}
func (x *IngressInfo) GetEnableTranscoding() bool {
if x != nil && x.EnableTranscoding != nil {
return *x.EnableTranscoding
}
return false
}
func (x *IngressInfo) GetAudio() *IngressAudioOptions {
if x != nil {
return x.Audio
}
return nil
}
func (x *IngressInfo) GetVideo() *IngressVideoOptions {
if x != nil {
return x.Video
}
return nil
}
func (x *IngressInfo) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *IngressInfo) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *IngressInfo) GetParticipantName() string {
if x != nil {
return x.ParticipantName
}
return ""
}
func (x *IngressInfo) GetParticipantMetadata() string {
if x != nil {
return x.ParticipantMetadata
}
return ""
}
func (x *IngressInfo) GetReusable() bool {
if x != nil {
return x.Reusable
}
return false
}
func (x *IngressInfo) GetState() *IngressState {
if x != nil {
return x.State
}
return nil
}
func (x *IngressInfo) GetEnabled() bool {
if x != nil && x.Enabled != nil {
return *x.Enabled
}
return false
}
type IngressState struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"` 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"` 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"`
UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngressState) Reset() {
*x = IngressState{}
mi := &file_livekit_ingress_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngressState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngressState) ProtoMessage() {}
func (x *IngressState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*IngressState) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{6}
}
func (x *IngressState) GetStatus() IngressState_Status {
if x != nil {
return x.Status
}
return IngressState_ENDPOINT_INACTIVE
}
func (x *IngressState) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *IngressState) GetVideo() *InputVideoState {
if x != nil {
return x.Video
}
return nil
}
func (x *IngressState) GetAudio() *InputAudioState {
if x != nil {
return x.Audio
}
return nil
}
func (x *IngressState) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *IngressState) GetStartedAt() int64 {
if x != nil {
return x.StartedAt
}
return 0
}
func (x *IngressState) GetEndedAt() int64 {
if x != nil {
return x.EndedAt
}
return 0
}
func (x *IngressState) GetUpdatedAt() int64 {
if x != nil {
return x.UpdatedAt
}
return 0
}
func (x *IngressState) GetResourceId() string {
if x != nil {
return x.ResourceId
}
return ""
}
func (x *IngressState) GetTracks() []*TrackInfo {
if x != nil {
return x.Tracks
}
return nil
}
type InputVideoState struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InputVideoState) Reset() {
*x = InputVideoState{}
mi := &file_livekit_ingress_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InputVideoState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InputVideoState) ProtoMessage() {}
func (x *InputVideoState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*InputVideoState) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{7}
}
func (x *InputVideoState) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *InputVideoState) GetAverageBitrate() uint32 {
if x != nil {
return x.AverageBitrate
}
return 0
}
func (x *InputVideoState) GetWidth() uint32 {
if x != nil {
return x.Width
}
return 0
}
func (x *InputVideoState) GetHeight() uint32 {
if x != nil {
return x.Height
}
return 0
}
func (x *InputVideoState) GetFramerate() float64 {
if x != nil {
return x.Framerate
}
return 0
}
type InputAudioState struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InputAudioState) Reset() {
*x = InputAudioState{}
mi := &file_livekit_ingress_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InputAudioState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InputAudioState) ProtoMessage() {}
func (x *InputAudioState) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*InputAudioState) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{8}
}
func (x *InputAudioState) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *InputAudioState) GetAverageBitrate() uint32 {
if x != nil {
return x.AverageBitrate
}
return 0
}
func (x *InputAudioState) GetChannels() uint32 {
if x != nil {
return x.Channels
}
return 0
}
func (x *InputAudioState) GetSampleRate() uint32 {
if x != nil {
return x.SampleRate
}
return 0
}
type UpdateIngressRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
EnableTranscoding *bool `protobuf:"varint,10,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_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"`
Enabled *bool `protobuf:"varint,11,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateIngressRequest) Reset() {
*x = UpdateIngressRequest{}
mi := &file_livekit_ingress_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateIngressRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateIngressRequest) ProtoMessage() {}
func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*UpdateIngressRequest) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{9}
}
func (x *UpdateIngressRequest) GetIngressId() string {
if x != nil {
return x.IngressId
}
return ""
}
func (x *UpdateIngressRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateIngressRequest) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *UpdateIngressRequest) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *UpdateIngressRequest) GetParticipantName() string {
if x != nil {
return x.ParticipantName
}
return ""
}
func (x *UpdateIngressRequest) GetParticipantMetadata() string {
if x != nil {
return x.ParticipantMetadata
}
return ""
}
func (x *UpdateIngressRequest) GetBypassTranscoding() bool {
if x != nil && x.BypassTranscoding != nil {
return *x.BypassTranscoding
}
return false
}
func (x *UpdateIngressRequest) GetEnableTranscoding() bool {
if x != nil && x.EnableTranscoding != nil {
return *x.EnableTranscoding
}
return false
}
func (x *UpdateIngressRequest) GetAudio() *IngressAudioOptions {
if x != nil {
return x.Audio
}
return nil
}
func (x *UpdateIngressRequest) GetVideo() *IngressVideoOptions {
if x != nil {
return x.Video
}
return nil
}
func (x *UpdateIngressRequest) GetEnabled() bool {
if x != nil && x.Enabled != nil {
return *x.Enabled
}
return false
}
type ListIngressRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PageToken *TokenPagination `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListIngressRequest) Reset() {
*x = ListIngressRequest{}
mi := &file_livekit_ingress_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListIngressRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListIngressRequest) ProtoMessage() {}
func (x *ListIngressRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListIngressRequest) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{10}
}
func (x *ListIngressRequest) GetPageToken() *TokenPagination {
if x != nil {
return x.PageToken
}
return nil
}
func (x *ListIngressRequest) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *ListIngressRequest) GetIngressId() string {
if x != nil {
return x.IngressId
}
return ""
}
type ListIngressResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
NextPageToken *TokenPagination `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListIngressResponse) Reset() {
*x = ListIngressResponse{}
mi := &file_livekit_ingress_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListIngressResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListIngressResponse) ProtoMessage() {}
func (x *ListIngressResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListIngressResponse) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{11}
}
func (x *ListIngressResponse) GetNextPageToken() *TokenPagination {
if x != nil {
return x.NextPageToken
}
return nil
}
func (x *ListIngressResponse) GetItems() []*IngressInfo {
if x != nil {
return x.Items
}
return nil
}
type DeleteIngressRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteIngressRequest) Reset() {
*x = DeleteIngressRequest{}
mi := &file_livekit_ingress_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteIngressRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteIngressRequest) ProtoMessage() {}
func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_ingress_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DeleteIngressRequest) Descriptor() ([]byte, []int) {
return file_livekit_ingress_proto_rawDescGZIP(), []int{12}
}
func (x *DeleteIngressRequest) GetIngressId() string {
if x != nil {
return x.IngressId
}
return ""
}
var File_livekit_ingress_proto protoreflect.FileDescriptor
const file_livekit_ingress_proto_rawDesc = "" +
"\n" +
"\x15livekit_ingress.proto\x12\alivekit\x1a\x14livekit_models.proto\x1a\x14logger/options.proto\"\xdf\x04\n" +
"\x14CreateIngressRequest\x124\n" +
"\n" +
"input_type\x18\x01 \x01(\x0e2\x15.livekit.IngressInputR\tinputType\x12\x10\n" +
"\x03url\x18\t \x01(\tR\x03url\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
"\troom_name\x18\x03 \x01(\tR\broomName\x121\n" +
"\x14participant_identity\x18\x04 \x01(\tR\x13participantIdentity\x12/\n" +
"\x10participant_name\x18\x05 \x01(\tB\x04\x88\xec,\x01R\x0fparticipantName\x12Y\n" +
"\x14participant_metadata\x18\n" +
" \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x13participantMetadata\x121\n" +
"\x12bypass_transcoding\x18\b \x01(\bB\x02\x18\x01R\x11bypassTranscoding\x122\n" +
"\x12enable_transcoding\x18\v \x01(\bH\x00R\x11enableTranscoding\x88\x01\x01\x122\n" +
"\x05audio\x18\x06 \x01(\v2\x1c.livekit.IngressAudioOptionsR\x05audio\x122\n" +
"\x05video\x18\a \x01(\v2\x1c.livekit.IngressVideoOptionsR\x05video\x12\x1d\n" +
"\aenabled\x18\f \x01(\bH\x01R\aenabled\x88\x01\x01B\x15\n" +
"\x13_enable_transcodingB\n" +
"\n" +
"\b_enabled\"\xec\x01\n" +
"\x13IngressAudioOptions\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12,\n" +
"\x06source\x18\x02 \x01(\x0e2\x14.livekit.TrackSourceR\x06source\x12=\n" +
"\x06preset\x18\x03 \x01(\x0e2#.livekit.IngressAudioEncodingPresetH\x00R\x06preset\x12@\n" +
"\aoptions\x18\x04 \x01(\v2$.livekit.IngressAudioEncodingOptionsH\x00R\aoptionsB\x12\n" +
"\x10encoding_options\"\xec\x01\n" +
"\x13IngressVideoOptions\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12,\n" +
"\x06source\x18\x02 \x01(\x0e2\x14.livekit.TrackSourceR\x06source\x12=\n" +
"\x06preset\x18\x03 \x01(\x0e2#.livekit.IngressVideoEncodingPresetH\x00R\x06preset\x12@\n" +
"\aoptions\x18\x04 \x01(\v2$.livekit.IngressVideoEncodingOptionsH\x00R\aoptionsB\x12\n" +
"\x10encoding_options\"\xaa\x01\n" +
"\x1bIngressAudioEncodingOptions\x124\n" +
"\vaudio_codec\x18\x01 \x01(\x0e2\x13.livekit.AudioCodecR\n" +
"audioCodec\x12\x18\n" +
"\abitrate\x18\x02 \x01(\rR\abitrate\x12\x1f\n" +
"\vdisable_dtx\x18\x03 \x01(\bR\n" +
"disableDtx\x12\x1a\n" +
"\bchannels\x18\x04 \x01(\rR\bchannels\"\x9f\x01\n" +
"\x1bIngressVideoEncodingOptions\x124\n" +
"\vvideo_codec\x18\x01 \x01(\x0e2\x13.livekit.VideoCodecR\n" +
"videoCodec\x12\x1d\n" +
"\n" +
"frame_rate\x18\x02 \x01(\x01R\tframeRate\x12+\n" +
"\x06layers\x18\x03 \x03(\v2\x13.livekit.VideoLayerR\x06layers\"\xec\x05\n" +
"\vIngressInfo\x12,\n" +
"\n" +
"ingress_id\x18\x01 \x01(\tB\r\x9a\xec,\tingressIDR\tingressId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
"\n" +
"stream_key\x18\x03 \x01(\tR\tstreamKey\x12\x10\n" +
"\x03url\x18\x04 \x01(\tR\x03url\x124\n" +
"\n" +
"input_type\x18\x05 \x01(\x0e2\x15.livekit.IngressInputR\tinputType\x121\n" +
"\x12bypass_transcoding\x18\r \x01(\bB\x02\x18\x01R\x11bypassTranscoding\x122\n" +
"\x12enable_transcoding\x18\x0f \x01(\bH\x00R\x11enableTranscoding\x88\x01\x01\x122\n" +
"\x05audio\x18\x06 \x01(\v2\x1c.livekit.IngressAudioOptionsR\x05audio\x122\n" +
"\x05video\x18\a \x01(\v2\x1c.livekit.IngressVideoOptionsR\x05video\x12\x1b\n" +
"\troom_name\x18\b \x01(\tR\broomName\x121\n" +
"\x14participant_identity\x18\t \x01(\tR\x13participantIdentity\x12/\n" +
"\x10participant_name\x18\n" +
" \x01(\tB\x04\x88\xec,\x01R\x0fparticipantName\x12Y\n" +
"\x14participant_metadata\x18\x0e \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x13participantMetadata\x12\x1a\n" +
"\breusable\x18\v \x01(\bR\breusable\x12+\n" +
"\x05state\x18\f \x01(\v2\x15.livekit.IngressStateR\x05state\x12\x1d\n" +
"\aenabled\x18\x10 \x01(\bH\x01R\aenabled\x88\x01\x01B\x15\n" +
"\x13_enable_transcodingB\n" +
"\n" +
"\b_enabled\"\x92\x04\n" +
"\fIngressState\x124\n" +
"\x06status\x18\x01 \x01(\x0e2\x1c.livekit.IngressState.StatusR\x06status\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\x12.\n" +
"\x05video\x18\x03 \x01(\v2\x18.livekit.InputVideoStateR\x05video\x12.\n" +
"\x05audio\x18\x04 \x01(\v2\x18.livekit.InputAudioStateR\x05audio\x12#\n" +
"\aroom_id\x18\x05 \x01(\tB\n" +
"\x9a\xec,\x06roomIDR\x06roomId\x12\x1d\n" +
"\n" +
"started_at\x18\a \x01(\x03R\tstartedAt\x12\x19\n" +
"\bended_at\x18\b \x01(\x03R\aendedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\n" +
" \x01(\x03R\tupdatedAt\x12/\n" +
"\vresource_id\x18\t \x01(\tB\x0e\x9a\xec,\n" +
"resourceIDR\n" +
"resourceId\x12*\n" +
"\x06tracks\x18\x06 \x03(\v2\x12.livekit.TrackInfoR\x06tracks\"{\n" +
"\x06Status\x12\x15\n" +
"\x11ENDPOINT_INACTIVE\x10\x00\x12\x16\n" +
"\x12ENDPOINT_BUFFERING\x10\x01\x12\x17\n" +
"\x13ENDPOINT_PUBLISHING\x10\x02\x12\x12\n" +
"\x0eENDPOINT_ERROR\x10\x03\x12\x15\n" +
"\x11ENDPOINT_COMPLETE\x10\x04\"\xa3\x01\n" +
"\x0fInputVideoState\x12\x1b\n" +
"\tmime_type\x18\x01 \x01(\tR\bmimeType\x12'\n" +
"\x0faverage_bitrate\x18\x02 \x01(\rR\x0eaverageBitrate\x12\x14\n" +
"\x05width\x18\x03 \x01(\rR\x05width\x12\x16\n" +
"\x06height\x18\x04 \x01(\rR\x06height\x12\x1c\n" +
"\tframerate\x18\x05 \x01(\x01R\tframerate\"\x94\x01\n" +
"\x0fInputAudioState\x12\x1b\n" +
"\tmime_type\x18\x01 \x01(\tR\bmimeType\x12'\n" +
"\x0faverage_bitrate\x18\x02 \x01(\rR\x0eaverageBitrate\x12\x1a\n" +
"\bchannels\x18\x03 \x01(\rR\bchannels\x12\x1f\n" +
"\vsample_rate\x18\x04 \x01(\rR\n" +
"sampleRate\"\xe1\x04\n" +
"\x14UpdateIngressRequest\x12,\n" +
"\n" +
"ingress_id\x18\x01 \x01(\tB\r\x9a\xec,\tingressIDR\tingressId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
"\troom_name\x18\x03 \x01(\tR\broomName\x121\n" +
"\x14participant_identity\x18\x04 \x01(\tR\x13participantIdentity\x12/\n" +
"\x10participant_name\x18\x05 \x01(\tB\x04\x88\xec,\x01R\x0fparticipantName\x12Y\n" +
"\x14participant_metadata\x18\t \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x13participantMetadata\x126\n" +
"\x12bypass_transcoding\x18\b \x01(\bB\x02\x18\x01H\x00R\x11bypassTranscoding\x88\x01\x01\x122\n" +
"\x12enable_transcoding\x18\n" +
" \x01(\bH\x01R\x11enableTranscoding\x88\x01\x01\x122\n" +
"\x05audio\x18\x06 \x01(\v2\x1c.livekit.IngressAudioOptionsR\x05audio\x122\n" +
"\x05video\x18\a \x01(\v2\x1c.livekit.IngressVideoOptionsR\x05video\x12\x1d\n" +
"\aenabled\x18\v \x01(\bH\x02R\aenabled\x88\x01\x01B\x15\n" +
"\x13_bypass_transcodingB\x15\n" +
"\x13_enable_transcodingB\n" +
"\n" +
"\b_enabled\"\x98\x01\n" +
"\x12ListIngressRequest\x127\n" +
"\n" +
"page_token\x18\x03 \x01(\v2\x18.livekit.TokenPaginationR\tpageToken\x12\x1b\n" +
"\troom_name\x18\x01 \x01(\tR\broomName\x12,\n" +
"\n" +
"ingress_id\x18\x02 \x01(\tB\r\x9a\xec,\tingressIDR\tingressId\"\x83\x01\n" +
"\x13ListIngressResponse\x12@\n" +
"\x0fnext_page_token\x18\x02 \x01(\v2\x18.livekit.TokenPaginationR\rnextPageToken\x12*\n" +
"\x05items\x18\x01 \x03(\v2\x14.livekit.IngressInfoR\x05items\"D\n" +
"\x14DeleteIngressRequest\x12,\n" +
"\n" +
"ingress_id\x18\x01 \x01(\tB\r\x9a\xec,\tingressIDR\tingressId*=\n" +
"\fIngressInput\x12\x0e\n" +
"\n" +
"RTMP_INPUT\x10\x00\x12\x0e\n" +
"\n" +
"WHIP_INPUT\x10\x01\x12\r\n" +
"\tURL_INPUT\x10\x02*I\n" +
"\x1aIngressAudioEncodingPreset\x12\x16\n" +
"\x12OPUS_STEREO_96KBPS\x10\x00\x12\x13\n" +
"\x0fOPUS_MONO_64KBS\x10\x01*\x84\x03\n" +
"\x1aIngressVideoEncodingPreset\x12\x1c\n" +
"\x18H264_720P_30FPS_3_LAYERS\x10\x00\x12\x1d\n" +
"\x19H264_1080P_30FPS_3_LAYERS\x10\x01\x12\x1c\n" +
"\x18H264_540P_25FPS_2_LAYERS\x10\x02\x12\x1b\n" +
"\x17H264_720P_30FPS_1_LAYER\x10\x03\x12\x1c\n" +
"\x18H264_1080P_30FPS_1_LAYER\x10\x04\x12(\n" +
"$H264_720P_30FPS_3_LAYERS_HIGH_MOTION\x10\x05\x12)\n" +
"%H264_1080P_30FPS_3_LAYERS_HIGH_MOTION\x10\x06\x12(\n" +
"$H264_540P_25FPS_2_LAYERS_HIGH_MOTION\x10\a\x12'\n" +
"#H264_720P_30FPS_1_LAYER_HIGH_MOTION\x10\b\x12(\n" +
"$H264_1080P_30FPS_1_LAYER_HIGH_MOTION\x10\t2\xa5\x02\n" +
"\aIngress\x12D\n" +
"\rCreateIngress\x12\x1d.livekit.CreateIngressRequest\x1a\x14.livekit.IngressInfo\x12D\n" +
"\rUpdateIngress\x12\x1d.livekit.UpdateIngressRequest\x1a\x14.livekit.IngressInfo\x12H\n" +
"\vListIngress\x12\x1b.livekit.ListIngressRequest\x1a\x1c.livekit.ListIngressResponse\x12D\n" +
"\rDeleteIngress\x12\x1d.livekit.DeleteIngressRequest\x1a\x14.livekit.IngressInfoBFZ#github.com/livekit/protocol/livekit\xaa\x02\rLiveKit.Proto\xea\x02\x0eLiveKit::Protob\x06proto3"
var (
file_livekit_ingress_proto_rawDescOnce sync.Once
file_livekit_ingress_proto_rawDescData []byte
)
func file_livekit_ingress_proto_rawDescGZIP() []byte {
file_livekit_ingress_proto_rawDescOnce.Do(func() {
file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)))
})
return file_livekit_ingress_proto_rawDescData
}
var file_livekit_ingress_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_livekit_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_livekit_ingress_proto_goTypes = []any{
(IngressInput)(0), (IngressAudioEncodingPreset)(0), (IngressVideoEncodingPreset)(0), (IngressState_Status)(0), (*CreateIngressRequest)(nil), (*IngressAudioOptions)(nil), (*IngressVideoOptions)(nil), (*IngressAudioEncodingOptions)(nil), (*IngressVideoEncodingOptions)(nil), (*IngressInfo)(nil), (*IngressState)(nil), (*InputVideoState)(nil), (*InputAudioState)(nil), (*UpdateIngressRequest)(nil), (*ListIngressRequest)(nil), (*ListIngressResponse)(nil), (*DeleteIngressRequest)(nil), (TrackSource)(0), (AudioCodec)(0), (VideoCodec)(0), (*VideoLayer)(nil), (*TrackInfo)(nil), (*TokenPagination)(nil), }
var file_livekit_ingress_proto_depIdxs = []int32{
0, 5, 6, 17, 1, 7, 17, 2, 8, 18, 19, 20, 0, 5, 6, 10, 3, 11, 12, 21, 5, 6, 22, 22, 9, 4, 13, 14, 16, 9, 9, 15, 9, 29, 25, 25, 25, 0, }
func init() { file_livekit_ingress_proto_init() }
func file_livekit_ingress_proto_init() {
if File_livekit_ingress_proto != nil {
return
}
file_livekit_models_proto_init()
file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []any{}
file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []any{
(*IngressAudioOptions_Preset)(nil),
(*IngressAudioOptions_Options)(nil),
}
file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []any{
(*IngressVideoOptions_Preset)(nil),
(*IngressVideoOptions_Options)(nil),
}
file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []any{}
file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)),
NumEnums: 4,
NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_livekit_ingress_proto_goTypes,
DependencyIndexes: file_livekit_ingress_proto_depIdxs,
EnumInfos: file_livekit_ingress_proto_enumTypes,
MessageInfos: file_livekit_ingress_proto_msgTypes,
}.Build()
File_livekit_ingress_proto = out.File
file_livekit_ingress_proto_goTypes = nil
file_livekit_ingress_proto_depIdxs = nil
}