* Add a nonce to data messages. Will be used to de-dupe messages sent via SendData API. * generated protobuf * comment * generated protobuf * add nonce to UserPacket * generated protobuf * 128-bit UUID as string for nonce * generated protobuf * UUID bytes * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
95 lines
4.0 KiB
Go
95 lines
4.0 KiB
Go
// Copyright 2023 LiveKit, Inc.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.4
|
|
// protoc v4.23.4
|
|
// source: rpc/roommanager.proto
|
|
|
|
package rpc
|
|
|
|
import (
|
|
livekit "github.com/livekit/protocol/livekit"
|
|
_ "github.com/livekit/psrpc/protoc-gen-psrpc/options"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
var File_rpc_roommanager_proto protoreflect.FileDescriptor
|
|
|
|
var file_rpc_roommanager_proto_rawDesc = string([]byte{
|
|
0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
|
|
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76,
|
|
0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x1a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x61, 0x0a, 0x0b, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x61, 0x6e,
|
|
0x61, 0x67, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f,
|
|
0x6f, 0x6d, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d,
|
|
0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x22, 0x19, 0xb2,
|
|
0x89, 0x01, 0x15, 0x10, 0x01, 0x1a, 0x11, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x07, 0x6e,
|
|
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 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, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
})
|
|
|
|
var file_rpc_roommanager_proto_goTypes = []any{
|
|
(*livekit.CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest
|
|
(*livekit.Room)(nil), // 1: livekit.Room
|
|
}
|
|
var file_rpc_roommanager_proto_depIdxs = []int32{
|
|
0, // 0: rpc.RoomManager.CreateRoom:input_type -> livekit.CreateRoomRequest
|
|
1, // 1: rpc.RoomManager.CreateRoom:output_type -> livekit.Room
|
|
1, // [1:2] is the sub-list for method output_type
|
|
0, // [0:1] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rpc_roommanager_proto_init() }
|
|
func file_rpc_roommanager_proto_init() {
|
|
if File_rpc_roommanager_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_roommanager_proto_rawDesc), len(file_rpc_roommanager_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_rpc_roommanager_proto_goTypes,
|
|
DependencyIndexes: file_rpc_roommanager_proto_depIdxs,
|
|
}.Build()
|
|
File_rpc_roommanager_proto = out.File
|
|
file_rpc_roommanager_proto_goTypes = nil
|
|
file_rpc_roommanager_proto_depIdxs = nil
|
|
}
|