From de68f2c0954f482fb62dcc182b34c88c96bde0a5 Mon Sep 17 00:00:00 2001 From: cloudwebrtc Date: Fri, 14 Jun 2024 13:34:29 +0800 Subject: [PATCH] Revert "fix: misaligned pointer dereference." This reverts commit d53ef6ba8e02a62383bbaafa8e0da3b5f5a6d479. --- Runtime/Scripts/Internal/FFIClient.cs | 12 +- .../Scripts/Internal/FFIClients/FFIEvents.cs | 2 +- Runtime/Scripts/Internal/NativeMethods.cs | 4 +- Runtime/Scripts/Proto/Ffi.cs | 492 +-- Runtime/Scripts/Proto/Room.cs | 3600 ++++++----------- 5 files changed, 1416 insertions(+), 2694 deletions(-) diff --git a/Runtime/Scripts/Internal/FFIClient.cs b/Runtime/Scripts/Internal/FFIClient.cs index 6441afb..c124bd2 100644 --- a/Runtime/Scripts/Internal/FFIClient.cs +++ b/Runtime/Scripts/Internal/FFIClient.cs @@ -170,17 +170,17 @@ public FfiResponse SendRequest(FfiRequest request) using var memory = memoryPool.Memory(request); var data = memory.Span(); request.WriteTo(data); - UIntPtr dataInLen = new UIntPtr((UInt64)data.Length); + fixed (byte* requestDataPtr = data) { var handle = NativeMethods.FfiNewRequest( requestDataPtr, - dataInLen, + data.Length, out byte* dataPtr, - out UIntPtr dataLen + out int dataLen ); - var dataSpan = new Span(dataPtr, (int)dataLen.ToUInt32()); + var dataSpan = new Span(dataPtr, dataLen); var response = responseParser.ParseFrom(dataSpan)!; NativeMethods.FfiDropHandle(handle); return response; @@ -198,7 +198,7 @@ out UIntPtr dataLen [AOT.MonoPInvokeCallback(typeof(FFICallbackDelegate))] - static unsafe void FFICallback(IntPtr data, UIntPtr size) + static unsafe void FFICallback(IntPtr data, int size) { #if NO_LIVEKIT_MODE return; @@ -206,7 +206,7 @@ static unsafe void FFICallback(IntPtr data, UIntPtr size) if (_isDisposed) return; - var respData = new Span(data.ToPointer()!, (int)size.ToUInt32()); + var respData = new Span(data.ToPointer()!, size); var response = FfiEvent.Parser!.ParseFrom(respData); // Run on the main thread, the order of execution is guaranteed by Unity diff --git a/Runtime/Scripts/Internal/FFIClients/FFIEvents.cs b/Runtime/Scripts/Internal/FFIClients/FFIEvents.cs index 5f8760c..ac5e978 100644 --- a/Runtime/Scripts/Internal/FFIClients/FFIEvents.cs +++ b/Runtime/Scripts/Internal/FFIClients/FFIEvents.cs @@ -5,7 +5,7 @@ namespace LiveKit.Internal { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - internal delegate void FFICallbackDelegate(IntPtr data, UIntPtr size); + internal delegate void FFICallbackDelegate(IntPtr data, int size); // Callbacks internal delegate void PublishTrackDelegate(PublishTrackCallback e); diff --git a/Runtime/Scripts/Internal/NativeMethods.cs b/Runtime/Scripts/Internal/NativeMethods.cs index 31bb899..d2e58df 100644 --- a/Runtime/Scripts/Internal/NativeMethods.cs +++ b/Runtime/Scripts/Internal/NativeMethods.cs @@ -3,8 +3,6 @@ using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; -using FfiHandleId = System.UInt64; - namespace LiveKit.Internal { [SuppressUnmanagedCodeSecurity] @@ -21,7 +19,7 @@ internal static class NativeMethods internal extern static bool FfiDropHandle(IntPtr handleId); [DllImport(Lib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "livekit_ffi_request")] - internal extern static unsafe IntPtr FfiNewRequest(byte* data, UIntPtr len, out byte* dataPtr, out UIntPtr dataLen); + internal extern static unsafe IntPtr FfiNewRequest(byte* data, int len, out byte* dataPtr, out int dataLen); //TODO optimise FfiHandle, can be replaced by FfiHandleId = uint64_t [DllImport(Lib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "livekit_ffi_initialize")] diff --git a/Runtime/Scripts/Proto/Ffi.cs b/Runtime/Scripts/Proto/Ffi.cs index 66a597b..cdb4cf7 100644 --- a/Runtime/Scripts/Proto/Ffi.cs +++ b/Runtime/Scripts/Proto/Ffi.cs @@ -26,7 +26,7 @@ static FfiReflection() { string.Concat( "CglmZmkucHJvdG8SDWxpdmVraXQucHJvdG8aCmUyZWUucHJvdG8aC3RyYWNr", "LnByb3RvGgpyb29tLnByb3RvGhF2aWRlb19mcmFtZS5wcm90bxoRYXVkaW9f", - "ZnJhbWUucHJvdG8inAwKCkZmaVJlcXVlc3QSMAoHZGlzcG9zZRgCIAEoCzId", + "ZnJhbWUucHJvdG8izwsKCkZmaVJlcXVlc3QSMAoHZGlzcG9zZRgCIAEoCzId", "LmxpdmVraXQucHJvdG8uRGlzcG9zZVJlcXVlc3RIABIwCgdjb25uZWN0GAMg", "ASgLMh0ubGl2ZWtpdC5wcm90by5Db25uZWN0UmVxdWVzdEgAEjYKCmRpc2Nv", "bm5lY3QYBCABKAsyIC5saXZla2l0LnByb3RvLkRpc2Nvbm5lY3RSZXF1ZXN0", @@ -40,104 +40,99 @@ static FfiReflection() { "dGFSZXF1ZXN0SAASQgoRdXBkYXRlX2xvY2FsX25hbWUYCiABKAsyJS5saXZl", "a2l0LnByb3RvLlVwZGF0ZUxvY2FsTmFtZVJlcXVlc3RIABJCChFnZXRfc2Vz", "c2lvbl9zdGF0cxgLIAEoCzIlLmxpdmVraXQucHJvdG8uR2V0U2Vzc2lvblN0", - "YXRzUmVxdWVzdEgAEksKFXB1Ymxpc2hfdHJhbnNjcmlwdGlvbhgMIAEoCzIq", - "LmxpdmVraXQucHJvdG8uUHVibGlzaFRyYW5zY3JpcHRpb25SZXF1ZXN0SAAS", - "RAoSY3JlYXRlX3ZpZGVvX3RyYWNrGA0gASgLMiYubGl2ZWtpdC5wcm90by5D", - "cmVhdGVWaWRlb1RyYWNrUmVxdWVzdEgAEkQKEmNyZWF0ZV9hdWRpb190cmFj", - "axgOIAEoCzImLmxpdmVraXQucHJvdG8uQ3JlYXRlQXVkaW9UcmFja1JlcXVl", - "c3RIABIzCglnZXRfc3RhdHMYDyABKAsyHi5saXZla2l0LnByb3RvLkdldFN0", - "YXRzUmVxdWVzdEgAEkAKEG5ld192aWRlb19zdHJlYW0YECABKAsyJC5saXZl", - "a2l0LnByb3RvLk5ld1ZpZGVvU3RyZWFtUmVxdWVzdEgAEkAKEG5ld192aWRl", - "b19zb3VyY2UYESABKAsyJC5saXZla2l0LnByb3RvLk5ld1ZpZGVvU291cmNl", - "UmVxdWVzdEgAEkYKE2NhcHR1cmVfdmlkZW9fZnJhbWUYEiABKAsyJy5saXZl", - "a2l0LnByb3RvLkNhcHR1cmVWaWRlb0ZyYW1lUmVxdWVzdEgAEjsKDXZpZGVv", - "X2NvbnZlcnQYEyABKAsyIi5saXZla2l0LnByb3RvLlZpZGVvQ29udmVydFJl", - "cXVlc3RIABJAChBuZXdfYXVkaW9fc3RyZWFtGBYgASgLMiQubGl2ZWtpdC5w", - "cm90by5OZXdBdWRpb1N0cmVhbVJlcXVlc3RIABJAChBuZXdfYXVkaW9fc291", - "cmNlGBcgASgLMiQubGl2ZWtpdC5wcm90by5OZXdBdWRpb1NvdXJjZVJlcXVl", - "c3RIABJGChNjYXB0dXJlX2F1ZGlvX2ZyYW1lGBggASgLMicubGl2ZWtpdC5w", - "cm90by5DYXB0dXJlQXVkaW9GcmFtZVJlcXVlc3RIABJGChNuZXdfYXVkaW9f", - "cmVzYW1wbGVyGBkgASgLMicubGl2ZWtpdC5wcm90by5OZXdBdWRpb1Jlc2Ft", - "cGxlclJlcXVlc3RIABJEChJyZW1peF9hbmRfcmVzYW1wbGUYGiABKAsyJi5s", - "aXZla2l0LnByb3RvLlJlbWl4QW5kUmVzYW1wbGVSZXF1ZXN0SAASKgoEZTJl", - "ZRgbIAEoCzIaLmxpdmVraXQucHJvdG8uRTJlZVJlcXVlc3RIAEIJCgdtZXNz", - "YWdlIrUMCgtGZmlSZXNwb25zZRIxCgdkaXNwb3NlGAIgASgLMh4ubGl2ZWtp", - "dC5wcm90by5EaXNwb3NlUmVzcG9uc2VIABIxCgdjb25uZWN0GAMgASgLMh4u", - "bGl2ZWtpdC5wcm90by5Db25uZWN0UmVzcG9uc2VIABI3CgpkaXNjb25uZWN0", - "GAQgASgLMiEubGl2ZWtpdC5wcm90by5EaXNjb25uZWN0UmVzcG9uc2VIABI8", - "Cg1wdWJsaXNoX3RyYWNrGAUgASgLMiMubGl2ZWtpdC5wcm90by5QdWJsaXNo", - "VHJhY2tSZXNwb25zZUgAEkAKD3VucHVibGlzaF90cmFjaxgGIAEoCzIlLmxp", - "dmVraXQucHJvdG8uVW5wdWJsaXNoVHJhY2tSZXNwb25zZUgAEjoKDHB1Ymxp", - "c2hfZGF0YRgHIAEoCzIiLmxpdmVraXQucHJvdG8uUHVibGlzaERhdGFSZXNw", - "b25zZUgAEj4KDnNldF9zdWJzY3JpYmVkGAggASgLMiQubGl2ZWtpdC5wcm90", - "by5TZXRTdWJzY3JpYmVkUmVzcG9uc2VIABJLChV1cGRhdGVfbG9jYWxfbWV0", - "YWRhdGEYCSABKAsyKi5saXZla2l0LnByb3RvLlVwZGF0ZUxvY2FsTWV0YWRh", - "dGFSZXNwb25zZUgAEkMKEXVwZGF0ZV9sb2NhbF9uYW1lGAogASgLMiYubGl2", - "ZWtpdC5wcm90by5VcGRhdGVMb2NhbE5hbWVSZXNwb25zZUgAEkMKEWdldF9z", - "ZXNzaW9uX3N0YXRzGAsgASgLMiYubGl2ZWtpdC5wcm90by5HZXRTZXNzaW9u", - "U3RhdHNSZXNwb25zZUgAEkwKFXB1Ymxpc2hfdHJhbnNjcmlwdGlvbhgMIAEo", - "CzIrLmxpdmVraXQucHJvdG8uUHVibGlzaFRyYW5zY3JpcHRpb25SZXNwb25z", - "ZUgAEkUKEmNyZWF0ZV92aWRlb190cmFjaxgNIAEoCzInLmxpdmVraXQucHJv", - "dG8uQ3JlYXRlVmlkZW9UcmFja1Jlc3BvbnNlSAASRQoSY3JlYXRlX2F1ZGlv", - "X3RyYWNrGA4gASgLMicubGl2ZWtpdC5wcm90by5DcmVhdGVBdWRpb1RyYWNr", - "UmVzcG9uc2VIABI0CglnZXRfc3RhdHMYDyABKAsyHy5saXZla2l0LnByb3Rv", - "LkdldFN0YXRzUmVzcG9uc2VIABJBChBuZXdfdmlkZW9fc3RyZW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GJhY2tI", - "ABI0CglnZXRfc3RhdHMYDyABKAsyHy5saXZla2l0LnByb3RvLkdldFN0YXRz", - "Q2FsbGJhY2tIABInCgRsb2dzGBAgASgLMhcubGl2ZWtpdC5wcm90by5Mb2dC", - "YXRjaEgAEkMKEWdldF9zZXNzaW9uX3N0YXRzGBEgASgLMiYubGl2ZWtpdC5w", - "cm90by5HZXRTZXNzaW9uU3RhdHNDYWxsYmFja0gAEiUKBXBhbmljGBIgASgL", - "MhQubGl2ZWtpdC5wcm90by5QYW5pY0gAQgkKB21lc3NhZ2UiHwoORGlzcG9z", - "ZVJlcXVlc3QSDQoFYXN5bmMYASABKAgiNQoPRGlzcG9zZVJlc3BvbnNlEhUK", - "CGFzeW5jX2lkGAEgASgESACIAQFCCwoJX2FzeW5jX2lkIiMKD0Rpc3Bvc2VD", - "YWxsYmFjaxIQCghhc3luY19pZBgBIAEoBCK2AQoJTG9nUmVjb3JkEiYKBWxl", - "dmVsGAEgASgOMhcubGl2ZWtpdC5wcm90by5Mb2dMZXZlbBIOCgZ0YXJnZXQY", - "AiABKAkSGAoLbW9kdWxlX3BhdGgYAyABKAlIAIgBARIRCgRmaWxlGAQgASgJ", - "SAGIAQESEQoEbGluZRgFIAEoDUgCiAEBEg8KB21lc3NhZ2UYBiABKAlCDgoM", - "X21vZHVsZV9wYXRoQgcKBV9maWxlQgcKBV9saW5lIjUKCExvZ0JhdGNoEikK", - "B3JlY29yZHMYASADKAsyGC5saXZla2l0LnByb3RvLkxvZ1JlY29yZCIYCgVQ", - "YW5pYxIPCgdtZXNzYWdlGAEgASgJKlMKCExvZ0xldmVsEg0KCUxPR19FUlJP", - "UhAAEgwKCExPR19XQVJOEAESDAoITE9HX0lORk8QAhINCglMT0dfREVCVUcQ", - "AxINCglMT0dfVFJBQ0UQBEIQqgINTGl2ZUtpdC5Qcm90b2IGcHJvdG8z")); + "YXRzUmVxdWVzdEgAEkQKEmNyZWF0ZV92aWRlb190cmFjaxgMIAEoCzImLmxp", + "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2FtcGxlUmVx", + "dWVzdEgAEioKBGUyZWUYGyABKAsyGi5saXZla2l0LnByb3RvLkUyZWVSZXF1", + "ZXN0SABCCQoHbWVzc2FnZSLnCwoLRmZpUmVzcG9uc2USMQoHZGlzcG9zZRgC", + "IAEoCzIeLmxpdmVraXQucHJvdG8uRGlzcG9zZVJlc3BvbnNlSAASMQoHY29u", + "bmVjdBgDIAEoCzIeLmxpdmVraXQucHJvdG8uQ29ubmVjdFJlc3BvbnNlSAAS", + "NwoKZGlzY29ubmVjdBgEIAEoCzIhLmxpdmVraXQucHJvdG8uRGlzY29ubmVj", + "dFJlc3BvbnNlSAASPAoNcHVibGlzaF90cmFjaxgFIAEoCzIjLmxpdmVraXQu", + "cHJvdG8uUHVibGlzaFRyYWNrUmVzcG9uc2VIABJACg91bnB1Ymxpc2hfdHJh", + "Y2sYBiABKAsyJS5saXZla2l0LnByb3RvLlVucHVibGlzaFRyYWNrUmVzcG9u", + "c2VIABI6CgxwdWJsaXNoX2RhdGEYByABKAsyIi5saXZla2l0LnByb3RvLlB1", + "Ymxpc2hEYXRhUmVzcG9uc2VIABI+Cg5zZXRfc3Vic2NyaWJlZBgIIAEoCzIk", + "LmxpdmVraXQucHJvdG8uU2V0U3Vic2NyaWJlZFJlc3BvbnNlSAASSwoVdXBk", + "YXRlX2xvY2FsX21ldGFkYXRhGAkgASgLMioubGl2ZWtpdC5wcm90by5VcGRh", + "dGVMb2NhbE1ldGFkYXRhUmVzcG9uc2VIABJDChF1cGRhdGVfbG9jYWxfbmFt", + "ZRgKIAEoCzImLmxpdmVraXQucHJvdG8uVXBkYXRlTG9jYWxOYW1lUmVzcG9u", + "c2VIABJDChFnZXRfc2Vzc2lvbl9zdGF0cxgLIAEoCzImLmxpdmVraXQucHJv", + "dG8uR2V0U2Vzc2lvblN0YXRzUmVzcG9uc2VIABJFChJjcmVhdGVfdmlkZW9f", + "dHJhY2sYDCABKAsyJy5saXZla2l0LnByb3RvLkNyZWF0ZVZpZGVvVHJh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FQlVHEAMSDQoJTE9H", + "X1RSQUNFEARCEKoCDUxpdmVLaXQuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::LiveKit.Proto.E2EeReflection.Descriptor, global::LiveKit.Proto.TrackReflection.Descriptor, global::LiveKit.Proto.RoomReflection.Descriptor, global::LiveKit.Proto.VideoFrameReflection.Descriptor, global::LiveKit.Proto.AudioFrameReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LiveKit.Proto.LogLevel), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.FfiRequest), global::LiveKit.Proto.FfiRequest.Parser, new[]{ "Dispose", "Connect", "Disconnect", "PublishTrack", "UnpublishTrack", "PublishData", "SetSubscribed", "UpdateLocalMetadata", "UpdateLocalName", "GetSessionStats", "PublishTranscription", "CreateVideoTrack", "CreateAudioTrack", "GetStats", "NewVideoStream", "NewVideoSource", "CaptureVideoFrame", "VideoConvert", "NewAudioStream", "NewAudioSource", "CaptureAudioFrame", "NewAudioResampler", "RemixAndResample", "E2Ee" }, new[]{ "Message" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.FfiResponse), global::LiveKit.Proto.FfiResponse.Parser, new[]{ "Dispose", "Connect", "Disconnect", "PublishTrack", "UnpublishTrack", "PublishData", "SetSubscribed", "UpdateLocalMetadata", "UpdateLocalName", "GetSessionStats", "PublishTranscription", "CreateVideoTrack", "CreateAudioTrack", "GetStats", "NewVideoStream", "NewVideoSource", "CaptureVideoFrame", "VideoConvert", "NewAudioStream", "NewAudioSource", "CaptureAudioFrame", "NewAudioResampler", "RemixAndResample", "E2Ee" }, new[]{ "Message" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.FfiEvent), global::LiveKit.Proto.FfiEvent.Parser, new[]{ "RoomEvent", "TrackEvent", "VideoStreamEvent", "AudioStreamEvent", "Connect", "Disconnect", "Dispose", "PublishTrack", "UnpublishTrack", "PublishData", "PublishTranscription", "CaptureAudioFrame", "UpdateLocalMetadata", "UpdateLocalName", "GetStats", "Logs", "GetSessionStats", "Panic" }, new[]{ "Message" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.FfiRequest), global::LiveKit.Proto.FfiRequest.Parser, new[]{ "Dispose", "Connect", "Disconnect", "PublishTrack", "UnpublishTrack", "PublishData", "SetSubscribed", "UpdateLocalMetadata", "UpdateLocalName", "GetSessionStats", "CreateVideoTrack", "CreateAudioTrack", "GetStats", "NewVideoStream", "NewVideoSource", "CaptureVideoFrame", "VideoConvert", "NewAudioStream", "NewAudioSource", "CaptureAudioFrame", "NewAudioResampler", "RemixAndResample", "E2Ee" }, new[]{ "Message" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.FfiResponse), global::LiveKit.Proto.FfiResponse.Parser, new[]{ "Dispose", "Connect", "Disconnect", "PublishTrack", "UnpublishTrack", "PublishData", "SetSubscribed", "UpdateLocalMetadata", "UpdateLocalName", "GetSessionStats", "CreateVideoTrack", "CreateAudioTrack", "GetStats", "NewVideoStream", "NewVideoSource", "CaptureVideoFrame", "VideoConvert", "NewAudioStream", "NewAudioSource", "CaptureAudioFrame", "NewAudioResampler", "RemixAndResample", "E2Ee" }, new[]{ "Message" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.FfiEvent), global::LiveKit.Proto.FfiEvent.Parser, new[]{ "RoomEvent", "TrackEvent", "VideoStreamEvent", "AudioStreamEvent", "Connect", "Disconnect", "Dispose", "PublishTrack", "UnpublishTrack", "PublishData", "CaptureAudioFrame", "UpdateLocalMetadata", "UpdateLocalName", "GetStats", "Logs", "GetSessionStats", "Panic" }, new[]{ "Message" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.DisposeRequest), global::LiveKit.Proto.DisposeRequest.Parser, new[]{ "Async" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.DisposeResponse), global::LiveKit.Proto.DisposeResponse.Parser, new[]{ "AsyncId" }, new[]{ "AsyncId" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.DisposeCallback), global::LiveKit.Proto.DisposeCallback.Parser, new[]{ "AsyncId" }, null, null, null, null), @@ -231,9 +226,6 @@ public FfiRequest(FfiRequest other) : this() { case MessageOneofCase.GetSessionStats: GetSessionStats = other.GetSessionStats.Clone(); break; - case MessageOneofCase.PublishTranscription: - PublishTranscription = other.PublishTranscription.Clone(); - break; case MessageOneofCase.CreateVideoTrack: CreateVideoTrack = other.CreateVideoTrack.Clone(); break; @@ -407,20 +399,8 @@ public FfiRequest Clone() { } } - /// Field number for the "publish_transcription" field. - public const int PublishTranscriptionFieldNumber = 12; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.PublishTranscriptionRequest PublishTranscription { - get { return messageCase_ == MessageOneofCase.PublishTranscription ? (global::LiveKit.Proto.PublishTranscriptionRequest) message_ : null; } - set { - message_ = value; - messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.PublishTranscription; - } - } - /// Field number for the "create_video_track" field. - public const int CreateVideoTrackFieldNumber = 13; + public const int CreateVideoTrackFieldNumber = 12; /// /// Track /// @@ -435,7 +415,7 @@ public FfiRequest Clone() { } /// Field number for the "create_audio_track" field. - public const int CreateAudioTrackFieldNumber = 14; + public const int CreateAudioTrackFieldNumber = 13; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.CreateAudioTrackRequest CreateAudioTrack { @@ -447,7 +427,7 @@ public FfiRequest Clone() { } /// Field number for the "get_stats" field. - public const int GetStatsFieldNumber = 15; + public const int GetStatsFieldNumber = 14; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetStatsRequest GetStats { @@ -598,10 +578,9 @@ public enum MessageOneofCase { UpdateLocalMetadata = 9, UpdateLocalName = 10, GetSessionStats = 11, - PublishTranscription = 12, - CreateVideoTrack = 13, - CreateAudioTrack = 14, - GetStats = 15, + CreateVideoTrack = 12, + CreateAudioTrack = 13, + GetStats = 14, NewVideoStream = 16, NewVideoSource = 17, CaptureVideoFrame = 18, @@ -652,7 +631,6 @@ public bool Equals(FfiRequest other) { if (!object.Equals(UpdateLocalMetadata, other.UpdateLocalMetadata)) return false; if (!object.Equals(UpdateLocalName, other.UpdateLocalName)) return false; if (!object.Equals(GetSessionStats, other.GetSessionStats)) return false; - if (!object.Equals(PublishTranscription, other.PublishTranscription)) return false; if (!object.Equals(CreateVideoTrack, other.CreateVideoTrack)) return false; if (!object.Equals(CreateAudioTrack, other.CreateAudioTrack)) return false; if (!object.Equals(GetStats, other.GetStats)) return false; @@ -684,7 +662,6 @@ public override int GetHashCode() { if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) hash ^= UpdateLocalMetadata.GetHashCode(); if (messageCase_ == MessageOneofCase.UpdateLocalName) hash ^= UpdateLocalName.GetHashCode(); if (messageCase_ == MessageOneofCase.GetSessionStats) hash ^= GetSessionStats.GetHashCode(); - if (messageCase_ == MessageOneofCase.PublishTranscription) hash ^= PublishTranscription.GetHashCode(); if (messageCase_ == MessageOneofCase.CreateVideoTrack) hash ^= CreateVideoTrack.GetHashCode(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) hash ^= CreateAudioTrack.GetHashCode(); if (messageCase_ == MessageOneofCase.GetStats) hash ^= GetStats.GetHashCode(); @@ -757,20 +734,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - output.WriteRawTag(98); - output.WriteMessage(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CreateVideoTrack) { - output.WriteRawTag(106); + output.WriteRawTag(98); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(114); + output.WriteRawTag(106); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(122); + output.WriteRawTag(114); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -863,20 +836,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - output.WriteRawTag(98); - output.WriteMessage(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CreateVideoTrack) { - output.WriteRawTag(106); + output.WriteRawTag(98); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(114); + output.WriteRawTag(106); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(122); + output.WriteRawTag(114); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -959,9 +928,6 @@ public int CalculateSize() { if (messageCase_ == MessageOneofCase.GetSessionStats) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GetSessionStats); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CreateVideoTrack) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateVideoTrack); } @@ -1074,12 +1040,6 @@ public void MergeFrom(FfiRequest other) { } GetSessionStats.MergeFrom(other.GetSessionStats); break; - case MessageOneofCase.PublishTranscription: - if (PublishTranscription == null) { - PublishTranscription = new global::LiveKit.Proto.PublishTranscriptionRequest(); - } - PublishTranscription.MergeFrom(other.PublishTranscription); - break; case MessageOneofCase.CreateVideoTrack: if (CreateVideoTrack == null) { CreateVideoTrack = new global::LiveKit.Proto.CreateVideoTrackRequest(); @@ -1266,15 +1226,6 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 98: { - global::LiveKit.Proto.PublishTranscriptionRequest subBuilder = new global::LiveKit.Proto.PublishTranscriptionRequest(); - if (messageCase_ == MessageOneofCase.PublishTranscription) { - subBuilder.MergeFrom(PublishTranscription); - } - input.ReadMessage(subBuilder); - PublishTranscription = subBuilder; - break; - } - case 106: { global::LiveKit.Proto.CreateVideoTrackRequest subBuilder = new global::LiveKit.Proto.CreateVideoTrackRequest(); if (messageCase_ == MessageOneofCase.CreateVideoTrack) { subBuilder.MergeFrom(CreateVideoTrack); @@ -1283,7 +1234,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 114: { + case 106: { global::LiveKit.Proto.CreateAudioTrackRequest subBuilder = new global::LiveKit.Proto.CreateAudioTrackRequest(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -1292,7 +1243,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 122: { + case 114: { global::LiveKit.Proto.GetStatsRequest subBuilder = new global::LiveKit.Proto.GetStatsRequest(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -1497,15 +1448,6 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 98: { - global::LiveKit.Proto.PublishTranscriptionRequest subBuilder = new global::LiveKit.Proto.PublishTranscriptionRequest(); - if (messageCase_ == MessageOneofCase.PublishTranscription) { - subBuilder.MergeFrom(PublishTranscription); - } - input.ReadMessage(subBuilder); - PublishTranscription = subBuilder; - break; - } - case 106: { global::LiveKit.Proto.CreateVideoTrackRequest subBuilder = new global::LiveKit.Proto.CreateVideoTrackRequest(); if (messageCase_ == MessageOneofCase.CreateVideoTrack) { subBuilder.MergeFrom(CreateVideoTrack); @@ -1514,7 +1456,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 114: { + case 106: { global::LiveKit.Proto.CreateAudioTrackRequest subBuilder = new global::LiveKit.Proto.CreateAudioTrackRequest(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -1523,7 +1465,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 122: { + case 114: { global::LiveKit.Proto.GetStatsRequest subBuilder = new global::LiveKit.Proto.GetStatsRequest(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -1698,9 +1640,6 @@ public FfiResponse(FfiResponse other) : this() { case MessageOneofCase.GetSessionStats: GetSessionStats = other.GetSessionStats.Clone(); break; - case MessageOneofCase.PublishTranscription: - PublishTranscription = other.PublishTranscription.Clone(); - break; case MessageOneofCase.CreateVideoTrack: CreateVideoTrack = other.CreateVideoTrack.Clone(); break; @@ -1874,20 +1813,8 @@ public FfiResponse Clone() { } } - /// Field number for the "publish_transcription" field. - public const int PublishTranscriptionFieldNumber = 12; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.PublishTranscriptionResponse PublishTranscription { - get { return messageCase_ == MessageOneofCase.PublishTranscription ? (global::LiveKit.Proto.PublishTranscriptionResponse) message_ : null; } - set { - message_ = value; - messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.PublishTranscription; - } - } - /// Field number for the "create_video_track" field. - public const int CreateVideoTrackFieldNumber = 13; + public const int CreateVideoTrackFieldNumber = 12; /// /// Track /// @@ -1902,7 +1829,7 @@ public FfiResponse Clone() { } /// Field number for the "create_audio_track" field. - public const int CreateAudioTrackFieldNumber = 14; + public const int CreateAudioTrackFieldNumber = 13; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.CreateAudioTrackResponse CreateAudioTrack { @@ -1914,7 +1841,7 @@ public FfiResponse Clone() { } /// Field number for the "get_stats" field. - public const int GetStatsFieldNumber = 15; + public const int GetStatsFieldNumber = 14; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetStatsResponse GetStats { @@ -2065,10 +1992,9 @@ public enum MessageOneofCase { UpdateLocalMetadata = 9, UpdateLocalName = 10, GetSessionStats = 11, - PublishTranscription = 12, - CreateVideoTrack = 13, - CreateAudioTrack = 14, - GetStats = 15, + CreateVideoTrack = 12, + CreateAudioTrack = 13, + GetStats = 14, NewVideoStream = 16, NewVideoSource = 17, CaptureVideoFrame = 18, @@ -2119,7 +2045,6 @@ public bool Equals(FfiResponse other) { if (!object.Equals(UpdateLocalMetadata, other.UpdateLocalMetadata)) return false; if (!object.Equals(UpdateLocalName, other.UpdateLocalName)) return false; if (!object.Equals(GetSessionStats, other.GetSessionStats)) return false; - if (!object.Equals(PublishTranscription, other.PublishTranscription)) return false; if (!object.Equals(CreateVideoTrack, other.CreateVideoTrack)) return false; if (!object.Equals(CreateAudioTrack, other.CreateAudioTrack)) return false; if (!object.Equals(GetStats, other.GetStats)) return false; @@ -2151,7 +2076,6 @@ public override int GetHashCode() { if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) hash ^= UpdateLocalMetadata.GetHashCode(); if (messageCase_ == MessageOneofCase.UpdateLocalName) hash ^= UpdateLocalName.GetHashCode(); if (messageCase_ == MessageOneofCase.GetSessionStats) hash ^= GetSessionStats.GetHashCode(); - if (messageCase_ == MessageOneofCase.PublishTranscription) hash ^= PublishTranscription.GetHashCode(); if (messageCase_ == MessageOneofCase.CreateVideoTrack) hash ^= CreateVideoTrack.GetHashCode(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) hash ^= CreateAudioTrack.GetHashCode(); if (messageCase_ == MessageOneofCase.GetStats) hash ^= GetStats.GetHashCode(); @@ -2224,20 +2148,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - output.WriteRawTag(98); - output.WriteMessage(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CreateVideoTrack) { - output.WriteRawTag(106); + output.WriteRawTag(98); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(114); + output.WriteRawTag(106); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(122); + output.WriteRawTag(114); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -2330,20 +2250,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - output.WriteRawTag(98); - output.WriteMessage(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CreateVideoTrack) { - output.WriteRawTag(106); + output.WriteRawTag(98); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(114); + output.WriteRawTag(106); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(122); + output.WriteRawTag(114); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -2426,9 +2342,6 @@ public int CalculateSize() { if (messageCase_ == MessageOneofCase.GetSessionStats) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GetSessionStats); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CreateVideoTrack) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateVideoTrack); } @@ -2541,12 +2454,6 @@ public void MergeFrom(FfiResponse other) { } GetSessionStats.MergeFrom(other.GetSessionStats); break; - case MessageOneofCase.PublishTranscription: - if (PublishTranscription == null) { - PublishTranscription = new global::LiveKit.Proto.PublishTranscriptionResponse(); - } - PublishTranscription.MergeFrom(other.PublishTranscription); - break; case MessageOneofCase.CreateVideoTrack: if (CreateVideoTrack == null) { CreateVideoTrack = new global::LiveKit.Proto.CreateVideoTrackResponse(); @@ -2733,15 +2640,6 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 98: { - global::LiveKit.Proto.PublishTranscriptionResponse subBuilder = new global::LiveKit.Proto.PublishTranscriptionResponse(); - if (messageCase_ == MessageOneofCase.PublishTranscription) { - subBuilder.MergeFrom(PublishTranscription); - } - input.ReadMessage(subBuilder); - PublishTranscription = subBuilder; - break; - } - case 106: { global::LiveKit.Proto.CreateVideoTrackResponse subBuilder = new global::LiveKit.Proto.CreateVideoTrackResponse(); if (messageCase_ == MessageOneofCase.CreateVideoTrack) { subBuilder.MergeFrom(CreateVideoTrack); @@ -2750,7 +2648,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 114: { + case 106: { global::LiveKit.Proto.CreateAudioTrackResponse subBuilder = new global::LiveKit.Proto.CreateAudioTrackResponse(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -2759,7 +2657,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 122: { + case 114: { global::LiveKit.Proto.GetStatsResponse subBuilder = new global::LiveKit.Proto.GetStatsResponse(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -2964,15 +2862,6 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 98: { - global::LiveKit.Proto.PublishTranscriptionResponse subBuilder = new global::LiveKit.Proto.PublishTranscriptionResponse(); - if (messageCase_ == MessageOneofCase.PublishTranscription) { - subBuilder.MergeFrom(PublishTranscription); - } - input.ReadMessage(subBuilder); - PublishTranscription = subBuilder; - break; - } - case 106: { global::LiveKit.Proto.CreateVideoTrackResponse subBuilder = new global::LiveKit.Proto.CreateVideoTrackResponse(); if (messageCase_ == MessageOneofCase.CreateVideoTrack) { subBuilder.MergeFrom(CreateVideoTrack); @@ -2981,7 +2870,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 114: { + case 106: { global::LiveKit.Proto.CreateAudioTrackResponse subBuilder = new global::LiveKit.Proto.CreateAudioTrackResponse(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -2990,7 +2879,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 122: { + case 114: { global::LiveKit.Proto.GetStatsResponse subBuilder = new global::LiveKit.Proto.GetStatsResponse(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -3167,9 +3056,6 @@ public FfiEvent(FfiEvent other) : this() { case MessageOneofCase.PublishData: PublishData = other.PublishData.Clone(); break; - case MessageOneofCase.PublishTranscription: - PublishTranscription = other.PublishTranscription.Clone(); - break; case MessageOneofCase.CaptureAudioFrame: CaptureAudioFrame = other.CaptureAudioFrame.Clone(); break; @@ -3322,20 +3208,8 @@ public FfiEvent Clone() { } } - /// Field number for the "publish_transcription" field. - public const int PublishTranscriptionFieldNumber = 11; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.PublishTranscriptionCallback PublishTranscription { - get { return messageCase_ == MessageOneofCase.PublishTranscription ? (global::LiveKit.Proto.PublishTranscriptionCallback) message_ : null; } - set { - message_ = value; - messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.PublishTranscription; - } - } - /// Field number for the "capture_audio_frame" field. - public const int CaptureAudioFrameFieldNumber = 12; + public const int CaptureAudioFrameFieldNumber = 11; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.CaptureAudioFrameCallback CaptureAudioFrame { @@ -3347,7 +3221,7 @@ public FfiEvent Clone() { } /// Field number for the "update_local_metadata" field. - public const int UpdateLocalMetadataFieldNumber = 13; + public const int UpdateLocalMetadataFieldNumber = 12; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.UpdateLocalMetadataCallback UpdateLocalMetadata { @@ -3359,7 +3233,7 @@ public FfiEvent Clone() { } /// Field number for the "update_local_name" field. - public const int UpdateLocalNameFieldNumber = 14; + public const int UpdateLocalNameFieldNumber = 13; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.UpdateLocalNameCallback UpdateLocalName { @@ -3371,7 +3245,7 @@ public FfiEvent Clone() { } /// Field number for the "get_stats" field. - public const int GetStatsFieldNumber = 15; + public const int GetStatsFieldNumber = 14; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetStatsCallback GetStats { @@ -3383,7 +3257,7 @@ public FfiEvent Clone() { } /// Field number for the "logs" field. - public const int LogsFieldNumber = 16; + public const int LogsFieldNumber = 15; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.LogBatch Logs { @@ -3395,7 +3269,7 @@ public FfiEvent Clone() { } /// Field number for the "get_session_stats" field. - public const int GetSessionStatsFieldNumber = 17; + public const int GetSessionStatsFieldNumber = 16; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetSessionStatsCallback GetSessionStats { @@ -3407,7 +3281,7 @@ public FfiEvent Clone() { } /// Field number for the "panic" field. - public const int PanicFieldNumber = 18; + public const int PanicFieldNumber = 17; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.Panic Panic { @@ -3432,14 +3306,13 @@ public enum MessageOneofCase { PublishTrack = 8, UnpublishTrack = 9, PublishData = 10, - PublishTranscription = 11, - CaptureAudioFrame = 12, - UpdateLocalMetadata = 13, - UpdateLocalName = 14, - GetStats = 15, - Logs = 16, - GetSessionStats = 17, - Panic = 18, + CaptureAudioFrame = 11, + UpdateLocalMetadata = 12, + UpdateLocalName = 13, + GetStats = 14, + Logs = 15, + GetSessionStats = 16, + Panic = 17, } private MessageOneofCase messageCase_ = MessageOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3480,7 +3353,6 @@ public bool Equals(FfiEvent other) { if (!object.Equals(PublishTrack, other.PublishTrack)) return false; if (!object.Equals(UnpublishTrack, other.UnpublishTrack)) return false; if (!object.Equals(PublishData, other.PublishData)) return false; - if (!object.Equals(PublishTranscription, other.PublishTranscription)) return false; if (!object.Equals(CaptureAudioFrame, other.CaptureAudioFrame)) return false; if (!object.Equals(UpdateLocalMetadata, other.UpdateLocalMetadata)) return false; if (!object.Equals(UpdateLocalName, other.UpdateLocalName)) return false; @@ -3506,7 +3378,6 @@ public override int GetHashCode() { if (messageCase_ == MessageOneofCase.PublishTrack) hash ^= PublishTrack.GetHashCode(); if (messageCase_ == MessageOneofCase.UnpublishTrack) hash ^= UnpublishTrack.GetHashCode(); if (messageCase_ == MessageOneofCase.PublishData) hash ^= PublishData.GetHashCode(); - if (messageCase_ == MessageOneofCase.PublishTranscription) hash ^= PublishTranscription.GetHashCode(); if (messageCase_ == MessageOneofCase.CaptureAudioFrame) hash ^= CaptureAudioFrame.GetHashCode(); if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) hash ^= UpdateLocalMetadata.GetHashCode(); if (messageCase_ == MessageOneofCase.UpdateLocalName) hash ^= UpdateLocalName.GetHashCode(); @@ -3573,36 +3444,32 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(PublishData); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - output.WriteRawTag(90); - output.WriteMessage(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { - output.WriteRawTag(98); + output.WriteRawTag(90); output.WriteMessage(CaptureAudioFrame); } if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { - output.WriteRawTag(106); + output.WriteRawTag(98); output.WriteMessage(UpdateLocalMetadata); } if (messageCase_ == MessageOneofCase.UpdateLocalName) { - output.WriteRawTag(114); + output.WriteRawTag(106); output.WriteMessage(UpdateLocalName); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(122); + output.WriteRawTag(114); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.Logs) { - output.WriteRawTag(130, 1); + output.WriteRawTag(122); output.WriteMessage(Logs); } if (messageCase_ == MessageOneofCase.GetSessionStats) { - output.WriteRawTag(138, 1); + output.WriteRawTag(130, 1); output.WriteMessage(GetSessionStats); } if (messageCase_ == MessageOneofCase.Panic) { - output.WriteRawTag(146, 1); + output.WriteRawTag(138, 1); output.WriteMessage(Panic); } if (_unknownFields != null) { @@ -3655,36 +3522,32 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(PublishData); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - output.WriteRawTag(90); - output.WriteMessage(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { - output.WriteRawTag(98); + output.WriteRawTag(90); output.WriteMessage(CaptureAudioFrame); } if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { - output.WriteRawTag(106); + output.WriteRawTag(98); output.WriteMessage(UpdateLocalMetadata); } if (messageCase_ == MessageOneofCase.UpdateLocalName) { - output.WriteRawTag(114); + output.WriteRawTag(106); output.WriteMessage(UpdateLocalName); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(122); + output.WriteRawTag(114); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.Logs) { - output.WriteRawTag(130, 1); + output.WriteRawTag(122); output.WriteMessage(Logs); } if (messageCase_ == MessageOneofCase.GetSessionStats) { - output.WriteRawTag(138, 1); + output.WriteRawTag(130, 1); output.WriteMessage(GetSessionStats); } if (messageCase_ == MessageOneofCase.Panic) { - output.WriteRawTag(146, 1); + output.WriteRawTag(138, 1); output.WriteMessage(Panic); } if (_unknownFields != null) { @@ -3727,9 +3590,6 @@ public int CalculateSize() { if (messageCase_ == MessageOneofCase.PublishData) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PublishData); } - if (messageCase_ == MessageOneofCase.PublishTranscription) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PublishTranscription); - } if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CaptureAudioFrame); } @@ -3743,7 +3603,7 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GetStats); } if (messageCase_ == MessageOneofCase.Logs) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Logs); + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Logs); } if (messageCase_ == MessageOneofCase.GetSessionStats) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSessionStats); @@ -3824,12 +3684,6 @@ public void MergeFrom(FfiEvent other) { } PublishData.MergeFrom(other.PublishData); break; - case MessageOneofCase.PublishTranscription: - if (PublishTranscription == null) { - PublishTranscription = new global::LiveKit.Proto.PublishTranscriptionCallback(); - } - PublishTranscription.MergeFrom(other.PublishTranscription); - break; case MessageOneofCase.CaptureAudioFrame: if (CaptureAudioFrame == null) { CaptureAudioFrame = new global::LiveKit.Proto.CaptureAudioFrameCallback(); @@ -3980,15 +3834,6 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 90: { - global::LiveKit.Proto.PublishTranscriptionCallback subBuilder = new global::LiveKit.Proto.PublishTranscriptionCallback(); - if (messageCase_ == MessageOneofCase.PublishTranscription) { - subBuilder.MergeFrom(PublishTranscription); - } - input.ReadMessage(subBuilder); - PublishTranscription = subBuilder; - break; - } - case 98: { global::LiveKit.Proto.CaptureAudioFrameCallback subBuilder = new global::LiveKit.Proto.CaptureAudioFrameCallback(); if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { subBuilder.MergeFrom(CaptureAudioFrame); @@ -3997,7 +3842,7 @@ public void MergeFrom(pb::CodedInputStream input) { CaptureAudioFrame = subBuilder; break; } - case 106: { + case 98: { global::LiveKit.Proto.UpdateLocalMetadataCallback subBuilder = new global::LiveKit.Proto.UpdateLocalMetadataCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { subBuilder.MergeFrom(UpdateLocalMetadata); @@ -4006,7 +3851,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalMetadata = subBuilder; break; } - case 114: { + case 106: { global::LiveKit.Proto.UpdateLocalNameCallback subBuilder = new global::LiveKit.Proto.UpdateLocalNameCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalName) { subBuilder.MergeFrom(UpdateLocalName); @@ -4015,7 +3860,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalName = subBuilder; break; } - case 122: { + case 114: { global::LiveKit.Proto.GetStatsCallback subBuilder = new global::LiveKit.Proto.GetStatsCallback(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -4024,7 +3869,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetStats = subBuilder; break; } - case 130: { + case 122: { global::LiveKit.Proto.LogBatch subBuilder = new global::LiveKit.Proto.LogBatch(); if (messageCase_ == MessageOneofCase.Logs) { subBuilder.MergeFrom(Logs); @@ -4033,7 +3878,7 @@ public void MergeFrom(pb::CodedInputStream input) { Logs = subBuilder; break; } - case 138: { + case 130: { global::LiveKit.Proto.GetSessionStatsCallback subBuilder = new global::LiveKit.Proto.GetSessionStatsCallback(); if (messageCase_ == MessageOneofCase.GetSessionStats) { subBuilder.MergeFrom(GetSessionStats); @@ -4042,7 +3887,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetSessionStats = subBuilder; break; } - case 146: { + case 138: { global::LiveKit.Proto.Panic subBuilder = new global::LiveKit.Proto.Panic(); if (messageCase_ == MessageOneofCase.Panic) { subBuilder.MergeFrom(Panic); @@ -4157,15 +4002,6 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 90: { - global::LiveKit.Proto.PublishTranscriptionCallback subBuilder = new global::LiveKit.Proto.PublishTranscriptionCallback(); - if (messageCase_ == MessageOneofCase.PublishTranscription) { - subBuilder.MergeFrom(PublishTranscription); - } - input.ReadMessage(subBuilder); - PublishTranscription = subBuilder; - break; - } - case 98: { global::LiveKit.Proto.CaptureAudioFrameCallback subBuilder = new global::LiveKit.Proto.CaptureAudioFrameCallback(); if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { subBuilder.MergeFrom(CaptureAudioFrame); @@ -4174,7 +4010,7 @@ public void MergeFrom(pb::CodedInputStream input) { CaptureAudioFrame = subBuilder; break; } - case 106: { + case 98: { global::LiveKit.Proto.UpdateLocalMetadataCallback subBuilder = new global::LiveKit.Proto.UpdateLocalMetadataCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { subBuilder.MergeFrom(UpdateLocalMetadata); @@ -4183,7 +4019,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalMetadata = subBuilder; break; } - case 114: { + case 106: { global::LiveKit.Proto.UpdateLocalNameCallback subBuilder = new global::LiveKit.Proto.UpdateLocalNameCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalName) { subBuilder.MergeFrom(UpdateLocalName); @@ -4192,7 +4028,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalName = subBuilder; break; } - case 122: { + case 114: { global::LiveKit.Proto.GetStatsCallback subBuilder = new global::LiveKit.Proto.GetStatsCallback(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -4201,7 +4037,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetStats = subBuilder; break; } - case 130: { + case 122: { global::LiveKit.Proto.LogBatch subBuilder = new global::LiveKit.Proto.LogBatch(); if (messageCase_ == MessageOneofCase.Logs) { subBuilder.MergeFrom(Logs); @@ -4210,7 +4046,7 @@ public void MergeFrom(pb::CodedInputStream input) { Logs = subBuilder; break; } - case 138: { + case 130: { global::LiveKit.Proto.GetSessionStatsCallback subBuilder = new global::LiveKit.Proto.GetSessionStatsCallback(); if (messageCase_ == MessageOneofCase.GetSessionStats) { subBuilder.MergeFrom(GetSessionStats); @@ -4219,7 +4055,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetSessionStats = subBuilder; break; } - case 146: { + case 138: { global::LiveKit.Proto.Panic subBuilder = new global::LiveKit.Proto.Panic(); if (messageCase_ == MessageOneofCase.Panic) { subBuilder.MergeFrom(Panic); diff --git a/Runtime/Scripts/Proto/Room.cs b/Runtime/Scripts/Proto/Room.cs index 1214260..c8d15a1 100644 --- a/Runtime/Scripts/Proto/Room.cs +++ b/Runtime/Scripts/Proto/Room.cs @@ -59,140 +59,131 @@ static RoomReflection() { "BSADKAkSEgoFdG9waWMYBiABKAlIAIgBAUIICgZfdG9waWMiJwoTUHVibGlz", "aERhdGFSZXNwb25zZRIQCghhc3luY19pZBgBIAEoBCJFChNQdWJsaXNoRGF0", "YUNhbGxiYWNrEhAKCGFzeW5jX2lkGAEgASgEEhIKBWVycm9yGAIgASgJSACI", - "AQFCCAoGX2Vycm9yIrgBChtQdWJsaXNoVHJhbnNjcmlwdGlvblJlcXVlc3QS", - "IAoYbG9jYWxfcGFydGljaXBhbnRfaGFuZGxlGAEgASgEEhwKFHBhcnRpY2lw", - "YW50X2lkZW50aXR5GAIgASgJEhAKCHRyYWNrX2lkGAMgASgJEjUKCHNlZ21l", - "bnRzGAQgAygLMiMubGl2ZWtpdC5wcm90by5UcmFuc2NyaXB0aW9uU2VnbWVu", - "dBIQCghsY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AMoCzIXLmxpdmVraXQucHJvdG8uUnRjU3RhdHMSMQoQc3Vic2NyaWJl", - "cl9zdGF0cxgEIAMoCzIXLmxpdmVraXQucHJvdG8uUnRjU3RhdHNCCAoGX2Vy", - "cm9yIjsKDVZpZGVvRW5jb2RpbmcSEwoLbWF4X2JpdHJhdGUYASABKAQSFQoN", - "bWF4X2ZyYW1lcmF0ZRgCIAEoASIkCg1BdWRpb0VuY29kaW5nEhMKC21heF9i", - "aXRyYXRlGAEgASgEIooCChNUcmFja1B1Ymxpc2hPcHRpb25zEjQKDnZpZGVv", - "X2VuY29kaW5nGAEgASgLMhwubGl2ZWtpdC5wcm90by5WaWRlb0VuY29kaW5n", - "EjQKDmF1ZGlvX2VuY29kaW5nGAIgASgLMhwubGl2ZWtpdC5wcm90by5BdWRp", - "b0VuY29kaW5nEi4KC3ZpZGVvX2NvZGVjGAMgASgOMhkubGl2ZWtpdC5wcm90", - "by5WaWRlb0NvZGVjEgsKA2R0eBgEIAEoCBILCgNyZWQYBSABKAgSEQoJc2lt", - "dWxjYXN0GAYgASgIEioKBnNvdXJjZRgHIAEoDjIaLmxpdmVraXQucHJvdG8u", - "VHJhY2tTb3VyY2UiPQoJSWNlU2VydmVyEgwKBHVybHMYASADKAkSEAoIdXNl", - "cm5hbWUYAiABKAkSEAoIcGFzc3dvcmQYAyABKAkihAIKCVJ0Y0NvbmZpZxJA", - "ChJpY2VfdHJhbnNwb3J0X3R5cGUYASABKA4yHy5saXZla2l0LnByb3RvLklj", - "ZVRyYW5zcG9ydFR5cGVIAIgBARJQChpjb250aW51YWxfZ2F0aGVyaW5nX3Bv", - "bGljeRgCIAEoDjInLmxpdmVraXQucHJvdG8uQ29udGludWFsR2F0aGVyaW5n", - "UG9saWN5SAGIAQESLQoLaWNlX3NlcnZlcnMYAyADKAsyGC5saXZla2l0LnBy", - "b3RvLkljZVNlcnZlckIVChNfaWNlX3RyYW5zcG9ydF90eXBlQh0KG19jb250", - "aW51YWxfZ2F0aGVyaW5nX3BvbGljeSLgAQoLUm9vbU9wdGlvbnMSFgoOYXV0", - "b19zdWJzY3JpYmUYASABKAgSFwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIEhAK", - "CGR5bmFjYXN0GAMgASgIEi0KBGUyZWUYBCABKAsyGi5saXZla2l0LnByb3Rv", - "LkUyZWVPcHRpb25zSACIAQESMQoKcnRjX2NvbmZpZxgFIAEoCzIYLmxpdmVr", - "aXQucHJvdG8uUnRjQ29uZmlnSAGIAQESFAoMam9pbl9yZXRyaWVzGAYgASgN", - "QgcKBV9lMmVlQg0KC19ydGNfY29uZmlnImUKFFRyYW5zY3JpcHRpb25TZWdt", - "ZW50EgoKAmlkGAEgASgJEgwKBHRleHQYAiABKAkSEgoKc3RhcnRfdGltZRgD", - "IAEoBBIQCghlbmRfdGltZRgEIAEoBBINCgVmaW5hbBgFIAEoCCIwCgpCdWZm", - "ZXJJbmZvEhAKCGRhdGFfcHRyGAEgASgEEhAKCGRhdGFfbGVuGAIgASgEImUK", - "C093bmVkQnVmZmVyEi0KBmhhbmRsZRgBIAEoCzIdLmxpdmVraXQucHJvdG8u", - "RmZpT3duZWRIYW5kbGUSJwoEZGF0YRgCIAEoCzIZLmxpdmVraXQucHJvdG8u", - "QnVmZmVySW5mbyKADAoJUm9vbUV2ZW50EhMKC3Jvb21faGFuZGxlGAEgASgE", - "EkQKFXBhcnRpY2lwYW50X2Nvbm5lY3RlZBgCIAEoCzIjLmxpdmVraXQucHJv", - "dG8uUGFydGljaXBhbnRDb25uZWN0ZWRIABJKChhwYXJ0aWNpcGFudF9kaXNj", - "b25uZWN0ZWQYAyABKAsyJi5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50RGlz", - "Y29ubmVjdGVkSAASQwoVbG9jYWxfdHJhY2tfcHVibGlzaGVkGAQgASgLMiIu", - "bGl2ZWtpdC5wcm90by5Mb2NhbFRyYWNrUHVibGlzaGVkSAASRwoXbG9jYWxf", - "dHJhY2tfdW5wdWJsaXNoZWQYBSAB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dHgYBCABKAgSCwoDcmVkGAUgASgIEhEKCXNpbXVs", + "Y2FzdBgGIAEoCBIqCgZzb3VyY2UYByABKA4yGi5saXZla2l0LnByb3RvLlRy", + "YWNrU291cmNlIj0KCUljZVNlcnZlchIMCgR1cmxzGAEgAygJEhAKCHVzZXJu", + "YW1lGAIgASgJEhAKCHBhc3N3b3JkGAMgASgJIoQCCglSdGNDb25maWcSQAoS", + "aWNlX3RyYW5zcG9ydF90eXBlGAEgASgOMh8ubGl2ZWtpdC5wcm90by5JY2VU", + "cmFuc3BvcnRUeXBlSACIAQESUAoaY29udGludWFsX2dhdGhlcmluZ19wb2xp", + "Y3kYAiABKA4yJy5saXZla2l0LnByb3RvLkNvbnRpbnVhbEdhdGhlcmluZ1Bv", + "bGljeUgBiAEBEi0KC2ljZV9zZXJ2ZXJzGAMgAygLMhgubGl2ZWtpdC5wcm90", + "by5JY2VTZXJ2ZXJCFQoTX2ljZV90cmFuc3BvcnRfdHlwZUIdChtfY29udGlu", + "dWFsX2dhdGhlcmluZ19wb2xpY3ki4AEKC1Jvb21PcHRpb25zEhYKDmF1dG9f", + "c3Vic2NyaWJlGAEgASgIEhcKD2FkYXB0aXZlX3N0cmVhbRgCIAEoCBIQCghk", + "eW5hY2FzdBgDIAEoCBItCgRlMmVlGAQgASgLMhoubGl2ZWtpdC5wcm90by5F", + "MmVlT3B0aW9uc0gAiAEBEjEKCnJ0Y19jb25maWcYBSABKAsyGC5saXZla2l0", + "LnByb3RvLlJ0Y0NvbmZpZ0gBiAEBEhQKDGpvaW5fcmV0cmllcxgGIAEoDUIH", + "CgVfZTJlZUINCgtfcnRjX2NvbmZpZyIwCgpCdWZmZXJJbmZvEhAKCGRhdGFf", + "cHRyGAEgASgEEhAKCGRhdGFfbGVuGAIgASgEImUKC093bmVkQnVmZmVyEi0K", + "BmhhbmRsZRgBIAEoCzIdLmxpdmVraXQucHJvdG8uRmZpT3duZWRIYW5kbGUS", + "JwoEZGF0YRgCIAEoCzIZLmxpdmVraXQucHJvdG8uQnVmZmVySW5mbyKADAoJ", + "Um9vbUV2ZW50EhMKC3Jvb21faGFuZGxlGAEgASgEEkQKFXBhcnRpY2lwYW50", + "X2Nvbm5lY3RlZBgCIAEoCzIjLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRD", + "b25uZWN0ZWRIABJKChhwYXJ0aWNpcGFudF9kaXNjb25uZWN0ZWQYAyABKAsy", + "Ji5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50RGlzY29ubmVjdGVkSAASQwoV", + "bG9jYWxfdHJhY2tfcHVibGlzaGVkGAQgASgLMiIubGl2ZWtpdC5wcm90by5M", + "b2NhbFRyYWNrUHVibGlzaGVkSAASRwoXbG9jYWxfdHJhY2tfdW5wdWJsaXNo", + "ZWQYBSABKAsyJC5saXZla2l0LnByb3RvLkxvY2FsVHJhY2tVbnB1Ymxpc2hl", + "ZEgAEjgKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIdLmxpdmVraXQucHJvdG8u", + "VHJhY2tQdWJsaXNoZWRIABI8ChF0cmFja191bnB1Ymxpc2hlZBgHIAEoCzIf", + "LmxpdmVraXQucHJvdG8uVHJhY2tVbnB1Ymxpc2hlZEgAEjoKEHRyYWNrX3N1", + "YnNjcmliZWQYCCABKAsyHi5saXZla2l0LnByb3RvLlRyYWNrU3Vic2NyaWJl", + "ZEgAEj4KEnRyYWNrX3Vuc3Vic2NyaWJlZBgJIAEoCzIgLmxpdmVraXQucHJv", + "dG8uVHJhY2tVbnN1YnNjcmliZWRIABJLChl0cmFja19zdWJzY3JpcHRpb25f", + "ZmFpbGVkGAogASgLMiYubGl2ZWtpdC5wcm90by5UcmFja1N1YnNjcmlwdGlv", + "bkZhaWxlZEgAEjAKC3RyYWNrX211dGVkGAsgASgLMhkubGl2ZWtpdC5wcm90", + "by5UcmFja011dGVkSAASNAoNdHJhY2tfdW5tdXRlZBgMIAEoCzIbLmxpdmVr", + "aXQucHJvdG8uVHJhY2tVbm11dGVkSAASRw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KAlIAIgBAUIICgZfZGlnaXQi", - "9QEKEkRhdGFQYWNrZXRSZWNlaXZlZBIrCgRraW5kGAEgASgOMh0ubGl2ZWtp", - "dC5wcm90by5EYXRhUGFja2V0S2luZBIcChRwYXJ0aWNpcGFudF9pZGVudGl0", - "eRgCIAEoCRIgCg9wYXJ0aWNpcGFudF9zaWQYAyABKAlCAhgBSAGIAQESKQoE", - "dXNlchgEIAEoCzIZLmxpdmVraXQucHJvdG8uVXNlclBhY2tldEgAEioKCHNp", - "cF9kdG1mGAUgASgLMhYubGl2ZWtpdC5wcm90by5TaXBEVE1GSABCBwoFdmFs", - "dWVCEgoQX3BhcnRpY2lwYW50X3NpZCJHChZDb25uZWN0aW9uU3RhdGVDaGFu", - "Z2VkEi0KBXN0YXRlGAEgASgOMh4ubGl2ZWtpdC5wcm90by5Db25uZWN0aW9u", - "U3RhdGUiCwoJQ29ubmVjdGVkIg4KDERpc2Nvbm5lY3RlZCIOCgxSZWNvbm5l", - "Y3RpbmciDQoLUmVjb25uZWN0ZWQiCQoHUm9vbUVPUypQChBJY2VUcmFuc3Bv", - "cnRUeXBlEhMKD1RSQU5TUE9SVF9SRUxBWRAAEhQKEFRSQU5TUE9SVF9OT0hP", - "U1QQARIRCg1UUkFOU1BPUlRfQUxMEAIqQwoYQ29udGludWFsR2F0aGVyaW5n", - "UG9saWN5Eg8KC0dBVEhFUl9PTkNFEAASFgoSR0FUSEVSX0NPTlRJTlVBTExZ", - "EAEqYAoRQ29ubmVjdGlvblF1YWxpdHkSEAoMUVVBTElUWV9QT09SEAASEAoM", - "UVVBTElUWV9HT09EEAESFQoRUVVBTElUWV9FWENFTExFTlQQAhIQCgxRVUFM", - "SVRZX0xPU1QQAypTCg9Db25uZWN0aW9uU3RhdGUSFQoRQ09OTl9ESVNDT05O", - "RUNURUQQABISCg5DT05OX0NPTk5FQ1RFRBABEhUKEUNPTk5fUkVDT05ORUNU", - "SU5HEAIqMwoORGF0YVBhY2tldEtpbmQSDgoKS0lOR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ESKQoEdXNlchgEIAEoCzIZLmxp", + "dmVraXQucHJvdG8uVXNlclBhY2tldEgAEioKCHNpcF9kdG1mGAUgASgLMhYu", + "bGl2ZWtpdC5wcm90by5TaXBEVE1GSABCBwoFdmFsdWVCEgoQX3BhcnRpY2lw", + "YW50X3NpZCJHChZDb25uZWN0aW9uU3RhdGVDaGFuZ2VkEi0KBXN0YXRlGAEg", + "ASgOMh4ubGl2ZWtpdC5wcm90by5Db25uZWN0aW9uU3RhdGUiCwoJQ29ubmVj", + "dGVkIg4KDERpc2Nvbm5lY3RlZCIOCgxSZWNvbm5lY3RpbmciDQoLUmVjb25u", + "ZWN0ZWQiCQoHUm9vbUVPUypQChBJY2VUcmFuc3BvcnRUeXBlEhMKD1RSQU5T", + "UE9SVF9SRUxBWRAAEhQKEFRSQU5TUE9SVF9OT0hPU1QQARIRCg1UUkFOU1BP", + "UlRfQUxMEAIqQwoYQ29udGludWFsR2F0aGVyaW5nUG9saWN5Eg8KC0dBVEhF", + "Ul9PTkNFEAASFgoSR0FUSEVSX0NPTlRJTlVBTExZEAEqYAoRQ29ubmVjdGlv", + "blF1YWxpdHkSEAoMUVVBTElUWV9QT09SEAASEAoMUVVBTElUWV9HT09EEAES", + "FQoRUVVBTElUWV9FWENFTExFTlQQAhIQCgxRVUFMSVRZX0xPU1QQAypTCg9D", + "b25uZWN0aW9uU3RhdGUSFQoRQ09OTl9ESVNDT05ORUNURUQQABISCg5DT05O", + "X0NPTk5FQ1RFRBABEhUKEUNPTk5fUkVDT05ORUNUSU5HEAIqMwoORGF0YVBh", + "Y2tldEtpbmQSDgoKS0lORF9MT1NTWRAAEhEKDUtJTkRfUkVMSUFCTEUQAUIQ", + "qgINTGl2ZUtpdC5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::LiveKit.Proto.E2EeReflection.Descriptor, global::LiveKit.Proto.HandleReflection.Descriptor, global::LiveKit.Proto.ParticipantReflection.Descriptor, global::LiveKit.Proto.TrackReflection.Descriptor, global::LiveKit.Proto.VideoFrameReflection.Descriptor, global::LiveKit.Proto.StatsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LiveKit.Proto.IceTransportType), typeof(global::LiveKit.Proto.ContinualGatheringPolicy), typeof(global::LiveKit.Proto.ConnectionQuality), typeof(global::LiveKit.Proto.ConnectionState), typeof(global::LiveKit.Proto.DataPacketKind), }, null, new pbr::GeneratedClrTypeInfo[] { @@ -211,9 +202,6 @@ static RoomReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.PublishDataRequest), global::LiveKit.Proto.PublishDataRequest.Parser, new[]{ "LocalParticipantHandle", "DataPtr", "DataLen", "Kind", "DestinationSids", "Topic" }, new[]{ "Topic" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.PublishDataResponse), global::LiveKit.Proto.PublishDataResponse.Parser, new[]{ "AsyncId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.PublishDataCallback), global::LiveKit.Proto.PublishDataCallback.Parser, new[]{ "AsyncId", "Error" }, new[]{ "Error" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.PublishTranscriptionRequest), global::LiveKit.Proto.PublishTranscriptionRequest.Parser, new[]{ "LocalParticipantHandle", "ParticipantIdentity", "TrackId", "Segments", "Language" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.PublishTranscriptionResponse), global::LiveKit.Proto.PublishTranscriptionResponse.Parser, new[]{ "AsyncId" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.PublishTranscriptionCallback), global::LiveKit.Proto.PublishTranscriptionCallback.Parser, new[]{ "AsyncId", "Error" }, new[]{ "Error" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.UpdateLocalMetadataRequest), global::LiveKit.Proto.UpdateLocalMetadataRequest.Parser, new[]{ "LocalParticipantHandle", "Metadata" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.UpdateLocalMetadataResponse), global::LiveKit.Proto.UpdateLocalMetadataResponse.Parser, new[]{ "AsyncId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.UpdateLocalMetadataCallback), global::LiveKit.Proto.UpdateLocalMetadataCallback.Parser, new[]{ "AsyncId" }, null, null, null, null), @@ -231,7 +219,6 @@ static RoomReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.IceServer), global::LiveKit.Proto.IceServer.Parser, new[]{ "Urls", "Username", "Password" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.RtcConfig), global::LiveKit.Proto.RtcConfig.Parser, new[]{ "IceTransportType", "ContinualGatheringPolicy", "IceServers" }, new[]{ "IceTransportType", "ContinualGatheringPolicy" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.RoomOptions), global::LiveKit.Proto.RoomOptions.Parser, new[]{ "AutoSubscribe", "AdaptiveStream", "Dynacast", "E2Ee", "RtcConfig", "JoinRetries" }, new[]{ "E2Ee", "RtcConfig" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.TranscriptionSegment), global::LiveKit.Proto.TranscriptionSegment.Parser, new[]{ "Id", "Text", "StartTime", "EndTime", "Final" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.BufferInfo), global::LiveKit.Proto.BufferInfo.Parser, new[]{ "DataPtr", "DataLen" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.OwnedBuffer), global::LiveKit.Proto.OwnedBuffer.Parser, new[]{ "Handle", "Data" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.RoomEvent), global::LiveKit.Proto.RoomEvent.Parser, new[]{ "RoomHandle", "ParticipantConnected", "ParticipantDisconnected", "LocalTrackPublished", "LocalTrackUnpublished", "TrackPublished", "TrackUnpublished", "TrackSubscribed", "TrackUnsubscribed", "TrackSubscriptionFailed", "TrackMuted", "TrackUnmuted", "ActiveSpeakersChanged", "RoomMetadataChanged", "ParticipantMetadataChanged", "ParticipantNameChanged", "ConnectionQualityChanged", "ConnectionStateChanged", "Disconnected", "Reconnecting", "Reconnected", "E2EeStateChanged", "Eos", "DataPacketReceived" }, new[]{ "Message" }, null, null, null), @@ -4203,19 +4190,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Publish transcription messages to room + /// Change the local participant's metadata /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PublishTranscriptionRequest : pb::IMessage + public sealed partial class UpdateLocalMetadataRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PublishTranscriptionRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalMetadataRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4231,7 +4218,7 @@ public sealed partial class PublishTranscriptionRequest : pb::IMessageField number for the "local_participant_handle" field. @@ -4266,62 +4250,27 @@ public ulong LocalParticipantHandle { } } - /// Field number for the "participant_identity" field. - public const int ParticipantIdentityFieldNumber = 2; - private string participantIdentity_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParticipantIdentity { - get { return participantIdentity_; } - set { - participantIdentity_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "track_id" field. - public const int TrackIdFieldNumber = 3; - private string trackId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TrackId { - get { return trackId_; } - set { - trackId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "segments" field. - public const int SegmentsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_segments_codec - = pb::FieldCodec.ForMessage(34, global::LiveKit.Proto.TranscriptionSegment.Parser); - private readonly pbc::RepeatedField segments_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Segments { - get { return segments_; } - } - - /// Field number for the "language" field. - public const int LanguageFieldNumber = 5; - private string language_ = ""; + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 2; + private string metadata_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Language { - get { return language_; } + public string Metadata { + get { return metadata_; } set { - language_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + metadata_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PublishTranscriptionRequest); + return Equals(other as UpdateLocalMetadataRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PublishTranscriptionRequest other) { + public bool Equals(UpdateLocalMetadataRequest other) { if (ReferenceEquals(other, null)) { return false; } @@ -4329,10 +4278,7 @@ public bool Equals(PublishTranscriptionRequest other) { return true; } if (LocalParticipantHandle != other.LocalParticipantHandle) return false; - if (ParticipantIdentity != other.ParticipantIdentity) return false; - if (TrackId != other.TrackId) return false; - if(!segments_.Equals(other.segments_)) return false; - if (Language != other.Language) return false; + if (Metadata != other.Metadata) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4341,10 +4287,7 @@ public bool Equals(PublishTranscriptionRequest other) { public override int GetHashCode() { int hash = 1; if (LocalParticipantHandle != 0UL) hash ^= LocalParticipantHandle.GetHashCode(); - if (ParticipantIdentity.Length != 0) hash ^= ParticipantIdentity.GetHashCode(); - if (TrackId.Length != 0) hash ^= TrackId.GetHashCode(); - hash ^= segments_.GetHashCode(); - if (Language.Length != 0) hash ^= Language.GetHashCode(); + if (Metadata.Length != 0) hash ^= Metadata.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4367,18 +4310,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (ParticipantIdentity.Length != 0) { + if (Metadata.Length != 0) { output.WriteRawTag(18); - output.WriteString(ParticipantIdentity); - } - if (TrackId.Length != 0) { - output.WriteRawTag(26); - output.WriteString(TrackId); - } - segments_.WriteTo(output, _repeated_segments_codec); - if (Language.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Language); + output.WriteString(Metadata); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -4394,18 +4328,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (ParticipantIdentity.Length != 0) { + if (Metadata.Length != 0) { output.WriteRawTag(18); - output.WriteString(ParticipantIdentity); - } - if (TrackId.Length != 0) { - output.WriteRawTag(26); - output.WriteString(TrackId); - } - segments_.WriteTo(ref output, _repeated_segments_codec); - if (Language.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Language); + output.WriteString(Metadata); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -4420,15 +4345,8 @@ public int CalculateSize() { if (LocalParticipantHandle != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocalParticipantHandle); } - if (ParticipantIdentity.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParticipantIdentity); - } - if (TrackId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TrackId); - } - size += segments_.CalculateSize(_repeated_segments_codec); - if (Language.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Language); + if (Metadata.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Metadata); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -4438,22 +4356,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PublishTranscriptionRequest other) { + public void MergeFrom(UpdateLocalMetadataRequest other) { if (other == null) { return; } if (other.LocalParticipantHandle != 0UL) { LocalParticipantHandle = other.LocalParticipantHandle; } - if (other.ParticipantIdentity.Length != 0) { - ParticipantIdentity = other.ParticipantIdentity; - } - if (other.TrackId.Length != 0) { - TrackId = other.TrackId; - } - segments_.Add(other.segments_); - if (other.Language.Length != 0) { - Language = other.Language; + if (other.Metadata.Length != 0) { + Metadata = other.Metadata; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4475,19 +4386,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - ParticipantIdentity = input.ReadString(); - break; - } - case 26: { - TrackId = input.ReadString(); - break; - } - case 34: { - segments_.AddEntriesFrom(input, _repeated_segments_codec); - break; - } - case 42: { - Language = input.ReadString(); + Metadata = input.ReadString(); break; } } @@ -4510,19 +4409,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - ParticipantIdentity = input.ReadString(); - break; - } - case 26: { - TrackId = input.ReadString(); - break; - } - case 34: { - segments_.AddEntriesFrom(ref input, _repeated_segments_codec); - break; - } - case 42: { - Language = input.ReadString(); + Metadata = input.ReadString(); break; } } @@ -4533,16 +4420,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PublishTranscriptionResponse : pb::IMessage + public sealed partial class UpdateLocalMetadataResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PublishTranscriptionResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalMetadataResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4558,7 +4445,7 @@ public sealed partial class PublishTranscriptionResponse : pb::IMessageField number for the "async_id" field. @@ -4592,12 +4479,12 @@ public ulong AsyncId { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PublishTranscriptionResponse); + return Equals(other as UpdateLocalMetadataResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PublishTranscriptionResponse other) { + public bool Equals(UpdateLocalMetadataResponse other) { if (ReferenceEquals(other, null)) { return false; } @@ -4670,7 +4557,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PublishTranscriptionResponse other) { + public void MergeFrom(UpdateLocalMetadataResponse other) { if (other == null) { return; } @@ -4723,16 +4610,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PublishTranscriptionCallback : pb::IMessage + public sealed partial class UpdateLocalMetadataCallback : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PublishTranscriptionCallback()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalMetadataCallback()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4748,7 +4635,7 @@ public sealed partial class PublishTranscriptionCallback : pb::IMessageField number for the "async_id" field. @@ -4780,41 +4666,15 @@ public ulong AsyncId { } } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 2; - private readonly static string ErrorDefaultValue = ""; - - private string error_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Error { - get { return error_ ?? ErrorDefaultValue; } - set { - error_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "error" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasError { - get { return error_ != null; } - } - /// Clears the value of the "error" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearError() { - error_ = null; - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PublishTranscriptionCallback); + return Equals(other as UpdateLocalMetadataCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PublishTranscriptionCallback other) { + public bool Equals(UpdateLocalMetadataCallback other) { if (ReferenceEquals(other, null)) { return false; } @@ -4822,7 +4682,6 @@ public bool Equals(PublishTranscriptionCallback other) { return true; } if (AsyncId != other.AsyncId) return false; - if (Error != other.Error) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4831,7 +4690,6 @@ public bool Equals(PublishTranscriptionCallback other) { public override int GetHashCode() { int hash = 1; if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); - if (HasError) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4854,10 +4712,6 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(AsyncId); } - if (HasError) { - output.WriteRawTag(18); - output.WriteString(Error); - } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4872,10 +4726,6 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(AsyncId); } - if (HasError) { - output.WriteRawTag(18); - output.WriteString(Error); - } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4889,9 +4739,6 @@ public int CalculateSize() { if (AsyncId != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); } - if (HasError) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Error); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4900,16 +4747,13 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PublishTranscriptionCallback other) { + public void MergeFrom(UpdateLocalMetadataCallback other) { if (other == null) { return; } if (other.AsyncId != 0UL) { AsyncId = other.AsyncId; } - if (other.HasError) { - Error = other.Error; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4929,10 +4773,6 @@ public void MergeFrom(pb::CodedInputStream input) { AsyncId = input.ReadUInt64(); break; } - case 18: { - Error = input.ReadString(); - break; - } } } #endif @@ -4952,10 +4792,6 @@ public void MergeFrom(pb::CodedInputStream input) { AsyncId = input.ReadUInt64(); break; } - case 18: { - Error = input.ReadString(); - break; - } } } } @@ -4964,19 +4800,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Change the local participant's metadata + /// Change the local participant's name /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalMetadataRequest : pb::IMessage + public sealed partial class UpdateLocalNameRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalMetadataRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalNameRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4992,7 +4828,7 @@ public sealed partial class UpdateLocalMetadataRequest : pb::IMessageField number for the "local_participant_handle" field. @@ -5024,27 +4860,27 @@ public ulong LocalParticipantHandle { } } - /// Field number for the "metadata" field. - public const int MetadataFieldNumber = 2; - private string metadata_ = ""; + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Metadata { - get { return metadata_; } + public string Name { + get { return name_; } set { - metadata_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateLocalMetadataRequest); + return Equals(other as UpdateLocalNameRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalMetadataRequest other) { + public bool Equals(UpdateLocalNameRequest other) { if (ReferenceEquals(other, null)) { return false; } @@ -5052,7 +4888,7 @@ public bool Equals(UpdateLocalMetadataRequest other) { return true; } if (LocalParticipantHandle != other.LocalParticipantHandle) return false; - if (Metadata != other.Metadata) return false; + if (Name != other.Name) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5061,7 +4897,7 @@ public bool Equals(UpdateLocalMetadataRequest other) { public override int GetHashCode() { int hash = 1; if (LocalParticipantHandle != 0UL) hash ^= LocalParticipantHandle.GetHashCode(); - if (Metadata.Length != 0) hash ^= Metadata.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5084,9 +4920,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (Metadata.Length != 0) { + if (Name.Length != 0) { output.WriteRawTag(18); - output.WriteString(Metadata); + output.WriteString(Name); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -5102,9 +4938,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (Metadata.Length != 0) { + if (Name.Length != 0) { output.WriteRawTag(18); - output.WriteString(Metadata); + output.WriteString(Name); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -5119,8 +4955,8 @@ public int CalculateSize() { if (LocalParticipantHandle != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocalParticipantHandle); } - if (Metadata.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Metadata); + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -5130,15 +4966,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalMetadataRequest other) { + public void MergeFrom(UpdateLocalNameRequest other) { if (other == null) { return; } if (other.LocalParticipantHandle != 0UL) { LocalParticipantHandle = other.LocalParticipantHandle; } - if (other.Metadata.Length != 0) { - Metadata = other.Metadata; + if (other.Name.Length != 0) { + Name = other.Name; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5160,7 +4996,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - Metadata = input.ReadString(); + Name = input.ReadString(); break; } } @@ -5183,7 +5019,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - Metadata = input.ReadString(); + Name = input.ReadString(); break; } } @@ -5194,16 +5030,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalMetadataResponse : pb::IMessage + public sealed partial class UpdateLocalNameResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalMetadataResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalNameResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -5219,7 +5055,7 @@ public sealed partial class UpdateLocalMetadataResponse : pb::IMessageField number for the "async_id" field. @@ -5253,12 +5089,12 @@ public ulong AsyncId { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateLocalMetadataResponse); + return Equals(other as UpdateLocalNameResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalMetadataResponse other) { + public bool Equals(UpdateLocalNameResponse other) { if (ReferenceEquals(other, null)) { return false; } @@ -5331,7 +5167,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalMetadataResponse other) { + public void MergeFrom(UpdateLocalNameResponse other) { if (other == null) { return; } @@ -5384,16 +5220,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalMetadataCallback : pb::IMessage + public sealed partial class UpdateLocalNameCallback : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalMetadataCallback()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalNameCallback()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -5409,7 +5245,7 @@ public sealed partial class UpdateLocalMetadataCallback : pb::IMessageField number for the "async_id" field. @@ -5443,12 +5279,12 @@ public ulong AsyncId { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateLocalMetadataCallback); + return Equals(other as UpdateLocalNameCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalMetadataCallback other) { + public bool Equals(UpdateLocalNameCallback other) { if (ReferenceEquals(other, null)) { return false; } @@ -5521,7 +5357,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalMetadataCallback other) { + public void MergeFrom(UpdateLocalNameCallback other) { if (other == null) { return; } @@ -5574,19 +5410,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Change the local participant's name + /// Change the "desire" to subs2ribe to a track /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalNameRequest : pb::IMessage + public sealed partial class SetSubscribedRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalNameRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetSubscribedRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -5602,7 +5438,7 @@ public sealed partial class UpdateLocalNameRequest : pb::IMessageField number for the "local_participant_handle" field. - public const int LocalParticipantHandleFieldNumber = 1; - private ulong localParticipantHandle_; + /// Field number for the "subscribe" field. + public const int SubscribeFieldNumber = 1; + private bool subscribe_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong LocalParticipantHandle { - get { return localParticipantHandle_; } + public bool Subscribe { + get { return subscribe_; } set { - localParticipantHandle_ = value; + subscribe_ = value; } } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; + /// Field number for the "publication_handle" field. + public const int PublicationHandleFieldNumber = 2; + private ulong publicationHandle_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } + public ulong PublicationHandle { + get { return publicationHandle_; } set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + publicationHandle_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateLocalNameRequest); + return Equals(other as SetSubscribedRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalNameRequest other) { + public bool Equals(SetSubscribedRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (LocalParticipantHandle != other.LocalParticipantHandle) return false; - if (Name != other.Name) return false; + if (Subscribe != other.Subscribe) return false; + if (PublicationHandle != other.PublicationHandle) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5670,8 +5506,8 @@ public bool Equals(UpdateLocalNameRequest other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (LocalParticipantHandle != 0UL) hash ^= LocalParticipantHandle.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Subscribe != false) hash ^= Subscribe.GetHashCode(); + if (PublicationHandle != 0UL) hash ^= PublicationHandle.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5690,13 +5526,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (LocalParticipantHandle != 0UL) { + if (Subscribe != false) { output.WriteRawTag(8); - output.WriteUInt64(LocalParticipantHandle); + output.WriteBool(Subscribe); } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); + if (PublicationHandle != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PublicationHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -5708,13 +5544,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (LocalParticipantHandle != 0UL) { + if (Subscribe != false) { output.WriteRawTag(8); - output.WriteUInt64(LocalParticipantHandle); + output.WriteBool(Subscribe); } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); + if (PublicationHandle != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PublicationHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -5726,11 +5562,11 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (LocalParticipantHandle != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocalParticipantHandle); + if (Subscribe != false) { + size += 1 + 1; } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + if (PublicationHandle != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PublicationHandle); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -5740,15 +5576,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalNameRequest other) { + public void MergeFrom(SetSubscribedRequest other) { if (other == null) { return; } - if (other.LocalParticipantHandle != 0UL) { - LocalParticipantHandle = other.LocalParticipantHandle; + if (other.Subscribe != false) { + Subscribe = other.Subscribe; } - if (other.Name.Length != 0) { - Name = other.Name; + if (other.PublicationHandle != 0UL) { + PublicationHandle = other.PublicationHandle; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5766,11 +5602,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - LocalParticipantHandle = input.ReadUInt64(); + Subscribe = input.ReadBool(); break; } - case 18: { - Name = input.ReadString(); + case 16: { + PublicationHandle = input.ReadUInt64(); break; } } @@ -5789,11 +5625,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - LocalParticipantHandle = input.ReadUInt64(); + Subscribe = input.ReadBool(); break; } - case 18: { - Name = input.ReadString(); + case 16: { + PublicationHandle = input.ReadUInt64(); break; } } @@ -5804,16 +5640,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalNameResponse : pb::IMessage + public sealed partial class SetSubscribedResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalNameResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetSubscribedResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -5829,7 +5665,7 @@ public sealed partial class UpdateLocalNameResponse : pb::IMessageField number for the "async_id" field. - public const int AsyncIdFieldNumber = 1; - private ulong asyncId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong AsyncId { - get { return asyncId_; } - set { - asyncId_ = value; - } + public SetSubscribedResponse Clone() { + return new SetSubscribedResponse(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateLocalNameResponse); + return Equals(other as SetSubscribedResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalNameResponse other) { + public bool Equals(SetSubscribedResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AsyncId != other.AsyncId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5883,7 +5705,6 @@ public bool Equals(UpdateLocalNameResponse other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5902,10 +5723,6 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AsyncId != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(AsyncId); - } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -5916,10 +5733,6 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AsyncId != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(AsyncId); - } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -5930,9 +5743,6 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AsyncId != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -5941,13 +5751,10 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalNameResponse other) { + public void MergeFrom(SetSubscribedResponse other) { if (other == null) { return; } - if (other.AsyncId != 0UL) { - AsyncId = other.AsyncId; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5963,10 +5770,6 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - AsyncId = input.ReadUInt64(); - break; - } } } #endif @@ -5982,10 +5785,6 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - AsyncId = input.ReadUInt64(); - break; - } } } } @@ -5994,16 +5793,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalNameCallback : pb::IMessage + public sealed partial class GetSessionStatsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLocalNameCallback()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStatsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6019,7 +5818,7 @@ public sealed partial class UpdateLocalNameCallback : pb::IMessageField number for the "async_id" field. - public const int AsyncIdFieldNumber = 1; - private ulong asyncId_; + /// Field number for the "room_handle" field. + public const int RoomHandleFieldNumber = 1; + private ulong roomHandle_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong AsyncId { - get { return asyncId_; } + public ulong RoomHandle { + get { return roomHandle_; } set { - asyncId_ = value; + roomHandle_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UpdateLocalNameCallback); + return Equals(other as GetSessionStatsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalNameCallback other) { + public bool Equals(GetSessionStatsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AsyncId != other.AsyncId) return false; + if (RoomHandle != other.RoomHandle) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6073,7 +5872,7 @@ public bool Equals(UpdateLocalNameCallback other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); + if (RoomHandle != 0UL) hash ^= RoomHandle.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6092,9 +5891,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AsyncId != 0UL) { + if (RoomHandle != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + output.WriteUInt64(RoomHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6106,9 +5905,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AsyncId != 0UL) { + if (RoomHandle != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + output.WriteUInt64(RoomHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6120,8 +5919,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AsyncId != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); + if (RoomHandle != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomHandle); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6131,12 +5930,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalNameCallback other) { + public void MergeFrom(GetSessionStatsRequest other) { if (other == null) { return; } - if (other.AsyncId != 0UL) { - AsyncId = other.AsyncId; + if (other.RoomHandle != 0UL) { + RoomHandle = other.RoomHandle; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6154,7 +5953,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - AsyncId = input.ReadUInt64(); + RoomHandle = input.ReadUInt64(); break; } } @@ -6173,7 +5972,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - AsyncId = input.ReadUInt64(); + RoomHandle = input.ReadUInt64(); break; } } @@ -6183,20 +5982,17 @@ public void MergeFrom(pb::CodedInputStream input) { } - /// - /// Change the "desire" to subs2ribe to a track - /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SetSubscribedRequest : pb::IMessage + public sealed partial class GetSessionStatsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetSubscribedRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStatsResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6212,7 +6008,7 @@ public sealed partial class SetSubscribedRequest : pb::IMessageField number for the "subscribe" field. - public const int SubscribeFieldNumber = 1; - private bool subscribe_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Subscribe { - get { return subscribe_; } - set { - subscribe_ = value; - } - } - - /// Field number for the "publication_handle" field. - public const int PublicationHandleFieldNumber = 2; - private ulong publicationHandle_; + /// Field number for the "async_id" field. + public const int AsyncIdFieldNumber = 1; + private ulong asyncId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong PublicationHandle { - get { return publicationHandle_; } + public ulong AsyncId { + get { return asyncId_; } set { - publicationHandle_ = value; + asyncId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as SetSubscribedRequest); + return Equals(other as GetSessionStatsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SetSubscribedRequest other) { + public bool Equals(GetSessionStatsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Subscribe != other.Subscribe) return false; - if (PublicationHandle != other.PublicationHandle) return false; + if (AsyncId != other.AsyncId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6280,8 +6062,7 @@ public bool Equals(SetSubscribedRequest other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Subscribe != false) hash ^= Subscribe.GetHashCode(); - if (PublicationHandle != 0UL) hash ^= PublicationHandle.GetHashCode(); + if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6300,13 +6081,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Subscribe != false) { + if (AsyncId != 0UL) { output.WriteRawTag(8); - output.WriteBool(Subscribe); - } - if (PublicationHandle != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(PublicationHandle); + output.WriteUInt64(AsyncId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6318,13 +6095,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Subscribe != false) { + if (AsyncId != 0UL) { output.WriteRawTag(8); - output.WriteBool(Subscribe); - } - if (PublicationHandle != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(PublicationHandle); + output.WriteUInt64(AsyncId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6336,11 +6109,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Subscribe != false) { - size += 1 + 1; - } - if (PublicationHandle != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PublicationHandle); + if (AsyncId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6350,15 +6120,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SetSubscribedRequest other) { + public void MergeFrom(GetSessionStatsResponse other) { if (other == null) { return; } - if (other.Subscribe != false) { - Subscribe = other.Subscribe; - } - if (other.PublicationHandle != 0UL) { - PublicationHandle = other.PublicationHandle; + if (other.AsyncId != 0UL) { + AsyncId = other.AsyncId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6376,11 +6143,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Subscribe = input.ReadBool(); - break; - } - case 16: { - PublicationHandle = input.ReadUInt64(); + AsyncId = input.ReadUInt64(); break; } } @@ -6399,11 +6162,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Subscribe = input.ReadBool(); - break; - } - case 16: { - PublicationHandle = input.ReadUInt64(); + AsyncId = input.ReadUInt64(); break; } } @@ -6414,16 +6173,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SetSubscribedResponse : pb::IMessage + public sealed partial class GetSessionStatsCallback : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetSubscribedResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStatsCallback()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6439,7 +6198,7 @@ public sealed partial class SetSubscribedResponse : pb::IMessageField number for the "async_id" field. + public const int AsyncIdFieldNumber = 1; + private ulong asyncId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong AsyncId { + get { return asyncId_; } + set { + asyncId_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 2; + private readonly static string ErrorDefaultValue = ""; + + private string error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Error { + get { return error_ ?? ErrorDefaultValue; } + set { + error_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "error" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasError { + get { return error_ != null; } + } + /// Clears the value of the "error" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearError() { + error_ = null; + } + + /// Field number for the "publisher_stats" field. + public const int PublisherStatsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_publisherStats_codec + = pb::FieldCodec.ForMessage(26, global::LiveKit.Proto.RtcStats.Parser); + private readonly pbc::RepeatedField publisherStats_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PublisherStats { + get { return publisherStats_; } + } + + /// Field number for the "subscriber_stats" field. + public const int SubscriberStatsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_subscriberStats_codec + = pb::FieldCodec.ForMessage(34, global::LiveKit.Proto.RtcStats.Parser); + private readonly pbc::RepeatedField subscriberStats_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SubscriberStats { + get { return subscriberStats_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as SetSubscribedResponse); + return Equals(other as GetSessionStatsCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SetSubscribedResponse other) { + public bool Equals(GetSessionStatsCallback other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (AsyncId != other.AsyncId) return false; + if (Error != other.Error) return false; + if(!publisherStats_.Equals(other.publisherStats_)) return false; + if(!subscriberStats_.Equals(other.subscriberStats_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6479,6 +6306,10 @@ public bool Equals(SetSubscribedResponse other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); + if (HasError) hash ^= Error.GetHashCode(); + hash ^= publisherStats_.GetHashCode(); + hash ^= subscriberStats_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6497,6 +6328,16 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else + if (AsyncId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(AsyncId); + } + if (HasError) { + output.WriteRawTag(18); + output.WriteString(Error); + } + publisherStats_.WriteTo(output, _repeated_publisherStats_codec); + subscriberStats_.WriteTo(output, _repeated_subscriberStats_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6507,6 +6348,16 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AsyncId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(AsyncId); + } + if (HasError) { + output.WriteRawTag(18); + output.WriteString(Error); + } + publisherStats_.WriteTo(ref output, _repeated_publisherStats_codec); + subscriberStats_.WriteTo(ref output, _repeated_subscriberStats_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6517,6 +6368,14 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (AsyncId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); + } + if (HasError) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Error); + } + size += publisherStats_.CalculateSize(_repeated_publisherStats_codec); + size += subscriberStats_.CalculateSize(_repeated_subscriberStats_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6525,10 +6384,18 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SetSubscribedResponse other) { + public void MergeFrom(GetSessionStatsCallback other) { if (other == null) { return; } + if (other.AsyncId != 0UL) { + AsyncId = other.AsyncId; + } + if (other.HasError) { + Error = other.Error; + } + publisherStats_.Add(other.publisherStats_); + subscriberStats_.Add(other.subscriberStats_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6544,6 +6411,22 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + AsyncId = input.ReadUInt64(); + break; + } + case 18: { + Error = input.ReadString(); + break; + } + case 26: { + publisherStats_.AddEntriesFrom(input, _repeated_publisherStats_codec); + break; + } + case 34: { + subscriberStats_.AddEntriesFrom(input, _repeated_subscriberStats_codec); + break; + } } } #endif @@ -6559,6 +6442,22 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 8: { + AsyncId = input.ReadUInt64(); + break; + } + case 18: { + Error = input.ReadString(); + break; + } + case 26: { + publisherStats_.AddEntriesFrom(ref input, _repeated_publisherStats_codec); + break; + } + case 34: { + subscriberStats_.AddEntriesFrom(ref input, _repeated_subscriberStats_codec); + break; + } } } } @@ -6567,16 +6466,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GetSessionStatsRequest : pb::IMessage + public sealed partial class VideoEncoding : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStatsRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VideoEncoding()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6592,7 +6491,7 @@ public sealed partial class GetSessionStatsRequest : pb::IMessageField number for the "room_handle" field. - public const int RoomHandleFieldNumber = 1; - private ulong roomHandle_; + /// Field number for the "max_bitrate" field. + public const int MaxBitrateFieldNumber = 1; + private ulong maxBitrate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong RoomHandle { - get { return roomHandle_; } + public ulong MaxBitrate { + get { return maxBitrate_; } set { - roomHandle_ = value; + maxBitrate_ = value; + } + } + + /// Field number for the "max_framerate" field. + public const int MaxFramerateFieldNumber = 2; + private double maxFramerate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double MaxFramerate { + get { return maxFramerate_; } + set { + maxFramerate_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSessionStatsRequest); + return Equals(other as VideoEncoding); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSessionStatsRequest other) { + public bool Equals(VideoEncoding other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (RoomHandle != other.RoomHandle) return false; + if (MaxBitrate != other.MaxBitrate) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxFramerate, other.MaxFramerate)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6646,7 +6559,8 @@ public bool Equals(GetSessionStatsRequest other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (RoomHandle != 0UL) hash ^= RoomHandle.GetHashCode(); + if (MaxBitrate != 0UL) hash ^= MaxBitrate.GetHashCode(); + if (MaxFramerate != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxFramerate); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6665,9 +6579,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (RoomHandle != 0UL) { + if (MaxBitrate != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(RoomHandle); + output.WriteUInt64(MaxBitrate); + } + if (MaxFramerate != 0D) { + output.WriteRawTag(17); + output.WriteDouble(MaxFramerate); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6679,9 +6597,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (RoomHandle != 0UL) { + if (MaxBitrate != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(RoomHandle); + output.WriteUInt64(MaxBitrate); + } + if (MaxFramerate != 0D) { + output.WriteRawTag(17); + output.WriteDouble(MaxFramerate); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6693,8 +6615,11 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (RoomHandle != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomHandle); + if (MaxBitrate != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxBitrate); + } + if (MaxFramerate != 0D) { + size += 1 + 8; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6704,12 +6629,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSessionStatsRequest other) { + public void MergeFrom(VideoEncoding other) { if (other == null) { return; } - if (other.RoomHandle != 0UL) { - RoomHandle = other.RoomHandle; + if (other.MaxBitrate != 0UL) { + MaxBitrate = other.MaxBitrate; + } + if (other.MaxFramerate != 0D) { + MaxFramerate = other.MaxFramerate; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6727,7 +6655,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - RoomHandle = input.ReadUInt64(); + MaxBitrate = input.ReadUInt64(); + break; + } + case 17: { + MaxFramerate = input.ReadDouble(); break; } } @@ -6746,7 +6678,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - RoomHandle = input.ReadUInt64(); + MaxBitrate = input.ReadUInt64(); + break; + } + case 17: { + MaxFramerate = input.ReadDouble(); break; } } @@ -6757,16 +6693,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GetSessionStatsResponse : pb::IMessage + public sealed partial class AudioEncoding : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStatsResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AudioEncoding()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6782,7 +6718,7 @@ public sealed partial class GetSessionStatsResponse : pb::IMessageField number for the "async_id" field. - public const int AsyncIdFieldNumber = 1; - private ulong asyncId_; + /// Field number for the "max_bitrate" field. + public const int MaxBitrateFieldNumber = 1; + private ulong maxBitrate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong AsyncId { - get { return asyncId_; } + public ulong MaxBitrate { + get { return maxBitrate_; } set { - asyncId_ = value; + maxBitrate_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSessionStatsResponse); + return Equals(other as AudioEncoding); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSessionStatsResponse other) { + public bool Equals(AudioEncoding other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AsyncId != other.AsyncId) return false; + if (MaxBitrate != other.MaxBitrate) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6836,7 +6772,7 @@ public bool Equals(GetSessionStatsResponse other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); + if (MaxBitrate != 0UL) hash ^= MaxBitrate.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6855,9 +6791,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AsyncId != 0UL) { + if (MaxBitrate != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + output.WriteUInt64(MaxBitrate); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6869,9 +6805,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AsyncId != 0UL) { + if (MaxBitrate != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + output.WriteUInt64(MaxBitrate); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6883,8 +6819,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AsyncId != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); + if (MaxBitrate != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxBitrate); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6894,12 +6830,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSessionStatsResponse other) { + public void MergeFrom(AudioEncoding other) { if (other == null) { return; } - if (other.AsyncId != 0UL) { - AsyncId = other.AsyncId; + if (other.MaxBitrate != 0UL) { + MaxBitrate = other.MaxBitrate; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6917,7 +6853,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - AsyncId = input.ReadUInt64(); + MaxBitrate = input.ReadUInt64(); break; } } @@ -6936,7 +6872,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - AsyncId = input.ReadUInt64(); + MaxBitrate = input.ReadUInt64(); break; } } @@ -6947,16 +6883,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GetSessionStatsCallback : pb::IMessage + public sealed partial class TrackPublishOptions : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStatsCallback()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TrackPublishOptions()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6972,7 +6908,7 @@ public sealed partial class GetSessionStatsCallback : pb::IMessageField number for the "async_id" field. - public const int AsyncIdFieldNumber = 1; - private ulong asyncId_; + /// Field number for the "video_encoding" field. + public const int VideoEncodingFieldNumber = 1; + private global::LiveKit.Proto.VideoEncoding videoEncoding_; + /// + /// encodings are optional + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong AsyncId { - get { return asyncId_; } + public global::LiveKit.Proto.VideoEncoding VideoEncoding { + get { return videoEncoding_; } set { - asyncId_ = value; + videoEncoding_ = value; } } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 2; - private readonly static string ErrorDefaultValue = ""; + /// Field number for the "audio_encoding" field. + public const int AudioEncodingFieldNumber = 2; + private global::LiveKit.Proto.AudioEncoding audioEncoding_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LiveKit.Proto.AudioEncoding AudioEncoding { + get { return audioEncoding_; } + set { + audioEncoding_ = value; + } + } - private string error_; + /// Field number for the "video_codec" field. + public const int VideoCodecFieldNumber = 3; + private global::LiveKit.Proto.VideoCodec videoCodec_ = global::LiveKit.Proto.VideoCodec.Vp8; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Error { - get { return error_ ?? ErrorDefaultValue; } + public global::LiveKit.Proto.VideoCodec VideoCodec { + get { return videoCodec_; } set { - error_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + videoCodec_ = value; } } - /// Gets whether the "error" field is set + + /// Field number for the "dtx" field. + public const int DtxFieldNumber = 4; + private bool dtx_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasError { - get { return error_ != null; } + public bool Dtx { + get { return dtx_; } + set { + dtx_ = value; + } } - /// Clears the value of the "error" field + + /// Field number for the "red" field. + public const int RedFieldNumber = 5; + private bool red_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearError() { - error_ = null; + public bool Red { + get { return red_; } + set { + red_ = value; + } } - /// Field number for the "publisher_stats" field. - public const int PublisherStatsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_publisherStats_codec - = pb::FieldCodec.ForMessage(26, global::LiveKit.Proto.RtcStats.Parser); - private readonly pbc::RepeatedField publisherStats_ = new pbc::RepeatedField(); + /// Field number for the "simulcast" field. + public const int SimulcastFieldNumber = 6; + private bool simulcast_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PublisherStats { - get { return publisherStats_; } + public bool Simulcast { + get { return simulcast_; } + set { + simulcast_ = value; + } } - /// Field number for the "subscriber_stats" field. - public const int SubscriberStatsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_subscriberStats_codec - = pb::FieldCodec.ForMessage(34, global::LiveKit.Proto.RtcStats.Parser); - private readonly pbc::RepeatedField subscriberStats_ = new pbc::RepeatedField(); + /// Field number for the "source" field. + public const int SourceFieldNumber = 7; + private global::LiveKit.Proto.TrackSource source_ = global::LiveKit.Proto.TrackSource.SourceUnknown; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SubscriberStats { - get { return subscriberStats_; } + public global::LiveKit.Proto.TrackSource Source { + get { return source_; } + set { + source_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSessionStatsCallback); + return Equals(other as TrackPublishOptions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSessionStatsCallback other) { + public bool Equals(TrackPublishOptions other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AsyncId != other.AsyncId) return false; - if (Error != other.Error) return false; - if(!publisherStats_.Equals(other.publisherStats_)) return false; - if(!subscriberStats_.Equals(other.subscriberStats_)) return false; + if (!object.Equals(VideoEncoding, other.VideoEncoding)) return false; + if (!object.Equals(AudioEncoding, other.AudioEncoding)) return false; + if (VideoCodec != other.VideoCodec) return false; + if (Dtx != other.Dtx) return false; + if (Red != other.Red) return false; + if (Simulcast != other.Simulcast) return false; + if (Source != other.Source) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7080,10 +7049,13 @@ public bool Equals(GetSessionStatsCallback other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); - if (HasError) hash ^= Error.GetHashCode(); - hash ^= publisherStats_.GetHashCode(); - hash ^= subscriberStats_.GetHashCode(); + if (videoEncoding_ != null) hash ^= VideoEncoding.GetHashCode(); + if (audioEncoding_ != null) hash ^= AudioEncoding.GetHashCode(); + if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) hash ^= VideoCodec.GetHashCode(); + if (Dtx != false) hash ^= Dtx.GetHashCode(); + if (Red != false) hash ^= Red.GetHashCode(); + if (Simulcast != false) hash ^= Simulcast.GetHashCode(); + if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) hash ^= Source.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7102,16 +7074,34 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AsyncId != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + if (videoEncoding_ != null) { + output.WriteRawTag(10); + output.WriteMessage(VideoEncoding); } - if (HasError) { + if (audioEncoding_ != null) { output.WriteRawTag(18); - output.WriteString(Error); + output.WriteMessage(AudioEncoding); + } + if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { + output.WriteRawTag(24); + output.WriteEnum((int) VideoCodec); + } + if (Dtx != false) { + output.WriteRawTag(32); + output.WriteBool(Dtx); + } + if (Red != false) { + output.WriteRawTag(40); + output.WriteBool(Red); + } + if (Simulcast != false) { + output.WriteRawTag(48); + output.WriteBool(Simulcast); + } + if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { + output.WriteRawTag(56); + output.WriteEnum((int) Source); } - publisherStats_.WriteTo(output, _repeated_publisherStats_codec); - subscriberStats_.WriteTo(output, _repeated_subscriberStats_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -7122,16 +7112,34 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AsyncId != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + if (videoEncoding_ != null) { + output.WriteRawTag(10); + output.WriteMessage(VideoEncoding); } - if (HasError) { + if (audioEncoding_ != null) { output.WriteRawTag(18); - output.WriteString(Error); + output.WriteMessage(AudioEncoding); + } + if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { + output.WriteRawTag(24); + output.WriteEnum((int) VideoCodec); + } + if (Dtx != false) { + output.WriteRawTag(32); + output.WriteBool(Dtx); + } + if (Red != false) { + output.WriteRawTag(40); + output.WriteBool(Red); + } + if (Simulcast != false) { + output.WriteRawTag(48); + output.WriteBool(Simulcast); + } + if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { + output.WriteRawTag(56); + output.WriteEnum((int) Source); } - publisherStats_.WriteTo(ref output, _repeated_publisherStats_codec); - subscriberStats_.WriteTo(ref output, _repeated_subscriberStats_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7142,14 +7150,27 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AsyncId != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); + if (videoEncoding_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(VideoEncoding); } - if (HasError) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Error); + if (audioEncoding_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AudioEncoding); + } + if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VideoCodec); + } + if (Dtx != false) { + size += 1 + 1; + } + if (Red != false) { + size += 1 + 1; + } + if (Simulcast != false) { + size += 1 + 1; + } + if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); } - size += publisherStats_.CalculateSize(_repeated_publisherStats_codec); - size += subscriberStats_.CalculateSize(_repeated_subscriberStats_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7158,18 +7179,37 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSessionStatsCallback other) { + public void MergeFrom(TrackPublishOptions other) { if (other == null) { return; } - if (other.AsyncId != 0UL) { - AsyncId = other.AsyncId; + if (other.videoEncoding_ != null) { + if (videoEncoding_ == null) { + VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); + } + VideoEncoding.MergeFrom(other.VideoEncoding); } - if (other.HasError) { - Error = other.Error; + if (other.audioEncoding_ != null) { + if (audioEncoding_ == null) { + AudioEncoding = new global::LiveKit.Proto.AudioEncoding(); + } + AudioEncoding.MergeFrom(other.AudioEncoding); + } + if (other.VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { + VideoCodec = other.VideoCodec; + } + if (other.Dtx != false) { + Dtx = other.Dtx; + } + if (other.Red != false) { + Red = other.Red; + } + if (other.Simulcast != false) { + Simulcast = other.Simulcast; + } + if (other.Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { + Source = other.Source; } - publisherStats_.Add(other.publisherStats_); - subscriberStats_.Add(other.subscriberStats_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7185,20 +7225,38 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - AsyncId = input.ReadUInt64(); + case 10: { + if (videoEncoding_ == null) { + VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); + } + input.ReadMessage(VideoEncoding); break; } case 18: { - Error = input.ReadString(); + if (audioEncoding_ == null) { + AudioEncoding = new global::LiveKit.Proto.AudioEncoding(); + } + input.ReadMessage(AudioEncoding); break; } - case 26: { - publisherStats_.AddEntriesFrom(input, _repeated_publisherStats_codec); + case 24: { + VideoCodec = (global::LiveKit.Proto.VideoCodec) input.ReadEnum(); break; } - case 34: { - subscriberStats_.AddEntriesFrom(input, _repeated_subscriberStats_codec); + case 32: { + Dtx = input.ReadBool(); + break; + } + case 40: { + Red = input.ReadBool(); + break; + } + case 48: { + Simulcast = input.ReadBool(); + break; + } + case 56: { + Source = (global::LiveKit.Proto.TrackSource) input.ReadEnum(); break; } } @@ -7216,20 +7274,38 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - AsyncId = input.ReadUInt64(); + case 10: { + if (videoEncoding_ == null) { + VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); + } + input.ReadMessage(VideoEncoding); break; } case 18: { - Error = input.ReadString(); + if (audioEncoding_ == null) { + AudioEncoding = new global::LiveKit.Proto.AudioEncoding(); + } + input.ReadMessage(AudioEncoding); break; } - case 26: { - publisherStats_.AddEntriesFrom(ref input, _repeated_publisherStats_codec); + case 24: { + VideoCodec = (global::LiveKit.Proto.VideoCodec) input.ReadEnum(); break; } - case 34: { - subscriberStats_.AddEntriesFrom(ref input, _repeated_subscriberStats_codec); + case 32: { + Dtx = input.ReadBool(); + break; + } + case 40: { + Red = input.ReadBool(); + break; + } + case 48: { + Simulcast = input.ReadBool(); + break; + } + case 56: { + Source = (global::LiveKit.Proto.TrackSource) input.ReadEnum(); break; } } @@ -7240,16 +7316,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VideoEncoding : pb::IMessage + public sealed partial class IceServer : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VideoEncoding()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IceServer()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7265,7 +7341,7 @@ public sealed partial class VideoEncoding : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VideoEncoding() { + public IceServer() { OnConstruction(); } @@ -7273,59 +7349,72 @@ public VideoEncoding() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VideoEncoding(VideoEncoding other) : this() { - maxBitrate_ = other.maxBitrate_; - maxFramerate_ = other.maxFramerate_; + public IceServer(IceServer other) : this() { + urls_ = other.urls_.Clone(); + username_ = other.username_; + password_ = other.password_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VideoEncoding Clone() { - return new VideoEncoding(this); + public IceServer Clone() { + return new IceServer(this); } - /// Field number for the "max_bitrate" field. - public const int MaxBitrateFieldNumber = 1; - private ulong maxBitrate_; + /// Field number for the "urls" field. + public const int UrlsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_urls_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField urls_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong MaxBitrate { - get { return maxBitrate_; } - set { - maxBitrate_ = value; - } + public pbc::RepeatedField Urls { + get { return urls_; } } - /// Field number for the "max_framerate" field. - public const int MaxFramerateFieldNumber = 2; - private double maxFramerate_; + /// Field number for the "username" field. + public const int UsernameFieldNumber = 2; + private string username_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double MaxFramerate { - get { return maxFramerate_; } + public string Username { + get { return username_; } set { - maxFramerate_ = value; + username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } + /// Field number for the "password" field. + public const int PasswordFieldNumber = 3; + private string password_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VideoEncoding); - } + public string Password { + get { return password_; } + set { + password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VideoEncoding other) { + public override bool Equals(object other) { + return Equals(other as IceServer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IceServer other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (MaxBitrate != other.MaxBitrate) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxFramerate, other.MaxFramerate)) return false; + if(!urls_.Equals(other.urls_)) return false; + if (Username != other.Username) return false; + if (Password != other.Password) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7333,8 +7422,9 @@ public bool Equals(VideoEncoding other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (MaxBitrate != 0UL) hash ^= MaxBitrate.GetHashCode(); - if (MaxFramerate != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxFramerate); + hash ^= urls_.GetHashCode(); + if (Username.Length != 0) hash ^= Username.GetHashCode(); + if (Password.Length != 0) hash ^= Password.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7353,13 +7443,14 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (MaxBitrate != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); + urls_.WriteTo(output, _repeated_urls_codec); + if (Username.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Username); } - if (MaxFramerate != 0D) { - output.WriteRawTag(17); - output.WriteDouble(MaxFramerate); + if (Password.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Password); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -7371,13 +7462,14 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (MaxBitrate != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); + urls_.WriteTo(ref output, _repeated_urls_codec); + if (Username.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Username); } - if (MaxFramerate != 0D) { - output.WriteRawTag(17); - output.WriteDouble(MaxFramerate); + if (Password.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Password); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -7389,11 +7481,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (MaxBitrate != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxBitrate); + size += urls_.CalculateSize(_repeated_urls_codec); + if (Username.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); } - if (MaxFramerate != 0D) { - size += 1 + 8; + if (Password.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -7403,15 +7496,16 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VideoEncoding other) { + public void MergeFrom(IceServer other) { if (other == null) { return; } - if (other.MaxBitrate != 0UL) { - MaxBitrate = other.MaxBitrate; + urls_.Add(other.urls_); + if (other.Username.Length != 0) { + Username = other.Username; } - if (other.MaxFramerate != 0D) { - MaxFramerate = other.MaxFramerate; + if (other.Password.Length != 0) { + Password = other.Password; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7428,12 +7522,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - MaxBitrate = input.ReadUInt64(); + case 10: { + urls_.AddEntriesFrom(input, _repeated_urls_codec); break; } - case 17: { - MaxFramerate = input.ReadDouble(); + case 18: { + Username = input.ReadString(); + break; + } + case 26: { + Password = input.ReadString(); break; } } @@ -7451,12 +7549,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - MaxBitrate = input.ReadUInt64(); + case 10: { + urls_.AddEntriesFrom(ref input, _repeated_urls_codec); break; } - case 17: { - MaxFramerate = input.ReadDouble(); + case 18: { + Username = input.ReadString(); + break; + } + case 26: { + Password = input.ReadString(); break; } } @@ -7467,16 +7569,17 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AudioEncoding : pb::IMessage + public sealed partial class RtcConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AudioEncoding()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RtcConfig()); private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7492,7 +7595,7 @@ public sealed partial class AudioEncoding : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AudioEncoding() { + public RtcConfig() { OnConstruction(); } @@ -7500,45 +7603,106 @@ public AudioEncoding() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AudioEncoding(AudioEncoding other) : this() { - maxBitrate_ = other.maxBitrate_; + public RtcConfig(RtcConfig other) : this() { + _hasBits0 = other._hasBits0; + iceTransportType_ = other.iceTransportType_; + continualGatheringPolicy_ = other.continualGatheringPolicy_; + iceServers_ = other.iceServers_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AudioEncoding Clone() { - return new AudioEncoding(this); + public RtcConfig Clone() { + return new RtcConfig(this); } - /// Field number for the "max_bitrate" field. - public const int MaxBitrateFieldNumber = 1; - private ulong maxBitrate_; + /// Field number for the "ice_transport_type" field. + public const int IceTransportTypeFieldNumber = 1; + private readonly static global::LiveKit.Proto.IceTransportType IceTransportTypeDefaultValue = global::LiveKit.Proto.IceTransportType.TransportRelay; + + private global::LiveKit.Proto.IceTransportType iceTransportType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong MaxBitrate { - get { return maxBitrate_; } + public global::LiveKit.Proto.IceTransportType IceTransportType { + get { if ((_hasBits0 & 1) != 0) { return iceTransportType_; } else { return IceTransportTypeDefaultValue; } } set { - maxBitrate_ = value; + _hasBits0 |= 1; + iceTransportType_ = value; + } + } + /// Gets whether the "ice_transport_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIceTransportType { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "ice_transport_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIceTransportType() { + _hasBits0 &= ~1; + } + + /// Field number for the "continual_gathering_policy" field. + public const int ContinualGatheringPolicyFieldNumber = 2; + private readonly static global::LiveKit.Proto.ContinualGatheringPolicy ContinualGatheringPolicyDefaultValue = global::LiveKit.Proto.ContinualGatheringPolicy.GatherOnce; + + private global::LiveKit.Proto.ContinualGatheringPolicy continualGatheringPolicy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LiveKit.Proto.ContinualGatheringPolicy ContinualGatheringPolicy { + get { if ((_hasBits0 & 2) != 0) { return continualGatheringPolicy_; } else { return ContinualGatheringPolicyDefaultValue; } } + set { + _hasBits0 |= 2; + continualGatheringPolicy_ = value; } } + /// Gets whether the "continual_gathering_policy" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContinualGatheringPolicy { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "continual_gathering_policy" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContinualGatheringPolicy() { + _hasBits0 &= ~2; + } + + /// Field number for the "ice_servers" field. + public const int IceServersFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_iceServers_codec + = pb::FieldCodec.ForMessage(26, global::LiveKit.Proto.IceServer.Parser); + private readonly pbc::RepeatedField iceServers_ = new pbc::RepeatedField(); + /// + /// empty fallback to default + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IceServers { + get { return iceServers_; } + } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as AudioEncoding); + return Equals(other as RtcConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AudioEncoding other) { + public bool Equals(RtcConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (MaxBitrate != other.MaxBitrate) return false; + if (IceTransportType != other.IceTransportType) return false; + if (ContinualGatheringPolicy != other.ContinualGatheringPolicy) return false; + if(!iceServers_.Equals(other.iceServers_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7546,7 +7710,9 @@ public bool Equals(AudioEncoding other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (MaxBitrate != 0UL) hash ^= MaxBitrate.GetHashCode(); + if (HasIceTransportType) hash ^= IceTransportType.GetHashCode(); + if (HasContinualGatheringPolicy) hash ^= ContinualGatheringPolicy.GetHashCode(); + hash ^= iceServers_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7565,10 +7731,15 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (MaxBitrate != 0UL) { + if (HasIceTransportType) { output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); + output.WriteEnum((int) IceTransportType); + } + if (HasContinualGatheringPolicy) { + output.WriteRawTag(16); + output.WriteEnum((int) ContinualGatheringPolicy); } + iceServers_.WriteTo(output, _repeated_iceServers_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -7579,10 +7750,15 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (MaxBitrate != 0UL) { + if (HasIceTransportType) { output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); + output.WriteEnum((int) IceTransportType); + } + if (HasContinualGatheringPolicy) { + output.WriteRawTag(16); + output.WriteEnum((int) ContinualGatheringPolicy); } + iceServers_.WriteTo(ref output, _repeated_iceServers_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7593,9 +7769,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (MaxBitrate != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxBitrate); + if (HasIceTransportType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IceTransportType); } + if (HasContinualGatheringPolicy) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ContinualGatheringPolicy); + } + size += iceServers_.CalculateSize(_repeated_iceServers_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7604,13 +7784,17 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AudioEncoding other) { + public void MergeFrom(RtcConfig other) { if (other == null) { return; } - if (other.MaxBitrate != 0UL) { - MaxBitrate = other.MaxBitrate; + if (other.HasIceTransportType) { + IceTransportType = other.IceTransportType; + } + if (other.HasContinualGatheringPolicy) { + ContinualGatheringPolicy = other.ContinualGatheringPolicy; } + iceServers_.Add(other.iceServers_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7627,7 +7811,15 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - MaxBitrate = input.ReadUInt64(); + IceTransportType = (global::LiveKit.Proto.IceTransportType) input.ReadEnum(); + break; + } + case 16: { + ContinualGatheringPolicy = (global::LiveKit.Proto.ContinualGatheringPolicy) input.ReadEnum(); + break; + } + case 26: { + iceServers_.AddEntriesFrom(input, _repeated_iceServers_codec); break; } } @@ -7646,1377 +7838,15 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - MaxBitrate = input.ReadUInt64(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TrackPublishOptions : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TrackPublishOptions()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[31]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrackPublishOptions() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrackPublishOptions(TrackPublishOptions other) : this() { - videoEncoding_ = other.videoEncoding_ != null ? other.videoEncoding_.Clone() : null; - audioEncoding_ = other.audioEncoding_ != null ? other.audioEncoding_.Clone() : null; - videoCodec_ = other.videoCodec_; - dtx_ = other.dtx_; - red_ = other.red_; - simulcast_ = other.simulcast_; - source_ = other.source_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrackPublishOptions Clone() { - return new TrackPublishOptions(this); - } - - /// Field number for the "video_encoding" field. - public const int VideoEncodingFieldNumber = 1; - private global::LiveKit.Proto.VideoEncoding videoEncoding_; - /// - /// encodings are optional - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.VideoEncoding VideoEncoding { - get { return videoEncoding_; } - set { - videoEncoding_ = value; - } - } - - /// Field number for the "audio_encoding" field. - public const int AudioEncodingFieldNumber = 2; - private global::LiveKit.Proto.AudioEncoding audioEncoding_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.AudioEncoding AudioEncoding { - get { return audioEncoding_; } - set { - audioEncoding_ = value; - } - } - - /// Field number for the "video_codec" field. - public const int VideoCodecFieldNumber = 3; - private global::LiveKit.Proto.VideoCodec videoCodec_ = global::LiveKit.Proto.VideoCodec.Vp8; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.VideoCodec VideoCodec { - get { return videoCodec_; } - set { - videoCodec_ = value; - } - } - - /// Field number for the "dtx" field. - public const int DtxFieldNumber = 4; - private bool dtx_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Dtx { - get { return dtx_; } - set { - dtx_ = value; - } - } - - /// Field number for the "red" field. - public const int RedFieldNumber = 5; - private bool red_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Red { - get { return red_; } - set { - red_ = value; - } - } - - /// Field number for the "simulcast" field. - public const int SimulcastFieldNumber = 6; - private bool simulcast_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Simulcast { - get { return simulcast_; } - set { - simulcast_ = value; - } - } - - /// Field number for the "source" field. - public const int SourceFieldNumber = 7; - private global::LiveKit.Proto.TrackSource source_ = global::LiveKit.Proto.TrackSource.SourceUnknown; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.TrackSource Source { - get { return source_; } - set { - source_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TrackPublishOptions); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TrackPublishOptions other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(VideoEncoding, other.VideoEncoding)) return false; - if (!object.Equals(AudioEncoding, other.AudioEncoding)) return false; - if (VideoCodec != other.VideoCodec) return false; - if (Dtx != other.Dtx) return false; - if (Red != other.Red) return false; - if (Simulcast != other.Simulcast) return false; - if (Source != other.Source) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (videoEncoding_ != null) hash ^= VideoEncoding.GetHashCode(); - if (audioEncoding_ != null) hash ^= AudioEncoding.GetHashCode(); - if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) hash ^= VideoCodec.GetHashCode(); - if (Dtx != false) hash ^= Dtx.GetHashCode(); - if (Red != false) hash ^= Red.GetHashCode(); - if (Simulcast != false) hash ^= Simulcast.GetHashCode(); - if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) hash ^= Source.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (videoEncoding_ != null) { - output.WriteRawTag(10); - output.WriteMessage(VideoEncoding); - } - if (audioEncoding_ != null) { - output.WriteRawTag(18); - output.WriteMessage(AudioEncoding); - } - if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { - output.WriteRawTag(24); - output.WriteEnum((int) VideoCodec); - } - if (Dtx != false) { - output.WriteRawTag(32); - output.WriteBool(Dtx); - } - if (Red != false) { - output.WriteRawTag(40); - output.WriteBool(Red); - } - if (Simulcast != false) { - output.WriteRawTag(48); - output.WriteBool(Simulcast); - } - if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { - output.WriteRawTag(56); - output.WriteEnum((int) Source); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (videoEncoding_ != null) { - output.WriteRawTag(10); - output.WriteMessage(VideoEncoding); - } - if (audioEncoding_ != null) { - output.WriteRawTag(18); - output.WriteMessage(AudioEncoding); - } - if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { - output.WriteRawTag(24); - output.WriteEnum((int) VideoCodec); - } - if (Dtx != false) { - output.WriteRawTag(32); - output.WriteBool(Dtx); - } - if (Red != false) { - output.WriteRawTag(40); - output.WriteBool(Red); - } - if (Simulcast != false) { - output.WriteRawTag(48); - output.WriteBool(Simulcast); - } - if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { - output.WriteRawTag(56); - output.WriteEnum((int) Source); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (videoEncoding_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(VideoEncoding); - } - if (audioEncoding_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(AudioEncoding); - } - if (VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VideoCodec); - } - if (Dtx != false) { - size += 1 + 1; - } - if (Red != false) { - size += 1 + 1; - } - if (Simulcast != false) { - size += 1 + 1; - } - if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TrackPublishOptions other) { - if (other == null) { - return; - } - if (other.videoEncoding_ != null) { - if (videoEncoding_ == null) { - VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); - } - VideoEncoding.MergeFrom(other.VideoEncoding); - } - if (other.audioEncoding_ != null) { - if (audioEncoding_ == null) { - AudioEncoding = new global::LiveKit.Proto.AudioEncoding(); - } - AudioEncoding.MergeFrom(other.AudioEncoding); - } - if (other.VideoCodec != global::LiveKit.Proto.VideoCodec.Vp8) { - VideoCodec = other.VideoCodec; - } - if (other.Dtx != false) { - Dtx = other.Dtx; - } - if (other.Red != false) { - Red = other.Red; - } - if (other.Simulcast != false) { - Simulcast = other.Simulcast; - } - if (other.Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { - Source = other.Source; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (videoEncoding_ == null) { - VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); - } - input.ReadMessage(VideoEncoding); - break; - } - case 18: { - if (audioEncoding_ == null) { - AudioEncoding = new global::LiveKit.Proto.AudioEncoding(); - } - input.ReadMessage(AudioEncoding); - break; - } - case 24: { - VideoCodec = (global::LiveKit.Proto.VideoCodec) input.ReadEnum(); - break; - } - case 32: { - Dtx = input.ReadBool(); - break; - } - case 40: { - Red = input.ReadBool(); - break; - } - case 48: { - Simulcast = input.ReadBool(); - break; - } - case 56: { - Source = (global::LiveKit.Proto.TrackSource) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - if (videoEncoding_ == null) { - VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); - } - input.ReadMessage(VideoEncoding); - break; - } - case 18: { - if (audioEncoding_ == null) { - AudioEncoding = new global::LiveKit.Proto.AudioEncoding(); - } - input.ReadMessage(AudioEncoding); - break; - } - case 24: { - VideoCodec = (global::LiveKit.Proto.VideoCodec) input.ReadEnum(); - break; - } - case 32: { - Dtx = input.ReadBool(); - break; - } - case 40: { - Red = input.ReadBool(); - break; - } - case 48: { - Simulcast = input.ReadBool(); - break; - } - case 56: { - Source = (global::LiveKit.Proto.TrackSource) input.ReadEnum(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class IceServer : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IceServer()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[32]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IceServer() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IceServer(IceServer other) : this() { - urls_ = other.urls_.Clone(); - username_ = other.username_; - password_ = other.password_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IceServer Clone() { - return new IceServer(this); - } - - /// Field number for the "urls" field. - public const int UrlsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_urls_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField urls_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Urls { - get { return urls_; } - } - - /// Field number for the "username" field. - public const int UsernameFieldNumber = 2; - private string username_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Username { - get { return username_; } - set { - username_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "password" field. - public const int PasswordFieldNumber = 3; - private string password_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Password { - get { return password_; } - set { - password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as IceServer); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(IceServer other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!urls_.Equals(other.urls_)) return false; - if (Username != other.Username) return false; - if (Password != other.Password) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= urls_.GetHashCode(); - if (Username.Length != 0) hash ^= Username.GetHashCode(); - if (Password.Length != 0) hash ^= Password.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - urls_.WriteTo(output, _repeated_urls_codec); - if (Username.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Username); - } - if (Password.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Password); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - urls_.WriteTo(ref output, _repeated_urls_codec); - if (Username.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Username); - } - if (Password.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Password); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += urls_.CalculateSize(_repeated_urls_codec); - if (Username.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Username); - } - if (Password.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(IceServer other) { - if (other == null) { - return; - } - urls_.Add(other.urls_); - if (other.Username.Length != 0) { - Username = other.Username; - } - if (other.Password.Length != 0) { - Password = other.Password; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - urls_.AddEntriesFrom(input, _repeated_urls_codec); - break; - } - case 18: { - Username = input.ReadString(); - break; - } - case 26: { - Password = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - urls_.AddEntriesFrom(ref input, _repeated_urls_codec); - break; - } - case 18: { - Username = input.ReadString(); - break; - } - case 26: { - Password = input.ReadString(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RtcConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RtcConfig()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[33]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RtcConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RtcConfig(RtcConfig other) : this() { - _hasBits0 = other._hasBits0; - iceTransportType_ = other.iceTransportType_; - continualGatheringPolicy_ = other.continualGatheringPolicy_; - iceServers_ = other.iceServers_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RtcConfig Clone() { - return new RtcConfig(this); - } - - /// Field number for the "ice_transport_type" field. - public const int IceTransportTypeFieldNumber = 1; - private readonly static global::LiveKit.Proto.IceTransportType IceTransportTypeDefaultValue = global::LiveKit.Proto.IceTransportType.TransportRelay; - - private global::LiveKit.Proto.IceTransportType iceTransportType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.IceTransportType IceTransportType { - get { if ((_hasBits0 & 1) != 0) { return iceTransportType_; } else { return IceTransportTypeDefaultValue; } } - set { - _hasBits0 |= 1; - iceTransportType_ = value; - } - } - /// Gets whether the "ice_transport_type" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIceTransportType { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "ice_transport_type" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIceTransportType() { - _hasBits0 &= ~1; - } - - /// Field number for the "continual_gathering_policy" field. - public const int ContinualGatheringPolicyFieldNumber = 2; - private readonly static global::LiveKit.Proto.ContinualGatheringPolicy ContinualGatheringPolicyDefaultValue = global::LiveKit.Proto.ContinualGatheringPolicy.GatherOnce; - - private global::LiveKit.Proto.ContinualGatheringPolicy continualGatheringPolicy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.ContinualGatheringPolicy ContinualGatheringPolicy { - get { if ((_hasBits0 & 2) != 0) { return continualGatheringPolicy_; } else { return ContinualGatheringPolicyDefaultValue; } } - set { - _hasBits0 |= 2; - continualGatheringPolicy_ = value; - } - } - /// Gets whether the "continual_gathering_policy" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasContinualGatheringPolicy { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "continual_gathering_policy" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearContinualGatheringPolicy() { - _hasBits0 &= ~2; - } - - /// Field number for the "ice_servers" field. - public const int IceServersFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_iceServers_codec - = pb::FieldCodec.ForMessage(26, global::LiveKit.Proto.IceServer.Parser); - private readonly pbc::RepeatedField iceServers_ = new pbc::RepeatedField(); - /// - /// empty fallback to default - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField IceServers { - get { return iceServers_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RtcConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RtcConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IceTransportType != other.IceTransportType) return false; - if (ContinualGatheringPolicy != other.ContinualGatheringPolicy) return false; - if(!iceServers_.Equals(other.iceServers_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIceTransportType) hash ^= IceTransportType.GetHashCode(); - if (HasContinualGatheringPolicy) hash ^= ContinualGatheringPolicy.GetHashCode(); - hash ^= iceServers_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIceTransportType) { - output.WriteRawTag(8); - output.WriteEnum((int) IceTransportType); - } - if (HasContinualGatheringPolicy) { - output.WriteRawTag(16); - output.WriteEnum((int) ContinualGatheringPolicy); - } - iceServers_.WriteTo(output, _repeated_iceServers_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIceTransportType) { - output.WriteRawTag(8); - output.WriteEnum((int) IceTransportType); - } - if (HasContinualGatheringPolicy) { - output.WriteRawTag(16); - output.WriteEnum((int) ContinualGatheringPolicy); - } - iceServers_.WriteTo(ref output, _repeated_iceServers_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIceTransportType) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IceTransportType); - } - if (HasContinualGatheringPolicy) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ContinualGatheringPolicy); - } - size += iceServers_.CalculateSize(_repeated_iceServers_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RtcConfig other) { - if (other == null) { - return; - } - if (other.HasIceTransportType) { - IceTransportType = other.IceTransportType; - } - if (other.HasContinualGatheringPolicy) { - ContinualGatheringPolicy = other.ContinualGatheringPolicy; - } - iceServers_.Add(other.iceServers_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IceTransportType = (global::LiveKit.Proto.IceTransportType) input.ReadEnum(); - break; - } - case 16: { - ContinualGatheringPolicy = (global::LiveKit.Proto.ContinualGatheringPolicy) input.ReadEnum(); - break; - } - case 26: { - iceServers_.AddEntriesFrom(input, _repeated_iceServers_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IceTransportType = (global::LiveKit.Proto.IceTransportType) input.ReadEnum(); - break; - } - case 16: { - ContinualGatheringPolicy = (global::LiveKit.Proto.ContinualGatheringPolicy) input.ReadEnum(); - break; - } - case 26: { - iceServers_.AddEntriesFrom(ref input, _repeated_iceServers_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RoomOptions : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomOptions()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[34]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RoomOptions() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RoomOptions(RoomOptions other) : this() { - autoSubscribe_ = other.autoSubscribe_; - adaptiveStream_ = other.adaptiveStream_; - dynacast_ = other.dynacast_; - e2Ee_ = other.e2Ee_ != null ? other.e2Ee_.Clone() : null; - rtcConfig_ = other.rtcConfig_ != null ? other.rtcConfig_.Clone() : null; - joinRetries_ = other.joinRetries_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RoomOptions Clone() { - return new RoomOptions(this); - } - - /// Field number for the "auto_subscribe" field. - public const int AutoSubscribeFieldNumber = 1; - private bool autoSubscribe_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AutoSubscribe { - get { return autoSubscribe_; } - set { - autoSubscribe_ = value; - } - } - - /// Field number for the "adaptive_stream" field. - public const int AdaptiveStreamFieldNumber = 2; - private bool adaptiveStream_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AdaptiveStream { - get { return adaptiveStream_; } - set { - adaptiveStream_ = value; - } - } - - /// Field number for the "dynacast" field. - public const int DynacastFieldNumber = 3; - private bool dynacast_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Dynacast { - get { return dynacast_; } - set { - dynacast_ = value; - } - } - - /// Field number for the "e2ee" field. - public const int E2EeFieldNumber = 4; - private global::LiveKit.Proto.E2eeOptions e2Ee_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.E2eeOptions E2Ee { - get { return e2Ee_; } - set { - e2Ee_ = value; - } - } - - /// Field number for the "rtc_config" field. - public const int RtcConfigFieldNumber = 5; - private global::LiveKit.Proto.RtcConfig rtcConfig_; - /// - /// allow to setup a custom RtcConfiguration - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.RtcConfig RtcConfig { - get { return rtcConfig_; } - set { - rtcConfig_ = value; - } - } - - /// Field number for the "join_retries" field. - public const int JoinRetriesFieldNumber = 6; - private uint joinRetries_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint JoinRetries { - get { return joinRetries_; } - set { - joinRetries_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RoomOptions); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RoomOptions other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (AutoSubscribe != other.AutoSubscribe) return false; - if (AdaptiveStream != other.AdaptiveStream) return false; - if (Dynacast != other.Dynacast) return false; - if (!object.Equals(E2Ee, other.E2Ee)) return false; - if (!object.Equals(RtcConfig, other.RtcConfig)) return false; - if (JoinRetries != other.JoinRetries) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (AutoSubscribe != false) hash ^= AutoSubscribe.GetHashCode(); - if (AdaptiveStream != false) hash ^= AdaptiveStream.GetHashCode(); - if (Dynacast != false) hash ^= Dynacast.GetHashCode(); - if (e2Ee_ != null) hash ^= E2Ee.GetHashCode(); - if (rtcConfig_ != null) hash ^= RtcConfig.GetHashCode(); - if (JoinRetries != 0) hash ^= JoinRetries.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (AutoSubscribe != false) { - output.WriteRawTag(8); - output.WriteBool(AutoSubscribe); - } - if (AdaptiveStream != false) { - output.WriteRawTag(16); - output.WriteBool(AdaptiveStream); - } - if (Dynacast != false) { - output.WriteRawTag(24); - output.WriteBool(Dynacast); - } - if (e2Ee_ != null) { - output.WriteRawTag(34); - output.WriteMessage(E2Ee); - } - if (rtcConfig_ != null) { - output.WriteRawTag(42); - output.WriteMessage(RtcConfig); - } - if (JoinRetries != 0) { - output.WriteRawTag(48); - output.WriteUInt32(JoinRetries); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AutoSubscribe != false) { - output.WriteRawTag(8); - output.WriteBool(AutoSubscribe); - } - if (AdaptiveStream != false) { - output.WriteRawTag(16); - output.WriteBool(AdaptiveStream); - } - if (Dynacast != false) { - output.WriteRawTag(24); - output.WriteBool(Dynacast); - } - if (e2Ee_ != null) { - output.WriteRawTag(34); - output.WriteMessage(E2Ee); - } - if (rtcConfig_ != null) { - output.WriteRawTag(42); - output.WriteMessage(RtcConfig); - } - if (JoinRetries != 0) { - output.WriteRawTag(48); - output.WriteUInt32(JoinRetries); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (AutoSubscribe != false) { - size += 1 + 1; - } - if (AdaptiveStream != false) { - size += 1 + 1; - } - if (Dynacast != false) { - size += 1 + 1; - } - if (e2Ee_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(E2Ee); - } - if (rtcConfig_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RtcConfig); - } - if (JoinRetries != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinRetries); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RoomOptions other) { - if (other == null) { - return; - } - if (other.AutoSubscribe != false) { - AutoSubscribe = other.AutoSubscribe; - } - if (other.AdaptiveStream != false) { - AdaptiveStream = other.AdaptiveStream; - } - if (other.Dynacast != false) { - Dynacast = other.Dynacast; - } - if (other.e2Ee_ != null) { - if (e2Ee_ == null) { - E2Ee = new global::LiveKit.Proto.E2eeOptions(); - } - E2Ee.MergeFrom(other.E2Ee); - } - if (other.rtcConfig_ != null) { - if (rtcConfig_ == null) { - RtcConfig = new global::LiveKit.Proto.RtcConfig(); - } - RtcConfig.MergeFrom(other.RtcConfig); - } - if (other.JoinRetries != 0) { - JoinRetries = other.JoinRetries; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - AutoSubscribe = input.ReadBool(); - break; - } - case 16: { - AdaptiveStream = input.ReadBool(); - break; - } - case 24: { - Dynacast = input.ReadBool(); - break; - } - case 34: { - if (e2Ee_ == null) { - E2Ee = new global::LiveKit.Proto.E2eeOptions(); - } - input.ReadMessage(E2Ee); - break; - } - case 42: { - if (rtcConfig_ == null) { - RtcConfig = new global::LiveKit.Proto.RtcConfig(); - } - input.ReadMessage(RtcConfig); - break; - } - case 48: { - JoinRetries = input.ReadUInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - AutoSubscribe = input.ReadBool(); + IceTransportType = (global::LiveKit.Proto.IceTransportType) input.ReadEnum(); break; } case 16: { - AdaptiveStream = input.ReadBool(); - break; - } - case 24: { - Dynacast = input.ReadBool(); - break; - } - case 34: { - if (e2Ee_ == null) { - E2Ee = new global::LiveKit.Proto.E2eeOptions(); - } - input.ReadMessage(E2Ee); - break; - } - case 42: { - if (rtcConfig_ == null) { - RtcConfig = new global::LiveKit.Proto.RtcConfig(); - } - input.ReadMessage(RtcConfig); + ContinualGatheringPolicy = (global::LiveKit.Proto.ContinualGatheringPolicy) input.ReadEnum(); break; } - case 48: { - JoinRetries = input.ReadUInt32(); + case 26: { + iceServers_.AddEntriesFrom(ref input, _repeated_iceServers_codec); break; } } @@ -9027,21 +7857,21 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TranscriptionSegment : pb::IMessage + public sealed partial class RoomOptions : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TranscriptionSegment()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomOptions()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[35]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[31]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9052,7 +7882,7 @@ public sealed partial class TranscriptionSegment : pb::IMessageField number for the "auto_subscribe" field. + public const int AutoSubscribeFieldNumber = 1; + private bool autoSubscribe_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AutoSubscribe { + get { return autoSubscribe_; } + set { + autoSubscribe_ = value; + } } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; + /// Field number for the "adaptive_stream" field. + public const int AdaptiveStreamFieldNumber = 2; + private bool adaptiveStream_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } + public bool AdaptiveStream { + get { return adaptiveStream_; } set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + adaptiveStream_ = value; } } - /// Field number for the "text" field. - public const int TextFieldNumber = 2; - private string text_ = ""; + /// Field number for the "dynacast" field. + public const int DynacastFieldNumber = 3; + private bool dynacast_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Text { - get { return text_; } + public bool Dynacast { + get { return dynacast_; } set { - text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + dynacast_ = value; } } - /// Field number for the "start_time" field. - public const int StartTimeFieldNumber = 3; - private ulong startTime_; + /// Field number for the "e2ee" field. + public const int E2EeFieldNumber = 4; + private global::LiveKit.Proto.E2eeOptions e2Ee_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong StartTime { - get { return startTime_; } + public global::LiveKit.Proto.E2eeOptions E2Ee { + get { return e2Ee_; } set { - startTime_ = value; + e2Ee_ = value; } } - /// Field number for the "end_time" field. - public const int EndTimeFieldNumber = 4; - private ulong endTime_; + /// Field number for the "rtc_config" field. + public const int RtcConfigFieldNumber = 5; + private global::LiveKit.Proto.RtcConfig rtcConfig_; + /// + /// allow to setup a custom RtcConfiguration + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong EndTime { - get { return endTime_; } + public global::LiveKit.Proto.RtcConfig RtcConfig { + get { return rtcConfig_; } set { - endTime_ = value; + rtcConfig_ = value; } } - /// Field number for the "final" field. - public const int FinalFieldNumber = 5; - private bool final_; + /// Field number for the "join_retries" field. + public const int JoinRetriesFieldNumber = 6; + private uint joinRetries_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Final { - get { return final_; } + public uint JoinRetries { + get { return joinRetries_; } set { - final_ = value; + joinRetries_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as TranscriptionSegment); + return Equals(other as RoomOptions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TranscriptionSegment other) { + public bool Equals(RoomOptions other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Text != other.Text) return false; - if (StartTime != other.StartTime) return false; - if (EndTime != other.EndTime) return false; - if (Final != other.Final) return false; + if (AutoSubscribe != other.AutoSubscribe) return false; + if (AdaptiveStream != other.AdaptiveStream) return false; + if (Dynacast != other.Dynacast) return false; + if (!object.Equals(E2Ee, other.E2Ee)) return false; + if (!object.Equals(RtcConfig, other.RtcConfig)) return false; + if (JoinRetries != other.JoinRetries) return false; return Equals(_unknownFields, other._unknownFields); } @@ -9162,11 +8009,12 @@ public bool Equals(TranscriptionSegment other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id.Length != 0) hash ^= Id.GetHashCode(); - if (Text.Length != 0) hash ^= Text.GetHashCode(); - if (StartTime != 0UL) hash ^= StartTime.GetHashCode(); - if (EndTime != 0UL) hash ^= EndTime.GetHashCode(); - if (Final != false) hash ^= Final.GetHashCode(); + if (AutoSubscribe != false) hash ^= AutoSubscribe.GetHashCode(); + if (AdaptiveStream != false) hash ^= AdaptiveStream.GetHashCode(); + if (Dynacast != false) hash ^= Dynacast.GetHashCode(); + if (e2Ee_ != null) hash ^= E2Ee.GetHashCode(); + if (rtcConfig_ != null) hash ^= RtcConfig.GetHashCode(); + if (JoinRetries != 0) hash ^= JoinRetries.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9185,25 +8033,29 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); + if (AutoSubscribe != false) { + output.WriteRawTag(8); + output.WriteBool(AutoSubscribe); } - if (Text.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Text); + if (AdaptiveStream != false) { + output.WriteRawTag(16); + output.WriteBool(AdaptiveStream); } - if (StartTime != 0UL) { + if (Dynacast != false) { output.WriteRawTag(24); - output.WriteUInt64(StartTime); + output.WriteBool(Dynacast); } - if (EndTime != 0UL) { - output.WriteRawTag(32); - output.WriteUInt64(EndTime); + if (e2Ee_ != null) { + output.WriteRawTag(34); + output.WriteMessage(E2Ee); } - if (Final != false) { - output.WriteRawTag(40); - output.WriteBool(Final); + if (rtcConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(RtcConfig); + } + if (JoinRetries != 0) { + output.WriteRawTag(48); + output.WriteUInt32(JoinRetries); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -9215,25 +8067,29 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); + if (AutoSubscribe != false) { + output.WriteRawTag(8); + output.WriteBool(AutoSubscribe); } - if (Text.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Text); + if (AdaptiveStream != false) { + output.WriteRawTag(16); + output.WriteBool(AdaptiveStream); } - if (StartTime != 0UL) { + if (Dynacast != false) { output.WriteRawTag(24); - output.WriteUInt64(StartTime); + output.WriteBool(Dynacast); } - if (EndTime != 0UL) { - output.WriteRawTag(32); - output.WriteUInt64(EndTime); + if (e2Ee_ != null) { + output.WriteRawTag(34); + output.WriteMessage(E2Ee); } - if (Final != false) { - output.WriteRawTag(40); - output.WriteBool(Final); + if (rtcConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(RtcConfig); + } + if (JoinRetries != 0) { + output.WriteRawTag(48); + output.WriteUInt32(JoinRetries); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -9245,20 +8101,23 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + if (AutoSubscribe != false) { + size += 1 + 1; } - if (Text.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + if (AdaptiveStream != false) { + size += 1 + 1; } - if (StartTime != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StartTime); + if (Dynacast != false) { + size += 1 + 1; } - if (EndTime != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EndTime); + if (e2Ee_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(E2Ee); } - if (Final != false) { - size += 1 + 1; + if (rtcConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RtcConfig); + } + if (JoinRetries != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinRetries); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -9268,24 +8127,33 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TranscriptionSegment other) { + public void MergeFrom(RoomOptions other) { if (other == null) { return; } - if (other.Id.Length != 0) { - Id = other.Id; + if (other.AutoSubscribe != false) { + AutoSubscribe = other.AutoSubscribe; + } + if (other.AdaptiveStream != false) { + AdaptiveStream = other.AdaptiveStream; } - if (other.Text.Length != 0) { - Text = other.Text; + if (other.Dynacast != false) { + Dynacast = other.Dynacast; } - if (other.StartTime != 0UL) { - StartTime = other.StartTime; + if (other.e2Ee_ != null) { + if (e2Ee_ == null) { + E2Ee = new global::LiveKit.Proto.E2eeOptions(); + } + E2Ee.MergeFrom(other.E2Ee); } - if (other.EndTime != 0UL) { - EndTime = other.EndTime; + if (other.rtcConfig_ != null) { + if (rtcConfig_ == null) { + RtcConfig = new global::LiveKit.Proto.RtcConfig(); + } + RtcConfig.MergeFrom(other.RtcConfig); } - if (other.Final != false) { - Final = other.Final; + if (other.JoinRetries != 0) { + JoinRetries = other.JoinRetries; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -9302,24 +8170,34 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - Id = input.ReadString(); + case 8: { + AutoSubscribe = input.ReadBool(); break; } - case 18: { - Text = input.ReadString(); + case 16: { + AdaptiveStream = input.ReadBool(); break; } case 24: { - StartTime = input.ReadUInt64(); + Dynacast = input.ReadBool(); break; } - case 32: { - EndTime = input.ReadUInt64(); + case 34: { + if (e2Ee_ == null) { + E2Ee = new global::LiveKit.Proto.E2eeOptions(); + } + input.ReadMessage(E2Ee); break; } - case 40: { - Final = input.ReadBool(); + case 42: { + if (rtcConfig_ == null) { + RtcConfig = new global::LiveKit.Proto.RtcConfig(); + } + input.ReadMessage(RtcConfig); + break; + } + case 48: { + JoinRetries = input.ReadUInt32(); break; } } @@ -9337,24 +8215,34 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - Id = input.ReadString(); + case 8: { + AutoSubscribe = input.ReadBool(); break; } - case 18: { - Text = input.ReadString(); + case 16: { + AdaptiveStream = input.ReadBool(); break; } case 24: { - StartTime = input.ReadUInt64(); + Dynacast = input.ReadBool(); break; } - case 32: { - EndTime = input.ReadUInt64(); + case 34: { + if (e2Ee_ == null) { + E2Ee = new global::LiveKit.Proto.E2eeOptions(); + } + input.ReadMessage(E2Ee); break; } - case 40: { - Final = input.ReadBool(); + case 42: { + if (rtcConfig_ == null) { + RtcConfig = new global::LiveKit.Proto.RtcConfig(); + } + input.ReadMessage(RtcConfig); + break; + } + case 48: { + JoinRetries = input.ReadUInt32(); break; } } @@ -9379,7 +8267,7 @@ public sealed partial class BufferInfo : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[36]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[32]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9606,7 +8494,7 @@ public sealed partial class OwnedBuffer : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[37]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[33]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9851,7 +8739,7 @@ public sealed partial class RoomEvent : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[38]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11293,7 +10181,7 @@ public sealed partial class RoomInfo : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[39]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11557,7 +10445,7 @@ public sealed partial class OwnedRoom : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[40]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11802,7 +10690,7 @@ public sealed partial class ParticipantConnected : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[45]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12811,7 +11699,7 @@ public sealed partial class TrackUnpublished : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[46]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[42]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13042,7 +11930,7 @@ public sealed partial class TrackSubscribed : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[47]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[43]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13278,7 +12166,7 @@ public sealed partial class TrackUnsubscribed : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[48]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[44]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13508,7 +12396,7 @@ public sealed partial class TrackSubscriptionFailed : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[50]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13999,7 +12887,7 @@ public sealed partial class TrackUnmuted : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[51]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14226,7 +13114,7 @@ public sealed partial class E2eeStateChanged : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[52]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14456,7 +13344,7 @@ public sealed partial class ActiveSpeakersChanged : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[58]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[54]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15756,7 +14644,7 @@ public sealed partial class SipDTMF : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[59]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[55]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15997,7 +14885,7 @@ public sealed partial class DataPacketReceived : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[62]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[58]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16760,7 +15648,7 @@ public sealed partial class Disconnected : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[63]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[59]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16913,7 +15801,7 @@ public sealed partial class Reconnecting : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[64]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[60]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17066,7 +15954,7 @@ public sealed partial class Reconnected : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[65]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[61]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17219,7 +16107,7 @@ public sealed partial class RoomEOS : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[66]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[62]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute]