|
|
|
|
@@ -188,6 +188,7 @@ type EgressRequest struct {
|
|
|
|
|
// Types that are assignable to Request:
|
|
|
|
|
// *EgressRequest_UpdateStream
|
|
|
|
|
// *EgressRequest_Stop
|
|
|
|
|
// *EgressRequest_UpdateLayout
|
|
|
|
|
Request isEgressRequest_Request `protobuf_oneof:"request"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -265,6 +266,13 @@ func (x *EgressRequest) GetStop() *StopEgressRequest {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EgressRequest) GetUpdateLayout() *UpdateLayoutRequest {
|
|
|
|
|
if x, ok := x.GetRequest().(*EgressRequest_UpdateLayout); ok {
|
|
|
|
|
return x.UpdateLayout
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type isEgressRequest_Request interface {
|
|
|
|
|
isEgressRequest_Request()
|
|
|
|
|
}
|
|
|
|
|
@@ -277,10 +285,16 @@ type EgressRequest_Stop struct {
|
|
|
|
|
Stop *StopEgressRequest `protobuf:"bytes,4,opt,name=stop,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EgressRequest_UpdateLayout struct {
|
|
|
|
|
UpdateLayout *UpdateLayoutRequest `protobuf:"bytes,6,opt,name=update_layout,json=updateLayout,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*EgressRequest_UpdateStream) isEgressRequest_Request() {}
|
|
|
|
|
|
|
|
|
|
func (*EgressRequest_Stop) isEgressRequest_Request() {}
|
|
|
|
|
|
|
|
|
|
func (*EgressRequest_UpdateLayout) isEgressRequest_Request() {}
|
|
|
|
|
|
|
|
|
|
type EgressResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
@@ -377,7 +391,7 @@ var file_livekit_egress_internal_proto_rawDesc = []byte{
|
|
|
|
|
0x6f, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x77, 0x73,
|
|
|
|
|
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x73, 0x55, 0x72,
|
|
|
|
|
0x6c, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xea, 0x01, 0x0a,
|
|
|
|
|
0x6c, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xaf, 0x02, 0x0a,
|
|
|
|
|
0x0d, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
|
|
|
|
|
0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72,
|
|
|
|
|
@@ -391,20 +405,24 @@ var file_livekit_egress_internal_proto_rawDesc = []byte{
|
|
|
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x30, 0x0a, 0x04,
|
|
|
|
|
0x73, 0x74, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76,
|
|
|
|
|
0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, 0x74, 0x6f, 0x70, 0x42, 0x09,
|
|
|
|
|
0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6e, 0x0a, 0x0e, 0x45, 0x67, 0x72,
|
|
|
|
|
0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x69,
|
|
|
|
|
0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65,
|
|
|
|
|
0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04,
|
|
|
|
|
0x69, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
|
|
|
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, 0x74,
|
|
|
|
|
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f,
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74,
|
|
|
|
|
0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
|
0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74,
|
|
|
|
|
0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x73, 0x74, 0x6f, 0x70, 0x12, 0x43,
|
|
|
|
|
0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18,
|
|
|
|
|
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e,
|
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79,
|
|
|
|
|
0x6f, 0x75, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6e,
|
|
|
|
|
0x0a, 0x0e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
|
|
|
|
|
0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49,
|
|
|
|
|
0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
|
|
|
|
|
0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12,
|
|
|
|
|
0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x46,
|
|
|
|
|
0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76,
|
|
|
|
|
0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69,
|
|
|
|
|
0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e,
|
|
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a,
|
|
|
|
|
0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
@@ -429,7 +447,8 @@ var file_livekit_egress_internal_proto_goTypes = []interface{}{
|
|
|
|
|
(*TrackEgressRequest)(nil), // 5: livekit.TrackEgressRequest
|
|
|
|
|
(*UpdateStreamRequest)(nil), // 6: livekit.UpdateStreamRequest
|
|
|
|
|
(*StopEgressRequest)(nil), // 7: livekit.StopEgressRequest
|
|
|
|
|
(*EgressInfo)(nil), // 8: livekit.EgressInfo
|
|
|
|
|
(*UpdateLayoutRequest)(nil), // 8: livekit.UpdateLayoutRequest
|
|
|
|
|
(*EgressInfo)(nil), // 9: livekit.EgressInfo
|
|
|
|
|
}
|
|
|
|
|
var file_livekit_egress_internal_proto_depIdxs = []int32{
|
|
|
|
|
3, // 0: livekit.StartEgressRequest.room_composite:type_name -> livekit.RoomCompositeEgressRequest
|
|
|
|
|
@@ -437,12 +456,13 @@ var file_livekit_egress_internal_proto_depIdxs = []int32{
|
|
|
|
|
5, // 2: livekit.StartEgressRequest.track:type_name -> livekit.TrackEgressRequest
|
|
|
|
|
6, // 3: livekit.EgressRequest.update_stream:type_name -> livekit.UpdateStreamRequest
|
|
|
|
|
7, // 4: livekit.EgressRequest.stop:type_name -> livekit.StopEgressRequest
|
|
|
|
|
8, // 5: livekit.EgressResponse.info:type_name -> livekit.EgressInfo
|
|
|
|
|
6, // [6:6] is the sub-list for method output_type
|
|
|
|
|
6, // [6:6] is the sub-list for method input_type
|
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
|
8, // 5: livekit.EgressRequest.update_layout:type_name -> livekit.UpdateLayoutRequest
|
|
|
|
|
9, // 6: livekit.EgressResponse.info:type_name -> livekit.EgressInfo
|
|
|
|
|
7, // [7:7] is the sub-list for method output_type
|
|
|
|
|
7, // [7:7] is the sub-list for method input_type
|
|
|
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
|
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:7] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_livekit_egress_internal_proto_init() }
|
|
|
|
|
@@ -497,6 +517,7 @@ func file_livekit_egress_internal_proto_init() {
|
|
|
|
|
file_livekit_egress_internal_proto_msgTypes[1].OneofWrappers = []interface{}{
|
|
|
|
|
(*EgressRequest_UpdateStream)(nil),
|
|
|
|
|
(*EgressRequest_Stop)(nil),
|
|
|
|
|
(*EgressRequest_UpdateLayout)(nil),
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
|