diff --git a/Runtime/Plugins/ffi-android-arm64/libwebrtc.jar.meta b/Runtime/Plugins/ffi-android-arm64/libwebrtc.jar.meta new file mode 100644 index 0000000..9f6fad9 --- /dev/null +++ b/Runtime/Plugins/ffi-android-arm64/libwebrtc.jar.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 0f73b1843319849ebac012cfa92a26b3 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Android: Android + second: + enabled: 1 + settings: {} + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Plugins/ffi-android-armv7/libwebrtc.jar.meta b/Runtime/Plugins/ffi-android-armv7/libwebrtc.jar.meta new file mode 100644 index 0000000..39f7395 --- /dev/null +++ b/Runtime/Plugins/ffi-android-armv7/libwebrtc.jar.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: d8ed23d866d5c43f68546b8fe40ced46 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Android: Android + second: + enabled: 1 + settings: {} + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Plugins/ffi-android-x86_64/libwebrtc.jar.meta b/Runtime/Plugins/ffi-android-x86_64/libwebrtc.jar.meta new file mode 100644 index 0000000..0f220c2 --- /dev/null +++ b/Runtime/Plugins/ffi-android-x86_64/libwebrtc.jar.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 55ffb9f13460e4dceba14822a6e91e46 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Android: Android + second: + enabled: 1 + settings: {} + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Plugins/ffi-ios-arm64.meta b/Runtime/Plugins/ffi-ios-arm64.meta new file mode 100644 index 0000000..1d3b6ee --- /dev/null +++ b/Runtime/Plugins/ffi-ios-arm64.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f349a775822454235a12b30c5da5715b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Plugins/libwebrtc.jar.meta b/Runtime/Plugins/ffi-ios-arm64/liblivekit_ffi.a.meta similarity index 58% rename from Runtime/Plugins/libwebrtc.jar.meta rename to Runtime/Plugins/ffi-ios-arm64/liblivekit_ffi.a.meta index 5fbbef1..6f05164 100644 --- a/Runtime/Plugins/libwebrtc.jar.meta +++ b/Runtime/Plugins/ffi-ios-arm64/liblivekit_ffi.a.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: cfffe303b81244032800573acd1d867a +guid: c5fc42eb6997f4b9bb00fa0447f40fdd PluginImporter: externalObjects: {} serializedVersion: 2 @@ -11,11 +11,26 @@ PluginImporter: isExplicitlyReferenced: 0 validateReferences: 1 platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Android: 1 + Exclude Editor: 1 + Exclude Linux64: 1 + Exclude OSXUniversal: 1 + Exclude WebGL: 1 + Exclude Win: 1 + Exclude Win64: 1 + Exclude iOS: 0 - first: Android: Android second: - enabled: 1 - settings: {} + enabled: 0 + settings: + AndroidSharedLibraryType: Executable + CPU: ARMv7 - first: Any: second: @@ -26,9 +41,9 @@ PluginImporter: second: enabled: 0 settings: - CPU: ARM64 + CPU: AnyCPU DefaultValueInitialized: true - OS: OSX + OS: AnyOS - first: Standalone: Linux64 second: @@ -38,9 +53,9 @@ PluginImporter: - first: Standalone: OSXUniversal second: - enabled: 1 + enabled: 0 settings: - CPU: ARM64 + CPU: None - first: Standalone: Win second: @@ -53,6 +68,15 @@ PluginImporter: enabled: 0 settings: CPU: None + - first: + iPhone: iOS + second: + enabled: 1 + settings: + AddToEmbeddedBinaries: false + CPU: ARM64 + CompileFlags: + FrameworkDependencies: OpenGLES;MetalKit; userData: assetBundleName: assetBundleVariant: diff --git a/Runtime/Plugins/ffi-ios-sim-arm64.meta b/Runtime/Plugins/ffi-ios-sim-arm64.meta new file mode 100644 index 0000000..a9619d7 --- /dev/null +++ b/Runtime/Plugins/ffi-ios-sim-arm64.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a4b85e622def147d789eb1ba46fa7d5a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Plugins/ffi-ios-sim-arm64/liblivekit_ffi.a.meta b/Runtime/Plugins/ffi-ios-sim-arm64/liblivekit_ffi.a.meta new file mode 100644 index 0000000..5c7e1f6 --- /dev/null +++ b/Runtime/Plugins/ffi-ios-sim-arm64/liblivekit_ffi.a.meta @@ -0,0 +1,82 @@ +fileFormatVersion: 2 +guid: a8122bf8aa7c648e9b51958ae472fdf5 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Android: 1 + Exclude Editor: 1 + Exclude Linux64: 1 + Exclude OSXUniversal: 1 + Exclude WebGL: 1 + Exclude Win: 1 + Exclude Win64: 1 + Exclude iOS: 0 + - first: + Android: Android + second: + enabled: 0 + settings: + AndroidSharedLibraryType: Executable + CPU: ARMv7 + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + CPU: AnyCPU + DefaultValueInitialized: true + OS: AnyOS + - first: + Standalone: Linux64 + second: + enabled: 0 + settings: + CPU: None + - first: + Standalone: OSXUniversal + second: + enabled: 0 + settings: + CPU: None + - first: + Standalone: Win + second: + enabled: 0 + settings: + CPU: None + - first: + Standalone: Win64 + second: + enabled: 0 + settings: + CPU: None + - first: + iPhone: iOS + second: + enabled: 1 + settings: + AddToEmbeddedBinaries: false + CPU: ARM64 + CompileFlags: + FrameworkDependencies: OpenGLES;MetalKit; + userData: + assetBundleName: + assetBundleVariant: diff --git a/Runtime/Plugins/libwebrtc.jar b/Runtime/Plugins/libwebrtc.jar deleted file mode 100644 index 8caf948..0000000 --- a/Runtime/Plugins/libwebrtc.jar +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0524b9f2828403794369df059765f34c165dc52387417f8260d8e24178492026 -size 985902 diff --git a/Runtime/Scripts/Proto/AudioFrame.cs b/Runtime/Scripts/Proto/AudioFrame.cs index 8cf4eea..d0a2a2d 100644 --- a/Runtime/Scripts/Proto/AudioFrame.cs +++ b/Runtime/Scripts/Proto/AudioFrame.cs @@ -28,59 +28,60 @@ static AudioFrameReflection() { "b3RvIlsKFU5ld0F1ZGlvU3RyZWFtUmVxdWVzdBIUCgx0cmFja19oYW5kbGUY", "ASABKAQSLAoEdHlwZRgCIAEoDjIeLmxpdmVraXQucHJvdG8uQXVkaW9TdHJl", "YW1UeXBlIkkKFk5ld0F1ZGlvU3RyZWFtUmVzcG9uc2USLwoGc3RyZWFtGAEg", - "ASgLMh8ubGl2ZWtpdC5wcm90by5Pd25lZEF1ZGlvU3RyZWFtIrUBChVOZXdB", + "ASgLMh8ubGl2ZWtpdC5wcm90by5Pd25lZEF1ZGlvU3RyZWFtIuEBChVOZXdB", "dWRpb1NvdXJjZVJlcXVlc3QSLAoEdHlwZRgBIAEoDjIeLmxpdmVraX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ZvGAIgASgLMiEubGl2ZWtpdC5w", + "cm90by5BdWRpb1Jlc2FtcGxlckluZm8qQQoPQXVkaW9TdHJlYW1UeXBlEhcK", + "E0FVRElPX1NUUkVBTV9OQVRJVkUQABIVChFBVURJT19TVFJFQU1fSFRNTBAB", + "KioKD0F1ZGlvU291cmNlVHlwZRIXChNBVURJT19TT1VSQ0VfTkFUSVZFEABC", + "EKoCDUxpdmVLaXQuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::LiveKit.Proto.HandleReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LiveKit.Proto.AudioStreamType), typeof(global::LiveKit.Proto.AudioSourceType), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.NewAudioStreamRequest), global::LiveKit.Proto.NewAudioStreamRequest.Parser, new[]{ "TrackHandle", "Type" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.NewAudioStreamResponse), global::LiveKit.Proto.NewAudioStreamResponse.Parser, new[]{ "Stream" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.NewAudioSourceRequest), global::LiveKit.Proto.NewAudioSourceRequest.Parser, new[]{ "Type", "Options", "SampleRate", "NumChannels" }, new[]{ "Options" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.NewAudioSourceRequest), global::LiveKit.Proto.NewAudioSourceRequest.Parser, new[]{ "Type", "Options", "SampleRate", "NumChannels", "EnableQueue" }, new[]{ "Options", "EnableQueue" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.NewAudioSourceResponse), global::LiveKit.Proto.NewAudioSourceResponse.Parser, new[]{ "Source" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.CaptureAudioFrameRequest), global::LiveKit.Proto.CaptureAudioFrameRequest.Parser, new[]{ "SourceHandle", "Buffer" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.CaptureAudioFrameResponse), global::LiveKit.Proto.CaptureAudioFrameResponse.Parser, new[]{ "AsyncId" }, null, null, null, null), @@ -560,6 +561,7 @@ public sealed partial class NewAudioSourceRequest : pb::IMessage _parser = new pb::MessageParser(() => new NewAudioSourceRequest()); 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; } } @@ -587,10 +589,12 @@ public NewAudioSourceRequest() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NewAudioSourceRequest(NewAudioSourceRequest other) : this() { + _hasBits0 = other._hasBits0; type_ = other.type_; options_ = other.options_ != null ? other.options_.Clone() : null; sampleRate_ = other.sampleRate_; numChannels_ = other.numChannels_; + enableQueue_ = other.enableQueue_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -648,6 +652,33 @@ public uint NumChannels { } } + /// Field number for the "enable_queue" field. + public const int EnableQueueFieldNumber = 5; + private readonly static bool EnableQueueDefaultValue = false; + + private bool enableQueue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableQueue { + get { if ((_hasBits0 & 1) != 0) { return enableQueue_; } else { return EnableQueueDefaultValue; } } + set { + _hasBits0 |= 1; + enableQueue_ = value; + } + } + /// Gets whether the "enable_queue" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEnableQueue { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "enable_queue" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEnableQueue() { + _hasBits0 &= ~1; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -667,6 +698,7 @@ public bool Equals(NewAudioSourceRequest other) { if (!object.Equals(Options, other.Options)) return false; if (SampleRate != other.SampleRate) return false; if (NumChannels != other.NumChannels) return false; + if (EnableQueue != other.EnableQueue) return false; return Equals(_unknownFields, other._unknownFields); } @@ -678,6 +710,7 @@ public override int GetHashCode() { if (options_ != null) hash ^= Options.GetHashCode(); if (SampleRate != 0) hash ^= SampleRate.GetHashCode(); if (NumChannels != 0) hash ^= NumChannels.GetHashCode(); + if (HasEnableQueue) hash ^= EnableQueue.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -712,6 +745,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteUInt32(NumChannels); } + if (HasEnableQueue) { + output.WriteRawTag(40); + output.WriteBool(EnableQueue); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -738,6 +775,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteUInt32(NumChannels); } + if (HasEnableQueue) { + output.WriteRawTag(40); + output.WriteBool(EnableQueue); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -760,6 +801,9 @@ public int CalculateSize() { if (NumChannels != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumChannels); } + if (HasEnableQueue) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -787,6 +831,9 @@ public void MergeFrom(NewAudioSourceRequest other) { if (other.NumChannels != 0) { NumChannels = other.NumChannels; } + if (other.HasEnableQueue) { + EnableQueue = other.EnableQueue; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -821,6 +868,10 @@ public void MergeFrom(pb::CodedInputStream input) { NumChannels = input.ReadUInt32(); break; } + case 40: { + EnableQueue = input.ReadBool(); + break; + } } } #endif @@ -855,6 +906,10 @@ public void MergeFrom(pb::CodedInputStream input) { NumChannels = input.ReadUInt32(); break; } + case 40: { + EnableQueue = input.ReadBool(); + break; + } } } } diff --git a/Runtime/Scripts/Proto/Ffi.cs b/Runtime/Scripts/Proto/Ffi.cs index cdb4cf7..66a597b 100644 --- a/Runtime/Scripts/Proto/Ffi.cs +++ b/Runtime/Scripts/Proto/Ffi.cs @@ -26,7 +26,7 @@ static FfiReflection() { string.Concat( "CglmZmkucHJvdG8SDWxpdmVraXQucHJvdG8aCmUyZWUucHJvdG8aC3RyYWNr", "LnByb3RvGgpyb29tLnByb3RvGhF2aWRlb19mcmFtZS5wcm90bxoRYXVkaW9f", - "ZnJhbWUucHJvdG8izwsKCkZmaVJlcXVlc3QSMAoHZGlzcG9zZRgCIAEoCzId", + "ZnJhbWUucHJvdG8inAwKCkZmaVJlcXVlc3QSMAoHZGlzcG9zZRgCIAEoCzId", "LmxpdmVraXQucHJvdG8uRGlzcG9zZVJlcXVlc3RIABIwCgdjb25uZWN0GAMg", "ASgLMh0ubGl2ZWtpdC5wcm90by5Db25uZWN0UmVxdWVzdEgAEjYKCmRpc2Nv", "bm5lY3QYBCABKAsyIC5saXZla2l0LnByb3RvLkRpc2Nvbm5lY3RSZXF1ZXN0", @@ -40,99 +40,104 @@ static FfiReflection() { "dGFSZXF1ZXN0SAASQgoRdXBkYXRlX2xvY2FsX25hbWUYCiABKAsyJS5saXZl", "a2l0LnByb3RvLlVwZGF0ZUxvY2FsTmFtZVJlcXVlc3RIABJCChFnZXRfc2Vz", "c2lvbl9zdGF0cxgLIAEoCzIlLmxpdmVraXQucHJvdG8uR2V0U2Vzc2lvblN0", - "YXRzUmVxdWVzdEgAEkQKEmNyZWF0ZV92aWRlb190cmFjaxgMIAEoCzImLmxp", - "dmVraXQucHJvdG8uQ3JlYXRlVmlkZW9UcmFja1JlcXVlc3RIABJEChJjcm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iBnByb3RvMw==")); + "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", + "ZXN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zIoLmxpdmVraXQucHJvdG8uQ2FwdHVyZUF1ZGlvRnJhbWVSZXNwb25zZUgA", + "EkcKE25ld19hdWRpb19yZXNhbXBsZXIYGSABKAsyKC5saXZla2l0LnByb3Rv", + "Lk5ld0F1ZGlvUmVzYW1wbGVyUmVzcG9uc2VIABJFChJyZW1peF9hbmRfcmVz", + "YW1wbGUYGiABKAsyJy5saXZla2l0LnByb3RvLlJlbWl4QW5kUmVzYW1wbGVS", + "ZXNwb25zZUgAEisKBGUyZWUYGyABKAsyGy5saXZla2l0LnByb3RvLkUyZWVS", + "ZXNwb25zZUgAQgkKB21lc3NhZ2UixAgKCEZmaUV2ZW50Ei4KCnJvb21fZXZl", + "bnQYASABKAsyGC5saXZla2l0LnByb3RvLlJvb21FdmVudEgAEjAKC3RyYWNr", + "X2V2ZW50GAIgASgLMhkubGl2ZWtpdC5wcm90by5UcmFja0V2ZW50SAASPQoS", + "dmlkZW9fc3RyZWFtX2V2ZW50GAMgASgLMh8ubGl2ZWtpdC5wcm90by5WaWRl", + "b1N0cmVhbUV2ZW50SAASPQoSYXVkaW9fc3RyZWFtX2V2ZW50GAQgASgLMh8u", + "bGl2ZWtpdC5wcm90by5BdWRpb1N0cmVhbUV2ZW50SAASMQoHY29ubmVjdBgF", + "IAEoCzIeLmxpdmVraXQucHJvdG8uQ29ubmVjdENhbGxiYWNrSAASNwoKZGlz", + "Y29ubmVjdBgGIAEoCzIhLmxpdmVraXQucHJvdG8uRGlzY29ubmVjdENhbGxi", + "YWNrSAASMQoHZGlzcG9zZRgHIAEoCzIeLmxpdmVraXQucHJvdG8uRGlzcG9z", + "ZUNhbGxiYWNrSAASPAoNcHVibGlzaF90cmFjaxgIIAEoCzIjLmxpdmVraXQu", + "cHJvdG8uUHVibGlzaFRyYWNrQ2FsbGJhY2tIABJACg91bnB1Ymxpc2hfdHJh", + "Y2sYCSABKAsyJS5saXZla2l0LnByb3RvLlVucHVibGlzaFRyYWNrQ2FsbGJh", + "Y2tIABI6Cgx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GAoLbW9kdWxlX3BhdGgYAyABKAlIAIgBARIRCgRmaWxlGAQgASgJ", + "SAGIAQESEQoEbGluZRgFIAEoDUgCiAEBEg8KB21lc3NhZ2UYBiABKAlCDgoM", + "X21vZHVsZV9wYXRoQgcKBV9maWxlQgcKBV9saW5lIjUKCExvZ0JhdGNoEikK", + "B3JlY29yZHMYASADKAsyGC5saXZla2l0LnByb3RvLkxvZ1JlY29yZCIYCgVQ", + "YW5pYxIPCgdtZXNzYWdlGAEgASgJKlMKCExvZ0xldmVsEg0KCUxPR19FUlJP", + "UhAAEgwKCExPR19XQVJOEAESDAoITE9HX0lORk8QAhINCglMT0dfREVCVUcQ", + "AxINCglMT0dfVFJBQ0UQBEIQqgINTGl2ZUtpdC5Qcm90b2IGcHJvdG8z")); 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", "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.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.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), @@ -226,6 +231,9 @@ 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; @@ -399,8 +407,20 @@ 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 = 12; + public const int CreateVideoTrackFieldNumber = 13; /// /// Track /// @@ -415,7 +435,7 @@ public FfiRequest Clone() { } /// Field number for the "create_audio_track" field. - public const int CreateAudioTrackFieldNumber = 13; + public const int CreateAudioTrackFieldNumber = 14; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.CreateAudioTrackRequest CreateAudioTrack { @@ -427,7 +447,7 @@ public FfiRequest Clone() { } /// Field number for the "get_stats" field. - public const int GetStatsFieldNumber = 14; + public const int GetStatsFieldNumber = 15; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetStatsRequest GetStats { @@ -578,9 +598,10 @@ public enum MessageOneofCase { UpdateLocalMetadata = 9, UpdateLocalName = 10, GetSessionStats = 11, - CreateVideoTrack = 12, - CreateAudioTrack = 13, - GetStats = 14, + PublishTranscription = 12, + CreateVideoTrack = 13, + CreateAudioTrack = 14, + GetStats = 15, NewVideoStream = 16, NewVideoSource = 17, CaptureVideoFrame = 18, @@ -631,6 +652,7 @@ 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; @@ -662,6 +684,7 @@ 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(); @@ -734,16 +757,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + if (messageCase_ == MessageOneofCase.PublishTranscription) { output.WriteRawTag(98); + output.WriteMessage(PublishTranscription); + } + if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + output.WriteRawTag(106); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(106); + output.WriteRawTag(114); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(114); + output.WriteRawTag(122); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -836,16 +863,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + if (messageCase_ == MessageOneofCase.PublishTranscription) { output.WriteRawTag(98); + output.WriteMessage(PublishTranscription); + } + if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + output.WriteRawTag(106); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(106); + output.WriteRawTag(114); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(114); + output.WriteRawTag(122); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -928,6 +959,9 @@ 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); } @@ -1040,6 +1074,12 @@ 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(); @@ -1226,6 +1266,15 @@ 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); @@ -1234,7 +1283,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 106: { + case 114: { global::LiveKit.Proto.CreateAudioTrackRequest subBuilder = new global::LiveKit.Proto.CreateAudioTrackRequest(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -1243,7 +1292,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 114: { + case 122: { global::LiveKit.Proto.GetStatsRequest subBuilder = new global::LiveKit.Proto.GetStatsRequest(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -1448,6 +1497,15 @@ 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); @@ -1456,7 +1514,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 106: { + case 114: { global::LiveKit.Proto.CreateAudioTrackRequest subBuilder = new global::LiveKit.Proto.CreateAudioTrackRequest(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -1465,7 +1523,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 114: { + case 122: { global::LiveKit.Proto.GetStatsRequest subBuilder = new global::LiveKit.Proto.GetStatsRequest(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -1640,6 +1698,9 @@ 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; @@ -1813,8 +1874,20 @@ 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 = 12; + public const int CreateVideoTrackFieldNumber = 13; /// /// Track /// @@ -1829,7 +1902,7 @@ public FfiResponse Clone() { } /// Field number for the "create_audio_track" field. - public const int CreateAudioTrackFieldNumber = 13; + public const int CreateAudioTrackFieldNumber = 14; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.CreateAudioTrackResponse CreateAudioTrack { @@ -1841,7 +1914,7 @@ public FfiResponse Clone() { } /// Field number for the "get_stats" field. - public const int GetStatsFieldNumber = 14; + public const int GetStatsFieldNumber = 15; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetStatsResponse GetStats { @@ -1992,9 +2065,10 @@ public enum MessageOneofCase { UpdateLocalMetadata = 9, UpdateLocalName = 10, GetSessionStats = 11, - CreateVideoTrack = 12, - CreateAudioTrack = 13, - GetStats = 14, + PublishTranscription = 12, + CreateVideoTrack = 13, + CreateAudioTrack = 14, + GetStats = 15, NewVideoStream = 16, NewVideoSource = 17, CaptureVideoFrame = 18, @@ -2045,6 +2119,7 @@ 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; @@ -2076,6 +2151,7 @@ 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(); @@ -2148,16 +2224,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + if (messageCase_ == MessageOneofCase.PublishTranscription) { output.WriteRawTag(98); + output.WriteMessage(PublishTranscription); + } + if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + output.WriteRawTag(106); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(106); + output.WriteRawTag(114); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(114); + output.WriteRawTag(122); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -2250,16 +2330,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(GetSessionStats); } - if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + if (messageCase_ == MessageOneofCase.PublishTranscription) { output.WriteRawTag(98); + output.WriteMessage(PublishTranscription); + } + if (messageCase_ == MessageOneofCase.CreateVideoTrack) { + output.WriteRawTag(106); output.WriteMessage(CreateVideoTrack); } if (messageCase_ == MessageOneofCase.CreateAudioTrack) { - output.WriteRawTag(106); + output.WriteRawTag(114); output.WriteMessage(CreateAudioTrack); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(114); + output.WriteRawTag(122); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.NewVideoStream) { @@ -2342,6 +2426,9 @@ 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); } @@ -2454,6 +2541,12 @@ 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(); @@ -2640,6 +2733,15 @@ 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); @@ -2648,7 +2750,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 106: { + case 114: { global::LiveKit.Proto.CreateAudioTrackResponse subBuilder = new global::LiveKit.Proto.CreateAudioTrackResponse(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -2657,7 +2759,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 114: { + case 122: { global::LiveKit.Proto.GetStatsResponse subBuilder = new global::LiveKit.Proto.GetStatsResponse(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -2862,6 +2964,15 @@ 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); @@ -2870,7 +2981,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateVideoTrack = subBuilder; break; } - case 106: { + case 114: { global::LiveKit.Proto.CreateAudioTrackResponse subBuilder = new global::LiveKit.Proto.CreateAudioTrackResponse(); if (messageCase_ == MessageOneofCase.CreateAudioTrack) { subBuilder.MergeFrom(CreateAudioTrack); @@ -2879,7 +2990,7 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAudioTrack = subBuilder; break; } - case 114: { + case 122: { global::LiveKit.Proto.GetStatsResponse subBuilder = new global::LiveKit.Proto.GetStatsResponse(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -3056,6 +3167,9 @@ 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; @@ -3208,8 +3322,20 @@ 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 = 11; + public const int CaptureAudioFrameFieldNumber = 12; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.CaptureAudioFrameCallback CaptureAudioFrame { @@ -3221,7 +3347,7 @@ public FfiEvent Clone() { } /// Field number for the "update_local_metadata" field. - public const int UpdateLocalMetadataFieldNumber = 12; + public const int UpdateLocalMetadataFieldNumber = 13; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.UpdateLocalMetadataCallback UpdateLocalMetadata { @@ -3233,7 +3359,7 @@ public FfiEvent Clone() { } /// Field number for the "update_local_name" field. - public const int UpdateLocalNameFieldNumber = 13; + public const int UpdateLocalNameFieldNumber = 14; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.UpdateLocalNameCallback UpdateLocalName { @@ -3245,7 +3371,7 @@ public FfiEvent Clone() { } /// Field number for the "get_stats" field. - public const int GetStatsFieldNumber = 14; + public const int GetStatsFieldNumber = 15; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetStatsCallback GetStats { @@ -3257,7 +3383,7 @@ public FfiEvent Clone() { } /// Field number for the "logs" field. - public const int LogsFieldNumber = 15; + public const int LogsFieldNumber = 16; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.LogBatch Logs { @@ -3269,7 +3395,7 @@ public FfiEvent Clone() { } /// Field number for the "get_session_stats" field. - public const int GetSessionStatsFieldNumber = 16; + public const int GetSessionStatsFieldNumber = 17; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.GetSessionStatsCallback GetSessionStats { @@ -3281,7 +3407,7 @@ public FfiEvent Clone() { } /// Field number for the "panic" field. - public const int PanicFieldNumber = 17; + public const int PanicFieldNumber = 18; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.Panic Panic { @@ -3306,13 +3432,14 @@ public enum MessageOneofCase { PublishTrack = 8, UnpublishTrack = 9, PublishData = 10, - CaptureAudioFrame = 11, - UpdateLocalMetadata = 12, - UpdateLocalName = 13, - GetStats = 14, - Logs = 15, - GetSessionStats = 16, - Panic = 17, + PublishTranscription = 11, + CaptureAudioFrame = 12, + UpdateLocalMetadata = 13, + UpdateLocalName = 14, + GetStats = 15, + Logs = 16, + GetSessionStats = 17, + Panic = 18, } private MessageOneofCase messageCase_ = MessageOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3353,6 +3480,7 @@ 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; @@ -3378,6 +3506,7 @@ 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(); @@ -3444,32 +3573,36 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(PublishData); } - if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { + if (messageCase_ == MessageOneofCase.PublishTranscription) { output.WriteRawTag(90); + output.WriteMessage(PublishTranscription); + } + if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { + output.WriteRawTag(98); output.WriteMessage(CaptureAudioFrame); } if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { - output.WriteRawTag(98); + output.WriteRawTag(106); output.WriteMessage(UpdateLocalMetadata); } if (messageCase_ == MessageOneofCase.UpdateLocalName) { - output.WriteRawTag(106); + output.WriteRawTag(114); output.WriteMessage(UpdateLocalName); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(114); + output.WriteRawTag(122); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.Logs) { - output.WriteRawTag(122); + output.WriteRawTag(130, 1); output.WriteMessage(Logs); } if (messageCase_ == MessageOneofCase.GetSessionStats) { - output.WriteRawTag(130, 1); + output.WriteRawTag(138, 1); output.WriteMessage(GetSessionStats); } if (messageCase_ == MessageOneofCase.Panic) { - output.WriteRawTag(138, 1); + output.WriteRawTag(146, 1); output.WriteMessage(Panic); } if (_unknownFields != null) { @@ -3522,32 +3655,36 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(PublishData); } - if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { + if (messageCase_ == MessageOneofCase.PublishTranscription) { output.WriteRawTag(90); + output.WriteMessage(PublishTranscription); + } + if (messageCase_ == MessageOneofCase.CaptureAudioFrame) { + output.WriteRawTag(98); output.WriteMessage(CaptureAudioFrame); } if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { - output.WriteRawTag(98); + output.WriteRawTag(106); output.WriteMessage(UpdateLocalMetadata); } if (messageCase_ == MessageOneofCase.UpdateLocalName) { - output.WriteRawTag(106); + output.WriteRawTag(114); output.WriteMessage(UpdateLocalName); } if (messageCase_ == MessageOneofCase.GetStats) { - output.WriteRawTag(114); + output.WriteRawTag(122); output.WriteMessage(GetStats); } if (messageCase_ == MessageOneofCase.Logs) { - output.WriteRawTag(122); + output.WriteRawTag(130, 1); output.WriteMessage(Logs); } if (messageCase_ == MessageOneofCase.GetSessionStats) { - output.WriteRawTag(130, 1); + output.WriteRawTag(138, 1); output.WriteMessage(GetSessionStats); } if (messageCase_ == MessageOneofCase.Panic) { - output.WriteRawTag(138, 1); + output.WriteRawTag(146, 1); output.WriteMessage(Panic); } if (_unknownFields != null) { @@ -3590,6 +3727,9 @@ 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); } @@ -3603,7 +3743,7 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GetStats); } if (messageCase_ == MessageOneofCase.Logs) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Logs); + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Logs); } if (messageCase_ == MessageOneofCase.GetSessionStats) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSessionStats); @@ -3684,6 +3824,12 @@ 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(); @@ -3834,6 +3980,15 @@ 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); @@ -3842,7 +3997,7 @@ public void MergeFrom(pb::CodedInputStream input) { CaptureAudioFrame = subBuilder; break; } - case 98: { + case 106: { global::LiveKit.Proto.UpdateLocalMetadataCallback subBuilder = new global::LiveKit.Proto.UpdateLocalMetadataCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { subBuilder.MergeFrom(UpdateLocalMetadata); @@ -3851,7 +4006,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalMetadata = subBuilder; break; } - case 106: { + case 114: { global::LiveKit.Proto.UpdateLocalNameCallback subBuilder = new global::LiveKit.Proto.UpdateLocalNameCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalName) { subBuilder.MergeFrom(UpdateLocalName); @@ -3860,7 +4015,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalName = subBuilder; break; } - case 114: { + case 122: { global::LiveKit.Proto.GetStatsCallback subBuilder = new global::LiveKit.Proto.GetStatsCallback(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -3869,7 +4024,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetStats = subBuilder; break; } - case 122: { + case 130: { global::LiveKit.Proto.LogBatch subBuilder = new global::LiveKit.Proto.LogBatch(); if (messageCase_ == MessageOneofCase.Logs) { subBuilder.MergeFrom(Logs); @@ -3878,7 +4033,7 @@ public void MergeFrom(pb::CodedInputStream input) { Logs = subBuilder; break; } - case 130: { + case 138: { global::LiveKit.Proto.GetSessionStatsCallback subBuilder = new global::LiveKit.Proto.GetSessionStatsCallback(); if (messageCase_ == MessageOneofCase.GetSessionStats) { subBuilder.MergeFrom(GetSessionStats); @@ -3887,7 +4042,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetSessionStats = subBuilder; break; } - case 138: { + case 146: { global::LiveKit.Proto.Panic subBuilder = new global::LiveKit.Proto.Panic(); if (messageCase_ == MessageOneofCase.Panic) { subBuilder.MergeFrom(Panic); @@ -4002,6 +4157,15 @@ 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); @@ -4010,7 +4174,7 @@ public void MergeFrom(pb::CodedInputStream input) { CaptureAudioFrame = subBuilder; break; } - case 98: { + case 106: { global::LiveKit.Proto.UpdateLocalMetadataCallback subBuilder = new global::LiveKit.Proto.UpdateLocalMetadataCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalMetadata) { subBuilder.MergeFrom(UpdateLocalMetadata); @@ -4019,7 +4183,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalMetadata = subBuilder; break; } - case 106: { + case 114: { global::LiveKit.Proto.UpdateLocalNameCallback subBuilder = new global::LiveKit.Proto.UpdateLocalNameCallback(); if (messageCase_ == MessageOneofCase.UpdateLocalName) { subBuilder.MergeFrom(UpdateLocalName); @@ -4028,7 +4192,7 @@ public void MergeFrom(pb::CodedInputStream input) { UpdateLocalName = subBuilder; break; } - case 114: { + case 122: { global::LiveKit.Proto.GetStatsCallback subBuilder = new global::LiveKit.Proto.GetStatsCallback(); if (messageCase_ == MessageOneofCase.GetStats) { subBuilder.MergeFrom(GetStats); @@ -4037,7 +4201,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetStats = subBuilder; break; } - case 122: { + case 130: { global::LiveKit.Proto.LogBatch subBuilder = new global::LiveKit.Proto.LogBatch(); if (messageCase_ == MessageOneofCase.Logs) { subBuilder.MergeFrom(Logs); @@ -4046,7 +4210,7 @@ public void MergeFrom(pb::CodedInputStream input) { Logs = subBuilder; break; } - case 130: { + case 138: { global::LiveKit.Proto.GetSessionStatsCallback subBuilder = new global::LiveKit.Proto.GetSessionStatsCallback(); if (messageCase_ == MessageOneofCase.GetSessionStats) { subBuilder.MergeFrom(GetSessionStats); @@ -4055,7 +4219,7 @@ public void MergeFrom(pb::CodedInputStream input) { GetSessionStats = subBuilder; break; } - case 138: { + case 146: { 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 c8d15a1..255cc0b 100644 --- a/Runtime/Scripts/Proto/Room.cs +++ b/Runtime/Scripts/Proto/Room.cs @@ -52,138 +52,150 @@ static RoomReflection() { "a19zaWQYAiABKAkSGQoRc3RvcF9vbl91bnB1Ymxpc2gYAyABKAgiKgoWVW5w", "dWJsaXNoVHJhY2tSZXNwb25zZRIQCghhc3luY19pZBgBIAEoBCJIChZVbnB1", "Ymxpc2hUcmFja0NhbGxiYWNrEhAKCGFzeW5jX2lkGAEgASgEEhIKBWVycm9y", - "GAIgASgJSACIAQFCCAoGX2Vycm9yIr8BChJQdWJsaXNoRGF0YVJlcXVlc3QS", + "GAIgASgJSACIAQFCCAoGX2Vycm9yIsgBChJQdWJsaXNoRGF0YVJlcXVlc3QS", "IAoYbG9jYWxfcGFydGljaXBhbnRfaGFuZGxlGAEgASgEEhAKCGRhdGFfcHRy", - "GAIgASgEEhAKCGRhdGFfbGVuGAMgASgEEisKBGtpbmQYBCABKA4yHS5saXZl", - "a2l0LnByb3RvLkRhdGFQYWNrZXRLaW5kEhgKEGRlc3RpbmF0aW9uX3NpZHMY", - "BSADKAkSEgoFdG9waWMYBiABKAlIAIgBAUIICgZfdG9waWMiJwoTUHVibGlz", - "aERhdGFSZXNwb25zZRIQCghhc3luY19pZBgBIAEoBCJFChNQdWJsaXNoRGF0", - "YUNhbGxiYWNrEhAKCGFzeW5jX2lkGAEgASgEEhIKBWVycm9yGAIgASgJSACI", - "AQFCCAoGX2Vycm9yIlAKGlVwZGF0ZUxvY2FsTWV0YWRhdGFSZXF1ZXN0EiAK", - "GGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAEoBBIQCghtZXRhZGF0YRgC", - "IAEoCSIvChtVcGRhdGVMb2NhbE1ldGFkYXRhUmVzcG9uc2USEAoIYXN5bmNf", - "aWQYASABKAQiLwobVXBkYXRlTG9jYWxNZXRhZGF0YUNhbGxiYWNrEhAKCGFz", - "eW5jX2lkGAEgASgEIkgKFlVwZGF0ZUxvY2FsTmFtZVJlcXVlc3QSIAoYbG9j", - "YWxfcGFydGljaXBhbnRfaGFuZGxlGAEgASgEEgwKBG5hbW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UgASgIEhEKCXNpbXVs", - "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", - "aXQucHJvdG8uVHJhY2tVbm11dGVkSAASRwoXYWN0aXZlX3NwZWFrZXJ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AEoCBILCgNyZWQYBSABKAgSEQoJc2ltdWxjYXN0GAYg", + "ASgIEioKBnNvdXJjZRgHIAEoDjIaLmxpdmVraXQucHJvdG8uVHJhY2tTb3Vy", + "Y2UiPQoJSWNlU2VydmVyEgwKBHVybHMYASADKAkSEAoIdXNlcm5hbWUYAiAB", + "KAkSEAoIcGFzc3dvcmQYAyABKAkihAIKCVJ0Y0NvbmZpZxJAChJpY2VfdHJh", + "bnNwb3J0X3R5cGUYASABKA4yHy5saXZla2l0LnByb3RvLkljZVRyYW5zcG9y", + "dFR5cGVIAIgBARJQChpjb250aW51YWxfZ2F0aGVyaW5nX3BvbGljeRgCIAEo", + "DjInLmxpdmVraXQucHJvdG8uQ29udGludWFsR2F0aGVyaW5nUG9saWN5SAGI", + "AQESLQoLaWNlX3NlcnZlcnMYAyADKAsyGC5saXZla2l0LnByb3RvLkljZVNl", + "cnZlckIVChNfaWNlX3RyYW5zcG9ydF90eXBlQh0KG19jb250aW51YWxfZ2F0", + "aGVyaW5nX3BvbGljeSLgAQoLUm9vbU9wdGlvbnMSFgoOYXV0b19zdWJzY3Jp", + "YmUYASABKAgSFwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIEhAKCGR5bmFjYXN0", + "GAMgASgIEi0KBGUyZWUYBCABKAsyGi5saXZla2l0LnByb3RvLkUyZWVPcHRp", + "b25zSACIAQESMQoKcnRjX2NvbmZpZxgFIAEoCzIYLmxpdmVraXQucHJvdG8u", + "UnRjQ29uZmlnSAGIAQESFAoMam9pbl9yZXRyaWVzGAYgASgNQgcKBV9lMmVl", + "Qg0KC19ydGNfY29uZmlnIncKFFRyYW5zY3JpcHRpb25TZWdtZW50EgoKAmlk", + "GAEgASgJEgwKBHRleHQYAiABKAkSEgoKc3RhcnRfdGltZRgDIAEoBBIQCghl", + "bmRfdGltZRgEIAEoBBINCgVmaW5hbBgFIAEoCBIQCghsYW5ndWFnZRgGIAEo", + "CSIwCgpCdWZmZXJJbmZvEhAKCGRhdGFfcHRyG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aWxlZEgAEjAKC3RyYWNrX211", + "dGVkGAsgASgLMhkubGl2ZWtpdC5wcm90by5UcmFja011dGVkSAASNAoNdHJh", + "Y2tfdW5tdXRlZBgMIAEoCzIbLmxpdmVraXQucHJvdG8uVHJhY2tVbm11dGVk", + "SAASRwoXYWN0aXZlX3NwZWFrZXJzX2NoYW5nZWQYDSABKAsyJC5saXZla2l0", + "LnByb3RvLkFjdGl2ZVNwZWFrZXJzQ2hhbmdlZEgAEkMKFXJvb21fbWV0YWRh", + "dGFfY2hhbmdlZBgOIAEoCzIiLmxpdmVraXQucHJvdG8uUm9vbU1ldGFkYXRh", + "Q2hhbmdlZEgAEjkKEHJvb21fc2lkX2NoYW5nZWQYDyABKAsyHS5saXZla2l0", + "LnByb3RvLlJvb21TaWRDaGFuZ2VkSAASUQoccGFydGljaXBhbnRfbWV0YWRh", + "dGFfY2hhbmdlZBgQIAEoCzIpLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRN", + "ZXRhZGF0YUNoYW5nZWRIABJJChhwYXJ0aWNpcGFudF9uYW1lX2NoYW5nZWQY", + "ESABKAsyJS5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50TmFtZUNoYW5nZWRI", + "ABJNChpjb25uZWN0aW9uX3F1YWxpdHlfY2hhbmdlZBgSIAEoCzInLmxpdmVr", + "aXQucHJvdG8uQ29ubmVjdGlvblF1YWxpdHlDaGFuZ2VkSAASSQoYY29ubmVj", + "dGlvbl9zdGF0ZV9jaGFuZ2VkGBMgASgLMiUubGl2ZWtpdC5wcm90by5Db25u", + "ZWN0aW9uU3RhdGVDaGFuZ2VkSAASMwoMZGlzY29ubmVjdGVkGBUgASgLMhsu", + "bGl2ZWtpdC5wcm90by5EaXNjb25uZWN0ZWRIABIzCgxyZWNvbm5lY3RpbmcY", + "FiABKAsyGy5saXZla2l0LnByb3RvLlJlY29ubmVjdGluZ0gAEjEKC3JlY29u", + "bmVjdGVkGBcgASgLMhoubGl2ZWtpdC5wcm90by5SZWNvbm5lY3RlZEgAEj0K", + "EmUyZWVfc3RhdGVfY2hhbmdlZBgYIAEoCzIfLmxpdmVraXQucHJvdG8uRTJl", + "ZVN0YXRlQ2hhbmdlZEgAEiUKA2VvcxgZIAEoCzIWLmxpdmVraXQucHJvdG8u", + "Um9vbUVPU0gAEkEKFGRhdGFfcGFja2V0X3JlY2VpdmVkGBogASgLMiEubGl2", + "ZWtpdC5wcm90by5EYXRhUGFja2V0UmVjZWl2ZWRIAEIJCgdtZXNzYWdlIjcK", + "CFJvb21JbmZvEgsKA3NpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhAKCG1ldGFk", + "YXRhGAMgASgJImEKCU93bmVkUm9vbRItCgZoYW5kbGUYASABKAsyHS5saXZl", + "a2l0LnByb3RvLkZmaU93bmVkSGFuZGxlEiUKBGluZm8YAiABKAsyFy5saXZl", + "a2l0LnByb3RvLlJvb21JbmZvIkUKFFBhcnRpY2lwYW50Q29ubmVjdGVkEi0K", + "BGluZm8YASABKAsyHy5saXZla2l0LnByb3RvLk93bmVkUGFydGljaXBhbnQi", + "MgoXUGFydGljaXBhbnREaXNjb25uZWN0ZWQSFwoPcGFydGljaXBhbnRfc2lk", + "GAEgASgJIigKE0xvY2FsVHJhY2tQdWJsaXNoZWQSEQoJdHJhY2tfc2lkGAEg", + "ASgJIjAKFUxvY2FsVHJhY2tVbnB1Ymxpc2hlZBIXCg9wdWJsaWNhdGlvbl9z", + "aWQYASABKAkiZAoOVHJhY2tQdWJsaXNoZWQSFwoPcGFydGljaXBhbnRfc2lk", + "GAEgASgJEjkKC3B1YmxpY2F0aW9uGAIgASgLMiQubGl2ZWtpdC5wcm90by5P", + "d25lZFRyYWNrUHVibGljYXRpb24iRAoQVHJhY2tVbnB1Ymxpc2hlZBIXCg9w", + "YXJ0aWNpcGFudF9zaWQYASABKAkSFwoPcHVibGljYXRpb25fc2lkGAIgASgJ", + "IlQKD1RyYWNrU3Vic2NyaWJlZBIXCg9wYXJ0aWNpcGFudF9zaWQY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FWENFTExFTlQQ", + "AhIQCgxRVUFMSVRZX0xPU1QQAypTCg9Db25uZWN0aW9uU3RhdGUSFQoRQ09O", + "Tl9ESVNDT05ORUNURUQQABISCg5DT05OX0NPTk5FQ1RFRBABEhUKEUNPTk5f", + "UkVDT05ORUNUSU5HEAIqMwoORGF0YVBhY2tldEtpbmQSDgoKS0lORF9MT1NT", + "WRAAEhEKDUtJTkRfUkVMSUFCTEUQAUIQqgINTGl2ZUtpdC5Qcm90b2IGcHJv", + "dG8z")); 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[] { @@ -199,9 +211,12 @@ static RoomReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.UnpublishTrackRequest), global::LiveKit.Proto.UnpublishTrackRequest.Parser, new[]{ "LocalParticipantHandle", "TrackSid", "StopOnUnpublish" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.UnpublishTrackResponse), global::LiveKit.Proto.UnpublishTrackResponse.Parser, new[]{ "AsyncId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.UnpublishTrackCallback), global::LiveKit.Proto.UnpublishTrackCallback.Parser, new[]{ "AsyncId", "Error" }, new[]{ "Error" }, null, null, null), - 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.PublishDataRequest), global::LiveKit.Proto.PublishDataRequest.Parser, new[]{ "LocalParticipantHandle", "DataPtr", "DataLen", "Reliable", "DestinationSids", "Topic", "DestinationIdentities" }, 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" }, 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), @@ -219,9 +234,10 @@ 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", "Language" }, 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), + 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", "RoomSidChanged", "ParticipantMetadataChanged", "ParticipantNameChanged", "ConnectionQualityChanged", "ConnectionStateChanged", "Disconnected", "Reconnecting", "Reconnected", "E2EeStateChanged", "Eos", "DataPacketReceived" }, new[]{ "Message" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.RoomInfo), global::LiveKit.Proto.RoomInfo.Parser, new[]{ "Sid", "Name", "Metadata" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.OwnedRoom), global::LiveKit.Proto.OwnedRoom.Parser, new[]{ "Handle", "Info" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.ParticipantConnected), global::LiveKit.Proto.ParticipantConnected.Parser, new[]{ "Info" }, null, null, null, null), @@ -238,6 +254,7 @@ static RoomReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.E2eeStateChanged), global::LiveKit.Proto.E2eeStateChanged.Parser, new[]{ "ParticipantSid", "State" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.ActiveSpeakersChanged), global::LiveKit.Proto.ActiveSpeakersChanged.Parser, new[]{ "ParticipantSids" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.RoomMetadataChanged), global::LiveKit.Proto.RoomMetadataChanged.Parser, new[]{ "Metadata" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.RoomSidChanged), global::LiveKit.Proto.RoomSidChanged.Parser, new[]{ "Sid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.ParticipantMetadataChanged), global::LiveKit.Proto.ParticipantMetadataChanged.Parser, new[]{ "ParticipantSid", "Metadata" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.ParticipantNameChanged), global::LiveKit.Proto.ParticipantNameChanged.Parser, new[]{ "ParticipantSid", "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.ConnectionQualityChanged), global::LiveKit.Proto.ConnectionQualityChanged.Parser, new[]{ "ParticipantSid", "Quality" }, null, null, null, null), @@ -3415,9 +3432,10 @@ public PublishDataRequest(PublishDataRequest other) : this() { localParticipantHandle_ = other.localParticipantHandle_; dataPtr_ = other.dataPtr_; dataLen_ = other.dataLen_; - kind_ = other.kind_; + reliable_ = other.reliable_; destinationSids_ = other.destinationSids_.Clone(); topic_ = other.topic_; + destinationIdentities_ = other.destinationIdentities_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3463,15 +3481,15 @@ public ulong DataLen { } } - /// Field number for the "kind" field. - public const int KindFieldNumber = 4; - private global::LiveKit.Proto.DataPacketKind kind_ = global::LiveKit.Proto.DataPacketKind.KindLossy; + /// Field number for the "reliable" field. + public const int ReliableFieldNumber = 4; + private bool reliable_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.DataPacketKind Kind { - get { return kind_; } + public bool Reliable { + get { return reliable_; } set { - kind_ = value; + reliable_ = value; } } @@ -3480,9 +3498,7 @@ public ulong DataLen { private static readonly pb::FieldCodec _repeated_destinationSids_codec = pb::FieldCodec.ForString(42); private readonly pbc::RepeatedField destinationSids_ = new pbc::RepeatedField(); - /// - /// destination - /// + [global::System.ObsoleteAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField DestinationSids { @@ -3515,6 +3531,17 @@ public void ClearTopic() { topic_ = null; } + /// Field number for the "destination_identities" field. + public const int DestinationIdentitiesFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_destinationIdentities_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField destinationIdentities_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DestinationIdentities { + get { return destinationIdentities_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3533,9 +3560,10 @@ public bool Equals(PublishDataRequest other) { if (LocalParticipantHandle != other.LocalParticipantHandle) return false; if (DataPtr != other.DataPtr) return false; if (DataLen != other.DataLen) return false; - if (Kind != other.Kind) return false; + if (Reliable != other.Reliable) return false; if(!destinationSids_.Equals(other.destinationSids_)) return false; if (Topic != other.Topic) return false; + if(!destinationIdentities_.Equals(other.destinationIdentities_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3546,9 +3574,10 @@ public override int GetHashCode() { if (LocalParticipantHandle != 0UL) hash ^= LocalParticipantHandle.GetHashCode(); if (DataPtr != 0UL) hash ^= DataPtr.GetHashCode(); if (DataLen != 0UL) hash ^= DataLen.GetHashCode(); - if (Kind != global::LiveKit.Proto.DataPacketKind.KindLossy) hash ^= Kind.GetHashCode(); + if (Reliable != false) hash ^= Reliable.GetHashCode(); hash ^= destinationSids_.GetHashCode(); if (HasTopic) hash ^= Topic.GetHashCode(); + hash ^= destinationIdentities_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3579,15 +3608,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(24); output.WriteUInt64(DataLen); } - if (Kind != global::LiveKit.Proto.DataPacketKind.KindLossy) { + if (Reliable != false) { output.WriteRawTag(32); - output.WriteEnum((int) Kind); + output.WriteBool(Reliable); } destinationSids_.WriteTo(output, _repeated_destinationSids_codec); if (HasTopic) { output.WriteRawTag(50); output.WriteString(Topic); } + destinationIdentities_.WriteTo(output, _repeated_destinationIdentities_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3610,15 +3640,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(24); output.WriteUInt64(DataLen); } - if (Kind != global::LiveKit.Proto.DataPacketKind.KindLossy) { + if (Reliable != false) { output.WriteRawTag(32); - output.WriteEnum((int) Kind); + output.WriteBool(Reliable); } destinationSids_.WriteTo(ref output, _repeated_destinationSids_codec); if (HasTopic) { output.WriteRawTag(50); output.WriteString(Topic); } + destinationIdentities_.WriteTo(ref output, _repeated_destinationIdentities_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3638,13 +3669,14 @@ public int CalculateSize() { if (DataLen != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DataLen); } - if (Kind != global::LiveKit.Proto.DataPacketKind.KindLossy) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind); + if (Reliable != false) { + size += 1 + 1; } size += destinationSids_.CalculateSize(_repeated_destinationSids_codec); if (HasTopic) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Topic); } + size += destinationIdentities_.CalculateSize(_repeated_destinationIdentities_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3666,13 +3698,14 @@ public void MergeFrom(PublishDataRequest other) { if (other.DataLen != 0UL) { DataLen = other.DataLen; } - if (other.Kind != global::LiveKit.Proto.DataPacketKind.KindLossy) { - Kind = other.Kind; + if (other.Reliable != false) { + Reliable = other.Reliable; } destinationSids_.Add(other.destinationSids_); if (other.HasTopic) { Topic = other.Topic; } + destinationIdentities_.Add(other.destinationIdentities_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3701,7 +3734,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - Kind = (global::LiveKit.Proto.DataPacketKind) input.ReadEnum(); + Reliable = input.ReadBool(); break; } case 42: { @@ -3712,6 +3745,10 @@ public void MergeFrom(pb::CodedInputStream input) { Topic = input.ReadString(); break; } + case 58: { + destinationIdentities_.AddEntriesFrom(input, _repeated_destinationIdentities_codec); + break; + } } } #endif @@ -3740,7 +3777,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - Kind = (global::LiveKit.Proto.DataPacketKind) input.ReadEnum(); + Reliable = input.ReadBool(); break; } case 42: { @@ -3751,6 +3788,10 @@ public void MergeFrom(pb::CodedInputStream input) { Topic = input.ReadString(); break; } + case 58: { + destinationIdentities_.AddEntriesFrom(ref input, _repeated_destinationIdentities_codec); + break; + } } } } @@ -4190,19 +4231,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Change the local participant's metadata + /// Publish transcription messages to room /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalMetadataRequest : pb::IMessage + public sealed partial class PublishTranscriptionRequest : 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 PublishTranscriptionRequest()); 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)] @@ -4218,7 +4259,7 @@ public sealed partial class UpdateLocalMetadataRequest : pb::IMessageField number for the "local_participant_handle" field. @@ -4250,27 +4293,50 @@ public ulong LocalParticipantHandle { } } - /// Field number for the "metadata" field. - public const int MetadataFieldNumber = 2; - private string metadata_ = ""; + /// 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 Metadata { - get { return metadata_; } + public string ParticipantIdentity { + get { return participantIdentity_; } set { - metadata_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + 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_; } + } + [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 PublishTranscriptionRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalMetadataRequest other) { + public bool Equals(PublishTranscriptionRequest other) { if (ReferenceEquals(other, null)) { return false; } @@ -4278,7 +4344,9 @@ public bool Equals(UpdateLocalMetadataRequest other) { return true; } if (LocalParticipantHandle != other.LocalParticipantHandle) return false; - if (Metadata != other.Metadata) return false; + if (ParticipantIdentity != other.ParticipantIdentity) return false; + if (TrackId != other.TrackId) return false; + if(!segments_.Equals(other.segments_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4287,7 +4355,9 @@ 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 (ParticipantIdentity.Length != 0) hash ^= ParticipantIdentity.GetHashCode(); + if (TrackId.Length != 0) hash ^= TrackId.GetHashCode(); + hash ^= segments_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4310,10 +4380,15 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (Metadata.Length != 0) { + if (ParticipantIdentity.Length != 0) { output.WriteRawTag(18); - output.WriteString(Metadata); + output.WriteString(ParticipantIdentity); + } + if (TrackId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TrackId); } + segments_.WriteTo(output, _repeated_segments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4328,10 +4403,15 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (Metadata.Length != 0) { + if (ParticipantIdentity.Length != 0) { output.WriteRawTag(18); - output.WriteString(Metadata); + output.WriteString(ParticipantIdentity); } + if (TrackId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TrackId); + } + segments_.WriteTo(ref output, _repeated_segments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4345,9 +4425,13 @@ public int CalculateSize() { if (LocalParticipantHandle != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocalParticipantHandle); } - if (Metadata.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Metadata); + 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 (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4356,16 +4440,20 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalMetadataRequest other) { + public void MergeFrom(PublishTranscriptionRequest other) { if (other == null) { return; } if (other.LocalParticipantHandle != 0UL) { LocalParticipantHandle = other.LocalParticipantHandle; } - if (other.Metadata.Length != 0) { - Metadata = other.Metadata; + if (other.ParticipantIdentity.Length != 0) { + ParticipantIdentity = other.ParticipantIdentity; } + if (other.TrackId.Length != 0) { + TrackId = other.TrackId; + } + segments_.Add(other.segments_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4386,7 +4474,15 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - Metadata = input.ReadString(); + ParticipantIdentity = input.ReadString(); + break; + } + case 26: { + TrackId = input.ReadString(); + break; + } + case 34: { + segments_.AddEntriesFrom(input, _repeated_segments_codec); break; } } @@ -4409,7 +4505,15 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - Metadata = input.ReadString(); + ParticipantIdentity = input.ReadString(); + break; + } + case 26: { + TrackId = input.ReadString(); + break; + } + case 34: { + segments_.AddEntriesFrom(ref input, _repeated_segments_codec); break; } } @@ -4420,16 +4524,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalMetadataResponse : pb::IMessage + public sealed partial class PublishTranscriptionResponse : 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 PublishTranscriptionResponse()); 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)] @@ -4445,7 +4549,7 @@ public sealed partial class UpdateLocalMetadataResponse : pb::IMessageField number for the "async_id" field. @@ -4479,12 +4583,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 PublishTranscriptionResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalMetadataResponse other) { + public bool Equals(PublishTranscriptionResponse other) { if (ReferenceEquals(other, null)) { return false; } @@ -4557,7 +4661,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalMetadataResponse other) { + public void MergeFrom(PublishTranscriptionResponse other) { if (other == null) { return; } @@ -4610,16 +4714,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalMetadataCallback : pb::IMessage + public sealed partial class PublishTranscriptionCallback : 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 PublishTranscriptionCallback()); 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)] @@ -4635,7 +4739,7 @@ public sealed partial class UpdateLocalMetadataCallback : pb::IMessageField number for the "async_id" field. @@ -4666,15 +4771,41 @@ 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 UpdateLocalMetadataCallback); + return Equals(other as PublishTranscriptionCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalMetadataCallback other) { + public bool Equals(PublishTranscriptionCallback other) { if (ReferenceEquals(other, null)) { return false; } @@ -4682,6 +4813,7 @@ public bool Equals(UpdateLocalMetadataCallback other) { return true; } if (AsyncId != other.AsyncId) return false; + if (Error != other.Error) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4690,6 +4822,7 @@ public bool Equals(UpdateLocalMetadataCallback 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(); } @@ -4712,6 +4845,10 @@ 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); } @@ -4726,6 +4863,10 @@ 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); } @@ -4739,6 +4880,9 @@ 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(); } @@ -4747,13 +4891,16 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalMetadataCallback other) { + public void MergeFrom(PublishTranscriptionCallback 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); } @@ -4773,6 +4920,10 @@ public void MergeFrom(pb::CodedInputStream input) { AsyncId = input.ReadUInt64(); break; } + case 18: { + Error = input.ReadString(); + break; + } } } #endif @@ -4792,6 +4943,10 @@ public void MergeFrom(pb::CodedInputStream input) { AsyncId = input.ReadUInt64(); break; } + case 18: { + Error = input.ReadString(); + break; + } } } } @@ -4800,19 +4955,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Change the local participant's name + /// Change the local participant's metadata /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalNameRequest : 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 UpdateLocalNameRequest()); + 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)] @@ -4828,7 +4983,7 @@ public sealed partial class UpdateLocalNameRequest : pb::IMessageField number for the "local_participant_handle" field. @@ -4860,27 +5015,27 @@ public ulong LocalParticipantHandle { } } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; + /// 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 Name { - get { return name_; } + public string Metadata { + get { return metadata_; } set { - name_ = 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 UpdateLocalNameRequest); + return Equals(other as UpdateLocalMetadataRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalNameRequest other) { + public bool Equals(UpdateLocalMetadataRequest other) { if (ReferenceEquals(other, null)) { return false; } @@ -4888,7 +5043,7 @@ public bool Equals(UpdateLocalNameRequest other) { return true; } if (LocalParticipantHandle != other.LocalParticipantHandle) return false; - if (Name != other.Name) return false; + if (Metadata != other.Metadata) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4897,7 +5052,7 @@ public bool Equals(UpdateLocalNameRequest other) { public override int GetHashCode() { int hash = 1; if (LocalParticipantHandle != 0UL) hash ^= LocalParticipantHandle.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Metadata.Length != 0) hash ^= Metadata.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4920,9 +5075,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (Name.Length != 0) { + if (Metadata.Length != 0) { output.WriteRawTag(18); - output.WriteString(Name); + output.WriteString(Metadata); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -4938,9 +5093,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteUInt64(LocalParticipantHandle); } - if (Name.Length != 0) { + if (Metadata.Length != 0) { output.WriteRawTag(18); - output.WriteString(Name); + output.WriteString(Metadata); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -4955,8 +5110,8 @@ public int CalculateSize() { if (LocalParticipantHandle != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocalParticipantHandle); } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + if (Metadata.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Metadata); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -4966,15 +5121,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalNameRequest other) { + public void MergeFrom(UpdateLocalMetadataRequest other) { if (other == null) { return; } if (other.LocalParticipantHandle != 0UL) { LocalParticipantHandle = other.LocalParticipantHandle; } - if (other.Name.Length != 0) { - Name = other.Name; + if (other.Metadata.Length != 0) { + Metadata = other.Metadata; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4996,7 +5151,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - Name = input.ReadString(); + Metadata = input.ReadString(); break; } } @@ -5019,7 +5174,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 18: { - Name = input.ReadString(); + Metadata = input.ReadString(); break; } } @@ -5030,16 +5185,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalNameResponse : 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 UpdateLocalNameResponse()); + 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)] @@ -5055,7 +5210,7 @@ public sealed partial class UpdateLocalNameResponse : pb::IMessageField number for the "async_id" field. @@ -5089,12 +5244,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 UpdateLocalNameResponse); + return Equals(other as UpdateLocalMetadataResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalNameResponse other) { + public bool Equals(UpdateLocalMetadataResponse other) { if (ReferenceEquals(other, null)) { return false; } @@ -5167,7 +5322,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalNameResponse other) { + public void MergeFrom(UpdateLocalMetadataResponse other) { if (other == null) { return; } @@ -5220,16 +5375,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UpdateLocalNameCallback : 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 UpdateLocalNameCallback()); + 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)] @@ -5245,7 +5400,7 @@ public sealed partial class UpdateLocalNameCallback : pb::IMessageField number for the "async_id" field. @@ -5279,12 +5434,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 UpdateLocalNameCallback); + return Equals(other as UpdateLocalMetadataCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UpdateLocalNameCallback other) { + public bool Equals(UpdateLocalMetadataCallback other) { if (ReferenceEquals(other, null)) { return false; } @@ -5357,7 +5512,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UpdateLocalNameCallback other) { + public void MergeFrom(UpdateLocalMetadataCallback other) { if (other == null) { return; } @@ -5410,19 +5565,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Change the "desire" to subs2ribe to a track + /// Change the local participant's name /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SetSubscribedRequest : 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 SetSubscribedRequest()); + 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)] @@ -5438,7 +5593,7 @@ public sealed partial class SetSubscribedRequest : pb::IMessageField number for the "subscribe" field. - public const int SubscribeFieldNumber = 1; - private bool subscribe_; + /// Field number for the "local_participant_handle" field. + public const int LocalParticipantHandleFieldNumber = 1; + private ulong localParticipantHandle_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Subscribe { - get { return subscribe_; } + public ulong LocalParticipantHandle { + get { return localParticipantHandle_; } set { - subscribe_ = value; + localParticipantHandle_ = value; } } - /// Field number for the "publication_handle" field. - public const int PublicationHandleFieldNumber = 2; - private ulong publicationHandle_; + /// 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 ulong PublicationHandle { - get { return publicationHandle_; } + public string Name { + get { return name_; } set { - publicationHandle_ = 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 SetSubscribedRequest); + return Equals(other as UpdateLocalNameRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SetSubscribedRequest other) { + public bool Equals(UpdateLocalNameRequest 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 (LocalParticipantHandle != other.LocalParticipantHandle) return false; + if (Name != other.Name) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5506,8 +5661,8 @@ 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 (LocalParticipantHandle != 0UL) hash ^= LocalParticipantHandle.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5526,13 +5681,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Subscribe != false) { + if (LocalParticipantHandle != 0UL) { output.WriteRawTag(8); - output.WriteBool(Subscribe); + output.WriteUInt64(LocalParticipantHandle); } - if (PublicationHandle != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(PublicationHandle); + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -5544,13 +5699,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 (Subscribe != false) { + if (LocalParticipantHandle != 0UL) { output.WriteRawTag(8); - output.WriteBool(Subscribe); + output.WriteUInt64(LocalParticipantHandle); } - if (PublicationHandle != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(PublicationHandle); + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -5562,11 +5717,11 @@ 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 (LocalParticipantHandle != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LocalParticipantHandle); } - if (PublicationHandle != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PublicationHandle); + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -5576,15 +5731,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SetSubscribedRequest other) { + public void MergeFrom(UpdateLocalNameRequest other) { if (other == null) { return; } - if (other.Subscribe != false) { - Subscribe = other.Subscribe; + if (other.LocalParticipantHandle != 0UL) { + LocalParticipantHandle = other.LocalParticipantHandle; } - if (other.PublicationHandle != 0UL) { - PublicationHandle = other.PublicationHandle; + if (other.Name.Length != 0) { + Name = other.Name; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5602,11 +5757,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Subscribe = input.ReadBool(); + LocalParticipantHandle = input.ReadUInt64(); break; } - case 16: { - PublicationHandle = input.ReadUInt64(); + case 18: { + Name = input.ReadString(); break; } } @@ -5625,11 +5780,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Subscribe = input.ReadBool(); + LocalParticipantHandle = input.ReadUInt64(); break; } - case 16: { - PublicationHandle = input.ReadUInt64(); + case 18: { + Name = input.ReadString(); break; } } @@ -5640,16 +5795,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SetSubscribedResponse : 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 SetSubscribedResponse()); + 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)] @@ -5665,7 +5820,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; + } } [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 UpdateLocalNameResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SetSubscribedResponse other) { + public bool Equals(UpdateLocalNameResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (AsyncId != other.AsyncId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5705,6 +5874,7 @@ 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 (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5723,6 +5893,10 @@ 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); } @@ -5733,6 +5907,10 @@ 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); } @@ -5743,6 +5921,9 @@ 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(); } @@ -5751,10 +5932,13 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SetSubscribedResponse other) { + public void MergeFrom(UpdateLocalNameResponse other) { if (other == null) { return; } + if (other.AsyncId != 0UL) { + AsyncId = other.AsyncId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5770,6 +5954,10 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + AsyncId = input.ReadUInt64(); + break; + } } } #endif @@ -5785,6 +5973,10 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 8: { + AsyncId = input.ReadUInt64(); + break; + } } } } @@ -5793,16 +5985,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GetSessionStatsRequest : 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 GetSessionStatsRequest()); + 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)] @@ -5818,7 +6010,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 "async_id" field. + public const int AsyncIdFieldNumber = 1; + private ulong asyncId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong RoomHandle { - get { return roomHandle_; } + public ulong AsyncId { + get { return asyncId_; } set { - roomHandle_ = value; + asyncId_ = 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 UpdateLocalNameCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSessionStatsRequest other) { + public bool Equals(UpdateLocalNameCallback other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (RoomHandle != other.RoomHandle) return false; + if (AsyncId != other.AsyncId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5872,7 +6064,7 @@ 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 (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5891,9 +6083,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (RoomHandle != 0UL) { + if (AsyncId != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(RoomHandle); + output.WriteUInt64(AsyncId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -5905,9 +6097,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 (RoomHandle != 0UL) { + if (AsyncId != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(RoomHandle); + output.WriteUInt64(AsyncId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -5919,8 +6111,8 @@ 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 (AsyncId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -5930,12 +6122,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSessionStatsRequest other) { + public void MergeFrom(UpdateLocalNameCallback other) { if (other == null) { return; } - if (other.RoomHandle != 0UL) { - RoomHandle = other.RoomHandle; + if (other.AsyncId != 0UL) { + AsyncId = other.AsyncId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5953,7 +6145,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - RoomHandle = input.ReadUInt64(); + AsyncId = input.ReadUInt64(); break; } } @@ -5972,7 +6164,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - RoomHandle = input.ReadUInt64(); + AsyncId = input.ReadUInt64(); break; } } @@ -5982,17 +6174,20 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Change the "desire" to subs2ribe to a track + /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GetSessionStatsResponse : 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 GetSessionStatsResponse()); + 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)] @@ -6008,7 +6203,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 "subscribe" field. + public const int SubscribeFieldNumber = 1; + private bool subscribe_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong AsyncId { - get { return asyncId_; } + public bool Subscribe { + get { return subscribe_; } set { - asyncId_ = value; + subscribe_ = value; + } + } + + /// 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 ulong PublicationHandle { + get { return publicationHandle_; } + set { + publicationHandle_ = 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 SetSubscribedRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSessionStatsResponse other) { + public bool Equals(SetSubscribedRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AsyncId != other.AsyncId) return false; + if (Subscribe != other.Subscribe) return false; + if (PublicationHandle != other.PublicationHandle) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6062,7 +6271,8 @@ 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 (Subscribe != false) hash ^= Subscribe.GetHashCode(); + if (PublicationHandle != 0UL) hash ^= PublicationHandle.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6081,9 +6291,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AsyncId != 0UL) { + if (Subscribe != false) { output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + output.WriteBool(Subscribe); + } + if (PublicationHandle != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PublicationHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6095,9 +6309,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 (AsyncId != 0UL) { + if (Subscribe != false) { output.WriteRawTag(8); - output.WriteUInt64(AsyncId); + output.WriteBool(Subscribe); + } + if (PublicationHandle != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(PublicationHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6109,8 +6327,11 @@ 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 (Subscribe != false) { + size += 1 + 1; + } + if (PublicationHandle != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PublicationHandle); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6120,12 +6341,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSessionStatsResponse other) { + public void MergeFrom(SetSubscribedRequest other) { if (other == null) { return; } - if (other.AsyncId != 0UL) { - AsyncId = other.AsyncId; + if (other.Subscribe != false) { + Subscribe = other.Subscribe; + } + if (other.PublicationHandle != 0UL) { + PublicationHandle = other.PublicationHandle; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6143,7 +6367,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - AsyncId = input.ReadUInt64(); + Subscribe = input.ReadBool(); + break; + } + case 16: { + PublicationHandle = input.ReadUInt64(); break; } } @@ -6162,7 +6390,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - AsyncId = input.ReadUInt64(); + Subscribe = input.ReadBool(); + break; + } + case 16: { + PublicationHandle = input.ReadUInt64(); break; } } @@ -6173,16 +6405,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GetSessionStatsCallback : 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 GetSessionStatsCallback()); + 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)] @@ -6198,7 +6430,7 @@ public sealed partial class GetSessionStatsCallback : 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_; } + 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 GetSessionStatsCallback); + return Equals(other as SetSubscribedResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetSessionStatsCallback other) { + public bool Equals(SetSubscribedResponse 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); } @@ -6306,10 +6470,6 @@ 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 (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6328,16 +6488,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 (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); } @@ -6348,16 +6498,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 (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); } @@ -6368,14 +6508,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 (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(); } @@ -6384,18 +6516,10 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetSessionStatsCallback other) { + public void MergeFrom(SetSubscribedResponse 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); } @@ -6411,22 +6535,6 @@ 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 @@ -6442,22 +6550,6 @@ 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; - } } } } @@ -6466,16 +6558,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VideoEncoding : 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 VideoEncoding()); + 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)] @@ -6491,7 +6583,7 @@ public sealed partial class VideoEncoding : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VideoEncoding() { + public GetSessionStatsRequest() { OnConstruction(); } @@ -6499,59 +6591,45 @@ 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 GetSessionStatsRequest(GetSessionStatsRequest other) : this() { + roomHandle_ = other.roomHandle_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VideoEncoding Clone() { - return new VideoEncoding(this); - } - - /// 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 MaxBitrate { - get { return maxBitrate_; } - set { - maxBitrate_ = value; - } + public GetSessionStatsRequest Clone() { + return new GetSessionStatsRequest(this); } - /// Field number for the "max_framerate" field. - public const int MaxFramerateFieldNumber = 2; - private double maxFramerate_; + /// 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 double MaxFramerate { - get { return maxFramerate_; } + public ulong RoomHandle { + get { return roomHandle_; } set { - maxFramerate_ = value; + roomHandle_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as VideoEncoding); + return Equals(other as GetSessionStatsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VideoEncoding other) { + public bool Equals(GetSessionStatsRequest 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 (RoomHandle != other.RoomHandle) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6559,8 +6637,7 @@ 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); + if (RoomHandle != 0UL) hash ^= RoomHandle.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6579,13 +6656,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (MaxBitrate != 0UL) { + if (RoomHandle != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); - } - if (MaxFramerate != 0D) { - output.WriteRawTag(17); - output.WriteDouble(MaxFramerate); + output.WriteUInt64(RoomHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6597,13 +6670,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 (MaxBitrate != 0UL) { + if (RoomHandle != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); - } - if (MaxFramerate != 0D) { - output.WriteRawTag(17); - output.WriteDouble(MaxFramerate); + output.WriteUInt64(RoomHandle); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6615,11 +6684,8 @@ 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 (MaxFramerate != 0D) { - size += 1 + 8; + if (RoomHandle != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RoomHandle); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6629,15 +6695,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VideoEncoding other) { + public void MergeFrom(GetSessionStatsRequest other) { if (other == null) { return; } - if (other.MaxBitrate != 0UL) { - MaxBitrate = other.MaxBitrate; - } - if (other.MaxFramerate != 0D) { - MaxFramerate = other.MaxFramerate; + if (other.RoomHandle != 0UL) { + RoomHandle = other.RoomHandle; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6655,11 +6718,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - MaxBitrate = input.ReadUInt64(); - break; - } - case 17: { - MaxFramerate = input.ReadDouble(); + RoomHandle = input.ReadUInt64(); break; } } @@ -6678,11 +6737,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - MaxBitrate = input.ReadUInt64(); - break; - } - case 17: { - MaxFramerate = input.ReadDouble(); + RoomHandle = input.ReadUInt64(); break; } } @@ -6693,16 +6748,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AudioEncoding : 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 AudioEncoding()); + 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)] @@ -6718,7 +6773,7 @@ public sealed partial class AudioEncoding : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AudioEncoding() { + public GetSessionStatsResponse() { OnConstruction(); } @@ -6726,45 +6781,45 @@ public AudioEncoding() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AudioEncoding(AudioEncoding other) : this() { - maxBitrate_ = other.maxBitrate_; + public GetSessionStatsResponse(GetSessionStatsResponse other) : this() { + asyncId_ = other.asyncId_; _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 GetSessionStatsResponse Clone() { + return new GetSessionStatsResponse(this); } - /// Field number for the "max_bitrate" field. - public const int MaxBitrateFieldNumber = 1; - private ulong maxBitrate_; + /// 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 MaxBitrate { - get { return maxBitrate_; } + public ulong AsyncId { + get { return asyncId_; } set { - maxBitrate_ = value; + asyncId_ = value; } } [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 GetSessionStatsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AudioEncoding other) { + public bool Equals(GetSessionStatsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (MaxBitrate != other.MaxBitrate) return false; + if (AsyncId != other.AsyncId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6772,7 +6827,7 @@ 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 (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6791,9 +6846,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (MaxBitrate != 0UL) { + if (AsyncId != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); + output.WriteUInt64(AsyncId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6805,9 +6860,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 (MaxBitrate != 0UL) { + if (AsyncId != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(MaxBitrate); + output.WriteUInt64(AsyncId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6819,8 +6874,8 @@ 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 (AsyncId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6830,12 +6885,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AudioEncoding other) { + public void MergeFrom(GetSessionStatsResponse other) { if (other == null) { return; } - if (other.MaxBitrate != 0UL) { - MaxBitrate = other.MaxBitrate; + if (other.AsyncId != 0UL) { + AsyncId = other.AsyncId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6853,7 +6908,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - MaxBitrate = input.ReadUInt64(); + AsyncId = input.ReadUInt64(); break; } } @@ -6872,7 +6927,7 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - MaxBitrate = input.ReadUInt64(); + AsyncId = input.ReadUInt64(); break; } } @@ -6883,16 +6938,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TrackPublishOptions : 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 TrackPublishOptions()); + 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)] @@ -6908,7 +6963,7 @@ public sealed partial class TrackPublishOptions : pb::IMessageField number for the "video_encoding" field. - public const int VideoEncodingFieldNumber = 1; - private global::LiveKit.Proto.VideoEncoding videoEncoding_; - /// - /// encodings are optional - /// + /// 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 global::LiveKit.Proto.VideoEncoding VideoEncoding { - get { return videoEncoding_; } + public ulong AsyncId { + get { return asyncId_; } set { - videoEncoding_ = value; + asyncId_ = value; } } - /// Field number for the "audio_encoding" field. - public const int AudioEncodingFieldNumber = 2; - private global::LiveKit.Proto.AudioEncoding audioEncoding_; + /// 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 global::LiveKit.Proto.AudioEncoding AudioEncoding { - get { return audioEncoding_; } + public string Error { + get { return error_ ?? ErrorDefaultValue; } set { - audioEncoding_ = value; + error_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - - /// Field number for the "video_codec" field. - public const int VideoCodecFieldNumber = 3; - private global::LiveKit.Proto.VideoCodec videoCodec_ = global::LiveKit.Proto.VideoCodec.Vp8; + /// Gets whether the "error" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.VideoCodec VideoCodec { - get { return videoCodec_; } - set { - videoCodec_ = value; - } + public bool HasError { + get { return error_ != null; } } - - /// Field number for the "dtx" field. - public const int DtxFieldNumber = 4; - private bool dtx_; + /// Clears the value of the "error" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Dtx { - get { return dtx_; } - set { - dtx_ = value; - } + public void ClearError() { + error_ = null; } - /// Field number for the "red" field. - public const int RedFieldNumber = 5; - private bool red_; + /// 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 bool Red { - get { return red_; } - set { - red_ = value; - } + public pbc::RepeatedField PublisherStats { + get { return publisherStats_; } } - /// Field number for the "simulcast" field. - public const int SimulcastFieldNumber = 6; - private bool simulcast_; + /// 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 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; - } + 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 TrackPublishOptions); + return Equals(other as GetSessionStatsCallback); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TrackPublishOptions other) { + public bool Equals(GetSessionStatsCallback 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; + 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); } @@ -7049,13 +7071,10 @@ public bool Equals(TrackPublishOptions other) { [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 (AsyncId != 0UL) hash ^= AsyncId.GetHashCode(); + if (HasError) hash ^= Error.GetHashCode(); + hash ^= publisherStats_.GetHashCode(); + hash ^= subscriberStats_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7074,34 +7093,16 @@ 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 (AsyncId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(AsyncId); } - if (audioEncoding_ != null) { + if (HasError) { 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); + output.WriteString(Error); } + publisherStats_.WriteTo(output, _repeated_publisherStats_codec); + subscriberStats_.WriteTo(output, _repeated_subscriberStats_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -7112,34 +7113,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 (videoEncoding_ != null) { - output.WriteRawTag(10); - output.WriteMessage(VideoEncoding); + if (AsyncId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(AsyncId); } - if (audioEncoding_ != null) { + if (HasError) { 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); + output.WriteString(Error); } + publisherStats_.WriteTo(ref output, _repeated_publisherStats_codec); + subscriberStats_.WriteTo(ref output, _repeated_subscriberStats_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7150,27 +7133,14 @@ public void WriteTo(pb::CodedOutputStream output) { [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 (AsyncId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AsyncId); } - if (Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source); + 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(); } @@ -7179,37 +7149,18 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TrackPublishOptions other) { + public void MergeFrom(GetSessionStatsCallback 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.AsyncId != 0UL) { + AsyncId = other.AsyncId; } - if (other.Source != global::LiveKit.Proto.TrackSource.SourceUnknown) { - Source = other.Source; + if (other.HasError) { + Error = other.Error; } + publisherStats_.Add(other.publisherStats_); + subscriberStats_.Add(other.subscriberStats_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7225,38 +7176,20 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - if (videoEncoding_ == null) { - VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); - } - input.ReadMessage(VideoEncoding); + case 8: { + AsyncId = input.ReadUInt64(); 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(); + Error = input.ReadString(); break; } - case 48: { - Simulcast = input.ReadBool(); + case 26: { + publisherStats_.AddEntriesFrom(input, _repeated_publisherStats_codec); break; } - case 56: { - Source = (global::LiveKit.Proto.TrackSource) input.ReadEnum(); + case 34: { + subscriberStats_.AddEntriesFrom(input, _repeated_subscriberStats_codec); break; } } @@ -7274,38 +7207,20 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - if (videoEncoding_ == null) { - VideoEncoding = new global::LiveKit.Proto.VideoEncoding(); - } - input.ReadMessage(VideoEncoding); + case 8: { + AsyncId = input.ReadUInt64(); 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(); + Error = input.ReadString(); break; } - case 48: { - Simulcast = input.ReadBool(); + case 26: { + publisherStats_.AddEntriesFrom(ref input, _repeated_publisherStats_codec); break; } - case 56: { - Source = (global::LiveKit.Proto.TrackSource) input.ReadEnum(); + case 34: { + subscriberStats_.AddEntriesFrom(ref input, _repeated_subscriberStats_codec); break; } } @@ -7316,16 +7231,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class IceServer : 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 IceServer()); + 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)] @@ -7341,7 +7256,7 @@ public sealed partial class IceServer : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IceServer() { + public VideoEncoding() { OnConstruction(); } @@ -7349,72 +7264,59 @@ public IceServer() { [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_; + public VideoEncoding(VideoEncoding other) : this() { + maxBitrate_ = other.maxBitrate_; + maxFramerate_ = other.maxFramerate_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IceServer Clone() { - return new IceServer(this); + public VideoEncoding Clone() { + return new VideoEncoding(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(); + /// 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 pbc::RepeatedField Urls { - get { return urls_; } + public ulong MaxBitrate { + get { return maxBitrate_; } + set { + maxBitrate_ = value; + } } - /// 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_ = ""; + /// 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 string Password { - get { return password_; } + public double MaxFramerate { + get { return maxFramerate_; } set { - password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + maxFramerate_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as IceServer); + return Equals(other as VideoEncoding); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(IceServer other) { + public bool Equals(VideoEncoding 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; + if (MaxBitrate != other.MaxBitrate) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxFramerate, other.MaxFramerate)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7422,9 +7324,8 @@ public bool Equals(IceServer other) { [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 (MaxBitrate != 0UL) hash ^= MaxBitrate.GetHashCode(); + if (MaxFramerate != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxFramerate); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7443,14 +7344,13 @@ 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 (MaxBitrate != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(MaxBitrate); } - if (Password.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Password); + if (MaxFramerate != 0D) { + output.WriteRawTag(17); + output.WriteDouble(MaxFramerate); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -7462,14 +7362,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) { - urls_.WriteTo(ref output, _repeated_urls_codec); - if (Username.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Username); + if (MaxBitrate != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(MaxBitrate); } - if (Password.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Password); + if (MaxFramerate != 0D) { + output.WriteRawTag(17); + output.WriteDouble(MaxFramerate); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -7481,12 +7380,11 @@ public void WriteTo(pb::CodedOutputStream output) { [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 (MaxBitrate != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxBitrate); } - if (Password.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); + if (MaxFramerate != 0D) { + size += 1 + 8; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -7496,16 +7394,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(IceServer other) { + public void MergeFrom(VideoEncoding other) { if (other == null) { return; } - urls_.Add(other.urls_); - if (other.Username.Length != 0) { - Username = other.Username; + if (other.MaxBitrate != 0UL) { + MaxBitrate = other.MaxBitrate; } - if (other.Password.Length != 0) { - Password = other.Password; + if (other.MaxFramerate != 0D) { + MaxFramerate = other.MaxFramerate; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7522,16 +7419,12 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - urls_.AddEntriesFrom(input, _repeated_urls_codec); - break; - } - case 18: { - Username = input.ReadString(); + case 8: { + MaxBitrate = input.ReadUInt64(); break; } - case 26: { - Password = input.ReadString(); + case 17: { + MaxFramerate = input.ReadDouble(); break; } } @@ -7549,16 +7442,12 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - urls_.AddEntriesFrom(ref input, _repeated_urls_codec); - break; - } - case 18: { - Username = input.ReadString(); + case 8: { + MaxBitrate = input.ReadUInt64(); break; } - case 26: { - Password = input.ReadString(); + case 17: { + MaxFramerate = input.ReadDouble(); break; } } @@ -7569,17 +7458,16 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RtcConfig : 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 RtcConfig()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AudioEncoding()); 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)] @@ -7595,7 +7483,7 @@ public sealed partial class RtcConfig : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RtcConfig() { + public AudioEncoding() { OnConstruction(); } @@ -7603,106 +7491,45 @@ public RtcConfig() { [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(); + public AudioEncoding(AudioEncoding other) : this() { + maxBitrate_ = other.maxBitrate_; _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; + public AudioEncoding Clone() { + return new AudioEncoding(this); } - /// 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_; + /// 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 global::LiveKit.Proto.ContinualGatheringPolicy ContinualGatheringPolicy { - get { if ((_hasBits0 & 2) != 0) { return continualGatheringPolicy_; } else { return ContinualGatheringPolicyDefaultValue; } } + public ulong MaxBitrate { + get { return maxBitrate_; } set { - _hasBits0 |= 2; - continualGatheringPolicy_ = value; + maxBitrate_ = 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); + return Equals(other as AudioEncoding); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RtcConfig other) { + public bool Equals(AudioEncoding 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; + if (MaxBitrate != other.MaxBitrate) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7710,9 +7537,7 @@ public bool Equals(RtcConfig other) { [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 (MaxBitrate != 0UL) hash ^= MaxBitrate.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7731,15 +7556,10 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (HasIceTransportType) { + if (MaxBitrate != 0UL) { output.WriteRawTag(8); - output.WriteEnum((int) IceTransportType); - } - if (HasContinualGatheringPolicy) { - output.WriteRawTag(16); - output.WriteEnum((int) ContinualGatheringPolicy); + output.WriteUInt64(MaxBitrate); } - iceServers_.WriteTo(output, _repeated_iceServers_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -7750,15 +7570,10 @@ 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 (HasIceTransportType) { + if (MaxBitrate != 0UL) { output.WriteRawTag(8); - output.WriteEnum((int) IceTransportType); - } - if (HasContinualGatheringPolicy) { - output.WriteRawTag(16); - output.WriteEnum((int) ContinualGatheringPolicy); + output.WriteUInt64(MaxBitrate); } - iceServers_.WriteTo(ref output, _repeated_iceServers_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7769,13 +7584,9 @@ public void WriteTo(pb::CodedOutputStream output) { [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); + if (MaxBitrate != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxBitrate); } - size += iceServers_.CalculateSize(_repeated_iceServers_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7784,17 +7595,13 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RtcConfig other) { + public void MergeFrom(AudioEncoding other) { if (other == null) { return; } - if (other.HasIceTransportType) { - IceTransportType = other.IceTransportType; - } - if (other.HasContinualGatheringPolicy) { - ContinualGatheringPolicy = other.ContinualGatheringPolicy; + if (other.MaxBitrate != 0UL) { + MaxBitrate = other.MaxBitrate; } - iceServers_.Add(other.iceServers_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7810,16 +7617,1352 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - IceTransportType = (global::LiveKit.Proto.IceTransportType) input.ReadEnum(); + case 8: { + MaxBitrate = input.ReadUInt64(); + 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: { + 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 16: { - ContinualGatheringPolicy = (global::LiveKit.Proto.ContinualGatheringPolicy) input.ReadEnum(); + case 42: { + if (rtcConfig_ == null) { + RtcConfig = new global::LiveKit.Proto.RtcConfig(); + } + input.ReadMessage(RtcConfig); break; } - case 26: { - iceServers_.AddEntriesFrom(input, _repeated_iceServers_codec); + case 48: { + JoinRetries = input.ReadUInt32(); break; } } @@ -7838,15 +8981,33 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - IceTransportType = (global::LiveKit.Proto.IceTransportType) input.ReadEnum(); + AutoSubscribe = input.ReadBool(); break; } case 16: { - ContinualGatheringPolicy = (global::LiveKit.Proto.ContinualGatheringPolicy) input.ReadEnum(); + AdaptiveStream = input.ReadBool(); break; } - case 26: { - iceServers_.AddEntriesFrom(ref input, _repeated_iceServers_codec); + 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; } } @@ -7857,21 +9018,21 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RoomOptions : pb::IMessage + public sealed partial class TranscriptionSegment : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomOptions()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TranscriptionSegment()); 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[31]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7882,7 +9043,7 @@ public sealed partial class RoomOptions : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RoomOptions() { + public TranscriptionSegment() { OnConstruction(); } @@ -7890,118 +9051,115 @@ public RoomOptions() { [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_; + public TranscriptionSegment(TranscriptionSegment other) : this() { + id_ = other.id_; + text_ = other.text_; + startTime_ = other.startTime_; + endTime_ = other.endTime_; + final_ = other.final_; + language_ = other.language_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RoomOptions Clone() { - return new RoomOptions(this); + public TranscriptionSegment Clone() { + return new TranscriptionSegment(this); } - /// Field number for the "auto_subscribe" field. - public const int AutoSubscribeFieldNumber = 1; - private bool autoSubscribe_; + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AutoSubscribe { - get { return autoSubscribe_; } + public string Id { + get { return id_; } set { - autoSubscribe_ = value; + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "adaptive_stream" field. - public const int AdaptiveStreamFieldNumber = 2; - private bool adaptiveStream_; + /// Field number for the "text" field. + public const int TextFieldNumber = 2; + private string text_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AdaptiveStream { - get { return adaptiveStream_; } + public string Text { + get { return text_; } set { - adaptiveStream_ = value; + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "dynacast" field. - public const int DynacastFieldNumber = 3; - private bool dynacast_; + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 3; + private ulong startTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Dynacast { - get { return dynacast_; } + public ulong StartTime { + get { return startTime_; } set { - dynacast_ = value; + startTime_ = value; } } - /// Field number for the "e2ee" field. - public const int E2EeFieldNumber = 4; - private global::LiveKit.Proto.E2eeOptions e2Ee_; + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 4; + private ulong endTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.E2eeOptions E2Ee { - get { return e2Ee_; } + public ulong EndTime { + get { return endTime_; } set { - e2Ee_ = value; + endTime_ = 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 - /// + /// Field number for the "final" field. + public const int FinalFieldNumber = 5; + private bool final_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LiveKit.Proto.RtcConfig RtcConfig { - get { return rtcConfig_; } + public bool Final { + get { return final_; } set { - rtcConfig_ = value; + final_ = value; } } - /// Field number for the "join_retries" field. - public const int JoinRetriesFieldNumber = 6; - private uint joinRetries_; + /// Field number for the "language" field. + public const int LanguageFieldNumber = 6; + private string language_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint JoinRetries { - get { return joinRetries_; } + public string Language { + get { return language_; } set { - joinRetries_ = value; + language_ = 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 RoomOptions); + return Equals(other as TranscriptionSegment); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RoomOptions other) { + public bool Equals(TranscriptionSegment 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; + 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 (Language != other.Language) return false; return Equals(_unknownFields, other._unknownFields); } @@ -8009,12 +9167,12 @@ public bool Equals(RoomOptions other) { [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 (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 (Language.Length != 0) hash ^= Language.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8033,29 +9191,29 @@ 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 (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); } - if (AdaptiveStream != false) { - output.WriteRawTag(16); - output.WriteBool(AdaptiveStream); + if (Text.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Text); } - if (Dynacast != false) { + if (StartTime != 0UL) { output.WriteRawTag(24); - output.WriteBool(Dynacast); + output.WriteUInt64(StartTime); } - if (e2Ee_ != null) { - output.WriteRawTag(34); - output.WriteMessage(E2Ee); + if (EndTime != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(EndTime); } - if (rtcConfig_ != null) { - output.WriteRawTag(42); - output.WriteMessage(RtcConfig); + if (Final != false) { + output.WriteRawTag(40); + output.WriteBool(Final); } - if (JoinRetries != 0) { - output.WriteRawTag(48); - output.WriteUInt32(JoinRetries); + if (Language.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Language); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -8067,29 +9225,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 (AutoSubscribe != false) { - output.WriteRawTag(8); - output.WriteBool(AutoSubscribe); + if (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); } - if (AdaptiveStream != false) { - output.WriteRawTag(16); - output.WriteBool(AdaptiveStream); + if (Text.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Text); } - if (Dynacast != false) { + if (StartTime != 0UL) { output.WriteRawTag(24); - output.WriteBool(Dynacast); + output.WriteUInt64(StartTime); } - if (e2Ee_ != null) { - output.WriteRawTag(34); - output.WriteMessage(E2Ee); + if (EndTime != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(EndTime); } - if (rtcConfig_ != null) { - output.WriteRawTag(42); - output.WriteMessage(RtcConfig); + if (Final != false) { + output.WriteRawTag(40); + output.WriteBool(Final); } - if (JoinRetries != 0) { - output.WriteRawTag(48); - output.WriteUInt32(JoinRetries); + if (Language.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Language); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -8101,23 +9259,23 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AutoSubscribe != false) { - size += 1 + 1; + if (Id.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } - if (AdaptiveStream != false) { - size += 1 + 1; + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); } - if (Dynacast != false) { - size += 1 + 1; + if (StartTime != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StartTime); } - if (e2Ee_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(E2Ee); + if (EndTime != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EndTime); } - if (rtcConfig_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RtcConfig); + if (Final != false) { + size += 1 + 1; } - if (JoinRetries != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinRetries); + if (Language.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Language); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8127,33 +9285,27 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RoomOptions other) { + public void MergeFrom(TranscriptionSegment other) { if (other == null) { return; } - if (other.AutoSubscribe != false) { - AutoSubscribe = other.AutoSubscribe; + if (other.Id.Length != 0) { + Id = other.Id; } - 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; + if (other.Language.Length != 0) { + Language = other.Language; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -8170,34 +9322,28 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - AutoSubscribe = input.ReadBool(); + case 10: { + Id = input.ReadString(); break; } - case 16: { - AdaptiveStream = input.ReadBool(); + case 18: { + Text = input.ReadString(); break; } case 24: { - Dynacast = input.ReadBool(); + StartTime = input.ReadUInt64(); break; } - case 34: { - if (e2Ee_ == null) { - E2Ee = new global::LiveKit.Proto.E2eeOptions(); - } - input.ReadMessage(E2Ee); + case 32: { + EndTime = input.ReadUInt64(); break; } - case 42: { - if (rtcConfig_ == null) { - RtcConfig = new global::LiveKit.Proto.RtcConfig(); - } - input.ReadMessage(RtcConfig); + case 40: { + Final = input.ReadBool(); break; } - case 48: { - JoinRetries = input.ReadUInt32(); + case 50: { + Language = input.ReadString(); break; } } @@ -8215,34 +9361,28 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - AutoSubscribe = input.ReadBool(); + case 10: { + Id = input.ReadString(); break; } - case 16: { - AdaptiveStream = input.ReadBool(); + case 18: { + Text = input.ReadString(); break; } case 24: { - Dynacast = input.ReadBool(); + StartTime = input.ReadUInt64(); break; } - case 34: { - if (e2Ee_ == null) { - E2Ee = new global::LiveKit.Proto.E2eeOptions(); - } - input.ReadMessage(E2Ee); + case 32: { + EndTime = input.ReadUInt64(); break; } - case 42: { - if (rtcConfig_ == null) { - RtcConfig = new global::LiveKit.Proto.RtcConfig(); - } - input.ReadMessage(RtcConfig); + case 40: { + Final = input.ReadBool(); break; } - case 48: { - JoinRetries = input.ReadUInt32(); + case 50: { + Language = input.ReadString(); break; } } @@ -8267,7 +9407,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[32]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8494,7 +9634,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[33]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[37]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8739,7 +9879,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[34]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8800,6 +9940,9 @@ public RoomEvent(RoomEvent other) : this() { case MessageOneofCase.RoomMetadataChanged: RoomMetadataChanged = other.RoomMetadataChanged.Clone(); break; + case MessageOneofCase.RoomSidChanged: + RoomSidChanged = other.RoomSidChanged.Clone(); + break; case MessageOneofCase.ParticipantMetadataChanged: ParticipantMetadataChanged = other.ParticipantMetadataChanged.Clone(); break; @@ -9009,8 +10152,20 @@ public ulong RoomHandle { } } + /// Field number for the "room_sid_changed" field. + public const int RoomSidChangedFieldNumber = 15; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LiveKit.Proto.RoomSidChanged RoomSidChanged { + get { return messageCase_ == MessageOneofCase.RoomSidChanged ? (global::LiveKit.Proto.RoomSidChanged) message_ : null; } + set { + message_ = value; + messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.RoomSidChanged; + } + } + /// Field number for the "participant_metadata_changed" field. - public const int ParticipantMetadataChangedFieldNumber = 15; + public const int ParticipantMetadataChangedFieldNumber = 16; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.ParticipantMetadataChanged ParticipantMetadataChanged { @@ -9022,7 +10177,7 @@ public ulong RoomHandle { } /// Field number for the "participant_name_changed" field. - public const int ParticipantNameChangedFieldNumber = 16; + public const int ParticipantNameChangedFieldNumber = 17; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.ParticipantNameChanged ParticipantNameChanged { @@ -9034,7 +10189,7 @@ public ulong RoomHandle { } /// Field number for the "connection_quality_changed" field. - public const int ConnectionQualityChangedFieldNumber = 17; + public const int ConnectionQualityChangedFieldNumber = 18; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::LiveKit.Proto.ConnectionQualityChanged ConnectionQualityChanged { @@ -9152,9 +10307,10 @@ public enum MessageOneofCase { TrackUnmuted = 12, ActiveSpeakersChanged = 13, RoomMetadataChanged = 14, - ParticipantMetadataChanged = 15, - ParticipantNameChanged = 16, - ConnectionQualityChanged = 17, + RoomSidChanged = 15, + ParticipantMetadataChanged = 16, + ParticipantNameChanged = 17, + ConnectionQualityChanged = 18, ConnectionStateChanged = 19, Disconnected = 21, Reconnecting = 22, @@ -9206,6 +10362,7 @@ public bool Equals(RoomEvent other) { if (!object.Equals(TrackUnmuted, other.TrackUnmuted)) return false; if (!object.Equals(ActiveSpeakersChanged, other.ActiveSpeakersChanged)) return false; if (!object.Equals(RoomMetadataChanged, other.RoomMetadataChanged)) return false; + if (!object.Equals(RoomSidChanged, other.RoomSidChanged)) return false; if (!object.Equals(ParticipantMetadataChanged, other.ParticipantMetadataChanged)) return false; if (!object.Equals(ParticipantNameChanged, other.ParticipantNameChanged)) return false; if (!object.Equals(ConnectionQualityChanged, other.ConnectionQualityChanged)) return false; @@ -9238,6 +10395,7 @@ public override int GetHashCode() { if (messageCase_ == MessageOneofCase.TrackUnmuted) hash ^= TrackUnmuted.GetHashCode(); if (messageCase_ == MessageOneofCase.ActiveSpeakersChanged) hash ^= ActiveSpeakersChanged.GetHashCode(); if (messageCase_ == MessageOneofCase.RoomMetadataChanged) hash ^= RoomMetadataChanged.GetHashCode(); + if (messageCase_ == MessageOneofCase.RoomSidChanged) hash ^= RoomSidChanged.GetHashCode(); if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) hash ^= ParticipantMetadataChanged.GetHashCode(); if (messageCase_ == MessageOneofCase.ParticipantNameChanged) hash ^= ParticipantNameChanged.GetHashCode(); if (messageCase_ == MessageOneofCase.ConnectionQualityChanged) hash ^= ConnectionQualityChanged.GetHashCode(); @@ -9323,16 +10481,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(114); output.WriteMessage(RoomMetadataChanged); } - if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) { + if (messageCase_ == MessageOneofCase.RoomSidChanged) { output.WriteRawTag(122); + output.WriteMessage(RoomSidChanged); + } + if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) { + output.WriteRawTag(130, 1); output.WriteMessage(ParticipantMetadataChanged); } if (messageCase_ == MessageOneofCase.ParticipantNameChanged) { - output.WriteRawTag(130, 1); + output.WriteRawTag(138, 1); output.WriteMessage(ParticipantNameChanged); } if (messageCase_ == MessageOneofCase.ConnectionQualityChanged) { - output.WriteRawTag(138, 1); + output.WriteRawTag(146, 1); output.WriteMessage(ConnectionQualityChanged); } if (messageCase_ == MessageOneofCase.ConnectionStateChanged) { @@ -9429,16 +10591,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(114); output.WriteMessage(RoomMetadataChanged); } + if (messageCase_ == MessageOneofCase.RoomSidChanged) { + output.WriteRawTag(122); + output.WriteMessage(RoomSidChanged); + } if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) { - output.WriteRawTag(122); + output.WriteRawTag(130, 1); output.WriteMessage(ParticipantMetadataChanged); } if (messageCase_ == MessageOneofCase.ParticipantNameChanged) { - output.WriteRawTag(130, 1); + output.WriteRawTag(138, 1); output.WriteMessage(ParticipantNameChanged); } if (messageCase_ == MessageOneofCase.ConnectionQualityChanged) { - output.WriteRawTag(138, 1); + output.WriteRawTag(146, 1); output.WriteMessage(ConnectionQualityChanged); } if (messageCase_ == MessageOneofCase.ConnectionStateChanged) { @@ -9521,8 +10687,11 @@ public int CalculateSize() { if (messageCase_ == MessageOneofCase.RoomMetadataChanged) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMetadataChanged); } + if (messageCase_ == MessageOneofCase.RoomSidChanged) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomSidChanged); + } if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ParticipantMetadataChanged); + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ParticipantMetadataChanged); } if (messageCase_ == MessageOneofCase.ParticipantNameChanged) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(ParticipantNameChanged); @@ -9645,6 +10814,12 @@ public void MergeFrom(RoomEvent other) { } RoomMetadataChanged.MergeFrom(other.RoomMetadataChanged); break; + case MessageOneofCase.RoomSidChanged: + if (RoomSidChanged == null) { + RoomSidChanged = new global::LiveKit.Proto.RoomSidChanged(); + } + RoomSidChanged.MergeFrom(other.RoomSidChanged); + break; case MessageOneofCase.ParticipantMetadataChanged: if (ParticipantMetadataChanged == null) { ParticipantMetadataChanged = new global::LiveKit.Proto.ParticipantMetadataChanged(); @@ -9844,6 +11019,15 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 122: { + global::LiveKit.Proto.RoomSidChanged subBuilder = new global::LiveKit.Proto.RoomSidChanged(); + if (messageCase_ == MessageOneofCase.RoomSidChanged) { + subBuilder.MergeFrom(RoomSidChanged); + } + input.ReadMessage(subBuilder); + RoomSidChanged = subBuilder; + break; + } + case 130: { global::LiveKit.Proto.ParticipantMetadataChanged subBuilder = new global::LiveKit.Proto.ParticipantMetadataChanged(); if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) { subBuilder.MergeFrom(ParticipantMetadataChanged); @@ -9852,7 +11036,7 @@ public void MergeFrom(pb::CodedInputStream input) { ParticipantMetadataChanged = subBuilder; break; } - case 130: { + case 138: { global::LiveKit.Proto.ParticipantNameChanged subBuilder = new global::LiveKit.Proto.ParticipantNameChanged(); if (messageCase_ == MessageOneofCase.ParticipantNameChanged) { subBuilder.MergeFrom(ParticipantNameChanged); @@ -9861,7 +11045,7 @@ public void MergeFrom(pb::CodedInputStream input) { ParticipantNameChanged = subBuilder; break; } - case 138: { + case 146: { global::LiveKit.Proto.ConnectionQualityChanged subBuilder = new global::LiveKit.Proto.ConnectionQualityChanged(); if (messageCase_ == MessageOneofCase.ConnectionQualityChanged) { subBuilder.MergeFrom(ConnectionQualityChanged); @@ -10070,6 +11254,15 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 122: { + global::LiveKit.Proto.RoomSidChanged subBuilder = new global::LiveKit.Proto.RoomSidChanged(); + if (messageCase_ == MessageOneofCase.RoomSidChanged) { + subBuilder.MergeFrom(RoomSidChanged); + } + input.ReadMessage(subBuilder); + RoomSidChanged = subBuilder; + break; + } + case 130: { global::LiveKit.Proto.ParticipantMetadataChanged subBuilder = new global::LiveKit.Proto.ParticipantMetadataChanged(); if (messageCase_ == MessageOneofCase.ParticipantMetadataChanged) { subBuilder.MergeFrom(ParticipantMetadataChanged); @@ -10078,7 +11271,7 @@ public void MergeFrom(pb::CodedInputStream input) { ParticipantMetadataChanged = subBuilder; break; } - case 130: { + case 138: { global::LiveKit.Proto.ParticipantNameChanged subBuilder = new global::LiveKit.Proto.ParticipantNameChanged(); if (messageCase_ == MessageOneofCase.ParticipantNameChanged) { subBuilder.MergeFrom(ParticipantNameChanged); @@ -10087,7 +11280,7 @@ public void MergeFrom(pb::CodedInputStream input) { ParticipantNameChanged = subBuilder; break; } - case 138: { + case 146: { global::LiveKit.Proto.ConnectionQualityChanged subBuilder = new global::LiveKit.Proto.ConnectionQualityChanged(); if (messageCase_ == MessageOneofCase.ConnectionQualityChanged) { subBuilder.MergeFrom(ConnectionQualityChanged); @@ -10181,7 +11374,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[35]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10445,7 +11638,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[36]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10690,7 +11883,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[41]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[45]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11699,7 +12892,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[42]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11930,7 +13123,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[43]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12166,7 +13359,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[44]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12396,7 +13589,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[46]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[50]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12887,7 +14080,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[47]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[51]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13114,7 +14307,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[48]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[52]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13344,7 +14537,7 @@ public sealed partial class ActiveSpeakersChanged : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomSidChanged()); + 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[55]; } + } + + [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 RoomSidChanged() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomSidChanged(RoomSidChanged other) : this() { + sid_ = other.sid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomSidChanged Clone() { + return new RoomSidChanged(this); + } + + /// Field number for the "sid" field. + public const int SidFieldNumber = 1; + private string sid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sid { + get { return sid_; } + set { + sid_ = 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 RoomSidChanged); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RoomSidChanged other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Sid != other.Sid) 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 (Sid.Length != 0) hash ^= Sid.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 (Sid.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Sid); + } + 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 (Sid.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Sid); + } + 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 (Sid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sid); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RoomSidChanged other) { + if (other == null) { + return; + } + if (other.Sid.Length != 0) { + Sid = other.Sid; + } + _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: { + Sid = 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: { + Sid = input.ReadString(); + break; + } + } + } + } + #endif + + } + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ParticipantMetadataChanged : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -13713,7 +15096,7 @@ public sealed partial class ParticipantMetadataChanged : 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[54]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[59]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14644,7 +16027,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[55]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[60]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14885,7 +16268,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[58]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[63]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15648,7 +17031,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[59]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[64]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15801,7 +17184,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[60]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[65]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15954,7 +17337,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[61]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[66]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16107,7 +17490,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[62]; } + get { return global::LiveKit.Proto.RoomReflection.Descriptor.MessageTypes[67]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/install.py.meta b/install.py.meta new file mode 100644 index 0000000..dc98092 --- /dev/null +++ b/install.py.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1c2586ee93156429c8542497178279fb +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/version.ini b/version.ini index 8ea1d37..8e35973 100644 --- a/version.ini +++ b/version.ini @@ -1,3 +1,3 @@ [ffi] -version = v0.5.0 +version = v0.6.1 url = https://github.com/livekit/rust-sdks/releases/download \ No newline at end of file diff --git a/version.ini.meta b/version.ini.meta new file mode 100644 index 0000000..27966f3 --- /dev/null +++ b/version.ini.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 15c5887e325c140308b495affff7065f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: