diff --git a/lib/src/proto/google/protobuf/timestamp.pb.dart b/lib/src/proto/google/protobuf/timestamp.pb.dart deleted file mode 100644 index 04d66d54..00000000 --- a/lib/src/proto/google/protobuf/timestamp.pb.dart +++ /dev/null @@ -1,207 +0,0 @@ -// Copyright 2024 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Generated code. Do not modify. -// source: timestamp.proto -// -// @dart = 3.3 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names -// ignore_for_file: curly_braces_in_flow_control_structures -// ignore_for_file: deprecated_member_use_from_same_package -// ignore_for_file: implementation_imports, library_prefixes -// ignore_for_file: non_constant_identifier_names - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; - -/// A Timestamp represents a point in time independent of any time zone or local -/// calendar, encoded as a count of seconds and fractions of seconds at -/// nanosecond resolution. The count is relative to an epoch at UTC midnight on -/// January 1, 1970, in the proleptic Gregorian calendar which extends the -/// Gregorian calendar backwards to year one. -/// -/// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -/// second table is needed for interpretation, using a [24-hour linear -/// smear](https://developers.google.com/time/smear). -/// -/// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -/// restricting to that range, we ensure that we can convert to and from [RFC -/// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. -/// -/// # Examples -/// -/// Example 1: Compute Timestamp from POSIX `time()`. -/// -/// Timestamp timestamp; -/// timestamp.set_seconds(time(NULL)); -/// timestamp.set_nanos(0); -/// -/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. -/// -/// struct timeval tv; -/// gettimeofday(&tv, NULL); -/// -/// Timestamp timestamp; -/// timestamp.set_seconds(tv.tv_sec); -/// timestamp.set_nanos(tv.tv_usec * 1000); -/// -/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. -/// -/// FILETIME ft; -/// GetSystemTimeAsFileTime(&ft); -/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; -/// -/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -/// Timestamp timestamp; -/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); -/// -/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. -/// -/// long millis = System.currentTimeMillis(); -/// -/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -/// .setNanos((int) ((millis % 1000) * 1000000)).build(); -/// -/// Example 5: Compute Timestamp from Java `Instant.now()`. -/// -/// Instant now = Instant.now(); -/// -/// Timestamp timestamp = -/// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) -/// .setNanos(now.getNano()).build(); -/// -/// Example 6: Compute Timestamp from current time in Python. -/// -/// timestamp = Timestamp() -/// timestamp.GetCurrentTime() -/// -/// # JSON Mapping -/// -/// In JSON format, the Timestamp type is encoded as a string in the -/// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -/// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -/// where {year} is always expressed using four digits while {month}, {day}, -/// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -/// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -/// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -/// is required. A proto3 JSON serializer should always use UTC (as indicated by -/// "Z") when printing the Timestamp type and a proto3 JSON parser should be -/// able to accept both UTC and other timezones (as indicated by an offset). -/// -/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -/// 01:30 UTC on January 15, 2017. -/// -/// In JavaScript, one can convert a Date object to this format using the -/// standard -/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -/// method. In Python, a standard `datetime.datetime` object can be converted -/// to this format using -/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -/// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() -/// ) to obtain a formatter capable of generating timestamps in this format. -class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { - factory Timestamp({ - $fixnum.Int64? seconds, - $core.int? nanos, - }) { - final result = create(); - if (seconds != null) result.seconds = seconds; - if (nanos != null) result.nanos = nanos; - return result; - } - - Timestamp._(); - - factory Timestamp.fromBuffer($core.List<$core.int> data, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(data, registry); - factory Timestamp.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Timestamp', - package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), - createEmptyInstance: create, - toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, - fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper) - ..aInt64(1, _omitFieldNames ? '' : 'seconds') - ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) - ..hasRequiredFields = false; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Timestamp clone() => Timestamp()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Timestamp copyWith(void Function(Timestamp) updates) => - super.copyWith((message) => updates(message as Timestamp)) as Timestamp; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Timestamp create() => Timestamp._(); - @$core.override - Timestamp createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Timestamp? _defaultInstance; - - /// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must - /// be between -315576000000 and 315576000000 inclusive (which corresponds to - /// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). - @$pb.TagNumber(1) - $fixnum.Int64 get seconds => $_getI64(0); - @$pb.TagNumber(1) - set seconds($fixnum.Int64 value) => $_setInt64(0, value); - @$pb.TagNumber(1) - $core.bool hasSeconds() => $_has(0); - @$pb.TagNumber(1) - void clearSeconds() => $_clearField(1); - - /// Non-negative fractions of a second at nanosecond resolution. This field is - /// the nanosecond portion of the duration, not an alternative to seconds. - /// Negative second values with fractions must still have non-negative nanos - /// values that count forward in time. Must be between 0 and 999,999,999 - /// inclusive. - @$pb.TagNumber(2) - $core.int get nanos => $_getIZ(1); - @$pb.TagNumber(2) - set nanos($core.int value) => $_setSignedInt32(1, value); - @$pb.TagNumber(2) - $core.bool hasNanos() => $_has(1); - @$pb.TagNumber(2) - void clearNanos() => $_clearField(2); - - /// Creates a new instance from [dateTime]. - /// - /// Time zone information will not be preserved. - static Timestamp fromDateTime($core.DateTime dateTime) { - final result = create(); - $mixin.TimestampMixin.setFromDateTime(result, dateTime); - return result; - } -} - -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_metrics.pb.dart b/lib/src/proto/livekit_metrics.pb.dart index 2641f394..38e9510e 100644 --- a/lib/src/proto/livekit_metrics.pb.dart +++ b/lib/src/proto/livekit_metrics.pb.dart @@ -1,21 +1,21 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_metrics.proto -// +// Generated from livekit_metrics.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; - -import 'google/protobuf/timestamp.pb.dart' as $0; +import 'package:protobuf/well_known_types/google/protobuf/timestamp.pb.dart' + as $0; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -31,7 +31,8 @@ class MetricsBatch extends $pb.GeneratedMessage { }) { final result = create(); if (timestampMs != null) result.timestampMs = timestampMs; - if (normalizedTimestamp != null) result.normalizedTimestamp = normalizedTimestamp; + if (normalizedTimestamp != null) + result.normalizedTimestamp = normalizedTimestamp; if (strData != null) result.strData.addAll(strData); if (timeSeries != null) result.timeSeries.addAll(timeSeries); if (events != null) result.events.addAll(events); @@ -43,24 +44,30 @@ class MetricsBatch extends $pb.GeneratedMessage { factory MetricsBatch.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory MetricsBatch.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory MetricsBatch.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsBatch', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MetricsBatch', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestampMs') - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', + subBuilder: $0.Timestamp.create) ..pPS(3, _omitFieldNames ? '' : 'strData') - ..pc(4, _omitFieldNames ? '' : 'timeSeries', $pb.PbFieldType.PM, + ..pPM(4, _omitFieldNames ? '' : 'timeSeries', subBuilder: TimeSeriesMetric.create) - ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: EventMetric.create) + ..pPM(5, _omitFieldNames ? '' : 'events', + subBuilder: EventMetric.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsBatch clone() => MetricsBatch()..mergeFromMessage(this); + MetricsBatch clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricsBatch copyWith(void Function(MetricsBatch) updates) => - super.copyWith((message) => updates(message as MetricsBatch)) as MetricsBatch; + super.copyWith((message) => updates(message as MetricsBatch)) + as MetricsBatch; @$core.override $pb.BuilderInfo get info_ => _i; @@ -69,9 +76,9 @@ class MetricsBatch extends $pb.GeneratedMessage { static MetricsBatch create() => MetricsBatch._(); @$core.override MetricsBatch createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricsBatch getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetricsBatch getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MetricsBatch? _defaultInstance; @$pb.TagNumber(1) @@ -120,7 +127,8 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { }) { final result = create(); if (label != null) result.label = label; - if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (participantIdentity != null) + result.participantIdentity = participantIdentity; if (trackSid != null) result.trackSid = trackSid; if (samples != null) result.samples.addAll(samples); if (rid != null) result.rid = rid; @@ -136,20 +144,25 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimeSeriesMetric', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OU3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $pb.PbFieldType.OU3) - ..pc(4, _omitFieldNames ? '' : 'samples', $pb.PbFieldType.PM, subBuilder: MetricSample.create) - ..a<$core.int>(5, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TimeSeriesMetric', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'label', fieldType: $pb.PbFieldType.OU3) + ..aI(2, _omitFieldNames ? '' : 'participantIdentity', + fieldType: $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'trackSid', fieldType: $pb.PbFieldType.OU3) + ..pPM(4, _omitFieldNames ? '' : 'samples', + subBuilder: MetricSample.create) + ..aI(5, _omitFieldNames ? '' : 'rid', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TimeSeriesMetric clone() => TimeSeriesMetric()..mergeFromMessage(this); + TimeSeriesMetric clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimeSeriesMetric copyWith(void Function(TimeSeriesMetric) updates) => - super.copyWith((message) => updates(message as TimeSeriesMetric)) as TimeSeriesMetric; + super.copyWith((message) => updates(message as TimeSeriesMetric)) + as TimeSeriesMetric; @$core.override $pb.BuilderInfo get info_ => _i; @@ -158,10 +171,9 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { static TimeSeriesMetric create() => TimeSeriesMetric._(); @$core.override TimeSeriesMetric createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TimeSeriesMetric getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TimeSeriesMetric getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TimeSeriesMetric? _defaultInstance; /// Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index @@ -214,7 +226,8 @@ class MetricSample extends $pb.GeneratedMessage { }) { final result = create(); if (timestampMs != null) result.timestampMs = timestampMs; - if (normalizedTimestamp != null) result.normalizedTimestamp = normalizedTimestamp; + if (normalizedTimestamp != null) + result.normalizedTimestamp = normalizedTimestamp; if (value != null) result.value = value; return result; } @@ -224,21 +237,26 @@ class MetricSample extends $pb.GeneratedMessage { factory MetricSample.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory MetricSample.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory MetricSample.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricSample', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MetricSample', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestampMs') - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) - ..a<$core.double>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', + subBuilder: $0.Timestamp.create) + ..aD(3, _omitFieldNames ? '' : 'value', fieldType: $pb.PbFieldType.OF) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricSample clone() => MetricSample()..mergeFromMessage(this); + MetricSample clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricSample copyWith(void Function(MetricSample) updates) => - super.copyWith((message) => updates(message as MetricSample)) as MetricSample; + super.copyWith((message) => updates(message as MetricSample)) + as MetricSample; @$core.override $pb.BuilderInfo get info_ => _i; @@ -247,9 +265,9 @@ class MetricSample extends $pb.GeneratedMessage { static MetricSample create() => MetricSample._(); @$core.override MetricSample createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricSample getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetricSample getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MetricSample? _defaultInstance; @$pb.TagNumber(1) @@ -296,12 +314,15 @@ class EventMetric extends $pb.GeneratedMessage { }) { final result = create(); if (label != null) result.label = label; - if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (participantIdentity != null) + result.participantIdentity = participantIdentity; if (trackSid != null) result.trackSid = trackSid; if (startTimestampMs != null) result.startTimestampMs = startTimestampMs; if (endTimestampMs != null) result.endTimestampMs = endTimestampMs; - if (normalizedStartTimestamp != null) result.normalizedStartTimestamp = normalizedStartTimestamp; - if (normalizedEndTimestamp != null) result.normalizedEndTimestamp = normalizedEndTimestamp; + if (normalizedStartTimestamp != null) + result.normalizedStartTimestamp = normalizedStartTimestamp; + if (normalizedEndTimestamp != null) + result.normalizedEndTimestamp = normalizedEndTimestamp; if (metadata != null) result.metadata = metadata; if (rid != null) result.rid = rid; return result; @@ -312,27 +333,34 @@ class EventMetric extends $pb.GeneratedMessage { factory EventMetric.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory EventMetric.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory EventMetric.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EventMetric', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OU3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $pb.PbFieldType.OU3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EventMetric', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'label', fieldType: $pb.PbFieldType.OU3) + ..aI(2, _omitFieldNames ? '' : 'participantIdentity', + fieldType: $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'trackSid', fieldType: $pb.PbFieldType.OU3) ..aInt64(4, _omitFieldNames ? '' : 'startTimestampMs') ..aInt64(5, _omitFieldNames ? '' : 'endTimestampMs') - ..aOM<$0.Timestamp>(6, _omitFieldNames ? '' : 'normalizedStartTimestamp', subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(7, _omitFieldNames ? '' : 'normalizedEndTimestamp', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(6, _omitFieldNames ? '' : 'normalizedStartTimestamp', + subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(7, _omitFieldNames ? '' : 'normalizedEndTimestamp', + subBuilder: $0.Timestamp.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') - ..a<$core.int>(9, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) + ..aI(9, _omitFieldNames ? '' : 'rid', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EventMetric clone() => EventMetric()..mergeFromMessage(this); + EventMetric clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EventMetric copyWith(void Function(EventMetric) updates) => - super.copyWith((message) => updates(message as EventMetric)) as EventMetric; + super.copyWith((message) => updates(message as EventMetric)) + as EventMetric; @$core.override $pb.BuilderInfo get info_ => _i; @@ -341,9 +369,9 @@ class EventMetric extends $pb.GeneratedMessage { static EventMetric create() => EventMetric._(); @$core.override EventMetric createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EventMetric getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EventMetric getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EventMetric? _defaultInstance; @$pb.TagNumber(1) @@ -435,11 +463,15 @@ class EventMetric extends $pb.GeneratedMessage { class MetricsRecordingHeader extends $pb.GeneratedMessage { factory MetricsRecordingHeader({ $core.String? roomId, - $core.bool? enableUserDataTraining, + $fixnum.Int64? duration, + $0.Timestamp? startTime, + $core.Iterable<$core.MapEntry<$core.String, $core.String>>? roomTags, }) { final result = create(); if (roomId != null) result.roomId = roomId; - if (enableUserDataTraining != null) result.enableUserDataTraining = enableUserDataTraining; + if (duration != null) result.duration = duration; + if (startTime != null) result.startTime = startTime; + if (roomTags != null) result.roomTags.addEntries(roomTags); return result; } @@ -452,17 +484,30 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsRecordingHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MetricsRecordingHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'roomId') - ..aOB(2, _omitFieldNames ? '' : 'enableUserDataTraining') + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM<$0.Timestamp>(4, _omitFieldNames ? '' : 'startTime', + subBuilder: $0.Timestamp.create) + ..m<$core.String, $core.String>(5, _omitFieldNames ? '' : 'roomTags', + entryClassName: 'MetricsRecordingHeader.RoomTagsEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OS, + packageName: const $pb.PackageName('livekit')) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsRecordingHeader clone() => MetricsRecordingHeader()..mergeFromMessage(this); + MetricsRecordingHeader clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsRecordingHeader copyWith(void Function(MetricsRecordingHeader) updates) => - super.copyWith((message) => updates(message as MetricsRecordingHeader)) as MetricsRecordingHeader; + MetricsRecordingHeader copyWith( + void Function(MetricsRecordingHeader) updates) => + super.copyWith((message) => updates(message as MetricsRecordingHeader)) + as MetricsRecordingHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -471,10 +516,9 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { static MetricsRecordingHeader create() => MetricsRecordingHeader._(); @$core.override MetricsRecordingHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricsRecordingHeader getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetricsRecordingHeader getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MetricsRecordingHeader? _defaultInstance; @$pb.TagNumber(1) @@ -486,15 +530,31 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearRoomId() => $_clearField(1); - @$pb.TagNumber(2) - $core.bool get enableUserDataTraining => $_getBF(1); - @$pb.TagNumber(2) - set enableUserDataTraining($core.bool value) => $_setBool(1, value); - @$pb.TagNumber(2) - $core.bool hasEnableUserDataTraining() => $_has(1); - @$pb.TagNumber(2) - void clearEnableUserDataTraining() => $_clearField(2); + @$pb.TagNumber(3) + $fixnum.Int64 get duration => $_getI64(1); + @$pb.TagNumber(3) + set duration($fixnum.Int64 value) => $_setInt64(1, value); + @$pb.TagNumber(3) + $core.bool hasDuration() => $_has(1); + @$pb.TagNumber(3) + void clearDuration() => $_clearField(3); + + @$pb.TagNumber(4) + $0.Timestamp get startTime => $_getN(2); + @$pb.TagNumber(4) + set startTime($0.Timestamp value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasStartTime() => $_has(2); + @$pb.TagNumber(4) + void clearStartTime() => $_clearField(4); + @$pb.TagNumber(4) + $0.Timestamp ensureStartTime() => $_ensure(2); + + @$pb.TagNumber(5) + $pb.PbMap<$core.String, $core.String> get roomTags => $_getMap(3); } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_metrics.pbenum.dart b/lib/src/proto/livekit_metrics.pbenum.dart index 536bd196..4dcbac0e 100644 --- a/lib/src/proto/livekit_metrics.pbenum.dart +++ b/lib/src/proto/livekit_metrics.pbenum.dart @@ -1,14 +1,14 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_metrics.proto -// +// Generated from livekit_metrics.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; @@ -16,42 +16,85 @@ import 'package:protobuf/protobuf.dart' as $pb; /// index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) class MetricLabel extends $pb.ProtobufEnum { - static const MetricLabel AGENTS_LLM_TTFT = MetricLabel._(0, _omitEnumNames ? '' : 'AGENTS_LLM_TTFT'); - static const MetricLabel AGENTS_STT_TTFT = MetricLabel._(1, _omitEnumNames ? '' : 'AGENTS_STT_TTFT'); - static const MetricLabel AGENTS_TTS_TTFB = MetricLabel._(2, _omitEnumNames ? '' : 'AGENTS_TTS_TTFB'); - static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = - MetricLabel._(3, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT'); + static const MetricLabel AGENTS_LLM_TTFT = + MetricLabel._(0, _omitEnumNames ? '' : 'AGENTS_LLM_TTFT'); + static const MetricLabel AGENTS_STT_TTFT = + MetricLabel._(1, _omitEnumNames ? '' : 'AGENTS_STT_TTFT'); + static const MetricLabel AGENTS_TTS_TTFB = + MetricLabel._(2, _omitEnumNames ? '' : 'AGENTS_TTS_TTFB'); + static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = MetricLabel._( + 3, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT'); static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = - MetricLabel._(4, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION'); - static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = - MetricLabel._(5, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT'); + MetricLabel._( + 4, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION'); + static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = MetricLabel._( + 5, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT'); static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = - MetricLabel._(6, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION'); + MetricLabel._( + 6, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = - MetricLabel._(7, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES'); + MetricLabel._( + 7, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = - MetricLabel._(8, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES'); + MetricLabel._( + 8, + _omitEnumNames + ? '' + : 'CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = - MetricLabel._(9, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS'); + MetricLabel._(9, + _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = - MetricLabel._(10, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT'); + MetricLabel._(10, + _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = - MetricLabel._(11, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION'); + MetricLabel._( + 11, + _omitEnumNames + ? '' + : 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION'); static const MetricLabel CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = - MetricLabel._(12, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY'); + MetricLabel._( + 12, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY'); static const MetricLabel CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = - MetricLabel._(13, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT'); - static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = - MetricLabel._(14, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH'); - static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = - MetricLabel._(15, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU'); - static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = - MetricLabel._(16, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER'); - static const MetricLabel PUBLISHER_RTT = MetricLabel._(17, _omitEnumNames ? '' : 'PUBLISHER_RTT'); - static const MetricLabel SERVER_MESH_RTT = MetricLabel._(18, _omitEnumNames ? '' : 'SERVER_MESH_RTT'); - static const MetricLabel SUBSCRIBER_RTT = MetricLabel._(19, _omitEnumNames ? '' : 'SUBSCRIBER_RTT'); - static const MetricLabel METRIC_LABEL_PREDEFINED_MAX_VALUE = - MetricLabel._(4096, _omitEnumNames ? '' : 'METRIC_LABEL_PREDEFINED_MAX_VALUE'); + MetricLabel._( + 13, + _omitEnumNames + ? '' + : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT'); + static const MetricLabel + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = + MetricLabel._( + 14, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH'); + static const MetricLabel + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = MetricLabel._( + 15, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU'); + static const MetricLabel + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = MetricLabel._( + 16, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER'); + static const MetricLabel PUBLISHER_RTT = + MetricLabel._(17, _omitEnumNames ? '' : 'PUBLISHER_RTT'); + static const MetricLabel SERVER_MESH_RTT = + MetricLabel._(18, _omitEnumNames ? '' : 'SERVER_MESH_RTT'); + static const MetricLabel SUBSCRIBER_RTT = + MetricLabel._(19, _omitEnumNames ? '' : 'SUBSCRIBER_RTT'); + static const MetricLabel METRIC_LABEL_PREDEFINED_MAX_VALUE = MetricLabel._( + 4096, _omitEnumNames ? '' : 'METRIC_LABEL_PREDEFINED_MAX_VALUE'); static const $core.List values = [ AGENTS_LLM_TTFT, @@ -77,10 +120,12 @@ class MetricLabel extends $pb.ProtobufEnum { METRIC_LABEL_PREDEFINED_MAX_VALUE, ]; - static final $core.Map<$core.int, MetricLabel> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, MetricLabel> _byValue = + $pb.ProtobufEnum.initByValue(values); static MetricLabel? valueOf($core.int value) => _byValue[value]; const MetricLabel._(super.value, super.name); } -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_metrics.pbjson.dart b/lib/src/proto/livekit_metrics.pbjson.dart index e10d725e..a6f25735 100644 --- a/lib/src/proto/livekit_metrics.pbjson.dart +++ b/lib/src/proto/livekit_metrics.pbjson.dart @@ -1,14 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_metrics.proto -// +// Generated from livekit_metrics.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports +// ignore_for_file: unused_import import 'dart:convert' as $convert; import 'dart:core' as $core; @@ -32,7 +33,10 @@ const MetricLabel$json = { {'1': 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION', '2': 11}, {'1': 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY', '2': 12}, {'1': 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT', '2': 13}, - {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH', '2': 14}, + { + '1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH', + '2': 14 + }, {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU', '2': 15}, {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER', '2': 16}, {'1': 'PUBLISHER_RTT', '2': 17}, @@ -43,24 +47,24 @@ const MetricLabel$json = { }; /// Descriptor for `MetricLabel`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List metricLabelDescriptor = - $convert.base64Decode('CgtNZXRyaWNMYWJlbBITCg9BR0VOVFNfTExNX1RURlQQABITCg9BR0VOVFNfU1RUX1RURlQQAR' - 'ITCg9BR0VOVFNfVFRTX1RURkIQAhIoCiRDTElFTlRfVklERU9fU1VCU0NSSUJFUl9GUkVFWkVf' - 'Q09VTlQQAxIxCi1DTElFTlRfVklERU9fU1VCU0NSSUJFUl9UT1RBTF9GUkVFWkVfRFVSQVRJT0' - '4QBBInCiNDTElFTlRfVklERU9fU1VCU0NSSUJFUl9QQVVTRV9DT1VOVBAFEjEKLUNMSUVOVF9W' - 'SURFT19TVUJTQ1JJQkVSX1RPVEFMX1BBVVNFU19EVVJBVElPThAGEi0KKUNMSUVOVF9BVURJT1' - '9TVUJTQ1JJQkVSX0NPTkNFQUxFRF9TQU1QTEVTEAcSNAowQ0xJRU5UX0FVRElPX1NVQlNDUklC' - 'RVJfU0lMRU5UX0NPTkNFQUxFRF9TQU1QTEVTEAgSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRV' - 'JfQ09OQ0VBTE1FTlRfRVZFTlRTEAkSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfSU5URVJS' - 'VVBUSU9OX0NPVU5UEAoSNwozQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfVE9UQUxfSU5URVJSVV' - 'BUSU9OX0RVUkFUSU9OEAsSKQolQ0xJRU5UX1NVQlNDUklCRVJfSklUVEVSX0JVRkZFUl9ERUxB' - 'WRAMEjEKLUNMSUVOVF9TVUJTQ1JJQkVSX0pJVFRFUl9CVUZGRVJfRU1JVFRFRF9DT1VOVBANEk' - 'AKPENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0RVUkFUSU9OX0JB' - 'TkRXSURUSBAOEjoKNkNMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0' - 'RVUkFUSU9OX0NQVRAPEjwKOENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFU' - 'SU9OX0RVUkFUSU9OX09USEVSEBASEQoNUFVCTElTSEVSX1JUVBAREhMKD1NFUlZFUl9NRVNIX1' - 'JUVBASEhIKDlNVQlNDUklCRVJfUlRUEBMSJgohTUVUUklDX0xBQkVMX1BSRURFRklORURfTUFY' - 'X1ZBTFVFEIAg'); +final $typed_data.Uint8List metricLabelDescriptor = $convert.base64Decode( + 'CgtNZXRyaWNMYWJlbBITCg9BR0VOVFNfTExNX1RURlQQABITCg9BR0VOVFNfU1RUX1RURlQQAR' + 'ITCg9BR0VOVFNfVFRTX1RURkIQAhIoCiRDTElFTlRfVklERU9fU1VCU0NSSUJFUl9GUkVFWkVf' + 'Q09VTlQQAxIxCi1DTElFTlRfVklERU9fU1VCU0NSSUJFUl9UT1RBTF9GUkVFWkVfRFVSQVRJT0' + '4QBBInCiNDTElFTlRfVklERU9fU1VCU0NSSUJFUl9QQVVTRV9DT1VOVBAFEjEKLUNMSUVOVF9W' + 'SURFT19TVUJTQ1JJQkVSX1RPVEFMX1BBVVNFU19EVVJBVElPThAGEi0KKUNMSUVOVF9BVURJT1' + '9TVUJTQ1JJQkVSX0NPTkNFQUxFRF9TQU1QTEVTEAcSNAowQ0xJRU5UX0FVRElPX1NVQlNDUklC' + 'RVJfU0lMRU5UX0NPTkNFQUxFRF9TQU1QTEVTEAgSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRV' + 'JfQ09OQ0VBTE1FTlRfRVZFTlRTEAkSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfSU5URVJS' + 'VVBUSU9OX0NPVU5UEAoSNwozQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfVE9UQUxfSU5URVJSVV' + 'BUSU9OX0RVUkFUSU9OEAsSKQolQ0xJRU5UX1NVQlNDUklCRVJfSklUVEVSX0JVRkZFUl9ERUxB' + 'WRAMEjEKLUNMSUVOVF9TVUJTQ1JJQkVSX0pJVFRFUl9CVUZGRVJfRU1JVFRFRF9DT1VOVBANEk' + 'AKPENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0RVUkFUSU9OX0JB' + 'TkRXSURUSBAOEjoKNkNMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0' + 'RVUkFUSU9OX0NQVRAPEjwKOENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFU' + 'SU9OX0RVUkFUSU9OX09USEVSEBASEQoNUFVCTElTSEVSX1JUVBAREhMKD1NFUlZFUl9NRVNIX1' + 'JUVBASEhIKDlNVQlNDUklCRVJfUlRUEBMSJgohTUVUUklDX0xBQkVMX1BSRURFRklORURfTUFY' + 'X1ZBTFVFEIAg'); @$core.Deprecated('Use metricsBatchDescriptor instead') const MetricsBatch$json = { @@ -76,37 +80,64 @@ const MetricsBatch$json = { '10': 'normalizedTimestamp' }, {'1': 'str_data', '3': 3, '4': 3, '5': 9, '10': 'strData'}, - {'1': 'time_series', '3': 4, '4': 3, '5': 11, '6': '.livekit.TimeSeriesMetric', '10': 'timeSeries'}, - {'1': 'events', '3': 5, '4': 3, '5': 11, '6': '.livekit.EventMetric', '10': 'events'}, + { + '1': 'time_series', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.TimeSeriesMetric', + '10': 'timeSeries' + }, + { + '1': 'events', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.EventMetric', + '10': 'events' + }, ], }; /// Descriptor for `MetricsBatch`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricsBatchDescriptor = - $convert.base64Decode('CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' - 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' - 'cm1hbGl6ZWRUaW1lc3RhbXASGQoIc3RyX2RhdGEYAyADKAlSB3N0ckRhdGESOgoLdGltZV9zZX' - 'JpZXMYBCADKAsyGS5saXZla2l0LlRpbWVTZXJpZXNNZXRyaWNSCnRpbWVTZXJpZXMSLAoGZXZl' - 'bnRzGAUgAygLMhQubGl2ZWtpdC5FdmVudE1ldHJpY1IGZXZlbnRz'); +final $typed_data.Uint8List metricsBatchDescriptor = $convert.base64Decode( + 'CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' + 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' + 'cm1hbGl6ZWRUaW1lc3RhbXASGQoIc3RyX2RhdGEYAyADKAlSB3N0ckRhdGESOgoLdGltZV9zZX' + 'JpZXMYBCADKAsyGS5saXZla2l0LlRpbWVTZXJpZXNNZXRyaWNSCnRpbWVTZXJpZXMSLAoGZXZl' + 'bnRzGAUgAygLMhQubGl2ZWtpdC5FdmVudE1ldHJpY1IGZXZlbnRz'); @$core.Deprecated('Use timeSeriesMetricDescriptor instead') const TimeSeriesMetric$json = { '1': 'TimeSeriesMetric', '2': [ {'1': 'label', '3': 1, '4': 1, '5': 13, '10': 'label'}, - {'1': 'participant_identity', '3': 2, '4': 1, '5': 13, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 2, + '4': 1, + '5': 13, + '10': 'participantIdentity' + }, {'1': 'track_sid', '3': 3, '4': 1, '5': 13, '10': 'trackSid'}, - {'1': 'samples', '3': 4, '4': 3, '5': 11, '6': '.livekit.MetricSample', '10': 'samples'}, + { + '1': 'samples', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.MetricSample', + '10': 'samples' + }, {'1': 'rid', '3': 5, '4': 1, '5': 13, '10': 'rid'}, ], }; /// Descriptor for `TimeSeriesMetric`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timeSeriesMetricDescriptor = - $convert.base64Decode('ChBUaW1lU2VyaWVzTWV0cmljEhQKBWxhYmVsGAEgASgNUgVsYWJlbBIxChRwYXJ0aWNpcGFudF' - '9pZGVudGl0eRgCIAEoDVITcGFydGljaXBhbnRJZGVudGl0eRIbCgl0cmFja19zaWQYAyABKA1S' - 'CHRyYWNrU2lkEi8KB3NhbXBsZXMYBCADKAsyFS5saXZla2l0Lk1ldHJpY1NhbXBsZVIHc2FtcG' - 'xlcxIQCgNyaWQYBSABKA1SA3JpZA=='); +final $typed_data.Uint8List timeSeriesMetricDescriptor = $convert.base64Decode( + 'ChBUaW1lU2VyaWVzTWV0cmljEhQKBWxhYmVsGAEgASgNUgVsYWJlbBIxChRwYXJ0aWNpcGFudF' + '9pZGVudGl0eRgCIAEoDVITcGFydGljaXBhbnRJZGVudGl0eRIbCgl0cmFja19zaWQYAyABKA1S' + 'CHRyYWNrU2lkEi8KB3NhbXBsZXMYBCADKAsyFS5saXZla2l0Lk1ldHJpY1NhbXBsZVIHc2FtcG' + 'xlcxIQCgNyaWQYBSABKA1SA3JpZA=='); @$core.Deprecated('Use metricSampleDescriptor instead') const MetricSample$json = { @@ -126,20 +157,40 @@ const MetricSample$json = { }; /// Descriptor for `MetricSample`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricSampleDescriptor = - $convert.base64Decode('CgxNZXRyaWNTYW1wbGUSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' - 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' - 'cm1hbGl6ZWRUaW1lc3RhbXASFAoFdmFsdWUYAyABKAJSBXZhbHVl'); +final $typed_data.Uint8List metricSampleDescriptor = $convert.base64Decode( + 'CgxNZXRyaWNTYW1wbGUSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' + 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' + 'cm1hbGl6ZWRUaW1lc3RhbXASFAoFdmFsdWUYAyABKAJSBXZhbHVl'); @$core.Deprecated('Use eventMetricDescriptor instead') const EventMetric$json = { '1': 'EventMetric', '2': [ {'1': 'label', '3': 1, '4': 1, '5': 13, '10': 'label'}, - {'1': 'participant_identity', '3': 2, '4': 1, '5': 13, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 2, + '4': 1, + '5': 13, + '10': 'participantIdentity' + }, {'1': 'track_sid', '3': 3, '4': 1, '5': 13, '10': 'trackSid'}, - {'1': 'start_timestamp_ms', '3': 4, '4': 1, '5': 3, '10': 'startTimestampMs'}, - {'1': 'end_timestamp_ms', '3': 5, '4': 1, '5': 3, '9': 0, '10': 'endTimestampMs', '17': true}, + { + '1': 'start_timestamp_ms', + '3': 4, + '4': 1, + '5': 3, + '10': 'startTimestampMs' + }, + { + '1': 'end_timestamp_ms', + '3': 5, + '4': 1, + '5': 3, + '9': 0, + '10': 'endTimestampMs', + '17': true + }, { '1': 'normalized_start_timestamp', '3': 6, @@ -168,31 +219,57 @@ const EventMetric$json = { }; /// Descriptor for `EventMetric`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List eventMetricDescriptor = - $convert.base64Decode('CgtFdmVudE1ldHJpYxIUCgVsYWJlbBgBIAEoDVIFbGFiZWwSMQoUcGFydGljaXBhbnRfaWRlbn' - 'RpdHkYAiABKA1SE3BhcnRpY2lwYW50SWRlbnRpdHkSGwoJdHJhY2tfc2lkGAMgASgNUgh0cmFj' - 'a1NpZBIsChJzdGFydF90aW1lc3RhbXBfbXMYBCABKANSEHN0YXJ0VGltZXN0YW1wTXMSLQoQZW' - '5kX3RpbWVzdGFtcF9tcxgFIAEoA0gAUg5lbmRUaW1lc3RhbXBNc4gBARJYChpub3JtYWxpemVk' - 'X3N0YXJ0X3RpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSGG5vcm' - '1hbGl6ZWRTdGFydFRpbWVzdGFtcBJZChhub3JtYWxpemVkX2VuZF90aW1lc3RhbXAYByABKAsy' - 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAFSFm5vcm1hbGl6ZWRFbmRUaW1lc3RhbXCIAQ' - 'ESGgoIbWV0YWRhdGEYCCABKAlSCG1ldGFkYXRhEhAKA3JpZBgJIAEoDVIDcmlkQhMKEV9lbmRf' - 'dGltZXN0YW1wX21zQhsKGV9ub3JtYWxpemVkX2VuZF90aW1lc3RhbXA='); +final $typed_data.Uint8List eventMetricDescriptor = $convert.base64Decode( + 'CgtFdmVudE1ldHJpYxIUCgVsYWJlbBgBIAEoDVIFbGFiZWwSMQoUcGFydGljaXBhbnRfaWRlbn' + 'RpdHkYAiABKA1SE3BhcnRpY2lwYW50SWRlbnRpdHkSGwoJdHJhY2tfc2lkGAMgASgNUgh0cmFj' + 'a1NpZBIsChJzdGFydF90aW1lc3RhbXBfbXMYBCABKANSEHN0YXJ0VGltZXN0YW1wTXMSLQoQZW' + '5kX3RpbWVzdGFtcF9tcxgFIAEoA0gAUg5lbmRUaW1lc3RhbXBNc4gBARJYChpub3JtYWxpemVk' + 'X3N0YXJ0X3RpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSGG5vcm' + '1hbGl6ZWRTdGFydFRpbWVzdGFtcBJZChhub3JtYWxpemVkX2VuZF90aW1lc3RhbXAYByABKAsy' + 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAFSFm5vcm1hbGl6ZWRFbmRUaW1lc3RhbXCIAQ' + 'ESGgoIbWV0YWRhdGEYCCABKAlSCG1ldGFkYXRhEhAKA3JpZBgJIAEoDVIDcmlkQhMKEV9lbmRf' + 'dGltZXN0YW1wX21zQhsKGV9ub3JtYWxpemVkX2VuZF90aW1lc3RhbXA='); @$core.Deprecated('Use metricsRecordingHeaderDescriptor instead') const MetricsRecordingHeader$json = { '1': 'MetricsRecordingHeader', '2': [ {'1': 'room_id', '3': 1, '4': 1, '5': 9, '10': 'roomId'}, - {'1': 'enable_user_data_training', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'enableUserDataTraining', '17': true}, + {'1': 'duration', '3': 3, '4': 1, '5': 4, '10': 'duration'}, + { + '1': 'start_time', + '3': 4, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'startTime' + }, + { + '1': 'room_tags', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.MetricsRecordingHeader.RoomTagsEntry', + '10': 'roomTags' + }, ], - '8': [ - {'1': '_enable_user_data_training'}, + '3': [MetricsRecordingHeader_RoomTagsEntry$json], +}; + +@$core.Deprecated('Use metricsRecordingHeaderDescriptor instead') +const MetricsRecordingHeader_RoomTagsEntry$json = { + '1': 'RoomTagsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, ], + '7': {'7': true}, }; /// Descriptor for `MetricsRecordingHeader`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricsRecordingHeaderDescriptor = - $convert.base64Decode('ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBI+Chllbm' - 'FibGVfdXNlcl9kYXRhX3RyYWluaW5nGAIgASgISABSFmVuYWJsZVVzZXJEYXRhVHJhaW5pbmeI' - 'AQFCHAoaX2VuYWJsZV91c2VyX2RhdGFfdHJhaW5pbmc='); +final $typed_data.Uint8List metricsRecordingHeaderDescriptor = $convert.base64Decode( + 'ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBIaCghkdX' + 'JhdGlvbhgDIAEoBFIIZHVyYXRpb24SOQoKc3RhcnRfdGltZRgEIAEoCzIaLmdvb2dsZS5wcm90' + 'b2J1Zi5UaW1lc3RhbXBSCXN0YXJ0VGltZRJKCglyb29tX3RhZ3MYBSADKAsyLS5saXZla2l0Lk' + '1ldHJpY3NSZWNvcmRpbmdIZWFkZXIuUm9vbVRhZ3NFbnRyeVIIcm9vbVRhZ3MaOwoNUm9vbVRh' + 'Z3NFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgB'); diff --git a/lib/src/proto/livekit_models.pb.dart b/lib/src/proto/livekit_models.pb.dart index 694e7e8d..9f99e476 100644 --- a/lib/src/proto/livekit_models.pb.dart +++ b/lib/src/proto/livekit_models.pb.dart @@ -1,22 +1,23 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_models.proto -// +// Generated from livekit_models.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; +import 'package:protobuf/well_known_types/google/protobuf/timestamp.pb.dart' + as $1; -import 'google/protobuf/timestamp.pb.dart' as $0; -import 'livekit_metrics.pb.dart' as $1; +import 'livekit_metrics.pb.dart' as $0; import 'livekit_models.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -39,17 +40,20 @@ class Pagination extends $pb.GeneratedMessage { factory Pagination.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Pagination.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pagination.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pagination', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Pagination', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'afterId') - ..a<$core.int>(2, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.O3) + ..aI(2, _omitFieldNames ? '' : 'limit') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Pagination clone() => Pagination()..mergeFromMessage(this); + Pagination clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pagination copyWith(void Function(Pagination) updates) => super.copyWith((message) => updates(message as Pagination)) as Pagination; @@ -61,9 +65,9 @@ class Pagination extends $pb.GeneratedMessage { static Pagination create() => Pagination._(); @$core.override Pagination createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Pagination getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Pagination getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Pagination? _defaultInstance; @$pb.TagNumber(1) @@ -99,19 +103,23 @@ class TokenPagination extends $pb.GeneratedMessage { factory TokenPagination.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TokenPagination.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TokenPagination.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TokenPagination', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TokenPagination', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'token') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TokenPagination clone() => TokenPagination()..mergeFromMessage(this); + TokenPagination clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TokenPagination copyWith(void Function(TokenPagination) updates) => - super.copyWith((message) => updates(message as TokenPagination)) as TokenPagination; + super.copyWith((message) => updates(message as TokenPagination)) + as TokenPagination; @$core.override $pb.BuilderInfo get info_ => _i; @@ -120,10 +128,9 @@ class TokenPagination extends $pb.GeneratedMessage { static TokenPagination create() => TokenPagination._(); @$core.override TokenPagination createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TokenPagination getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TokenPagination getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TokenPagination? _defaultInstance; @$pb.TagNumber(1) @@ -157,11 +164,14 @@ class ListUpdate extends $pb.GeneratedMessage { factory ListUpdate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ListUpdate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ListUpdate.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ListUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'set') ..pPS(2, _omitFieldNames ? '' : 'add') ..pPS(3, _omitFieldNames ? '' : 'remove') @@ -169,7 +179,7 @@ class ListUpdate extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ListUpdate clone() => ListUpdate()..mergeFromMessage(this); + ListUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ListUpdate copyWith(void Function(ListUpdate) updates) => super.copyWith((message) => updates(message as ListUpdate)) as ListUpdate; @@ -181,9 +191,9 @@ class ListUpdate extends $pb.GeneratedMessage { static ListUpdate create() => ListUpdate._(); @$core.override ListUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ListUpdate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ListUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -242,33 +252,45 @@ class Room extends $pb.GeneratedMessage { Room._(); - factory Room.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Room.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Room.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Room.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Room', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Room', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'name') - ..a<$core.int>(3, _omitFieldNames ? '' : 'emptyTimeout', $pb.PbFieldType.OU3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'maxParticipants', $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'emptyTimeout', + fieldType: $pb.PbFieldType.OU3) + ..aI(4, _omitFieldNames ? '' : 'maxParticipants', + fieldType: $pb.PbFieldType.OU3) ..aInt64(5, _omitFieldNames ? '' : 'creationTime') ..aOS(6, _omitFieldNames ? '' : 'turnPassword') - ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, subBuilder: Codec.create) + ..pPM(7, _omitFieldNames ? '' : 'enabledCodecs', + subBuilder: Codec.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') - ..a<$core.int>(9, _omitFieldNames ? '' : 'numParticipants', $pb.PbFieldType.OU3) + ..aI(9, _omitFieldNames ? '' : 'numParticipants', + fieldType: $pb.PbFieldType.OU3) ..aOB(10, _omitFieldNames ? '' : 'activeRecording') - ..a<$core.int>(11, _omitFieldNames ? '' : 'numPublishers', $pb.PbFieldType.OU3) - ..aOM(13, _omitFieldNames ? '' : 'version', subBuilder: TimedVersion.create) - ..a<$core.int>(14, _omitFieldNames ? '' : 'departureTimeout', $pb.PbFieldType.OU3) + ..aI(11, _omitFieldNames ? '' : 'numPublishers', + fieldType: $pb.PbFieldType.OU3) + ..aOM(13, _omitFieldNames ? '' : 'version', + subBuilder: TimedVersion.create) + ..aI(14, _omitFieldNames ? '' : 'departureTimeout', + fieldType: $pb.PbFieldType.OU3) ..aInt64(15, _omitFieldNames ? '' : 'creationTimeMs') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Room clone() => Room()..mergeFromMessage(this); + Room clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Room copyWith(void Function(Room) updates) => super.copyWith((message) => updates(message as Room)) as Room; + Room copyWith(void Function(Room) updates) => + super.copyWith((message) => updates(message as Room)) as Room; @$core.override $pb.BuilderInfo get info_ => _i; @@ -277,9 +299,9 @@ class Room extends $pb.GeneratedMessage { static Room create() => Room._(); @$core.override Room createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Room getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Room getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Room? _defaultInstance; @$pb.TagNumber(1) @@ -421,19 +443,23 @@ class Codec extends $pb.GeneratedMessage { factory Codec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Codec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Codec.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Codec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Codec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mime') ..aOS(2, _omitFieldNames ? '' : 'fmtpLine') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Codec clone() => Codec()..mergeFromMessage(this); + Codec clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Codec copyWith(void Function(Codec) updates) => super.copyWith((message) => updates(message as Codec)) as Codec; + Codec copyWith(void Function(Codec) updates) => + super.copyWith((message) => updates(message as Codec)) as Codec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -442,9 +468,9 @@ class Codec extends $pb.GeneratedMessage { static Codec create() => Codec._(); @$core.override Codec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Codec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Codec getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Codec? _defaultInstance; @$pb.TagNumber(1) @@ -484,21 +510,25 @@ class PlayoutDelay extends $pb.GeneratedMessage { factory PlayoutDelay.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory PlayoutDelay.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory PlayoutDelay.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlayoutDelay', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PlayoutDelay', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'enabled') - ..a<$core.int>(2, _omitFieldNames ? '' : 'min', $pb.PbFieldType.OU3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'max', $pb.PbFieldType.OU3) + ..aI(2, _omitFieldNames ? '' : 'min', fieldType: $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'max', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - PlayoutDelay clone() => PlayoutDelay()..mergeFromMessage(this); + PlayoutDelay clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PlayoutDelay copyWith(void Function(PlayoutDelay) updates) => - super.copyWith((message) => updates(message as PlayoutDelay)) as PlayoutDelay; + super.copyWith((message) => updates(message as PlayoutDelay)) + as PlayoutDelay; @$core.override $pb.BuilderInfo get info_ => _i; @@ -507,9 +537,9 @@ class PlayoutDelay extends $pb.GeneratedMessage { static PlayoutDelay create() => PlayoutDelay._(); @$core.override PlayoutDelay createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PlayoutDelay getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PlayoutDelay getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PlayoutDelay? _defaultInstance; @$pb.TagNumber(1) @@ -558,10 +588,12 @@ class ParticipantPermission extends $pb.GeneratedMessage { if (canPublishData != null) result.canPublishData = canPublishData; if (hidden != null) result.hidden = hidden; if (recorder != null) result.recorder = recorder; - if (canPublishSources != null) result.canPublishSources.addAll(canPublishSources); + if (canPublishSources != null) + result.canPublishSources.addAll(canPublishSources); if (canUpdateMetadata != null) result.canUpdateMetadata = canUpdateMetadata; if (agent != null) result.agent = agent; - if (canSubscribeMetrics != null) result.canSubscribeMetrics = canSubscribeMetrics; + if (canSubscribeMetrics != null) + result.canSubscribeMetrics = canSubscribeMetrics; return result; } @@ -574,25 +606,32 @@ class ParticipantPermission extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canSubscribe') ..aOB(2, _omitFieldNames ? '' : 'canPublish') ..aOB(3, _omitFieldNames ? '' : 'canPublishData') ..aOB(7, _omitFieldNames ? '' : 'hidden') ..aOB(8, _omitFieldNames ? '' : 'recorder') - ..pc(9, _omitFieldNames ? '' : 'canPublishSources', $pb.PbFieldType.KE, - valueOf: TrackSource.valueOf, enumValues: TrackSource.values, defaultEnumValue: TrackSource.UNKNOWN) + ..pc( + 9, _omitFieldNames ? '' : 'canPublishSources', $pb.PbFieldType.KE, + valueOf: TrackSource.valueOf, + enumValues: TrackSource.values, + defaultEnumValue: TrackSource.UNKNOWN) ..aOB(10, _omitFieldNames ? '' : 'canUpdateMetadata') ..aOB(11, _omitFieldNames ? '' : 'agent') ..aOB(12, _omitFieldNames ? '' : 'canSubscribeMetrics') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantPermission clone() => ParticipantPermission()..mergeFromMessage(this); + ParticipantPermission clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantPermission copyWith(void Function(ParticipantPermission) updates) => - super.copyWith((message) => updates(message as ParticipantPermission)) as ParticipantPermission; + ParticipantPermission copyWith( + void Function(ParticipantPermission) updates) => + super.copyWith((message) => updates(message as ParticipantPermission)) + as ParticipantPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -601,10 +640,9 @@ class ParticipantPermission extends $pb.GeneratedMessage { static ParticipantPermission create() => ParticipantPermission._(); @$core.override ParticipantPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantPermission getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantPermission getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantPermission? _defaultInstance; /// allow participant to subscribe to other tracks in the room @@ -720,6 +758,7 @@ class ParticipantInfo extends $pb.GeneratedMessage { DisconnectReason? disconnectReason, $fixnum.Int64? joinedAtMs, $core.Iterable? kindDetails, + $core.Iterable? dataTracks, }) { final result = create(); if (sid != null) result.sid = sid; @@ -738,6 +777,7 @@ class ParticipantInfo extends $pb.GeneratedMessage { if (disconnectReason != null) result.disconnectReason = disconnectReason; if (joinedAtMs != null) result.joinedAtMs = joinedAtMs; if (kindDetails != null) result.kindDetails.addAll(kindDetails); + if (dataTracks != null) result.dataTracks.addAll(dataTracks); return result; } @@ -746,50 +786,53 @@ class ParticipantInfo extends $pb.GeneratedMessage { factory ParticipantInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ParticipantInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ParticipantInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'identity') - ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: ParticipantInfo_State.JOINING, - valueOf: ParticipantInfo_State.valueOf, + ..aE(3, _omitFieldNames ? '' : 'state', enumValues: ParticipantInfo_State.values) - ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, subBuilder: TrackInfo.create) + ..pPM(4, _omitFieldNames ? '' : 'tracks', + subBuilder: TrackInfo.create) ..aOS(5, _omitFieldNames ? '' : 'metadata') ..aInt64(6, _omitFieldNames ? '' : 'joinedAt') ..aOS(9, _omitFieldNames ? '' : 'name') - ..a<$core.int>(10, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) - ..aOM(11, _omitFieldNames ? '' : 'permission', subBuilder: ParticipantPermission.create) + ..aI(10, _omitFieldNames ? '' : 'version', fieldType: $pb.PbFieldType.OU3) + ..aOM(11, _omitFieldNames ? '' : 'permission', + subBuilder: ParticipantPermission.create) ..aOS(12, _omitFieldNames ? '' : 'region') ..aOB(13, _omitFieldNames ? '' : 'isPublisher') - ..e(14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, - defaultOrMaker: ParticipantInfo_Kind.STANDARD, - valueOf: ParticipantInfo_Kind.valueOf, + ..aE(14, _omitFieldNames ? '' : 'kind', enumValues: ParticipantInfo_Kind.values) ..m<$core.String, $core.String>(15, _omitFieldNames ? '' : 'attributes', entryClassName: 'ParticipantInfo.AttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..e(16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, - defaultOrMaker: DisconnectReason.UNKNOWN_REASON, - valueOf: DisconnectReason.valueOf, + ..aE(16, _omitFieldNames ? '' : 'disconnectReason', enumValues: DisconnectReason.values) ..aInt64(17, _omitFieldNames ? '' : 'joinedAtMs') - ..pc(18, _omitFieldNames ? '' : 'kindDetails', $pb.PbFieldType.KE, + ..pc( + 18, _omitFieldNames ? '' : 'kindDetails', $pb.PbFieldType.KE, valueOf: ParticipantInfo_KindDetail.valueOf, enumValues: ParticipantInfo_KindDetail.values, defaultEnumValue: ParticipantInfo_KindDetail.CLOUD_AGENT) + ..pPM(19, _omitFieldNames ? '' : 'dataTracks', + subBuilder: DataTrackInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantInfo clone() => ParticipantInfo()..mergeFromMessage(this); + ParticipantInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantInfo copyWith(void Function(ParticipantInfo) updates) => - super.copyWith((message) => updates(message as ParticipantInfo)) as ParticipantInfo; + super.copyWith((message) => updates(message as ParticipantInfo)) + as ParticipantInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -798,10 +841,9 @@ class ParticipantInfo extends $pb.GeneratedMessage { static ParticipantInfo create() => ParticipantInfo._(); @$core.override ParticipantInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantInfo? _defaultInstance; @$pb.TagNumber(1) @@ -935,6 +977,9 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(18) $pb.PbList get kindDetails => $_getList(15); + + @$pb.TagNumber(19) + $pb.PbList get dataTracks => $_getList(16); } class Encryption extends $pb.GeneratedMessage { @@ -945,15 +990,18 @@ class Encryption extends $pb.GeneratedMessage { factory Encryption.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Encryption.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Encryption.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Encryption', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Encryption', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Encryption clone() => Encryption()..mergeFromMessage(this); + Encryption clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Encryption copyWith(void Function(Encryption) updates) => super.copyWith((message) => updates(message as Encryption)) as Encryption; @@ -965,9 +1013,9 @@ class Encryption extends $pb.GeneratedMessage { static Encryption create() => Encryption._(); @$core.override Encryption createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Encryption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Encryption getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Encryption? _defaultInstance; } @@ -999,24 +1047,26 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodecInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SimulcastCodecInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mimeType') ..aOS(2, _omitFieldNames ? '' : 'mid') ..aOS(3, _omitFieldNames ? '' : 'cid') - ..pc(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) - ..e(5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, - defaultOrMaker: VideoLayer_Mode.MODE_UNUSED, - valueOf: VideoLayer_Mode.valueOf, + ..pPM(4, _omitFieldNames ? '' : 'layers', + subBuilder: VideoLayer.create) + ..aE(5, _omitFieldNames ? '' : 'videoLayerMode', enumValues: VideoLayer_Mode.values) ..aOS(6, _omitFieldNames ? '' : 'sdpCid') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SimulcastCodecInfo clone() => SimulcastCodecInfo()..mergeFromMessage(this); + SimulcastCodecInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulcastCodecInfo copyWith(void Function(SimulcastCodecInfo) updates) => - super.copyWith((message) => updates(message as SimulcastCodecInfo)) as SimulcastCodecInfo; + super.copyWith((message) => updates(message as SimulcastCodecInfo)) + as SimulcastCodecInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1025,10 +1075,9 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { static SimulcastCodecInfo create() => SimulcastCodecInfo._(); @$core.override SimulcastCodecInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulcastCodecInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimulcastCodecInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SimulcastCodecInfo? _defaultInstance; @$pb.TagNumber(1) @@ -1090,12 +1139,13 @@ class TrackInfo extends $pb.GeneratedMessage { TrackType? type, $core.String? name, $core.bool? muted, - @$core.Deprecated('This field is deprecated.') $core.int? width, - @$core.Deprecated('This field is deprecated.') $core.int? height, + $core.int? width, + $core.int? height, @$core.Deprecated('This field is deprecated.') $core.bool? simulcast, @$core.Deprecated('This field is deprecated.') $core.bool? disableDtx, TrackSource? source, - @$core.Deprecated('This field is deprecated.') $core.Iterable? layers, + @$core.Deprecated('This field is deprecated.') + $core.Iterable? layers, $core.String? mimeType, $core.String? mid, $core.Iterable? codecs, @@ -1136,45 +1186,49 @@ class TrackInfo extends $pb.GeneratedMessage { factory TrackInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') - ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, - defaultOrMaker: TrackType.AUDIO, valueOf: TrackType.valueOf, enumValues: TrackType.values) + ..aE(2, _omitFieldNames ? '' : 'type', + enumValues: TrackType.values) ..aOS(3, _omitFieldNames ? '' : 'name') ..aOB(4, _omitFieldNames ? '' : 'muted') - ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) - ..a<$core.int>(6, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) + ..aI(5, _omitFieldNames ? '' : 'width', fieldType: $pb.PbFieldType.OU3) + ..aI(6, _omitFieldNames ? '' : 'height', fieldType: $pb.PbFieldType.OU3) ..aOB(7, _omitFieldNames ? '' : 'simulcast') ..aOB(8, _omitFieldNames ? '' : 'disableDtx') - ..e(9, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, - defaultOrMaker: TrackSource.UNKNOWN, valueOf: TrackSource.valueOf, enumValues: TrackSource.values) - ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) + ..aE(9, _omitFieldNames ? '' : 'source', + enumValues: TrackSource.values) + ..pPM(10, _omitFieldNames ? '' : 'layers', + subBuilder: VideoLayer.create) ..aOS(11, _omitFieldNames ? '' : 'mimeType') ..aOS(12, _omitFieldNames ? '' : 'mid') - ..pc(13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, + ..pPM(13, _omitFieldNames ? '' : 'codecs', subBuilder: SimulcastCodecInfo.create) ..aOB(14, _omitFieldNames ? '' : 'stereo') ..aOB(15, _omitFieldNames ? '' : 'disableRed') - ..e(16, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) + ..aE(16, _omitFieldNames ? '' : 'encryption', + enumValues: Encryption_Type.values) ..aOS(17, _omitFieldNames ? '' : 'stream') - ..aOM(18, _omitFieldNames ? '' : 'version', subBuilder: TimedVersion.create) - ..pc(19, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, + ..aOM(18, _omitFieldNames ? '' : 'version', + subBuilder: TimedVersion.create) + ..pc( + 19, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, valueOf: AudioTrackFeature.valueOf, enumValues: AudioTrackFeature.values, defaultEnumValue: AudioTrackFeature.TF_STEREO) - ..e(20, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, - defaultOrMaker: BackupCodecPolicy.PREFER_REGRESSION, - valueOf: BackupCodecPolicy.valueOf, + ..aE(20, _omitFieldNames ? '' : 'backupCodecPolicy', enumValues: BackupCodecPolicy.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackInfo clone() => TrackInfo()..mergeFromMessage(this); + TrackInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackInfo copyWith(void Function(TrackInfo) updates) => super.copyWith((message) => updates(message as TrackInfo)) as TrackInfo; @@ -1186,9 +1240,9 @@ class TrackInfo extends $pb.GeneratedMessage { static TrackInfo create() => TrackInfo._(); @$core.override TrackInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrackInfo? _defaultInstance; @$pb.TagNumber(1) @@ -1229,30 +1283,22 @@ class TrackInfo extends $pb.GeneratedMessage { /// original width of video (unset for audio) /// clients may receive a lower resolution version with simulcast - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(5) $core.int get width => $_getIZ(4); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(5) set width($core.int value) => $_setUnsignedInt32(4, value); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(5) $core.bool hasWidth() => $_has(4); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(5) void clearWidth() => $_clearField(5); /// original height of video (unset for audio) - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(6) $core.int get height => $_getIZ(5); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(6) set height($core.int value) => $_setUnsignedInt32(5, value); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(6) $core.bool hasHeight() => $_has(5); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(6) void clearHeight() => $_clearField(6); @@ -1385,6 +1431,232 @@ class TrackInfo extends $pb.GeneratedMessage { void clearBackupCodecPolicy() => $_clearField(20); } +class DataTrackInfo extends $pb.GeneratedMessage { + factory DataTrackInfo({ + $core.int? pubHandle, + $core.String? sid, + $core.String? name, + Encryption_Type? encryption, + }) { + final result = create(); + if (pubHandle != null) result.pubHandle = pubHandle; + if (sid != null) result.sid = sid; + if (name != null) result.name = name; + if (encryption != null) result.encryption = encryption; + return result; + } + + DataTrackInfo._(); + + factory DataTrackInfo.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DataTrackInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataTrackInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'pubHandle', fieldType: $pb.PbFieldType.OU3) + ..aOS(2, _omitFieldNames ? '' : 'sid') + ..aOS(3, _omitFieldNames ? '' : 'name') + ..aE(4, _omitFieldNames ? '' : 'encryption', + enumValues: Encryption_Type.values) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackInfo clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackInfo copyWith(void Function(DataTrackInfo) updates) => + super.copyWith((message) => updates(message as DataTrackInfo)) + as DataTrackInfo; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DataTrackInfo create() => DataTrackInfo._(); + @$core.override + DataTrackInfo createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static DataTrackInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DataTrackInfo? _defaultInstance; + + /// Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. + @$pb.TagNumber(1) + $core.int get pubHandle => $_getIZ(0); + @$pb.TagNumber(1) + set pubHandle($core.int value) => $_setUnsignedInt32(0, value); + @$pb.TagNumber(1) + $core.bool hasPubHandle() => $_has(0); + @$pb.TagNumber(1) + void clearPubHandle() => $_clearField(1); + + /// Server-assigned track identifier. + @$pb.TagNumber(2) + $core.String get sid => $_getSZ(1); + @$pb.TagNumber(2) + set sid($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasSid() => $_has(1); + @$pb.TagNumber(2) + void clearSid() => $_clearField(2); + + /// Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. + @$pb.TagNumber(3) + $core.String get name => $_getSZ(2); + @$pb.TagNumber(3) + set name($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasName() => $_has(2); + @$pb.TagNumber(3) + void clearName() => $_clearField(3); + + /// Method used for end-to-end encryption (E2EE) on packet payloads. + @$pb.TagNumber(4) + Encryption_Type get encryption => $_getN(3); + @$pb.TagNumber(4) + set encryption(Encryption_Type value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasEncryption() => $_has(3); + @$pb.TagNumber(4) + void clearEncryption() => $_clearField(4); +} + +class DataTrackExtensionParticipantSid extends $pb.GeneratedMessage { + factory DataTrackExtensionParticipantSid({ + DataTrackExtensionID? id, + $core.String? participantSid, + }) { + final result = create(); + if (id != null) result.id = id; + if (participantSid != null) result.participantSid = participantSid; + return result; + } + + DataTrackExtensionParticipantSid._(); + + factory DataTrackExtensionParticipantSid.fromBuffer( + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DataTrackExtensionParticipantSid.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataTrackExtensionParticipantSid', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'id', + enumValues: DataTrackExtensionID.values) + ..aOS(2, _omitFieldNames ? '' : 'participantSid') + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackExtensionParticipantSid clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackExtensionParticipantSid copyWith( + void Function(DataTrackExtensionParticipantSid) updates) => + super.copyWith( + (message) => updates(message as DataTrackExtensionParticipantSid)) + as DataTrackExtensionParticipantSid; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DataTrackExtensionParticipantSid create() => + DataTrackExtensionParticipantSid._(); + @$core.override + DataTrackExtensionParticipantSid createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static DataTrackExtensionParticipantSid getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor( + create); + static DataTrackExtensionParticipantSid? _defaultInstance; + + @$pb.TagNumber(1) + DataTrackExtensionID get id => $_getN(0); + @$pb.TagNumber(1) + set id(DataTrackExtensionID value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get participantSid => $_getSZ(1); + @$pb.TagNumber(2) + set participantSid($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasParticipantSid() => $_has(1); + @$pb.TagNumber(2) + void clearParticipantSid() => $_clearField(2); +} + +class DataTrackSubscriptionOptions extends $pb.GeneratedMessage { + factory DataTrackSubscriptionOptions({ + $core.int? targetFps, + }) { + final result = create(); + if (targetFps != null) result.targetFps = targetFps; + return result; + } + + DataTrackSubscriptionOptions._(); + + factory DataTrackSubscriptionOptions.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DataTrackSubscriptionOptions.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataTrackSubscriptionOptions', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'targetFps', fieldType: $pb.PbFieldType.OU3) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackSubscriptionOptions clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackSubscriptionOptions copyWith( + void Function(DataTrackSubscriptionOptions) updates) => + super.copyWith( + (message) => updates(message as DataTrackSubscriptionOptions)) + as DataTrackSubscriptionOptions; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DataTrackSubscriptionOptions create() => + DataTrackSubscriptionOptions._(); + @$core.override + DataTrackSubscriptionOptions createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static DataTrackSubscriptionOptions getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DataTrackSubscriptionOptions? _defaultInstance; + + /// Rate in frames per second (FPS) the subscriber wants to receive frames at. + /// If omitted, the subscriber defaults to the publisher's fps + @$pb.TagNumber(1) + $core.int get targetFps => $_getIZ(0); + @$pb.TagNumber(1) + set targetFps($core.int value) => $_setUnsignedInt32(0, value); + @$pb.TagNumber(1) + $core.bool hasTargetFps() => $_has(0); + @$pb.TagNumber(1) + void clearTargetFps() => $_clearField(1); +} + /// provide information about available spatial layers class VideoLayer extends $pb.GeneratedMessage { factory VideoLayer({ @@ -1395,6 +1667,7 @@ class VideoLayer extends $pb.GeneratedMessage { $core.int? ssrc, $core.int? spatialLayer, $core.String? rid, + $core.int? repairSsrc, }) { final result = create(); if (quality != null) result.quality = quality; @@ -1404,6 +1677,7 @@ class VideoLayer extends $pb.GeneratedMessage { if (ssrc != null) result.ssrc = ssrc; if (spatialLayer != null) result.spatialLayer = spatialLayer; if (rid != null) result.rid = rid; + if (repairSsrc != null) result.repairSsrc = repairSsrc; return result; } @@ -1412,23 +1686,27 @@ class VideoLayer extends $pb.GeneratedMessage { factory VideoLayer.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory VideoLayer.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory VideoLayer.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VideoLayer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: VideoQuality.LOW, valueOf: VideoQuality.valueOf, enumValues: VideoQuality.values) - ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OU3) - ..a<$core.int>(5, _omitFieldNames ? '' : 'ssrc', $pb.PbFieldType.OU3) - ..a<$core.int>(6, _omitFieldNames ? '' : 'spatialLayer', $pb.PbFieldType.O3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VideoLayer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'quality', + enumValues: VideoQuality.values) + ..aI(2, _omitFieldNames ? '' : 'width', fieldType: $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'height', fieldType: $pb.PbFieldType.OU3) + ..aI(4, _omitFieldNames ? '' : 'bitrate', fieldType: $pb.PbFieldType.OU3) + ..aI(5, _omitFieldNames ? '' : 'ssrc', fieldType: $pb.PbFieldType.OU3) + ..aI(6, _omitFieldNames ? '' : 'spatialLayer') ..aOS(7, _omitFieldNames ? '' : 'rid') + ..aI(8, _omitFieldNames ? '' : 'repairSsrc', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - VideoLayer clone() => VideoLayer()..mergeFromMessage(this); + VideoLayer clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VideoLayer copyWith(void Function(VideoLayer) updates) => super.copyWith((message) => updates(message as VideoLayer)) as VideoLayer; @@ -1440,9 +1718,9 @@ class VideoLayer extends $pb.GeneratedMessage { static VideoLayer create() => VideoLayer._(); @$core.override VideoLayer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VideoLayer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VideoLayer getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static VideoLayer? _defaultInstance; /// for tracks with a single layer, this should be HIGH @@ -1509,6 +1787,15 @@ class VideoLayer extends $pb.GeneratedMessage { $core.bool hasRid() => $_has(6); @$pb.TagNumber(7) void clearRid() => $_clearField(7); + + @$pb.TagNumber(8) + $core.int get repairSsrc => $_getIZ(7); + @$pb.TagNumber(8) + set repairSsrc($core.int value) => $_setUnsignedInt32(7, value); + @$pb.TagNumber(8) + $core.bool hasRepairSsrc() => $_has(7); + @$pb.TagNumber(8) + void clearRepairSsrc() => $_clearField(8); } enum DataPacket_Value { @@ -1538,7 +1825,7 @@ class DataPacket extends $pb.GeneratedMessage { $core.Iterable<$core.String>? destinationIdentities, SipDTMF? sipDtmf, Transcription? transcription, - $1.MetricsBatch? metrics, + $0.MetricsBatch? metrics, ChatMessage? chatMessage, RpcRequest? rpcRequest, RpcAck? rpcAck, @@ -1554,8 +1841,10 @@ class DataPacket extends $pb.GeneratedMessage { if (kind != null) result.kind = kind; if (user != null) result.user = user; if (speaker != null) result.speaker = speaker; - if (participantIdentity != null) result.participantIdentity = participantIdentity; - if (destinationIdentities != null) result.destinationIdentities.addAll(destinationIdentities); + if (participantIdentity != null) + result.participantIdentity = participantIdentity; + if (destinationIdentities != null) + result.destinationIdentities.addAll(destinationIdentities); if (sipDtmf != null) result.sipDtmf = sipDtmf; if (transcription != null) result.transcription = transcription; if (metrics != null) result.metrics = metrics; @@ -1577,7 +1866,8 @@ class DataPacket extends $pb.GeneratedMessage { factory DataPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataPacket.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static const $core.Map<$core.int, DataPacket_Value> _DataPacket_ValueByTag = { @@ -1596,32 +1886,47 @@ class DataPacket extends $pb.GeneratedMessage { 18: DataPacket_Value.encryptedPacket, 0: DataPacket_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18]) - ..e(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, - defaultOrMaker: DataPacket_Kind.RELIABLE, valueOf: DataPacket_Kind.valueOf, enumValues: DataPacket_Kind.values) - ..aOM(2, _omitFieldNames ? '' : 'user', subBuilder: UserPacket.create) - ..aOM(3, _omitFieldNames ? '' : 'speaker', subBuilder: ActiveSpeakerUpdate.create) + ..aE(1, _omitFieldNames ? '' : 'kind', + enumValues: DataPacket_Kind.values) + ..aOM(2, _omitFieldNames ? '' : 'user', + subBuilder: UserPacket.create) + ..aOM(3, _omitFieldNames ? '' : 'speaker', + subBuilder: ActiveSpeakerUpdate.create) ..aOS(4, _omitFieldNames ? '' : 'participantIdentity') ..pPS(5, _omitFieldNames ? '' : 'destinationIdentities') - ..aOM(6, _omitFieldNames ? '' : 'sipDtmf', subBuilder: SipDTMF.create) - ..aOM(7, _omitFieldNames ? '' : 'transcription', subBuilder: Transcription.create) - ..aOM<$1.MetricsBatch>(8, _omitFieldNames ? '' : 'metrics', subBuilder: $1.MetricsBatch.create) - ..aOM(9, _omitFieldNames ? '' : 'chatMessage', subBuilder: ChatMessage.create) - ..aOM(10, _omitFieldNames ? '' : 'rpcRequest', subBuilder: RpcRequest.create) - ..aOM(11, _omitFieldNames ? '' : 'rpcAck', subBuilder: RpcAck.create) - ..aOM(12, _omitFieldNames ? '' : 'rpcResponse', subBuilder: RpcResponse.create) - ..aOM(13, _omitFieldNames ? '' : 'streamHeader', subBuilder: DataStream_Header.create) - ..aOM(14, _omitFieldNames ? '' : 'streamChunk', subBuilder: DataStream_Chunk.create) - ..aOM(15, _omitFieldNames ? '' : 'streamTrailer', subBuilder: DataStream_Trailer.create) - ..a<$core.int>(16, _omitFieldNames ? '' : 'sequence', $pb.PbFieldType.OU3) + ..aOM(6, _omitFieldNames ? '' : 'sipDtmf', + subBuilder: SipDTMF.create) + ..aOM(7, _omitFieldNames ? '' : 'transcription', + subBuilder: Transcription.create) + ..aOM<$0.MetricsBatch>(8, _omitFieldNames ? '' : 'metrics', + subBuilder: $0.MetricsBatch.create) + ..aOM(9, _omitFieldNames ? '' : 'chatMessage', + subBuilder: ChatMessage.create) + ..aOM(10, _omitFieldNames ? '' : 'rpcRequest', + subBuilder: RpcRequest.create) + ..aOM(11, _omitFieldNames ? '' : 'rpcAck', + subBuilder: RpcAck.create) + ..aOM(12, _omitFieldNames ? '' : 'rpcResponse', + subBuilder: RpcResponse.create) + ..aOM(13, _omitFieldNames ? '' : 'streamHeader', + subBuilder: DataStream_Header.create) + ..aOM(14, _omitFieldNames ? '' : 'streamChunk', + subBuilder: DataStream_Chunk.create) + ..aOM(15, _omitFieldNames ? '' : 'streamTrailer', + subBuilder: DataStream_Trailer.create) + ..aI(16, _omitFieldNames ? '' : 'sequence', fieldType: $pb.PbFieldType.OU3) ..aOS(17, _omitFieldNames ? '' : 'participantSid') - ..aOM(18, _omitFieldNames ? '' : 'encryptedPacket', subBuilder: EncryptedPacket.create) + ..aOM(18, _omitFieldNames ? '' : 'encryptedPacket', + subBuilder: EncryptedPacket.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataPacket clone() => DataPacket()..mergeFromMessage(this); + DataPacket clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataPacket copyWith(void Function(DataPacket) updates) => super.copyWith((message) => updates(message as DataPacket)) as DataPacket; @@ -1633,12 +1938,38 @@ class DataPacket extends $pb.GeneratedMessage { static DataPacket create() => DataPacket._(); @$core.override DataPacket createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataPacket getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataPacket getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataPacket? _defaultInstance; + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + @$pb.TagNumber(12) + @$pb.TagNumber(13) + @$pb.TagNumber(14) + @$pb.TagNumber(15) + @$pb.TagNumber(18) DataPacket_Value whichValue() => _DataPacket_ValueByTag[$_whichOneof(0)]!; + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + @$pb.TagNumber(12) + @$pb.TagNumber(13) + @$pb.TagNumber(14) + @$pb.TagNumber(15) + @$pb.TagNumber(18) void clearValue() => $_clearField($_whichOneof(0)); @$core.Deprecated('This field is deprecated.') @@ -1718,15 +2049,15 @@ class DataPacket extends $pb.GeneratedMessage { Transcription ensureTranscription() => $_ensure(6); @$pb.TagNumber(8) - $1.MetricsBatch get metrics => $_getN(7); + $0.MetricsBatch get metrics => $_getN(7); @$pb.TagNumber(8) - set metrics($1.MetricsBatch value) => $_setField(8, value); + set metrics($0.MetricsBatch value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasMetrics() => $_has(7); @$pb.TagNumber(8) void clearMetrics() => $_clearField(8); @$pb.TagNumber(8) - $1.MetricsBatch ensureMetrics() => $_ensure(7); + $0.MetricsBatch ensureMetrics() => $_ensure(7); @$pb.TagNumber(9) ChatMessage get chatMessage => $_getN(8); @@ -1857,23 +2188,29 @@ class EncryptedPacket extends $pb.GeneratedMessage { factory EncryptedPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory EncryptedPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory EncryptedPacket.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) - ..a<$core.int>(3, _omitFieldNames ? '' : 'keyIndex', $pb.PbFieldType.OU3) - ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'encryptedValue', $pb.PbFieldType.OY) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EncryptedPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'encryptionType', + enumValues: Encryption_Type.values) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) + ..aI(3, _omitFieldNames ? '' : 'keyIndex', fieldType: $pb.PbFieldType.OU3) + ..a<$core.List<$core.int>>( + 4, _omitFieldNames ? '' : 'encryptedValue', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacket clone() => EncryptedPacket()..mergeFromMessage(this); + EncryptedPacket clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EncryptedPacket copyWith(void Function(EncryptedPacket) updates) => - super.copyWith((message) => updates(message as EncryptedPacket)) as EncryptedPacket; + super.copyWith((message) => updates(message as EncryptedPacket)) + as EncryptedPacket; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1882,10 +2219,9 @@ class EncryptedPacket extends $pb.GeneratedMessage { static EncryptedPacket create() => EncryptedPacket._(); @$core.override EncryptedPacket createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EncryptedPacket getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EncryptedPacket getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EncryptedPacket? _defaultInstance; @$pb.TagNumber(1) @@ -1969,7 +2305,8 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, EncryptedPacketPayload_Value> _EncryptedPacketPayload_ValueByTag = { + static const $core.Map<$core.int, EncryptedPacketPayload_Value> + _EncryptedPacketPayload_ValueByTag = { 1: EncryptedPacketPayload_Value.user, 3: EncryptedPacketPayload_Value.chatMessage, 4: EncryptedPacketPayload_Value.rpcRequest, @@ -1980,24 +2317,35 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { 9: EncryptedPacketPayload_Value.streamTrailer, 0: EncryptedPacketPayload_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPacketPayload', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EncryptedPacketPayload', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [1, 3, 4, 5, 6, 7, 8, 9]) - ..aOM(1, _omitFieldNames ? '' : 'user', subBuilder: UserPacket.create) - ..aOM(3, _omitFieldNames ? '' : 'chatMessage', subBuilder: ChatMessage.create) - ..aOM(4, _omitFieldNames ? '' : 'rpcRequest', subBuilder: RpcRequest.create) + ..aOM(1, _omitFieldNames ? '' : 'user', + subBuilder: UserPacket.create) + ..aOM(3, _omitFieldNames ? '' : 'chatMessage', + subBuilder: ChatMessage.create) + ..aOM(4, _omitFieldNames ? '' : 'rpcRequest', + subBuilder: RpcRequest.create) ..aOM(5, _omitFieldNames ? '' : 'rpcAck', subBuilder: RpcAck.create) - ..aOM(6, _omitFieldNames ? '' : 'rpcResponse', subBuilder: RpcResponse.create) - ..aOM(7, _omitFieldNames ? '' : 'streamHeader', subBuilder: DataStream_Header.create) - ..aOM(8, _omitFieldNames ? '' : 'streamChunk', subBuilder: DataStream_Chunk.create) - ..aOM(9, _omitFieldNames ? '' : 'streamTrailer', subBuilder: DataStream_Trailer.create) + ..aOM(6, _omitFieldNames ? '' : 'rpcResponse', + subBuilder: RpcResponse.create) + ..aOM(7, _omitFieldNames ? '' : 'streamHeader', + subBuilder: DataStream_Header.create) + ..aOM(8, _omitFieldNames ? '' : 'streamChunk', + subBuilder: DataStream_Chunk.create) + ..aOM(9, _omitFieldNames ? '' : 'streamTrailer', + subBuilder: DataStream_Trailer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacketPayload clone() => EncryptedPacketPayload()..mergeFromMessage(this); + EncryptedPacketPayload clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacketPayload copyWith(void Function(EncryptedPacketPayload) updates) => - super.copyWith((message) => updates(message as EncryptedPacketPayload)) as EncryptedPacketPayload; + EncryptedPacketPayload copyWith( + void Function(EncryptedPacketPayload) updates) => + super.copyWith((message) => updates(message as EncryptedPacketPayload)) + as EncryptedPacketPayload; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2006,13 +2354,29 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { static EncryptedPacketPayload create() => EncryptedPacketPayload._(); @$core.override EncryptedPacketPayload createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EncryptedPacketPayload getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EncryptedPacketPayload getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EncryptedPacketPayload? _defaultInstance; - EncryptedPacketPayload_Value whichValue() => _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + EncryptedPacketPayload_Value whichValue() => + _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) void clearValue() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -2123,16 +2487,20 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActiveSpeakerUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: SpeakerInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ActiveSpeakerUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'speakers', + subBuilder: SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ActiveSpeakerUpdate clone() => ActiveSpeakerUpdate()..mergeFromMessage(this); + ActiveSpeakerUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ActiveSpeakerUpdate copyWith(void Function(ActiveSpeakerUpdate) updates) => - super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) as ActiveSpeakerUpdate; + super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) + as ActiveSpeakerUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2141,10 +2509,9 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { static ActiveSpeakerUpdate create() => ActiveSpeakerUpdate._(); @$core.override ActiveSpeakerUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ActiveSpeakerUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ActiveSpeakerUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ActiveSpeakerUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2169,21 +2536,25 @@ class SpeakerInfo extends $pb.GeneratedMessage { factory SpeakerInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SpeakerInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SpeakerInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakerInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SpeakerInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') - ..a<$core.double>(2, _omitFieldNames ? '' : 'level', $pb.PbFieldType.OF) + ..aD(2, _omitFieldNames ? '' : 'level', fieldType: $pb.PbFieldType.OF) ..aOB(3, _omitFieldNames ? '' : 'active') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SpeakerInfo clone() => SpeakerInfo()..mergeFromMessage(this); + SpeakerInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakerInfo copyWith(void Function(SpeakerInfo) updates) => - super.copyWith((message) => updates(message as SpeakerInfo)) as SpeakerInfo; + super.copyWith((message) => updates(message as SpeakerInfo)) + as SpeakerInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2192,9 +2563,9 @@ class SpeakerInfo extends $pb.GeneratedMessage { static SpeakerInfo create() => SpeakerInfo._(); @$core.override SpeakerInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SpeakerInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SpeakerInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SpeakerInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2231,10 +2602,13 @@ class UserPacket extends $pb.GeneratedMessage { factory UserPacket({ @$core.Deprecated('This field is deprecated.') $core.String? participantSid, $core.List<$core.int>? payload, - @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? destinationSids, + @$core.Deprecated('This field is deprecated.') + $core.Iterable<$core.String>? destinationSids, $core.String? topic, - @$core.Deprecated('This field is deprecated.') $core.String? participantIdentity, - @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? destinationIdentities, + @$core.Deprecated('This field is deprecated.') + $core.String? participantIdentity, + @$core.Deprecated('This field is deprecated.') + $core.Iterable<$core.String>? destinationIdentities, $core.String? id, $fixnum.Int64? startTime, $fixnum.Int64? endTime, @@ -2245,8 +2619,10 @@ class UserPacket extends $pb.GeneratedMessage { if (payload != null) result.payload = payload; if (destinationSids != null) result.destinationSids.addAll(destinationSids); if (topic != null) result.topic = topic; - if (participantIdentity != null) result.participantIdentity = participantIdentity; - if (destinationIdentities != null) result.destinationIdentities.addAll(destinationIdentities); + if (participantIdentity != null) + result.participantIdentity = participantIdentity; + if (destinationIdentities != null) + result.destinationIdentities.addAll(destinationIdentities); if (id != null) result.id = id; if (startTime != null) result.startTime = startTime; if (endTime != null) result.endTime = endTime; @@ -2259,25 +2635,34 @@ class UserPacket extends $pb.GeneratedMessage { factory UserPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UserPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory UserPacket.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UserPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'payload', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'payload', $pb.PbFieldType.OY) ..pPS(3, _omitFieldNames ? '' : 'destinationSids') ..aOS(4, _omitFieldNames ? '' : 'topic') ..aOS(5, _omitFieldNames ? '' : 'participantIdentity') ..pPS(6, _omitFieldNames ? '' : 'destinationIdentities') ..aOS(8, _omitFieldNames ? '' : 'id') - ..a<$fixnum.Int64>(9, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(10, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>( + 9, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 10, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>( + 11, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UserPacket clone() => UserPacket()..mergeFromMessage(this); + UserPacket clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UserPacket copyWith(void Function(UserPacket) updates) => super.copyWith((message) => updates(message as UserPacket)) as UserPacket; @@ -2289,9 +2674,9 @@ class UserPacket extends $pb.GeneratedMessage { static UserPacket create() => UserPacket._(); @$core.override UserPacket createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UserPacket getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UserPacket getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UserPacket? _defaultInstance; /// participant ID of user that sent the message @@ -2407,17 +2792,20 @@ class SipDTMF extends $pb.GeneratedMessage { factory SipDTMF.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SipDTMF.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SipDTMF.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SipDTMF', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(3, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SipDTMF', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(3, _omitFieldNames ? '' : 'code', fieldType: $pb.PbFieldType.OU3) ..aOS(4, _omitFieldNames ? '' : 'digit') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SipDTMF clone() => SipDTMF()..mergeFromMessage(this); + SipDTMF clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SipDTMF copyWith(void Function(SipDTMF) updates) => super.copyWith((message) => updates(message as SipDTMF)) as SipDTMF; @@ -2429,9 +2817,9 @@ class SipDTMF extends $pb.GeneratedMessage { static SipDTMF create() => SipDTMF._(); @$core.override SipDTMF createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SipDTMF getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SipDTMF getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SipDTMF? _defaultInstance; @$pb.TagNumber(3) @@ -2460,7 +2848,8 @@ class Transcription extends $pb.GeneratedMessage { $core.Iterable? segments, }) { final result = create(); - if (transcribedParticipantIdentity != null) result.transcribedParticipantIdentity = transcribedParticipantIdentity; + if (transcribedParticipantIdentity != null) + result.transcribedParticipantIdentity = transcribedParticipantIdentity; if (trackId != null) result.trackId = trackId; if (segments != null) result.segments.addAll(segments); return result; @@ -2471,22 +2860,26 @@ class Transcription extends $pb.GeneratedMessage { factory Transcription.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Transcription.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Transcription.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transcription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Transcription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(2, _omitFieldNames ? '' : 'transcribedParticipantIdentity') ..aOS(3, _omitFieldNames ? '' : 'trackId') - ..pc(4, _omitFieldNames ? '' : 'segments', $pb.PbFieldType.PM, + ..pPM(4, _omitFieldNames ? '' : 'segments', subBuilder: TranscriptionSegment.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Transcription clone() => Transcription()..mergeFromMessage(this); + Transcription clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Transcription copyWith(void Function(Transcription) updates) => - super.copyWith((message) => updates(message as Transcription)) as Transcription; + super.copyWith((message) => updates(message as Transcription)) + as Transcription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2495,16 +2888,17 @@ class Transcription extends $pb.GeneratedMessage { static Transcription create() => Transcription._(); @$core.override Transcription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Transcription getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Transcription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Transcription? _defaultInstance; /// Participant that got its speech transcribed @$pb.TagNumber(2) $core.String get transcribedParticipantIdentity => $_getSZ(0); @$pb.TagNumber(2) - set transcribedParticipantIdentity($core.String value) => $_setString(0, value); + set transcribedParticipantIdentity($core.String value) => + $_setString(0, value); @$pb.TagNumber(2) $core.bool hasTranscribedParticipantIdentity() => $_has(0); @$pb.TagNumber(2) @@ -2551,21 +2945,27 @@ class TranscriptionSegment extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranscriptionSegment', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TranscriptionSegment', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'text') - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(5, _omitFieldNames ? '' : 'final') ..aOS(6, _omitFieldNames ? '' : 'language') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TranscriptionSegment clone() => TranscriptionSegment()..mergeFromMessage(this); + TranscriptionSegment clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TranscriptionSegment copyWith(void Function(TranscriptionSegment) updates) => - super.copyWith((message) => updates(message as TranscriptionSegment)) as TranscriptionSegment; + super.copyWith((message) => updates(message as TranscriptionSegment)) + as TranscriptionSegment; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2574,10 +2974,9 @@ class TranscriptionSegment extends $pb.GeneratedMessage { static TranscriptionSegment create() => TranscriptionSegment._(); @$core.override TranscriptionSegment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TranscriptionSegment getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TranscriptionSegment getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TranscriptionSegment? _defaultInstance; @$pb.TagNumber(1) @@ -2659,11 +3058,14 @@ class ChatMessage extends $pb.GeneratedMessage { factory ChatMessage.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ChatMessage.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ChatMessage.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChatMessage', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ChatMessage', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..aInt64(3, _omitFieldNames ? '' : 'editTimestamp') @@ -2673,10 +3075,11 @@ class ChatMessage extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ChatMessage clone() => ChatMessage()..mergeFromMessage(this); + ChatMessage clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChatMessage copyWith(void Function(ChatMessage) updates) => - super.copyWith((message) => updates(message as ChatMessage)) as ChatMessage; + super.copyWith((message) => updates(message as ChatMessage)) + as ChatMessage; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2685,9 +3088,9 @@ class ChatMessage extends $pb.GeneratedMessage { static ChatMessage create() => ChatMessage._(); @$core.override ChatMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ChatMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ChatMessage getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ChatMessage? _defaultInstance; @$pb.TagNumber(1) @@ -2767,20 +3170,24 @@ class RpcRequest extends $pb.GeneratedMessage { factory RpcRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'method') ..aOS(3, _omitFieldNames ? '' : 'payload') - ..a<$core.int>(4, _omitFieldNames ? '' : 'responseTimeoutMs', $pb.PbFieldType.OU3) - ..a<$core.int>(5, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) + ..aI(4, _omitFieldNames ? '' : 'responseTimeoutMs', + fieldType: $pb.PbFieldType.OU3) + ..aI(5, _omitFieldNames ? '' : 'version', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcRequest clone() => RpcRequest()..mergeFromMessage(this); + RpcRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcRequest copyWith(void Function(RpcRequest) updates) => super.copyWith((message) => updates(message as RpcRequest)) as RpcRequest; @@ -2792,9 +3199,9 @@ class RpcRequest extends $pb.GeneratedMessage { static RpcRequest create() => RpcRequest._(); @$core.override RpcRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RpcRequest? _defaultInstance; @$pb.TagNumber(1) @@ -2857,18 +3264,22 @@ class RpcAck extends $pb.GeneratedMessage { factory RpcAck.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcAck.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcAck.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcAck', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcAck', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'requestId') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcAck clone() => RpcAck()..mergeFromMessage(this); + RpcAck clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcAck copyWith(void Function(RpcAck) updates) => super.copyWith((message) => updates(message as RpcAck)) as RpcAck; + RpcAck copyWith(void Function(RpcAck) updates) => + super.copyWith((message) => updates(message as RpcAck)) as RpcAck; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2877,9 +3288,9 @@ class RpcAck extends $pb.GeneratedMessage { static RpcAck create() => RpcAck._(); @$core.override RpcAck createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcAck getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcAck getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcAck? _defaultInstance; @$pb.TagNumber(1) @@ -2912,27 +3323,33 @@ class RpcResponse extends $pb.GeneratedMessage { factory RpcResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RpcResponse_Value> _RpcResponse_ValueByTag = { + static const $core.Map<$core.int, RpcResponse_Value> _RpcResponse_ValueByTag = + { 2: RpcResponse_Value.payload, 3: RpcResponse_Value.error, 0: RpcResponse_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [2, 3]) ..aOS(1, _omitFieldNames ? '' : 'requestId') ..aOS(2, _omitFieldNames ? '' : 'payload') - ..aOM(3, _omitFieldNames ? '' : 'error', subBuilder: RpcError.create) + ..aOM(3, _omitFieldNames ? '' : 'error', + subBuilder: RpcError.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcResponse clone() => RpcResponse()..mergeFromMessage(this); + RpcResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcResponse copyWith(void Function(RpcResponse) updates) => - super.copyWith((message) => updates(message as RpcResponse)) as RpcResponse; + super.copyWith((message) => updates(message as RpcResponse)) + as RpcResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2941,12 +3358,16 @@ class RpcResponse extends $pb.GeneratedMessage { static RpcResponse create() => RpcResponse._(); @$core.override RpcResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RpcResponse? _defaultInstance; + @$pb.TagNumber(2) + @$pb.TagNumber(3) RpcResponse_Value whichValue() => _RpcResponse_ValueByTag[$_whichOneof(0)]!; + @$pb.TagNumber(2) + @$pb.TagNumber(3) void clearValue() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -2997,18 +3418,21 @@ class RpcError extends $pb.GeneratedMessage { factory RpcError.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcError.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcError.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcError', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcError', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'code', fieldType: $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'message') ..aOS(3, _omitFieldNames ? '' : 'data') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcError clone() => RpcError()..mergeFromMessage(this); + RpcError clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcError copyWith(void Function(RpcError) updates) => super.copyWith((message) => updates(message as RpcError)) as RpcError; @@ -3020,9 +3444,9 @@ class RpcError extends $pb.GeneratedMessage { static RpcError create() => RpcError._(); @$core.override RpcError createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcError getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcError getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcError? _defaultInstance; @$pb.TagNumber(1) @@ -3073,17 +3497,20 @@ class ParticipantTracks extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantTracks', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantTracks', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..pPS(2, _omitFieldNames ? '' : 'trackSids') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantTracks clone() => ParticipantTracks()..mergeFromMessage(this); + ParticipantTracks clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantTracks copyWith(void Function(ParticipantTracks) updates) => - super.copyWith((message) => updates(message as ParticipantTracks)) as ParticipantTracks; + super.copyWith((message) => updates(message as ParticipantTracks)) + as ParticipantTracks; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3092,10 +3519,9 @@ class ParticipantTracks extends $pb.GeneratedMessage { static ParticipantTracks create() => ParticipantTracks._(); @$core.override ParticipantTracks createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantTracks getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantTracks getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantTracks? _defaultInstance; /// participant ID of participant to whom the tracks belong @@ -3139,25 +3565,26 @@ class ServerInfo extends $pb.GeneratedMessage { factory ServerInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ServerInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ServerInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServerInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, - defaultOrMaker: ServerInfo_Edition.Standard, - valueOf: ServerInfo_Edition.valueOf, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ServerInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'edition', enumValues: ServerInfo_Edition.values) ..aOS(2, _omitFieldNames ? '' : 'version') - ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) + ..aI(3, _omitFieldNames ? '' : 'protocol') ..aOS(4, _omitFieldNames ? '' : 'region') ..aOS(5, _omitFieldNames ? '' : 'nodeId') ..aOS(6, _omitFieldNames ? '' : 'debugInfo') - ..a<$core.int>(7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) + ..aI(7, _omitFieldNames ? '' : 'agentProtocol') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ServerInfo clone() => ServerInfo()..mergeFromMessage(this); + ServerInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ServerInfo copyWith(void Function(ServerInfo) updates) => super.copyWith((message) => updates(message as ServerInfo)) as ServerInfo; @@ -3169,9 +3596,9 @@ class ServerInfo extends $pb.GeneratedMessage { static ServerInfo create() => ServerInfo._(); @$core.override ServerInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ServerInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ServerInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ServerInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3274,15 +3701,18 @@ class ClientInfo extends $pb.GeneratedMessage { factory ClientInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ClientInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ClientInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'sdk', $pb.PbFieldType.OE, - defaultOrMaker: ClientInfo_SDK.UNKNOWN, valueOf: ClientInfo_SDK.valueOf, enumValues: ClientInfo_SDK.values) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ClientInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'sdk', + enumValues: ClientInfo_SDK.values) ..aOS(2, _omitFieldNames ? '' : 'version') - ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) + ..aI(3, _omitFieldNames ? '' : 'protocol') ..aOS(4, _omitFieldNames ? '' : 'os') ..aOS(5, _omitFieldNames ? '' : 'osVersion') ..aOS(6, _omitFieldNames ? '' : 'deviceModel') @@ -3294,7 +3724,7 @@ class ClientInfo extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ClientInfo clone() => ClientInfo()..mergeFromMessage(this); + ClientInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ClientInfo copyWith(void Function(ClientInfo) updates) => super.copyWith((message) => updates(message as ClientInfo)) as ClientInfo; @@ -3306,9 +3736,9 @@ class ClientInfo extends $pb.GeneratedMessage { static ClientInfo create() => ClientInfo._(); @$core.override ClientInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ClientInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClientInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ClientInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3441,26 +3871,28 @@ class ClientConfiguration extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientConfiguration', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'video', subBuilder: VideoConfiguration.create) - ..aOM(2, _omitFieldNames ? '' : 'screen', subBuilder: VideoConfiguration.create) - ..e(3, _omitFieldNames ? '' : 'resumeConnection', $pb.PbFieldType.OE, - defaultOrMaker: ClientConfigSetting.UNSET, - valueOf: ClientConfigSetting.valueOf, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ClientConfiguration', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'video', + subBuilder: VideoConfiguration.create) + ..aOM(2, _omitFieldNames ? '' : 'screen', + subBuilder: VideoConfiguration.create) + ..aE(3, _omitFieldNames ? '' : 'resumeConnection', enumValues: ClientConfigSetting.values) - ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', subBuilder: DisabledCodecs.create) - ..e(5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, - defaultOrMaker: ClientConfigSetting.UNSET, - valueOf: ClientConfigSetting.valueOf, + ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', + subBuilder: DisabledCodecs.create) + ..aE(5, _omitFieldNames ? '' : 'forceRelay', enumValues: ClientConfigSetting.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ClientConfiguration clone() => ClientConfiguration()..mergeFromMessage(this); + ClientConfiguration clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ClientConfiguration copyWith(void Function(ClientConfiguration) updates) => - super.copyWith((message) => updates(message as ClientConfiguration)) as ClientConfiguration; + super.copyWith((message) => updates(message as ClientConfiguration)) + as ClientConfiguration; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3469,10 +3901,9 @@ class ClientConfiguration extends $pb.GeneratedMessage { static ClientConfiguration create() => ClientConfiguration._(); @$core.override ClientConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ClientConfiguration getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClientConfiguration getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ClientConfiguration? _defaultInstance; @$pb.TagNumber(1) @@ -3545,19 +3976,20 @@ class VideoConfiguration extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VideoConfiguration', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'hardwareEncoder', $pb.PbFieldType.OE, - defaultOrMaker: ClientConfigSetting.UNSET, - valueOf: ClientConfigSetting.valueOf, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VideoConfiguration', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'hardwareEncoder', enumValues: ClientConfigSetting.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - VideoConfiguration clone() => VideoConfiguration()..mergeFromMessage(this); + VideoConfiguration clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VideoConfiguration copyWith(void Function(VideoConfiguration) updates) => - super.copyWith((message) => updates(message as VideoConfiguration)) as VideoConfiguration; + super.copyWith((message) => updates(message as VideoConfiguration)) + as VideoConfiguration; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3566,10 +3998,9 @@ class VideoConfiguration extends $pb.GeneratedMessage { static VideoConfiguration create() => VideoConfiguration._(); @$core.override VideoConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VideoConfiguration getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VideoConfiguration getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static VideoConfiguration? _defaultInstance; @$pb.TagNumber(1) @@ -3598,20 +4029,24 @@ class DisabledCodecs extends $pb.GeneratedMessage { factory DisabledCodecs.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DisabledCodecs.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DisabledCodecs.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisabledCodecs', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: Codec.create) - ..pc(2, _omitFieldNames ? '' : 'publish', $pb.PbFieldType.PM, subBuilder: Codec.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DisabledCodecs', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'codecs', subBuilder: Codec.create) + ..pPM(2, _omitFieldNames ? '' : 'publish', subBuilder: Codec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DisabledCodecs clone() => DisabledCodecs()..mergeFromMessage(this); + DisabledCodecs clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DisabledCodecs copyWith(void Function(DisabledCodecs) updates) => - super.copyWith((message) => updates(message as DisabledCodecs)) as DisabledCodecs; + super.copyWith((message) => updates(message as DisabledCodecs)) + as DisabledCodecs; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3620,9 +4055,9 @@ class DisabledCodecs extends $pb.GeneratedMessage { static DisabledCodecs create() => DisabledCodecs._(); @$core.override DisabledCodecs createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DisabledCodecs getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DisabledCodecs getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DisabledCodecs? _defaultInstance; /// disabled for both publish and subscribe @@ -3636,8 +4071,8 @@ class DisabledCodecs extends $pb.GeneratedMessage { class RTPDrift extends $pb.GeneratedMessage { factory RTPDrift({ - $0.Timestamp? startTime, - $0.Timestamp? endTime, + $1.Timestamp? startTime, + $1.Timestamp? endTime, $core.double? duration, $fixnum.Int64? startTimestamp, $fixnum.Int64? endTimestamp, @@ -3664,27 +4099,35 @@ class RTPDrift extends $pb.GeneratedMessage { factory RTPDrift.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPDrift.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPDrift.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPDrift', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $0.Timestamp.create) - ..a<$core.double>(3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPDrift', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$1.Timestamp>(1, _omitFieldNames ? '' : 'startTime', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(2, _omitFieldNames ? '' : 'endTime', + subBuilder: $1.Timestamp.create) + ..aD(3, _omitFieldNames ? '' : 'duration') + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(7, _omitFieldNames ? '' : 'driftSamples') - ..a<$core.double>(8, _omitFieldNames ? '' : 'driftMs', $pb.PbFieldType.OD) - ..a<$core.double>(9, _omitFieldNames ? '' : 'clockRate', $pb.PbFieldType.OD) + ..aD(8, _omitFieldNames ? '' : 'driftMs') + ..aD(9, _omitFieldNames ? '' : 'clockRate') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTPDrift clone() => RTPDrift()..mergeFromMessage(this); + RTPDrift clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPDrift copyWith(void Function(RTPDrift) updates) => super.copyWith((message) => updates(message as RTPDrift)) as RTPDrift; @@ -3696,32 +4139,32 @@ class RTPDrift extends $pb.GeneratedMessage { static RTPDrift create() => RTPDrift._(); @$core.override RTPDrift createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPDrift getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPDrift getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTPDrift? _defaultInstance; @$pb.TagNumber(1) - $0.Timestamp get startTime => $_getN(0); + $1.Timestamp get startTime => $_getN(0); @$pb.TagNumber(1) - set startTime($0.Timestamp value) => $_setField(1, value); + set startTime($1.Timestamp value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasStartTime() => $_has(0); @$pb.TagNumber(1) void clearStartTime() => $_clearField(1); @$pb.TagNumber(1) - $0.Timestamp ensureStartTime() => $_ensure(0); + $1.Timestamp ensureStartTime() => $_ensure(0); @$pb.TagNumber(2) - $0.Timestamp get endTime => $_getN(1); + $1.Timestamp get endTime => $_getN(1); @$pb.TagNumber(2) - set endTime($0.Timestamp value) => $_setField(2, value); + set endTime($1.Timestamp value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasEndTime() => $_has(1); @$pb.TagNumber(2) void clearEndTime() => $_clearField(2); @$pb.TagNumber(2) - $0.Timestamp ensureEndTime() => $_ensure(1); + $1.Timestamp ensureEndTime() => $_ensure(1); @$pb.TagNumber(3) $core.double get duration => $_getN(2); @@ -3789,8 +4232,8 @@ class RTPDrift extends $pb.GeneratedMessage { class RTPStats extends $pb.GeneratedMessage { factory RTPStats({ - $0.Timestamp? startTime, - $0.Timestamp? endTime, + $1.Timestamp? startTime, + $1.Timestamp? endTime, $core.double? duration, $core.int? packets, $core.double? packetRate, @@ -3816,15 +4259,15 @@ class RTPStats extends $pb.GeneratedMessage { $core.int? nacks, $core.int? nackMisses, $core.int? plis, - $0.Timestamp? lastPli, + $1.Timestamp? lastPli, $core.int? firs, - $0.Timestamp? lastFir, + $1.Timestamp? lastFir, $core.int? rttCurrent, $core.int? rttMax, $core.int? keyFrames, - $0.Timestamp? lastKeyFrame, + $1.Timestamp? lastKeyFrame, $core.int? layerLockPlis, - $0.Timestamp? lastLayerLockPli, + $1.Timestamp? lastLayerLockPli, $core.int? nackAcks, $core.int? nackRepeated, $fixnum.Int64? headerBytes, @@ -3845,9 +4288,11 @@ class RTPStats extends $pb.GeneratedMessage { if (bitrate != null) result.bitrate = bitrate; if (packetsLost != null) result.packetsLost = packetsLost; if (packetLossRate != null) result.packetLossRate = packetLossRate; - if (packetLossPercentage != null) result.packetLossPercentage = packetLossPercentage; + if (packetLossPercentage != null) + result.packetLossPercentage = packetLossPercentage; if (packetsDuplicate != null) result.packetsDuplicate = packetsDuplicate; - if (packetDuplicateRate != null) result.packetDuplicateRate = packetDuplicateRate; + if (packetDuplicateRate != null) + result.packetDuplicateRate = packetDuplicateRate; if (bytesDuplicate != null) result.bytesDuplicate = bytesDuplicate; if (bitrateDuplicate != null) result.bitrateDuplicate = bitrateDuplicate; if (packetsPadding != null) result.packetsPadding = packetsPadding; @@ -3875,12 +4320,16 @@ class RTPStats extends $pb.GeneratedMessage { if (nackAcks != null) result.nackAcks = nackAcks; if (nackRepeated != null) result.nackRepeated = nackRepeated; if (headerBytes != null) result.headerBytes = headerBytes; - if (headerBytesDuplicate != null) result.headerBytesDuplicate = headerBytesDuplicate; - if (headerBytesPadding != null) result.headerBytesPadding = headerBytesPadding; + if (headerBytesDuplicate != null) + result.headerBytesDuplicate = headerBytesDuplicate; + if (headerBytesPadding != null) + result.headerBytesPadding = headerBytesPadding; if (packetDrift != null) result.packetDrift = packetDrift; if (ntpReportDrift != null) result.ntpReportDrift = ntpReportDrift; - if (rebasedReportDrift != null) result.rebasedReportDrift = rebasedReportDrift; - if (receivedReportDrift != null) result.receivedReportDrift = receivedReportDrift; + if (rebasedReportDrift != null) + result.rebasedReportDrift = rebasedReportDrift; + if (receivedReportDrift != null) + result.receivedReportDrift = receivedReportDrift; return result; } @@ -3889,69 +4338,97 @@ class RTPStats extends $pb.GeneratedMessage { factory RTPStats.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPStats.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPStats.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPStats', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $0.Timestamp.create) - ..a<$core.double>(3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OD) - ..a<$core.int>(4, _omitFieldNames ? '' : 'packets', $pb.PbFieldType.OU3) - ..a<$core.double>(5, _omitFieldNames ? '' : 'packetRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(7, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OD) - ..a<$core.int>(8, _omitFieldNames ? '' : 'packetsLost', $pb.PbFieldType.OU3) - ..a<$core.double>(9, _omitFieldNames ? '' : 'packetLossRate', $pb.PbFieldType.OD) - ..a<$core.double>(10, _omitFieldNames ? '' : 'packetLossPercentage', $pb.PbFieldType.OF) - ..a<$core.int>(11, _omitFieldNames ? '' : 'packetsDuplicate', $pb.PbFieldType.OU3) - ..a<$core.double>(12, _omitFieldNames ? '' : 'packetDuplicateRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(13, _omitFieldNames ? '' : 'bytesDuplicate', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPStats', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$1.Timestamp>(1, _omitFieldNames ? '' : 'startTime', + subBuilder: $1.Timestamp.create) + ..aOM<$1.Timestamp>(2, _omitFieldNames ? '' : 'endTime', + subBuilder: $1.Timestamp.create) + ..aD(3, _omitFieldNames ? '' : 'duration') + ..aI(4, _omitFieldNames ? '' : 'packets', fieldType: $pb.PbFieldType.OU3) + ..aD(5, _omitFieldNames ? '' : 'packetRate') + ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..aD(7, _omitFieldNames ? '' : 'bitrate') + ..aI(8, _omitFieldNames ? '' : 'packetsLost', + fieldType: $pb.PbFieldType.OU3) + ..aD(9, _omitFieldNames ? '' : 'packetLossRate') + ..aD(10, _omitFieldNames ? '' : 'packetLossPercentage', + fieldType: $pb.PbFieldType.OF) + ..aI(11, _omitFieldNames ? '' : 'packetsDuplicate', + fieldType: $pb.PbFieldType.OU3) + ..aD(12, _omitFieldNames ? '' : 'packetDuplicateRate') + ..a<$fixnum.Int64>( + 13, _omitFieldNames ? '' : 'bytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(14, _omitFieldNames ? '' : 'bitrateDuplicate', $pb.PbFieldType.OD) - ..a<$core.int>(15, _omitFieldNames ? '' : 'packetsPadding', $pb.PbFieldType.OU3) - ..a<$core.double>(16, _omitFieldNames ? '' : 'packetPaddingRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(17, _omitFieldNames ? '' : 'bytesPadding', $pb.PbFieldType.OU6, + ..aD(14, _omitFieldNames ? '' : 'bitrateDuplicate') + ..aI(15, _omitFieldNames ? '' : 'packetsPadding', + fieldType: $pb.PbFieldType.OU3) + ..aD(16, _omitFieldNames ? '' : 'packetPaddingRate') + ..a<$fixnum.Int64>( + 17, _omitFieldNames ? '' : 'bytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) - ..a<$core.int>(19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) - ..a<$core.int>(20, _omitFieldNames ? '' : 'frames', $pb.PbFieldType.OU3) - ..a<$core.double>(21, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OD) - ..a<$core.double>(22, _omitFieldNames ? '' : 'jitterCurrent', $pb.PbFieldType.OD) - ..a<$core.double>(23, _omitFieldNames ? '' : 'jitterMax', $pb.PbFieldType.OD) + ..aD(18, _omitFieldNames ? '' : 'bitratePadding') + ..aI(19, _omitFieldNames ? '' : 'packetsOutOfOrder', + fieldType: $pb.PbFieldType.OU3) + ..aI(20, _omitFieldNames ? '' : 'frames', fieldType: $pb.PbFieldType.OU3) + ..aD(21, _omitFieldNames ? '' : 'frameRate') + ..aD(22, _omitFieldNames ? '' : 'jitterCurrent') + ..aD(23, _omitFieldNames ? '' : 'jitterMax') ..m<$core.int, $core.int>(24, _omitFieldNames ? '' : 'gapHistogram', entryClassName: 'RTPStats.GapHistogramEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OU3, packageName: const $pb.PackageName('livekit')) - ..a<$core.int>(25, _omitFieldNames ? '' : 'nacks', $pb.PbFieldType.OU3) - ..a<$core.int>(26, _omitFieldNames ? '' : 'nackMisses', $pb.PbFieldType.OU3) - ..a<$core.int>(27, _omitFieldNames ? '' : 'plis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', subBuilder: $0.Timestamp.create) - ..a<$core.int>(29, _omitFieldNames ? '' : 'firs', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(30, _omitFieldNames ? '' : 'lastFir', subBuilder: $0.Timestamp.create) - ..a<$core.int>(31, _omitFieldNames ? '' : 'rttCurrent', $pb.PbFieldType.OU3) - ..a<$core.int>(32, _omitFieldNames ? '' : 'rttMax', $pb.PbFieldType.OU3) - ..a<$core.int>(33, _omitFieldNames ? '' : 'keyFrames', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(34, _omitFieldNames ? '' : 'lastKeyFrame', subBuilder: $0.Timestamp.create) - ..a<$core.int>(35, _omitFieldNames ? '' : 'layerLockPlis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(36, _omitFieldNames ? '' : 'lastLayerLockPli', subBuilder: $0.Timestamp.create) - ..a<$core.int>(37, _omitFieldNames ? '' : 'nackAcks', $pb.PbFieldType.OU3) - ..a<$core.int>(38, _omitFieldNames ? '' : 'nackRepeated', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(39, _omitFieldNames ? '' : 'headerBytes', $pb.PbFieldType.OU6, + ..aI(25, _omitFieldNames ? '' : 'nacks', fieldType: $pb.PbFieldType.OU3) + ..aI(26, _omitFieldNames ? '' : 'nackMisses', + fieldType: $pb.PbFieldType.OU3) + ..aI(27, _omitFieldNames ? '' : 'plis', fieldType: $pb.PbFieldType.OU3) + ..aOM<$1.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', + subBuilder: $1.Timestamp.create) + ..aI(29, _omitFieldNames ? '' : 'firs', fieldType: $pb.PbFieldType.OU3) + ..aOM<$1.Timestamp>(30, _omitFieldNames ? '' : 'lastFir', + subBuilder: $1.Timestamp.create) + ..aI(31, _omitFieldNames ? '' : 'rttCurrent', + fieldType: $pb.PbFieldType.OU3) + ..aI(32, _omitFieldNames ? '' : 'rttMax', fieldType: $pb.PbFieldType.OU3) + ..aI(33, _omitFieldNames ? '' : 'keyFrames', fieldType: $pb.PbFieldType.OU3) + ..aOM<$1.Timestamp>(34, _omitFieldNames ? '' : 'lastKeyFrame', + subBuilder: $1.Timestamp.create) + ..aI(35, _omitFieldNames ? '' : 'layerLockPlis', + fieldType: $pb.PbFieldType.OU3) + ..aOM<$1.Timestamp>(36, _omitFieldNames ? '' : 'lastLayerLockPli', + subBuilder: $1.Timestamp.create) + ..aI(37, _omitFieldNames ? '' : 'nackAcks', fieldType: $pb.PbFieldType.OU3) + ..aI(38, _omitFieldNames ? '' : 'nackRepeated', + fieldType: $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>( + 39, _omitFieldNames ? '' : 'headerBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(44, _omitFieldNames ? '' : 'packetDrift', subBuilder: RTPDrift.create) - ..aOM(45, _omitFieldNames ? '' : 'ntpReportDrift', subBuilder: RTPDrift.create) - ..aOM(46, _omitFieldNames ? '' : 'rebasedReportDrift', subBuilder: RTPDrift.create) - ..aOM(47, _omitFieldNames ? '' : 'receivedReportDrift', subBuilder: RTPDrift.create) + ..aOM(44, _omitFieldNames ? '' : 'packetDrift', + subBuilder: RTPDrift.create) + ..aOM(45, _omitFieldNames ? '' : 'ntpReportDrift', + subBuilder: RTPDrift.create) + ..aOM(46, _omitFieldNames ? '' : 'rebasedReportDrift', + subBuilder: RTPDrift.create) + ..aOM(47, _omitFieldNames ? '' : 'receivedReportDrift', + subBuilder: RTPDrift.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTPStats clone() => RTPStats()..mergeFromMessage(this); + RTPStats clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPStats copyWith(void Function(RTPStats) updates) => super.copyWith((message) => updates(message as RTPStats)) as RTPStats; @@ -3963,32 +4440,32 @@ class RTPStats extends $pb.GeneratedMessage { static RTPStats create() => RTPStats._(); @$core.override RTPStats createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPStats getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPStats getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTPStats? _defaultInstance; @$pb.TagNumber(1) - $0.Timestamp get startTime => $_getN(0); + $1.Timestamp get startTime => $_getN(0); @$pb.TagNumber(1) - set startTime($0.Timestamp value) => $_setField(1, value); + set startTime($1.Timestamp value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasStartTime() => $_has(0); @$pb.TagNumber(1) void clearStartTime() => $_clearField(1); @$pb.TagNumber(1) - $0.Timestamp ensureStartTime() => $_ensure(0); + $1.Timestamp ensureStartTime() => $_ensure(0); @$pb.TagNumber(2) - $0.Timestamp get endTime => $_getN(1); + $1.Timestamp get endTime => $_getN(1); @$pb.TagNumber(2) - set endTime($0.Timestamp value) => $_setField(2, value); + set endTime($1.Timestamp value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasEndTime() => $_has(1); @$pb.TagNumber(2) void clearEndTime() => $_clearField(2); @$pb.TagNumber(2) - $0.Timestamp ensureEndTime() => $_ensure(1); + $1.Timestamp ensureEndTime() => $_ensure(1); @$pb.TagNumber(3) $core.double get duration => $_getN(2); @@ -4210,15 +4687,15 @@ class RTPStats extends $pb.GeneratedMessage { void clearPlis() => $_clearField(27); @$pb.TagNumber(28) - $0.Timestamp get lastPli => $_getN(27); + $1.Timestamp get lastPli => $_getN(27); @$pb.TagNumber(28) - set lastPli($0.Timestamp value) => $_setField(28, value); + set lastPli($1.Timestamp value) => $_setField(28, value); @$pb.TagNumber(28) $core.bool hasLastPli() => $_has(27); @$pb.TagNumber(28) void clearLastPli() => $_clearField(28); @$pb.TagNumber(28) - $0.Timestamp ensureLastPli() => $_ensure(27); + $1.Timestamp ensureLastPli() => $_ensure(27); @$pb.TagNumber(29) $core.int get firs => $_getIZ(28); @@ -4230,15 +4707,15 @@ class RTPStats extends $pb.GeneratedMessage { void clearFirs() => $_clearField(29); @$pb.TagNumber(30) - $0.Timestamp get lastFir => $_getN(29); + $1.Timestamp get lastFir => $_getN(29); @$pb.TagNumber(30) - set lastFir($0.Timestamp value) => $_setField(30, value); + set lastFir($1.Timestamp value) => $_setField(30, value); @$pb.TagNumber(30) $core.bool hasLastFir() => $_has(29); @$pb.TagNumber(30) void clearLastFir() => $_clearField(30); @$pb.TagNumber(30) - $0.Timestamp ensureLastFir() => $_ensure(29); + $1.Timestamp ensureLastFir() => $_ensure(29); @$pb.TagNumber(31) $core.int get rttCurrent => $_getIZ(30); @@ -4268,15 +4745,15 @@ class RTPStats extends $pb.GeneratedMessage { void clearKeyFrames() => $_clearField(33); @$pb.TagNumber(34) - $0.Timestamp get lastKeyFrame => $_getN(33); + $1.Timestamp get lastKeyFrame => $_getN(33); @$pb.TagNumber(34) - set lastKeyFrame($0.Timestamp value) => $_setField(34, value); + set lastKeyFrame($1.Timestamp value) => $_setField(34, value); @$pb.TagNumber(34) $core.bool hasLastKeyFrame() => $_has(33); @$pb.TagNumber(34) void clearLastKeyFrame() => $_clearField(34); @$pb.TagNumber(34) - $0.Timestamp ensureLastKeyFrame() => $_ensure(33); + $1.Timestamp ensureLastKeyFrame() => $_ensure(33); @$pb.TagNumber(35) $core.int get layerLockPlis => $_getIZ(34); @@ -4288,15 +4765,15 @@ class RTPStats extends $pb.GeneratedMessage { void clearLayerLockPlis() => $_clearField(35); @$pb.TagNumber(36) - $0.Timestamp get lastLayerLockPli => $_getN(35); + $1.Timestamp get lastLayerLockPli => $_getN(35); @$pb.TagNumber(36) - set lastLayerLockPli($0.Timestamp value) => $_setField(36, value); + set lastLayerLockPli($1.Timestamp value) => $_setField(36, value); @$pb.TagNumber(36) $core.bool hasLastLayerLockPli() => $_has(35); @$pb.TagNumber(36) void clearLastLayerLockPli() => $_clearField(36); @$pb.TagNumber(36) - $0.Timestamp ensureLastLayerLockPli() => $_ensure(35); + $1.Timestamp ensureLastLayerLockPli() => $_ensure(35); @$pb.TagNumber(37) $core.int get nackAcks => $_getIZ(36); @@ -4418,24 +4895,32 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTCPSenderReportState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'rtpTimestamp', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'rtpTimestampExt', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTCPSenderReportState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'rtpTimestamp', + fieldType: $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>( + 2, _omitFieldNames ? '' : 'rtpTimestampExt', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'ntpTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'ntpTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(4, _omitFieldNames ? '' : 'at') ..aInt64(5, _omitFieldNames ? '' : 'atAdjusted') - ..a<$core.int>(6, _omitFieldNames ? '' : 'packets', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'octets', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aI(6, _omitFieldNames ? '' : 'packets', fieldType: $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'octets', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTCPSenderReportState clone() => RTCPSenderReportState()..mergeFromMessage(this); + RTCPSenderReportState clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTCPSenderReportState copyWith(void Function(RTCPSenderReportState) updates) => - super.copyWith((message) => updates(message as RTCPSenderReportState)) as RTCPSenderReportState; + RTCPSenderReportState copyWith( + void Function(RTCPSenderReportState) updates) => + super.copyWith((message) => updates(message as RTCPSenderReportState)) + as RTCPSenderReportState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4444,10 +4929,9 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { static RTCPSenderReportState create() => RTCPSenderReportState._(); @$core.override RTCPSenderReportState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTCPSenderReportState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTCPSenderReportState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RTCPSenderReportState? _defaultInstance; @$pb.TagNumber(1) @@ -4529,13 +5013,16 @@ class RTPForwarderState extends $pb.GeneratedMessage { }) { final result = create(); if (started != null) result.started = started; - if (referenceLayerSpatial != null) result.referenceLayerSpatial = referenceLayerSpatial; + if (referenceLayerSpatial != null) + result.referenceLayerSpatial = referenceLayerSpatial; if (preStartTime != null) result.preStartTime = preStartTime; if (extFirstTimestamp != null) result.extFirstTimestamp = extFirstTimestamp; - if (dummyStartTimestampOffset != null) result.dummyStartTimestampOffset = dummyStartTimestampOffset; + if (dummyStartTimestampOffset != null) + result.dummyStartTimestampOffset = dummyStartTimestampOffset; if (rtpMunger != null) result.rtpMunger = rtpMunger; if (vp8Munger != null) result.vp8Munger = vp8Munger; - if (senderReportState != null) result.senderReportState.addAll(senderReportState); + if (senderReportState != null) + result.senderReportState.addAll(senderReportState); return result; } @@ -4548,31 +5035,39 @@ class RTPForwarderState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RTPForwarderState_CodecMunger> _RTPForwarderState_CodecMungerByTag = { + static const $core.Map<$core.int, RTPForwarderState_CodecMunger> + _RTPForwarderState_CodecMungerByTag = { 7: RTPForwarderState_CodecMunger.vp8Munger, 0: RTPForwarderState_CodecMunger.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPForwarderState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPForwarderState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [7]) ..aOB(1, _omitFieldNames ? '' : 'started') - ..a<$core.int>(2, _omitFieldNames ? '' : 'referenceLayerSpatial', $pb.PbFieldType.O3) + ..aI(2, _omitFieldNames ? '' : 'referenceLayerSpatial') ..aInt64(3, _omitFieldNames ? '' : 'preStartTime') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'extFirstTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'extFirstTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'dummyStartTimestampOffset', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'dummyStartTimestampOffset', + $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(6, _omitFieldNames ? '' : 'rtpMunger', subBuilder: RTPMungerState.create) - ..aOM(7, _omitFieldNames ? '' : 'vp8Munger', subBuilder: VP8MungerState.create) - ..pc(8, _omitFieldNames ? '' : 'senderReportState', $pb.PbFieldType.PM, + ..aOM(6, _omitFieldNames ? '' : 'rtpMunger', + subBuilder: RTPMungerState.create) + ..aOM(7, _omitFieldNames ? '' : 'vp8Munger', + subBuilder: VP8MungerState.create) + ..pPM(8, _omitFieldNames ? '' : 'senderReportState', subBuilder: RTCPSenderReportState.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTPForwarderState clone() => RTPForwarderState()..mergeFromMessage(this); + RTPForwarderState clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPForwarderState copyWith(void Function(RTPForwarderState) updates) => - super.copyWith((message) => updates(message as RTPForwarderState)) as RTPForwarderState; + super.copyWith((message) => updates(message as RTPForwarderState)) + as RTPForwarderState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4581,13 +5076,15 @@ class RTPForwarderState extends $pb.GeneratedMessage { static RTPForwarderState create() => RTPForwarderState._(); @$core.override RTPForwarderState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPForwarderState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPForwarderState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RTPForwarderState? _defaultInstance; - RTPForwarderState_CodecMunger whichCodecMunger() => _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; + @$pb.TagNumber(7) + RTPForwarderState_CodecMunger whichCodecMunger() => + _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; + @$pb.TagNumber(7) void clearCodecMunger() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4671,10 +5168,13 @@ class RTPMungerState extends $pb.GeneratedMessage { $core.bool? secondLastMarker, }) { final result = create(); - if (extLastSequenceNumber != null) result.extLastSequenceNumber = extLastSequenceNumber; - if (extSecondLastSequenceNumber != null) result.extSecondLastSequenceNumber = extSecondLastSequenceNumber; + if (extLastSequenceNumber != null) + result.extLastSequenceNumber = extLastSequenceNumber; + if (extSecondLastSequenceNumber != null) + result.extSecondLastSequenceNumber = extSecondLastSequenceNumber; if (extLastTimestamp != null) result.extLastTimestamp = extLastTimestamp; - if (extSecondLastTimestamp != null) result.extSecondLastTimestamp = extSecondLastTimestamp; + if (extSecondLastTimestamp != null) + result.extSecondLastTimestamp = extSecondLastTimestamp; if (lastMarker != null) result.lastMarker = lastMarker; if (secondLastMarker != null) result.secondLastMarker = secondLastMarker; return result; @@ -4685,28 +5185,36 @@ class RTPMungerState extends $pb.GeneratedMessage { factory RTPMungerState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPMungerState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPMungerState.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPMungerState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'extLastSequenceNumber', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPMungerState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..a<$fixnum.Int64>( + 1, _omitFieldNames ? '' : 'extLastSequenceNumber', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'extSecondLastSequenceNumber', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'extSecondLastSequenceNumber', + $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'extLastTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'extLastTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'extSecondLastTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'extSecondLastTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(5, _omitFieldNames ? '' : 'lastMarker') ..aOB(6, _omitFieldNames ? '' : 'secondLastMarker') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTPMungerState clone() => RTPMungerState()..mergeFromMessage(this); + RTPMungerState clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPMungerState copyWith(void Function(RTPMungerState) updates) => - super.copyWith((message) => updates(message as RTPMungerState)) as RTPMungerState; + super.copyWith((message) => updates(message as RTPMungerState)) + as RTPMungerState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4715,9 +5223,9 @@ class RTPMungerState extends $pb.GeneratedMessage { static RTPMungerState create() => RTPMungerState._(); @$core.override RTPMungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPMungerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPMungerState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RTPMungerState? _defaultInstance; @$pb.TagNumber(1) @@ -4801,25 +5309,30 @@ class VP8MungerState extends $pb.GeneratedMessage { factory VP8MungerState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory VP8MungerState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory VP8MungerState.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VP8MungerState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'extLastPictureId', $pb.PbFieldType.O3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VP8MungerState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'extLastPictureId') ..aOB(2, _omitFieldNames ? '' : 'pictureIdUsed') - ..a<$core.int>(3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'lastTl0PicIdx', + fieldType: $pb.PbFieldType.OU3) ..aOB(4, _omitFieldNames ? '' : 'tl0PicIdxUsed') ..aOB(5, _omitFieldNames ? '' : 'tidUsed') - ..a<$core.int>(6, _omitFieldNames ? '' : 'lastKeyIdx', $pb.PbFieldType.OU3) + ..aI(6, _omitFieldNames ? '' : 'lastKeyIdx', fieldType: $pb.PbFieldType.OU3) ..aOB(7, _omitFieldNames ? '' : 'keyIdxUsed') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - VP8MungerState clone() => VP8MungerState()..mergeFromMessage(this); + VP8MungerState clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VP8MungerState copyWith(void Function(VP8MungerState) updates) => - super.copyWith((message) => updates(message as VP8MungerState)) as VP8MungerState; + super.copyWith((message) => updates(message as VP8MungerState)) + as VP8MungerState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4828,9 +5341,9 @@ class VP8MungerState extends $pb.GeneratedMessage { static VP8MungerState create() => VP8MungerState._(); @$core.override VP8MungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VP8MungerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VP8MungerState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static VP8MungerState? _defaultInstance; @$pb.TagNumber(1) @@ -4913,20 +5426,24 @@ class TimedVersion extends $pb.GeneratedMessage { factory TimedVersion.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TimedVersion.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TimedVersion.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimedVersion', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TimedVersion', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'unixMicro') - ..a<$core.int>(2, _omitFieldNames ? '' : 'ticks', $pb.PbFieldType.O3) + ..aI(2, _omitFieldNames ? '' : 'ticks') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TimedVersion clone() => TimedVersion()..mergeFromMessage(this); + TimedVersion clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimedVersion copyWith(void Function(TimedVersion) updates) => - super.copyWith((message) => updates(message as TimedVersion)) as TimedVersion; + super.copyWith((message) => updates(message as TimedVersion)) + as TimedVersion; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4935,9 +5452,9 @@ class TimedVersion extends $pb.GeneratedMessage { static TimedVersion create() => TimedVersion._(); @$core.override TimedVersion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TimedVersion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TimedVersion getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TimedVersion? _defaultInstance; @$pb.TagNumber(1) @@ -4972,7 +5489,8 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { if (operationType != null) result.operationType = operationType; if (version != null) result.version = version; if (replyToStreamId != null) result.replyToStreamId = replyToStreamId; - if (attachedStreamIds != null) result.attachedStreamIds.addAll(attachedStreamIds); + if (attachedStreamIds != null) + result.attachedStreamIds.addAll(attachedStreamIds); if (generated != null) result.generated = generated; return result; } @@ -4986,23 +5504,25 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.TextHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'operationType', $pb.PbFieldType.OE, - defaultOrMaker: DataStream_OperationType.CREATE, - valueOf: DataStream_OperationType.valueOf, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.TextHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE(1, _omitFieldNames ? '' : 'operationType', enumValues: DataStream_OperationType.values) - ..a<$core.int>(2, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3) + ..aI(2, _omitFieldNames ? '' : 'version') ..aOS(3, _omitFieldNames ? '' : 'replyToStreamId') ..pPS(4, _omitFieldNames ? '' : 'attachedStreamIds') ..aOB(5, _omitFieldNames ? '' : 'generated') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader clone() => DataStream_TextHeader()..mergeFromMessage(this); + DataStream_TextHeader clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader copyWith(void Function(DataStream_TextHeader) updates) => - super.copyWith((message) => updates(message as DataStream_TextHeader)) as DataStream_TextHeader; + DataStream_TextHeader copyWith( + void Function(DataStream_TextHeader) updates) => + super.copyWith((message) => updates(message as DataStream_TextHeader)) + as DataStream_TextHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5011,10 +5531,9 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { static DataStream_TextHeader create() => DataStream_TextHeader._(); @$core.override DataStream_TextHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_TextHeader getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_TextHeader getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_TextHeader? _defaultInstance; @$pb.TagNumber(1) @@ -5076,16 +5595,20 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.ByteHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.ByteHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_ByteHeader clone() => DataStream_ByteHeader()..mergeFromMessage(this); + DataStream_ByteHeader clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_ByteHeader copyWith(void Function(DataStream_ByteHeader) updates) => - super.copyWith((message) => updates(message as DataStream_ByteHeader)) as DataStream_ByteHeader; + DataStream_ByteHeader copyWith( + void Function(DataStream_ByteHeader) updates) => + super.copyWith((message) => updates(message as DataStream_ByteHeader)) + as DataStream_ByteHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5094,10 +5617,9 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { static DataStream_ByteHeader create() => DataStream_ByteHeader._(); @$core.override DataStream_ByteHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_ByteHeader getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_ByteHeader getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_ByteHeader? _defaultInstance; @$pb.TagNumber(1) @@ -5120,7 +5642,8 @@ class DataStream_Header extends $pb.GeneratedMessage { $core.String? topic, $core.String? mimeType, $fixnum.Int64? totalLength, - @$core.Deprecated('This field is deprecated.') Encryption_Type? encryptionType, + @$core.Deprecated('This field is deprecated.') + Encryption_Type? encryptionType, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? attributes, DataStream_TextHeader? textHeader, DataStream_ByteHeader? byteHeader, @@ -5147,35 +5670,43 @@ class DataStream_Header extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, DataStream_Header_ContentHeader> _DataStream_Header_ContentHeaderByTag = { + static const $core.Map<$core.int, DataStream_Header_ContentHeader> + _DataStream_Header_ContentHeaderByTag = { 9: DataStream_Header_ContentHeader.textHeader, 10: DataStream_Header_ContentHeader.byteHeader, 0: DataStream_Header_ContentHeader.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Header', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.Header', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [9, 10]) ..aOS(1, _omitFieldNames ? '' : 'streamId') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..aOS(3, _omitFieldNames ? '' : 'topic') ..aOS(4, _omitFieldNames ? '' : 'mimeType') - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'totalLength', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..e(7, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) + ..a<$fixnum.Int64>( + 5, _omitFieldNames ? '' : 'totalLength', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..aE(7, _omitFieldNames ? '' : 'encryptionType', + enumValues: Encryption_Type.values) ..m<$core.String, $core.String>(8, _omitFieldNames ? '' : 'attributes', entryClassName: 'DataStream.Header.AttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..aOM(9, _omitFieldNames ? '' : 'textHeader', subBuilder: DataStream_TextHeader.create) - ..aOM(10, _omitFieldNames ? '' : 'byteHeader', subBuilder: DataStream_ByteHeader.create) + ..aOM(9, _omitFieldNames ? '' : 'textHeader', + subBuilder: DataStream_TextHeader.create) + ..aOM(10, _omitFieldNames ? '' : 'byteHeader', + subBuilder: DataStream_ByteHeader.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_Header clone() => DataStream_Header()..mergeFromMessage(this); + DataStream_Header clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Header copyWith(void Function(DataStream_Header) updates) => - super.copyWith((message) => updates(message as DataStream_Header)) as DataStream_Header; + super.copyWith((message) => updates(message as DataStream_Header)) + as DataStream_Header; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5184,13 +5715,17 @@ class DataStream_Header extends $pb.GeneratedMessage { static DataStream_Header create() => DataStream_Header._(); @$core.override DataStream_Header createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Header getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Header getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Header? _defaultInstance; - DataStream_Header_ContentHeader whichContentHeader() => _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; + @$pb.TagNumber(9) + @$pb.TagNumber(10) + DataStream_Header_ContentHeader whichContentHeader() => + _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; + @$pb.TagNumber(9) + @$pb.TagNumber(10) void clearContentHeader() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -5303,20 +5838,27 @@ class DataStream_Chunk extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Chunk', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.Chunk', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'streamId') - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'chunkIndex', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY) - ..a<$core.int>(4, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3) - ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>( + 2, _omitFieldNames ? '' : 'chunkIndex', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>( + 3, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY) + ..aI(4, _omitFieldNames ? '' : 'version') + ..a<$core.List<$core.int>>( + 5, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_Chunk clone() => DataStream_Chunk()..mergeFromMessage(this); + DataStream_Chunk clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Chunk copyWith(void Function(DataStream_Chunk) updates) => - super.copyWith((message) => updates(message as DataStream_Chunk)) as DataStream_Chunk; + super.copyWith((message) => updates(message as DataStream_Chunk)) + as DataStream_Chunk; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5325,10 +5867,9 @@ class DataStream_Chunk extends $pb.GeneratedMessage { static DataStream_Chunk create() => DataStream_Chunk._(); @$core.override DataStream_Chunk createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Chunk getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Chunk getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Chunk? _defaultInstance; @$pb.TagNumber(1) @@ -5403,8 +5944,10 @@ class DataStream_Trailer extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Trailer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.Trailer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'streamId') ..aOS(2, _omitFieldNames ? '' : 'reason') ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'attributes', @@ -5415,10 +5958,11 @@ class DataStream_Trailer extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_Trailer clone() => DataStream_Trailer()..mergeFromMessage(this); + DataStream_Trailer clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Trailer copyWith(void Function(DataStream_Trailer) updates) => - super.copyWith((message) => updates(message as DataStream_Trailer)) as DataStream_Trailer; + super.copyWith((message) => updates(message as DataStream_Trailer)) + as DataStream_Trailer; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5427,10 +5971,9 @@ class DataStream_Trailer extends $pb.GeneratedMessage { static DataStream_Trailer create() => DataStream_Trailer._(); @$core.override DataStream_Trailer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Trailer getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Trailer getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Trailer? _defaultInstance; @$pb.TagNumber(1) @@ -5463,15 +6006,18 @@ class DataStream extends $pb.GeneratedMessage { factory DataStream.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataStream.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataStream.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream clone() => DataStream()..mergeFromMessage(this); + DataStream clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream copyWith(void Function(DataStream) updates) => super.copyWith((message) => updates(message as DataStream)) as DataStream; @@ -5483,20 +6029,76 @@ class DataStream extends $pb.GeneratedMessage { static DataStream create() => DataStream._(); @$core.override DataStream createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream? _defaultInstance; } +class FilterParams extends $pb.GeneratedMessage { + factory FilterParams({ + $core.Iterable<$core.String>? includeEvents, + $core.Iterable<$core.String>? excludeEvents, + }) { + final result = create(); + if (includeEvents != null) result.includeEvents.addAll(includeEvents); + if (excludeEvents != null) result.excludeEvents.addAll(excludeEvents); + return result; + } + + FilterParams._(); + + factory FilterParams.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory FilterParams.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'FilterParams', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'includeEvents') + ..pPS(2, _omitFieldNames ? '' : 'excludeEvents') + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + FilterParams clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + FilterParams copyWith(void Function(FilterParams) updates) => + super.copyWith((message) => updates(message as FilterParams)) + as FilterParams; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FilterParams create() => FilterParams._(); + @$core.override + FilterParams createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static FilterParams getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static FilterParams? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$core.String> get includeEvents => $_getList(0); + + @$pb.TagNumber(2) + $pb.PbList<$core.String> get excludeEvents => $_getList(1); +} + class WebhookConfig extends $pb.GeneratedMessage { factory WebhookConfig({ $core.String? url, $core.String? signingKey, + FilterParams? filterParams, }) { final result = create(); if (url != null) result.url = url; if (signingKey != null) result.signingKey = signingKey; + if (filterParams != null) result.filterParams = filterParams; return result; } @@ -5505,20 +6107,26 @@ class WebhookConfig extends $pb.GeneratedMessage { factory WebhookConfig.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory WebhookConfig.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory WebhookConfig.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WebhookConfig', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WebhookConfig', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'url') ..aOS(2, _omitFieldNames ? '' : 'signingKey') + ..aOM(3, _omitFieldNames ? '' : 'filterParams', + subBuilder: FilterParams.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WebhookConfig clone() => WebhookConfig()..mergeFromMessage(this); + WebhookConfig clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WebhookConfig copyWith(void Function(WebhookConfig) updates) => - super.copyWith((message) => updates(message as WebhookConfig)) as WebhookConfig; + super.copyWith((message) => updates(message as WebhookConfig)) + as WebhookConfig; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5527,9 +6135,9 @@ class WebhookConfig extends $pb.GeneratedMessage { static WebhookConfig create() => WebhookConfig._(); @$core.override WebhookConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static WebhookConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WebhookConfig getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static WebhookConfig? _defaultInstance; @$pb.TagNumber(1) @@ -5549,6 +6157,17 @@ class WebhookConfig extends $pb.GeneratedMessage { $core.bool hasSigningKey() => $_has(1); @$pb.TagNumber(2) void clearSigningKey() => $_clearField(2); + + @$pb.TagNumber(3) + FilterParams get filterParams => $_getN(2); + @$pb.TagNumber(3) + set filterParams(FilterParams value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasFilterParams() => $_has(2); + @$pb.TagNumber(3) + void clearFilterParams() => $_clearField(3); + @$pb.TagNumber(3) + FilterParams ensureFilterParams() => $_ensure(2); } class SubscribedAudioCodec extends $pb.GeneratedMessage { @@ -5571,17 +6190,20 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedAudioCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedAudioCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodec clone() => SubscribedAudioCodec()..mergeFromMessage(this); + SubscribedAudioCodec clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedAudioCodec copyWith(void Function(SubscribedAudioCodec) updates) => - super.copyWith((message) => updates(message as SubscribedAudioCodec)) as SubscribedAudioCodec; + super.copyWith((message) => updates(message as SubscribedAudioCodec)) + as SubscribedAudioCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5590,10 +6212,9 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { static SubscribedAudioCodec create() => SubscribedAudioCodec._(); @$core.override SubscribedAudioCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedAudioCodec getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedAudioCodec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedAudioCodec? _defaultInstance; @$pb.TagNumber(1) @@ -5615,5 +6236,7 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { void clearEnabled() => $_clearField(2); } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_models.pbenum.dart b/lib/src/proto/livekit_models.pbenum.dart index 469e1149..687ae33d 100644 --- a/lib/src/proto/livekit_models.pbenum.dart +++ b/lib/src/proto/livekit_models.pbenum.dart @@ -1,24 +1,26 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_models.proto -// +// Generated from livekit_models.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class AudioCodec extends $pb.ProtobufEnum { - static const AudioCodec DEFAULT_AC = AudioCodec._(0, _omitEnumNames ? '' : 'DEFAULT_AC'); + static const AudioCodec DEFAULT_AC = + AudioCodec._(0, _omitEnumNames ? '' : 'DEFAULT_AC'); static const AudioCodec OPUS = AudioCodec._(1, _omitEnumNames ? '' : 'OPUS'); static const AudioCodec AAC = AudioCodec._(2, _omitEnumNames ? '' : 'AAC'); - static const AudioCodec AC_MP3 = AudioCodec._(3, _omitEnumNames ? '' : 'AC_MP3'); + static const AudioCodec AC_MP3 = + AudioCodec._(3, _omitEnumNames ? '' : 'AC_MP3'); static const $core.List values = [ DEFAULT_AC, @@ -27,17 +29,23 @@ class AudioCodec extends $pb.ProtobufEnum { AC_MP3, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static AudioCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static AudioCodec? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const AudioCodec._(super.value, super.name); } class VideoCodec extends $pb.ProtobufEnum { - static const VideoCodec DEFAULT_VC = VideoCodec._(0, _omitEnumNames ? '' : 'DEFAULT_VC'); - static const VideoCodec H264_BASELINE = VideoCodec._(1, _omitEnumNames ? '' : 'H264_BASELINE'); - static const VideoCodec H264_MAIN = VideoCodec._(2, _omitEnumNames ? '' : 'H264_MAIN'); - static const VideoCodec H264_HIGH = VideoCodec._(3, _omitEnumNames ? '' : 'H264_HIGH'); + static const VideoCodec DEFAULT_VC = + VideoCodec._(0, _omitEnumNames ? '' : 'DEFAULT_VC'); + static const VideoCodec H264_BASELINE = + VideoCodec._(1, _omitEnumNames ? '' : 'H264_BASELINE'); + static const VideoCodec H264_MAIN = + VideoCodec._(2, _omitEnumNames ? '' : 'H264_MAIN'); + static const VideoCodec H264_HIGH = + VideoCodec._(3, _omitEnumNames ? '' : 'H264_HIGH'); static const VideoCodec VP8 = VideoCodec._(4, _omitEnumNames ? '' : 'VP8'); static const $core.List values = [ @@ -48,23 +56,29 @@ class VideoCodec extends $pb.ProtobufEnum { VP8, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static VideoCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static VideoCodec? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoCodec._(super.value, super.name); } class ImageCodec extends $pb.ProtobufEnum { - static const ImageCodec IC_DEFAULT = ImageCodec._(0, _omitEnumNames ? '' : 'IC_DEFAULT'); - static const ImageCodec IC_JPEG = ImageCodec._(1, _omitEnumNames ? '' : 'IC_JPEG'); + static const ImageCodec IC_DEFAULT = + ImageCodec._(0, _omitEnumNames ? '' : 'IC_DEFAULT'); + static const ImageCodec IC_JPEG = + ImageCodec._(1, _omitEnumNames ? '' : 'IC_JPEG'); static const $core.List values = [ IC_DEFAULT, IC_JPEG, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static ImageCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static ImageCodec? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ImageCodec._(super.value, super.name); } @@ -73,13 +87,16 @@ class ImageCodec extends $pb.ProtobufEnum { class BackupCodecPolicy extends $pb.ProtobufEnum { /// default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec, /// the sfu will try to regress codec if possible but not assured. - static const BackupCodecPolicy PREFER_REGRESSION = BackupCodecPolicy._(0, _omitEnumNames ? '' : 'PREFER_REGRESSION'); + static const BackupCodecPolicy PREFER_REGRESSION = + BackupCodecPolicy._(0, _omitEnumNames ? '' : 'PREFER_REGRESSION'); /// encoding/send the primary and backup codec simultaneously - static const BackupCodecPolicy SIMULCAST = BackupCodecPolicy._(1, _omitEnumNames ? '' : 'SIMULCAST'); + static const BackupCodecPolicy SIMULCAST = + BackupCodecPolicy._(1, _omitEnumNames ? '' : 'SIMULCAST'); /// force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power - static const BackupCodecPolicy REGRESSION = BackupCodecPolicy._(2, _omitEnumNames ? '' : 'REGRESSION'); + static const BackupCodecPolicy REGRESSION = + BackupCodecPolicy._(2, _omitEnumNames ? '' : 'REGRESSION'); static const $core.List values = [ PREFER_REGRESSION, @@ -87,8 +104,10 @@ class BackupCodecPolicy extends $pb.ProtobufEnum { REGRESSION, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static BackupCodecPolicy? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static BackupCodecPolicy? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const BackupCodecPolicy._(super.value, super.name); } @@ -104,18 +123,25 @@ class TrackType extends $pb.ProtobufEnum { DATA, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static TrackType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static TrackType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const TrackType._(super.value, super.name); } class TrackSource extends $pb.ProtobufEnum { - static const TrackSource UNKNOWN = TrackSource._(0, _omitEnumNames ? '' : 'UNKNOWN'); - static const TrackSource CAMERA = TrackSource._(1, _omitEnumNames ? '' : 'CAMERA'); - static const TrackSource MICROPHONE = TrackSource._(2, _omitEnumNames ? '' : 'MICROPHONE'); - static const TrackSource SCREEN_SHARE = TrackSource._(3, _omitEnumNames ? '' : 'SCREEN_SHARE'); - static const TrackSource SCREEN_SHARE_AUDIO = TrackSource._(4, _omitEnumNames ? '' : 'SCREEN_SHARE_AUDIO'); + static const TrackSource UNKNOWN = + TrackSource._(0, _omitEnumNames ? '' : 'UNKNOWN'); + static const TrackSource CAMERA = + TrackSource._(1, _omitEnumNames ? '' : 'CAMERA'); + static const TrackSource MICROPHONE = + TrackSource._(2, _omitEnumNames ? '' : 'MICROPHONE'); + static const TrackSource SCREEN_SHARE = + TrackSource._(3, _omitEnumNames ? '' : 'SCREEN_SHARE'); + static const TrackSource SCREEN_SHARE_AUDIO = + TrackSource._(4, _omitEnumNames ? '' : 'SCREEN_SHARE_AUDIO'); static const $core.List values = [ UNKNOWN, @@ -125,17 +151,42 @@ class TrackSource extends $pb.ProtobufEnum { SCREEN_SHARE_AUDIO, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static TrackSource? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static TrackSource? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const TrackSource._(super.value, super.name); } +class DataTrackExtensionID extends $pb.ProtobufEnum { + static const DataTrackExtensionID DTEI_INVALID = + DataTrackExtensionID._(0, _omitEnumNames ? '' : 'DTEI_INVALID'); + static const DataTrackExtensionID DTEI_PARTICIPANT_SID = + DataTrackExtensionID._(1, _omitEnumNames ? '' : 'DTEI_PARTICIPANT_SID'); + + static const $core.List values = [ + DTEI_INVALID, + DTEI_PARTICIPANT_SID, + ]; + + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static DataTrackExtensionID? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const DataTrackExtensionID._(super.value, super.name); +} + class VideoQuality extends $pb.ProtobufEnum { - static const VideoQuality LOW = VideoQuality._(0, _omitEnumNames ? '' : 'LOW'); - static const VideoQuality MEDIUM = VideoQuality._(1, _omitEnumNames ? '' : 'MEDIUM'); - static const VideoQuality HIGH = VideoQuality._(2, _omitEnumNames ? '' : 'HIGH'); - static const VideoQuality OFF = VideoQuality._(3, _omitEnumNames ? '' : 'OFF'); + static const VideoQuality LOW = + VideoQuality._(0, _omitEnumNames ? '' : 'LOW'); + static const VideoQuality MEDIUM = + VideoQuality._(1, _omitEnumNames ? '' : 'MEDIUM'); + static const VideoQuality HIGH = + VideoQuality._(2, _omitEnumNames ? '' : 'HIGH'); + static const VideoQuality OFF = + VideoQuality._(3, _omitEnumNames ? '' : 'OFF'); static const $core.List values = [ LOW, @@ -144,17 +195,23 @@ class VideoQuality extends $pb.ProtobufEnum { OFF, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static VideoQuality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static VideoQuality? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoQuality._(super.value, super.name); } class ConnectionQuality extends $pb.ProtobufEnum { - static const ConnectionQuality POOR = ConnectionQuality._(0, _omitEnumNames ? '' : 'POOR'); - static const ConnectionQuality GOOD = ConnectionQuality._(1, _omitEnumNames ? '' : 'GOOD'); - static const ConnectionQuality EXCELLENT = ConnectionQuality._(2, _omitEnumNames ? '' : 'EXCELLENT'); - static const ConnectionQuality LOST = ConnectionQuality._(3, _omitEnumNames ? '' : 'LOST'); + static const ConnectionQuality POOR = + ConnectionQuality._(0, _omitEnumNames ? '' : 'POOR'); + static const ConnectionQuality GOOD = + ConnectionQuality._(1, _omitEnumNames ? '' : 'GOOD'); + static const ConnectionQuality EXCELLENT = + ConnectionQuality._(2, _omitEnumNames ? '' : 'EXCELLENT'); + static const ConnectionQuality LOST = + ConnectionQuality._(3, _omitEnumNames ? '' : 'LOST'); static const $core.List values = [ POOR, @@ -163,16 +220,21 @@ class ConnectionQuality extends $pb.ProtobufEnum { LOST, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static ConnectionQuality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static ConnectionQuality? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ConnectionQuality._(super.value, super.name); } class ClientConfigSetting extends $pb.ProtobufEnum { - static const ClientConfigSetting UNSET = ClientConfigSetting._(0, _omitEnumNames ? '' : 'UNSET'); - static const ClientConfigSetting DISABLED = ClientConfigSetting._(1, _omitEnumNames ? '' : 'DISABLED'); - static const ClientConfigSetting ENABLED = ClientConfigSetting._(2, _omitEnumNames ? '' : 'ENABLED'); + static const ClientConfigSetting UNSET = + ClientConfigSetting._(0, _omitEnumNames ? '' : 'UNSET'); + static const ClientConfigSetting DISABLED = + ClientConfigSetting._(1, _omitEnumNames ? '' : 'DISABLED'); + static const ClientConfigSetting ENABLED = + ClientConfigSetting._(2, _omitEnumNames ? '' : 'ENABLED'); static const $core.List values = [ UNSET, @@ -180,7 +242,8 @@ class ClientConfigSetting extends $pb.ProtobufEnum { ENABLED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static ClientConfigSetting? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -188,53 +251,68 @@ class ClientConfigSetting extends $pb.ProtobufEnum { } class DisconnectReason extends $pb.ProtobufEnum { - static const DisconnectReason UNKNOWN_REASON = DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); + static const DisconnectReason UNKNOWN_REASON = + DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); /// the client initiated the disconnect - static const DisconnectReason CLIENT_INITIATED = DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); + static const DisconnectReason CLIENT_INITIATED = + DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); /// another participant with the same identity has joined the room - static const DisconnectReason DUPLICATE_IDENTITY = DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); + static const DisconnectReason DUPLICATE_IDENTITY = + DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); /// the server instance is shutting down - static const DisconnectReason SERVER_SHUTDOWN = DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); + static const DisconnectReason SERVER_SHUTDOWN = + DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); /// RoomService.RemoveParticipant was called static const DisconnectReason PARTICIPANT_REMOVED = DisconnectReason._(4, _omitEnumNames ? '' : 'PARTICIPANT_REMOVED'); /// RoomService.DeleteRoom was called - static const DisconnectReason ROOM_DELETED = DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); + static const DisconnectReason ROOM_DELETED = + DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); /// the client is attempting to resume a session, but server is not aware of it - static const DisconnectReason STATE_MISMATCH = DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); + static const DisconnectReason STATE_MISMATCH = + DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); /// client was unable to connect fully - static const DisconnectReason JOIN_FAILURE = DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); + static const DisconnectReason JOIN_FAILURE = + DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); /// Cloud-only, the server requested Participant to migrate the connection elsewhere - static const DisconnectReason MIGRATION = DisconnectReason._(8, _omitEnumNames ? '' : 'MIGRATION'); + static const DisconnectReason MIGRATION = + DisconnectReason._(8, _omitEnumNames ? '' : 'MIGRATION'); /// the signal websocket was closed unexpectedly - static const DisconnectReason SIGNAL_CLOSE = DisconnectReason._(9, _omitEnumNames ? '' : 'SIGNAL_CLOSE'); + static const DisconnectReason SIGNAL_CLOSE = + DisconnectReason._(9, _omitEnumNames ? '' : 'SIGNAL_CLOSE'); /// the room was closed, due to all Standard and Ingress participants having left - static const DisconnectReason ROOM_CLOSED = DisconnectReason._(10, _omitEnumNames ? '' : 'ROOM_CLOSED'); + static const DisconnectReason ROOM_CLOSED = + DisconnectReason._(10, _omitEnumNames ? '' : 'ROOM_CLOSED'); /// SIP callee did not respond in time - static const DisconnectReason USER_UNAVAILABLE = DisconnectReason._(11, _omitEnumNames ? '' : 'USER_UNAVAILABLE'); + static const DisconnectReason USER_UNAVAILABLE = + DisconnectReason._(11, _omitEnumNames ? '' : 'USER_UNAVAILABLE'); /// SIP callee rejected the call (busy) - static const DisconnectReason USER_REJECTED = DisconnectReason._(12, _omitEnumNames ? '' : 'USER_REJECTED'); + static const DisconnectReason USER_REJECTED = + DisconnectReason._(12, _omitEnumNames ? '' : 'USER_REJECTED'); /// SIP protocol failure or unexpected response - static const DisconnectReason SIP_TRUNK_FAILURE = DisconnectReason._(13, _omitEnumNames ? '' : 'SIP_TRUNK_FAILURE'); + static const DisconnectReason SIP_TRUNK_FAILURE = + DisconnectReason._(13, _omitEnumNames ? '' : 'SIP_TRUNK_FAILURE'); /// server timed out a participant session - static const DisconnectReason CONNECTION_TIMEOUT = DisconnectReason._(14, _omitEnumNames ? '' : 'CONNECTION_TIMEOUT'); + static const DisconnectReason CONNECTION_TIMEOUT = + DisconnectReason._(14, _omitEnumNames ? '' : 'CONNECTION_TIMEOUT'); /// media stream failure or media timeout - static const DisconnectReason MEDIA_FAILURE = DisconnectReason._(15, _omitEnumNames ? '' : 'MEDIA_FAILURE'); + static const DisconnectReason MEDIA_FAILURE = + DisconnectReason._(15, _omitEnumNames ? '' : 'MEDIA_FAILURE'); static const $core.List values = [ UNKNOWN_REASON, @@ -255,20 +333,25 @@ class DisconnectReason extends $pb.ProtobufEnum { MEDIA_FAILURE, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 15); - static DisconnectReason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 15); + static DisconnectReason? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const DisconnectReason._(super.value, super.name); } class ReconnectReason extends $pb.ProtobufEnum { - static const ReconnectReason RR_UNKNOWN = ReconnectReason._(0, _omitEnumNames ? '' : 'RR_UNKNOWN'); + static const ReconnectReason RR_UNKNOWN = + ReconnectReason._(0, _omitEnumNames ? '' : 'RR_UNKNOWN'); static const ReconnectReason RR_SIGNAL_DISCONNECTED = ReconnectReason._(1, _omitEnumNames ? '' : 'RR_SIGNAL_DISCONNECTED'); - static const ReconnectReason RR_PUBLISHER_FAILED = ReconnectReason._(2, _omitEnumNames ? '' : 'RR_PUBLISHER_FAILED'); + static const ReconnectReason RR_PUBLISHER_FAILED = + ReconnectReason._(2, _omitEnumNames ? '' : 'RR_PUBLISHER_FAILED'); static const ReconnectReason RR_SUBSCRIBER_FAILED = ReconnectReason._(3, _omitEnumNames ? '' : 'RR_SUBSCRIBER_FAILED'); - static const ReconnectReason RR_SWITCH_CANDIDATE = ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); + static const ReconnectReason RR_SWITCH_CANDIDATE = + ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); static const $core.List values = [ RR_UNKNOWN, @@ -278,17 +361,21 @@ class ReconnectReason extends $pb.ProtobufEnum { RR_SWITCH_CANDIDATE, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static ReconnectReason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static ReconnectReason? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ReconnectReason._(super.value, super.name); } class SubscriptionError extends $pb.ProtobufEnum { - static const SubscriptionError SE_UNKNOWN = SubscriptionError._(0, _omitEnumNames ? '' : 'SE_UNKNOWN'); + static const SubscriptionError SE_UNKNOWN = + SubscriptionError._(0, _omitEnumNames ? '' : 'SE_UNKNOWN'); static const SubscriptionError SE_CODEC_UNSUPPORTED = SubscriptionError._(1, _omitEnumNames ? '' : 'SE_CODEC_UNSUPPORTED'); - static const SubscriptionError SE_TRACK_NOTFOUND = SubscriptionError._(2, _omitEnumNames ? '' : 'SE_TRACK_NOTFOUND'); + static const SubscriptionError SE_TRACK_NOTFOUND = + SubscriptionError._(2, _omitEnumNames ? '' : 'SE_TRACK_NOTFOUND'); static const $core.List values = [ SE_UNKNOWN, @@ -296,15 +383,19 @@ class SubscriptionError extends $pb.ProtobufEnum { SE_TRACK_NOTFOUND, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static SubscriptionError? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static SubscriptionError? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const SubscriptionError._(super.value, super.name); } class AudioTrackFeature extends $pb.ProtobufEnum { - static const AudioTrackFeature TF_STEREO = AudioTrackFeature._(0, _omitEnumNames ? '' : 'TF_STEREO'); - static const AudioTrackFeature TF_NO_DTX = AudioTrackFeature._(1, _omitEnumNames ? '' : 'TF_NO_DTX'); + static const AudioTrackFeature TF_STEREO = + AudioTrackFeature._(0, _omitEnumNames ? '' : 'TF_STEREO'); + static const AudioTrackFeature TF_NO_DTX = + AudioTrackFeature._(1, _omitEnumNames ? '' : 'TF_NO_DTX'); static const AudioTrackFeature TF_AUTO_GAIN_CONTROL = AudioTrackFeature._(2, _omitEnumNames ? '' : 'TF_AUTO_GAIN_CONTROL'); static const AudioTrackFeature TF_ECHO_CANCELLATION = @@ -312,7 +403,8 @@ class AudioTrackFeature extends $pb.ProtobufEnum { static const AudioTrackFeature TF_NOISE_SUPPRESSION = AudioTrackFeature._(4, _omitEnumNames ? '' : 'TF_NOISE_SUPPRESSION'); static const AudioTrackFeature TF_ENHANCED_NOISE_CANCELLATION = - AudioTrackFeature._(5, _omitEnumNames ? '' : 'TF_ENHANCED_NOISE_CANCELLATION'); + AudioTrackFeature._( + 5, _omitEnumNames ? '' : 'TF_ENHANCED_NOISE_CANCELLATION'); static const AudioTrackFeature TF_PRECONNECT_BUFFER = AudioTrackFeature._(6, _omitEnumNames ? '' : 'TF_PRECONNECT_BUFFER'); @@ -326,33 +418,41 @@ class AudioTrackFeature extends $pb.ProtobufEnum { TF_PRECONNECT_BUFFER, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); - static AudioTrackFeature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 6); + static AudioTrackFeature? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const AudioTrackFeature._(super.value, super.name); } class ParticipantInfo_State extends $pb.ProtobufEnum { /// websocket' connected, but not offered yet - static const ParticipantInfo_State JOINING = ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); + static const ParticipantInfo_State JOINING = + ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); /// server received client offer - static const ParticipantInfo_State JOINED = ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); + static const ParticipantInfo_State JOINED = + ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); /// ICE connectivity established - static const ParticipantInfo_State ACTIVE = ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); + static const ParticipantInfo_State ACTIVE = + ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); /// WS disconnected - static const ParticipantInfo_State DISCONNECTED = ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); + static const ParticipantInfo_State DISCONNECTED = + ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); - static const $core.List values = [ + static const $core.List values = + [ JOINING, JOINED, ACTIVE, DISCONNECTED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); static ParticipantInfo_State? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -361,19 +461,32 @@ class ParticipantInfo_State extends $pb.ProtobufEnum { class ParticipantInfo_Kind extends $pb.ProtobufEnum { /// standard participants, e.g. web clients - static const ParticipantInfo_Kind STANDARD = ParticipantInfo_Kind._(0, _omitEnumNames ? '' : 'STANDARD'); + static const ParticipantInfo_Kind STANDARD = + ParticipantInfo_Kind._(0, _omitEnumNames ? '' : 'STANDARD'); /// only ingests streams - static const ParticipantInfo_Kind INGRESS = ParticipantInfo_Kind._(1, _omitEnumNames ? '' : 'INGRESS'); + static const ParticipantInfo_Kind INGRESS = + ParticipantInfo_Kind._(1, _omitEnumNames ? '' : 'INGRESS'); /// only consumes streams - static const ParticipantInfo_Kind EGRESS = ParticipantInfo_Kind._(2, _omitEnumNames ? '' : 'EGRESS'); + static const ParticipantInfo_Kind EGRESS = + ParticipantInfo_Kind._(2, _omitEnumNames ? '' : 'EGRESS'); /// SIP participants - static const ParticipantInfo_Kind SIP = ParticipantInfo_Kind._(3, _omitEnumNames ? '' : 'SIP'); + static const ParticipantInfo_Kind SIP = + ParticipantInfo_Kind._(3, _omitEnumNames ? '' : 'SIP'); /// LiveKit agents - static const ParticipantInfo_Kind AGENT = ParticipantInfo_Kind._(4, _omitEnumNames ? '' : 'AGENT'); + static const ParticipantInfo_Kind AGENT = + ParticipantInfo_Kind._(4, _omitEnumNames ? '' : 'AGENT'); + + /// Connectors participants + static const ParticipantInfo_Kind CONNECTOR = + ParticipantInfo_Kind._(7, _omitEnumNames ? '' : 'CONNECTOR'); + + /// Bridge participants + static const ParticipantInfo_Kind BRIDGE = + ParticipantInfo_Kind._(8, _omitEnumNames ? '' : 'BRIDGE'); static const $core.List values = [ STANDARD, @@ -381,9 +494,12 @@ class ParticipantInfo_Kind extends $pb.ProtobufEnum { EGRESS, SIP, AGENT, + CONNECTOR, + BRIDGE, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 8); static ParticipantInfo_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -395,13 +511,25 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { ParticipantInfo_KindDetail._(0, _omitEnumNames ? '' : 'CLOUD_AGENT'); static const ParticipantInfo_KindDetail FORWARDED = ParticipantInfo_KindDetail._(1, _omitEnumNames ? '' : 'FORWARDED'); - - static const $core.List values = [ + static const ParticipantInfo_KindDetail CONNECTOR_WHATSAPP = + ParticipantInfo_KindDetail._( + 2, _omitEnumNames ? '' : 'CONNECTOR_WHATSAPP'); + static const ParticipantInfo_KindDetail CONNECTOR_TWILIO = + ParticipantInfo_KindDetail._(3, _omitEnumNames ? '' : 'CONNECTOR_TWILIO'); + static const ParticipantInfo_KindDetail BRIDGE_RTSP = + ParticipantInfo_KindDetail._(4, _omitEnumNames ? '' : 'BRIDGE_RTSP'); + + static const $core.List values = + [ CLOUD_AGENT, FORWARDED, + CONNECTOR_WHATSAPP, + CONNECTOR_TWILIO, + BRIDGE_RTSP, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); static ParticipantInfo_KindDetail? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -409,9 +537,12 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { } class Encryption_Type extends $pb.ProtobufEnum { - static const Encryption_Type NONE = Encryption_Type._(0, _omitEnumNames ? '' : 'NONE'); - static const Encryption_Type GCM = Encryption_Type._(1, _omitEnumNames ? '' : 'GCM'); - static const Encryption_Type CUSTOM = Encryption_Type._(2, _omitEnumNames ? '' : 'CUSTOM'); + static const Encryption_Type NONE = + Encryption_Type._(0, _omitEnumNames ? '' : 'NONE'); + static const Encryption_Type GCM = + Encryption_Type._(1, _omitEnumNames ? '' : 'GCM'); + static const Encryption_Type CUSTOM = + Encryption_Type._(2, _omitEnumNames ? '' : 'CUSTOM'); static const $core.List values = [ NONE, @@ -419,20 +550,28 @@ class Encryption_Type extends $pb.ProtobufEnum { CUSTOM, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static Encryption_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static Encryption_Type? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const Encryption_Type._(super.value, super.name); } class VideoLayer_Mode extends $pb.ProtobufEnum { - static const VideoLayer_Mode MODE_UNUSED = VideoLayer_Mode._(0, _omitEnumNames ? '' : 'MODE_UNUSED'); - static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM = - VideoLayer_Mode._(1, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM'); + static const VideoLayer_Mode MODE_UNUSED = + VideoLayer_Mode._(0, _omitEnumNames ? '' : 'MODE_UNUSED'); + static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM = VideoLayer_Mode._( + 1, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM'); static const VideoLayer_Mode MULTIPLE_SPATIAL_LAYERS_PER_STREAM = - VideoLayer_Mode._(2, _omitEnumNames ? '' : 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM'); + VideoLayer_Mode._( + 2, _omitEnumNames ? '' : 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM'); static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = - VideoLayer_Mode._(3, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR'); + VideoLayer_Mode._( + 3, + _omitEnumNames + ? '' + : 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR'); static const $core.List values = [ MODE_UNUSED, @@ -441,58 +580,83 @@ class VideoLayer_Mode extends $pb.ProtobufEnum { ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static VideoLayer_Mode? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static VideoLayer_Mode? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoLayer_Mode._(super.value, super.name); } class DataPacket_Kind extends $pb.ProtobufEnum { - static const DataPacket_Kind RELIABLE = DataPacket_Kind._(0, _omitEnumNames ? '' : 'RELIABLE'); - static const DataPacket_Kind LOSSY = DataPacket_Kind._(1, _omitEnumNames ? '' : 'LOSSY'); + static const DataPacket_Kind RELIABLE = + DataPacket_Kind._(0, _omitEnumNames ? '' : 'RELIABLE'); + static const DataPacket_Kind LOSSY = + DataPacket_Kind._(1, _omitEnumNames ? '' : 'LOSSY'); static const $core.List values = [ RELIABLE, LOSSY, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static DataPacket_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static DataPacket_Kind? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const DataPacket_Kind._(super.value, super.name); } class ServerInfo_Edition extends $pb.ProtobufEnum { - static const ServerInfo_Edition Standard = ServerInfo_Edition._(0, _omitEnumNames ? '' : 'Standard'); - static const ServerInfo_Edition Cloud = ServerInfo_Edition._(1, _omitEnumNames ? '' : 'Cloud'); + static const ServerInfo_Edition Standard = + ServerInfo_Edition._(0, _omitEnumNames ? '' : 'Standard'); + static const ServerInfo_Edition Cloud = + ServerInfo_Edition._(1, _omitEnumNames ? '' : 'Cloud'); static const $core.List values = [ Standard, Cloud, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static ServerInfo_Edition? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static ServerInfo_Edition? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ServerInfo_Edition._(super.value, super.name); } class ClientInfo_SDK extends $pb.ProtobufEnum { - static const ClientInfo_SDK UNKNOWN = ClientInfo_SDK._(0, _omitEnumNames ? '' : 'UNKNOWN'); - static const ClientInfo_SDK JS = ClientInfo_SDK._(1, _omitEnumNames ? '' : 'JS'); - static const ClientInfo_SDK SWIFT = ClientInfo_SDK._(2, _omitEnumNames ? '' : 'SWIFT'); - static const ClientInfo_SDK ANDROID = ClientInfo_SDK._(3, _omitEnumNames ? '' : 'ANDROID'); - static const ClientInfo_SDK FLUTTER = ClientInfo_SDK._(4, _omitEnumNames ? '' : 'FLUTTER'); - static const ClientInfo_SDK GO = ClientInfo_SDK._(5, _omitEnumNames ? '' : 'GO'); - static const ClientInfo_SDK UNITY = ClientInfo_SDK._(6, _omitEnumNames ? '' : 'UNITY'); - static const ClientInfo_SDK REACT_NATIVE = ClientInfo_SDK._(7, _omitEnumNames ? '' : 'REACT_NATIVE'); - static const ClientInfo_SDK RUST = ClientInfo_SDK._(8, _omitEnumNames ? '' : 'RUST'); - static const ClientInfo_SDK PYTHON = ClientInfo_SDK._(9, _omitEnumNames ? '' : 'PYTHON'); - static const ClientInfo_SDK CPP = ClientInfo_SDK._(10, _omitEnumNames ? '' : 'CPP'); - static const ClientInfo_SDK UNITY_WEB = ClientInfo_SDK._(11, _omitEnumNames ? '' : 'UNITY_WEB'); - static const ClientInfo_SDK NODE = ClientInfo_SDK._(12, _omitEnumNames ? '' : 'NODE'); - static const ClientInfo_SDK UNREAL = ClientInfo_SDK._(13, _omitEnumNames ? '' : 'UNREAL'); - static const ClientInfo_SDK ESP32 = ClientInfo_SDK._(14, _omitEnumNames ? '' : 'ESP32'); + static const ClientInfo_SDK UNKNOWN = + ClientInfo_SDK._(0, _omitEnumNames ? '' : 'UNKNOWN'); + static const ClientInfo_SDK JS = + ClientInfo_SDK._(1, _omitEnumNames ? '' : 'JS'); + static const ClientInfo_SDK SWIFT = + ClientInfo_SDK._(2, _omitEnumNames ? '' : 'SWIFT'); + static const ClientInfo_SDK ANDROID = + ClientInfo_SDK._(3, _omitEnumNames ? '' : 'ANDROID'); + static const ClientInfo_SDK FLUTTER = + ClientInfo_SDK._(4, _omitEnumNames ? '' : 'FLUTTER'); + static const ClientInfo_SDK GO = + ClientInfo_SDK._(5, _omitEnumNames ? '' : 'GO'); + static const ClientInfo_SDK UNITY = + ClientInfo_SDK._(6, _omitEnumNames ? '' : 'UNITY'); + static const ClientInfo_SDK REACT_NATIVE = + ClientInfo_SDK._(7, _omitEnumNames ? '' : 'REACT_NATIVE'); + static const ClientInfo_SDK RUST = + ClientInfo_SDK._(8, _omitEnumNames ? '' : 'RUST'); + static const ClientInfo_SDK PYTHON = + ClientInfo_SDK._(9, _omitEnumNames ? '' : 'PYTHON'); + static const ClientInfo_SDK CPP = + ClientInfo_SDK._(10, _omitEnumNames ? '' : 'CPP'); + static const ClientInfo_SDK UNITY_WEB = + ClientInfo_SDK._(11, _omitEnumNames ? '' : 'UNITY_WEB'); + static const ClientInfo_SDK NODE = + ClientInfo_SDK._(12, _omitEnumNames ? '' : 'NODE'); + static const ClientInfo_SDK UNREAL = + ClientInfo_SDK._(13, _omitEnumNames ? '' : 'UNREAL'); + static const ClientInfo_SDK ESP32 = + ClientInfo_SDK._(14, _omitEnumNames ? '' : 'ESP32'); static const $core.List values = [ UNKNOWN, @@ -512,31 +676,40 @@ class ClientInfo_SDK extends $pb.ProtobufEnum { ESP32, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 14); - static ClientInfo_SDK? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 14); + static ClientInfo_SDK? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ClientInfo_SDK._(super.value, super.name); } /// enum for operation types (specific to TextHeader) class DataStream_OperationType extends $pb.ProtobufEnum { - static const DataStream_OperationType CREATE = DataStream_OperationType._(0, _omitEnumNames ? '' : 'CREATE'); - static const DataStream_OperationType UPDATE = DataStream_OperationType._(1, _omitEnumNames ? '' : 'UPDATE'); - static const DataStream_OperationType DELETE = DataStream_OperationType._(2, _omitEnumNames ? '' : 'DELETE'); - static const DataStream_OperationType REACTION = DataStream_OperationType._(3, _omitEnumNames ? '' : 'REACTION'); - - static const $core.List values = [ + static const DataStream_OperationType CREATE = + DataStream_OperationType._(0, _omitEnumNames ? '' : 'CREATE'); + static const DataStream_OperationType UPDATE = + DataStream_OperationType._(1, _omitEnumNames ? '' : 'UPDATE'); + static const DataStream_OperationType DELETE = + DataStream_OperationType._(2, _omitEnumNames ? '' : 'DELETE'); + static const DataStream_OperationType REACTION = + DataStream_OperationType._(3, _omitEnumNames ? '' : 'REACTION'); + + static const $core.List values = + [ CREATE, UPDATE, DELETE, REACTION, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); static DataStream_OperationType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const DataStream_OperationType._(super.value, super.name); } -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_models.pbjson.dart b/lib/src/proto/livekit_models.pbjson.dart index 0b7bd06e..d4f215cb 100644 --- a/lib/src/proto/livekit_models.pbjson.dart +++ b/lib/src/proto/livekit_models.pbjson.dart @@ -1,14 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_models.proto -// +// Generated from livekit_models.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports +// ignore_for_file: unused_import import 'dart:convert' as $convert; import 'dart:core' as $core; @@ -26,9 +27,9 @@ const AudioCodec$json = { }; /// Descriptor for `AudioCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioCodecDescriptor = - $convert.base64Decode('CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' - 'AzEAM='); +final $typed_data.Uint8List audioCodecDescriptor = $convert.base64Decode( + 'CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' + 'AzEAM='); @$core.Deprecated('Use videoCodecDescriptor instead') const VideoCodec$json = { @@ -43,9 +44,9 @@ const VideoCodec$json = { }; /// Descriptor for `VideoCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List videoCodecDescriptor = - $convert.base64Decode('CgpWaWRlb0NvZGVjEg4KCkRFRkFVTFRfVkMQABIRCg1IMjY0X0JBU0VMSU5FEAESDQoJSDI2NF' - '9NQUlOEAISDQoJSDI2NF9ISUdIEAMSBwoDVlA4EAQ='); +final $typed_data.Uint8List videoCodecDescriptor = $convert.base64Decode( + 'CgpWaWRlb0NvZGVjEg4KCkRFRkFVTFRfVkMQABIRCg1IMjY0X0JBU0VMSU5FEAESDQoJSDI2NF' + '9NQUlOEAISDQoJSDI2NF9ISUdIEAMSBwoDVlA4EAQ='); @$core.Deprecated('Use imageCodecDescriptor instead') const ImageCodec$json = { @@ -57,8 +58,8 @@ const ImageCodec$json = { }; /// Descriptor for `ImageCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List imageCodecDescriptor = - $convert.base64Decode('CgpJbWFnZUNvZGVjEg4KCklDX0RFRkFVTFQQABILCgdJQ19KUEVHEAE='); +final $typed_data.Uint8List imageCodecDescriptor = $convert + .base64Decode('CgpJbWFnZUNvZGVjEg4KCklDX0RFRkFVTFQQABILCgdJQ19KUEVHEAE='); @$core.Deprecated('Use backupCodecPolicyDescriptor instead') const BackupCodecPolicy$json = { @@ -71,9 +72,9 @@ const BackupCodecPolicy$json = { }; /// Descriptor for `BackupCodecPolicy`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List backupCodecPolicyDescriptor = - $convert.base64Decode('ChFCYWNrdXBDb2RlY1BvbGljeRIVChFQUkVGRVJfUkVHUkVTU0lPThAAEg0KCVNJTVVMQ0FTVB' - 'ABEg4KClJFR1JFU1NJT04QAg=='); +final $typed_data.Uint8List backupCodecPolicyDescriptor = $convert.base64Decode( + 'ChFCYWNrdXBDb2RlY1BvbGljeRIVChFQUkVGRVJfUkVHUkVTU0lPThAAEg0KCVNJTVVMQ0FTVB' + 'ABEg4KClJFR1JFU1NJT04QAg=='); @$core.Deprecated('Use trackTypeDescriptor instead') const TrackType$json = { @@ -86,8 +87,8 @@ const TrackType$json = { }; /// Descriptor for `TrackType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trackTypeDescriptor = - $convert.base64Decode('CglUcmFja1R5cGUSCQoFQVVESU8QABIJCgVWSURFTxABEggKBERBVEEQAg=='); +final $typed_data.Uint8List trackTypeDescriptor = $convert.base64Decode( + 'CglUcmFja1R5cGUSCQoFQVVESU8QABIJCgVWSURFTxABEggKBERBVEEQAg=='); @$core.Deprecated('Use trackSourceDescriptor instead') const TrackSource$json = { @@ -102,9 +103,23 @@ const TrackSource$json = { }; /// Descriptor for `TrackSource`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trackSourceDescriptor = - $convert.base64Decode('CgtUcmFja1NvdXJjZRILCgdVTktOT1dOEAASCgoGQ0FNRVJBEAESDgoKTUlDUk9QSE9ORRACEh' - 'AKDFNDUkVFTl9TSEFSRRADEhYKElNDUkVFTl9TSEFSRV9BVURJTxAE'); +final $typed_data.Uint8List trackSourceDescriptor = $convert.base64Decode( + 'CgtUcmFja1NvdXJjZRILCgdVTktOT1dOEAASCgoGQ0FNRVJBEAESDgoKTUlDUk9QSE9ORRACEh' + 'AKDFNDUkVFTl9TSEFSRRADEhYKElNDUkVFTl9TSEFSRV9BVURJTxAE'); + +@$core.Deprecated('Use dataTrackExtensionIDDescriptor instead') +const DataTrackExtensionID$json = { + '1': 'DataTrackExtensionID', + '2': [ + {'1': 'DTEI_INVALID', '2': 0}, + {'1': 'DTEI_PARTICIPANT_SID', '2': 1}, + ], +}; + +/// Descriptor for `DataTrackExtensionID`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List dataTrackExtensionIDDescriptor = $convert.base64Decode( + 'ChREYXRhVHJhY2tFeHRlbnNpb25JRBIQCgxEVEVJX0lOVkFMSUQQABIYChREVEVJX1BBUlRJQ0' + 'lQQU5UX1NJRBAB'); @$core.Deprecated('Use videoQualityDescriptor instead') const VideoQuality$json = { @@ -118,8 +133,8 @@ const VideoQuality$json = { }; /// Descriptor for `VideoQuality`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List videoQualityDescriptor = - $convert.base64Decode('CgxWaWRlb1F1YWxpdHkSBwoDTE9XEAASCgoGTUVESVVNEAESCAoESElHSBACEgcKA09GRhAD'); +final $typed_data.Uint8List videoQualityDescriptor = $convert.base64Decode( + 'CgxWaWRlb1F1YWxpdHkSBwoDTE9XEAASCgoGTUVESVVNEAESCAoESElHSBACEgcKA09GRhAD'); @$core.Deprecated('Use connectionQualityDescriptor instead') const ConnectionQuality$json = { @@ -133,9 +148,9 @@ const ConnectionQuality$json = { }; /// Descriptor for `ConnectionQuality`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List connectionQualityDescriptor = - $convert.base64Decode('ChFDb25uZWN0aW9uUXVhbGl0eRIICgRQT09SEAASCAoER09PRBABEg0KCUVYQ0VMTEVOVBACEg' - 'gKBExPU1QQAw=='); +final $typed_data.Uint8List connectionQualityDescriptor = $convert.base64Decode( + 'ChFDb25uZWN0aW9uUXVhbGl0eRIICgRQT09SEAASCAoER09PRBABEg0KCUVYQ0VMTEVOVBACEg' + 'gKBExPU1QQAw=='); @$core.Deprecated('Use clientConfigSettingDescriptor instead') const ClientConfigSetting$json = { @@ -148,9 +163,9 @@ const ClientConfigSetting$json = { }; /// Descriptor for `ClientConfigSetting`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List clientConfigSettingDescriptor = - $convert.base64Decode('ChNDbGllbnRDb25maWdTZXR0aW5nEgkKBVVOU0VUEAASDAoIRElTQUJMRUQQARILCgdFTkFCTE' - 'VEEAI='); +final $typed_data.Uint8List clientConfigSettingDescriptor = $convert.base64Decode( + 'ChNDbGllbnRDb25maWdTZXR0aW5nEgkKBVVOU0VUEAASDAoIRElTQUJMRUQQARILCgdFTkFCTE' + 'VEEAI='); @$core.Deprecated('Use disconnectReasonDescriptor instead') const DisconnectReason$json = { @@ -176,14 +191,14 @@ const DisconnectReason$json = { }; /// Descriptor for `DisconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List disconnectReasonDescriptor = - $convert.base64Decode('ChBEaXNjb25uZWN0UmVhc29uEhIKDlVOS05PV05fUkVBU09OEAASFAoQQ0xJRU5UX0lOSVRJQV' - 'RFRBABEhYKEkRVUExJQ0FURV9JREVOVElUWRACEhMKD1NFUlZFUl9TSFVURE9XThADEhcKE1BB' - 'UlRJQ0lQQU5UX1JFTU9WRUQQBBIQCgxST09NX0RFTEVURUQQBRISCg5TVEFURV9NSVNNQVRDSB' - 'AGEhAKDEpPSU5fRkFJTFVSRRAHEg0KCU1JR1JBVElPThAIEhAKDFNJR05BTF9DTE9TRRAJEg8K' - 'C1JPT01fQ0xPU0VEEAoSFAoQVVNFUl9VTkFWQUlMQUJMRRALEhEKDVVTRVJfUkVKRUNURUQQDB' - 'IVChFTSVBfVFJVTktfRkFJTFVSRRANEhYKEkNPTk5FQ1RJT05fVElNRU9VVBAOEhEKDU1FRElB' - 'X0ZBSUxVUkUQDw=='); +final $typed_data.Uint8List disconnectReasonDescriptor = $convert.base64Decode( + 'ChBEaXNjb25uZWN0UmVhc29uEhIKDlVOS05PV05fUkVBU09OEAASFAoQQ0xJRU5UX0lOSVRJQV' + 'RFRBABEhYKEkRVUExJQ0FURV9JREVOVElUWRACEhMKD1NFUlZFUl9TSFVURE9XThADEhcKE1BB' + 'UlRJQ0lQQU5UX1JFTU9WRUQQBBIQCgxST09NX0RFTEVURUQQBRISCg5TVEFURV9NSVNNQVRDSB' + 'AGEhAKDEpPSU5fRkFJTFVSRRAHEg0KCU1JR1JBVElPThAIEhAKDFNJR05BTF9DTE9TRRAJEg8K' + 'C1JPT01fQ0xPU0VEEAoSFAoQVVNFUl9VTkFWQUlMQUJMRRALEhEKDVVTRVJfUkVKRUNURUQQDB' + 'IVChFTSVBfVFJVTktfRkFJTFVSRRANEhYKEkNPTk5FQ1RJT05fVElNRU9VVBAOEhEKDU1FRElB' + 'X0ZBSUxVUkUQDw=='); @$core.Deprecated('Use reconnectReasonDescriptor instead') const ReconnectReason$json = { @@ -198,10 +213,10 @@ const ReconnectReason$json = { }; /// Descriptor for `ReconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List reconnectReasonDescriptor = - $convert.base64Decode('Cg9SZWNvbm5lY3RSZWFzb24SDgoKUlJfVU5LTk9XThAAEhoKFlJSX1NJR05BTF9ESVNDT05ORU' - 'NURUQQARIXChNSUl9QVUJMSVNIRVJfRkFJTEVEEAISGAoUUlJfU1VCU0NSSUJFUl9GQUlMRUQQ' - 'AxIXChNSUl9TV0lUQ0hfQ0FORElEQVRFEAQ='); +final $typed_data.Uint8List reconnectReasonDescriptor = $convert.base64Decode( + 'Cg9SZWNvbm5lY3RSZWFzb24SDgoKUlJfVU5LTk9XThAAEhoKFlJSX1NJR05BTF9ESVNDT05ORU' + 'NURUQQARIXChNSUl9QVUJMSVNIRVJfRkFJTEVEEAISGAoUUlJfU1VCU0NSSUJFUl9GQUlMRUQQ' + 'AxIXChNSUl9TV0lUQ0hfQ0FORElEQVRFEAQ='); @$core.Deprecated('Use subscriptionErrorDescriptor instead') const SubscriptionError$json = { @@ -214,9 +229,9 @@ const SubscriptionError$json = { }; /// Descriptor for `SubscriptionError`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List subscriptionErrorDescriptor = - $convert.base64Decode('ChFTdWJzY3JpcHRpb25FcnJvchIOCgpTRV9VTktOT1dOEAASGAoUU0VfQ09ERUNfVU5TVVBQT1' - 'JURUQQARIVChFTRV9UUkFDS19OT1RGT1VORBAC'); +final $typed_data.Uint8List subscriptionErrorDescriptor = $convert.base64Decode( + 'ChFTdWJzY3JpcHRpb25FcnJvchIOCgpTRV9VTktOT1dOEAASGAoUU0VfQ09ERUNfVU5TVVBQT1' + 'JURUQQARIVChFTRV9UUkFDS19OT1RGT1VORBAC'); @$core.Deprecated('Use audioTrackFeatureDescriptor instead') const AudioTrackFeature$json = { @@ -233,11 +248,11 @@ const AudioTrackFeature$json = { }; /// Descriptor for `AudioTrackFeature`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioTrackFeatureDescriptor = - $convert.base64Decode('ChFBdWRpb1RyYWNrRmVhdHVyZRINCglURl9TVEVSRU8QABINCglURl9OT19EVFgQARIYChRURl' - '9BVVRPX0dBSU5fQ09OVFJPTBACEhgKFFRGX0VDSE9fQ0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9J' - 'U0VfU1VQUFJFU1NJT04QBBIiCh5URl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYCh' - 'RURl9QUkVDT05ORUNUX0JVRkZFUhAG'); +final $typed_data.Uint8List audioTrackFeatureDescriptor = $convert.base64Decode( + 'ChFBdWRpb1RyYWNrRmVhdHVyZRINCglURl9TVEVSRU8QABINCglURl9OT19EVFgQARIYChRURl' + '9BVVRPX0dBSU5fQ09OVFJPTBACEhgKFFRGX0VDSE9fQ0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9J' + 'U0VfU1VQUFJFU1NJT04QBBIiCh5URl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYCh' + 'RURl9QUkVDT05ORUNUX0JVRkZFUhAG'); @$core.Deprecated('Use paginationDescriptor instead') const Pagination$json = { @@ -249,9 +264,9 @@ const Pagination$json = { }; /// Descriptor for `Pagination`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List paginationDescriptor = - $convert.base64Decode('CgpQYWdpbmF0aW9uEhkKCGFmdGVyX2lkGAEgASgJUgdhZnRlcklkEhQKBWxpbWl0GAIgASgFUg' - 'VsaW1pdA=='); +final $typed_data.Uint8List paginationDescriptor = $convert.base64Decode( + 'CgpQYWdpbmF0aW9uEhkKCGFmdGVyX2lkGAEgASgJUgdhZnRlcklkEhQKBWxpbWl0GAIgASgFUg' + 'VsaW1pdA=='); @$core.Deprecated('Use tokenPaginationDescriptor instead') const TokenPagination$json = { @@ -262,8 +277,8 @@ const TokenPagination$json = { }; /// Descriptor for `TokenPagination`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tokenPaginationDescriptor = - $convert.base64Decode('Cg9Ub2tlblBhZ2luYXRpb24SFAoFdG9rZW4YASABKAlSBXRva2Vu'); +final $typed_data.Uint8List tokenPaginationDescriptor = $convert + .base64Decode('Cg9Ub2tlblBhZ2luYXRpb24SFAoFdG9rZW4YASABKAlSBXRva2Vu'); @$core.Deprecated('Use listUpdateDescriptor instead') const ListUpdate$json = { @@ -277,9 +292,9 @@ const ListUpdate$json = { }; /// Descriptor for `ListUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listUpdateDescriptor = - $convert.base64Decode('CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' - '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); +final $typed_data.Uint8List listUpdateDescriptor = $convert.base64Decode( + 'CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' + '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); @$core.Deprecated('Use roomDescriptor instead') const Room$json = { @@ -288,32 +303,53 @@ const Room$json = { {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'empty_timeout', '3': 3, '4': 1, '5': 13, '10': 'emptyTimeout'}, - {'1': 'departure_timeout', '3': 14, '4': 1, '5': 13, '10': 'departureTimeout'}, + { + '1': 'departure_timeout', + '3': 14, + '4': 1, + '5': 13, + '10': 'departureTimeout' + }, {'1': 'max_participants', '3': 4, '4': 1, '5': 13, '10': 'maxParticipants'}, {'1': 'creation_time', '3': 5, '4': 1, '5': 3, '10': 'creationTime'}, {'1': 'creation_time_ms', '3': 15, '4': 1, '5': 3, '10': 'creationTimeMs'}, {'1': 'turn_password', '3': 6, '4': 1, '5': 9, '10': 'turnPassword'}, - {'1': 'enabled_codecs', '3': 7, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledCodecs'}, - {'1': 'metadata', '3': 8, '4': 1, '5': 9, '10': 'metadata'}, + { + '1': 'enabled_codecs', + '3': 7, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'enabledCodecs' + }, + {'1': 'metadata', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'metadata'}, {'1': 'num_participants', '3': 9, '4': 1, '5': 13, '10': 'numParticipants'}, {'1': 'num_publishers', '3': 11, '4': 1, '5': 13, '10': 'numPublishers'}, {'1': 'active_recording', '3': 10, '4': 1, '5': 8, '10': 'activeRecording'}, - {'1': 'version', '3': 13, '4': 1, '5': 11, '6': '.livekit.TimedVersion', '10': 'version'}, + { + '1': 'version', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.TimedVersion', + '10': 'version' + }, ], }; /// Descriptor for `Room`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomDescriptor = - $convert.base64Decode('CgRSb29tEhAKA3NpZBgBIAEoCVIDc2lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIwoNZW1wdHlfdG' - 'ltZW91dBgDIAEoDVIMZW1wdHlUaW1lb3V0EisKEWRlcGFydHVyZV90aW1lb3V0GA4gASgNUhBk' - 'ZXBhcnR1cmVUaW1lb3V0EikKEG1heF9wYXJ0aWNpcGFudHMYBCABKA1SD21heFBhcnRpY2lwYW' - '50cxIjCg1jcmVhdGlvbl90aW1lGAUgASgDUgxjcmVhdGlvblRpbWUSKAoQY3JlYXRpb25fdGlt' - 'ZV9tcxgPIAEoA1IOY3JlYXRpb25UaW1lTXMSIwoNdHVybl9wYXNzd29yZBgGIAEoCVIMdHVybl' - 'Bhc3N3b3JkEjUKDmVuYWJsZWRfY29kZWNzGAcgAygLMg4ubGl2ZWtpdC5Db2RlY1INZW5hYmxl' - 'ZENvZGVjcxIaCghtZXRhZGF0YRgIIAEoCVIIbWV0YWRhdGESKQoQbnVtX3BhcnRpY2lwYW50cx' - 'gJIAEoDVIPbnVtUGFydGljaXBhbnRzEiUKDm51bV9wdWJsaXNoZXJzGAsgASgNUg1udW1QdWJs' - 'aXNoZXJzEikKEGFjdGl2ZV9yZWNvcmRpbmcYCiABKAhSD2FjdGl2ZVJlY29yZGluZxIvCgd2ZX' - 'JzaW9uGA0gASgLMhUubGl2ZWtpdC5UaW1lZFZlcnNpb25SB3ZlcnNpb24='); +final $typed_data.Uint8List roomDescriptor = $convert.base64Decode( + 'CgRSb29tEhAKA3NpZBgBIAEoCVIDc2lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIwoNZW1wdHlfdG' + 'ltZW91dBgDIAEoDVIMZW1wdHlUaW1lb3V0EisKEWRlcGFydHVyZV90aW1lb3V0GA4gASgNUhBk' + 'ZXBhcnR1cmVUaW1lb3V0EikKEG1heF9wYXJ0aWNpcGFudHMYBCABKA1SD21heFBhcnRpY2lwYW' + '50cxIjCg1jcmVhdGlvbl90aW1lGAUgASgDUgxjcmVhdGlvblRpbWUSKAoQY3JlYXRpb25fdGlt' + 'ZV9tcxgPIAEoA1IOY3JlYXRpb25UaW1lTXMSIwoNdHVybl9wYXNzd29yZBgGIAEoCVIMdHVybl' + 'Bhc3N3b3JkEjUKDmVuYWJsZWRfY29kZWNzGAcgAygLMg4ubGl2ZWtpdC5Db2RlY1INZW5hYmxl' + 'ZENvZGVjcxJCCghtZXRhZGF0YRgIIAEoCUImiOwsAZLsLB48cmVkYWN0ZWQgKHt7IC5TaXplIH' + '19IGJ5dGVzKT5SCG1ldGFkYXRhEikKEG51bV9wYXJ0aWNpcGFudHMYCSABKA1SD251bVBhcnRp' + 'Y2lwYW50cxIlCg5udW1fcHVibGlzaGVycxgLIAEoDVINbnVtUHVibGlzaGVycxIpChBhY3Rpdm' + 'VfcmVjb3JkaW5nGAogASgIUg9hY3RpdmVSZWNvcmRpbmcSLwoHdmVyc2lvbhgNIAEoCzIVLmxp' + 'dmVraXQuVGltZWRWZXJzaW9uUgd2ZXJzaW9u'); @$core.Deprecated('Use codecDescriptor instead') const Codec$json = { @@ -325,9 +361,9 @@ const Codec$json = { }; /// Descriptor for `Codec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List codecDescriptor = - $convert.base64Decode('CgVDb2RlYxISCgRtaW1lGAEgASgJUgRtaW1lEhsKCWZtdHBfbGluZRgCIAEoCVIIZm10cExpbm' - 'U='); +final $typed_data.Uint8List codecDescriptor = $convert.base64Decode( + 'CgVDb2RlYxISCgRtaW1lGAEgASgJUgRtaW1lEhsKCWZtdHBfbGluZRgCIAEoCVIIZm10cExpbm' + 'U='); @$core.Deprecated('Use playoutDelayDescriptor instead') const PlayoutDelay$json = { @@ -340,9 +376,9 @@ const PlayoutDelay$json = { }; /// Descriptor for `PlayoutDelay`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List playoutDelayDescriptor = - $convert.base64Decode('CgxQbGF5b3V0RGVsYXkSGAoHZW5hYmxlZBgBIAEoCFIHZW5hYmxlZBIQCgNtaW4YAiABKA1SA2' - '1pbhIQCgNtYXgYAyABKA1SA21heA=='); +final $typed_data.Uint8List playoutDelayDescriptor = $convert.base64Decode( + 'CgxQbGF5b3V0RGVsYXkSGAoHZW5hYmxlZBgBIAEoCFIHZW5hYmxlZBIQCgNtaW4YAiABKA1SA2' + '1pbhIQCgNtYXgYAyABKA1SA21heA=='); @$core.Deprecated('Use participantPermissionDescriptor instead') const ParticipantPermission$json = { @@ -351,7 +387,14 @@ const ParticipantPermission$json = { {'1': 'can_subscribe', '3': 1, '4': 1, '5': 8, '10': 'canSubscribe'}, {'1': 'can_publish', '3': 2, '4': 1, '5': 8, '10': 'canPublish'}, {'1': 'can_publish_data', '3': 3, '4': 1, '5': 8, '10': 'canPublishData'}, - {'1': 'can_publish_sources', '3': 9, '4': 3, '5': 14, '6': '.livekit.TrackSource', '10': 'canPublishSources'}, + { + '1': 'can_publish_sources', + '3': 9, + '4': 3, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'canPublishSources' + }, {'1': 'hidden', '3': 7, '4': 1, '5': 8, '10': 'hidden'}, { '1': 'recorder', @@ -361,7 +404,13 @@ const ParticipantPermission$json = { '8': {'3': true}, '10': 'recorder', }, - {'1': 'can_update_metadata', '3': 10, '4': 1, '5': 8, '10': 'canUpdateMetadata'}, + { + '1': 'can_update_metadata', + '3': 10, + '4': 1, + '5': 8, + '10': 'canUpdateMetadata' + }, { '1': 'agent', '3': 11, @@ -370,19 +419,25 @@ const ParticipantPermission$json = { '8': {'3': true}, '10': 'agent', }, - {'1': 'can_subscribe_metrics', '3': 12, '4': 1, '5': 8, '10': 'canSubscribeMetrics'}, + { + '1': 'can_subscribe_metrics', + '3': 12, + '4': 1, + '5': 8, + '10': 'canSubscribeMetrics' + }, ], }; /// Descriptor for `ParticipantPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantPermissionDescriptor = - $convert.base64Decode('ChVQYXJ0aWNpcGFudFBlcm1pc3Npb24SIwoNY2FuX3N1YnNjcmliZRgBIAEoCFIMY2FuU3Vic2' - 'NyaWJlEh8KC2Nhbl9wdWJsaXNoGAIgASgIUgpjYW5QdWJsaXNoEigKEGNhbl9wdWJsaXNoX2Rh' - 'dGEYAyABKAhSDmNhblB1Ymxpc2hEYXRhEkQKE2Nhbl9wdWJsaXNoX3NvdXJjZXMYCSADKA4yFC' - '5saXZla2l0LlRyYWNrU291cmNlUhFjYW5QdWJsaXNoU291cmNlcxIWCgZoaWRkZW4YByABKAhS' - 'BmhpZGRlbhIeCghyZWNvcmRlchgIIAEoCEICGAFSCHJlY29yZGVyEi4KE2Nhbl91cGRhdGVfbW' - 'V0YWRhdGEYCiABKAhSEWNhblVwZGF0ZU1ldGFkYXRhEhgKBWFnZW50GAsgASgIQgIYAVIFYWdl' - 'bnQSMgoVY2FuX3N1YnNjcmliZV9tZXRyaWNzGAwgASgIUhNjYW5TdWJzY3JpYmVNZXRyaWNz'); +final $typed_data.Uint8List participantPermissionDescriptor = $convert.base64Decode( + 'ChVQYXJ0aWNpcGFudFBlcm1pc3Npb24SIwoNY2FuX3N1YnNjcmliZRgBIAEoCFIMY2FuU3Vic2' + 'NyaWJlEh8KC2Nhbl9wdWJsaXNoGAIgASgIUgpjYW5QdWJsaXNoEigKEGNhbl9wdWJsaXNoX2Rh' + 'dGEYAyABKAhSDmNhblB1Ymxpc2hEYXRhEkQKE2Nhbl9wdWJsaXNoX3NvdXJjZXMYCSADKA4yFC' + '5saXZla2l0LlRyYWNrU291cmNlUhFjYW5QdWJsaXNoU291cmNlcxIWCgZoaWRkZW4YByABKAhS' + 'BmhpZGRlbhIeCghyZWNvcmRlchgIIAEoCEICGAFSCHJlY29yZGVyEi4KE2Nhbl91cGRhdGVfbW' + 'V0YWRhdGEYCiABKAhSEWNhblVwZGF0ZU1ldGFkYXRhEhgKBWFnZW50GAsgASgIQgIYAVIFYWdl' + 'bnQSMgoVY2FuX3N1YnNjcmliZV9tZXRyaWNzGAwgASgIUhNjYW5TdWJzY3JpYmVNZXRyaWNz'); @$core.Deprecated('Use participantInfoDescriptor instead') const ParticipantInfo$json = { @@ -390,23 +445,85 @@ const ParticipantInfo$json = { '2': [ {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, {'1': 'identity', '3': 2, '4': 1, '5': 9, '10': 'identity'}, - {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.livekit.ParticipantInfo.State', '10': 'state'}, - {'1': 'tracks', '3': 4, '4': 3, '5': 11, '6': '.livekit.TrackInfo', '10': 'tracks'}, - {'1': 'metadata', '3': 5, '4': 1, '5': 9, '10': 'metadata'}, + { + '1': 'state', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.ParticipantInfo.State', + '10': 'state' + }, + { + '1': 'tracks', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.TrackInfo', + '10': 'tracks' + }, + {'1': 'metadata', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'metadata'}, {'1': 'joined_at', '3': 6, '4': 1, '5': 3, '10': 'joinedAt'}, {'1': 'joined_at_ms', '3': 17, '4': 1, '5': 3, '10': 'joinedAtMs'}, - {'1': 'name', '3': 9, '4': 1, '5': 9, '10': 'name'}, + {'1': 'name', '3': 9, '4': 1, '5': 9, '8': {}, '10': 'name'}, {'1': 'version', '3': 10, '4': 1, '5': 13, '10': 'version'}, - {'1': 'permission', '3': 11, '4': 1, '5': 11, '6': '.livekit.ParticipantPermission', '10': 'permission'}, + { + '1': 'permission', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantPermission', + '10': 'permission' + }, {'1': 'region', '3': 12, '4': 1, '5': 9, '10': 'region'}, {'1': 'is_publisher', '3': 13, '4': 1, '5': 8, '10': 'isPublisher'}, - {'1': 'kind', '3': 14, '4': 1, '5': 14, '6': '.livekit.ParticipantInfo.Kind', '10': 'kind'}, - {'1': 'attributes', '3': 15, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo.AttributesEntry', '10': 'attributes'}, - {'1': 'disconnect_reason', '3': 16, '4': 1, '5': 14, '6': '.livekit.DisconnectReason', '10': 'disconnectReason'}, - {'1': 'kind_details', '3': 18, '4': 3, '5': 14, '6': '.livekit.ParticipantInfo.KindDetail', '10': 'kindDetails'}, + { + '1': 'kind', + '3': 14, + '4': 1, + '5': 14, + '6': '.livekit.ParticipantInfo.Kind', + '10': 'kind' + }, + { + '1': 'attributes', + '3': 15, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo.AttributesEntry', + '8': {}, + '10': 'attributes' + }, + { + '1': 'disconnect_reason', + '3': 16, + '4': 1, + '5': 14, + '6': '.livekit.DisconnectReason', + '10': 'disconnectReason' + }, + { + '1': 'kind_details', + '3': 18, + '4': 3, + '5': 14, + '6': '.livekit.ParticipantInfo.KindDetail', + '10': 'kindDetails' + }, + { + '1': 'data_tracks', + '3': 19, + '4': 3, + '5': 11, + '6': '.livekit.DataTrackInfo', + '10': 'dataTracks' + }, ], '3': [ParticipantInfo_AttributesEntry$json], - '4': [ParticipantInfo_State$json, ParticipantInfo_Kind$json, ParticipantInfo_KindDetail$json], + '4': [ + ParticipantInfo_State$json, + ParticipantInfo_Kind$json, + ParticipantInfo_KindDetail$json + ], }; @$core.Deprecated('Use participantInfoDescriptor instead') @@ -439,6 +556,8 @@ const ParticipantInfo_Kind$json = { {'1': 'EGRESS', '2': 2}, {'1': 'SIP', '2': 3}, {'1': 'AGENT', '2': 4}, + {'1': 'CONNECTOR', '2': 7}, + {'1': 'BRIDGE', '2': 8}, ], }; @@ -448,28 +567,35 @@ const ParticipantInfo_KindDetail$json = { '2': [ {'1': 'CLOUD_AGENT', '2': 0}, {'1': 'FORWARDED', '2': 1}, + {'1': 'CONNECTOR_WHATSAPP', '2': 2}, + {'1': 'CONNECTOR_TWILIO', '2': 3}, + {'1': 'BRIDGE_RTSP', '2': 4}, ], }; /// Descriptor for `ParticipantInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantInfoDescriptor = - $convert.base64Decode('Cg9QYXJ0aWNpcGFudEluZm8SEAoDc2lkGAEgASgJUgNzaWQSGgoIaWRlbnRpdHkYAiABKAlSCG' - 'lkZW50aXR5EjQKBXN0YXRlGAMgASgOMh4ubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uU3RhdGVS' - 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSGgoIbW' - 'V0YWRhdGEYBSABKAlSCG1ldGFkYXRhEhsKCWpvaW5lZF9hdBgGIAEoA1IIam9pbmVkQXQSIAoM' - 'am9pbmVkX2F0X21zGBEgASgDUgpqb2luZWRBdE1zEhIKBG5hbWUYCSABKAlSBG5hbWUSGAoHdm' - 'Vyc2lvbhgKIAEoDVIHdmVyc2lvbhI+CgpwZXJtaXNzaW9uGAsgASgLMh4ubGl2ZWtpdC5QYXJ0' - 'aWNpcGFudFBlcm1pc3Npb25SCnBlcm1pc3Npb24SFgoGcmVnaW9uGAwgASgJUgZyZWdpb24SIQ' - 'oMaXNfcHVibGlzaGVyGA0gASgIUgtpc1B1Ymxpc2hlchIxCgRraW5kGA4gASgOMh0ubGl2ZWtp' - 'dC5QYXJ0aWNpcGFudEluZm8uS2luZFIEa2luZBJICgphdHRyaWJ1dGVzGA8gAygLMigubGl2ZW' - 'tpdC5QYXJ0aWNpcGFudEluZm8uQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEkYKEWRpc2Nv' - 'bm5lY3RfcmVhc29uGBAgASgOMhkubGl2ZWtpdC5EaXNjb25uZWN0UmVhc29uUhBkaXNjb25uZW' - 'N0UmVhc29uEkYKDGtpbmRfZGV0YWlscxgSIAMoDjIjLmxpdmVraXQuUGFydGljaXBhbnRJbmZv' - 'LktpbmREZXRhaWxSC2tpbmREZXRhaWxzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKA' - 'lSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBIj4KBVN0YXRlEgsKB0pPSU5JTkcQABIK' - 'CgZKT0lORUQQARIKCgZBQ1RJVkUQAhIQCgxESVNDT05ORUNURUQQAyJBCgRLaW5kEgwKCFNUQU' - '5EQVJEEAASCwoHSU5HUkVTUxABEgoKBkVHUkVTUxACEgcKA1NJUBADEgkKBUFHRU5UEAQiLAoK' - 'S2luZERldGFpbBIPCgtDTE9VRF9BR0VOVBAAEg0KCUZPUldBUkRFRBAB'); +final $typed_data.Uint8List participantInfoDescriptor = $convert.base64Decode( + 'Cg9QYXJ0aWNpcGFudEluZm8SEAoDc2lkGAEgASgJUgNzaWQSGgoIaWRlbnRpdHkYAiABKAlSCG' + 'lkZW50aXR5EjQKBXN0YXRlGAMgASgOMh4ubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uU3RhdGVS' + 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSQgoIbW' + 'V0YWRhdGEYBSABKAlCJojsLAGS7CwePHJlZGFjdGVkICh7eyAuU2l6ZSB9fSBieXRlcyk+Ught' + 'ZXRhZGF0YRIbCglqb2luZWRfYXQYBiABKANSCGpvaW5lZEF0EiAKDGpvaW5lZF9hdF9tcxgRIA' + 'EoA1IKam9pbmVkQXRNcxIYCgRuYW1lGAkgASgJQgSI7CwBUgRuYW1lEhgKB3ZlcnNpb24YCiAB' + 'KA1SB3ZlcnNpb24SPgoKcGVybWlzc2lvbhgLIAEoCzIeLmxpdmVraXQuUGFydGljaXBhbnRQZX' + 'JtaXNzaW9uUgpwZXJtaXNzaW9uEhYKBnJlZ2lvbhgMIAEoCVIGcmVnaW9uEiEKDGlzX3B1Ymxp' + 'c2hlchgNIAEoCFILaXNQdWJsaXNoZXISMQoEa2luZBgOIAEoDjIdLmxpdmVraXQuUGFydGljaX' + 'BhbnRJbmZvLktpbmRSBGtpbmQScAoKYXR0cmlidXRlcxgPIAMoCzIoLmxpdmVraXQuUGFydGlj' + 'aXBhbnRJbmZvLkF0dHJpYnV0ZXNFbnRyeUImiOwsAZLsLB48cmVkYWN0ZWQgKHt7IC5TaXplIH' + '19IGJ5dGVzKT5SCmF0dHJpYnV0ZXMSRgoRZGlzY29ubmVjdF9yZWFzb24YECABKA4yGS5saXZl' + 'a2l0LkRpc2Nvbm5lY3RSZWFzb25SEGRpc2Nvbm5lY3RSZWFzb24SRgoMa2luZF9kZXRhaWxzGB' + 'IgAygOMiMubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uS2luZERldGFpbFILa2luZERldGFpbHMS' + 'NwoLZGF0YV90cmFja3MYEyADKAsyFi5saXZla2l0LkRhdGFUcmFja0luZm9SCmRhdGFUcmFja3' + 'MaPQoPQXR0cmlidXRlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2' + 'YWx1ZToCOAEiPgoFU3RhdGUSCwoHSk9JTklORxAAEgoKBkpPSU5FRBABEgoKBkFDVElWRRACEh' + 'AKDERJU0NPTk5FQ1RFRBADIlwKBEtpbmQSDAoIU1RBTkRBUkQQABILCgdJTkdSRVNTEAESCgoG' + 'RUdSRVNTEAISBwoDU0lQEAMSCQoFQUdFTlQQBBINCglDT05ORUNUT1IQBxIKCgZCUklER0UQCC' + 'JrCgpLaW5kRGV0YWlsEg8KC0NMT1VEX0FHRU5UEAASDQoJRk9SV0FSREVEEAESFgoSQ09OTkVD' + 'VE9SX1dIQVRTQVBQEAISFAoQQ09OTkVDVE9SX1RXSUxJTxADEg8KC0JSSURHRV9SVFNQEAQ='); @$core.Deprecated('Use encryptionDescriptor instead') const Encryption$json = { @@ -488,8 +614,8 @@ const Encryption_Type$json = { }; /// Descriptor for `Encryption`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptionDescriptor = - $convert.base64Decode('CgpFbmNyeXB0aW9uIiUKBFR5cGUSCAoETk9ORRAAEgcKA0dDTRABEgoKBkNVU1RPTRAC'); +final $typed_data.Uint8List encryptionDescriptor = $convert.base64Decode( + 'CgpFbmNyeXB0aW9uIiUKBFR5cGUSCAoETk9ORRAAEgcKA0dDTRABEgoKBkNVU1RPTRAC'); @$core.Deprecated('Use simulcastCodecInfoDescriptor instead') const SimulcastCodecInfo$json = { @@ -498,44 +624,51 @@ const SimulcastCodecInfo$json = { {'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'}, {'1': 'mid', '3': 2, '4': 1, '5': 9, '10': 'mid'}, {'1': 'cid', '3': 3, '4': 1, '5': 9, '10': 'cid'}, - {'1': 'layers', '3': 4, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, - {'1': 'video_layer_mode', '3': 5, '4': 1, '5': 14, '6': '.livekit.VideoLayer.Mode', '10': 'videoLayerMode'}, + { + '1': 'layers', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, + { + '1': 'video_layer_mode', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.VideoLayer.Mode', + '10': 'videoLayerMode' + }, {'1': 'sdp_cid', '3': 6, '4': 1, '5': 9, '10': 'sdpCid'}, ], }; /// Descriptor for `SimulcastCodecInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulcastCodecInfoDescriptor = - $convert.base64Decode('ChJTaW11bGNhc3RDb2RlY0luZm8SGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIQCgNtaW' - 'QYAiABKAlSA21pZBIQCgNjaWQYAyABKAlSA2NpZBIrCgZsYXllcnMYBCADKAsyEy5saXZla2l0' - 'LlZpZGVvTGF5ZXJSBmxheWVycxJCChB2aWRlb19sYXllcl9tb2RlGAUgASgOMhgubGl2ZWtpdC' - '5WaWRlb0xheWVyLk1vZGVSDnZpZGVvTGF5ZXJNb2RlEhcKB3NkcF9jaWQYBiABKAlSBnNkcENp' - 'ZA=='); +final $typed_data.Uint8List simulcastCodecInfoDescriptor = $convert.base64Decode( + 'ChJTaW11bGNhc3RDb2RlY0luZm8SGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIQCgNtaW' + 'QYAiABKAlSA21pZBIQCgNjaWQYAyABKAlSA2NpZBIrCgZsYXllcnMYBCADKAsyEy5saXZla2l0' + 'LlZpZGVvTGF5ZXJSBmxheWVycxJCChB2aWRlb19sYXllcl9tb2RlGAUgASgOMhgubGl2ZWtpdC' + '5WaWRlb0xheWVyLk1vZGVSDnZpZGVvTGF5ZXJNb2RlEhcKB3NkcF9jaWQYBiABKAlSBnNkcENp' + 'ZA=='); @$core.Deprecated('Use trackInfoDescriptor instead') const TrackInfo$json = { '1': 'TrackInfo', '2': [ {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, - {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.livekit.TrackType', '10': 'type'}, - {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, - {'1': 'muted', '3': 4, '4': 1, '5': 8, '10': 'muted'}, { - '1': 'width', - '3': 5, + '1': 'type', + '3': 2, '4': 1, - '5': 13, - '8': {'3': true}, - '10': 'width', - }, - { - '1': 'height', - '3': 6, - '4': 1, - '5': 13, - '8': {'3': true}, - '10': 'height', + '5': 14, + '6': '.livekit.TrackType', + '10': 'type' }, + {'1': 'name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'name'}, + {'1': 'muted', '3': 4, '4': 1, '5': 8, '10': 'muted'}, + {'1': 'width', '3': 5, '4': 1, '5': 13, '10': 'width'}, + {'1': 'height', '3': 6, '4': 1, '5': 13, '10': 'height'}, { '1': 'simulcast', '3': 7, @@ -552,7 +685,14 @@ const TrackInfo$json = { '8': {'3': true}, '10': 'disableDtx', }, - {'1': 'source', '3': 9, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, + { + '1': 'source', + '3': 9, + '4': 1, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'source' + }, { '1': 'layers', '3': 10, @@ -564,7 +704,14 @@ const TrackInfo$json = { }, {'1': 'mime_type', '3': 11, '4': 1, '5': 9, '10': 'mimeType'}, {'1': 'mid', '3': 12, '4': 1, '5': 9, '10': 'mid'}, - {'1': 'codecs', '3': 13, '4': 3, '5': 11, '6': '.livekit.SimulcastCodecInfo', '10': 'codecs'}, + { + '1': 'codecs', + '3': 13, + '4': 3, + '5': 11, + '6': '.livekit.SimulcastCodecInfo', + '10': 'codecs' + }, { '1': 'stereo', '3': 14, @@ -574,10 +721,31 @@ const TrackInfo$json = { '10': 'stereo', }, {'1': 'disable_red', '3': 15, '4': 1, '5': 8, '10': 'disableRed'}, - {'1': 'encryption', '3': 16, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryption'}, + { + '1': 'encryption', + '3': 16, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryption' + }, {'1': 'stream', '3': 17, '4': 1, '5': 9, '10': 'stream'}, - {'1': 'version', '3': 18, '4': 1, '5': 11, '6': '.livekit.TimedVersion', '10': 'version'}, - {'1': 'audio_features', '3': 19, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'audioFeatures'}, + { + '1': 'version', + '3': 18, + '4': 1, + '5': 11, + '6': '.livekit.TimedVersion', + '10': 'version' + }, + { + '1': 'audio_features', + '3': 19, + '4': 3, + '5': 14, + '6': '.livekit.AudioTrackFeature', + '10': 'audioFeatures' + }, { '1': 'backup_codec_policy', '3': 20, @@ -590,33 +758,113 @@ const TrackInfo$json = { }; /// Descriptor for `TrackInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackInfoDescriptor = - $convert.base64Decode('CglUcmFja0luZm8SEAoDc2lkGAEgASgJUgNzaWQSJgoEdHlwZRgCIAEoDjISLmxpdmVraXQuVH' - 'JhY2tUeXBlUgR0eXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSFAoFbXV0ZWQYBCABKAhSBW11dGVk' - 'EhgKBXdpZHRoGAUgASgNQgIYAVIFd2lkdGgSGgoGaGVpZ2h0GAYgASgNQgIYAVIGaGVpZ2h0Ei' - 'AKCXNpbXVsY2FzdBgHIAEoCEICGAFSCXNpbXVsY2FzdBIjCgtkaXNhYmxlX2R0eBgIIAEoCEIC' - 'GAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAkgASgOMhQubGl2ZWtpdC5UcmFja1NvdXJjZVIGc2' - '91cmNlEi8KBmxheWVycxgKIAMoCzITLmxpdmVraXQuVmlkZW9MYXllckICGAFSBmxheWVycxIb' - 'CgltaW1lX3R5cGUYCyABKAlSCG1pbWVUeXBlEhAKA21pZBgMIAEoCVIDbWlkEjMKBmNvZGVjcx' - 'gNIAMoCzIbLmxpdmVraXQuU2ltdWxjYXN0Q29kZWNJbmZvUgZjb2RlY3MSGgoGc3RlcmVvGA4g' - 'ASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA8gASgIUgpkaXNhYmxlUmVkEjgKCmVuY3' - 'J5cHRpb24YECABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCgZz' - 'dHJlYW0YESABKAlSBnN0cmVhbRIvCgd2ZXJzaW9uGBIgASgLMhUubGl2ZWtpdC5UaW1lZFZlcn' - 'Npb25SB3ZlcnNpb24SQQoOYXVkaW9fZmVhdHVyZXMYEyADKA4yGi5saXZla2l0LkF1ZGlvVHJh' - 'Y2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVzEkoKE2JhY2t1cF9jb2RlY19wb2xpY3kYFCABKA4yGi' - '5saXZla2l0LkJhY2t1cENvZGVjUG9saWN5UhFiYWNrdXBDb2RlY1BvbGljeQ=='); +final $typed_data.Uint8List trackInfoDescriptor = $convert.base64Decode( + 'CglUcmFja0luZm8SEAoDc2lkGAEgASgJUgNzaWQSJgoEdHlwZRgCIAEoDjISLmxpdmVraXQuVH' + 'JhY2tUeXBlUgR0eXBlEhgKBG5hbWUYAyABKAlCBIjsLAFSBG5hbWUSFAoFbXV0ZWQYBCABKAhS' + 'BW11dGVkEhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA1SBmhlaWdodBIgCg' + 'lzaW11bGNhc3QYByABKAhCAhgBUglzaW11bGNhc3QSIwoLZGlzYWJsZV9kdHgYCCABKAhCAhgB' + 'UgpkaXNhYmxlRHR4EiwKBnNvdXJjZRgJIAEoDjIULmxpdmVraXQuVHJhY2tTb3VyY2VSBnNvdX' + 'JjZRIvCgZsYXllcnMYCiADKAsyEy5saXZla2l0LlZpZGVvTGF5ZXJCAhgBUgZsYXllcnMSGwoJ' + 'bWltZV90eXBlGAsgASgJUghtaW1lVHlwZRIQCgNtaWQYDCABKAlSA21pZBIzCgZjb2RlY3MYDS' + 'ADKAsyGy5saXZla2l0LlNpbXVsY2FzdENvZGVjSW5mb1IGY29kZWNzEhoKBnN0ZXJlbxgOIAEo' + 'CEICGAFSBnN0ZXJlbxIfCgtkaXNhYmxlX3JlZBgPIAEoCFIKZGlzYWJsZVJlZBI4CgplbmNyeX' + 'B0aW9uGBAgASgOMhgubGl2ZWtpdC5FbmNyeXB0aW9uLlR5cGVSCmVuY3J5cHRpb24SFgoGc3Ry' + 'ZWFtGBEgASgJUgZzdHJlYW0SLwoHdmVyc2lvbhgSIAEoCzIVLmxpdmVraXQuVGltZWRWZXJzaW' + '9uUgd2ZXJzaW9uEkEKDmF1ZGlvX2ZlYXR1cmVzGBMgAygOMhoubGl2ZWtpdC5BdWRpb1RyYWNr' + 'RmVhdHVyZVINYXVkaW9GZWF0dXJlcxJKChNiYWNrdXBfY29kZWNfcG9saWN5GBQgASgOMhoubG' + 'l2ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3k='); + +@$core.Deprecated('Use dataTrackInfoDescriptor instead') +const DataTrackInfo$json = { + '1': 'DataTrackInfo', + '2': [ + {'1': 'pub_handle', '3': 1, '4': 1, '5': 13, '10': 'pubHandle'}, + {'1': 'sid', '3': 2, '4': 1, '5': 9, '10': 'sid'}, + {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, + { + '1': 'encryption', + '3': 4, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryption' + }, + ], +}; + +/// Descriptor for `DataTrackInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dataTrackInfoDescriptor = $convert.base64Decode( + 'Cg1EYXRhVHJhY2tJbmZvEh0KCnB1Yl9oYW5kbGUYASABKA1SCXB1YkhhbmRsZRIQCgNzaWQYAi' + 'ABKAlSA3NpZBISCgRuYW1lGAMgASgJUgRuYW1lEjgKCmVuY3J5cHRpb24YBCABKA4yGC5saXZl' + 'a2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbg=='); + +@$core.Deprecated('Use dataTrackExtensionParticipantSidDescriptor instead') +const DataTrackExtensionParticipantSid$json = { + '1': 'DataTrackExtensionParticipantSid', + '2': [ + { + '1': 'id', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.DataTrackExtensionID', + '10': 'id' + }, + {'1': 'participant_sid', '3': 2, '4': 1, '5': 9, '10': 'participantSid'}, + ], +}; + +/// Descriptor for `DataTrackExtensionParticipantSid`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dataTrackExtensionParticipantSidDescriptor = + $convert.base64Decode( + 'CiBEYXRhVHJhY2tFeHRlbnNpb25QYXJ0aWNpcGFudFNpZBItCgJpZBgBIAEoDjIdLmxpdmVraX' + 'QuRGF0YVRyYWNrRXh0ZW5zaW9uSURSAmlkEicKD3BhcnRpY2lwYW50X3NpZBgCIAEoCVIOcGFy' + 'dGljaXBhbnRTaWQ='); + +@$core.Deprecated('Use dataTrackSubscriptionOptionsDescriptor instead') +const DataTrackSubscriptionOptions$json = { + '1': 'DataTrackSubscriptionOptions', + '2': [ + { + '1': 'target_fps', + '3': 1, + '4': 1, + '5': 13, + '9': 0, + '10': 'targetFps', + '17': true + }, + ], + '8': [ + {'1': '_target_fps'}, + ], +}; + +/// Descriptor for `DataTrackSubscriptionOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dataTrackSubscriptionOptionsDescriptor = + $convert.base64Decode( + 'ChxEYXRhVHJhY2tTdWJzY3JpcHRpb25PcHRpb25zEiIKCnRhcmdldF9mcHMYASABKA1IAFIJdG' + 'FyZ2V0RnBziAEBQg0KC190YXJnZXRfZnBz'); @$core.Deprecated('Use videoLayerDescriptor instead') const VideoLayer$json = { '1': 'VideoLayer', '2': [ - {'1': 'quality', '3': 1, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'width', '3': 2, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 3, '4': 1, '5': 13, '10': 'height'}, {'1': 'bitrate', '3': 4, '4': 1, '5': 13, '10': 'bitrate'}, {'1': 'ssrc', '3': 5, '4': 1, '5': 13, '10': 'ssrc'}, {'1': 'spatial_layer', '3': 6, '4': 1, '5': 5, '10': 'spatialLayer'}, {'1': 'rid', '3': 7, '4': 1, '5': 9, '10': 'rid'}, + {'1': 'repair_ssrc', '3': 8, '4': 1, '5': 13, '10': 'repairSsrc'}, ], '4': [VideoLayer_Mode$json], }; @@ -633,14 +881,15 @@ const VideoLayer_Mode$json = { }; /// Descriptor for `VideoLayer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoLayerDescriptor = - $convert.base64Decode('CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' - 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' - 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' - 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCKWAQoETW9kZRIPCgtN' - 'T0RFX1VOVVNFRBAAEiAKHE9ORV9TUEFUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSV' - 'BMRV9TUEFUSUFMX0xBWUVSU19QRVJfU1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVS' - 'X1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1BfU1IQAw=='); +final $typed_data.Uint8List videoLayerDescriptor = $convert.base64Decode( + 'CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' + 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' + 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' + 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZBIfCgtyZXBhaXJfc3Ny' + 'YxgIIAEoDVIKcmVwYWlyU3NyYyKWAQoETW9kZRIPCgtNT0RFX1VOVVNFRBAAEiAKHE9ORV9TUE' + 'FUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSVBMRV9TUEFUSUFMX0xBWUVSU19QRVJf' + 'U1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVSX1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1' + 'BfU1IQAw=='); @$core.Deprecated('Use dataPacketDescriptor instead') const DataPacket$json = { @@ -655,9 +904,29 @@ const DataPacket$json = { '8': {'3': true}, '10': 'kind', }, - {'1': 'participant_identity', '3': 4, '4': 1, '5': 9, '10': 'participantIdentity'}, - {'1': 'destination_identities', '3': 5, '4': 3, '5': 9, '10': 'destinationIdentities'}, - {'1': 'user', '3': 2, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, + { + '1': 'participant_identity', + '3': 4, + '4': 1, + '5': 9, + '10': 'participantIdentity' + }, + { + '1': 'destination_identities', + '3': 5, + '4': 3, + '5': 9, + '10': 'destinationIdentities' + }, + { + '1': 'user', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.UserPacket', + '9': 0, + '10': 'user' + }, { '1': 'speaker', '3': 3, @@ -668,15 +937,87 @@ const DataPacket$json = { '9': 0, '10': 'speaker', }, - {'1': 'sip_dtmf', '3': 6, '4': 1, '5': 11, '6': '.livekit.SipDTMF', '9': 0, '10': 'sipDtmf'}, - {'1': 'transcription', '3': 7, '4': 1, '5': 11, '6': '.livekit.Transcription', '9': 0, '10': 'transcription'}, - {'1': 'metrics', '3': 8, '4': 1, '5': 11, '6': '.livekit.MetricsBatch', '9': 0, '10': 'metrics'}, - {'1': 'chat_message', '3': 9, '4': 1, '5': 11, '6': '.livekit.ChatMessage', '9': 0, '10': 'chatMessage'}, - {'1': 'rpc_request', '3': 10, '4': 1, '5': 11, '6': '.livekit.RpcRequest', '9': 0, '10': 'rpcRequest'}, - {'1': 'rpc_ack', '3': 11, '4': 1, '5': 11, '6': '.livekit.RpcAck', '9': 0, '10': 'rpcAck'}, - {'1': 'rpc_response', '3': 12, '4': 1, '5': 11, '6': '.livekit.RpcResponse', '9': 0, '10': 'rpcResponse'}, - {'1': 'stream_header', '3': 13, '4': 1, '5': 11, '6': '.livekit.DataStream.Header', '9': 0, '10': 'streamHeader'}, - {'1': 'stream_chunk', '3': 14, '4': 1, '5': 11, '6': '.livekit.DataStream.Chunk', '9': 0, '10': 'streamChunk'}, + { + '1': 'sip_dtmf', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.SipDTMF', + '9': 0, + '10': 'sipDtmf' + }, + { + '1': 'transcription', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.Transcription', + '9': 0, + '10': 'transcription' + }, + { + '1': 'metrics', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.MetricsBatch', + '9': 0, + '10': 'metrics' + }, + { + '1': 'chat_message', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.ChatMessage', + '9': 0, + '10': 'chatMessage' + }, + { + '1': 'rpc_request', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.RpcRequest', + '9': 0, + '10': 'rpcRequest' + }, + { + '1': 'rpc_ack', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.RpcAck', + '9': 0, + '10': 'rpcAck' + }, + { + '1': 'rpc_response', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.RpcResponse', + '9': 0, + '10': 'rpcResponse' + }, + { + '1': 'stream_header', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Header', + '9': 0, + '10': 'streamHeader' + }, + { + '1': 'stream_chunk', + '3': 14, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Chunk', + '9': 0, + '10': 'streamChunk' + }, { '1': 'stream_trailer', '3': 15, @@ -714,32 +1055,39 @@ const DataPacket_Kind$json = { }; /// Descriptor for `DataPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataPacketDescriptor = - $convert.base64Decode('CgpEYXRhUGFja2V0EjAKBGtpbmQYASABKA4yGC5saXZla2l0LkRhdGFQYWNrZXQuS2luZEICGA' - 'FSBGtpbmQSMQoUcGFydGljaXBhbnRfaWRlbnRpdHkYBCABKAlSE3BhcnRpY2lwYW50SWRlbnRp' - 'dHkSNQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgFIAMoCVIVZGVzdGluYXRpb25JZGVudGl0aW' - 'VzEikKBHVzZXIYAiABKAsyEy5saXZla2l0LlVzZXJQYWNrZXRIAFIEdXNlchI8CgdzcGVha2Vy' - 'GAMgASgLMhwubGl2ZWtpdC5BY3RpdmVTcGVha2VyVXBkYXRlQgIYAUgAUgdzcGVha2VyEi0KCH' - 'NpcF9kdG1mGAYgASgLMhAubGl2ZWtpdC5TaXBEVE1GSABSB3NpcER0bWYSPgoNdHJhbnNjcmlw' - 'dGlvbhgHIAEoCzIWLmxpdmVraXQuVHJhbnNjcmlwdGlvbkgAUg10cmFuc2NyaXB0aW9uEjEKB2' - '1ldHJpY3MYCCABKAsyFS5saXZla2l0Lk1ldHJpY3NCYXRjaEgAUgdtZXRyaWNzEjkKDGNoYXRf' - 'bWVzc2FnZRgJIAEoCzIULmxpdmVraXQuQ2hhdE1lc3NhZ2VIAFILY2hhdE1lc3NhZ2USNgoLcn' - 'BjX3JlcXVlc3QYCiABKAsyEy5saXZla2l0LlJwY1JlcXVlc3RIAFIKcnBjUmVxdWVzdBIqCgdy' - 'cGNfYWNrGAsgASgLMg8ubGl2ZWtpdC5ScGNBY2tIAFIGcnBjQWNrEjkKDHJwY19yZXNwb25zZR' - 'gMIAEoCzIULmxpdmVraXQuUnBjUmVzcG9uc2VIAFILcnBjUmVzcG9uc2USQQoNc3RyZWFtX2hl' - 'YWRlchgNIAEoCzIaLmxpdmVraXQuRGF0YVN0cmVhbS5IZWFkZXJIAFIMc3RyZWFtSGVhZGVyEj' - '4KDHN0cmVhbV9jaHVuaxgOIAEoCzIZLmxpdmVraXQuRGF0YVN0cmVhbS5DaHVua0gAUgtzdHJl' - 'YW1DaHVuaxJECg5zdHJlYW1fdHJhaWxlchgPIAEoCzIbLmxpdmVraXQuRGF0YVN0cmVhbS5Ucm' - 'FpbGVySABSDXN0cmVhbVRyYWlsZXISRQoQZW5jcnlwdGVkX3BhY2tldBgSIAEoCzIYLmxpdmVr' - 'aXQuRW5jcnlwdGVkUGFja2V0SABSD2VuY3J5cHRlZFBhY2tldBIaCghzZXF1ZW5jZRgQIAEoDV' - 'IIc2VxdWVuY2USJwoPcGFydGljaXBhbnRfc2lkGBEgASgJUg5wYXJ0aWNpcGFudFNpZCIfCgRL' - 'aW5kEgwKCFJFTElBQkxFEAASCQoFTE9TU1kQAUIHCgV2YWx1ZQ=='); +final $typed_data.Uint8List dataPacketDescriptor = $convert.base64Decode( + 'CgpEYXRhUGFja2V0EjAKBGtpbmQYASABKA4yGC5saXZla2l0LkRhdGFQYWNrZXQuS2luZEICGA' + 'FSBGtpbmQSMQoUcGFydGljaXBhbnRfaWRlbnRpdHkYBCABKAlSE3BhcnRpY2lwYW50SWRlbnRp' + 'dHkSNQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgFIAMoCVIVZGVzdGluYXRpb25JZGVudGl0aW' + 'VzEikKBHVzZXIYAiABKAsyEy5saXZla2l0LlVzZXJQYWNrZXRIAFIEdXNlchI8CgdzcGVha2Vy' + 'GAMgASgLMhwubGl2ZWtpdC5BY3RpdmVTcGVha2VyVXBkYXRlQgIYAUgAUgdzcGVha2VyEi0KCH' + 'NpcF9kdG1mGAYgASgLMhAubGl2ZWtpdC5TaXBEVE1GSABSB3NpcER0bWYSPgoNdHJhbnNjcmlw' + 'dGlvbhgHIAEoCzIWLmxpdmVraXQuVHJhbnNjcmlwdGlvbkgAUg10cmFuc2NyaXB0aW9uEjEKB2' + '1ldHJpY3MYCCABKAsyFS5saXZla2l0Lk1ldHJpY3NCYXRjaEgAUgdtZXRyaWNzEjkKDGNoYXRf' + 'bWVzc2FnZRgJIAEoCzIULmxpdmVraXQuQ2hhdE1lc3NhZ2VIAFILY2hhdE1lc3NhZ2USNgoLcn' + 'BjX3JlcXVlc3QYCiABKAsyEy5saXZla2l0LlJwY1JlcXVlc3RIAFIKcnBjUmVxdWVzdBIqCgdy' + 'cGNfYWNrGAsgASgLMg8ubGl2ZWtpdC5ScGNBY2tIAFIGcnBjQWNrEjkKDHJwY19yZXNwb25zZR' + 'gMIAEoCzIULmxpdmVraXQuUnBjUmVzcG9uc2VIAFILcnBjUmVzcG9uc2USQQoNc3RyZWFtX2hl' + 'YWRlchgNIAEoCzIaLmxpdmVraXQuRGF0YVN0cmVhbS5IZWFkZXJIAFIMc3RyZWFtSGVhZGVyEj' + '4KDHN0cmVhbV9jaHVuaxgOIAEoCzIZLmxpdmVraXQuRGF0YVN0cmVhbS5DaHVua0gAUgtzdHJl' + 'YW1DaHVuaxJECg5zdHJlYW1fdHJhaWxlchgPIAEoCzIbLmxpdmVraXQuRGF0YVN0cmVhbS5Ucm' + 'FpbGVySABSDXN0cmVhbVRyYWlsZXISRQoQZW5jcnlwdGVkX3BhY2tldBgSIAEoCzIYLmxpdmVr' + 'aXQuRW5jcnlwdGVkUGFja2V0SABSD2VuY3J5cHRlZFBhY2tldBIaCghzZXF1ZW5jZRgQIAEoDV' + 'IIc2VxdWVuY2USJwoPcGFydGljaXBhbnRfc2lkGBEgASgJUg5wYXJ0aWNpcGFudFNpZCIfCgRL' + 'aW5kEgwKCFJFTElBQkxFEAASCQoFTE9TU1kQAUIHCgV2YWx1ZQ=='); @$core.Deprecated('Use encryptedPacketDescriptor instead') const EncryptedPacket$json = { '1': 'EncryptedPacket', '2': [ - {'1': 'encryption_type', '3': 1, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryptionType'}, + { + '1': 'encryption_type', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryptionType' + }, {'1': 'iv', '3': 2, '4': 1, '5': 12, '10': 'iv'}, {'1': 'key_index', '3': 3, '4': 1, '5': 13, '10': 'keyIndex'}, {'1': 'encrypted_value', '3': 4, '4': 1, '5': 12, '10': 'encryptedValue'}, @@ -747,24 +1095,88 @@ const EncryptedPacket$json = { }; /// Descriptor for `EncryptedPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptedPacketDescriptor = - $convert.base64Decode('Cg9FbmNyeXB0ZWRQYWNrZXQSQQoPZW5jcnlwdGlvbl90eXBlGAEgASgOMhgubGl2ZWtpdC5Fbm' - 'NyeXB0aW9uLlR5cGVSDmVuY3J5cHRpb25UeXBlEg4KAml2GAIgASgMUgJpdhIbCglrZXlfaW5k' - 'ZXgYAyABKA1SCGtleUluZGV4EicKD2VuY3J5cHRlZF92YWx1ZRgEIAEoDFIOZW5jcnlwdGVkVm' - 'FsdWU='); +final $typed_data.Uint8List encryptedPacketDescriptor = $convert.base64Decode( + 'Cg9FbmNyeXB0ZWRQYWNrZXQSQQoPZW5jcnlwdGlvbl90eXBlGAEgASgOMhgubGl2ZWtpdC5Fbm' + 'NyeXB0aW9uLlR5cGVSDmVuY3J5cHRpb25UeXBlEg4KAml2GAIgASgMUgJpdhIbCglrZXlfaW5k' + 'ZXgYAyABKA1SCGtleUluZGV4EicKD2VuY3J5cHRlZF92YWx1ZRgEIAEoDFIOZW5jcnlwdGVkVm' + 'FsdWU='); @$core.Deprecated('Use encryptedPacketPayloadDescriptor instead') const EncryptedPacketPayload$json = { '1': 'EncryptedPacketPayload', '2': [ - {'1': 'user', '3': 1, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, - {'1': 'chat_message', '3': 3, '4': 1, '5': 11, '6': '.livekit.ChatMessage', '9': 0, '10': 'chatMessage'}, - {'1': 'rpc_request', '3': 4, '4': 1, '5': 11, '6': '.livekit.RpcRequest', '9': 0, '10': 'rpcRequest'}, - {'1': 'rpc_ack', '3': 5, '4': 1, '5': 11, '6': '.livekit.RpcAck', '9': 0, '10': 'rpcAck'}, - {'1': 'rpc_response', '3': 6, '4': 1, '5': 11, '6': '.livekit.RpcResponse', '9': 0, '10': 'rpcResponse'}, - {'1': 'stream_header', '3': 7, '4': 1, '5': 11, '6': '.livekit.DataStream.Header', '9': 0, '10': 'streamHeader'}, - {'1': 'stream_chunk', '3': 8, '4': 1, '5': 11, '6': '.livekit.DataStream.Chunk', '9': 0, '10': 'streamChunk'}, - {'1': 'stream_trailer', '3': 9, '4': 1, '5': 11, '6': '.livekit.DataStream.Trailer', '9': 0, '10': 'streamTrailer'}, + { + '1': 'user', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.UserPacket', + '9': 0, + '10': 'user' + }, + { + '1': 'chat_message', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ChatMessage', + '9': 0, + '10': 'chatMessage' + }, + { + '1': 'rpc_request', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.RpcRequest', + '9': 0, + '10': 'rpcRequest' + }, + { + '1': 'rpc_ack', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.RpcAck', + '9': 0, + '10': 'rpcAck' + }, + { + '1': 'rpc_response', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.RpcResponse', + '9': 0, + '10': 'rpcResponse' + }, + { + '1': 'stream_header', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Header', + '9': 0, + '10': 'streamHeader' + }, + { + '1': 'stream_chunk', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Chunk', + '9': 0, + '10': 'streamChunk' + }, + { + '1': 'stream_trailer', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Trailer', + '9': 0, + '10': 'streamTrailer' + }, ], '8': [ {'1': 'value'}, @@ -772,30 +1184,37 @@ const EncryptedPacketPayload$json = { }; /// Descriptor for `EncryptedPacketPayload`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptedPacketPayloadDescriptor = - $convert.base64Decode('ChZFbmNyeXB0ZWRQYWNrZXRQYXlsb2FkEikKBHVzZXIYASABKAsyEy5saXZla2l0LlVzZXJQYW' - 'NrZXRIAFIEdXNlchI5CgxjaGF0X21lc3NhZ2UYAyABKAsyFC5saXZla2l0LkNoYXRNZXNzYWdl' - 'SABSC2NoYXRNZXNzYWdlEjYKC3JwY19yZXF1ZXN0GAQgASgLMhMubGl2ZWtpdC5ScGNSZXF1ZX' - 'N0SABSCnJwY1JlcXVlc3QSKgoHcnBjX2FjaxgFIAEoCzIPLmxpdmVraXQuUnBjQWNrSABSBnJw' - 'Y0FjaxI5CgxycGNfcmVzcG9uc2UYBiABKAsyFC5saXZla2l0LlJwY1Jlc3BvbnNlSABSC3JwY1' - 'Jlc3BvbnNlEkEKDXN0cmVhbV9oZWFkZXIYByABKAsyGi5saXZla2l0LkRhdGFTdHJlYW0uSGVh' - 'ZGVySABSDHN0cmVhbUhlYWRlchI+CgxzdHJlYW1fY2h1bmsYCCABKAsyGS5saXZla2l0LkRhdG' - 'FTdHJlYW0uQ2h1bmtIAFILc3RyZWFtQ2h1bmsSRAoOc3RyZWFtX3RyYWlsZXIYCSABKAsyGy5s' - 'aXZla2l0LkRhdGFTdHJlYW0uVHJhaWxlckgAUg1zdHJlYW1UcmFpbGVyQgcKBXZhbHVl'); +final $typed_data.Uint8List encryptedPacketPayloadDescriptor = $convert.base64Decode( + 'ChZFbmNyeXB0ZWRQYWNrZXRQYXlsb2FkEikKBHVzZXIYASABKAsyEy5saXZla2l0LlVzZXJQYW' + 'NrZXRIAFIEdXNlchI5CgxjaGF0X21lc3NhZ2UYAyABKAsyFC5saXZla2l0LkNoYXRNZXNzYWdl' + 'SABSC2NoYXRNZXNzYWdlEjYKC3JwY19yZXF1ZXN0GAQgASgLMhMubGl2ZWtpdC5ScGNSZXF1ZX' + 'N0SABSCnJwY1JlcXVlc3QSKgoHcnBjX2FjaxgFIAEoCzIPLmxpdmVraXQuUnBjQWNrSABSBnJw' + 'Y0FjaxI5CgxycGNfcmVzcG9uc2UYBiABKAsyFC5saXZla2l0LlJwY1Jlc3BvbnNlSABSC3JwY1' + 'Jlc3BvbnNlEkEKDXN0cmVhbV9oZWFkZXIYByABKAsyGi5saXZla2l0LkRhdGFTdHJlYW0uSGVh' + 'ZGVySABSDHN0cmVhbUhlYWRlchI+CgxzdHJlYW1fY2h1bmsYCCABKAsyGS5saXZla2l0LkRhdG' + 'FTdHJlYW0uQ2h1bmtIAFILc3RyZWFtQ2h1bmsSRAoOc3RyZWFtX3RyYWlsZXIYCSABKAsyGy5s' + 'aXZla2l0LkRhdGFTdHJlYW0uVHJhaWxlckgAUg1zdHJlYW1UcmFpbGVyQgcKBXZhbHVl'); @$core.Deprecated('Use activeSpeakerUpdateDescriptor instead') const ActiveSpeakerUpdate$json = { '1': 'ActiveSpeakerUpdate', '2': [ - {'1': 'speakers', '3': 1, '4': 3, '5': 11, '6': '.livekit.SpeakerInfo', '10': 'speakers'}, + { + '1': 'speakers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.SpeakerInfo', + '10': 'speakers' + }, ], '7': {'3': true}, }; /// Descriptor for `ActiveSpeakerUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List activeSpeakerUpdateDescriptor = - $convert.base64Decode('ChNBY3RpdmVTcGVha2VyVXBkYXRlEjAKCHNwZWFrZXJzGAEgAygLMhQubGl2ZWtpdC5TcGVha2' - 'VySW5mb1IIc3BlYWtlcnM6AhgB'); +final $typed_data.Uint8List activeSpeakerUpdateDescriptor = $convert.base64Decode( + 'ChNBY3RpdmVTcGVha2VyVXBkYXRlEjAKCHNwZWFrZXJzGAEgAygLMhQubGl2ZWtpdC5TcGVha2' + 'VySW5mb1IIc3BlYWtlcnM6AhgB'); @$core.Deprecated('Use speakerInfoDescriptor instead') const SpeakerInfo$json = { @@ -808,9 +1227,9 @@ const SpeakerInfo$json = { }; /// Descriptor for `SpeakerInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List speakerInfoDescriptor = - $convert.base64Decode('CgtTcGVha2VySW5mbxIQCgNzaWQYASABKAlSA3NpZBIUCgVsZXZlbBgCIAEoAlIFbGV2ZWwSFg' - 'oGYWN0aXZlGAMgASgIUgZhY3RpdmU='); +final $typed_data.Uint8List speakerInfoDescriptor = $convert.base64Decode( + 'CgtTcGVha2VySW5mbxIQCgNzaWQYASABKAlSA3NpZBIUCgVsZXZlbBgCIAEoAlIFbGV2ZWwSFg' + 'oGYWN0aXZlGAMgASgIUgZhY3RpdmU='); @$core.Deprecated('Use userPacketDescriptor instead') const UserPacket$json = { @@ -851,8 +1270,24 @@ const UserPacket$json = { }, {'1': 'topic', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'topic', '17': true}, {'1': 'id', '3': 8, '4': 1, '5': 9, '9': 1, '10': 'id', '17': true}, - {'1': 'start_time', '3': 9, '4': 1, '5': 4, '9': 2, '10': 'startTime', '17': true}, - {'1': 'end_time', '3': 10, '4': 1, '5': 4, '9': 3, '10': 'endTime', '17': true}, + { + '1': 'start_time', + '3': 9, + '4': 1, + '5': 4, + '9': 2, + '10': 'startTime', + '17': true + }, + { + '1': 'end_time', + '3': 10, + '4': 1, + '5': 4, + '9': 3, + '10': 'endTime', + '17': true + }, {'1': 'nonce', '3': 11, '4': 1, '5': 12, '10': 'nonce'}, ], '8': [ @@ -864,15 +1299,15 @@ const UserPacket$json = { }; /// Descriptor for `UserPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List userPacketDescriptor = - $convert.base64Decode('CgpVc2VyUGFja2V0EisKD3BhcnRpY2lwYW50X3NpZBgBIAEoCUICGAFSDnBhcnRpY2lwYW50U2' - 'lkEjUKFHBhcnRpY2lwYW50X2lkZW50aXR5GAUgASgJQgIYAVITcGFydGljaXBhbnRJZGVudGl0' - 'eRIYCgdwYXlsb2FkGAIgASgMUgdwYXlsb2FkEi0KEGRlc3RpbmF0aW9uX3NpZHMYAyADKAlCAh' - 'gBUg9kZXN0aW5hdGlvblNpZHMSOQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgGIAMoCUICGAFS' - 'FWRlc3RpbmF0aW9uSWRlbnRpdGllcxIZCgV0b3BpYxgEIAEoCUgAUgV0b3BpY4gBARITCgJpZB' - 'gIIAEoCUgBUgJpZIgBARIiCgpzdGFydF90aW1lGAkgASgESAJSCXN0YXJ0VGltZYgBARIeCghl' - 'bmRfdGltZRgKIAEoBEgDUgdlbmRUaW1liAEBEhQKBW5vbmNlGAsgASgMUgVub25jZUIICgZfdG' - '9waWNCBQoDX2lkQg0KC19zdGFydF90aW1lQgsKCV9lbmRfdGltZQ=='); +final $typed_data.Uint8List userPacketDescriptor = $convert.base64Decode( + 'CgpVc2VyUGFja2V0EisKD3BhcnRpY2lwYW50X3NpZBgBIAEoCUICGAFSDnBhcnRpY2lwYW50U2' + 'lkEjUKFHBhcnRpY2lwYW50X2lkZW50aXR5GAUgASgJQgIYAVITcGFydGljaXBhbnRJZGVudGl0' + 'eRIYCgdwYXlsb2FkGAIgASgMUgdwYXlsb2FkEi0KEGRlc3RpbmF0aW9uX3NpZHMYAyADKAlCAh' + 'gBUg9kZXN0aW5hdGlvblNpZHMSOQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgGIAMoCUICGAFS' + 'FWRlc3RpbmF0aW9uSWRlbnRpdGllcxIZCgV0b3BpYxgEIAEoCUgAUgV0b3BpY4gBARITCgJpZB' + 'gIIAEoCUgBUgJpZIgBARIiCgpzdGFydF90aW1lGAkgASgESAJSCXN0YXJ0VGltZYgBARIeCghl' + 'bmRfdGltZRgKIAEoBEgDUgdlbmRUaW1liAEBEhQKBW5vbmNlGAsgASgMUgVub25jZUIICgZfdG' + '9waWNCBQoDX2lkQg0KC19zdGFydF90aW1lQgsKCV9lbmRfdGltZQ=='); @$core.Deprecated('Use sipDTMFDescriptor instead') const SipDTMF$json = { @@ -884,25 +1319,38 @@ const SipDTMF$json = { }; /// Descriptor for `SipDTMF`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sipDTMFDescriptor = - $convert.base64Decode('CgdTaXBEVE1GEhIKBGNvZGUYAyABKA1SBGNvZGUSFAoFZGlnaXQYBCABKAlSBWRpZ2l0'); +final $typed_data.Uint8List sipDTMFDescriptor = $convert.base64Decode( + 'CgdTaXBEVE1GEhIKBGNvZGUYAyABKA1SBGNvZGUSFAoFZGlnaXQYBCABKAlSBWRpZ2l0'); @$core.Deprecated('Use transcriptionDescriptor instead') const Transcription$json = { '1': 'Transcription', '2': [ - {'1': 'transcribed_participant_identity', '3': 2, '4': 1, '5': 9, '10': 'transcribedParticipantIdentity'}, + { + '1': 'transcribed_participant_identity', + '3': 2, + '4': 1, + '5': 9, + '10': 'transcribedParticipantIdentity' + }, {'1': 'track_id', '3': 3, '4': 1, '5': 9, '10': 'trackId'}, - {'1': 'segments', '3': 4, '4': 3, '5': 11, '6': '.livekit.TranscriptionSegment', '10': 'segments'}, + { + '1': 'segments', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.TranscriptionSegment', + '10': 'segments' + }, ], }; /// Descriptor for `Transcription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transcriptionDescriptor = - $convert.base64Decode('Cg1UcmFuc2NyaXB0aW9uEkgKIHRyYW5zY3JpYmVkX3BhcnRpY2lwYW50X2lkZW50aXR5GAIgAS' - 'gJUh50cmFuc2NyaWJlZFBhcnRpY2lwYW50SWRlbnRpdHkSGQoIdHJhY2tfaWQYAyABKAlSB3Ry' - 'YWNrSWQSOQoIc2VnbWVudHMYBCADKAsyHS5saXZla2l0LlRyYW5zY3JpcHRpb25TZWdtZW50Ug' - 'hzZWdtZW50cw=='); +final $typed_data.Uint8List transcriptionDescriptor = $convert.base64Decode( + 'Cg1UcmFuc2NyaXB0aW9uEkgKIHRyYW5zY3JpYmVkX3BhcnRpY2lwYW50X2lkZW50aXR5GAIgAS' + 'gJUh50cmFuc2NyaWJlZFBhcnRpY2lwYW50SWRlbnRpdHkSGQoIdHJhY2tfaWQYAyABKAlSB3Ry' + 'YWNrSWQSOQoIc2VnbWVudHMYBCADKAsyHS5saXZla2l0LlRyYW5zY3JpcHRpb25TZWdtZW50Ug' + 'hzZWdtZW50cw=='); @$core.Deprecated('Use transcriptionSegmentDescriptor instead') const TranscriptionSegment$json = { @@ -918,11 +1366,11 @@ const TranscriptionSegment$json = { }; /// Descriptor for `TranscriptionSegment`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transcriptionSegmentDescriptor = - $convert.base64Decode('ChRUcmFuc2NyaXB0aW9uU2VnbWVudBIOCgJpZBgBIAEoCVICaWQSEgoEdGV4dBgCIAEoCVIEdG' - 'V4dBIdCgpzdGFydF90aW1lGAMgASgEUglzdGFydFRpbWUSGQoIZW5kX3RpbWUYBCABKARSB2Vu' - 'ZFRpbWUSFAoFZmluYWwYBSABKAhSBWZpbmFsEhoKCGxhbmd1YWdlGAYgASgJUghsYW5ndWFnZQ' - '=='); +final $typed_data.Uint8List transcriptionSegmentDescriptor = $convert.base64Decode( + 'ChRUcmFuc2NyaXB0aW9uU2VnbWVudBIOCgJpZBgBIAEoCVICaWQSEgoEdGV4dBgCIAEoCVIEdG' + 'V4dBIdCgpzdGFydF90aW1lGAMgASgEUglzdGFydFRpbWUSGQoIZW5kX3RpbWUYBCABKARSB2Vu' + 'ZFRpbWUSFAoFZmluYWwYBSABKAhSBWZpbmFsEhoKCGxhbmd1YWdlGAYgASgJUghsYW5ndWFnZQ' + '=='); @$core.Deprecated('Use chatMessageDescriptor instead') const ChatMessage$json = { @@ -930,7 +1378,15 @@ const ChatMessage$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, - {'1': 'edit_timestamp', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'editTimestamp', '17': true}, + { + '1': 'edit_timestamp', + '3': 3, + '4': 1, + '5': 3, + '9': 0, + '10': 'editTimestamp', + '17': true + }, {'1': 'message', '3': 4, '4': 1, '5': 9, '10': 'message'}, {'1': 'deleted', '3': 5, '4': 1, '5': 8, '10': 'deleted'}, {'1': 'generated', '3': 6, '4': 1, '5': 8, '10': 'generated'}, @@ -941,11 +1397,11 @@ const ChatMessage$json = { }; /// Descriptor for `ChatMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List chatMessageDescriptor = - $convert.base64Decode('CgtDaGF0TWVzc2FnZRIOCgJpZBgBIAEoCVICaWQSHAoJdGltZXN0YW1wGAIgASgDUgl0aW1lc3' - 'RhbXASKgoOZWRpdF90aW1lc3RhbXAYAyABKANIAFINZWRpdFRpbWVzdGFtcIgBARIYCgdtZXNz' - 'YWdlGAQgASgJUgdtZXNzYWdlEhgKB2RlbGV0ZWQYBSABKAhSB2RlbGV0ZWQSHAoJZ2VuZXJhdG' - 'VkGAYgASgIUglnZW5lcmF0ZWRCEQoPX2VkaXRfdGltZXN0YW1w'); +final $typed_data.Uint8List chatMessageDescriptor = $convert.base64Decode( + 'CgtDaGF0TWVzc2FnZRIOCgJpZBgBIAEoCVICaWQSHAoJdGltZXN0YW1wGAIgASgDUgl0aW1lc3' + 'RhbXASKgoOZWRpdF90aW1lc3RhbXAYAyABKANIAFINZWRpdFRpbWVzdGFtcIgBARIYCgdtZXNz' + 'YWdlGAQgASgJUgdtZXNzYWdlEhgKB2RlbGV0ZWQYBSABKAhSB2RlbGV0ZWQSHAoJZ2VuZXJhdG' + 'VkGAYgASgIUglnZW5lcmF0ZWRCEQoPX2VkaXRfdGltZXN0YW1w'); @$core.Deprecated('Use rpcRequestDescriptor instead') const RpcRequest$json = { @@ -954,16 +1410,22 @@ const RpcRequest$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'method', '3': 2, '4': 1, '5': 9, '10': 'method'}, {'1': 'payload', '3': 3, '4': 1, '5': 9, '10': 'payload'}, - {'1': 'response_timeout_ms', '3': 4, '4': 1, '5': 13, '10': 'responseTimeoutMs'}, + { + '1': 'response_timeout_ms', + '3': 4, + '4': 1, + '5': 13, + '10': 'responseTimeoutMs' + }, {'1': 'version', '3': 5, '4': 1, '5': 13, '10': 'version'}, ], }; /// Descriptor for `RpcRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcRequestDescriptor = - $convert.base64Decode('CgpScGNSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZBIYCg' - 'dwYXlsb2FkGAMgASgJUgdwYXlsb2FkEi4KE3Jlc3BvbnNlX3RpbWVvdXRfbXMYBCABKA1SEXJl' - 'c3BvbnNlVGltZW91dE1zEhgKB3ZlcnNpb24YBSABKA1SB3ZlcnNpb24='); +final $typed_data.Uint8List rpcRequestDescriptor = $convert.base64Decode( + 'CgpScGNSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZBIYCg' + 'dwYXlsb2FkGAMgASgJUgdwYXlsb2FkEi4KE3Jlc3BvbnNlX3RpbWVvdXRfbXMYBCABKA1SEXJl' + 'c3BvbnNlVGltZW91dE1zEhgKB3ZlcnNpb24YBSABKA1SB3ZlcnNpb24='); @$core.Deprecated('Use rpcAckDescriptor instead') const RpcAck$json = { @@ -974,8 +1436,8 @@ const RpcAck$json = { }; /// Descriptor for `RpcAck`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcAckDescriptor = - $convert.base64Decode('CgZScGNBY2sSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElk'); +final $typed_data.Uint8List rpcAckDescriptor = $convert + .base64Decode('CgZScGNBY2sSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElk'); @$core.Deprecated('Use rpcResponseDescriptor instead') const RpcResponse$json = { @@ -983,7 +1445,15 @@ const RpcResponse$json = { '2': [ {'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'}, {'1': 'payload', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'payload'}, - {'1': 'error', '3': 3, '4': 1, '5': 11, '6': '.livekit.RpcError', '9': 0, '10': 'error'}, + { + '1': 'error', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.RpcError', + '9': 0, + '10': 'error' + }, ], '8': [ {'1': 'value'}, @@ -991,10 +1461,10 @@ const RpcResponse$json = { }; /// Descriptor for `RpcResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcResponseDescriptor = - $convert.base64Decode('CgtScGNSZXNwb25zZRIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSGgoHcGF5bG9hZB' - 'gCIAEoCUgAUgdwYXlsb2FkEikKBWVycm9yGAMgASgLMhEubGl2ZWtpdC5ScGNFcnJvckgAUgVl' - 'cnJvckIHCgV2YWx1ZQ=='); +final $typed_data.Uint8List rpcResponseDescriptor = $convert.base64Decode( + 'CgtScGNSZXNwb25zZRIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSGgoHcGF5bG9hZB' + 'gCIAEoCUgAUgdwYXlsb2FkEikKBWVycm9yGAMgASgLMhEubGl2ZWtpdC5ScGNFcnJvckgAUgVl' + 'cnJvckIHCgV2YWx1ZQ=='); @$core.Deprecated('Use rpcErrorDescriptor instead') const RpcError$json = { @@ -1007,9 +1477,9 @@ const RpcError$json = { }; /// Descriptor for `RpcError`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcErrorDescriptor = - $convert.base64Decode('CghScGNFcnJvchISCgRjb2RlGAEgASgNUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2' - 'USEgoEZGF0YRgDIAEoCVIEZGF0YQ=='); +final $typed_data.Uint8List rpcErrorDescriptor = $convert.base64Decode( + 'CghScGNFcnJvchISCgRjb2RlGAEgASgNUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2' + 'USEgoEZGF0YRgDIAEoCVIEZGF0YQ=='); @$core.Deprecated('Use participantTracksDescriptor instead') const ParticipantTracks$json = { @@ -1021,15 +1491,22 @@ const ParticipantTracks$json = { }; /// Descriptor for `ParticipantTracks`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantTracksDescriptor = - $convert.base64Decode('ChFQYXJ0aWNpcGFudFRyYWNrcxInCg9wYXJ0aWNpcGFudF9zaWQYASABKAlSDnBhcnRpY2lwYW' - '50U2lkEh0KCnRyYWNrX3NpZHMYAiADKAlSCXRyYWNrU2lkcw=='); +final $typed_data.Uint8List participantTracksDescriptor = $convert.base64Decode( + 'ChFQYXJ0aWNpcGFudFRyYWNrcxInCg9wYXJ0aWNpcGFudF9zaWQYASABKAlSDnBhcnRpY2lwYW' + '50U2lkEh0KCnRyYWNrX3NpZHMYAiADKAlSCXRyYWNrU2lkcw=='); @$core.Deprecated('Use serverInfoDescriptor instead') const ServerInfo$json = { '1': 'ServerInfo', '2': [ - {'1': 'edition', '3': 1, '4': 1, '5': 14, '6': '.livekit.ServerInfo.Edition', '10': 'edition'}, + { + '1': 'edition', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.ServerInfo.Edition', + '10': 'edition' + }, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'protocol', '3': 3, '4': 1, '5': 5, '10': 'protocol'}, {'1': 'region', '3': 4, '4': 1, '5': 9, '10': 'region'}, @@ -1050,18 +1527,25 @@ const ServerInfo_Edition$json = { }; /// Descriptor for `ServerInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serverInfoDescriptor = - $convert.base64Decode('CgpTZXJ2ZXJJbmZvEjUKB2VkaXRpb24YASABKA4yGy5saXZla2l0LlNlcnZlckluZm8uRWRpdG' - 'lvblIHZWRpdGlvbhIYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgF' - 'Ughwcm90b2NvbBIWCgZyZWdpb24YBCABKAlSBnJlZ2lvbhIXCgdub2RlX2lkGAUgASgJUgZub2' - 'RlSWQSHQoKZGVidWdfaW5mbxgGIAEoCVIJZGVidWdJbmZvEiUKDmFnZW50X3Byb3RvY29sGAcg' - 'ASgFUg1hZ2VudFByb3RvY29sIiIKB0VkaXRpb24SDAoIU3RhbmRhcmQQABIJCgVDbG91ZBAB'); +final $typed_data.Uint8List serverInfoDescriptor = $convert.base64Decode( + 'CgpTZXJ2ZXJJbmZvEjUKB2VkaXRpb24YASABKA4yGy5saXZla2l0LlNlcnZlckluZm8uRWRpdG' + 'lvblIHZWRpdGlvbhIYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgF' + 'Ughwcm90b2NvbBIWCgZyZWdpb24YBCABKAlSBnJlZ2lvbhIXCgdub2RlX2lkGAUgASgJUgZub2' + 'RlSWQSHQoKZGVidWdfaW5mbxgGIAEoCVIJZGVidWdJbmZvEiUKDmFnZW50X3Byb3RvY29sGAcg' + 'ASgFUg1hZ2VudFByb3RvY29sIiIKB0VkaXRpb24SDAoIU3RhbmRhcmQQABIJCgVDbG91ZBAB'); @$core.Deprecated('Use clientInfoDescriptor instead') const ClientInfo$json = { '1': 'ClientInfo', '2': [ - {'1': 'sdk', '3': 1, '4': 1, '5': 14, '6': '.livekit.ClientInfo.SDK', '10': 'sdk'}, + { + '1': 'sdk', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.ClientInfo.SDK', + '10': 'sdk' + }, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'protocol', '3': 3, '4': 1, '5': 5, '10': 'protocol'}, {'1': 'os', '3': 4, '4': 1, '5': 9, '10': 'os'}, @@ -1099,72 +1583,142 @@ const ClientInfo_SDK$json = { }; /// Descriptor for `ClientInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientInfoDescriptor = - $convert.base64Decode('CgpDbGllbnRJbmZvEikKA3NkaxgBIAEoDjIXLmxpdmVraXQuQ2xpZW50SW5mby5TREtSA3Nkax' - 'IYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgFUghwcm90b2NvbBIO' - 'CgJvcxgEIAEoCVICb3MSHQoKb3NfdmVyc2lvbhgFIAEoCVIJb3NWZXJzaW9uEiEKDGRldmljZV' - '9tb2RlbBgGIAEoCVILZGV2aWNlTW9kZWwSGAoHYnJvd3NlchgHIAEoCVIHYnJvd3NlchInCg9i' - 'cm93c2VyX3ZlcnNpb24YCCABKAlSDmJyb3dzZXJWZXJzaW9uEhgKB2FkZHJlc3MYCSABKAlSB2' - 'FkZHJlc3MSGAoHbmV0d29yaxgKIAEoCVIHbmV0d29yaxIdCgpvdGhlcl9zZGtzGAsgASgJUglv' - 'dGhlclNka3MiswEKA1NESxILCgdVTktOT1dOEAASBgoCSlMQARIJCgVTV0lGVBACEgsKB0FORF' - 'JPSUQQAxILCgdGTFVUVEVSEAQSBgoCR08QBRIJCgVVTklUWRAGEhAKDFJFQUNUX05BVElWRRAH' - 'EggKBFJVU1QQCBIKCgZQWVRIT04QCRIHCgNDUFAQChINCglVTklUWV9XRUIQCxIICgROT0RFEA' - 'wSCgoGVU5SRUFMEA0SCQoFRVNQMzIQDg=='); +final $typed_data.Uint8List clientInfoDescriptor = $convert.base64Decode( + 'CgpDbGllbnRJbmZvEikKA3NkaxgBIAEoDjIXLmxpdmVraXQuQ2xpZW50SW5mby5TREtSA3Nkax' + 'IYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgFUghwcm90b2NvbBIO' + 'CgJvcxgEIAEoCVICb3MSHQoKb3NfdmVyc2lvbhgFIAEoCVIJb3NWZXJzaW9uEiEKDGRldmljZV' + '9tb2RlbBgGIAEoCVILZGV2aWNlTW9kZWwSGAoHYnJvd3NlchgHIAEoCVIHYnJvd3NlchInCg9i' + 'cm93c2VyX3ZlcnNpb24YCCABKAlSDmJyb3dzZXJWZXJzaW9uEhgKB2FkZHJlc3MYCSABKAlSB2' + 'FkZHJlc3MSGAoHbmV0d29yaxgKIAEoCVIHbmV0d29yaxIdCgpvdGhlcl9zZGtzGAsgASgJUglv' + 'dGhlclNka3MiswEKA1NESxILCgdVTktOT1dOEAASBgoCSlMQARIJCgVTV0lGVBACEgsKB0FORF' + 'JPSUQQAxILCgdGTFVUVEVSEAQSBgoCR08QBRIJCgVVTklUWRAGEhAKDFJFQUNUX05BVElWRRAH' + 'EggKBFJVU1QQCBIKCgZQWVRIT04QCRIHCgNDUFAQChINCglVTklUWV9XRUIQCxIICgROT0RFEA' + 'wSCgoGVU5SRUFMEA0SCQoFRVNQMzIQDg=='); @$core.Deprecated('Use clientConfigurationDescriptor instead') const ClientConfiguration$json = { '1': 'ClientConfiguration', '2': [ - {'1': 'video', '3': 1, '4': 1, '5': 11, '6': '.livekit.VideoConfiguration', '10': 'video'}, - {'1': 'screen', '3': 2, '4': 1, '5': 11, '6': '.livekit.VideoConfiguration', '10': 'screen'}, - {'1': 'resume_connection', '3': 3, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'resumeConnection'}, - {'1': 'disabled_codecs', '3': 4, '4': 1, '5': 11, '6': '.livekit.DisabledCodecs', '10': 'disabledCodecs'}, - {'1': 'force_relay', '3': 5, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'forceRelay'}, + { + '1': 'video', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.VideoConfiguration', + '10': 'video' + }, + { + '1': 'screen', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.VideoConfiguration', + '10': 'screen' + }, + { + '1': 'resume_connection', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.ClientConfigSetting', + '10': 'resumeConnection' + }, + { + '1': 'disabled_codecs', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.DisabledCodecs', + '10': 'disabledCodecs' + }, + { + '1': 'force_relay', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.ClientConfigSetting', + '10': 'forceRelay' + }, ], }; /// Descriptor for `ClientConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientConfigurationDescriptor = - $convert.base64Decode('ChNDbGllbnRDb25maWd1cmF0aW9uEjEKBXZpZGVvGAEgASgLMhsubGl2ZWtpdC5WaWRlb0Nvbm' - 'ZpZ3VyYXRpb25SBXZpZGVvEjMKBnNjcmVlbhgCIAEoCzIbLmxpdmVraXQuVmlkZW9Db25maWd1' - 'cmF0aW9uUgZzY3JlZW4SSQoRcmVzdW1lX2Nvbm5lY3Rpb24YAyABKA4yHC5saXZla2l0LkNsaW' - 'VudENvbmZpZ1NldHRpbmdSEHJlc3VtZUNvbm5lY3Rpb24SQAoPZGlzYWJsZWRfY29kZWNzGAQg' - 'ASgLMhcubGl2ZWtpdC5EaXNhYmxlZENvZGVjc1IOZGlzYWJsZWRDb2RlY3MSPQoLZm9yY2Vfcm' - 'VsYXkYBSABKA4yHC5saXZla2l0LkNsaWVudENvbmZpZ1NldHRpbmdSCmZvcmNlUmVsYXk='); +final $typed_data.Uint8List clientConfigurationDescriptor = $convert.base64Decode( + 'ChNDbGllbnRDb25maWd1cmF0aW9uEjEKBXZpZGVvGAEgASgLMhsubGl2ZWtpdC5WaWRlb0Nvbm' + 'ZpZ3VyYXRpb25SBXZpZGVvEjMKBnNjcmVlbhgCIAEoCzIbLmxpdmVraXQuVmlkZW9Db25maWd1' + 'cmF0aW9uUgZzY3JlZW4SSQoRcmVzdW1lX2Nvbm5lY3Rpb24YAyABKA4yHC5saXZla2l0LkNsaW' + 'VudENvbmZpZ1NldHRpbmdSEHJlc3VtZUNvbm5lY3Rpb24SQAoPZGlzYWJsZWRfY29kZWNzGAQg' + 'ASgLMhcubGl2ZWtpdC5EaXNhYmxlZENvZGVjc1IOZGlzYWJsZWRDb2RlY3MSPQoLZm9yY2Vfcm' + 'VsYXkYBSABKA4yHC5saXZla2l0LkNsaWVudENvbmZpZ1NldHRpbmdSCmZvcmNlUmVsYXk='); @$core.Deprecated('Use videoConfigurationDescriptor instead') const VideoConfiguration$json = { '1': 'VideoConfiguration', '2': [ - {'1': 'hardware_encoder', '3': 1, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'hardwareEncoder'}, + { + '1': 'hardware_encoder', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.ClientConfigSetting', + '10': 'hardwareEncoder' + }, ], }; /// Descriptor for `VideoConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoConfigurationDescriptor = - $convert.base64Decode('ChJWaWRlb0NvbmZpZ3VyYXRpb24SRwoQaGFyZHdhcmVfZW5jb2RlchgBIAEoDjIcLmxpdmVraX' - 'QuQ2xpZW50Q29uZmlnU2V0dGluZ1IPaGFyZHdhcmVFbmNvZGVy'); +final $typed_data.Uint8List videoConfigurationDescriptor = $convert.base64Decode( + 'ChJWaWRlb0NvbmZpZ3VyYXRpb24SRwoQaGFyZHdhcmVfZW5jb2RlchgBIAEoDjIcLmxpdmVraX' + 'QuQ2xpZW50Q29uZmlnU2V0dGluZ1IPaGFyZHdhcmVFbmNvZGVy'); @$core.Deprecated('Use disabledCodecsDescriptor instead') const DisabledCodecs$json = { '1': 'DisabledCodecs', '2': [ - {'1': 'codecs', '3': 1, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'codecs'}, - {'1': 'publish', '3': 2, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'publish'}, + { + '1': 'codecs', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'codecs' + }, + { + '1': 'publish', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'publish' + }, ], }; /// Descriptor for `DisabledCodecs`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disabledCodecsDescriptor = - $convert.base64Decode('Cg5EaXNhYmxlZENvZGVjcxImCgZjb2RlY3MYASADKAsyDi5saXZla2l0LkNvZGVjUgZjb2RlY3' - 'MSKAoHcHVibGlzaBgCIAMoCzIOLmxpdmVraXQuQ29kZWNSB3B1Ymxpc2g='); +final $typed_data.Uint8List disabledCodecsDescriptor = $convert.base64Decode( + 'Cg5EaXNhYmxlZENvZGVjcxImCgZjb2RlY3MYASADKAsyDi5saXZla2l0LkNvZGVjUgZjb2RlY3' + 'MSKAoHcHVibGlzaBgCIAMoCzIOLmxpdmVraXQuQ29kZWNSB3B1Ymxpc2g='); @$core.Deprecated('Use rTPDriftDescriptor instead') const RTPDrift$json = { '1': 'RTPDrift', '2': [ - {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, + { + '1': 'start_time', + '3': 1, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'startTime' + }, + { + '1': 'end_time', + '3': 2, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'endTime' + }, {'1': 'duration', '3': 3, '4': 1, '5': 1, '10': 'duration'}, {'1': 'start_timestamp', '3': 4, '4': 1, '5': 4, '10': 'startTimestamp'}, {'1': 'end_timestamp', '3': 5, '4': 1, '5': 4, '10': 'endTimestamp'}, @@ -1176,21 +1730,35 @@ const RTPDrift$json = { }; /// Descriptor for `RTPDrift`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPDriftDescriptor = - $convert.base64Decode('CghSVFBEcmlmdBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SJwoPc3RhcnRfdGltZX' - 'N0YW1wGAQgASgEUg5zdGFydFRpbWVzdGFtcBIjCg1lbmRfdGltZXN0YW1wGAUgASgEUgxlbmRU' - 'aW1lc3RhbXASJgoPcnRwX2Nsb2NrX3RpY2tzGAYgASgEUg1ydHBDbG9ja1RpY2tzEiMKDWRyaW' - 'Z0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' - 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); +final $typed_data.Uint8List rTPDriftDescriptor = $convert.base64Decode( + 'CghSVFBEcmlmdBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' + 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' + 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SJwoPc3RhcnRfdGltZX' + 'N0YW1wGAQgASgEUg5zdGFydFRpbWVzdGFtcBIjCg1lbmRfdGltZXN0YW1wGAUgASgEUgxlbmRU' + 'aW1lc3RhbXASJgoPcnRwX2Nsb2NrX3RpY2tzGAYgASgEUg1ydHBDbG9ja1RpY2tzEiMKDWRyaW' + 'Z0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' + 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); @$core.Deprecated('Use rTPStatsDescriptor instead') const RTPStats$json = { '1': 'RTPStats', '2': [ - {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, + { + '1': 'start_time', + '3': 1, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'startTime' + }, + { + '1': 'end_time', + '3': 2, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'endTime' + }, {'1': 'duration', '3': 3, '4': 1, '5': 1, '10': 'duration'}, {'1': 'packets', '3': 4, '4': 1, '5': 13, '10': 'packets'}, {'1': 'packet_rate', '3': 5, '4': 1, '5': 1, '10': 'packetRate'}, @@ -1199,41 +1767,152 @@ const RTPStats$json = { {'1': 'bitrate', '3': 7, '4': 1, '5': 1, '10': 'bitrate'}, {'1': 'packets_lost', '3': 8, '4': 1, '5': 13, '10': 'packetsLost'}, {'1': 'packet_loss_rate', '3': 9, '4': 1, '5': 1, '10': 'packetLossRate'}, - {'1': 'packet_loss_percentage', '3': 10, '4': 1, '5': 2, '10': 'packetLossPercentage'}, - {'1': 'packets_duplicate', '3': 11, '4': 1, '5': 13, '10': 'packetsDuplicate'}, - {'1': 'packet_duplicate_rate', '3': 12, '4': 1, '5': 1, '10': 'packetDuplicateRate'}, + { + '1': 'packet_loss_percentage', + '3': 10, + '4': 1, + '5': 2, + '10': 'packetLossPercentage' + }, + { + '1': 'packets_duplicate', + '3': 11, + '4': 1, + '5': 13, + '10': 'packetsDuplicate' + }, + { + '1': 'packet_duplicate_rate', + '3': 12, + '4': 1, + '5': 1, + '10': 'packetDuplicateRate' + }, {'1': 'bytes_duplicate', '3': 13, '4': 1, '5': 4, '10': 'bytesDuplicate'}, - {'1': 'header_bytes_duplicate', '3': 40, '4': 1, '5': 4, '10': 'headerBytesDuplicate'}, - {'1': 'bitrate_duplicate', '3': 14, '4': 1, '5': 1, '10': 'bitrateDuplicate'}, + { + '1': 'header_bytes_duplicate', + '3': 40, + '4': 1, + '5': 4, + '10': 'headerBytesDuplicate' + }, + { + '1': 'bitrate_duplicate', + '3': 14, + '4': 1, + '5': 1, + '10': 'bitrateDuplicate' + }, {'1': 'packets_padding', '3': 15, '4': 1, '5': 13, '10': 'packetsPadding'}, - {'1': 'packet_padding_rate', '3': 16, '4': 1, '5': 1, '10': 'packetPaddingRate'}, + { + '1': 'packet_padding_rate', + '3': 16, + '4': 1, + '5': 1, + '10': 'packetPaddingRate' + }, {'1': 'bytes_padding', '3': 17, '4': 1, '5': 4, '10': 'bytesPadding'}, - {'1': 'header_bytes_padding', '3': 41, '4': 1, '5': 4, '10': 'headerBytesPadding'}, + { + '1': 'header_bytes_padding', + '3': 41, + '4': 1, + '5': 4, + '10': 'headerBytesPadding' + }, {'1': 'bitrate_padding', '3': 18, '4': 1, '5': 1, '10': 'bitratePadding'}, - {'1': 'packets_out_of_order', '3': 19, '4': 1, '5': 13, '10': 'packetsOutOfOrder'}, + { + '1': 'packets_out_of_order', + '3': 19, + '4': 1, + '5': 13, + '10': 'packetsOutOfOrder' + }, {'1': 'frames', '3': 20, '4': 1, '5': 13, '10': 'frames'}, {'1': 'frame_rate', '3': 21, '4': 1, '5': 1, '10': 'frameRate'}, {'1': 'jitter_current', '3': 22, '4': 1, '5': 1, '10': 'jitterCurrent'}, {'1': 'jitter_max', '3': 23, '4': 1, '5': 1, '10': 'jitterMax'}, - {'1': 'gap_histogram', '3': 24, '4': 3, '5': 11, '6': '.livekit.RTPStats.GapHistogramEntry', '10': 'gapHistogram'}, + { + '1': 'gap_histogram', + '3': 24, + '4': 3, + '5': 11, + '6': '.livekit.RTPStats.GapHistogramEntry', + '10': 'gapHistogram' + }, {'1': 'nacks', '3': 25, '4': 1, '5': 13, '10': 'nacks'}, {'1': 'nack_acks', '3': 37, '4': 1, '5': 13, '10': 'nackAcks'}, {'1': 'nack_misses', '3': 26, '4': 1, '5': 13, '10': 'nackMisses'}, {'1': 'nack_repeated', '3': 38, '4': 1, '5': 13, '10': 'nackRepeated'}, {'1': 'plis', '3': 27, '4': 1, '5': 13, '10': 'plis'}, - {'1': 'last_pli', '3': 28, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastPli'}, + { + '1': 'last_pli', + '3': 28, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastPli' + }, {'1': 'firs', '3': 29, '4': 1, '5': 13, '10': 'firs'}, - {'1': 'last_fir', '3': 30, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastFir'}, + { + '1': 'last_fir', + '3': 30, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastFir' + }, {'1': 'rtt_current', '3': 31, '4': 1, '5': 13, '10': 'rttCurrent'}, {'1': 'rtt_max', '3': 32, '4': 1, '5': 13, '10': 'rttMax'}, {'1': 'key_frames', '3': 33, '4': 1, '5': 13, '10': 'keyFrames'}, - {'1': 'last_key_frame', '3': 34, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastKeyFrame'}, + { + '1': 'last_key_frame', + '3': 34, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastKeyFrame' + }, {'1': 'layer_lock_plis', '3': 35, '4': 1, '5': 13, '10': 'layerLockPlis'}, - {'1': 'last_layer_lock_pli', '3': 36, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastLayerLockPli'}, - {'1': 'packet_drift', '3': 44, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'packetDrift'}, - {'1': 'ntp_report_drift', '3': 45, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'ntpReportDrift'}, - {'1': 'rebased_report_drift', '3': 46, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'rebasedReportDrift'}, - {'1': 'received_report_drift', '3': 47, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'receivedReportDrift'}, + { + '1': 'last_layer_lock_pli', + '3': 36, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastLayerLockPli' + }, + { + '1': 'packet_drift', + '3': 44, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'packetDrift' + }, + { + '1': 'ntp_report_drift', + '3': 45, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'ntpReportDrift' + }, + { + '1': 'rebased_report_drift', + '3': 46, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'rebasedReportDrift' + }, + { + '1': 'received_report_drift', + '3': 47, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'receivedReportDrift' + }, ], '3': [RTPStats_GapHistogramEntry$json], }; @@ -1249,43 +1928,43 @@ const RTPStats_GapHistogramEntry$json = { }; /// Descriptor for `RTPStats`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPStatsDescriptor = - $convert.base64Decode('CghSVFBTdGF0cxI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SGAoHcGFja2V0cxgEIA' - 'EoDVIHcGFja2V0cxIfCgtwYWNrZXRfcmF0ZRgFIAEoAVIKcGFja2V0UmF0ZRIUCgVieXRlcxgG' - 'IAEoBFIFYnl0ZXMSIQoMaGVhZGVyX2J5dGVzGCcgASgEUgtoZWFkZXJCeXRlcxIYCgdiaXRyYX' - 'RlGAcgASgBUgdiaXRyYXRlEiEKDHBhY2tldHNfbG9zdBgIIAEoDVILcGFja2V0c0xvc3QSKAoQ' - 'cGFja2V0X2xvc3NfcmF0ZRgJIAEoAVIOcGFja2V0TG9zc1JhdGUSNAoWcGFja2V0X2xvc3NfcG' - 'VyY2VudGFnZRgKIAEoAlIUcGFja2V0TG9zc1BlcmNlbnRhZ2USKwoRcGFja2V0c19kdXBsaWNh' - 'dGUYCyABKA1SEHBhY2tldHNEdXBsaWNhdGUSMgoVcGFja2V0X2R1cGxpY2F0ZV9yYXRlGAwgAS' - 'gBUhNwYWNrZXREdXBsaWNhdGVSYXRlEicKD2J5dGVzX2R1cGxpY2F0ZRgNIAEoBFIOYnl0ZXNE' - 'dXBsaWNhdGUSNAoWaGVhZGVyX2J5dGVzX2R1cGxpY2F0ZRgoIAEoBFIUaGVhZGVyQnl0ZXNEdX' - 'BsaWNhdGUSKwoRYml0cmF0ZV9kdXBsaWNhdGUYDiABKAFSEGJpdHJhdGVEdXBsaWNhdGUSJwoP' - 'cGFja2V0c19wYWRkaW5nGA8gASgNUg5wYWNrZXRzUGFkZGluZxIuChNwYWNrZXRfcGFkZGluZ1' - '9yYXRlGBAgASgBUhFwYWNrZXRQYWRkaW5nUmF0ZRIjCg1ieXRlc19wYWRkaW5nGBEgASgEUgxi' - 'eXRlc1BhZGRpbmcSMAoUaGVhZGVyX2J5dGVzX3BhZGRpbmcYKSABKARSEmhlYWRlckJ5dGVzUG' - 'FkZGluZxInCg9iaXRyYXRlX3BhZGRpbmcYEiABKAFSDmJpdHJhdGVQYWRkaW5nEi8KFHBhY2tl' - 'dHNfb3V0X29mX29yZGVyGBMgASgNUhFwYWNrZXRzT3V0T2ZPcmRlchIWCgZmcmFtZXMYFCABKA' - '1SBmZyYW1lcxIdCgpmcmFtZV9yYXRlGBUgASgBUglmcmFtZVJhdGUSJQoOaml0dGVyX2N1cnJl' - 'bnQYFiABKAFSDWppdHRlckN1cnJlbnQSHQoKaml0dGVyX21heBgXIAEoAVIJaml0dGVyTWF4Ek' - 'gKDWdhcF9oaXN0b2dyYW0YGCADKAsyIy5saXZla2l0LlJUUFN0YXRzLkdhcEhpc3RvZ3JhbUVu' - 'dHJ5UgxnYXBIaXN0b2dyYW0SFAoFbmFja3MYGSABKA1SBW5hY2tzEhsKCW5hY2tfYWNrcxglIA' - 'EoDVIIbmFja0Fja3MSHwoLbmFja19taXNzZXMYGiABKA1SCm5hY2tNaXNzZXMSIwoNbmFja19y' - 'ZXBlYXRlZBgmIAEoDVIMbmFja1JlcGVhdGVkEhIKBHBsaXMYGyABKA1SBHBsaXMSNQoIbGFzdF' - '9wbGkYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdsYXN0UGxpEhIKBGZpcnMY' - 'HSABKA1SBGZpcnMSNQoIbGFzdF9maXIYHiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW' - '1wUgdsYXN0RmlyEh8KC3J0dF9jdXJyZW50GB8gASgNUgpydHRDdXJyZW50EhcKB3J0dF9tYXgY' - 'ICABKA1SBnJ0dE1heBIdCgprZXlfZnJhbWVzGCEgASgNUglrZXlGcmFtZXMSQAoObGFzdF9rZX' - 'lfZnJhbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgxsYXN0S2V5RnJhbWUS' - 'JgoPbGF5ZXJfbG9ja19wbGlzGCMgASgNUg1sYXllckxvY2tQbGlzEkkKE2xhc3RfbGF5ZXJfbG' - '9ja19wbGkYJCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYXN0TGF5ZXJMb2Nr' - 'UGxpEjQKDHBhY2tldF9kcmlmdBgsIAEoCzIRLmxpdmVraXQuUlRQRHJpZnRSC3BhY2tldERyaW' - 'Z0EjsKEG50cF9yZXBvcnRfZHJpZnQYLSABKAsyES5saXZla2l0LlJUUERyaWZ0Ug5udHBSZXBv' - 'cnREcmlmdBJDChRyZWJhc2VkX3JlcG9ydF9kcmlmdBguIAEoCzIRLmxpdmVraXQuUlRQRHJpZn' - 'RSEnJlYmFzZWRSZXBvcnREcmlmdBJFChVyZWNlaXZlZF9yZXBvcnRfZHJpZnQYLyABKAsyES5s' - 'aXZla2l0LlJUUERyaWZ0UhNyZWNlaXZlZFJlcG9ydERyaWZ0Gj8KEUdhcEhpc3RvZ3JhbUVudH' - 'J5EhAKA2tleRgBIAEoBVIDa2V5EhQKBXZhbHVlGAIgASgNUgV2YWx1ZToCOAE='); +final $typed_data.Uint8List rTPStatsDescriptor = $convert.base64Decode( + 'CghSVFBTdGF0cxI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' + 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' + 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SGAoHcGFja2V0cxgEIA' + 'EoDVIHcGFja2V0cxIfCgtwYWNrZXRfcmF0ZRgFIAEoAVIKcGFja2V0UmF0ZRIUCgVieXRlcxgG' + 'IAEoBFIFYnl0ZXMSIQoMaGVhZGVyX2J5dGVzGCcgASgEUgtoZWFkZXJCeXRlcxIYCgdiaXRyYX' + 'RlGAcgASgBUgdiaXRyYXRlEiEKDHBhY2tldHNfbG9zdBgIIAEoDVILcGFja2V0c0xvc3QSKAoQ' + 'cGFja2V0X2xvc3NfcmF0ZRgJIAEoAVIOcGFja2V0TG9zc1JhdGUSNAoWcGFja2V0X2xvc3NfcG' + 'VyY2VudGFnZRgKIAEoAlIUcGFja2V0TG9zc1BlcmNlbnRhZ2USKwoRcGFja2V0c19kdXBsaWNh' + 'dGUYCyABKA1SEHBhY2tldHNEdXBsaWNhdGUSMgoVcGFja2V0X2R1cGxpY2F0ZV9yYXRlGAwgAS' + 'gBUhNwYWNrZXREdXBsaWNhdGVSYXRlEicKD2J5dGVzX2R1cGxpY2F0ZRgNIAEoBFIOYnl0ZXNE' + 'dXBsaWNhdGUSNAoWaGVhZGVyX2J5dGVzX2R1cGxpY2F0ZRgoIAEoBFIUaGVhZGVyQnl0ZXNEdX' + 'BsaWNhdGUSKwoRYml0cmF0ZV9kdXBsaWNhdGUYDiABKAFSEGJpdHJhdGVEdXBsaWNhdGUSJwoP' + 'cGFja2V0c19wYWRkaW5nGA8gASgNUg5wYWNrZXRzUGFkZGluZxIuChNwYWNrZXRfcGFkZGluZ1' + '9yYXRlGBAgASgBUhFwYWNrZXRQYWRkaW5nUmF0ZRIjCg1ieXRlc19wYWRkaW5nGBEgASgEUgxi' + 'eXRlc1BhZGRpbmcSMAoUaGVhZGVyX2J5dGVzX3BhZGRpbmcYKSABKARSEmhlYWRlckJ5dGVzUG' + 'FkZGluZxInCg9iaXRyYXRlX3BhZGRpbmcYEiABKAFSDmJpdHJhdGVQYWRkaW5nEi8KFHBhY2tl' + 'dHNfb3V0X29mX29yZGVyGBMgASgNUhFwYWNrZXRzT3V0T2ZPcmRlchIWCgZmcmFtZXMYFCABKA' + '1SBmZyYW1lcxIdCgpmcmFtZV9yYXRlGBUgASgBUglmcmFtZVJhdGUSJQoOaml0dGVyX2N1cnJl' + 'bnQYFiABKAFSDWppdHRlckN1cnJlbnQSHQoKaml0dGVyX21heBgXIAEoAVIJaml0dGVyTWF4Ek' + 'gKDWdhcF9oaXN0b2dyYW0YGCADKAsyIy5saXZla2l0LlJUUFN0YXRzLkdhcEhpc3RvZ3JhbUVu' + 'dHJ5UgxnYXBIaXN0b2dyYW0SFAoFbmFja3MYGSABKA1SBW5hY2tzEhsKCW5hY2tfYWNrcxglIA' + 'EoDVIIbmFja0Fja3MSHwoLbmFja19taXNzZXMYGiABKA1SCm5hY2tNaXNzZXMSIwoNbmFja19y' + 'ZXBlYXRlZBgmIAEoDVIMbmFja1JlcGVhdGVkEhIKBHBsaXMYGyABKA1SBHBsaXMSNQoIbGFzdF' + '9wbGkYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdsYXN0UGxpEhIKBGZpcnMY' + 'HSABKA1SBGZpcnMSNQoIbGFzdF9maXIYHiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW' + '1wUgdsYXN0RmlyEh8KC3J0dF9jdXJyZW50GB8gASgNUgpydHRDdXJyZW50EhcKB3J0dF9tYXgY' + 'ICABKA1SBnJ0dE1heBIdCgprZXlfZnJhbWVzGCEgASgNUglrZXlGcmFtZXMSQAoObGFzdF9rZX' + 'lfZnJhbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgxsYXN0S2V5RnJhbWUS' + 'JgoPbGF5ZXJfbG9ja19wbGlzGCMgASgNUg1sYXllckxvY2tQbGlzEkkKE2xhc3RfbGF5ZXJfbG' + '9ja19wbGkYJCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYXN0TGF5ZXJMb2Nr' + 'UGxpEjQKDHBhY2tldF9kcmlmdBgsIAEoCzIRLmxpdmVraXQuUlRQRHJpZnRSC3BhY2tldERyaW' + 'Z0EjsKEG50cF9yZXBvcnRfZHJpZnQYLSABKAsyES5saXZla2l0LlJUUERyaWZ0Ug5udHBSZXBv' + 'cnREcmlmdBJDChRyZWJhc2VkX3JlcG9ydF9kcmlmdBguIAEoCzIRLmxpdmVraXQuUlRQRHJpZn' + 'RSEnJlYmFzZWRSZXBvcnREcmlmdBJFChVyZWNlaXZlZF9yZXBvcnRfZHJpZnQYLyABKAsyES5s' + 'aXZla2l0LlJUUERyaWZ0UhNyZWNlaXZlZFJlcG9ydERyaWZ0Gj8KEUdhcEhpc3RvZ3JhbUVudH' + 'J5EhAKA2tleRgBIAEoBVIDa2V5EhQKBXZhbHVlGAIgASgNUgV2YWx1ZToCOAE='); @$core.Deprecated('Use rTCPSenderReportStateDescriptor instead') const RTCPSenderReportState$json = { @@ -1302,24 +1981,57 @@ const RTCPSenderReportState$json = { }; /// Descriptor for `RTCPSenderReportState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTCPSenderReportStateDescriptor = - $convert.base64Decode('ChVSVENQU2VuZGVyUmVwb3J0U3RhdGUSIwoNcnRwX3RpbWVzdGFtcBgBIAEoDVIMcnRwVGltZX' - 'N0YW1wEioKEXJ0cF90aW1lc3RhbXBfZXh0GAIgASgEUg9ydHBUaW1lc3RhbXBFeHQSIwoNbnRw' - 'X3RpbWVzdGFtcBgDIAEoBFIMbnRwVGltZXN0YW1wEg4KAmF0GAQgASgDUgJhdBIfCgthdF9hZG' - 'p1c3RlZBgFIAEoA1IKYXRBZGp1c3RlZBIYCgdwYWNrZXRzGAYgASgNUgdwYWNrZXRzEhYKBm9j' - 'dGV0cxgHIAEoBFIGb2N0ZXRz'); +final $typed_data.Uint8List rTCPSenderReportStateDescriptor = $convert.base64Decode( + 'ChVSVENQU2VuZGVyUmVwb3J0U3RhdGUSIwoNcnRwX3RpbWVzdGFtcBgBIAEoDVIMcnRwVGltZX' + 'N0YW1wEioKEXJ0cF90aW1lc3RhbXBfZXh0GAIgASgEUg9ydHBUaW1lc3RhbXBFeHQSIwoNbnRw' + 'X3RpbWVzdGFtcBgDIAEoBFIMbnRwVGltZXN0YW1wEg4KAmF0GAQgASgDUgJhdBIfCgthdF9hZG' + 'p1c3RlZBgFIAEoA1IKYXRBZGp1c3RlZBIYCgdwYWNrZXRzGAYgASgNUgdwYWNrZXRzEhYKBm9j' + 'dGV0cxgHIAEoBFIGb2N0ZXRz'); @$core.Deprecated('Use rTPForwarderStateDescriptor instead') const RTPForwarderState$json = { '1': 'RTPForwarderState', '2': [ {'1': 'started', '3': 1, '4': 1, '5': 8, '10': 'started'}, - {'1': 'reference_layer_spatial', '3': 2, '4': 1, '5': 5, '10': 'referenceLayerSpatial'}, + { + '1': 'reference_layer_spatial', + '3': 2, + '4': 1, + '5': 5, + '10': 'referenceLayerSpatial' + }, {'1': 'pre_start_time', '3': 3, '4': 1, '5': 3, '10': 'preStartTime'}, - {'1': 'ext_first_timestamp', '3': 4, '4': 1, '5': 4, '10': 'extFirstTimestamp'}, - {'1': 'dummy_start_timestamp_offset', '3': 5, '4': 1, '5': 4, '10': 'dummyStartTimestampOffset'}, - {'1': 'rtp_munger', '3': 6, '4': 1, '5': 11, '6': '.livekit.RTPMungerState', '10': 'rtpMunger'}, - {'1': 'vp8_munger', '3': 7, '4': 1, '5': 11, '6': '.livekit.VP8MungerState', '9': 0, '10': 'vp8Munger'}, + { + '1': 'ext_first_timestamp', + '3': 4, + '4': 1, + '5': 4, + '10': 'extFirstTimestamp' + }, + { + '1': 'dummy_start_timestamp_offset', + '3': 5, + '4': 1, + '5': 4, + '10': 'dummyStartTimestampOffset' + }, + { + '1': 'rtp_munger', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.RTPMungerState', + '10': 'rtpMunger' + }, + { + '1': 'vp8_munger', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.VP8MungerState', + '9': 0, + '10': 'vp8Munger' + }, { '1': 'sender_report_state', '3': 8, @@ -1335,44 +2047,80 @@ const RTPForwarderState$json = { }; /// Descriptor for `RTPForwarderState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPForwarderStateDescriptor = - $convert.base64Decode('ChFSVFBGb3J3YXJkZXJTdGF0ZRIYCgdzdGFydGVkGAEgASgIUgdzdGFydGVkEjYKF3JlZmVyZW' - '5jZV9sYXllcl9zcGF0aWFsGAIgASgFUhVyZWZlcmVuY2VMYXllclNwYXRpYWwSJAoOcHJlX3N0' - 'YXJ0X3RpbWUYAyABKANSDHByZVN0YXJ0VGltZRIuChNleHRfZmlyc3RfdGltZXN0YW1wGAQgAS' - 'gEUhFleHRGaXJzdFRpbWVzdGFtcBI/ChxkdW1teV9zdGFydF90aW1lc3RhbXBfb2Zmc2V0GAUg' - 'ASgEUhlkdW1teVN0YXJ0VGltZXN0YW1wT2Zmc2V0EjYKCnJ0cF9tdW5nZXIYBiABKAsyFy5saX' - 'Zla2l0LlJUUE11bmdlclN0YXRlUglydHBNdW5nZXISOAoKdnA4X211bmdlchgHIAEoCzIXLmxp' - 'dmVraXQuVlA4TXVuZ2VyU3RhdGVIAFIJdnA4TXVuZ2VyEk4KE3NlbmRlcl9yZXBvcnRfc3RhdG' - 'UYCCADKAsyHi5saXZla2l0LlJUQ1BTZW5kZXJSZXBvcnRTdGF0ZVIRc2VuZGVyUmVwb3J0U3Rh' - 'dGVCDgoMY29kZWNfbXVuZ2Vy'); +final $typed_data.Uint8List rTPForwarderStateDescriptor = $convert.base64Decode( + 'ChFSVFBGb3J3YXJkZXJTdGF0ZRIYCgdzdGFydGVkGAEgASgIUgdzdGFydGVkEjYKF3JlZmVyZW' + '5jZV9sYXllcl9zcGF0aWFsGAIgASgFUhVyZWZlcmVuY2VMYXllclNwYXRpYWwSJAoOcHJlX3N0' + 'YXJ0X3RpbWUYAyABKANSDHByZVN0YXJ0VGltZRIuChNleHRfZmlyc3RfdGltZXN0YW1wGAQgAS' + 'gEUhFleHRGaXJzdFRpbWVzdGFtcBI/ChxkdW1teV9zdGFydF90aW1lc3RhbXBfb2Zmc2V0GAUg' + 'ASgEUhlkdW1teVN0YXJ0VGltZXN0YW1wT2Zmc2V0EjYKCnJ0cF9tdW5nZXIYBiABKAsyFy5saX' + 'Zla2l0LlJUUE11bmdlclN0YXRlUglydHBNdW5nZXISOAoKdnA4X211bmdlchgHIAEoCzIXLmxp' + 'dmVraXQuVlA4TXVuZ2VyU3RhdGVIAFIJdnA4TXVuZ2VyEk4KE3NlbmRlcl9yZXBvcnRfc3RhdG' + 'UYCCADKAsyHi5saXZla2l0LlJUQ1BTZW5kZXJSZXBvcnRTdGF0ZVIRc2VuZGVyUmVwb3J0U3Rh' + 'dGVCDgoMY29kZWNfbXVuZ2Vy'); @$core.Deprecated('Use rTPMungerStateDescriptor instead') const RTPMungerState$json = { '1': 'RTPMungerState', '2': [ - {'1': 'ext_last_sequence_number', '3': 1, '4': 1, '5': 4, '10': 'extLastSequenceNumber'}, - {'1': 'ext_second_last_sequence_number', '3': 2, '4': 1, '5': 4, '10': 'extSecondLastSequenceNumber'}, - {'1': 'ext_last_timestamp', '3': 3, '4': 1, '5': 4, '10': 'extLastTimestamp'}, - {'1': 'ext_second_last_timestamp', '3': 4, '4': 1, '5': 4, '10': 'extSecondLastTimestamp'}, + { + '1': 'ext_last_sequence_number', + '3': 1, + '4': 1, + '5': 4, + '10': 'extLastSequenceNumber' + }, + { + '1': 'ext_second_last_sequence_number', + '3': 2, + '4': 1, + '5': 4, + '10': 'extSecondLastSequenceNumber' + }, + { + '1': 'ext_last_timestamp', + '3': 3, + '4': 1, + '5': 4, + '10': 'extLastTimestamp' + }, + { + '1': 'ext_second_last_timestamp', + '3': 4, + '4': 1, + '5': 4, + '10': 'extSecondLastTimestamp' + }, {'1': 'last_marker', '3': 5, '4': 1, '5': 8, '10': 'lastMarker'}, - {'1': 'second_last_marker', '3': 6, '4': 1, '5': 8, '10': 'secondLastMarker'}, + { + '1': 'second_last_marker', + '3': 6, + '4': 1, + '5': 8, + '10': 'secondLastMarker' + }, ], }; /// Descriptor for `RTPMungerState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPMungerStateDescriptor = - $convert.base64Decode('Cg5SVFBNdW5nZXJTdGF0ZRI3ChhleHRfbGFzdF9zZXF1ZW5jZV9udW1iZXIYASABKARSFWV4dE' - 'xhc3RTZXF1ZW5jZU51bWJlchJECh9leHRfc2Vjb25kX2xhc3Rfc2VxdWVuY2VfbnVtYmVyGAIg' - 'ASgEUhtleHRTZWNvbmRMYXN0U2VxdWVuY2VOdW1iZXISLAoSZXh0X2xhc3RfdGltZXN0YW1wGA' - 'MgASgEUhBleHRMYXN0VGltZXN0YW1wEjkKGWV4dF9zZWNvbmRfbGFzdF90aW1lc3RhbXAYBCAB' - 'KARSFmV4dFNlY29uZExhc3RUaW1lc3RhbXASHwoLbGFzdF9tYXJrZXIYBSABKAhSCmxhc3RNYX' - 'JrZXISLAoSc2Vjb25kX2xhc3RfbWFya2VyGAYgASgIUhBzZWNvbmRMYXN0TWFya2Vy'); +final $typed_data.Uint8List rTPMungerStateDescriptor = $convert.base64Decode( + 'Cg5SVFBNdW5nZXJTdGF0ZRI3ChhleHRfbGFzdF9zZXF1ZW5jZV9udW1iZXIYASABKARSFWV4dE' + 'xhc3RTZXF1ZW5jZU51bWJlchJECh9leHRfc2Vjb25kX2xhc3Rfc2VxdWVuY2VfbnVtYmVyGAIg' + 'ASgEUhtleHRTZWNvbmRMYXN0U2VxdWVuY2VOdW1iZXISLAoSZXh0X2xhc3RfdGltZXN0YW1wGA' + 'MgASgEUhBleHRMYXN0VGltZXN0YW1wEjkKGWV4dF9zZWNvbmRfbGFzdF90aW1lc3RhbXAYBCAB' + 'KARSFmV4dFNlY29uZExhc3RUaW1lc3RhbXASHwoLbGFzdF9tYXJrZXIYBSABKAhSCmxhc3RNYX' + 'JrZXISLAoSc2Vjb25kX2xhc3RfbWFya2VyGAYgASgIUhBzZWNvbmRMYXN0TWFya2Vy'); @$core.Deprecated('Use vP8MungerStateDescriptor instead') const VP8MungerState$json = { '1': 'VP8MungerState', '2': [ - {'1': 'ext_last_picture_id', '3': 1, '4': 1, '5': 5, '10': 'extLastPictureId'}, + { + '1': 'ext_last_picture_id', + '3': 1, + '4': 1, + '5': 5, + '10': 'extLastPictureId' + }, {'1': 'picture_id_used', '3': 2, '4': 1, '5': 8, '10': 'pictureIdUsed'}, {'1': 'last_tl0_pic_idx', '3': 3, '4': 1, '5': 13, '10': 'lastTl0PicIdx'}, {'1': 'tl0_pic_idx_used', '3': 4, '4': 1, '5': 8, '10': 'tl0PicIdxUsed'}, @@ -1383,13 +2131,13 @@ const VP8MungerState$json = { }; /// Descriptor for `VP8MungerState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List vP8MungerStateDescriptor = - $convert.base64Decode('Cg5WUDhNdW5nZXJTdGF0ZRItChNleHRfbGFzdF9waWN0dXJlX2lkGAEgASgFUhBleHRMYXN0UG' - 'ljdHVyZUlkEiYKD3BpY3R1cmVfaWRfdXNlZBgCIAEoCFINcGljdHVyZUlkVXNlZBInChBsYXN0' - 'X3RsMF9waWNfaWR4GAMgASgNUg1sYXN0VGwwUGljSWR4EicKEHRsMF9waWNfaWR4X3VzZWQYBC' - 'ABKAhSDXRsMFBpY0lkeFVzZWQSGQoIdGlkX3VzZWQYBSABKAhSB3RpZFVzZWQSIAoMbGFzdF9r' - 'ZXlfaWR4GAYgASgNUgpsYXN0S2V5SWR4EiAKDGtleV9pZHhfdXNlZBgHIAEoCFIKa2V5SWR4VX' - 'NlZA=='); +final $typed_data.Uint8List vP8MungerStateDescriptor = $convert.base64Decode( + 'Cg5WUDhNdW5nZXJTdGF0ZRItChNleHRfbGFzdF9waWN0dXJlX2lkGAEgASgFUhBleHRMYXN0UG' + 'ljdHVyZUlkEiYKD3BpY3R1cmVfaWRfdXNlZBgCIAEoCFINcGljdHVyZUlkVXNlZBInChBsYXN0' + 'X3RsMF9waWNfaWR4GAMgASgNUg1sYXN0VGwwUGljSWR4EicKEHRsMF9waWNfaWR4X3VzZWQYBC' + 'ABKAhSDXRsMFBpY0lkeFVzZWQSGQoIdGlkX3VzZWQYBSABKAhSB3RpZFVzZWQSIAoMbGFzdF9r' + 'ZXlfaWR4GAYgASgNUgpsYXN0S2V5SWR4EiAKDGtleV9pZHhfdXNlZBgHIAEoCFIKa2V5SWR4VX' + 'NlZA=='); @$core.Deprecated('Use timedVersionDescriptor instead') const TimedVersion$json = { @@ -1401,9 +2149,9 @@ const TimedVersion$json = { }; /// Descriptor for `TimedVersion`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timedVersionDescriptor = - $convert.base64Decode('CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' - 'IgASgFUgV0aWNrcw=='); +final $typed_data.Uint8List timedVersionDescriptor = $convert.base64Decode( + 'CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' + 'IgASgFUgV0aWNrcw=='); @$core.Deprecated('Use dataStreamDescriptor instead') const DataStream$json = { @@ -1422,10 +2170,29 @@ const DataStream$json = { const DataStream_TextHeader$json = { '1': 'TextHeader', '2': [ - {'1': 'operation_type', '3': 1, '4': 1, '5': 14, '6': '.livekit.DataStream.OperationType', '10': 'operationType'}, + { + '1': 'operation_type', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.DataStream.OperationType', + '10': 'operationType' + }, {'1': 'version', '3': 2, '4': 1, '5': 5, '10': 'version'}, - {'1': 'reply_to_stream_id', '3': 3, '4': 1, '5': 9, '10': 'replyToStreamId'}, - {'1': 'attached_stream_ids', '3': 4, '4': 3, '5': 9, '10': 'attachedStreamIds'}, + { + '1': 'reply_to_stream_id', + '3': 3, + '4': 1, + '5': 9, + '10': 'replyToStreamId' + }, + { + '1': 'attached_stream_ids', + '3': 4, + '4': 3, + '5': 9, + '10': 'attachedStreamIds' + }, {'1': 'generated', '3': 5, '4': 1, '5': 8, '10': 'generated'}, ], }; @@ -1446,7 +2213,15 @@ const DataStream_Header$json = { {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, {'1': 'topic', '3': 3, '4': 1, '5': 9, '10': 'topic'}, {'1': 'mime_type', '3': 4, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'total_length', '3': 5, '4': 1, '5': 4, '9': 1, '10': 'totalLength', '17': true}, + { + '1': 'total_length', + '3': 5, + '4': 1, + '5': 4, + '9': 1, + '10': 'totalLength', + '17': true + }, { '1': 'encryption_type', '3': 7, @@ -1456,9 +2231,32 @@ const DataStream_Header$json = { '8': {'3': true}, '10': 'encryptionType', }, - {'1': 'attributes', '3': 8, '4': 3, '5': 11, '6': '.livekit.DataStream.Header.AttributesEntry', '10': 'attributes'}, - {'1': 'text_header', '3': 9, '4': 1, '5': 11, '6': '.livekit.DataStream.TextHeader', '9': 0, '10': 'textHeader'}, - {'1': 'byte_header', '3': 10, '4': 1, '5': 11, '6': '.livekit.DataStream.ByteHeader', '9': 0, '10': 'byteHeader'}, + { + '1': 'attributes', + '3': 8, + '4': 3, + '5': 11, + '6': '.livekit.DataStream.Header.AttributesEntry', + '10': 'attributes' + }, + { + '1': 'text_header', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.TextHeader', + '9': 0, + '10': 'textHeader' + }, + { + '1': 'byte_header', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.ByteHeader', + '9': 0, + '10': 'byteHeader' + }, ], '3': [DataStream_Header_AttributesEntry$json], '8': [ @@ -1541,30 +2339,44 @@ const DataStream_OperationType$json = { }; /// Descriptor for `DataStream`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataStreamDescriptor = - $convert.base64Decode('CgpEYXRhU3RyZWFtGusBCgpUZXh0SGVhZGVyEkgKDm9wZXJhdGlvbl90eXBlGAEgASgOMiEubG' - 'l2ZWtpdC5EYXRhU3RyZWFtLk9wZXJhdGlvblR5cGVSDW9wZXJhdGlvblR5cGUSGAoHdmVyc2lv' - 'bhgCIAEoBVIHdmVyc2lvbhIrChJyZXBseV90b19zdHJlYW1faWQYAyABKAlSD3JlcGx5VG9TdH' - 'JlYW1JZBIuChNhdHRhY2hlZF9zdHJlYW1faWRzGAQgAygJUhFhdHRhY2hlZFN0cmVhbUlkcxIc' - 'CglnZW5lcmF0ZWQYBSABKAhSCWdlbmVyYXRlZBogCgpCeXRlSGVhZGVyEhIKBG5hbWUYASABKA' - 'lSBG5hbWUamQQKBkhlYWRlchIbCglzdHJlYW1faWQYASABKAlSCHN0cmVhbUlkEhwKCXRpbWVz' - 'dGFtcBgCIAEoA1IJdGltZXN0YW1wEhQKBXRvcGljGAMgASgJUgV0b3BpYxIbCgltaW1lX3R5cG' - 'UYBCABKAlSCG1pbWVUeXBlEiYKDHRvdGFsX2xlbmd0aBgFIAEoBEgBUgt0b3RhbExlbmd0aIgB' - 'ARJFCg9lbmNyeXB0aW9uX3R5cGUYByABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZUICGA' - 'FSDmVuY3J5cHRpb25UeXBlEkoKCmF0dHJpYnV0ZXMYCCADKAsyKi5saXZla2l0LkRhdGFTdHJl' - 'YW0uSGVhZGVyLkF0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxJBCgt0ZXh0X2hlYWRlchgJIA' - 'EoCzIeLmxpdmVraXQuRGF0YVN0cmVhbS5UZXh0SGVhZGVySABSCnRleHRIZWFkZXISQQoLYnl0' - 'ZV9oZWFkZXIYCiABKAsyHi5saXZla2l0LkRhdGFTdHJlYW0uQnl0ZUhlYWRlckgAUgpieXRlSG' - 'VhZGVyGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo' - 'CVIFdmFsdWU6AjgBQhAKDmNvbnRlbnRfaGVhZGVyQg8KDV90b3RhbF9sZW5ndGgamQEKBUNodW' - '5rEhsKCXN0cmVhbV9pZBgBIAEoCVIIc3RyZWFtSWQSHwoLY2h1bmtfaW5kZXgYAiABKARSCmNo' - 'dW5rSW5kZXgSGAoHY29udGVudBgDIAEoDFIHY29udGVudBIYCgd2ZXJzaW9uGAQgASgFUgd2ZX' - 'JzaW9uEhcKAml2GAUgASgMQgIYAUgAUgJpdogBAUIFCgNfaXYaygEKB1RyYWlsZXISGwoJc3Ry' - 'ZWFtX2lkGAEgASgJUghzdHJlYW1JZBIWCgZyZWFzb24YAiABKAlSBnJlYXNvbhJLCgphdHRyaW' - 'J1dGVzGAMgAygLMisubGl2ZWtpdC5EYXRhU3RyZWFtLlRyYWlsZXIuQXR0cmlidXRlc0VudHJ5' - 'UgphdHRyaWJ1dGVzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YW' - 'x1ZRgCIAEoCVIFdmFsdWU6AjgBIkEKDU9wZXJhdGlvblR5cGUSCgoGQ1JFQVRFEAASCgoGVVBE' - 'QVRFEAESCgoGREVMRVRFEAISDAoIUkVBQ1RJT04QAw=='); +final $typed_data.Uint8List dataStreamDescriptor = $convert.base64Decode( + 'CgpEYXRhU3RyZWFtGusBCgpUZXh0SGVhZGVyEkgKDm9wZXJhdGlvbl90eXBlGAEgASgOMiEubG' + 'l2ZWtpdC5EYXRhU3RyZWFtLk9wZXJhdGlvblR5cGVSDW9wZXJhdGlvblR5cGUSGAoHdmVyc2lv' + 'bhgCIAEoBVIHdmVyc2lvbhIrChJyZXBseV90b19zdHJlYW1faWQYAyABKAlSD3JlcGx5VG9TdH' + 'JlYW1JZBIuChNhdHRhY2hlZF9zdHJlYW1faWRzGAQgAygJUhFhdHRhY2hlZFN0cmVhbUlkcxIc' + 'CglnZW5lcmF0ZWQYBSABKAhSCWdlbmVyYXRlZBogCgpCeXRlSGVhZGVyEhIKBG5hbWUYASABKA' + 'lSBG5hbWUamQQKBkhlYWRlchIbCglzdHJlYW1faWQYASABKAlSCHN0cmVhbUlkEhwKCXRpbWVz' + 'dGFtcBgCIAEoA1IJdGltZXN0YW1wEhQKBXRvcGljGAMgASgJUgV0b3BpYxIbCgltaW1lX3R5cG' + 'UYBCABKAlSCG1pbWVUeXBlEiYKDHRvdGFsX2xlbmd0aBgFIAEoBEgBUgt0b3RhbExlbmd0aIgB' + 'ARJFCg9lbmNyeXB0aW9uX3R5cGUYByABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZUICGA' + 'FSDmVuY3J5cHRpb25UeXBlEkoKCmF0dHJpYnV0ZXMYCCADKAsyKi5saXZla2l0LkRhdGFTdHJl' + 'YW0uSGVhZGVyLkF0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxJBCgt0ZXh0X2hlYWRlchgJIA' + 'EoCzIeLmxpdmVraXQuRGF0YVN0cmVhbS5UZXh0SGVhZGVySABSCnRleHRIZWFkZXISQQoLYnl0' + 'ZV9oZWFkZXIYCiABKAsyHi5saXZla2l0LkRhdGFTdHJlYW0uQnl0ZUhlYWRlckgAUgpieXRlSG' + 'VhZGVyGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo' + 'CVIFdmFsdWU6AjgBQhAKDmNvbnRlbnRfaGVhZGVyQg8KDV90b3RhbF9sZW5ndGgamQEKBUNodW' + '5rEhsKCXN0cmVhbV9pZBgBIAEoCVIIc3RyZWFtSWQSHwoLY2h1bmtfaW5kZXgYAiABKARSCmNo' + 'dW5rSW5kZXgSGAoHY29udGVudBgDIAEoDFIHY29udGVudBIYCgd2ZXJzaW9uGAQgASgFUgd2ZX' + 'JzaW9uEhcKAml2GAUgASgMQgIYAUgAUgJpdogBAUIFCgNfaXYaygEKB1RyYWlsZXISGwoJc3Ry' + 'ZWFtX2lkGAEgASgJUghzdHJlYW1JZBIWCgZyZWFzb24YAiABKAlSBnJlYXNvbhJLCgphdHRyaW' + 'J1dGVzGAMgAygLMisubGl2ZWtpdC5EYXRhU3RyZWFtLlRyYWlsZXIuQXR0cmlidXRlc0VudHJ5' + 'UgphdHRyaWJ1dGVzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YW' + 'x1ZRgCIAEoCVIFdmFsdWU6AjgBIkEKDU9wZXJhdGlvblR5cGUSCgoGQ1JFQVRFEAASCgoGVVBE' + 'QVRFEAESCgoGREVMRVRFEAISDAoIUkVBQ1RJT04QAw=='); + +@$core.Deprecated('Use filterParamsDescriptor instead') +const FilterParams$json = { + '1': 'FilterParams', + '2': [ + {'1': 'include_events', '3': 1, '4': 3, '5': 9, '10': 'includeEvents'}, + {'1': 'exclude_events', '3': 2, '4': 3, '5': 9, '10': 'excludeEvents'}, + ], +}; + +/// Descriptor for `FilterParams`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List filterParamsDescriptor = $convert.base64Decode( + 'CgxGaWx0ZXJQYXJhbXMSJQoOaW5jbHVkZV9ldmVudHMYASADKAlSDWluY2x1ZGVFdmVudHMSJQ' + 'oOZXhjbHVkZV9ldmVudHMYAiADKAlSDWV4Y2x1ZGVFdmVudHM='); @$core.Deprecated('Use webhookConfigDescriptor instead') const WebhookConfig$json = { @@ -1572,13 +2384,22 @@ const WebhookConfig$json = { '2': [ {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, {'1': 'signing_key', '3': 2, '4': 1, '5': 9, '10': 'signingKey'}, + { + '1': 'filter_params', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.FilterParams', + '10': 'filterParams' + }, ], }; /// Descriptor for `WebhookConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List webhookConfigDescriptor = - $convert.base64Decode('Cg1XZWJob29rQ29uZmlnEhAKA3VybBgBIAEoCVIDdXJsEh8KC3NpZ25pbmdfa2V5GAIgASgJUg' - 'pzaWduaW5nS2V5'); +final $typed_data.Uint8List webhookConfigDescriptor = $convert.base64Decode( + 'Cg1XZWJob29rQ29uZmlnEhAKA3VybBgBIAEoCVIDdXJsEh8KC3NpZ25pbmdfa2V5GAIgASgJUg' + 'pzaWduaW5nS2V5EjoKDWZpbHRlcl9wYXJhbXMYAyABKAsyFS5saXZla2l0LkZpbHRlclBhcmFt' + 'c1IMZmlsdGVyUGFyYW1z'); @$core.Deprecated('Use subscribedAudioCodecDescriptor instead') const SubscribedAudioCodec$json = { @@ -1590,6 +2411,6 @@ const SubscribedAudioCodec$json = { }; /// Descriptor for `SubscribedAudioCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedAudioCodecDescriptor = - $convert.base64Decode('ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' - 'gCIAEoCFIHZW5hYmxlZA=='); +final $typed_data.Uint8List subscribedAudioCodecDescriptor = $convert.base64Decode( + 'ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' + 'gCIAEoCFIHZW5hYmxlZA=='); diff --git a/lib/src/proto/livekit_rtc.pb.dart b/lib/src/proto/livekit_rtc.pb.dart index 40049d6e..754cc131 100644 --- a/lib/src/proto/livekit_rtc.pb.dart +++ b/lib/src/proto/livekit_rtc.pb.dart @@ -1,21 +1,21 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_rtc.proto -// +// Generated from livekit_rtc.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import 'livekit_models.pb.dart' as $2; +import 'livekit_models.pb.dart' as $0; import 'livekit_rtc.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; @@ -40,6 +40,9 @@ enum SignalRequest_Message { pingReq, updateAudioTrack, updateVideoTrack, + publishDataTrackRequest, + unpublishDataTrackRequest, + updateDataSubscription, notSet } @@ -53,7 +56,8 @@ class SignalRequest extends $pb.GeneratedMessage { UpdateSubscription? subscription, UpdateTrackSettings? trackSetting, LeaveRequest? leave, - @$core.Deprecated('This field is deprecated.') UpdateVideoLayers? updateLayers, + @$core.Deprecated('This field is deprecated.') + UpdateVideoLayers? updateLayers, SubscriptionPermission? subscriptionPermission, SyncState? syncState, SimulateScenario? simulate, @@ -62,6 +66,9 @@ class SignalRequest extends $pb.GeneratedMessage { Ping? pingReq, UpdateLocalAudioTrack? updateAudioTrack, UpdateLocalVideoTrack? updateVideoTrack, + PublishDataTrackRequest? publishDataTrackRequest, + UnpublishDataTrackRequest? unpublishDataTrackRequest, + UpdateDataSubscription? updateDataSubscription, }) { final result = create(); if (offer != null) result.offer = offer; @@ -73,7 +80,8 @@ class SignalRequest extends $pb.GeneratedMessage { if (trackSetting != null) result.trackSetting = trackSetting; if (leave != null) result.leave = leave; if (updateLayers != null) result.updateLayers = updateLayers; - if (subscriptionPermission != null) result.subscriptionPermission = subscriptionPermission; + if (subscriptionPermission != null) + result.subscriptionPermission = subscriptionPermission; if (syncState != null) result.syncState = syncState; if (simulate != null) result.simulate = simulate; if (ping != null) result.ping = ping; @@ -81,6 +89,12 @@ class SignalRequest extends $pb.GeneratedMessage { if (pingReq != null) result.pingReq = pingReq; if (updateAudioTrack != null) result.updateAudioTrack = updateAudioTrack; if (updateVideoTrack != null) result.updateVideoTrack = updateVideoTrack; + if (publishDataTrackRequest != null) + result.publishDataTrackRequest = publishDataTrackRequest; + if (unpublishDataTrackRequest != null) + result.unpublishDataTrackRequest = unpublishDataTrackRequest; + if (updateDataSubscription != null) + result.updateDataSubscription = updateDataSubscription; return result; } @@ -89,10 +103,12 @@ class SignalRequest extends $pb.GeneratedMessage { factory SignalRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SignalRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SignalRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SignalRequest_Message> _SignalRequest_MessageByTag = { + static const $core.Map<$core.int, SignalRequest_Message> + _SignalRequest_MessageByTag = { 1: SignalRequest_Message.offer, 2: SignalRequest_Message.answer, 3: SignalRequest_Message.trickle, @@ -110,39 +126,88 @@ class SignalRequest extends $pb.GeneratedMessage { 16: SignalRequest_Message.pingReq, 17: SignalRequest_Message.updateAudioTrack, 18: SignalRequest_Message.updateVideoTrack, + 19: SignalRequest_Message.publishDataTrackRequest, + 20: SignalRequest_Message.unpublishDataTrackRequest, + 21: SignalRequest_Message.updateDataSubscription, 0: SignalRequest_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignalRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18]) - ..aOM(1, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) - ..aOM(2, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) - ..aOM(3, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) - ..aOM(4, _omitFieldNames ? '' : 'addTrack', subBuilder: AddTrackRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'subscription', subBuilder: UpdateSubscription.create) - ..aOM(7, _omitFieldNames ? '' : 'trackSetting', subBuilder: UpdateTrackSettings.create) - ..aOM(8, _omitFieldNames ? '' : 'leave', subBuilder: LeaveRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'updateLayers', subBuilder: UpdateVideoLayers.create) - ..aOM(11, _omitFieldNames ? '' : 'subscriptionPermission', + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SignalRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..oo(0, [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ]) + ..aOM(1, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) + ..aOM(2, _omitFieldNames ? '' : 'answer', + subBuilder: SessionDescription.create) + ..aOM(3, _omitFieldNames ? '' : 'trickle', + subBuilder: TrickleRequest.create) + ..aOM(4, _omitFieldNames ? '' : 'addTrack', + subBuilder: AddTrackRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'mute', + subBuilder: MuteTrackRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'subscription', + subBuilder: UpdateSubscription.create) + ..aOM(7, _omitFieldNames ? '' : 'trackSetting', + subBuilder: UpdateTrackSettings.create) + ..aOM(8, _omitFieldNames ? '' : 'leave', + subBuilder: LeaveRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'updateLayers', + subBuilder: UpdateVideoLayers.create) + ..aOM( + 11, _omitFieldNames ? '' : 'subscriptionPermission', subBuilder: SubscriptionPermission.create) - ..aOM(12, _omitFieldNames ? '' : 'syncState', subBuilder: SyncState.create) - ..aOM(13, _omitFieldNames ? '' : 'simulate', subBuilder: SimulateScenario.create) + ..aOM(12, _omitFieldNames ? '' : 'syncState', + subBuilder: SyncState.create) + ..aOM(13, _omitFieldNames ? '' : 'simulate', + subBuilder: SimulateScenario.create) ..aInt64(14, _omitFieldNames ? '' : 'ping') - ..aOM(15, _omitFieldNames ? '' : 'updateMetadata', + ..aOM( + 15, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) ..aOM(16, _omitFieldNames ? '' : 'pingReq', subBuilder: Ping.create) ..aOM(17, _omitFieldNames ? '' : 'updateAudioTrack', subBuilder: UpdateLocalAudioTrack.create) ..aOM(18, _omitFieldNames ? '' : 'updateVideoTrack', subBuilder: UpdateLocalVideoTrack.create) + ..aOM( + 19, _omitFieldNames ? '' : 'publishDataTrackRequest', + subBuilder: PublishDataTrackRequest.create) + ..aOM( + 20, _omitFieldNames ? '' : 'unpublishDataTrackRequest', + subBuilder: UnpublishDataTrackRequest.create) + ..aOM( + 21, _omitFieldNames ? '' : 'updateDataSubscription', + subBuilder: UpdateDataSubscription.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SignalRequest clone() => SignalRequest()..mergeFromMessage(this); + SignalRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalRequest copyWith(void Function(SignalRequest) updates) => - super.copyWith((message) => updates(message as SignalRequest)) as SignalRequest; + super.copyWith((message) => updates(message as SignalRequest)) + as SignalRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -151,12 +216,53 @@ class SignalRequest extends $pb.GeneratedMessage { static SignalRequest create() => SignalRequest._(); @$core.override SignalRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SignalRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SignalRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SignalRequest? _defaultInstance; - SignalRequest_Message whichMessage() => _SignalRequest_MessageByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + @$pb.TagNumber(12) + @$pb.TagNumber(13) + @$pb.TagNumber(14) + @$pb.TagNumber(15) + @$pb.TagNumber(16) + @$pb.TagNumber(17) + @$pb.TagNumber(18) + @$pb.TagNumber(19) + @$pb.TagNumber(20) + @$pb.TagNumber(21) + SignalRequest_Message whichMessage() => + _SignalRequest_MessageByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + @$pb.TagNumber(12) + @$pb.TagNumber(13) + @$pb.TagNumber(14) + @$pb.TagNumber(15) + @$pb.TagNumber(16) + @$pb.TagNumber(17) + @$pb.TagNumber(18) + @$pb.TagNumber(19) + @$pb.TagNumber(20) + @$pb.TagNumber(21) void clearMessage() => $_clearField($_whichOneof(0)); /// participant offer for publisher @@ -274,7 +380,8 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(11) SubscriptionPermission get subscriptionPermission => $_getN(9); @$pb.TagNumber(11) - set subscriptionPermission(SubscriptionPermission value) => $_setField(11, value); + set subscriptionPermission(SubscriptionPermission value) => + $_setField(11, value); @$pb.TagNumber(11) $core.bool hasSubscriptionPermission() => $_has(9); @$pb.TagNumber(11) @@ -363,6 +470,45 @@ class SignalRequest extends $pb.GeneratedMessage { void clearUpdateVideoTrack() => $_clearField(18); @$pb.TagNumber(18) UpdateLocalVideoTrack ensureUpdateVideoTrack() => $_ensure(16); + + /// Publish a data track + @$pb.TagNumber(19) + PublishDataTrackRequest get publishDataTrackRequest => $_getN(17); + @$pb.TagNumber(19) + set publishDataTrackRequest(PublishDataTrackRequest value) => + $_setField(19, value); + @$pb.TagNumber(19) + $core.bool hasPublishDataTrackRequest() => $_has(17); + @$pb.TagNumber(19) + void clearPublishDataTrackRequest() => $_clearField(19); + @$pb.TagNumber(19) + PublishDataTrackRequest ensurePublishDataTrackRequest() => $_ensure(17); + + /// Unpublish a data track + @$pb.TagNumber(20) + UnpublishDataTrackRequest get unpublishDataTrackRequest => $_getN(18); + @$pb.TagNumber(20) + set unpublishDataTrackRequest(UnpublishDataTrackRequest value) => + $_setField(20, value); + @$pb.TagNumber(20) + $core.bool hasUnpublishDataTrackRequest() => $_has(18); + @$pb.TagNumber(20) + void clearUnpublishDataTrackRequest() => $_clearField(20); + @$pb.TagNumber(20) + UnpublishDataTrackRequest ensureUnpublishDataTrackRequest() => $_ensure(18); + + /// Update subscription state for one or more data tracks + @$pb.TagNumber(21) + UpdateDataSubscription get updateDataSubscription => $_getN(19); + @$pb.TagNumber(21) + set updateDataSubscription(UpdateDataSubscription value) => + $_setField(21, value); + @$pb.TagNumber(21) + $core.bool hasUpdateDataSubscription() => $_has(19); + @$pb.TagNumber(21) + void clearUpdateDataSubscription() => $_clearField(21); + @$pb.TagNumber(21) + UpdateDataSubscription ensureUpdateDataSubscription() => $_ensure(19); } enum SignalResponse_Message { @@ -391,6 +537,9 @@ enum SignalResponse_Message { roomMoved, mediaSectionsRequirement, subscribedAudioCodecUpdate, + publishDataTrackResponse, + unpublishDataTrackResponse, + dataTrackSubscriberHandles, notSet } @@ -421,6 +570,9 @@ class SignalResponse extends $pb.GeneratedMessage { RoomMovedResponse? roomMoved, MediaSectionsRequirement? mediaSectionsRequirement, SubscribedAudioCodecUpdate? subscribedAudioCodecUpdate, + PublishDataTrackResponse? publishDataTrackResponse, + UnpublishDataTrackResponse? unpublishDataTrackResponse, + DataTrackSubscriberHandles? dataTrackSubscriberHandles, }) { final result = create(); if (join != null) result.join = join; @@ -435,19 +587,30 @@ class SignalResponse extends $pb.GeneratedMessage { if (roomUpdate != null) result.roomUpdate = roomUpdate; if (connectionQuality != null) result.connectionQuality = connectionQuality; if (streamStateUpdate != null) result.streamStateUpdate = streamStateUpdate; - if (subscribedQualityUpdate != null) result.subscribedQualityUpdate = subscribedQualityUpdate; - if (subscriptionPermissionUpdate != null) result.subscriptionPermissionUpdate = subscriptionPermissionUpdate; + if (subscribedQualityUpdate != null) + result.subscribedQualityUpdate = subscribedQualityUpdate; + if (subscriptionPermissionUpdate != null) + result.subscriptionPermissionUpdate = subscriptionPermissionUpdate; if (refreshToken != null) result.refreshToken = refreshToken; if (trackUnpublished != null) result.trackUnpublished = trackUnpublished; if (pong != null) result.pong = pong; if (reconnect != null) result.reconnect = reconnect; if (pongResp != null) result.pongResp = pongResp; - if (subscriptionResponse != null) result.subscriptionResponse = subscriptionResponse; + if (subscriptionResponse != null) + result.subscriptionResponse = subscriptionResponse; if (requestResponse != null) result.requestResponse = requestResponse; if (trackSubscribed != null) result.trackSubscribed = trackSubscribed; if (roomMoved != null) result.roomMoved = roomMoved; - if (mediaSectionsRequirement != null) result.mediaSectionsRequirement = mediaSectionsRequirement; - if (subscribedAudioCodecUpdate != null) result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; + if (mediaSectionsRequirement != null) + result.mediaSectionsRequirement = mediaSectionsRequirement; + if (subscribedAudioCodecUpdate != null) + result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; + if (publishDataTrackResponse != null) + result.publishDataTrackResponse = publishDataTrackResponse; + if (unpublishDataTrackResponse != null) + result.unpublishDataTrackResponse = unpublishDataTrackResponse; + if (dataTrackSubscriberHandles != null) + result.dataTrackSubscriberHandles = dataTrackSubscriberHandles; return result; } @@ -456,10 +619,12 @@ class SignalResponse extends $pb.GeneratedMessage { factory SignalResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SignalResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SignalResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SignalResponse_Message> _SignalResponse_MessageByTag = { + static const $core.Map<$core.int, SignalResponse_Message> + _SignalResponse_MessageByTag = { 1: SignalResponse_Message.join, 2: SignalResponse_Message.answer, 3: SignalResponse_Message.offer, @@ -485,50 +650,116 @@ class SignalResponse extends $pb.GeneratedMessage { 24: SignalResponse_Message.roomMoved, 25: SignalResponse_Message.mediaSectionsRequirement, 26: SignalResponse_Message.subscribedAudioCodecUpdate, + 27: SignalResponse_Message.publishDataTrackResponse, + 28: SignalResponse_Message.unpublishDataTrackResponse, + 29: SignalResponse_Message.dataTrackSubscriberHandles, 0: SignalResponse_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignalResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]) - ..aOM(1, _omitFieldNames ? '' : 'join', subBuilder: JoinResponse.create) - ..aOM(2, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) - ..aOM(3, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) - ..aOM(4, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'update', subBuilder: ParticipantUpdate.create) - ..aOM(6, _omitFieldNames ? '' : 'trackPublished', subBuilder: TrackPublishedResponse.create) - ..aOM(8, _omitFieldNames ? '' : 'leave', subBuilder: LeaveRequest.create) - ..aOM(9, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'speakersChanged', subBuilder: SpeakersChanged.create) - ..aOM(11, _omitFieldNames ? '' : 'roomUpdate', subBuilder: RoomUpdate.create) - ..aOM(12, _omitFieldNames ? '' : 'connectionQuality', + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SignalResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..oo(0, [ + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29 + ]) + ..aOM(1, _omitFieldNames ? '' : 'join', + subBuilder: JoinResponse.create) + ..aOM(2, _omitFieldNames ? '' : 'answer', + subBuilder: SessionDescription.create) + ..aOM(3, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) + ..aOM(4, _omitFieldNames ? '' : 'trickle', + subBuilder: TrickleRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'update', + subBuilder: ParticipantUpdate.create) + ..aOM(6, _omitFieldNames ? '' : 'trackPublished', + subBuilder: TrackPublishedResponse.create) + ..aOM(8, _omitFieldNames ? '' : 'leave', + subBuilder: LeaveRequest.create) + ..aOM(9, _omitFieldNames ? '' : 'mute', + subBuilder: MuteTrackRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'speakersChanged', + subBuilder: SpeakersChanged.create) + ..aOM(11, _omitFieldNames ? '' : 'roomUpdate', + subBuilder: RoomUpdate.create) + ..aOM( + 12, _omitFieldNames ? '' : 'connectionQuality', subBuilder: ConnectionQualityUpdate.create) - ..aOM(13, _omitFieldNames ? '' : 'streamStateUpdate', subBuilder: StreamStateUpdate.create) - ..aOM(14, _omitFieldNames ? '' : 'subscribedQualityUpdate', + ..aOM(13, _omitFieldNames ? '' : 'streamStateUpdate', + subBuilder: StreamStateUpdate.create) + ..aOM( + 14, _omitFieldNames ? '' : 'subscribedQualityUpdate', subBuilder: SubscribedQualityUpdate.create) - ..aOM(15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', + ..aOM( + 15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', subBuilder: SubscriptionPermissionUpdate.create) ..aOS(16, _omitFieldNames ? '' : 'refreshToken') - ..aOM(17, _omitFieldNames ? '' : 'trackUnpublished', + ..aOM( + 17, _omitFieldNames ? '' : 'trackUnpublished', subBuilder: TrackUnpublishedResponse.create) ..aInt64(18, _omitFieldNames ? '' : 'pong') - ..aOM(19, _omitFieldNames ? '' : 'reconnect', subBuilder: ReconnectResponse.create) + ..aOM(19, _omitFieldNames ? '' : 'reconnect', + subBuilder: ReconnectResponse.create) ..aOM(20, _omitFieldNames ? '' : 'pongResp', subBuilder: Pong.create) - ..aOM(21, _omitFieldNames ? '' : 'subscriptionResponse', + ..aOM( + 21, _omitFieldNames ? '' : 'subscriptionResponse', subBuilder: SubscriptionResponse.create) - ..aOM(22, _omitFieldNames ? '' : 'requestResponse', subBuilder: RequestResponse.create) - ..aOM(23, _omitFieldNames ? '' : 'trackSubscribed', subBuilder: TrackSubscribed.create) - ..aOM(24, _omitFieldNames ? '' : 'roomMoved', subBuilder: RoomMovedResponse.create) - ..aOM(25, _omitFieldNames ? '' : 'mediaSectionsRequirement', + ..aOM(22, _omitFieldNames ? '' : 'requestResponse', + subBuilder: RequestResponse.create) + ..aOM(23, _omitFieldNames ? '' : 'trackSubscribed', + subBuilder: TrackSubscribed.create) + ..aOM(24, _omitFieldNames ? '' : 'roomMoved', + subBuilder: RoomMovedResponse.create) + ..aOM( + 25, _omitFieldNames ? '' : 'mediaSectionsRequirement', subBuilder: MediaSectionsRequirement.create) - ..aOM(26, _omitFieldNames ? '' : 'subscribedAudioCodecUpdate', + ..aOM( + 26, _omitFieldNames ? '' : 'subscribedAudioCodecUpdate', subBuilder: SubscribedAudioCodecUpdate.create) + ..aOM( + 27, _omitFieldNames ? '' : 'publishDataTrackResponse', + subBuilder: PublishDataTrackResponse.create) + ..aOM( + 28, _omitFieldNames ? '' : 'unpublishDataTrackResponse', + subBuilder: UnpublishDataTrackResponse.create) + ..aOM( + 29, _omitFieldNames ? '' : 'dataTrackSubscriberHandles', + subBuilder: DataTrackSubscriberHandles.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SignalResponse clone() => SignalResponse()..mergeFromMessage(this); + SignalResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalResponse copyWith(void Function(SignalResponse) updates) => - super.copyWith((message) => updates(message as SignalResponse)) as SignalResponse; + super.copyWith((message) => updates(message as SignalResponse)) + as SignalResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -537,12 +768,69 @@ class SignalResponse extends $pb.GeneratedMessage { static SignalResponse create() => SignalResponse._(); @$core.override SignalResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SignalResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SignalResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SignalResponse? _defaultInstance; - SignalResponse_Message whichMessage() => _SignalResponse_MessageByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + @$pb.TagNumber(12) + @$pb.TagNumber(13) + @$pb.TagNumber(14) + @$pb.TagNumber(15) + @$pb.TagNumber(16) + @$pb.TagNumber(17) + @$pb.TagNumber(18) + @$pb.TagNumber(19) + @$pb.TagNumber(20) + @$pb.TagNumber(21) + @$pb.TagNumber(22) + @$pb.TagNumber(23) + @$pb.TagNumber(24) + @$pb.TagNumber(25) + @$pb.TagNumber(26) + @$pb.TagNumber(27) + @$pb.TagNumber(28) + @$pb.TagNumber(29) + SignalResponse_Message whichMessage() => + _SignalResponse_MessageByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + @$pb.TagNumber(12) + @$pb.TagNumber(13) + @$pb.TagNumber(14) + @$pb.TagNumber(15) + @$pb.TagNumber(16) + @$pb.TagNumber(17) + @$pb.TagNumber(18) + @$pb.TagNumber(19) + @$pb.TagNumber(20) + @$pb.TagNumber(21) + @$pb.TagNumber(22) + @$pb.TagNumber(23) + @$pb.TagNumber(24) + @$pb.TagNumber(25) + @$pb.TagNumber(26) + @$pb.TagNumber(27) + @$pb.TagNumber(28) + @$pb.TagNumber(29) void clearMessage() => $_clearField($_whichOneof(0)); /// sent when join is accepted @@ -694,7 +982,8 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(14) SubscribedQualityUpdate get subscribedQualityUpdate => $_getN(12); @$pb.TagNumber(14) - set subscribedQualityUpdate(SubscribedQualityUpdate value) => $_setField(14, value); + set subscribedQualityUpdate(SubscribedQualityUpdate value) => + $_setField(14, value); @$pb.TagNumber(14) $core.bool hasSubscribedQualityUpdate() => $_has(12); @$pb.TagNumber(14) @@ -706,13 +995,15 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(15) SubscriptionPermissionUpdate get subscriptionPermissionUpdate => $_getN(13); @$pb.TagNumber(15) - set subscriptionPermissionUpdate(SubscriptionPermissionUpdate value) => $_setField(15, value); + set subscriptionPermissionUpdate(SubscriptionPermissionUpdate value) => + $_setField(15, value); @$pb.TagNumber(15) $core.bool hasSubscriptionPermissionUpdate() => $_has(13); @$pb.TagNumber(15) void clearSubscriptionPermissionUpdate() => $_clearField(15); @$pb.TagNumber(15) - SubscriptionPermissionUpdate ensureSubscriptionPermissionUpdate() => $_ensure(13); + SubscriptionPermissionUpdate ensureSubscriptionPermissionUpdate() => + $_ensure(13); /// update the token the client was using, to prevent an active client from using an expired token @$pb.TagNumber(16) @@ -822,7 +1113,8 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(25) MediaSectionsRequirement get mediaSectionsRequirement => $_getN(23); @$pb.TagNumber(25) - set mediaSectionsRequirement(MediaSectionsRequirement value) => $_setField(25, value); + set mediaSectionsRequirement(MediaSectionsRequirement value) => + $_setField(25, value); @$pb.TagNumber(25) $core.bool hasMediaSectionsRequirement() => $_has(23); @$pb.TagNumber(25) @@ -834,21 +1126,61 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(26) SubscribedAudioCodecUpdate get subscribedAudioCodecUpdate => $_getN(24); @$pb.TagNumber(26) - set subscribedAudioCodecUpdate(SubscribedAudioCodecUpdate value) => $_setField(26, value); + set subscribedAudioCodecUpdate(SubscribedAudioCodecUpdate value) => + $_setField(26, value); @$pb.TagNumber(26) $core.bool hasSubscribedAudioCodecUpdate() => $_has(24); @$pb.TagNumber(26) void clearSubscribedAudioCodecUpdate() => $_clearField(26); @$pb.TagNumber(26) SubscribedAudioCodecUpdate ensureSubscribedAudioCodecUpdate() => $_ensure(24); + + /// Sent in response to `PublishDataTrackRequest`. + @$pb.TagNumber(27) + PublishDataTrackResponse get publishDataTrackResponse => $_getN(25); + @$pb.TagNumber(27) + set publishDataTrackResponse(PublishDataTrackResponse value) => + $_setField(27, value); + @$pb.TagNumber(27) + $core.bool hasPublishDataTrackResponse() => $_has(25); + @$pb.TagNumber(27) + void clearPublishDataTrackResponse() => $_clearField(27); + @$pb.TagNumber(27) + PublishDataTrackResponse ensurePublishDataTrackResponse() => $_ensure(25); + + /// Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish. + @$pb.TagNumber(28) + UnpublishDataTrackResponse get unpublishDataTrackResponse => $_getN(26); + @$pb.TagNumber(28) + set unpublishDataTrackResponse(UnpublishDataTrackResponse value) => + $_setField(28, value); + @$pb.TagNumber(28) + $core.bool hasUnpublishDataTrackResponse() => $_has(26); + @$pb.TagNumber(28) + void clearUnpublishDataTrackResponse() => $_clearField(28); + @$pb.TagNumber(28) + UnpublishDataTrackResponse ensureUnpublishDataTrackResponse() => $_ensure(26); + + /// Sent to data track subscribers to provide mapping from track SIDs to handles. + @$pb.TagNumber(29) + DataTrackSubscriberHandles get dataTrackSubscriberHandles => $_getN(27); + @$pb.TagNumber(29) + set dataTrackSubscriberHandles(DataTrackSubscriberHandles value) => + $_setField(29, value); + @$pb.TagNumber(29) + $core.bool hasDataTrackSubscriberHandles() => $_has(27); + @$pb.TagNumber(29) + void clearDataTrackSubscriberHandles() => $_clearField(29); + @$pb.TagNumber(29) + DataTrackSubscriberHandles ensureDataTrackSubscriberHandles() => $_ensure(27); } class SimulcastCodec extends $pb.GeneratedMessage { factory SimulcastCodec({ $core.String? codec, $core.String? cid, - $core.Iterable<$2.VideoLayer>? layers, - $2.VideoLayer_Mode? videoLayerMode, + $core.Iterable<$0.VideoLayer>? layers, + $0.VideoLayer_Mode? videoLayerMode, }) { final result = create(); if (codec != null) result.codec = codec; @@ -863,25 +1195,28 @@ class SimulcastCodec extends $pb.GeneratedMessage { factory SimulcastCodec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SimulcastCodec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SimulcastCodec.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SimulcastCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') ..aOS(2, _omitFieldNames ? '' : 'cid') - ..pc<$2.VideoLayer>(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) - ..e<$2.VideoLayer_Mode>(5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoLayer_Mode.MODE_UNUSED, - valueOf: $2.VideoLayer_Mode.valueOf, - enumValues: $2.VideoLayer_Mode.values) + ..pPM<$0.VideoLayer>(4, _omitFieldNames ? '' : 'layers', + subBuilder: $0.VideoLayer.create) + ..aE<$0.VideoLayer_Mode>(5, _omitFieldNames ? '' : 'videoLayerMode', + enumValues: $0.VideoLayer_Mode.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SimulcastCodec clone() => SimulcastCodec()..mergeFromMessage(this); + SimulcastCodec clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulcastCodec copyWith(void Function(SimulcastCodec) updates) => - super.copyWith((message) => updates(message as SimulcastCodec)) as SimulcastCodec; + super.copyWith((message) => updates(message as SimulcastCodec)) + as SimulcastCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -890,9 +1225,9 @@ class SimulcastCodec extends $pb.GeneratedMessage { static SimulcastCodec create() => SimulcastCodec._(); @$core.override SimulcastCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulcastCodec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimulcastCodec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SimulcastCodec? _defaultInstance; @$pb.TagNumber(1) @@ -914,12 +1249,12 @@ class SimulcastCodec extends $pb.GeneratedMessage { void clearCid() => $_clearField(2); @$pb.TagNumber(4) - $pb.PbList<$2.VideoLayer> get layers => $_getList(2); + $pb.PbList<$0.VideoLayer> get layers => $_getList(2); @$pb.TagNumber(5) - $2.VideoLayer_Mode get videoLayerMode => $_getN(3); + $0.VideoLayer_Mode get videoLayerMode => $_getN(3); @$pb.TagNumber(5) - set videoLayerMode($2.VideoLayer_Mode value) => $_setField(5, value); + set videoLayerMode($0.VideoLayer_Mode value) => $_setField(5, value); @$pb.TagNumber(5) $core.bool hasVideoLayerMode() => $_has(3); @$pb.TagNumber(5) @@ -930,21 +1265,21 @@ class AddTrackRequest extends $pb.GeneratedMessage { factory AddTrackRequest({ $core.String? cid, $core.String? name, - $2.TrackType? type, + $0.TrackType? type, $core.int? width, $core.int? height, $core.bool? muted, @$core.Deprecated('This field is deprecated.') $core.bool? disableDtx, - $2.TrackSource? source, - $core.Iterable<$2.VideoLayer>? layers, + $0.TrackSource? source, + $core.Iterable<$0.VideoLayer>? layers, $core.Iterable? simulcastCodecs, $core.String? sid, @$core.Deprecated('This field is deprecated.') $core.bool? stereo, $core.bool? disableRed, - $2.Encryption_Type? encryption, + $0.Encryption_Type? encryption, $core.String? stream, - $2.BackupCodecPolicy? backupCodecPolicy, - $core.Iterable<$2.AudioTrackFeature>? audioFeatures, + $0.BackupCodecPolicy? backupCodecPolicy, + $core.Iterable<$0.AudioTrackFeature>? audioFeatures, }) { final result = create(); if (cid != null) result.cid = cid; @@ -972,47 +1307,49 @@ class AddTrackRequest extends $pb.GeneratedMessage { factory AddTrackRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AddTrackRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory AddTrackRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTrackRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AddTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') ..aOS(2, _omitFieldNames ? '' : 'name') - ..e<$2.TrackType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, - defaultOrMaker: $2.TrackType.AUDIO, valueOf: $2.TrackType.valueOf, enumValues: $2.TrackType.values) - ..a<$core.int>(4, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) - ..a<$core.int>(5, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) + ..aE<$0.TrackType>(3, _omitFieldNames ? '' : 'type', + enumValues: $0.TrackType.values) + ..aI(4, _omitFieldNames ? '' : 'width', fieldType: $pb.PbFieldType.OU3) + ..aI(5, _omitFieldNames ? '' : 'height', fieldType: $pb.PbFieldType.OU3) ..aOB(6, _omitFieldNames ? '' : 'muted') ..aOB(7, _omitFieldNames ? '' : 'disableDtx') - ..e<$2.TrackSource>(8, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, - defaultOrMaker: $2.TrackSource.UNKNOWN, valueOf: $2.TrackSource.valueOf, enumValues: $2.TrackSource.values) - ..pc<$2.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) - ..pc(10, _omitFieldNames ? '' : 'simulcastCodecs', $pb.PbFieldType.PM, + ..aE<$0.TrackSource>(8, _omitFieldNames ? '' : 'source', + enumValues: $0.TrackSource.values) + ..pPM<$0.VideoLayer>(9, _omitFieldNames ? '' : 'layers', + subBuilder: $0.VideoLayer.create) + ..pPM(10, _omitFieldNames ? '' : 'simulcastCodecs', subBuilder: SimulcastCodec.create) ..aOS(11, _omitFieldNames ? '' : 'sid') ..aOB(12, _omitFieldNames ? '' : 'stereo') ..aOB(13, _omitFieldNames ? '' : 'disableRed') - ..e<$2.Encryption_Type>(14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, - defaultOrMaker: $2.Encryption_Type.NONE, - valueOf: $2.Encryption_Type.valueOf, - enumValues: $2.Encryption_Type.values) + ..aE<$0.Encryption_Type>(14, _omitFieldNames ? '' : 'encryption', + enumValues: $0.Encryption_Type.values) ..aOS(15, _omitFieldNames ? '' : 'stream') - ..e<$2.BackupCodecPolicy>(16, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, - defaultOrMaker: $2.BackupCodecPolicy.PREFER_REGRESSION, - valueOf: $2.BackupCodecPolicy.valueOf, - enumValues: $2.BackupCodecPolicy.values) - ..pc<$2.AudioTrackFeature>(17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, - valueOf: $2.AudioTrackFeature.valueOf, - enumValues: $2.AudioTrackFeature.values, - defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) + ..aE<$0.BackupCodecPolicy>(16, _omitFieldNames ? '' : 'backupCodecPolicy', + enumValues: $0.BackupCodecPolicy.values) + ..pc<$0.AudioTrackFeature>( + 17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, + valueOf: $0.AudioTrackFeature.valueOf, + enumValues: $0.AudioTrackFeature.values, + defaultEnumValue: $0.AudioTrackFeature.TF_STEREO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AddTrackRequest clone() => AddTrackRequest()..mergeFromMessage(this); + AddTrackRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AddTrackRequest copyWith(void Function(AddTrackRequest) updates) => - super.copyWith((message) => updates(message as AddTrackRequest)) as AddTrackRequest; + super.copyWith((message) => updates(message as AddTrackRequest)) + as AddTrackRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1021,10 +1358,9 @@ class AddTrackRequest extends $pb.GeneratedMessage { static AddTrackRequest create() => AddTrackRequest._(); @$core.override AddTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static AddTrackRequest getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AddTrackRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static AddTrackRequest? _defaultInstance; /// client ID of track, to match it when RTC track is received @@ -1047,9 +1383,9 @@ class AddTrackRequest extends $pb.GeneratedMessage { void clearName() => $_clearField(2); @$pb.TagNumber(3) - $2.TrackType get type => $_getN(2); + $0.TrackType get type => $_getN(2); @$pb.TagNumber(3) - set type($2.TrackType value) => $_setField(3, value); + set type($0.TrackType value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasType() => $_has(2); @$pb.TagNumber(3) @@ -1098,16 +1434,16 @@ class AddTrackRequest extends $pb.GeneratedMessage { void clearDisableDtx() => $_clearField(7); @$pb.TagNumber(8) - $2.TrackSource get source => $_getN(7); + $0.TrackSource get source => $_getN(7); @$pb.TagNumber(8) - set source($2.TrackSource value) => $_setField(8, value); + set source($0.TrackSource value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasSource() => $_has(7); @$pb.TagNumber(8) void clearSource() => $_clearField(8); @$pb.TagNumber(9) - $pb.PbList<$2.VideoLayer> get layers => $_getList(8); + $pb.PbList<$0.VideoLayer> get layers => $_getList(8); @$pb.TagNumber(10) $pb.PbList get simulcastCodecs => $_getList(9); @@ -1146,9 +1482,9 @@ class AddTrackRequest extends $pb.GeneratedMessage { void clearDisableRed() => $_clearField(13); @$pb.TagNumber(14) - $2.Encryption_Type get encryption => $_getN(13); + $0.Encryption_Type get encryption => $_getN(13); @$pb.TagNumber(14) - set encryption($2.Encryption_Type value) => $_setField(14, value); + set encryption($0.Encryption_Type value) => $_setField(14, value); @$pb.TagNumber(14) $core.bool hasEncryption() => $_has(13); @$pb.TagNumber(14) @@ -1166,16 +1502,426 @@ class AddTrackRequest extends $pb.GeneratedMessage { void clearStream() => $_clearField(15); @$pb.TagNumber(16) - $2.BackupCodecPolicy get backupCodecPolicy => $_getN(15); + $0.BackupCodecPolicy get backupCodecPolicy => $_getN(15); @$pb.TagNumber(16) - set backupCodecPolicy($2.BackupCodecPolicy value) => $_setField(16, value); + set backupCodecPolicy($0.BackupCodecPolicy value) => $_setField(16, value); @$pb.TagNumber(16) $core.bool hasBackupCodecPolicy() => $_has(15); @$pb.TagNumber(16) void clearBackupCodecPolicy() => $_clearField(16); @$pb.TagNumber(17) - $pb.PbList<$2.AudioTrackFeature> get audioFeatures => $_getList(16); + $pb.PbList<$0.AudioTrackFeature> get audioFeatures => $_getList(16); +} + +class PublishDataTrackRequest extends $pb.GeneratedMessage { + factory PublishDataTrackRequest({ + $core.int? pubHandle, + $core.String? name, + $0.Encryption_Type? encryption, + }) { + final result = create(); + if (pubHandle != null) result.pubHandle = pubHandle; + if (name != null) result.name = name; + if (encryption != null) result.encryption = encryption; + return result; + } + + PublishDataTrackRequest._(); + + factory PublishDataTrackRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PublishDataTrackRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PublishDataTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'pubHandle', fieldType: $pb.PbFieldType.OU3) + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aE<$0.Encryption_Type>(3, _omitFieldNames ? '' : 'encryption', + enumValues: $0.Encryption_Type.values) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PublishDataTrackRequest clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PublishDataTrackRequest copyWith( + void Function(PublishDataTrackRequest) updates) => + super.copyWith((message) => updates(message as PublishDataTrackRequest)) + as PublishDataTrackRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PublishDataTrackRequest create() => PublishDataTrackRequest._(); + @$core.override + PublishDataTrackRequest createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static PublishDataTrackRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static PublishDataTrackRequest? _defaultInstance; + + /// Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. + /// This must be non-zero and unique for each data track published by the publisher. + @$pb.TagNumber(1) + $core.int get pubHandle => $_getIZ(0); + @$pb.TagNumber(1) + set pubHandle($core.int value) => $_setUnsignedInt32(0, value); + @$pb.TagNumber(1) + $core.bool hasPubHandle() => $_has(0); + @$pb.TagNumber(1) + void clearPubHandle() => $_clearField(1); + + /// Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. + /// This must be non-empty and no longer than 256 characters. + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => $_clearField(2); + + /// Method used for end-to-end encryption (E2EE) on frame payloads. + @$pb.TagNumber(3) + $0.Encryption_Type get encryption => $_getN(2); + @$pb.TagNumber(3) + set encryption($0.Encryption_Type value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasEncryption() => $_has(2); + @$pb.TagNumber(3) + void clearEncryption() => $_clearField(3); +} + +class PublishDataTrackResponse extends $pb.GeneratedMessage { + factory PublishDataTrackResponse({ + $0.DataTrackInfo? info, + }) { + final result = create(); + if (info != null) result.info = info; + return result; + } + + PublishDataTrackResponse._(); + + factory PublishDataTrackResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory PublishDataTrackResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PublishDataTrackResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.DataTrackInfo>(1, _omitFieldNames ? '' : 'info', + subBuilder: $0.DataTrackInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PublishDataTrackResponse clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PublishDataTrackResponse copyWith( + void Function(PublishDataTrackResponse) updates) => + super.copyWith((message) => updates(message as PublishDataTrackResponse)) + as PublishDataTrackResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PublishDataTrackResponse create() => PublishDataTrackResponse._(); + @$core.override + PublishDataTrackResponse createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static PublishDataTrackResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static PublishDataTrackResponse? _defaultInstance; + + /// Information about the published track. + @$pb.TagNumber(1) + $0.DataTrackInfo get info => $_getN(0); + @$pb.TagNumber(1) + set info($0.DataTrackInfo value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasInfo() => $_has(0); + @$pb.TagNumber(1) + void clearInfo() => $_clearField(1); + @$pb.TagNumber(1) + $0.DataTrackInfo ensureInfo() => $_ensure(0); +} + +class UnpublishDataTrackRequest extends $pb.GeneratedMessage { + factory UnpublishDataTrackRequest({ + $core.int? pubHandle, + }) { + final result = create(); + if (pubHandle != null) result.pubHandle = pubHandle; + return result; + } + + UnpublishDataTrackRequest._(); + + factory UnpublishDataTrackRequest.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UnpublishDataTrackRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UnpublishDataTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'pubHandle', fieldType: $pb.PbFieldType.OU3) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UnpublishDataTrackRequest clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UnpublishDataTrackRequest copyWith( + void Function(UnpublishDataTrackRequest) updates) => + super.copyWith((message) => updates(message as UnpublishDataTrackRequest)) + as UnpublishDataTrackRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UnpublishDataTrackRequest create() => UnpublishDataTrackRequest._(); + @$core.override + UnpublishDataTrackRequest createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static UnpublishDataTrackRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UnpublishDataTrackRequest? _defaultInstance; + + /// Publisher handle of the track to unpublish. + @$pb.TagNumber(1) + $core.int get pubHandle => $_getIZ(0); + @$pb.TagNumber(1) + set pubHandle($core.int value) => $_setUnsignedInt32(0, value); + @$pb.TagNumber(1) + $core.bool hasPubHandle() => $_has(0); + @$pb.TagNumber(1) + void clearPubHandle() => $_clearField(1); +} + +class UnpublishDataTrackResponse extends $pb.GeneratedMessage { + factory UnpublishDataTrackResponse({ + $0.DataTrackInfo? info, + }) { + final result = create(); + if (info != null) result.info = info; + return result; + } + + UnpublishDataTrackResponse._(); + + factory UnpublishDataTrackResponse.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UnpublishDataTrackResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UnpublishDataTrackResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.DataTrackInfo>(1, _omitFieldNames ? '' : 'info', + subBuilder: $0.DataTrackInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UnpublishDataTrackResponse clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UnpublishDataTrackResponse copyWith( + void Function(UnpublishDataTrackResponse) updates) => + super.copyWith( + (message) => updates(message as UnpublishDataTrackResponse)) + as UnpublishDataTrackResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UnpublishDataTrackResponse create() => UnpublishDataTrackResponse._(); + @$core.override + UnpublishDataTrackResponse createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static UnpublishDataTrackResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UnpublishDataTrackResponse? _defaultInstance; + + /// Information about the unpublished track. + @$pb.TagNumber(1) + $0.DataTrackInfo get info => $_getN(0); + @$pb.TagNumber(1) + set info($0.DataTrackInfo value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasInfo() => $_has(0); + @$pb.TagNumber(1) + void clearInfo() => $_clearField(1); + @$pb.TagNumber(1) + $0.DataTrackInfo ensureInfo() => $_ensure(0); +} + +class DataTrackSubscriberHandles_PublishedDataTrack + extends $pb.GeneratedMessage { + factory DataTrackSubscriberHandles_PublishedDataTrack({ + $core.String? publisherIdentity, + $core.String? publisherSid, + $core.String? trackSid, + }) { + final result = create(); + if (publisherIdentity != null) result.publisherIdentity = publisherIdentity; + if (publisherSid != null) result.publisherSid = publisherSid; + if (trackSid != null) result.trackSid = trackSid; + return result; + } + + DataTrackSubscriberHandles_PublishedDataTrack._(); + + factory DataTrackSubscriberHandles_PublishedDataTrack.fromBuffer( + $core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DataTrackSubscriberHandles_PublishedDataTrack.fromJson( + $core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataTrackSubscriberHandles.PublishedDataTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'publisherIdentity') + ..aOS(2, _omitFieldNames ? '' : 'publisherSid') + ..aOS(3, _omitFieldNames ? '' : 'trackSid') + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackSubscriberHandles_PublishedDataTrack clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackSubscriberHandles_PublishedDataTrack copyWith( + void Function(DataTrackSubscriberHandles_PublishedDataTrack) + updates) => + super.copyWith((message) => + updates(message as DataTrackSubscriberHandles_PublishedDataTrack)) + as DataTrackSubscriberHandles_PublishedDataTrack; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DataTrackSubscriberHandles_PublishedDataTrack create() => + DataTrackSubscriberHandles_PublishedDataTrack._(); + @$core.override + DataTrackSubscriberHandles_PublishedDataTrack createEmptyInstance() => + create(); + @$core.pragma('dart2js:noInline') + static DataTrackSubscriberHandles_PublishedDataTrack getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor< + DataTrackSubscriberHandles_PublishedDataTrack>(create); + static DataTrackSubscriberHandles_PublishedDataTrack? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get publisherIdentity => $_getSZ(0); + @$pb.TagNumber(1) + set publisherIdentity($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasPublisherIdentity() => $_has(0); + @$pb.TagNumber(1) + void clearPublisherIdentity() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get publisherSid => $_getSZ(1); + @$pb.TagNumber(2) + set publisherSid($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasPublisherSid() => $_has(1); + @$pb.TagNumber(2) + void clearPublisherSid() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get trackSid => $_getSZ(2); + @$pb.TagNumber(3) + set trackSid($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasTrackSid() => $_has(2); + @$pb.TagNumber(3) + void clearTrackSid() => $_clearField(3); +} + +class DataTrackSubscriberHandles extends $pb.GeneratedMessage { + factory DataTrackSubscriberHandles({ + $core.Iterable< + $core.MapEntry<$core.int, + DataTrackSubscriberHandles_PublishedDataTrack>>? + subHandles, + }) { + final result = create(); + if (subHandles != null) result.subHandles.addEntries(subHandles); + return result; + } + + DataTrackSubscriberHandles._(); + + factory DataTrackSubscriberHandles.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory DataTrackSubscriberHandles.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataTrackSubscriberHandles', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..m<$core.int, DataTrackSubscriberHandles_PublishedDataTrack>( + 1, _omitFieldNames ? '' : 'subHandles', + entryClassName: 'DataTrackSubscriberHandles.SubHandlesEntry', + keyFieldType: $pb.PbFieldType.OU3, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: DataTrackSubscriberHandles_PublishedDataTrack.create, + valueDefaultOrMaker: + DataTrackSubscriberHandles_PublishedDataTrack.getDefault, + packageName: const $pb.PackageName('livekit')) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackSubscriberHandles clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DataTrackSubscriberHandles copyWith( + void Function(DataTrackSubscriberHandles) updates) => + super.copyWith( + (message) => updates(message as DataTrackSubscriberHandles)) + as DataTrackSubscriberHandles; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DataTrackSubscriberHandles create() => DataTrackSubscriberHandles._(); + @$core.override + DataTrackSubscriberHandles createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static DataTrackSubscriberHandles getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DataTrackSubscriberHandles? _defaultInstance; + + /// Maps handles from incoming packets to the track SIDs that the packets belong to. + @$pb.TagNumber(1) + $pb.PbMap<$core.int, DataTrackSubscriberHandles_PublishedDataTrack> + get subHandles => $_getMap(0); } class TrickleRequest extends $pb.GeneratedMessage { @@ -1196,22 +1942,26 @@ class TrickleRequest extends $pb.GeneratedMessage { factory TrickleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrickleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrickleRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrickleRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrickleRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'candidateInit', protoName: 'candidateInit') - ..e(2, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, - defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) + ..aE(2, _omitFieldNames ? '' : 'target', + enumValues: SignalTarget.values) ..aOB(3, _omitFieldNames ? '' : 'final') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrickleRequest clone() => TrickleRequest()..mergeFromMessage(this); + TrickleRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrickleRequest copyWith(void Function(TrickleRequest) updates) => - super.copyWith((message) => updates(message as TrickleRequest)) as TrickleRequest; + super.copyWith((message) => updates(message as TrickleRequest)) + as TrickleRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1220,9 +1970,9 @@ class TrickleRequest extends $pb.GeneratedMessage { static TrickleRequest create() => TrickleRequest._(); @$core.override TrickleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrickleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrickleRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrickleRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1273,17 +2023,20 @@ class MuteTrackRequest extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MuteTrackRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MuteTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOB(2, _omitFieldNames ? '' : 'muted') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MuteTrackRequest clone() => MuteTrackRequest()..mergeFromMessage(this); + MuteTrackRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MuteTrackRequest copyWith(void Function(MuteTrackRequest) updates) => - super.copyWith((message) => updates(message as MuteTrackRequest)) as MuteTrackRequest; + super.copyWith((message) => updates(message as MuteTrackRequest)) + as MuteTrackRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1292,10 +2045,9 @@ class MuteTrackRequest extends $pb.GeneratedMessage { static MuteTrackRequest create() => MuteTrackRequest._(); @$core.override MuteTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MuteTrackRequest getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MuteTrackRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MuteTrackRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1319,37 +2071,40 @@ class MuteTrackRequest extends $pb.GeneratedMessage { class JoinResponse extends $pb.GeneratedMessage { factory JoinResponse({ - $2.Room? room, - $2.ParticipantInfo? participant, - $core.Iterable<$2.ParticipantInfo>? otherParticipants, + $0.Room? room, + $0.ParticipantInfo? participant, + $core.Iterable<$0.ParticipantInfo>? otherParticipants, $core.String? serverVersion, $core.Iterable? iceServers, $core.bool? subscriberPrimary, $core.String? alternativeUrl, - $2.ClientConfiguration? clientConfiguration, + $0.ClientConfiguration? clientConfiguration, $core.String? serverRegion, $core.int? pingTimeout, $core.int? pingInterval, - $2.ServerInfo? serverInfo, + $0.ServerInfo? serverInfo, $core.List<$core.int>? sifTrailer, - $core.Iterable<$2.Codec>? enabledPublishCodecs, + $core.Iterable<$0.Codec>? enabledPublishCodecs, $core.bool? fastPublish, }) { final result = create(); if (room != null) result.room = room; if (participant != null) result.participant = participant; - if (otherParticipants != null) result.otherParticipants.addAll(otherParticipants); + if (otherParticipants != null) + result.otherParticipants.addAll(otherParticipants); if (serverVersion != null) result.serverVersion = serverVersion; if (iceServers != null) result.iceServers.addAll(iceServers); if (subscriberPrimary != null) result.subscriberPrimary = subscriberPrimary; if (alternativeUrl != null) result.alternativeUrl = alternativeUrl; - if (clientConfiguration != null) result.clientConfiguration = clientConfiguration; + if (clientConfiguration != null) + result.clientConfiguration = clientConfiguration; if (serverRegion != null) result.serverRegion = serverRegion; if (pingTimeout != null) result.pingTimeout = pingTimeout; if (pingInterval != null) result.pingInterval = pingInterval; if (serverInfo != null) result.serverInfo = serverInfo; if (sifTrailer != null) result.sifTrailer = sifTrailer; - if (enabledPublishCodecs != null) result.enabledPublishCodecs.addAll(enabledPublishCodecs); + if (enabledPublishCodecs != null) + result.enabledPublishCodecs.addAll(enabledPublishCodecs); if (fastPublish != null) result.fastPublish = fastPublish; return result; } @@ -1359,35 +2114,45 @@ class JoinResponse extends $pb.GeneratedMessage { factory JoinResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory JoinResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory JoinResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) - ..aOM<$2.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, - subBuilder: $2.ParticipantInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'JoinResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $0.Room.create) + ..aOM<$0.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', + subBuilder: $0.ParticipantInfo.create) + ..pPM<$0.ParticipantInfo>(3, _omitFieldNames ? '' : 'otherParticipants', + subBuilder: $0.ParticipantInfo.create) ..aOS(4, _omitFieldNames ? '' : 'serverVersion') - ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) + ..pPM(5, _omitFieldNames ? '' : 'iceServers', + subBuilder: ICEServer.create) ..aOB(6, _omitFieldNames ? '' : 'subscriberPrimary') ..aOS(7, _omitFieldNames ? '' : 'alternativeUrl') - ..aOM<$2.ClientConfiguration>(8, _omitFieldNames ? '' : 'clientConfiguration', - subBuilder: $2.ClientConfiguration.create) + ..aOM<$0.ClientConfiguration>( + 8, _omitFieldNames ? '' : 'clientConfiguration', + subBuilder: $0.ClientConfiguration.create) ..aOS(9, _omitFieldNames ? '' : 'serverRegion') - ..a<$core.int>(10, _omitFieldNames ? '' : 'pingTimeout', $pb.PbFieldType.O3) - ..a<$core.int>(11, _omitFieldNames ? '' : 'pingInterval', $pb.PbFieldType.O3) - ..aOM<$2.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) - ..a<$core.List<$core.int>>(13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) - ..pc<$2.Codec>(14, _omitFieldNames ? '' : 'enabledPublishCodecs', $pb.PbFieldType.PM, subBuilder: $2.Codec.create) + ..aI(10, _omitFieldNames ? '' : 'pingTimeout') + ..aI(11, _omitFieldNames ? '' : 'pingInterval') + ..aOM<$0.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', + subBuilder: $0.ServerInfo.create) + ..a<$core.List<$core.int>>( + 13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) + ..pPM<$0.Codec>(14, _omitFieldNames ? '' : 'enabledPublishCodecs', + subBuilder: $0.Codec.create) ..aOB(15, _omitFieldNames ? '' : 'fastPublish') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - JoinResponse clone() => JoinResponse()..mergeFromMessage(this); + JoinResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinResponse copyWith(void Function(JoinResponse) updates) => - super.copyWith((message) => updates(message as JoinResponse)) as JoinResponse; + super.copyWith((message) => updates(message as JoinResponse)) + as JoinResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1396,35 +2161,35 @@ class JoinResponse extends $pb.GeneratedMessage { static JoinResponse create() => JoinResponse._(); @$core.override JoinResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static JoinResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static JoinResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static JoinResponse? _defaultInstance; @$pb.TagNumber(1) - $2.Room get room => $_getN(0); + $0.Room get room => $_getN(0); @$pb.TagNumber(1) - set room($2.Room value) => $_setField(1, value); + set room($0.Room value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasRoom() => $_has(0); @$pb.TagNumber(1) void clearRoom() => $_clearField(1); @$pb.TagNumber(1) - $2.Room ensureRoom() => $_ensure(0); + $0.Room ensureRoom() => $_ensure(0); @$pb.TagNumber(2) - $2.ParticipantInfo get participant => $_getN(1); + $0.ParticipantInfo get participant => $_getN(1); @$pb.TagNumber(2) - set participant($2.ParticipantInfo value) => $_setField(2, value); + set participant($0.ParticipantInfo value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasParticipant() => $_has(1); @$pb.TagNumber(2) void clearParticipant() => $_clearField(2); @$pb.TagNumber(2) - $2.ParticipantInfo ensureParticipant() => $_ensure(1); + $0.ParticipantInfo ensureParticipant() => $_ensure(1); @$pb.TagNumber(3) - $pb.PbList<$2.ParticipantInfo> get otherParticipants => $_getList(2); + $pb.PbList<$0.ParticipantInfo> get otherParticipants => $_getList(2); /// deprecated. use server_info.version instead. @$pb.TagNumber(4) @@ -1461,15 +2226,15 @@ class JoinResponse extends $pb.GeneratedMessage { void clearAlternativeUrl() => $_clearField(7); @$pb.TagNumber(8) - $2.ClientConfiguration get clientConfiguration => $_getN(7); + $0.ClientConfiguration get clientConfiguration => $_getN(7); @$pb.TagNumber(8) - set clientConfiguration($2.ClientConfiguration value) => $_setField(8, value); + set clientConfiguration($0.ClientConfiguration value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasClientConfiguration() => $_has(7); @$pb.TagNumber(8) void clearClientConfiguration() => $_clearField(8); @$pb.TagNumber(8) - $2.ClientConfiguration ensureClientConfiguration() => $_ensure(7); + $0.ClientConfiguration ensureClientConfiguration() => $_ensure(7); /// deprecated. use server_info.region instead. @$pb.TagNumber(9) @@ -1500,15 +2265,15 @@ class JoinResponse extends $pb.GeneratedMessage { void clearPingInterval() => $_clearField(11); @$pb.TagNumber(12) - $2.ServerInfo get serverInfo => $_getN(11); + $0.ServerInfo get serverInfo => $_getN(11); @$pb.TagNumber(12) - set serverInfo($2.ServerInfo value) => $_setField(12, value); + set serverInfo($0.ServerInfo value) => $_setField(12, value); @$pb.TagNumber(12) $core.bool hasServerInfo() => $_has(11); @$pb.TagNumber(12) void clearServerInfo() => $_clearField(12); @$pb.TagNumber(12) - $2.ServerInfo ensureServerInfo() => $_ensure(11); + $0.ServerInfo ensureServerInfo() => $_ensure(11); /// Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled @$pb.TagNumber(13) @@ -1521,7 +2286,7 @@ class JoinResponse extends $pb.GeneratedMessage { void clearSifTrailer() => $_clearField(13); @$pb.TagNumber(14) - $pb.PbList<$2.Codec> get enabledPublishCodecs => $_getList(13); + $pb.PbList<$0.Codec> get enabledPublishCodecs => $_getList(13); /// when set, client should attempt to establish publish peer connection when joining room to speed up publishing @$pb.TagNumber(15) @@ -1537,13 +2302,14 @@ class JoinResponse extends $pb.GeneratedMessage { class ReconnectResponse extends $pb.GeneratedMessage { factory ReconnectResponse({ $core.Iterable? iceServers, - $2.ClientConfiguration? clientConfiguration, - $2.ServerInfo? serverInfo, + $0.ClientConfiguration? clientConfiguration, + $0.ServerInfo? serverInfo, $core.int? lastMessageSeq, }) { final result = create(); if (iceServers != null) result.iceServers.addAll(iceServers); - if (clientConfiguration != null) result.clientConfiguration = clientConfiguration; + if (clientConfiguration != null) + result.clientConfiguration = clientConfiguration; if (serverInfo != null) result.serverInfo = serverInfo; if (lastMessageSeq != null) result.lastMessageSeq = lastMessageSeq; return result; @@ -1558,20 +2324,27 @@ class ReconnectResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconnectResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) - ..aOM<$2.ClientConfiguration>(2, _omitFieldNames ? '' : 'clientConfiguration', - subBuilder: $2.ClientConfiguration.create) - ..aOM<$2.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) - ..a<$core.int>(4, _omitFieldNames ? '' : 'lastMessageSeq', $pb.PbFieldType.OU3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ReconnectResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'iceServers', + subBuilder: ICEServer.create) + ..aOM<$0.ClientConfiguration>( + 2, _omitFieldNames ? '' : 'clientConfiguration', + subBuilder: $0.ClientConfiguration.create) + ..aOM<$0.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', + subBuilder: $0.ServerInfo.create) + ..aI(4, _omitFieldNames ? '' : 'lastMessageSeq', + fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ReconnectResponse clone() => ReconnectResponse()..mergeFromMessage(this); + ReconnectResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ReconnectResponse copyWith(void Function(ReconnectResponse) updates) => - super.copyWith((message) => updates(message as ReconnectResponse)) as ReconnectResponse; + super.copyWith((message) => updates(message as ReconnectResponse)) + as ReconnectResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1580,36 +2353,35 @@ class ReconnectResponse extends $pb.GeneratedMessage { static ReconnectResponse create() => ReconnectResponse._(); @$core.override ReconnectResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ReconnectResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ReconnectResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ReconnectResponse? _defaultInstance; @$pb.TagNumber(1) $pb.PbList get iceServers => $_getList(0); @$pb.TagNumber(2) - $2.ClientConfiguration get clientConfiguration => $_getN(1); + $0.ClientConfiguration get clientConfiguration => $_getN(1); @$pb.TagNumber(2) - set clientConfiguration($2.ClientConfiguration value) => $_setField(2, value); + set clientConfiguration($0.ClientConfiguration value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasClientConfiguration() => $_has(1); @$pb.TagNumber(2) void clearClientConfiguration() => $_clearField(2); @$pb.TagNumber(2) - $2.ClientConfiguration ensureClientConfiguration() => $_ensure(1); + $0.ClientConfiguration ensureClientConfiguration() => $_ensure(1); @$pb.TagNumber(3) - $2.ServerInfo get serverInfo => $_getN(2); + $0.ServerInfo get serverInfo => $_getN(2); @$pb.TagNumber(3) - set serverInfo($2.ServerInfo value) => $_setField(3, value); + set serverInfo($0.ServerInfo value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasServerInfo() => $_has(2); @$pb.TagNumber(3) void clearServerInfo() => $_clearField(3); @$pb.TagNumber(3) - $2.ServerInfo ensureServerInfo() => $_ensure(2); + $0.ServerInfo ensureServerInfo() => $_ensure(2); /// last sequence number of reliable message received before resuming @$pb.TagNumber(4) @@ -1625,7 +2397,7 @@ class ReconnectResponse extends $pb.GeneratedMessage { class TrackPublishedResponse extends $pb.GeneratedMessage { factory TrackPublishedResponse({ $core.String? cid, - $2.TrackInfo? track, + $0.TrackInfo? track, }) { final result = create(); if (cid != null) result.cid = cid; @@ -1642,17 +2414,22 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPublishedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackPublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') - ..aOM<$2.TrackInfo>(2, _omitFieldNames ? '' : 'track', subBuilder: $2.TrackInfo.create) + ..aOM<$0.TrackInfo>(2, _omitFieldNames ? '' : 'track', + subBuilder: $0.TrackInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse clone() => TrackPublishedResponse()..mergeFromMessage(this); + TrackPublishedResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse copyWith(void Function(TrackPublishedResponse) updates) => - super.copyWith((message) => updates(message as TrackPublishedResponse)) as TrackPublishedResponse; + TrackPublishedResponse copyWith( + void Function(TrackPublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackPublishedResponse)) + as TrackPublishedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1661,10 +2438,9 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { static TrackPublishedResponse create() => TrackPublishedResponse._(); @$core.override TrackPublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackPublishedResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackPublishedResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackPublishedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1677,15 +2453,15 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { void clearCid() => $_clearField(1); @$pb.TagNumber(2) - $2.TrackInfo get track => $_getN(1); + $0.TrackInfo get track => $_getN(1); @$pb.TagNumber(2) - set track($2.TrackInfo value) => $_setField(2, value); + set track($0.TrackInfo value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasTrack() => $_has(1); @$pb.TagNumber(2) void clearTrack() => $_clearField(2); @$pb.TagNumber(2) - $2.TrackInfo ensureTrack() => $_ensure(1); + $0.TrackInfo ensureTrack() => $_ensure(1); } class TrackUnpublishedResponse extends $pb.GeneratedMessage { @@ -1706,16 +2482,20 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackUnpublishedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackUnpublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackUnpublishedResponse clone() => TrackUnpublishedResponse()..mergeFromMessage(this); + TrackUnpublishedResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackUnpublishedResponse copyWith(void Function(TrackUnpublishedResponse) updates) => - super.copyWith((message) => updates(message as TrackUnpublishedResponse)) as TrackUnpublishedResponse; + TrackUnpublishedResponse copyWith( + void Function(TrackUnpublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackUnpublishedResponse)) + as TrackUnpublishedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1724,10 +2504,9 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { static TrackUnpublishedResponse create() => TrackUnpublishedResponse._(); @$core.override TrackUnpublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackUnpublishedResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackUnpublishedResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackUnpublishedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1745,11 +2524,13 @@ class SessionDescription extends $pb.GeneratedMessage { $core.String? type, $core.String? sdp, $core.int? id, + $core.Iterable<$core.MapEntry<$core.String, $core.String>>? midToTrackId, }) { final result = create(); if (type != null) result.type = type; if (sdp != null) result.sdp = sdp; if (id != null) result.id = id; + if (midToTrackId != null) result.midToTrackId.addEntries(midToTrackId); return result; } @@ -1762,18 +2543,26 @@ class SessionDescription extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionDescription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SessionDescription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'type') ..aOS(2, _omitFieldNames ? '' : 'sdp') - ..a<$core.int>(3, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'id', fieldType: $pb.PbFieldType.OU3) + ..m<$core.String, $core.String>(4, _omitFieldNames ? '' : 'midToTrackId', + entryClassName: 'SessionDescription.MidToTrackIdEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OS, + packageName: const $pb.PackageName('livekit')) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SessionDescription clone() => SessionDescription()..mergeFromMessage(this); + SessionDescription clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionDescription copyWith(void Function(SessionDescription) updates) => - super.copyWith((message) => updates(message as SessionDescription)) as SessionDescription; + super.copyWith((message) => updates(message as SessionDescription)) + as SessionDescription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1782,10 +2571,9 @@ class SessionDescription extends $pb.GeneratedMessage { static SessionDescription create() => SessionDescription._(); @$core.override SessionDescription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SessionDescription getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionDescription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SessionDescription? _defaultInstance; @$pb.TagNumber(1) @@ -1814,11 +2602,14 @@ class SessionDescription extends $pb.GeneratedMessage { $core.bool hasId() => $_has(2); @$pb.TagNumber(3) void clearId() => $_clearField(3); + + @$pb.TagNumber(4) + $pb.PbMap<$core.String, $core.String> get midToTrackId => $_getMap(3); } class ParticipantUpdate extends $pb.GeneratedMessage { factory ParticipantUpdate({ - $core.Iterable<$2.ParticipantInfo>? participants, + $core.Iterable<$0.ParticipantInfo>? participants, }) { final result = create(); if (participants != null) result.participants.addAll(participants); @@ -1834,17 +2625,20 @@ class ParticipantUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc<$2.ParticipantInfo>(1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, - subBuilder: $2.ParticipantInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM<$0.ParticipantInfo>(1, _omitFieldNames ? '' : 'participants', + subBuilder: $0.ParticipantInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantUpdate clone() => ParticipantUpdate()..mergeFromMessage(this); + ParticipantUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantUpdate copyWith(void Function(ParticipantUpdate) updates) => - super.copyWith((message) => updates(message as ParticipantUpdate)) as ParticipantUpdate; + super.copyWith((message) => updates(message as ParticipantUpdate)) + as ParticipantUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1853,26 +2647,26 @@ class ParticipantUpdate extends $pb.GeneratedMessage { static ParticipantUpdate create() => ParticipantUpdate._(); @$core.override ParticipantUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantUpdate? _defaultInstance; @$pb.TagNumber(1) - $pb.PbList<$2.ParticipantInfo> get participants => $_getList(0); + $pb.PbList<$0.ParticipantInfo> get participants => $_getList(0); } class UpdateSubscription extends $pb.GeneratedMessage { factory UpdateSubscription({ $core.Iterable<$core.String>? trackSids, $core.bool? subscribe, - $core.Iterable<$2.ParticipantTracks>? participantTracks, + $core.Iterable<$0.ParticipantTracks>? participantTracks, }) { final result = create(); if (trackSids != null) result.trackSids.addAll(trackSids); if (subscribe != null) result.subscribe = subscribe; - if (participantTracks != null) result.participantTracks.addAll(participantTracks); + if (participantTracks != null) + result.participantTracks.addAll(participantTracks); return result; } @@ -1885,19 +2679,22 @@ class UpdateSubscription extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubscription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateSubscription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'trackSids') ..aOB(2, _omitFieldNames ? '' : 'subscribe') - ..pc<$2.ParticipantTracks>(3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, - subBuilder: $2.ParticipantTracks.create) + ..pPM<$0.ParticipantTracks>(3, _omitFieldNames ? '' : 'participantTracks', + subBuilder: $0.ParticipantTracks.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateSubscription clone() => UpdateSubscription()..mergeFromMessage(this); + UpdateSubscription clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateSubscription copyWith(void Function(UpdateSubscription) updates) => - super.copyWith((message) => updates(message as UpdateSubscription)) as UpdateSubscription; + super.copyWith((message) => updates(message as UpdateSubscription)) + as UpdateSubscription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1906,10 +2703,9 @@ class UpdateSubscription extends $pb.GeneratedMessage { static UpdateSubscription create() => UpdateSubscription._(); @$core.override UpdateSubscription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateSubscription getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateSubscription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateSubscription? _defaultInstance; @$pb.TagNumber(1) @@ -1925,14 +2721,150 @@ class UpdateSubscription extends $pb.GeneratedMessage { void clearSubscribe() => $_clearField(2); @$pb.TagNumber(3) - $pb.PbList<$2.ParticipantTracks> get participantTracks => $_getList(2); + $pb.PbList<$0.ParticipantTracks> get participantTracks => $_getList(2); +} + +class UpdateDataSubscription_Update extends $pb.GeneratedMessage { + factory UpdateDataSubscription_Update({ + $core.String? trackSid, + $core.bool? subscribe, + $0.DataTrackSubscriptionOptions? options, + }) { + final result = create(); + if (trackSid != null) result.trackSid = trackSid; + if (subscribe != null) result.subscribe = subscribe; + if (options != null) result.options = options; + return result; + } + + UpdateDataSubscription_Update._(); + + factory UpdateDataSubscription_Update.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UpdateDataSubscription_Update.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateDataSubscription.Update', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'trackSid') + ..aOB(2, _omitFieldNames ? '' : 'subscribe') + ..aOM<$0.DataTrackSubscriptionOptions>(3, _omitFieldNames ? '' : 'options', + subBuilder: $0.DataTrackSubscriptionOptions.create) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateDataSubscription_Update clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateDataSubscription_Update copyWith( + void Function(UpdateDataSubscription_Update) updates) => + super.copyWith( + (message) => updates(message as UpdateDataSubscription_Update)) + as UpdateDataSubscription_Update; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateDataSubscription_Update create() => + UpdateDataSubscription_Update._(); + @$core.override + UpdateDataSubscription_Update createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static UpdateDataSubscription_Update getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UpdateDataSubscription_Update? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get trackSid => $_getSZ(0); + @$pb.TagNumber(1) + set trackSid($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasTrackSid() => $_has(0); + @$pb.TagNumber(1) + void clearTrackSid() => $_clearField(1); + + @$pb.TagNumber(2) + $core.bool get subscribe => $_getBF(1); + @$pb.TagNumber(2) + set subscribe($core.bool value) => $_setBool(1, value); + @$pb.TagNumber(2) + $core.bool hasSubscribe() => $_has(1); + @$pb.TagNumber(2) + void clearSubscribe() => $_clearField(2); + + /// Options to apply when initially subscribing or updating an existing subscription. + /// When unsubscribing, this field is ignored. + @$pb.TagNumber(3) + $0.DataTrackSubscriptionOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options($0.DataTrackSubscriptionOptions value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => $_clearField(3); + @$pb.TagNumber(3) + $0.DataTrackSubscriptionOptions ensureOptions() => $_ensure(2); +} + +class UpdateDataSubscription extends $pb.GeneratedMessage { + factory UpdateDataSubscription({ + $core.Iterable? updates, + }) { + final result = create(); + if (updates != null) result.updates.addAll(updates); + return result; + } + + UpdateDataSubscription._(); + + factory UpdateDataSubscription.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory UpdateDataSubscription.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateDataSubscription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'updates', + subBuilder: UpdateDataSubscription_Update.create) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateDataSubscription clone() => deepCopy(); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateDataSubscription copyWith( + void Function(UpdateDataSubscription) updates) => + super.copyWith((message) => updates(message as UpdateDataSubscription)) + as UpdateDataSubscription; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateDataSubscription create() => UpdateDataSubscription._(); + @$core.override + UpdateDataSubscription createEmptyInstance() => create(); + @$core.pragma('dart2js:noInline') + static UpdateDataSubscription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UpdateDataSubscription? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get updates => $_getList(0); } class UpdateTrackSettings extends $pb.GeneratedMessage { factory UpdateTrackSettings({ $core.Iterable<$core.String>? trackSids, $core.bool? disabled, - $2.VideoQuality? quality, + $0.VideoQuality? quality, $core.int? width, $core.int? height, $core.int? fps, @@ -1958,23 +2890,26 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTrackSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateTrackSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'trackSids') ..aOB(3, _omitFieldNames ? '' : 'disabled') - ..e<$2.VideoQuality>(4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) - ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) - ..a<$core.int>(6, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) - ..a<$core.int>(7, _omitFieldNames ? '' : 'fps', $pb.PbFieldType.OU3) - ..a<$core.int>(8, _omitFieldNames ? '' : 'priority', $pb.PbFieldType.OU3) + ..aE<$0.VideoQuality>(4, _omitFieldNames ? '' : 'quality', + enumValues: $0.VideoQuality.values) + ..aI(5, _omitFieldNames ? '' : 'width', fieldType: $pb.PbFieldType.OU3) + ..aI(6, _omitFieldNames ? '' : 'height', fieldType: $pb.PbFieldType.OU3) + ..aI(7, _omitFieldNames ? '' : 'fps', fieldType: $pb.PbFieldType.OU3) + ..aI(8, _omitFieldNames ? '' : 'priority', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateTrackSettings clone() => UpdateTrackSettings()..mergeFromMessage(this); + UpdateTrackSettings clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateTrackSettings copyWith(void Function(UpdateTrackSettings) updates) => - super.copyWith((message) => updates(message as UpdateTrackSettings)) as UpdateTrackSettings; + super.copyWith((message) => updates(message as UpdateTrackSettings)) + as UpdateTrackSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1983,10 +2918,9 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { static UpdateTrackSettings create() => UpdateTrackSettings._(); @$core.override UpdateTrackSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateTrackSettings getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateTrackSettings getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateTrackSettings? _defaultInstance; @$pb.TagNumber(1) @@ -2004,9 +2938,9 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { /// deprecated in favor of width & height @$pb.TagNumber(4) - $2.VideoQuality get quality => $_getN(2); + $0.VideoQuality get quality => $_getN(2); @$pb.TagNumber(4) - set quality($2.VideoQuality value) => $_setField(4, value); + set quality($0.VideoQuality value) => $_setField(4, value); @$pb.TagNumber(4) $core.bool hasQuality() => $_has(2); @$pb.TagNumber(4) @@ -2061,7 +2995,7 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { class UpdateLocalAudioTrack extends $pb.GeneratedMessage { factory UpdateLocalAudioTrack({ $core.String? trackSid, - $core.Iterable<$2.AudioTrackFeature>? features, + $core.Iterable<$0.AudioTrackFeature>? features, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; @@ -2078,20 +3012,25 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocalAudioTrack', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateLocalAudioTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.AudioTrackFeature>(2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, - valueOf: $2.AudioTrackFeature.valueOf, - enumValues: $2.AudioTrackFeature.values, - defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) + ..pc<$0.AudioTrackFeature>( + 2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, + valueOf: $0.AudioTrackFeature.valueOf, + enumValues: $0.AudioTrackFeature.values, + defaultEnumValue: $0.AudioTrackFeature.TF_STEREO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack clone() => UpdateLocalAudioTrack()..mergeFromMessage(this); + UpdateLocalAudioTrack clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack copyWith(void Function(UpdateLocalAudioTrack) updates) => - super.copyWith((message) => updates(message as UpdateLocalAudioTrack)) as UpdateLocalAudioTrack; + UpdateLocalAudioTrack copyWith( + void Function(UpdateLocalAudioTrack) updates) => + super.copyWith((message) => updates(message as UpdateLocalAudioTrack)) + as UpdateLocalAudioTrack; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2100,10 +3039,9 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { static UpdateLocalAudioTrack create() => UpdateLocalAudioTrack._(); @$core.override UpdateLocalAudioTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateLocalAudioTrack getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateLocalAudioTrack getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateLocalAudioTrack? _defaultInstance; @$pb.TagNumber(1) @@ -2116,7 +3054,7 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { void clearTrackSid() => $_clearField(1); @$pb.TagNumber(2) - $pb.PbList<$2.AudioTrackFeature> get features => $_getList(1); + $pb.PbList<$0.AudioTrackFeature> get features => $_getList(1); } class UpdateLocalVideoTrack extends $pb.GeneratedMessage { @@ -2141,18 +3079,22 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocalVideoTrack', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateLocalVideoTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) + ..aI(2, _omitFieldNames ? '' : 'width', fieldType: $pb.PbFieldType.OU3) + ..aI(3, _omitFieldNames ? '' : 'height', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack clone() => UpdateLocalVideoTrack()..mergeFromMessage(this); + UpdateLocalVideoTrack clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack copyWith(void Function(UpdateLocalVideoTrack) updates) => - super.copyWith((message) => updates(message as UpdateLocalVideoTrack)) as UpdateLocalVideoTrack; + UpdateLocalVideoTrack copyWith( + void Function(UpdateLocalVideoTrack) updates) => + super.copyWith((message) => updates(message as UpdateLocalVideoTrack)) + as UpdateLocalVideoTrack; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2161,10 +3103,9 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { static UpdateLocalVideoTrack create() => UpdateLocalVideoTrack._(); @$core.override UpdateLocalVideoTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateLocalVideoTrack getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateLocalVideoTrack getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateLocalVideoTrack? _defaultInstance; @$pb.TagNumber(1) @@ -2198,7 +3139,7 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { class LeaveRequest extends $pb.GeneratedMessage { factory LeaveRequest({ $core.bool? canReconnect, - $2.DisconnectReason? reason, + $0.DisconnectReason? reason, LeaveRequest_Action? action, RegionSettings? regions, }) { @@ -2215,28 +3156,29 @@ class LeaveRequest extends $pb.GeneratedMessage { factory LeaveRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory LeaveRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory LeaveRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LeaveRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LeaveRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canReconnect') - ..e<$2.DisconnectReason>(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, - defaultOrMaker: $2.DisconnectReason.UNKNOWN_REASON, - valueOf: $2.DisconnectReason.valueOf, - enumValues: $2.DisconnectReason.values) - ..e(3, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE, - defaultOrMaker: LeaveRequest_Action.DISCONNECT, - valueOf: LeaveRequest_Action.valueOf, + ..aE<$0.DisconnectReason>(2, _omitFieldNames ? '' : 'reason', + enumValues: $0.DisconnectReason.values) + ..aE(3, _omitFieldNames ? '' : 'action', enumValues: LeaveRequest_Action.values) - ..aOM(4, _omitFieldNames ? '' : 'regions', subBuilder: RegionSettings.create) + ..aOM(4, _omitFieldNames ? '' : 'regions', + subBuilder: RegionSettings.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - LeaveRequest clone() => LeaveRequest()..mergeFromMessage(this); + LeaveRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') LeaveRequest copyWith(void Function(LeaveRequest) updates) => - super.copyWith((message) => updates(message as LeaveRequest)) as LeaveRequest; + super.copyWith((message) => updates(message as LeaveRequest)) + as LeaveRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2245,9 +3187,9 @@ class LeaveRequest extends $pb.GeneratedMessage { static LeaveRequest create() => LeaveRequest._(); @$core.override LeaveRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static LeaveRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LeaveRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static LeaveRequest? _defaultInstance; /// sent when server initiates the disconnect due to server-restart @@ -2263,9 +3205,9 @@ class LeaveRequest extends $pb.GeneratedMessage { void clearCanReconnect() => $_clearField(1); @$pb.TagNumber(2) - $2.DisconnectReason get reason => $_getN(1); + $0.DisconnectReason get reason => $_getN(1); @$pb.TagNumber(2) - set reason($2.DisconnectReason value) => $_setField(2, value); + set reason($0.DisconnectReason value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasReason() => $_has(1); @$pb.TagNumber(2) @@ -2297,7 +3239,7 @@ class LeaveRequest extends $pb.GeneratedMessage { class UpdateVideoLayers extends $pb.GeneratedMessage { factory UpdateVideoLayers({ $core.String? trackSid, - $core.Iterable<$2.VideoLayer>? layers, + $core.Iterable<$0.VideoLayer>? layers, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; @@ -2314,17 +3256,21 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateVideoLayers', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateVideoLayers', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) + ..pPM<$0.VideoLayer>(2, _omitFieldNames ? '' : 'layers', + subBuilder: $0.VideoLayer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateVideoLayers clone() => UpdateVideoLayers()..mergeFromMessage(this); + UpdateVideoLayers clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateVideoLayers copyWith(void Function(UpdateVideoLayers) updates) => - super.copyWith((message) => updates(message as UpdateVideoLayers)) as UpdateVideoLayers; + super.copyWith((message) => updates(message as UpdateVideoLayers)) + as UpdateVideoLayers; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2333,10 +3279,9 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { static UpdateVideoLayers create() => UpdateVideoLayers._(); @$core.override UpdateVideoLayers createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateVideoLayers getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateVideoLayers getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateVideoLayers? _defaultInstance; @$pb.TagNumber(1) @@ -2349,7 +3294,7 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { void clearTrackSid() => $_clearField(1); @$pb.TagNumber(2) - $pb.PbList<$2.VideoLayer> get layers => $_getList(1); + $pb.PbList<$0.VideoLayer> get layers => $_getList(1); } class UpdateParticipantMetadata extends $pb.GeneratedMessage { @@ -2376,8 +3321,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateParticipantMetadata', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateParticipantMetadata', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'metadata') ..aOS(2, _omitFieldNames ? '' : 'name') ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'attributes', @@ -2385,14 +3332,16 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..a<$core.int>(4, _omitFieldNames ? '' : 'requestId', $pb.PbFieldType.OU3) + ..aI(4, _omitFieldNames ? '' : 'requestId', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata clone() => UpdateParticipantMetadata()..mergeFromMessage(this); + UpdateParticipantMetadata clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata copyWith(void Function(UpdateParticipantMetadata) updates) => - super.copyWith((message) => updates(message as UpdateParticipantMetadata)) as UpdateParticipantMetadata; + UpdateParticipantMetadata copyWith( + void Function(UpdateParticipantMetadata) updates) => + super.copyWith((message) => updates(message as UpdateParticipantMetadata)) + as UpdateParticipantMetadata; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2401,10 +3350,9 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { static UpdateParticipantMetadata create() => UpdateParticipantMetadata._(); @$core.override UpdateParticipantMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateParticipantMetadata getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateParticipantMetadata getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateParticipantMetadata? _defaultInstance; @$pb.TagNumber(1) @@ -2458,18 +3406,21 @@ class ICEServer extends $pb.GeneratedMessage { factory ICEServer.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ICEServer.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ICEServer.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ICEServer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ICEServer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'urls') ..aOS(2, _omitFieldNames ? '' : 'username') ..aOS(3, _omitFieldNames ? '' : 'credential') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ICEServer clone() => ICEServer()..mergeFromMessage(this); + ICEServer clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ICEServer copyWith(void Function(ICEServer) updates) => super.copyWith((message) => updates(message as ICEServer)) as ICEServer; @@ -2481,9 +3432,9 @@ class ICEServer extends $pb.GeneratedMessage { static ICEServer create() => ICEServer._(); @$core.override ICEServer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ICEServer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ICEServer getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ICEServer? _defaultInstance; @$pb.TagNumber(1) @@ -2510,7 +3461,7 @@ class ICEServer extends $pb.GeneratedMessage { class SpeakersChanged extends $pb.GeneratedMessage { factory SpeakersChanged({ - $core.Iterable<$2.SpeakerInfo>? speakers, + $core.Iterable<$0.SpeakerInfo>? speakers, }) { final result = create(); if (speakers != null) result.speakers.addAll(speakers); @@ -2522,19 +3473,24 @@ class SpeakersChanged extends $pb.GeneratedMessage { factory SpeakersChanged.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SpeakersChanged.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SpeakersChanged.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakersChanged', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc<$2.SpeakerInfo>(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: $2.SpeakerInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SpeakersChanged', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM<$0.SpeakerInfo>(1, _omitFieldNames ? '' : 'speakers', + subBuilder: $0.SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SpeakersChanged clone() => SpeakersChanged()..mergeFromMessage(this); + SpeakersChanged clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakersChanged copyWith(void Function(SpeakersChanged) updates) => - super.copyWith((message) => updates(message as SpeakersChanged)) as SpeakersChanged; + super.copyWith((message) => updates(message as SpeakersChanged)) + as SpeakersChanged; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2543,19 +3499,18 @@ class SpeakersChanged extends $pb.GeneratedMessage { static SpeakersChanged create() => SpeakersChanged._(); @$core.override SpeakersChanged createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SpeakersChanged getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SpeakersChanged getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SpeakersChanged? _defaultInstance; @$pb.TagNumber(1) - $pb.PbList<$2.SpeakerInfo> get speakers => $_getList(0); + $pb.PbList<$0.SpeakerInfo> get speakers => $_getList(0); } class RoomUpdate extends $pb.GeneratedMessage { factory RoomUpdate({ - $2.Room? room, + $0.Room? room, }) { final result = create(); if (room != null) result.room = room; @@ -2567,16 +3522,19 @@ class RoomUpdate extends $pb.GeneratedMessage { factory RoomUpdate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RoomUpdate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RoomUpdate.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RoomUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $0.Room.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RoomUpdate clone() => RoomUpdate()..mergeFromMessage(this); + RoomUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RoomUpdate copyWith(void Function(RoomUpdate) updates) => super.copyWith((message) => updates(message as RoomUpdate)) as RoomUpdate; @@ -2588,27 +3546,27 @@ class RoomUpdate extends $pb.GeneratedMessage { static RoomUpdate create() => RoomUpdate._(); @$core.override RoomUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RoomUpdate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RoomUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RoomUpdate? _defaultInstance; @$pb.TagNumber(1) - $2.Room get room => $_getN(0); + $0.Room get room => $_getN(0); @$pb.TagNumber(1) - set room($2.Room value) => $_setField(1, value); + set room($0.Room value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasRoom() => $_has(0); @$pb.TagNumber(1) void clearRoom() => $_clearField(1); @$pb.TagNumber(1) - $2.Room ensureRoom() => $_ensure(0); + $0.Room ensureRoom() => $_ensure(0); } class ConnectionQualityInfo extends $pb.GeneratedMessage { factory ConnectionQualityInfo({ $core.String? participantSid, - $2.ConnectionQuality? quality, + $0.ConnectionQuality? quality, $core.double? score, }) { final result = create(); @@ -2627,21 +3585,23 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionQualityInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..e<$2.ConnectionQuality>(2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.ConnectionQuality.POOR, - valueOf: $2.ConnectionQuality.valueOf, - enumValues: $2.ConnectionQuality.values) - ..a<$core.double>(3, _omitFieldNames ? '' : 'score', $pb.PbFieldType.OF) + ..aE<$0.ConnectionQuality>(2, _omitFieldNames ? '' : 'quality', + enumValues: $0.ConnectionQuality.values) + ..aD(3, _omitFieldNames ? '' : 'score', fieldType: $pb.PbFieldType.OF) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo clone() => ConnectionQualityInfo()..mergeFromMessage(this); + ConnectionQualityInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo copyWith(void Function(ConnectionQualityInfo) updates) => - super.copyWith((message) => updates(message as ConnectionQualityInfo)) as ConnectionQualityInfo; + ConnectionQualityInfo copyWith( + void Function(ConnectionQualityInfo) updates) => + super.copyWith((message) => updates(message as ConnectionQualityInfo)) + as ConnectionQualityInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2650,10 +3610,9 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { static ConnectionQualityInfo create() => ConnectionQualityInfo._(); @$core.override ConnectionQualityInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionQualityInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionQualityInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectionQualityInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2666,9 +3625,9 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { void clearParticipantSid() => $_clearField(1); @$pb.TagNumber(2) - $2.ConnectionQuality get quality => $_getN(1); + $0.ConnectionQuality get quality => $_getN(1); @$pb.TagNumber(2) - set quality($2.ConnectionQuality value) => $_setField(2, value); + set quality($0.ConnectionQuality value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasQuality() => $_has(1); @$pb.TagNumber(2) @@ -2702,17 +3661,21 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'updates', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionQualityUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'updates', subBuilder: ConnectionQualityInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate clone() => ConnectionQualityUpdate()..mergeFromMessage(this); + ConnectionQualityUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate copyWith(void Function(ConnectionQualityUpdate) updates) => - super.copyWith((message) => updates(message as ConnectionQualityUpdate)) as ConnectionQualityUpdate; + ConnectionQualityUpdate copyWith( + void Function(ConnectionQualityUpdate) updates) => + super.copyWith((message) => updates(message as ConnectionQualityUpdate)) + as ConnectionQualityUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2721,10 +3684,9 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { static ConnectionQualityUpdate create() => ConnectionQualityUpdate._(); @$core.override ConnectionQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionQualityUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionQualityUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectionQualityUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2749,22 +3711,26 @@ class StreamStateInfo extends $pb.GeneratedMessage { factory StreamStateInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory StreamStateInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory StreamStateInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StreamStateInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOS(2, _omitFieldNames ? '' : 'trackSid') - ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: StreamState.ACTIVE, valueOf: StreamState.valueOf, enumValues: StreamState.values) + ..aE(3, _omitFieldNames ? '' : 'state', + enumValues: StreamState.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - StreamStateInfo clone() => StreamStateInfo()..mergeFromMessage(this); + StreamStateInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateInfo copyWith(void Function(StreamStateInfo) updates) => - super.copyWith((message) => updates(message as StreamStateInfo)) as StreamStateInfo; + super.copyWith((message) => updates(message as StreamStateInfo)) + as StreamStateInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2773,10 +3739,9 @@ class StreamStateInfo extends $pb.GeneratedMessage { static StreamStateInfo create() => StreamStateInfo._(); @$core.override StreamStateInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamStateInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StreamStateInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static StreamStateInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2825,17 +3790,20 @@ class StreamStateUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'streamStates', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StreamStateUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'streamStates', subBuilder: StreamStateInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - StreamStateUpdate clone() => StreamStateUpdate()..mergeFromMessage(this); + StreamStateUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateUpdate copyWith(void Function(StreamStateUpdate) updates) => - super.copyWith((message) => updates(message as StreamStateUpdate)) as StreamStateUpdate; + super.copyWith((message) => updates(message as StreamStateUpdate)) + as StreamStateUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2844,10 +3812,9 @@ class StreamStateUpdate extends $pb.GeneratedMessage { static StreamStateUpdate create() => StreamStateUpdate._(); @$core.override StreamStateUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamStateUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StreamStateUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static StreamStateUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2856,7 +3823,7 @@ class StreamStateUpdate extends $pb.GeneratedMessage { class SubscribedQuality extends $pb.GeneratedMessage { factory SubscribedQuality({ - $2.VideoQuality? quality, + $0.VideoQuality? quality, $core.bool? enabled, }) { final result = create(); @@ -2874,18 +3841,21 @@ class SubscribedQuality extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQuality', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e<$2.VideoQuality>(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedQuality', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE<$0.VideoQuality>(1, _omitFieldNames ? '' : 'quality', + enumValues: $0.VideoQuality.values) ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQuality clone() => SubscribedQuality()..mergeFromMessage(this); + SubscribedQuality clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedQuality copyWith(void Function(SubscribedQuality) updates) => - super.copyWith((message) => updates(message as SubscribedQuality)) as SubscribedQuality; + super.copyWith((message) => updates(message as SubscribedQuality)) + as SubscribedQuality; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2894,16 +3864,15 @@ class SubscribedQuality extends $pb.GeneratedMessage { static SubscribedQuality create() => SubscribedQuality._(); @$core.override SubscribedQuality createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedQuality getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedQuality getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedQuality? _defaultInstance; @$pb.TagNumber(1) - $2.VideoQuality get quality => $_getN(0); + $0.VideoQuality get quality => $_getN(0); @$pb.TagNumber(1) - set quality($2.VideoQuality value) => $_setField(1, value); + set quality($0.VideoQuality value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasQuality() => $_has(0); @$pb.TagNumber(1) @@ -2935,21 +3904,25 @@ class SubscribedCodec extends $pb.GeneratedMessage { factory SubscribedCodec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SubscribedCodec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SubscribedCodec.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') - ..pc(2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, + ..pPM(2, _omitFieldNames ? '' : 'qualities', subBuilder: SubscribedQuality.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedCodec clone() => SubscribedCodec()..mergeFromMessage(this); + SubscribedCodec clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedCodec copyWith(void Function(SubscribedCodec) updates) => - super.copyWith((message) => updates(message as SubscribedCodec)) as SubscribedCodec; + super.copyWith((message) => updates(message as SubscribedCodec)) + as SubscribedCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2958,10 +3931,9 @@ class SubscribedCodec extends $pb.GeneratedMessage { static SubscribedCodec create() => SubscribedCodec._(); @$core.override SubscribedCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedCodec getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedCodec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedCodec? _defaultInstance; @$pb.TagNumber(1) @@ -2980,13 +3952,16 @@ class SubscribedCodec extends $pb.GeneratedMessage { class SubscribedQualityUpdate extends $pb.GeneratedMessage { factory SubscribedQualityUpdate({ $core.String? trackSid, - @$core.Deprecated('This field is deprecated.') $core.Iterable? subscribedQualities, + @$core.Deprecated('This field is deprecated.') + $core.Iterable? subscribedQualities, $core.Iterable? subscribedCodecs, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; - if (subscribedQualities != null) result.subscribedQualities.addAll(subscribedQualities); - if (subscribedCodecs != null) result.subscribedCodecs.addAll(subscribedCodecs); + if (subscribedQualities != null) + result.subscribedQualities.addAll(subscribedQualities); + if (subscribedCodecs != null) + result.subscribedCodecs.addAll(subscribedCodecs); return result; } @@ -2999,20 +3974,24 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQualityUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedQualityUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc(2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, + ..pPM(2, _omitFieldNames ? '' : 'subscribedQualities', subBuilder: SubscribedQuality.create) - ..pc(3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, + ..pPM(3, _omitFieldNames ? '' : 'subscribedCodecs', subBuilder: SubscribedCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate clone() => SubscribedQualityUpdate()..mergeFromMessage(this); + SubscribedQualityUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate copyWith(void Function(SubscribedQualityUpdate) updates) => - super.copyWith((message) => updates(message as SubscribedQualityUpdate)) as SubscribedQualityUpdate; + SubscribedQualityUpdate copyWith( + void Function(SubscribedQualityUpdate) updates) => + super.copyWith((message) => updates(message as SubscribedQualityUpdate)) + as SubscribedQualityUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3021,10 +4000,9 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { static SubscribedQualityUpdate create() => SubscribedQualityUpdate._(); @$core.override SubscribedQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedQualityUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedQualityUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedQualityUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3047,11 +4025,12 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { factory SubscribedAudioCodecUpdate({ $core.String? trackSid, - $core.Iterable<$2.SubscribedAudioCodec>? subscribedAudioCodecs, + $core.Iterable<$0.SubscribedAudioCodec>? subscribedAudioCodecs, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; - if (subscribedAudioCodecs != null) result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); + if (subscribedAudioCodecs != null) + result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); return result; } @@ -3064,18 +4043,24 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedAudioCodecUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedAudioCodecUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.SubscribedAudioCodec>(2, _omitFieldNames ? '' : 'subscribedAudioCodecs', $pb.PbFieldType.PM, - subBuilder: $2.SubscribedAudioCodec.create) + ..pPM<$0.SubscribedAudioCodec>( + 2, _omitFieldNames ? '' : 'subscribedAudioCodecs', + subBuilder: $0.SubscribedAudioCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodecUpdate clone() => SubscribedAudioCodecUpdate()..mergeFromMessage(this); + SubscribedAudioCodecUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodecUpdate copyWith(void Function(SubscribedAudioCodecUpdate) updates) => - super.copyWith((message) => updates(message as SubscribedAudioCodecUpdate)) as SubscribedAudioCodecUpdate; + SubscribedAudioCodecUpdate copyWith( + void Function(SubscribedAudioCodecUpdate) updates) => + super.copyWith( + (message) => updates(message as SubscribedAudioCodecUpdate)) + as SubscribedAudioCodecUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3084,10 +4069,9 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { static SubscribedAudioCodecUpdate create() => SubscribedAudioCodecUpdate._(); @$core.override SubscribedAudioCodecUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedAudioCodecUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedAudioCodecUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedAudioCodecUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3100,7 +4084,7 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { void clearTrackSid() => $_clearField(1); @$pb.TagNumber(2) - $pb.PbList<$2.SubscribedAudioCodec> get subscribedAudioCodecs => $_getList(1); + $pb.PbList<$0.SubscribedAudioCodec> get subscribedAudioCodecs => $_getList(1); } class TrackPermission extends $pb.GeneratedMessage { @@ -3114,7 +4098,8 @@ class TrackPermission extends $pb.GeneratedMessage { if (participantSid != null) result.participantSid = participantSid; if (allTracks != null) result.allTracks = allTracks; if (trackSids != null) result.trackSids.addAll(trackSids); - if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (participantIdentity != null) + result.participantIdentity = participantIdentity; return result; } @@ -3123,11 +4108,14 @@ class TrackPermission extends $pb.GeneratedMessage { factory TrackPermission.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackPermission.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackPermission.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOB(2, _omitFieldNames ? '' : 'allTracks') ..pPS(3, _omitFieldNames ? '' : 'trackSids') @@ -3135,10 +4123,11 @@ class TrackPermission extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPermission clone() => TrackPermission()..mergeFromMessage(this); + TrackPermission clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackPermission copyWith(void Function(TrackPermission) updates) => - super.copyWith((message) => updates(message as TrackPermission)) as TrackPermission; + super.copyWith((message) => updates(message as TrackPermission)) + as TrackPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3147,10 +4136,9 @@ class TrackPermission extends $pb.GeneratedMessage { static TrackPermission create() => TrackPermission._(); @$core.override TrackPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackPermission getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackPermission getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackPermission? _defaultInstance; /// permission could be granted either by participant sid or identity @@ -3192,7 +4180,8 @@ class SubscriptionPermission extends $pb.GeneratedMessage { }) { final result = create(); if (allParticipants != null) result.allParticipants = allParticipants; - if (trackPermissions != null) result.trackPermissions.addAll(trackPermissions); + if (trackPermissions != null) + result.trackPermissions.addAll(trackPermissions); return result; } @@ -3205,18 +4194,22 @@ class SubscriptionPermission extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allParticipants') - ..pc(2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, + ..pPM(2, _omitFieldNames ? '' : 'trackPermissions', subBuilder: TrackPermission.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission clone() => SubscriptionPermission()..mergeFromMessage(this); + SubscriptionPermission clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission copyWith(void Function(SubscriptionPermission) updates) => - super.copyWith((message) => updates(message as SubscriptionPermission)) as SubscriptionPermission; + SubscriptionPermission copyWith( + void Function(SubscriptionPermission) updates) => + super.copyWith((message) => updates(message as SubscriptionPermission)) + as SubscriptionPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3225,10 +4218,9 @@ class SubscriptionPermission extends $pb.GeneratedMessage { static SubscriptionPermission create() => SubscriptionPermission._(); @$core.override SubscriptionPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionPermission getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionPermission getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionPermission? _defaultInstance; @$pb.TagNumber(1) @@ -3266,30 +4258,35 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermissionUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionPermissionUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOS(2, _omitFieldNames ? '' : 'trackSid') ..aOB(3, _omitFieldNames ? '' : 'allowed') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermissionUpdate clone() => SubscriptionPermissionUpdate()..mergeFromMessage(this); + SubscriptionPermissionUpdate clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermissionUpdate copyWith(void Function(SubscriptionPermissionUpdate) updates) => - super.copyWith((message) => updates(message as SubscriptionPermissionUpdate)) as SubscriptionPermissionUpdate; + SubscriptionPermissionUpdate copyWith( + void Function(SubscriptionPermissionUpdate) updates) => + super.copyWith( + (message) => updates(message as SubscriptionPermissionUpdate)) + as SubscriptionPermissionUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate create() => SubscriptionPermissionUpdate._(); + static SubscriptionPermissionUpdate create() => + SubscriptionPermissionUpdate._(); @$core.override SubscriptionPermissionUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionPermissionUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionPermissionUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3322,16 +4319,17 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { class RoomMovedResponse extends $pb.GeneratedMessage { factory RoomMovedResponse({ - $2.Room? room, + $0.Room? room, $core.String? token, - $2.ParticipantInfo? participant, - $core.Iterable<$2.ParticipantInfo>? otherParticipants, + $0.ParticipantInfo? participant, + $core.Iterable<$0.ParticipantInfo>? otherParticipants, }) { final result = create(); if (room != null) result.room = room; if (token != null) result.token = token; if (participant != null) result.participant = participant; - if (otherParticipants != null) result.otherParticipants.addAll(otherParticipants); + if (otherParticipants != null) + result.otherParticipants.addAll(otherParticipants); return result; } @@ -3344,20 +4342,24 @@ class RoomMovedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomMovedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RoomMovedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $0.Room.create) ..aOS(2, _omitFieldNames ? '' : 'token') - ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>(4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, - subBuilder: $2.ParticipantInfo.create) + ..aOM<$0.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', + subBuilder: $0.ParticipantInfo.create) + ..pPM<$0.ParticipantInfo>(4, _omitFieldNames ? '' : 'otherParticipants', + subBuilder: $0.ParticipantInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RoomMovedResponse clone() => RoomMovedResponse()..mergeFromMessage(this); + RoomMovedResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RoomMovedResponse copyWith(void Function(RoomMovedResponse) updates) => - super.copyWith((message) => updates(message as RoomMovedResponse)) as RoomMovedResponse; + super.copyWith((message) => updates(message as RoomMovedResponse)) + as RoomMovedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3366,23 +4368,22 @@ class RoomMovedResponse extends $pb.GeneratedMessage { static RoomMovedResponse create() => RoomMovedResponse._(); @$core.override RoomMovedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RoomMovedResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RoomMovedResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RoomMovedResponse? _defaultInstance; /// information about the new room @$pb.TagNumber(1) - $2.Room get room => $_getN(0); + $0.Room get room => $_getN(0); @$pb.TagNumber(1) - set room($2.Room value) => $_setField(1, value); + set room($0.Room value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasRoom() => $_has(0); @$pb.TagNumber(1) void clearRoom() => $_clearField(1); @$pb.TagNumber(1) - $2.Room ensureRoom() => $_ensure(0); + $0.Room ensureRoom() => $_ensure(0); /// new reconnect token that can be used to reconnect to the new room @$pb.TagNumber(2) @@ -3395,18 +4396,18 @@ class RoomMovedResponse extends $pb.GeneratedMessage { void clearToken() => $_clearField(2); @$pb.TagNumber(3) - $2.ParticipantInfo get participant => $_getN(2); + $0.ParticipantInfo get participant => $_getN(2); @$pb.TagNumber(3) - set participant($2.ParticipantInfo value) => $_setField(3, value); + set participant($0.ParticipantInfo value) => $_setField(3, value); @$pb.TagNumber(3) $core.bool hasParticipant() => $_has(2); @$pb.TagNumber(3) void clearParticipant() => $_clearField(3); @$pb.TagNumber(3) - $2.ParticipantInfo ensureParticipant() => $_ensure(2); + $0.ParticipantInfo ensureParticipant() => $_ensure(2); @$pb.TagNumber(4) - $pb.PbList<$2.ParticipantInfo> get otherParticipants => $_getList(3); + $pb.PbList<$0.ParticipantInfo> get otherParticipants => $_getList(3); } class SyncState extends $pb.GeneratedMessage { @@ -3418,6 +4419,7 @@ class SyncState extends $pb.GeneratedMessage { SessionDescription? offer, $core.Iterable<$core.String>? trackSidsDisabled, $core.Iterable? datachannelReceiveStates, + $core.Iterable? publishDataTracks, }) { final result = create(); if (answer != null) result.answer = answer; @@ -3425,8 +4427,12 @@ class SyncState extends $pb.GeneratedMessage { if (publishTracks != null) result.publishTracks.addAll(publishTracks); if (dataChannels != null) result.dataChannels.addAll(dataChannels); if (offer != null) result.offer = offer; - if (trackSidsDisabled != null) result.trackSidsDisabled.addAll(trackSidsDisabled); - if (datachannelReceiveStates != null) result.datachannelReceiveStates.addAll(datachannelReceiveStates); + if (trackSidsDisabled != null) + result.trackSidsDisabled.addAll(trackSidsDisabled); + if (datachannelReceiveStates != null) + result.datachannelReceiveStates.addAll(datachannelReceiveStates); + if (publishDataTracks != null) + result.publishDataTracks.addAll(publishDataTracks); return result; } @@ -3435,25 +4441,35 @@ class SyncState extends $pb.GeneratedMessage { factory SyncState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SyncState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SyncState.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SyncState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) - ..aOM(2, _omitFieldNames ? '' : 'subscription', subBuilder: UpdateSubscription.create) - ..pc(3, _omitFieldNames ? '' : 'publishTracks', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SyncState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'answer', + subBuilder: SessionDescription.create) + ..aOM(2, _omitFieldNames ? '' : 'subscription', + subBuilder: UpdateSubscription.create) + ..pPM(3, _omitFieldNames ? '' : 'publishTracks', subBuilder: TrackPublishedResponse.create) - ..pc(4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, + ..pPM(4, _omitFieldNames ? '' : 'dataChannels', subBuilder: DataChannelInfo.create) - ..aOM(5, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) + ..aOM(5, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) ..pPS(6, _omitFieldNames ? '' : 'trackSidsDisabled') - ..pc(7, _omitFieldNames ? '' : 'datachannelReceiveStates', $pb.PbFieldType.PM, + ..pPM( + 7, _omitFieldNames ? '' : 'datachannelReceiveStates', subBuilder: DataChannelReceiveState.create) + ..pPM( + 8, _omitFieldNames ? '' : 'publishDataTracks', + subBuilder: PublishDataTrackResponse.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SyncState clone() => SyncState()..mergeFromMessage(this); + SyncState clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SyncState copyWith(void Function(SyncState) updates) => super.copyWith((message) => updates(message as SyncState)) as SyncState; @@ -3465,9 +4481,9 @@ class SyncState extends $pb.GeneratedMessage { static SyncState create() => SyncState._(); @$core.override SyncState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SyncState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SyncState getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SyncState? _defaultInstance; /// last subscribe/publish answer before reconnecting @@ -3519,7 +4535,11 @@ class SyncState extends $pb.GeneratedMessage { $pb.PbList<$core.String> get trackSidsDisabled => $_getList(5); @$pb.TagNumber(7) - $pb.PbList get datachannelReceiveStates => $_getList(6); + $pb.PbList get datachannelReceiveStates => + $_getList(6); + + @$pb.TagNumber(8) + $pb.PbList get publishDataTracks => $_getList(7); } class DataChannelReceiveState extends $pb.GeneratedMessage { @@ -3542,17 +4562,21 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelReceiveState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataChannelReceiveState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'publisherSid') - ..a<$core.int>(2, _omitFieldNames ? '' : 'lastSeq', $pb.PbFieldType.OU3) + ..aI(2, _omitFieldNames ? '' : 'lastSeq', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState clone() => DataChannelReceiveState()..mergeFromMessage(this); + DataChannelReceiveState clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState copyWith(void Function(DataChannelReceiveState) updates) => - super.copyWith((message) => updates(message as DataChannelReceiveState)) as DataChannelReceiveState; + DataChannelReceiveState copyWith( + void Function(DataChannelReceiveState) updates) => + super.copyWith((message) => updates(message as DataChannelReceiveState)) + as DataChannelReceiveState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3561,10 +4585,9 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { static DataChannelReceiveState create() => DataChannelReceiveState._(); @$core.override DataChannelReceiveState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataChannelReceiveState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataChannelReceiveState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataChannelReceiveState? _defaultInstance; @$pb.TagNumber(1) @@ -3604,22 +4627,26 @@ class DataChannelInfo extends $pb.GeneratedMessage { factory DataChannelInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataChannelInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataChannelInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataChannelInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'label') - ..a<$core.int>(2, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) - ..e(3, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, - defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) + ..aI(2, _omitFieldNames ? '' : 'id', fieldType: $pb.PbFieldType.OU3) + ..aE(3, _omitFieldNames ? '' : 'target', + enumValues: SignalTarget.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelInfo clone() => DataChannelInfo()..mergeFromMessage(this); + DataChannelInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataChannelInfo copyWith(void Function(DataChannelInfo) updates) => - super.copyWith((message) => updates(message as DataChannelInfo)) as DataChannelInfo; + super.copyWith((message) => updates(message as DataChannelInfo)) + as DataChannelInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3628,10 +4655,9 @@ class DataChannelInfo extends $pb.GeneratedMessage { static DataChannelInfo create() => DataChannelInfo._(); @$core.override DataChannelInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataChannelInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataChannelInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataChannelInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3692,12 +4718,17 @@ class SimulateScenario extends $pb.GeneratedMessage { if (nodeFailure != null) result.nodeFailure = nodeFailure; if (migration != null) result.migration = migration; if (serverLeave != null) result.serverLeave = serverLeave; - if (switchCandidateProtocol != null) result.switchCandidateProtocol = switchCandidateProtocol; - if (subscriberBandwidth != null) result.subscriberBandwidth = subscriberBandwidth; - if (disconnectSignalOnResume != null) result.disconnectSignalOnResume = disconnectSignalOnResume; + if (switchCandidateProtocol != null) + result.switchCandidateProtocol = switchCandidateProtocol; + if (subscriberBandwidth != null) + result.subscriberBandwidth = subscriberBandwidth; + if (disconnectSignalOnResume != null) + result.disconnectSignalOnResume = disconnectSignalOnResume; if (disconnectSignalOnResumeNoMessages != null) - result.disconnectSignalOnResumeNoMessages = disconnectSignalOnResumeNoMessages; - if (leaveRequestFullReconnect != null) result.leaveRequestFullReconnect = leaveRequestFullReconnect; + result.disconnectSignalOnResumeNoMessages = + disconnectSignalOnResumeNoMessages; + if (leaveRequestFullReconnect != null) + result.leaveRequestFullReconnect = leaveRequestFullReconnect; return result; } @@ -3710,7 +4741,8 @@ class SimulateScenario extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SimulateScenario_Scenario> _SimulateScenario_ScenarioByTag = { + static const $core.Map<$core.int, SimulateScenario_Scenario> + _SimulateScenario_ScenarioByTag = { 1: SimulateScenario_Scenario.speakerUpdate, 2: SimulateScenario_Scenario.nodeFailure, 3: SimulateScenario_Scenario.migration, @@ -3722,15 +4754,17 @@ class SimulateScenario extends $pb.GeneratedMessage { 9: SimulateScenario_Scenario.leaveRequestFullReconnect, 0: SimulateScenario_Scenario.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulateScenario', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SimulateScenario', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9]) - ..a<$core.int>(1, _omitFieldNames ? '' : 'speakerUpdate', $pb.PbFieldType.O3) + ..aI(1, _omitFieldNames ? '' : 'speakerUpdate') ..aOB(2, _omitFieldNames ? '' : 'nodeFailure') ..aOB(3, _omitFieldNames ? '' : 'migration') ..aOB(4, _omitFieldNames ? '' : 'serverLeave') - ..e(5, _omitFieldNames ? '' : 'switchCandidateProtocol', $pb.PbFieldType.OE, - defaultOrMaker: CandidateProtocol.UDP, valueOf: CandidateProtocol.valueOf, enumValues: CandidateProtocol.values) + ..aE(5, _omitFieldNames ? '' : 'switchCandidateProtocol', + enumValues: CandidateProtocol.values) ..aInt64(6, _omitFieldNames ? '' : 'subscriberBandwidth') ..aOB(7, _omitFieldNames ? '' : 'disconnectSignalOnResume') ..aOB(8, _omitFieldNames ? '' : 'disconnectSignalOnResumeNoMessages') @@ -3738,10 +4772,11 @@ class SimulateScenario extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SimulateScenario clone() => SimulateScenario()..mergeFromMessage(this); + SimulateScenario clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulateScenario copyWith(void Function(SimulateScenario) updates) => - super.copyWith((message) => updates(message as SimulateScenario)) as SimulateScenario; + super.copyWith((message) => updates(message as SimulateScenario)) + as SimulateScenario; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3750,13 +4785,31 @@ class SimulateScenario extends $pb.GeneratedMessage { static SimulateScenario create() => SimulateScenario._(); @$core.override SimulateScenario createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulateScenario getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimulateScenario getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SimulateScenario? _defaultInstance; - SimulateScenario_Scenario whichScenario() => _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + SimulateScenario_Scenario whichScenario() => + _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; + @$pb.TagNumber(1) + @$pb.TagNumber(2) + @$pb.TagNumber(3) + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) void clearScenario() => $_clearField($_whichOneof(0)); /// simulate N seconds of speaker activity @@ -3834,7 +4887,8 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get disconnectSignalOnResumeNoMessages => $_getBF(7); @$pb.TagNumber(8) - set disconnectSignalOnResumeNoMessages($core.bool value) => $_setBool(7, value); + set disconnectSignalOnResumeNoMessages($core.bool value) => + $_setBool(7, value); @$pb.TagNumber(8) $core.bool hasDisconnectSignalOnResumeNoMessages() => $_has(7); @$pb.TagNumber(8) @@ -3864,21 +4918,26 @@ class Ping extends $pb.GeneratedMessage { Ping._(); - factory Ping.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Ping.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Ping.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Ping.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Ping', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Ping', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestamp') ..aInt64(2, _omitFieldNames ? '' : 'rtt') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Ping clone() => Ping()..mergeFromMessage(this); + Ping clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Ping copyWith(void Function(Ping) updates) => super.copyWith((message) => updates(message as Ping)) as Ping; + Ping copyWith(void Function(Ping) updates) => + super.copyWith((message) => updates(message as Ping)) as Ping; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3887,9 +4946,9 @@ class Ping extends $pb.GeneratedMessage { static Ping create() => Ping._(); @$core.override Ping createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Ping getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Ping getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Ping? _defaultInstance; @$pb.TagNumber(1) @@ -3925,21 +4984,26 @@ class Pong extends $pb.GeneratedMessage { Pong._(); - factory Pong.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pong.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Pong.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pong.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pong', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Pong', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'lastPingTimestamp') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Pong clone() => Pong()..mergeFromMessage(this); + Pong clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Pong copyWith(void Function(Pong) updates) => super.copyWith((message) => updates(message as Pong)) as Pong; + Pong copyWith(void Function(Pong) updates) => + super.copyWith((message) => updates(message as Pong)) as Pong; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3948,9 +5012,9 @@ class Pong extends $pb.GeneratedMessage { static Pong create() => Pong._(); @$core.override Pong createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Pong getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Pong getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Pong? _defaultInstance; /// timestamp field of last received ping request @@ -3987,19 +5051,24 @@ class RegionSettings extends $pb.GeneratedMessage { factory RegionSettings.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RegionSettings.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RegionSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.PM, subBuilder: RegionInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RegionSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pPM(1, _omitFieldNames ? '' : 'regions', + subBuilder: RegionInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RegionSettings clone() => RegionSettings()..mergeFromMessage(this); + RegionSettings clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionSettings copyWith(void Function(RegionSettings) updates) => - super.copyWith((message) => updates(message as RegionSettings)) as RegionSettings; + super.copyWith((message) => updates(message as RegionSettings)) + as RegionSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4008,9 +5077,9 @@ class RegionSettings extends $pb.GeneratedMessage { static RegionSettings create() => RegionSettings._(); @$core.override RegionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RegionSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RegionSettings getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RegionSettings? _defaultInstance; @$pb.TagNumber(1) @@ -4035,18 +5104,21 @@ class RegionInfo extends $pb.GeneratedMessage { factory RegionInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RegionInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RegionInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RegionInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'region') ..aOS(2, _omitFieldNames ? '' : 'url') ..aInt64(3, _omitFieldNames ? '' : 'distance') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RegionInfo clone() => RegionInfo()..mergeFromMessage(this); + RegionInfo clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionInfo copyWith(void Function(RegionInfo) updates) => super.copyWith((message) => updates(message as RegionInfo)) as RegionInfo; @@ -4058,9 +5130,9 @@ class RegionInfo extends $pb.GeneratedMessage { static RegionInfo create() => RegionInfo._(); @$core.override RegionInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RegionInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RegionInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RegionInfo? _defaultInstance; @$pb.TagNumber(1) @@ -4094,7 +5166,7 @@ class RegionInfo extends $pb.GeneratedMessage { class SubscriptionResponse extends $pb.GeneratedMessage { factory SubscriptionResponse({ $core.String? trackSid, - $2.SubscriptionError? err, + $0.SubscriptionError? err, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; @@ -4111,20 +5183,21 @@ class SubscriptionResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..e<$2.SubscriptionError>(2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, - defaultOrMaker: $2.SubscriptionError.SE_UNKNOWN, - valueOf: $2.SubscriptionError.valueOf, - enumValues: $2.SubscriptionError.values) + ..aE<$0.SubscriptionError>(2, _omitFieldNames ? '' : 'err', + enumValues: $0.SubscriptionError.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionResponse clone() => SubscriptionResponse()..mergeFromMessage(this); + SubscriptionResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionResponse copyWith(void Function(SubscriptionResponse) updates) => - super.copyWith((message) => updates(message as SubscriptionResponse)) as SubscriptionResponse; + super.copyWith((message) => updates(message as SubscriptionResponse)) + as SubscriptionResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4133,10 +5206,9 @@ class SubscriptionResponse extends $pb.GeneratedMessage { static SubscriptionResponse create() => SubscriptionResponse._(); @$core.override SubscriptionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionResponse? _defaultInstance; @$pb.TagNumber(1) @@ -4149,16 +5221,26 @@ class SubscriptionResponse extends $pb.GeneratedMessage { void clearTrackSid() => $_clearField(1); @$pb.TagNumber(2) - $2.SubscriptionError get err => $_getN(1); + $0.SubscriptionError get err => $_getN(1); @$pb.TagNumber(2) - set err($2.SubscriptionError value) => $_setField(2, value); + set err($0.SubscriptionError value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasErr() => $_has(1); @$pb.TagNumber(2) void clearErr() => $_clearField(2); } -enum RequestResponse_Request { trickle, addTrack, mute, updateMetadata, updateAudioTrack, updateVideoTrack, notSet } +enum RequestResponse_Request { + trickle, + addTrack, + mute, + updateMetadata, + updateAudioTrack, + updateVideoTrack, + publishDataTrack, + unpublishDataTrack, + notSet +} class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse({ @@ -4171,6 +5253,8 @@ class RequestResponse extends $pb.GeneratedMessage { UpdateParticipantMetadata? updateMetadata, UpdateLocalAudioTrack? updateAudioTrack, UpdateLocalVideoTrack? updateVideoTrack, + PublishDataTrackRequest? publishDataTrack, + UnpublishDataTrackRequest? unpublishDataTrack, }) { final result = create(); if (requestId != null) result.requestId = requestId; @@ -4182,6 +5266,9 @@ class RequestResponse extends $pb.GeneratedMessage { if (updateMetadata != null) result.updateMetadata = updateMetadata; if (updateAudioTrack != null) result.updateAudioTrack = updateAudioTrack; if (updateVideoTrack != null) result.updateVideoTrack = updateVideoTrack; + if (publishDataTrack != null) result.publishDataTrack = publishDataTrack; + if (unpublishDataTrack != null) + result.unpublishDataTrack = unpublishDataTrack; return result; } @@ -4190,41 +5277,57 @@ class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RequestResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RequestResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RequestResponse_Request> _RequestResponse_RequestByTag = { + static const $core.Map<$core.int, RequestResponse_Request> + _RequestResponse_RequestByTag = { 4: RequestResponse_Request.trickle, 5: RequestResponse_Request.addTrack, 6: RequestResponse_Request.mute, 7: RequestResponse_Request.updateMetadata, 8: RequestResponse_Request.updateAudioTrack, 9: RequestResponse_Request.updateVideoTrack, + 10: RequestResponse_Request.publishDataTrack, + 11: RequestResponse_Request.unpublishDataTrack, 0: RequestResponse_Request.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..oo(0, [4, 5, 6, 7, 8, 9]) - ..a<$core.int>(1, _omitFieldNames ? '' : 'requestId', $pb.PbFieldType.OU3) - ..e(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, - defaultOrMaker: RequestResponse_Reason.OK, - valueOf: RequestResponse_Reason.valueOf, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RequestResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..oo(0, [4, 5, 6, 7, 8, 9, 10, 11]) + ..aI(1, _omitFieldNames ? '' : 'requestId', fieldType: $pb.PbFieldType.OU3) + ..aE(2, _omitFieldNames ? '' : 'reason', enumValues: RequestResponse_Reason.values) ..aOS(3, _omitFieldNames ? '' : 'message') - ..aOM(4, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'addTrack', subBuilder: AddTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) + ..aOM(4, _omitFieldNames ? '' : 'trickle', + subBuilder: TrickleRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'addTrack', + subBuilder: AddTrackRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'mute', + subBuilder: MuteTrackRequest.create) ..aOM(7, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) - ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', subBuilder: UpdateLocalAudioTrack.create) - ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', subBuilder: UpdateLocalVideoTrack.create) + ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', + subBuilder: UpdateLocalAudioTrack.create) + ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', + subBuilder: UpdateLocalVideoTrack.create) + ..aOM( + 10, _omitFieldNames ? '' : 'publishDataTrack', + subBuilder: PublishDataTrackRequest.create) + ..aOM( + 11, _omitFieldNames ? '' : 'unpublishDataTrack', + subBuilder: UnpublishDataTrackRequest.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RequestResponse clone() => RequestResponse()..mergeFromMessage(this); + RequestResponse clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RequestResponse copyWith(void Function(RequestResponse) updates) => - super.copyWith((message) => updates(message as RequestResponse)) as RequestResponse; + super.copyWith((message) => updates(message as RequestResponse)) + as RequestResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4233,13 +5336,29 @@ class RequestResponse extends $pb.GeneratedMessage { static RequestResponse create() => RequestResponse._(); @$core.override RequestResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RequestResponse? _defaultInstance; - RequestResponse_Request whichRequest() => _RequestResponse_RequestByTag[$_whichOneof(0)]!; + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + @$pb.TagNumber(10) + @$pb.TagNumber(11) + RequestResponse_Request whichRequest() => + _RequestResponse_RequestByTag[$_whichOneof(0)]!; + @$pb.TagNumber(4) + @$pb.TagNumber(5) + @$pb.TagNumber(6) + @$pb.TagNumber(7) + @$pb.TagNumber(8) + @$pb.TagNumber(9) + @$pb.TagNumber(10) + @$pb.TagNumber(11) void clearRequest() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4334,6 +5453,29 @@ class RequestResponse extends $pb.GeneratedMessage { void clearUpdateVideoTrack() => $_clearField(9); @$pb.TagNumber(9) UpdateLocalVideoTrack ensureUpdateVideoTrack() => $_ensure(8); + + @$pb.TagNumber(10) + PublishDataTrackRequest get publishDataTrack => $_getN(9); + @$pb.TagNumber(10) + set publishDataTrack(PublishDataTrackRequest value) => $_setField(10, value); + @$pb.TagNumber(10) + $core.bool hasPublishDataTrack() => $_has(9); + @$pb.TagNumber(10) + void clearPublishDataTrack() => $_clearField(10); + @$pb.TagNumber(10) + PublishDataTrackRequest ensurePublishDataTrack() => $_ensure(9); + + @$pb.TagNumber(11) + UnpublishDataTrackRequest get unpublishDataTrack => $_getN(10); + @$pb.TagNumber(11) + set unpublishDataTrack(UnpublishDataTrackRequest value) => + $_setField(11, value); + @$pb.TagNumber(11) + $core.bool hasUnpublishDataTrack() => $_has(10); + @$pb.TagNumber(11) + void clearUnpublishDataTrack() => $_clearField(11); + @$pb.TagNumber(11) + UnpublishDataTrackRequest ensureUnpublishDataTrack() => $_ensure(10); } class TrackSubscribed extends $pb.GeneratedMessage { @@ -4350,19 +5492,23 @@ class TrackSubscribed extends $pb.GeneratedMessage { factory TrackSubscribed.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackSubscribed.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackSubscribed.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackSubscribed', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackSubscribed', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackSubscribed clone() => TrackSubscribed()..mergeFromMessage(this); + TrackSubscribed clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackSubscribed copyWith(void Function(TrackSubscribed) updates) => - super.copyWith((message) => updates(message as TrackSubscribed)) as TrackSubscribed; + super.copyWith((message) => updates(message as TrackSubscribed)) + as TrackSubscribed; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4371,10 +5517,9 @@ class TrackSubscribed extends $pb.GeneratedMessage { static TrackSubscribed create() => TrackSubscribed._(); @$core.override TrackSubscribed createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackSubscribed getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackSubscribed getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackSubscribed? _defaultInstance; @$pb.TagNumber(1) @@ -4397,7 +5542,8 @@ class ConnectionSettings extends $pb.GeneratedMessage { final result = create(); if (autoSubscribe != null) result.autoSubscribe = autoSubscribe; if (adaptiveStream != null) result.adaptiveStream = adaptiveStream; - if (subscriberAllowPause != null) result.subscriberAllowPause = subscriberAllowPause; + if (subscriberAllowPause != null) + result.subscriberAllowPause = subscriberAllowPause; if (disableIceLite != null) result.disableIceLite = disableIceLite; return result; } @@ -4411,8 +5557,10 @@ class ConnectionSettings extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'autoSubscribe') ..aOB(2, _omitFieldNames ? '' : 'adaptiveStream') ..aOB(3, _omitFieldNames ? '' : 'subscriberAllowPause') @@ -4420,10 +5568,11 @@ class ConnectionSettings extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionSettings clone() => ConnectionSettings()..mergeFromMessage(this); + ConnectionSettings clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ConnectionSettings copyWith(void Function(ConnectionSettings) updates) => - super.copyWith((message) => updates(message as ConnectionSettings)) as ConnectionSettings; + super.copyWith((message) => updates(message as ConnectionSettings)) + as ConnectionSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4432,10 +5581,9 @@ class ConnectionSettings extends $pb.GeneratedMessage { static ConnectionSettings create() => ConnectionSettings._(); @$core.override ConnectionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionSettings getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionSettings getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectionSettings? _defaultInstance; @$pb.TagNumber(1) @@ -4477,23 +5625,27 @@ class ConnectionSettings extends $pb.GeneratedMessage { class JoinRequest extends $pb.GeneratedMessage { factory JoinRequest({ - $2.ClientInfo? clientInfo, + $0.ClientInfo? clientInfo, ConnectionSettings? connectionSettings, $core.String? metadata, - $core.Iterable<$core.MapEntry<$core.String, $core.String>>? participantAttributes, + $core.Iterable<$core.MapEntry<$core.String, $core.String>>? + participantAttributes, $core.Iterable? addTrackRequests, SessionDescription? publisherOffer, $core.bool? reconnect, - $2.ReconnectReason? reconnectReason, + $0.ReconnectReason? reconnectReason, $core.String? participantSid, SyncState? syncState, }) { final result = create(); if (clientInfo != null) result.clientInfo = clientInfo; - if (connectionSettings != null) result.connectionSettings = connectionSettings; + if (connectionSettings != null) + result.connectionSettings = connectionSettings; if (metadata != null) result.metadata = metadata; - if (participantAttributes != null) result.participantAttributes.addEntries(participantAttributes); - if (addTrackRequests != null) result.addTrackRequests.addAll(addTrackRequests); + if (participantAttributes != null) + result.participantAttributes.addEntries(participantAttributes); + if (addTrackRequests != null) + result.addTrackRequests.addAll(addTrackRequests); if (publisherOffer != null) result.publisherOffer = publisherOffer; if (reconnect != null) result.reconnect = reconnect; if (reconnectReason != null) result.reconnectReason = reconnectReason; @@ -4507,36 +5659,43 @@ class JoinRequest extends $pb.GeneratedMessage { factory JoinRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory JoinRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory JoinRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$2.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', subBuilder: $2.ClientInfo.create) - ..aOM(2, _omitFieldNames ? '' : 'connectionSettings', subBuilder: ConnectionSettings.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'JoinRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', + subBuilder: $0.ClientInfo.create) + ..aOM(2, _omitFieldNames ? '' : 'connectionSettings', + subBuilder: ConnectionSettings.create) ..aOS(3, _omitFieldNames ? '' : 'metadata') - ..m<$core.String, $core.String>(4, _omitFieldNames ? '' : 'participantAttributes', + ..m<$core.String, $core.String>( + 4, _omitFieldNames ? '' : 'participantAttributes', entryClassName: 'JoinRequest.ParticipantAttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..pc(5, _omitFieldNames ? '' : 'addTrackRequests', $pb.PbFieldType.PM, + ..pPM(5, _omitFieldNames ? '' : 'addTrackRequests', subBuilder: AddTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'publisherOffer', subBuilder: SessionDescription.create) + ..aOM(6, _omitFieldNames ? '' : 'publisherOffer', + subBuilder: SessionDescription.create) ..aOB(7, _omitFieldNames ? '' : 'reconnect') - ..e<$2.ReconnectReason>(8, _omitFieldNames ? '' : 'reconnectReason', $pb.PbFieldType.OE, - defaultOrMaker: $2.ReconnectReason.RR_UNKNOWN, - valueOf: $2.ReconnectReason.valueOf, - enumValues: $2.ReconnectReason.values) + ..aE<$0.ReconnectReason>(8, _omitFieldNames ? '' : 'reconnectReason', + enumValues: $0.ReconnectReason.values) ..aOS(9, _omitFieldNames ? '' : 'participantSid') - ..aOM(10, _omitFieldNames ? '' : 'syncState', subBuilder: SyncState.create) + ..aOM(10, _omitFieldNames ? '' : 'syncState', + subBuilder: SyncState.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - JoinRequest clone() => JoinRequest()..mergeFromMessage(this); + JoinRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinRequest copyWith(void Function(JoinRequest) updates) => - super.copyWith((message) => updates(message as JoinRequest)) as JoinRequest; + super.copyWith((message) => updates(message as JoinRequest)) + as JoinRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4545,21 +5704,21 @@ class JoinRequest extends $pb.GeneratedMessage { static JoinRequest create() => JoinRequest._(); @$core.override JoinRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static JoinRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static JoinRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static JoinRequest? _defaultInstance; @$pb.TagNumber(1) - $2.ClientInfo get clientInfo => $_getN(0); + $0.ClientInfo get clientInfo => $_getN(0); @$pb.TagNumber(1) - set clientInfo($2.ClientInfo value) => $_setField(1, value); + set clientInfo($0.ClientInfo value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasClientInfo() => $_has(0); @$pb.TagNumber(1) void clearClientInfo() => $_clearField(1); @$pb.TagNumber(1) - $2.ClientInfo ensureClientInfo() => $_ensure(0); + $0.ClientInfo ensureClientInfo() => $_ensure(0); @$pb.TagNumber(2) ConnectionSettings get connectionSettings => $_getN(1); @@ -4585,7 +5744,8 @@ class JoinRequest extends $pb.GeneratedMessage { /// will overwrite if the same key is in the token /// will not delete keys from token if there is a key collision and this sets that key to empty value @$pb.TagNumber(4) - $pb.PbMap<$core.String, $core.String> get participantAttributes => $_getMap(3); + $pb.PbMap<$core.String, $core.String> get participantAttributes => + $_getMap(3); @$pb.TagNumber(5) $pb.PbList get addTrackRequests => $_getList(4); @@ -4611,9 +5771,9 @@ class JoinRequest extends $pb.GeneratedMessage { void clearReconnect() => $_clearField(7); @$pb.TagNumber(8) - $2.ReconnectReason get reconnectReason => $_getN(7); + $0.ReconnectReason get reconnectReason => $_getN(7); @$pb.TagNumber(8) - set reconnectReason($2.ReconnectReason value) => $_setField(8, value); + set reconnectReason($0.ReconnectReason value) => $_setField(8, value); @$pb.TagNumber(8) $core.bool hasReconnectReason() => $_has(7); @$pb.TagNumber(8) @@ -4660,20 +5820,23 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WrappedJoinRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'compression', $pb.PbFieldType.OE, - defaultOrMaker: WrappedJoinRequest_Compression.NONE, - valueOf: WrappedJoinRequest_Compression.valueOf, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WrappedJoinRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aE( + 1, _omitFieldNames ? '' : 'compression', enumValues: WrappedJoinRequest_Compression.values) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'joinRequest', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'joinRequest', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WrappedJoinRequest clone() => WrappedJoinRequest()..mergeFromMessage(this); + WrappedJoinRequest clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WrappedJoinRequest copyWith(void Function(WrappedJoinRequest) updates) => - super.copyWith((message) => updates(message as WrappedJoinRequest)) as WrappedJoinRequest; + super.copyWith((message) => updates(message as WrappedJoinRequest)) + as WrappedJoinRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4682,10 +5845,9 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { static WrappedJoinRequest create() => WrappedJoinRequest._(); @$core.override WrappedJoinRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static WrappedJoinRequest getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WrappedJoinRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static WrappedJoinRequest? _defaultInstance; @$pb.TagNumber(1) @@ -4727,17 +5889,21 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MediaSectionsRequirement', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'numAudios', $pb.PbFieldType.OU3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'numVideos', $pb.PbFieldType.OU3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MediaSectionsRequirement', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aI(1, _omitFieldNames ? '' : 'numAudios', fieldType: $pb.PbFieldType.OU3) + ..aI(2, _omitFieldNames ? '' : 'numVideos', fieldType: $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement clone() => MediaSectionsRequirement()..mergeFromMessage(this); + MediaSectionsRequirement clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement copyWith(void Function(MediaSectionsRequirement) updates) => - super.copyWith((message) => updates(message as MediaSectionsRequirement)) as MediaSectionsRequirement; + MediaSectionsRequirement copyWith( + void Function(MediaSectionsRequirement) updates) => + super.copyWith((message) => updates(message as MediaSectionsRequirement)) + as MediaSectionsRequirement; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4746,10 +5912,9 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { static MediaSectionsRequirement create() => MediaSectionsRequirement._(); @$core.override MediaSectionsRequirement createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MediaSectionsRequirement getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MediaSectionsRequirement getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MediaSectionsRequirement? _defaultInstance; @$pb.TagNumber(1) @@ -4771,5 +5936,7 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { void clearNumVideos() => $_clearField(2); } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_rtc.pbenum.dart b/lib/src/proto/livekit_rtc.pbenum.dart index d45ac2fd..3375ce57 100644 --- a/lib/src/proto/livekit_rtc.pbenum.dart +++ b/lib/src/proto/livekit_rtc.pbenum.dart @@ -1,53 +1,64 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_rtc.proto -// +// Generated from livekit_rtc.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class SignalTarget extends $pb.ProtobufEnum { - static const SignalTarget PUBLISHER = SignalTarget._(0, _omitEnumNames ? '' : 'PUBLISHER'); - static const SignalTarget SUBSCRIBER = SignalTarget._(1, _omitEnumNames ? '' : 'SUBSCRIBER'); + static const SignalTarget PUBLISHER = + SignalTarget._(0, _omitEnumNames ? '' : 'PUBLISHER'); + static const SignalTarget SUBSCRIBER = + SignalTarget._(1, _omitEnumNames ? '' : 'SUBSCRIBER'); static const $core.List values = [ PUBLISHER, SUBSCRIBER, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static SignalTarget? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static SignalTarget? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const SignalTarget._(super.value, super.name); } class StreamState extends $pb.ProtobufEnum { - static const StreamState ACTIVE = StreamState._(0, _omitEnumNames ? '' : 'ACTIVE'); - static const StreamState PAUSED = StreamState._(1, _omitEnumNames ? '' : 'PAUSED'); + static const StreamState ACTIVE = + StreamState._(0, _omitEnumNames ? '' : 'ACTIVE'); + static const StreamState PAUSED = + StreamState._(1, _omitEnumNames ? '' : 'PAUSED'); static const $core.List values = [ ACTIVE, PAUSED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static StreamState? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static StreamState? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const StreamState._(super.value, super.name); } class CandidateProtocol extends $pb.ProtobufEnum { - static const CandidateProtocol UDP = CandidateProtocol._(0, _omitEnumNames ? '' : 'UDP'); - static const CandidateProtocol TCP = CandidateProtocol._(1, _omitEnumNames ? '' : 'TCP'); - static const CandidateProtocol TLS = CandidateProtocol._(2, _omitEnumNames ? '' : 'TLS'); + static const CandidateProtocol UDP = + CandidateProtocol._(0, _omitEnumNames ? '' : 'UDP'); + static const CandidateProtocol TCP = + CandidateProtocol._(1, _omitEnumNames ? '' : 'TCP'); + static const CandidateProtocol TLS = + CandidateProtocol._(2, _omitEnumNames ? '' : 'TLS'); static const $core.List values = [ UDP, @@ -55,17 +66,22 @@ class CandidateProtocol extends $pb.ProtobufEnum { TLS, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static CandidateProtocol? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static CandidateProtocol? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const CandidateProtocol._(super.value, super.name); } /// indicates action clients should take on receiving this message class LeaveRequest_Action extends $pb.ProtobufEnum { - static const LeaveRequest_Action DISCONNECT = LeaveRequest_Action._(0, _omitEnumNames ? '' : 'DISCONNECT'); - static const LeaveRequest_Action RESUME = LeaveRequest_Action._(1, _omitEnumNames ? '' : 'RESUME'); - static const LeaveRequest_Action RECONNECT = LeaveRequest_Action._(2, _omitEnumNames ? '' : 'RECONNECT'); + static const LeaveRequest_Action DISCONNECT = + LeaveRequest_Action._(0, _omitEnumNames ? '' : 'DISCONNECT'); + static const LeaveRequest_Action RESUME = + LeaveRequest_Action._(1, _omitEnumNames ? '' : 'RESUME'); + static const LeaveRequest_Action RECONNECT = + LeaveRequest_Action._(2, _omitEnumNames ? '' : 'RECONNECT'); static const $core.List values = [ DISCONNECT, @@ -73,7 +89,8 @@ class LeaveRequest_Action extends $pb.ProtobufEnum { RECONNECT, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static LeaveRequest_Action? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -81,18 +98,31 @@ class LeaveRequest_Action extends $pb.ProtobufEnum { } class RequestResponse_Reason extends $pb.ProtobufEnum { - static const RequestResponse_Reason OK = RequestResponse_Reason._(0, _omitEnumNames ? '' : 'OK'); - static const RequestResponse_Reason NOT_FOUND = RequestResponse_Reason._(1, _omitEnumNames ? '' : 'NOT_FOUND'); - static const RequestResponse_Reason NOT_ALLOWED = RequestResponse_Reason._(2, _omitEnumNames ? '' : 'NOT_ALLOWED'); + static const RequestResponse_Reason OK = + RequestResponse_Reason._(0, _omitEnumNames ? '' : 'OK'); + static const RequestResponse_Reason NOT_FOUND = + RequestResponse_Reason._(1, _omitEnumNames ? '' : 'NOT_FOUND'); + static const RequestResponse_Reason NOT_ALLOWED = + RequestResponse_Reason._(2, _omitEnumNames ? '' : 'NOT_ALLOWED'); static const RequestResponse_Reason LIMIT_EXCEEDED = RequestResponse_Reason._(3, _omitEnumNames ? '' : 'LIMIT_EXCEEDED'); - static const RequestResponse_Reason QUEUED = RequestResponse_Reason._(4, _omitEnumNames ? '' : 'QUEUED'); + static const RequestResponse_Reason QUEUED = + RequestResponse_Reason._(4, _omitEnumNames ? '' : 'QUEUED'); static const RequestResponse_Reason UNSUPPORTED_TYPE = RequestResponse_Reason._(5, _omitEnumNames ? '' : 'UNSUPPORTED_TYPE'); static const RequestResponse_Reason UNCLASSIFIED_ERROR = RequestResponse_Reason._(6, _omitEnumNames ? '' : 'UNCLASSIFIED_ERROR'); - - static const $core.List values = [ + static const RequestResponse_Reason INVALID_HANDLE = + RequestResponse_Reason._(7, _omitEnumNames ? '' : 'INVALID_HANDLE'); + static const RequestResponse_Reason INVALID_NAME = + RequestResponse_Reason._(8, _omitEnumNames ? '' : 'INVALID_NAME'); + static const RequestResponse_Reason DUPLICATE_HANDLE = + RequestResponse_Reason._(9, _omitEnumNames ? '' : 'DUPLICATE_HANDLE'); + static const RequestResponse_Reason DUPLICATE_NAME = + RequestResponse_Reason._(10, _omitEnumNames ? '' : 'DUPLICATE_NAME'); + + static const $core.List values = + [ OK, NOT_FOUND, NOT_ALLOWED, @@ -100,9 +130,14 @@ class RequestResponse_Reason extends $pb.ProtobufEnum { QUEUED, UNSUPPORTED_TYPE, UNCLASSIFIED_ERROR, + INVALID_HANDLE, + INVALID_NAME, + DUPLICATE_HANDLE, + DUPLICATE_NAME, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 10); static RequestResponse_Reason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -110,19 +145,24 @@ class RequestResponse_Reason extends $pb.ProtobufEnum { } class WrappedJoinRequest_Compression extends $pb.ProtobufEnum { - static const WrappedJoinRequest_Compression NONE = WrappedJoinRequest_Compression._(0, _omitEnumNames ? '' : 'NONE'); - static const WrappedJoinRequest_Compression GZIP = WrappedJoinRequest_Compression._(1, _omitEnumNames ? '' : 'GZIP'); + static const WrappedJoinRequest_Compression NONE = + WrappedJoinRequest_Compression._(0, _omitEnumNames ? '' : 'NONE'); + static const WrappedJoinRequest_Compression GZIP = + WrappedJoinRequest_Compression._(1, _omitEnumNames ? '' : 'GZIP'); - static const $core.List values = [ + static const $core.List values = + [ NONE, GZIP, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); static WrappedJoinRequest_Compression? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const WrappedJoinRequest_Compression._(super.value, super.name); } -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_rtc.pbjson.dart b/lib/src/proto/livekit_rtc.pbjson.dart index 910a1750..be416e95 100644 --- a/lib/src/proto/livekit_rtc.pbjson.dart +++ b/lib/src/proto/livekit_rtc.pbjson.dart @@ -1,14 +1,15 @@ +// This is a generated file - do not edit. // -// Generated code. Do not modify. -// source: livekit_rtc.proto -// +// Generated from livekit_rtc.proto. + // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports +// ignore_for_file: unused_import import 'dart:convert' as $convert; import 'dart:core' as $core; @@ -24,8 +25,8 @@ const SignalTarget$json = { }; /// Descriptor for `SignalTarget`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List signalTargetDescriptor = - $convert.base64Decode('CgxTaWduYWxUYXJnZXQSDQoJUFVCTElTSEVSEAASDgoKU1VCU0NSSUJFUhAB'); +final $typed_data.Uint8List signalTargetDescriptor = $convert.base64Decode( + 'CgxTaWduYWxUYXJnZXQSDQoJUFVCTElTSEVSEAASDgoKU1VCU0NSSUJFUhAB'); @$core.Deprecated('Use streamStateDescriptor instead') const StreamState$json = { @@ -37,8 +38,8 @@ const StreamState$json = { }; /// Descriptor for `StreamState`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List streamStateDescriptor = - $convert.base64Decode('CgtTdHJlYW1TdGF0ZRIKCgZBQ1RJVkUQABIKCgZQQVVTRUQQAQ=='); +final $typed_data.Uint8List streamStateDescriptor = $convert + .base64Decode('CgtTdHJlYW1TdGF0ZRIKCgZBQ1RJVkUQABIKCgZQQVVTRUQQAQ=='); @$core.Deprecated('Use candidateProtocolDescriptor instead') const CandidateProtocol$json = { @@ -51,21 +52,85 @@ const CandidateProtocol$json = { }; /// Descriptor for `CandidateProtocol`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List candidateProtocolDescriptor = - $convert.base64Decode('ChFDYW5kaWRhdGVQcm90b2NvbBIHCgNVRFAQABIHCgNUQ1AQARIHCgNUTFMQAg=='); +final $typed_data.Uint8List candidateProtocolDescriptor = $convert.base64Decode( + 'ChFDYW5kaWRhdGVQcm90b2NvbBIHCgNVRFAQABIHCgNUQ1AQARIHCgNUTFMQAg=='); @$core.Deprecated('Use signalRequestDescriptor instead') const SignalRequest$json = { '1': 'SignalRequest', '2': [ - {'1': 'offer', '3': 1, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'offer'}, - {'1': 'answer', '3': 2, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'answer'}, - {'1': 'trickle', '3': 3, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, - {'1': 'add_track', '3': 4, '4': 1, '5': 11, '6': '.livekit.AddTrackRequest', '9': 0, '10': 'addTrack'}, - {'1': 'mute', '3': 5, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, - {'1': 'subscription', '3': 6, '4': 1, '5': 11, '6': '.livekit.UpdateSubscription', '9': 0, '10': 'subscription'}, - {'1': 'track_setting', '3': 7, '4': 1, '5': 11, '6': '.livekit.UpdateTrackSettings', '9': 0, '10': 'trackSetting'}, - {'1': 'leave', '3': 8, '4': 1, '5': 11, '6': '.livekit.LeaveRequest', '9': 0, '10': 'leave'}, + { + '1': 'offer', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'offer' + }, + { + '1': 'answer', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'answer' + }, + { + '1': 'trickle', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.TrickleRequest', + '9': 0, + '10': 'trickle' + }, + { + '1': 'add_track', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.AddTrackRequest', + '9': 0, + '10': 'addTrack' + }, + { + '1': 'mute', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.MuteTrackRequest', + '9': 0, + '10': 'mute' + }, + { + '1': 'subscription', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.UpdateSubscription', + '9': 0, + '10': 'subscription' + }, + { + '1': 'track_setting', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.UpdateTrackSettings', + '9': 0, + '10': 'trackSetting' + }, + { + '1': 'leave', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.LeaveRequest', + '9': 0, + '10': 'leave' + }, { '1': 'update_layers', '3': 10, @@ -85,8 +150,24 @@ const SignalRequest$json = { '9': 0, '10': 'subscriptionPermission' }, - {'1': 'sync_state', '3': 12, '4': 1, '5': 11, '6': '.livekit.SyncState', '9': 0, '10': 'syncState'}, - {'1': 'simulate', '3': 13, '4': 1, '5': 11, '6': '.livekit.SimulateScenario', '9': 0, '10': 'simulate'}, + { + '1': 'sync_state', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.SyncState', + '9': 0, + '10': 'syncState' + }, + { + '1': 'simulate', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.SimulateScenario', + '9': 0, + '10': 'simulate' + }, {'1': 'ping', '3': 14, '4': 1, '5': 3, '9': 0, '10': 'ping'}, { '1': 'update_metadata', @@ -97,7 +178,15 @@ const SignalRequest$json = { '9': 0, '10': 'updateMetadata' }, - {'1': 'ping_req', '3': 16, '4': 1, '5': 11, '6': '.livekit.Ping', '9': 0, '10': 'pingReq'}, + { + '1': 'ping_req', + '3': 16, + '4': 1, + '5': 11, + '6': '.livekit.Ping', + '9': 0, + '10': 'pingReq' + }, { '1': 'update_audio_track', '3': 17, @@ -116,6 +205,33 @@ const SignalRequest$json = { '9': 0, '10': 'updateVideoTrack' }, + { + '1': 'publish_data_track_request', + '3': 19, + '4': 1, + '5': 11, + '6': '.livekit.PublishDataTrackRequest', + '9': 0, + '10': 'publishDataTrackRequest' + }, + { + '1': 'unpublish_data_track_request', + '3': 20, + '4': 1, + '5': 11, + '6': '.livekit.UnpublishDataTrackRequest', + '9': 0, + '10': 'unpublishDataTrackRequest' + }, + { + '1': 'update_data_subscription', + '3': 21, + '4': 1, + '5': 11, + '6': '.livekit.UpdateDataSubscription', + '9': 0, + '10': 'updateDataSubscription' + }, ], '8': [ {'1': 'message'}, @@ -123,37 +239,82 @@ const SignalRequest$json = { }; /// Descriptor for `SignalRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List signalRequestDescriptor = - $convert.base64Decode('Cg1TaWduYWxSZXF1ZXN0EjMKBW9mZmVyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcH' - 'Rpb25IAFIFb2ZmZXISNQoGYW5zd2VyGAIgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRp' - 'b25IAFIGYW5zd2VyEjMKB3RyaWNrbGUYAyABKAsyFy5saXZla2l0LlRyaWNrbGVSZXF1ZXN0SA' - 'BSB3RyaWNrbGUSNwoJYWRkX3RyYWNrGAQgASgLMhgubGl2ZWtpdC5BZGRUcmFja1JlcXVlc3RI' - 'AFIIYWRkVHJhY2sSLwoEbXV0ZRgFIAEoCzIZLmxpdmVraXQuTXV0ZVRyYWNrUmVxdWVzdEgAUg' - 'RtdXRlEkEKDHN1YnNjcmlwdGlvbhgGIAEoCzIbLmxpdmVraXQuVXBkYXRlU3Vic2NyaXB0aW9u' - 'SABSDHN1YnNjcmlwdGlvbhJDCg10cmFja19zZXR0aW5nGAcgASgLMhwubGl2ZWtpdC5VcGRhdG' - 'VUcmFja1NldHRpbmdzSABSDHRyYWNrU2V0dGluZxItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQu' - 'TGVhdmVSZXF1ZXN0SABSBWxlYXZlEkUKDXVwZGF0ZV9sYXllcnMYCiABKAsyGi5saXZla2l0Ll' - 'VwZGF0ZVZpZGVvTGF5ZXJzQgIYAUgAUgx1cGRhdGVMYXllcnMSWgoXc3Vic2NyaXB0aW9uX3Bl' - 'cm1pc3Npb24YCyABKAsyHy5saXZla2l0LlN1YnNjcmlwdGlvblBlcm1pc3Npb25IAFIWc3Vic2' - 'NyaXB0aW9uUGVybWlzc2lvbhIzCgpzeW5jX3N0YXRlGAwgASgLMhIubGl2ZWtpdC5TeW5jU3Rh' - 'dGVIAFIJc3luY1N0YXRlEjcKCHNpbXVsYXRlGA0gASgLMhkubGl2ZWtpdC5TaW11bGF0ZVNjZW' - '5hcmlvSABSCHNpbXVsYXRlEhQKBHBpbmcYDiABKANIAFIEcGluZxJNCg91cGRhdGVfbWV0YWRh' - 'dGEYDyABKAsyIi5saXZla2l0LlVwZGF0ZVBhcnRpY2lwYW50TWV0YWRhdGFIAFIOdXBkYXRlTW' - 'V0YWRhdGESKgoIcGluZ19yZXEYECABKAsyDS5saXZla2l0LlBpbmdIAFIHcGluZ1JlcRJOChJ1' - 'cGRhdGVfYXVkaW9fdHJhY2sYESABKAsyHi5saXZla2l0LlVwZGF0ZUxvY2FsQXVkaW9UcmFja0' - 'gAUhB1cGRhdGVBdWRpb1RyYWNrEk4KEnVwZGF0ZV92aWRlb190cmFjaxgSIAEoCzIeLmxpdmVr' - 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2tCCQoHbWVzc2FnZQ' - '=='); +final $typed_data.Uint8List signalRequestDescriptor = $convert.base64Decode( + 'Cg1TaWduYWxSZXF1ZXN0EjMKBW9mZmVyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcH' + 'Rpb25IAFIFb2ZmZXISNQoGYW5zd2VyGAIgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRp' + 'b25IAFIGYW5zd2VyEjMKB3RyaWNrbGUYAyABKAsyFy5saXZla2l0LlRyaWNrbGVSZXF1ZXN0SA' + 'BSB3RyaWNrbGUSNwoJYWRkX3RyYWNrGAQgASgLMhgubGl2ZWtpdC5BZGRUcmFja1JlcXVlc3RI' + 'AFIIYWRkVHJhY2sSLwoEbXV0ZRgFIAEoCzIZLmxpdmVraXQuTXV0ZVRyYWNrUmVxdWVzdEgAUg' + 'RtdXRlEkEKDHN1YnNjcmlwdGlvbhgGIAEoCzIbLmxpdmVraXQuVXBkYXRlU3Vic2NyaXB0aW9u' + 'SABSDHN1YnNjcmlwdGlvbhJDCg10cmFja19zZXR0aW5nGAcgASgLMhwubGl2ZWtpdC5VcGRhdG' + 'VUcmFja1NldHRpbmdzSABSDHRyYWNrU2V0dGluZxItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQu' + 'TGVhdmVSZXF1ZXN0SABSBWxlYXZlEkUKDXVwZGF0ZV9sYXllcnMYCiABKAsyGi5saXZla2l0Ll' + 'VwZGF0ZVZpZGVvTGF5ZXJzQgIYAUgAUgx1cGRhdGVMYXllcnMSWgoXc3Vic2NyaXB0aW9uX3Bl' + 'cm1pc3Npb24YCyABKAsyHy5saXZla2l0LlN1YnNjcmlwdGlvblBlcm1pc3Npb25IAFIWc3Vic2' + 'NyaXB0aW9uUGVybWlzc2lvbhIzCgpzeW5jX3N0YXRlGAwgASgLMhIubGl2ZWtpdC5TeW5jU3Rh' + 'dGVIAFIJc3luY1N0YXRlEjcKCHNpbXVsYXRlGA0gASgLMhkubGl2ZWtpdC5TaW11bGF0ZVNjZW' + '5hcmlvSABSCHNpbXVsYXRlEhQKBHBpbmcYDiABKANIAFIEcGluZxJNCg91cGRhdGVfbWV0YWRh' + 'dGEYDyABKAsyIi5saXZla2l0LlVwZGF0ZVBhcnRpY2lwYW50TWV0YWRhdGFIAFIOdXBkYXRlTW' + 'V0YWRhdGESKgoIcGluZ19yZXEYECABKAsyDS5saXZla2l0LlBpbmdIAFIHcGluZ1JlcRJOChJ1' + 'cGRhdGVfYXVkaW9fdHJhY2sYESABKAsyHi5saXZla2l0LlVwZGF0ZUxvY2FsQXVkaW9UcmFja0' + 'gAUhB1cGRhdGVBdWRpb1RyYWNrEk4KEnVwZGF0ZV92aWRlb190cmFjaxgSIAEoCzIeLmxpdmVr' + 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2sSXwoacHVibGlzaF' + '9kYXRhX3RyYWNrX3JlcXVlc3QYEyABKAsyIC5saXZla2l0LlB1Ymxpc2hEYXRhVHJhY2tSZXF1' + 'ZXN0SABSF3B1Ymxpc2hEYXRhVHJhY2tSZXF1ZXN0EmUKHHVucHVibGlzaF9kYXRhX3RyYWNrX3' + 'JlcXVlc3QYFCABKAsyIi5saXZla2l0LlVucHVibGlzaERhdGFUcmFja1JlcXVlc3RIAFIZdW5w' + 'dWJsaXNoRGF0YVRyYWNrUmVxdWVzdBJbChh1cGRhdGVfZGF0YV9zdWJzY3JpcHRpb24YFSABKA' + 'syHy5saXZla2l0LlVwZGF0ZURhdGFTdWJzY3JpcHRpb25IAFIWdXBkYXRlRGF0YVN1YnNjcmlw' + 'dGlvbkIJCgdtZXNzYWdl'); @$core.Deprecated('Use signalResponseDescriptor instead') const SignalResponse$json = { '1': 'SignalResponse', '2': [ - {'1': 'join', '3': 1, '4': 1, '5': 11, '6': '.livekit.JoinResponse', '9': 0, '10': 'join'}, - {'1': 'answer', '3': 2, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'answer'}, - {'1': 'offer', '3': 3, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'offer'}, - {'1': 'trickle', '3': 4, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, - {'1': 'update', '3': 5, '4': 1, '5': 11, '6': '.livekit.ParticipantUpdate', '9': 0, '10': 'update'}, + { + '1': 'join', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.JoinResponse', + '9': 0, + '10': 'join' + }, + { + '1': 'answer', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'answer' + }, + { + '1': 'offer', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'offer' + }, + { + '1': 'trickle', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.TrickleRequest', + '9': 0, + '10': 'trickle' + }, + { + '1': 'update', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantUpdate', + '9': 0, + '10': 'update' + }, { '1': 'track_published', '3': 6, @@ -163,8 +324,24 @@ const SignalResponse$json = { '9': 0, '10': 'trackPublished' }, - {'1': 'leave', '3': 8, '4': 1, '5': 11, '6': '.livekit.LeaveRequest', '9': 0, '10': 'leave'}, - {'1': 'mute', '3': 9, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, + { + '1': 'leave', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.LeaveRequest', + '9': 0, + '10': 'leave' + }, + { + '1': 'mute', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.MuteTrackRequest', + '9': 0, + '10': 'mute' + }, { '1': 'speakers_changed', '3': 10, @@ -174,7 +351,15 @@ const SignalResponse$json = { '9': 0, '10': 'speakersChanged' }, - {'1': 'room_update', '3': 11, '4': 1, '5': 11, '6': '.livekit.RoomUpdate', '9': 0, '10': 'roomUpdate'}, + { + '1': 'room_update', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.RoomUpdate', + '9': 0, + '10': 'roomUpdate' + }, { '1': 'connection_quality', '3': 12, @@ -211,7 +396,14 @@ const SignalResponse$json = { '9': 0, '10': 'subscriptionPermissionUpdate' }, - {'1': 'refresh_token', '3': 16, '4': 1, '5': 9, '9': 0, '10': 'refreshToken'}, + { + '1': 'refresh_token', + '3': 16, + '4': 1, + '5': 9, + '9': 0, + '10': 'refreshToken' + }, { '1': 'track_unpublished', '3': 17, @@ -222,8 +414,24 @@ const SignalResponse$json = { '10': 'trackUnpublished' }, {'1': 'pong', '3': 18, '4': 1, '5': 3, '9': 0, '10': 'pong'}, - {'1': 'reconnect', '3': 19, '4': 1, '5': 11, '6': '.livekit.ReconnectResponse', '9': 0, '10': 'reconnect'}, - {'1': 'pong_resp', '3': 20, '4': 1, '5': 11, '6': '.livekit.Pong', '9': 0, '10': 'pongResp'}, + { + '1': 'reconnect', + '3': 19, + '4': 1, + '5': 11, + '6': '.livekit.ReconnectResponse', + '9': 0, + '10': 'reconnect' + }, + { + '1': 'pong_resp', + '3': 20, + '4': 1, + '5': 11, + '6': '.livekit.Pong', + '9': 0, + '10': 'pongResp' + }, { '1': 'subscription_response', '3': 21, @@ -251,7 +459,15 @@ const SignalResponse$json = { '9': 0, '10': 'trackSubscribed' }, - {'1': 'room_moved', '3': 24, '4': 1, '5': 11, '6': '.livekit.RoomMovedResponse', '9': 0, '10': 'roomMoved'}, + { + '1': 'room_moved', + '3': 24, + '4': 1, + '5': 11, + '6': '.livekit.RoomMovedResponse', + '9': 0, + '10': 'roomMoved' + }, { '1': 'media_sections_requirement', '3': 25, @@ -270,6 +486,33 @@ const SignalResponse$json = { '9': 0, '10': 'subscribedAudioCodecUpdate' }, + { + '1': 'publish_data_track_response', + '3': 27, + '4': 1, + '5': 11, + '6': '.livekit.PublishDataTrackResponse', + '9': 0, + '10': 'publishDataTrackResponse' + }, + { + '1': 'unpublish_data_track_response', + '3': 28, + '4': 1, + '5': 11, + '6': '.livekit.UnpublishDataTrackResponse', + '9': 0, + '10': 'unpublishDataTrackResponse' + }, + { + '1': 'data_track_subscriber_handles', + '3': 29, + '4': 1, + '5': 11, + '6': '.livekit.DataTrackSubscriberHandles', + '9': 0, + '10': 'dataTrackSubscriberHandles' + }, ], '8': [ {'1': 'message'}, @@ -277,38 +520,44 @@ const SignalResponse$json = { }; /// Descriptor for `SignalResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List signalResponseDescriptor = - $convert.base64Decode('Cg5TaWduYWxSZXNwb25zZRIrCgRqb2luGAEgASgLMhUubGl2ZWtpdC5Kb2luUmVzcG9uc2VIAF' - 'IEam9pbhI1CgZhbnN3ZXIYAiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgZh' - 'bnN3ZXISMwoFb2ZmZXIYAyABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgVvZm' - 'ZlchIzCgd0cmlja2xlGAQgASgLMhcubGl2ZWtpdC5Ucmlja2xlUmVxdWVzdEgAUgd0cmlja2xl' - 'EjQKBnVwZGF0ZRgFIAEoCzIaLmxpdmVraXQuUGFydGljaXBhbnRVcGRhdGVIAFIGdXBkYXRlEk' - 'oKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIfLmxpdmVraXQuVHJhY2tQdWJsaXNoZWRSZXNwb25z' - 'ZUgAUg50cmFja1B1Ymxpc2hlZBItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQuTGVhdmVSZXF1ZX' - 'N0SABSBWxlYXZlEi8KBG11dGUYCSABKAsyGS5saXZla2l0Lk11dGVUcmFja1JlcXVlc3RIAFIE' - 'bXV0ZRJFChBzcGVha2Vyc19jaGFuZ2VkGAogASgLMhgubGl2ZWtpdC5TcGVha2Vyc0NoYW5nZW' - 'RIAFIPc3BlYWtlcnNDaGFuZ2VkEjYKC3Jvb21fdXBkYXRlGAsgASgLMhMubGl2ZWtpdC5Sb29t' - 'VXBkYXRlSABSCnJvb21VcGRhdGUSUQoSY29ubmVjdGlvbl9xdWFsaXR5GAwgASgLMiAubGl2ZW' - 'tpdC5Db25uZWN0aW9uUXVhbGl0eVVwZGF0ZUgAUhFjb25uZWN0aW9uUXVhbGl0eRJMChNzdHJl' - 'YW1fc3RhdGVfdXBkYXRlGA0gASgLMhoubGl2ZWtpdC5TdHJlYW1TdGF0ZVVwZGF0ZUgAUhFzdH' - 'JlYW1TdGF0ZVVwZGF0ZRJeChlzdWJzY3JpYmVkX3F1YWxpdHlfdXBkYXRlGA4gASgLMiAubGl2' - 'ZWtpdC5TdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZUgAUhdzdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZR' - 'JtCh5zdWJzY3JpcHRpb25fcGVybWlzc2lvbl91cGRhdGUYDyABKAsyJS5saXZla2l0LlN1YnNj' - 'cmlwdGlvblBlcm1pc3Npb25VcGRhdGVIAFIcc3Vic2NyaXB0aW9uUGVybWlzc2lvblVwZGF0ZR' - 'IlCg1yZWZyZXNoX3Rva2VuGBAgASgJSABSDHJlZnJlc2hUb2tlbhJQChF0cmFja191bnB1Ymxp' - 'c2hlZBgRIAEoCzIhLmxpdmVraXQuVHJhY2tVbnB1Ymxpc2hlZFJlc3BvbnNlSABSEHRyYWNrVW' - '5wdWJsaXNoZWQSFAoEcG9uZxgSIAEoA0gAUgRwb25nEjoKCXJlY29ubmVjdBgTIAEoCzIaLmxp' - 'dmVraXQuUmVjb25uZWN0UmVzcG9uc2VIAFIJcmVjb25uZWN0EiwKCXBvbmdfcmVzcBgUIAEoCz' - 'INLmxpdmVraXQuUG9uZ0gAUghwb25nUmVzcBJUChVzdWJzY3JpcHRpb25fcmVzcG9uc2UYFSAB' - 'KAsyHS5saXZla2l0LlN1YnNjcmlwdGlvblJlc3BvbnNlSABSFHN1YnNjcmlwdGlvblJlc3Bvbn' - 'NlEkUKEHJlcXVlc3RfcmVzcG9uc2UYFiABKAsyGC5saXZla2l0LlJlcXVlc3RSZXNwb25zZUgA' - 'Ug9yZXF1ZXN0UmVzcG9uc2USRQoQdHJhY2tfc3Vic2NyaWJlZBgXIAEoCzIYLmxpdmVraXQuVH' - 'JhY2tTdWJzY3JpYmVkSABSD3RyYWNrU3Vic2NyaWJlZBI7Cgpyb29tX21vdmVkGBggASgLMhou' - 'bGl2ZWtpdC5Sb29tTW92ZWRSZXNwb25zZUgAUglyb29tTW92ZWQSYQoabWVkaWFfc2VjdGlvbn' - 'NfcmVxdWlyZW1lbnQYGSABKAsyIS5saXZla2l0Lk1lZGlhU2VjdGlvbnNSZXF1aXJlbWVudEgA' - 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSaAodc3Vic2NyaWJlZF9hdWRpb19jb2RlY191cG' - 'RhdGUYGiABKAsyIy5saXZla2l0LlN1YnNjcmliZWRBdWRpb0NvZGVjVXBkYXRlSABSGnN1YnNj' - 'cmliZWRBdWRpb0NvZGVjVXBkYXRlQgkKB21lc3NhZ2U='); +final $typed_data.Uint8List signalResponseDescriptor = $convert.base64Decode( + 'Cg5TaWduYWxSZXNwb25zZRIrCgRqb2luGAEgASgLMhUubGl2ZWtpdC5Kb2luUmVzcG9uc2VIAF' + 'IEam9pbhI1CgZhbnN3ZXIYAiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgZh' + 'bnN3ZXISMwoFb2ZmZXIYAyABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgVvZm' + 'ZlchIzCgd0cmlja2xlGAQgASgLMhcubGl2ZWtpdC5Ucmlja2xlUmVxdWVzdEgAUgd0cmlja2xl' + 'EjQKBnVwZGF0ZRgFIAEoCzIaLmxpdmVraXQuUGFydGljaXBhbnRVcGRhdGVIAFIGdXBkYXRlEk' + 'oKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIfLmxpdmVraXQuVHJhY2tQdWJsaXNoZWRSZXNwb25z' + 'ZUgAUg50cmFja1B1Ymxpc2hlZBItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQuTGVhdmVSZXF1ZX' + 'N0SABSBWxlYXZlEi8KBG11dGUYCSABKAsyGS5saXZla2l0Lk11dGVUcmFja1JlcXVlc3RIAFIE' + 'bXV0ZRJFChBzcGVha2Vyc19jaGFuZ2VkGAogASgLMhgubGl2ZWtpdC5TcGVha2Vyc0NoYW5nZW' + 'RIAFIPc3BlYWtlcnNDaGFuZ2VkEjYKC3Jvb21fdXBkYXRlGAsgASgLMhMubGl2ZWtpdC5Sb29t' + 'VXBkYXRlSABSCnJvb21VcGRhdGUSUQoSY29ubmVjdGlvbl9xdWFsaXR5GAwgASgLMiAubGl2ZW' + 'tpdC5Db25uZWN0aW9uUXVhbGl0eVVwZGF0ZUgAUhFjb25uZWN0aW9uUXVhbGl0eRJMChNzdHJl' + 'YW1fc3RhdGVfdXBkYXRlGA0gASgLMhoubGl2ZWtpdC5TdHJlYW1TdGF0ZVVwZGF0ZUgAUhFzdH' + 'JlYW1TdGF0ZVVwZGF0ZRJeChlzdWJzY3JpYmVkX3F1YWxpdHlfdXBkYXRlGA4gASgLMiAubGl2' + 'ZWtpdC5TdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZUgAUhdzdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZR' + 'JtCh5zdWJzY3JpcHRpb25fcGVybWlzc2lvbl91cGRhdGUYDyABKAsyJS5saXZla2l0LlN1YnNj' + 'cmlwdGlvblBlcm1pc3Npb25VcGRhdGVIAFIcc3Vic2NyaXB0aW9uUGVybWlzc2lvblVwZGF0ZR' + 'IlCg1yZWZyZXNoX3Rva2VuGBAgASgJSABSDHJlZnJlc2hUb2tlbhJQChF0cmFja191bnB1Ymxp' + 'c2hlZBgRIAEoCzIhLmxpdmVraXQuVHJhY2tVbnB1Ymxpc2hlZFJlc3BvbnNlSABSEHRyYWNrVW' + '5wdWJsaXNoZWQSFAoEcG9uZxgSIAEoA0gAUgRwb25nEjoKCXJlY29ubmVjdBgTIAEoCzIaLmxp' + 'dmVraXQuUmVjb25uZWN0UmVzcG9uc2VIAFIJcmVjb25uZWN0EiwKCXBvbmdfcmVzcBgUIAEoCz' + 'INLmxpdmVraXQuUG9uZ0gAUghwb25nUmVzcBJUChVzdWJzY3JpcHRpb25fcmVzcG9uc2UYFSAB' + 'KAsyHS5saXZla2l0LlN1YnNjcmlwdGlvblJlc3BvbnNlSABSFHN1YnNjcmlwdGlvblJlc3Bvbn' + 'NlEkUKEHJlcXVlc3RfcmVzcG9uc2UYFiABKAsyGC5saXZla2l0LlJlcXVlc3RSZXNwb25zZUgA' + 'Ug9yZXF1ZXN0UmVzcG9uc2USRQoQdHJhY2tfc3Vic2NyaWJlZBgXIAEoCzIYLmxpdmVraXQuVH' + 'JhY2tTdWJzY3JpYmVkSABSD3RyYWNrU3Vic2NyaWJlZBI7Cgpyb29tX21vdmVkGBggASgLMhou' + 'bGl2ZWtpdC5Sb29tTW92ZWRSZXNwb25zZUgAUglyb29tTW92ZWQSYQoabWVkaWFfc2VjdGlvbn' + 'NfcmVxdWlyZW1lbnQYGSABKAsyIS5saXZla2l0Lk1lZGlhU2VjdGlvbnNSZXF1aXJlbWVudEgA' + 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSaAodc3Vic2NyaWJlZF9hdWRpb19jb2RlY191cG' + 'RhdGUYGiABKAsyIy5saXZla2l0LlN1YnNjcmliZWRBdWRpb0NvZGVjVXBkYXRlSABSGnN1YnNj' + 'cmliZWRBdWRpb0NvZGVjVXBkYXRlEmIKG3B1Ymxpc2hfZGF0YV90cmFja19yZXNwb25zZRgbIA' + 'EoCzIhLmxpdmVraXQuUHVibGlzaERhdGFUcmFja1Jlc3BvbnNlSABSGHB1Ymxpc2hEYXRhVHJh' + 'Y2tSZXNwb25zZRJoCh11bnB1Ymxpc2hfZGF0YV90cmFja19yZXNwb25zZRgcIAEoCzIjLmxpdm' + 'VraXQuVW5wdWJsaXNoRGF0YVRyYWNrUmVzcG9uc2VIAFIadW5wdWJsaXNoRGF0YVRyYWNrUmVz' + 'cG9uc2USaAodZGF0YV90cmFja19zdWJzY3JpYmVyX2hhbmRsZXMYHSABKAsyIy5saXZla2l0Lk' + 'RhdGFUcmFja1N1YnNjcmliZXJIYW5kbGVzSABSGmRhdGFUcmFja1N1YnNjcmliZXJIYW5kbGVz' + 'QgkKB21lc3NhZ2U='); @$core.Deprecated('Use simulcastCodecDescriptor instead') const SimulcastCodec$json = { @@ -316,17 +565,31 @@ const SimulcastCodec$json = { '2': [ {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, {'1': 'cid', '3': 2, '4': 1, '5': 9, '10': 'cid'}, - {'1': 'layers', '3': 4, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, - {'1': 'video_layer_mode', '3': 5, '4': 1, '5': 14, '6': '.livekit.VideoLayer.Mode', '10': 'videoLayerMode'}, + { + '1': 'layers', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, + { + '1': 'video_layer_mode', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.VideoLayer.Mode', + '10': 'videoLayerMode' + }, ], }; /// Descriptor for `SimulcastCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulcastCodecDescriptor = - $convert.base64Decode('Cg5TaW11bGNhc3RDb2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSEAoDY2lkGAIgASgJUgNjaW' - 'QSKwoGbGF5ZXJzGAQgAygLMhMubGl2ZWtpdC5WaWRlb0xheWVyUgZsYXllcnMSQgoQdmlkZW9f' - 'bGF5ZXJfbW9kZRgFIAEoDjIYLmxpdmVraXQuVmlkZW9MYXllci5Nb2RlUg52aWRlb0xheWVyTW' - '9kZQ=='); +final $typed_data.Uint8List simulcastCodecDescriptor = $convert.base64Decode( + 'Cg5TaW11bGNhc3RDb2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSEAoDY2lkGAIgASgJUgNjaW' + 'QSKwoGbGF5ZXJzGAQgAygLMhMubGl2ZWtpdC5WaWRlb0xheWVyUgZsYXllcnMSQgoQdmlkZW9f' + 'bGF5ZXJfbW9kZRgFIAEoDjIYLmxpdmVraXQuVmlkZW9MYXllci5Nb2RlUg52aWRlb0xheWVyTW' + '9kZQ=='); @$core.Deprecated('Use addTrackRequestDescriptor instead') const AddTrackRequest$json = { @@ -334,7 +597,14 @@ const AddTrackRequest$json = { '2': [ {'1': 'cid', '3': 1, '4': 1, '5': 9, '10': 'cid'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.livekit.TrackType', '10': 'type'}, + { + '1': 'type', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.TrackType', + '10': 'type' + }, {'1': 'width', '3': 4, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 5, '4': 1, '5': 13, '10': 'height'}, {'1': 'muted', '3': 6, '4': 1, '5': 8, '10': 'muted'}, @@ -346,9 +616,30 @@ const AddTrackRequest$json = { '8': {'3': true}, '10': 'disableDtx', }, - {'1': 'source', '3': 8, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, - {'1': 'layers', '3': 9, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, - {'1': 'simulcast_codecs', '3': 10, '4': 3, '5': 11, '6': '.livekit.SimulcastCodec', '10': 'simulcastCodecs'}, + { + '1': 'source', + '3': 8, + '4': 1, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'source' + }, + { + '1': 'layers', + '3': 9, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, + { + '1': 'simulcast_codecs', + '3': 10, + '4': 3, + '5': 11, + '6': '.livekit.SimulcastCodec', + '10': 'simulcastCodecs' + }, {'1': 'sid', '3': 11, '4': 1, '5': 9, '10': 'sid'}, { '1': 'stereo', @@ -359,7 +650,14 @@ const AddTrackRequest$json = { '10': 'stereo', }, {'1': 'disable_red', '3': 13, '4': 1, '5': 8, '10': 'disableRed'}, - {'1': 'encryption', '3': 14, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryption'}, + { + '1': 'encryption', + '3': 14, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryption' + }, {'1': 'stream', '3': 15, '4': 1, '5': 9, '10': 'stream'}, { '1': 'backup_codec_policy', @@ -369,40 +667,195 @@ const AddTrackRequest$json = { '6': '.livekit.BackupCodecPolicy', '10': 'backupCodecPolicy' }, - {'1': 'audio_features', '3': 17, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'audioFeatures'}, + { + '1': 'audio_features', + '3': 17, + '4': 3, + '5': 14, + '6': '.livekit.AudioTrackFeature', + '10': 'audioFeatures' + }, ], }; /// Descriptor for `AddTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTrackRequestDescriptor = - $convert.base64Decode('Cg9BZGRUcmFja1JlcXVlc3QSEAoDY2lkGAEgASgJUgNjaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' - 'ImCgR0eXBlGAMgASgOMhIubGl2ZWtpdC5UcmFja1R5cGVSBHR5cGUSFAoFd2lkdGgYBCABKA1S' - 'BXdpZHRoEhYKBmhlaWdodBgFIAEoDVIGaGVpZ2h0EhQKBW11dGVkGAYgASgIUgVtdXRlZBIjCg' - 'tkaXNhYmxlX2R0eBgHIAEoCEICGAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAggASgOMhQubGl2' - 'ZWtpdC5UcmFja1NvdXJjZVIGc291cmNlEisKBmxheWVycxgJIAMoCzITLmxpdmVraXQuVmlkZW' - '9MYXllclIGbGF5ZXJzEkIKEHNpbXVsY2FzdF9jb2RlY3MYCiADKAsyFy5saXZla2l0LlNpbXVs' - 'Y2FzdENvZGVjUg9zaW11bGNhc3RDb2RlY3MSEAoDc2lkGAsgASgJUgNzaWQSGgoGc3RlcmVvGA' - 'wgASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA0gASgIUgpkaXNhYmxlUmVkEjgKCmVu' - 'Y3J5cHRpb24YDiABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCg' - 'ZzdHJlYW0YDyABKAlSBnN0cmVhbRJKChNiYWNrdXBfY29kZWNfcG9saWN5GBAgASgOMhoubGl2' - 'ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3kSQQoOYXVkaW9fZmVhdH' - 'VyZXMYESADKA4yGi5saXZla2l0LkF1ZGlvVHJhY2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVz'); +final $typed_data.Uint8List addTrackRequestDescriptor = $convert.base64Decode( + 'Cg9BZGRUcmFja1JlcXVlc3QSEAoDY2lkGAEgASgJUgNjaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' + 'ImCgR0eXBlGAMgASgOMhIubGl2ZWtpdC5UcmFja1R5cGVSBHR5cGUSFAoFd2lkdGgYBCABKA1S' + 'BXdpZHRoEhYKBmhlaWdodBgFIAEoDVIGaGVpZ2h0EhQKBW11dGVkGAYgASgIUgVtdXRlZBIjCg' + 'tkaXNhYmxlX2R0eBgHIAEoCEICGAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAggASgOMhQubGl2' + 'ZWtpdC5UcmFja1NvdXJjZVIGc291cmNlEisKBmxheWVycxgJIAMoCzITLmxpdmVraXQuVmlkZW' + '9MYXllclIGbGF5ZXJzEkIKEHNpbXVsY2FzdF9jb2RlY3MYCiADKAsyFy5saXZla2l0LlNpbXVs' + 'Y2FzdENvZGVjUg9zaW11bGNhc3RDb2RlY3MSEAoDc2lkGAsgASgJUgNzaWQSGgoGc3RlcmVvGA' + 'wgASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA0gASgIUgpkaXNhYmxlUmVkEjgKCmVu' + 'Y3J5cHRpb24YDiABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCg' + 'ZzdHJlYW0YDyABKAlSBnN0cmVhbRJKChNiYWNrdXBfY29kZWNfcG9saWN5GBAgASgOMhoubGl2' + 'ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3kSQQoOYXVkaW9fZmVhdH' + 'VyZXMYESADKA4yGi5saXZla2l0LkF1ZGlvVHJhY2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVz'); + +@$core.Deprecated('Use publishDataTrackRequestDescriptor instead') +const PublishDataTrackRequest$json = { + '1': 'PublishDataTrackRequest', + '2': [ + {'1': 'pub_handle', '3': 1, '4': 1, '5': 13, '10': 'pubHandle'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + { + '1': 'encryption', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryption' + }, + ], +}; + +/// Descriptor for `PublishDataTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List publishDataTrackRequestDescriptor = $convert.base64Decode( + 'ChdQdWJsaXNoRGF0YVRyYWNrUmVxdWVzdBIdCgpwdWJfaGFuZGxlGAEgASgNUglwdWJIYW5kbG' + 'USEgoEbmFtZRgCIAEoCVIEbmFtZRI4CgplbmNyeXB0aW9uGAMgASgOMhgubGl2ZWtpdC5FbmNy' + 'eXB0aW9uLlR5cGVSCmVuY3J5cHRpb24='); + +@$core.Deprecated('Use publishDataTrackResponseDescriptor instead') +const PublishDataTrackResponse$json = { + '1': 'PublishDataTrackResponse', + '2': [ + { + '1': 'info', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.DataTrackInfo', + '10': 'info' + }, + ], +}; + +/// Descriptor for `PublishDataTrackResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List publishDataTrackResponseDescriptor = + $convert.base64Decode( + 'ChhQdWJsaXNoRGF0YVRyYWNrUmVzcG9uc2USKgoEaW5mbxgBIAEoCzIWLmxpdmVraXQuRGF0YV' + 'RyYWNrSW5mb1IEaW5mbw=='); + +@$core.Deprecated('Use unpublishDataTrackRequestDescriptor instead') +const UnpublishDataTrackRequest$json = { + '1': 'UnpublishDataTrackRequest', + '2': [ + {'1': 'pub_handle', '3': 1, '4': 1, '5': 13, '10': 'pubHandle'}, + ], +}; + +/// Descriptor for `UnpublishDataTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unpublishDataTrackRequestDescriptor = + $convert.base64Decode( + 'ChlVbnB1Ymxpc2hEYXRhVHJhY2tSZXF1ZXN0Eh0KCnB1Yl9oYW5kbGUYASABKA1SCXB1Ykhhbm' + 'RsZQ=='); + +@$core.Deprecated('Use unpublishDataTrackResponseDescriptor instead') +const UnpublishDataTrackResponse$json = { + '1': 'UnpublishDataTrackResponse', + '2': [ + { + '1': 'info', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.DataTrackInfo', + '10': 'info' + }, + ], +}; + +/// Descriptor for `UnpublishDataTrackResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unpublishDataTrackResponseDescriptor = + $convert.base64Decode( + 'ChpVbnB1Ymxpc2hEYXRhVHJhY2tSZXNwb25zZRIqCgRpbmZvGAEgASgLMhYubGl2ZWtpdC5EYX' + 'RhVHJhY2tJbmZvUgRpbmZv'); + +@$core.Deprecated('Use dataTrackSubscriberHandlesDescriptor instead') +const DataTrackSubscriberHandles$json = { + '1': 'DataTrackSubscriberHandles', + '2': [ + { + '1': 'sub_handles', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.DataTrackSubscriberHandles.SubHandlesEntry', + '10': 'subHandles' + }, + ], + '3': [ + DataTrackSubscriberHandles_PublishedDataTrack$json, + DataTrackSubscriberHandles_SubHandlesEntry$json + ], +}; + +@$core.Deprecated('Use dataTrackSubscriberHandlesDescriptor instead') +const DataTrackSubscriberHandles_PublishedDataTrack$json = { + '1': 'PublishedDataTrack', + '2': [ + { + '1': 'publisher_identity', + '3': 1, + '4': 1, + '5': 9, + '10': 'publisherIdentity' + }, + {'1': 'publisher_sid', '3': 2, '4': 1, '5': 9, '10': 'publisherSid'}, + {'1': 'track_sid', '3': 3, '4': 1, '5': 9, '10': 'trackSid'}, + ], +}; + +@$core.Deprecated('Use dataTrackSubscriberHandlesDescriptor instead') +const DataTrackSubscriberHandles_SubHandlesEntry$json = { + '1': 'SubHandlesEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 13, '10': 'key'}, + { + '1': 'value', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.DataTrackSubscriberHandles.PublishedDataTrack', + '10': 'value' + }, + ], + '7': {'7': true}, +}; + +/// Descriptor for `DataTrackSubscriberHandles`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dataTrackSubscriberHandlesDescriptor = $convert.base64Decode( + 'ChpEYXRhVHJhY2tTdWJzY3JpYmVySGFuZGxlcxJUCgtzdWJfaGFuZGxlcxgBIAMoCzIzLmxpdm' + 'VraXQuRGF0YVRyYWNrU3Vic2NyaWJlckhhbmRsZXMuU3ViSGFuZGxlc0VudHJ5UgpzdWJIYW5k' + 'bGVzGoUBChJQdWJsaXNoZWREYXRhVHJhY2sSLQoScHVibGlzaGVyX2lkZW50aXR5GAEgASgJUh' + 'FwdWJsaXNoZXJJZGVudGl0eRIjCg1wdWJsaXNoZXJfc2lkGAIgASgJUgxwdWJsaXNoZXJTaWQS' + 'GwoJdHJhY2tfc2lkGAMgASgJUgh0cmFja1NpZBp1Cg9TdWJIYW5kbGVzRW50cnkSEAoDa2V5GA' + 'EgASgNUgNrZXkSTAoFdmFsdWUYAiABKAsyNi5saXZla2l0LkRhdGFUcmFja1N1YnNjcmliZXJI' + 'YW5kbGVzLlB1Ymxpc2hlZERhdGFUcmFja1IFdmFsdWU6AjgB'); @$core.Deprecated('Use trickleRequestDescriptor instead') const TrickleRequest$json = { '1': 'TrickleRequest', '2': [ {'1': 'candidateInit', '3': 1, '4': 1, '5': 9, '10': 'candidateInit'}, - {'1': 'target', '3': 2, '4': 1, '5': 14, '6': '.livekit.SignalTarget', '10': 'target'}, + { + '1': 'target', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.SignalTarget', + '10': 'target' + }, {'1': 'final', '3': 3, '4': 1, '5': 8, '10': 'final'}, ], }; /// Descriptor for `TrickleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trickleRequestDescriptor = - $convert.base64Decode('Cg5Ucmlja2xlUmVxdWVzdBIkCg1jYW5kaWRhdGVJbml0GAEgASgJUg1jYW5kaWRhdGVJbml0Ei' - '0KBnRhcmdldBgCIAEoDjIVLmxpdmVraXQuU2lnbmFsVGFyZ2V0UgZ0YXJnZXQSFAoFZmluYWwY' - 'AyABKAhSBWZpbmFs'); +final $typed_data.Uint8List trickleRequestDescriptor = $convert.base64Decode( + 'Cg5Ucmlja2xlUmVxdWVzdBIkCg1jYW5kaWRhdGVJbml0GAEgASgJUg1jYW5kaWRhdGVJbml0Ei' + '0KBnRhcmdldBgCIAEoDjIVLmxpdmVraXQuU2lnbmFsVGFyZ2V0UgZ0YXJnZXQSFAoFZmluYWwY' + 'AyABKAhSBWZpbmFs'); @$core.Deprecated('Use muteTrackRequestDescriptor instead') const MuteTrackRequest$json = { @@ -414,20 +867,47 @@ const MuteTrackRequest$json = { }; /// Descriptor for `MuteTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List muteTrackRequestDescriptor = - $convert.base64Decode('ChBNdXRlVHJhY2tSZXF1ZXN0EhAKA3NpZBgBIAEoCVIDc2lkEhQKBW11dGVkGAIgASgIUgVtdX' - 'RlZA=='); +final $typed_data.Uint8List muteTrackRequestDescriptor = $convert.base64Decode( + 'ChBNdXRlVHJhY2tSZXF1ZXN0EhAKA3NpZBgBIAEoCVIDc2lkEhQKBW11dGVkGAIgASgIUgVtdX' + 'RlZA=='); @$core.Deprecated('Use joinResponseDescriptor instead') const JoinResponse$json = { '1': 'JoinResponse', '2': [ {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.livekit.Room', '10': 'room'}, - {'1': 'participant', '3': 2, '4': 1, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participant'}, - {'1': 'other_participants', '3': 3, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'otherParticipants'}, + { + '1': 'participant', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'participant' + }, + { + '1': 'other_participants', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'otherParticipants' + }, {'1': 'server_version', '3': 4, '4': 1, '5': 9, '10': 'serverVersion'}, - {'1': 'ice_servers', '3': 5, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, - {'1': 'subscriber_primary', '3': 6, '4': 1, '5': 8, '10': 'subscriberPrimary'}, + { + '1': 'ice_servers', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.ICEServer', + '10': 'iceServers' + }, + { + '1': 'subscriber_primary', + '3': 6, + '4': 1, + '5': 8, + '10': 'subscriberPrimary' + }, {'1': 'alternative_url', '3': 7, '4': 1, '5': 9, '10': 'alternativeUrl'}, { '1': 'client_configuration', @@ -440,35 +920,56 @@ const JoinResponse$json = { {'1': 'server_region', '3': 9, '4': 1, '5': 9, '10': 'serverRegion'}, {'1': 'ping_timeout', '3': 10, '4': 1, '5': 5, '10': 'pingTimeout'}, {'1': 'ping_interval', '3': 11, '4': 1, '5': 5, '10': 'pingInterval'}, - {'1': 'server_info', '3': 12, '4': 1, '5': 11, '6': '.livekit.ServerInfo', '10': 'serverInfo'}, + { + '1': 'server_info', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.ServerInfo', + '10': 'serverInfo' + }, {'1': 'sif_trailer', '3': 13, '4': 1, '5': 12, '10': 'sifTrailer'}, - {'1': 'enabled_publish_codecs', '3': 14, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledPublishCodecs'}, + { + '1': 'enabled_publish_codecs', + '3': 14, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'enabledPublishCodecs' + }, {'1': 'fast_publish', '3': 15, '4': 1, '5': 8, '10': 'fastPublish'}, ], }; /// Descriptor for `JoinResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List joinResponseDescriptor = - $convert.base64Decode('CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vbVIEcm9vbRI6CgtwYX' - 'J0aWNpcGFudBgCIAEoCzIYLmxpdmVraXQuUGFydGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJH' - 'ChJvdGhlcl9wYXJ0aWNpcGFudHMYAyADKAsyGC5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3' - 'RoZXJQYXJ0aWNpcGFudHMSJQoOc2VydmVyX3ZlcnNpb24YBCABKAlSDXNlcnZlclZlcnNpb24S' - 'MwoLaWNlX3NlcnZlcnMYBSADKAsyEi5saXZla2l0LklDRVNlcnZlclIKaWNlU2VydmVycxItCh' - 'JzdWJzY3JpYmVyX3ByaW1hcnkYBiABKAhSEXN1YnNjcmliZXJQcmltYXJ5EicKD2FsdGVybmF0' - 'aXZlX3VybBgHIAEoCVIOYWx0ZXJuYXRpdmVVcmwSTwoUY2xpZW50X2NvbmZpZ3VyYXRpb24YCC' - 'ABKAsyHC5saXZla2l0LkNsaWVudENvbmZpZ3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24S' - 'IwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9uEiEKDHBpbmdfdGltZW91dBgKIA' - 'EoBVILcGluZ1RpbWVvdXQSIwoNcGluZ19pbnRlcnZhbBgLIAEoBVIMcGluZ0ludGVydmFsEjQK' - 'C3NlcnZlcl9pbmZvGAwgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEh8KC3' - 'NpZl90cmFpbGVyGA0gASgMUgpzaWZUcmFpbGVyEkQKFmVuYWJsZWRfcHVibGlzaF9jb2RlY3MY' - 'DiADKAsyDi5saXZla2l0LkNvZGVjUhRlbmFibGVkUHVibGlzaENvZGVjcxIhCgxmYXN0X3B1Ym' - 'xpc2gYDyABKAhSC2Zhc3RQdWJsaXNo'); +final $typed_data.Uint8List joinResponseDescriptor = $convert.base64Decode( + 'CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vbVIEcm9vbRI6CgtwYX' + 'J0aWNpcGFudBgCIAEoCzIYLmxpdmVraXQuUGFydGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJH' + 'ChJvdGhlcl9wYXJ0aWNpcGFudHMYAyADKAsyGC5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3' + 'RoZXJQYXJ0aWNpcGFudHMSJQoOc2VydmVyX3ZlcnNpb24YBCABKAlSDXNlcnZlclZlcnNpb24S' + 'MwoLaWNlX3NlcnZlcnMYBSADKAsyEi5saXZla2l0LklDRVNlcnZlclIKaWNlU2VydmVycxItCh' + 'JzdWJzY3JpYmVyX3ByaW1hcnkYBiABKAhSEXN1YnNjcmliZXJQcmltYXJ5EicKD2FsdGVybmF0' + 'aXZlX3VybBgHIAEoCVIOYWx0ZXJuYXRpdmVVcmwSTwoUY2xpZW50X2NvbmZpZ3VyYXRpb24YCC' + 'ABKAsyHC5saXZla2l0LkNsaWVudENvbmZpZ3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24S' + 'IwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9uEiEKDHBpbmdfdGltZW91dBgKIA' + 'EoBVILcGluZ1RpbWVvdXQSIwoNcGluZ19pbnRlcnZhbBgLIAEoBVIMcGluZ0ludGVydmFsEjQK' + 'C3NlcnZlcl9pbmZvGAwgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEh8KC3' + 'NpZl90cmFpbGVyGA0gASgMUgpzaWZUcmFpbGVyEkQKFmVuYWJsZWRfcHVibGlzaF9jb2RlY3MY' + 'DiADKAsyDi5saXZla2l0LkNvZGVjUhRlbmFibGVkUHVibGlzaENvZGVjcxIhCgxmYXN0X3B1Ym' + 'xpc2gYDyABKAhSC2Zhc3RQdWJsaXNo'); @$core.Deprecated('Use reconnectResponseDescriptor instead') const ReconnectResponse$json = { '1': 'ReconnectResponse', '2': [ - {'1': 'ice_servers', '3': 1, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, + { + '1': 'ice_servers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ICEServer', + '10': 'iceServers' + }, { '1': 'client_configuration', '3': 2, @@ -477,31 +978,46 @@ const ReconnectResponse$json = { '6': '.livekit.ClientConfiguration', '10': 'clientConfiguration' }, - {'1': 'server_info', '3': 3, '4': 1, '5': 11, '6': '.livekit.ServerInfo', '10': 'serverInfo'}, + { + '1': 'server_info', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ServerInfo', + '10': 'serverInfo' + }, {'1': 'last_message_seq', '3': 4, '4': 1, '5': 13, '10': 'lastMessageSeq'}, ], }; /// Descriptor for `ReconnectResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List reconnectResponseDescriptor = - $convert.base64Decode('ChFSZWNvbm5lY3RSZXNwb25zZRIzCgtpY2Vfc2VydmVycxgBIAMoCzISLmxpdmVraXQuSUNFU2' - 'VydmVyUgppY2VTZXJ2ZXJzEk8KFGNsaWVudF9jb25maWd1cmF0aW9uGAIgASgLMhwubGl2ZWtp' - 'dC5DbGllbnRDb25maWd1cmF0aW9uUhNjbGllbnRDb25maWd1cmF0aW9uEjQKC3NlcnZlcl9pbm' - 'ZvGAMgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEigKEGxhc3RfbWVzc2Fn' - 'ZV9zZXEYBCABKA1SDmxhc3RNZXNzYWdlU2Vx'); +final $typed_data.Uint8List reconnectResponseDescriptor = $convert.base64Decode( + 'ChFSZWNvbm5lY3RSZXNwb25zZRIzCgtpY2Vfc2VydmVycxgBIAMoCzISLmxpdmVraXQuSUNFU2' + 'VydmVyUgppY2VTZXJ2ZXJzEk8KFGNsaWVudF9jb25maWd1cmF0aW9uGAIgASgLMhwubGl2ZWtp' + 'dC5DbGllbnRDb25maWd1cmF0aW9uUhNjbGllbnRDb25maWd1cmF0aW9uEjQKC3NlcnZlcl9pbm' + 'ZvGAMgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEigKEGxhc3RfbWVzc2Fn' + 'ZV9zZXEYBCABKA1SDmxhc3RNZXNzYWdlU2Vx'); @$core.Deprecated('Use trackPublishedResponseDescriptor instead') const TrackPublishedResponse$json = { '1': 'TrackPublishedResponse', '2': [ {'1': 'cid', '3': 1, '4': 1, '5': 9, '10': 'cid'}, - {'1': 'track', '3': 2, '4': 1, '5': 11, '6': '.livekit.TrackInfo', '10': 'track'}, + { + '1': 'track', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.TrackInfo', + '10': 'track' + }, ], }; /// Descriptor for `TrackPublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List trackPublishedResponseDescriptor = - $convert.base64Decode('ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' + $convert.base64Decode( + 'ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' 'gLMhIubGl2ZWtpdC5UcmFja0luZm9SBXRyYWNr'); @$core.Deprecated('Use trackUnpublishedResponseDescriptor instead') @@ -514,7 +1030,8 @@ const TrackUnpublishedResponse$json = { /// Descriptor for `TrackUnpublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List trackUnpublishedResponseDescriptor = - $convert.base64Decode('ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' + $convert.base64Decode( + 'ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' '=='); @$core.Deprecated('Use sessionDescriptionDescriptor instead') @@ -524,26 +1041,55 @@ const SessionDescription$json = { {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, {'1': 'sdp', '3': 2, '4': 1, '5': 9, '10': 'sdp'}, {'1': 'id', '3': 3, '4': 1, '5': 13, '10': 'id'}, + { + '1': 'mid_to_track_id', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.SessionDescription.MidToTrackIdEntry', + '10': 'midToTrackId' + }, + ], + '3': [SessionDescription_MidToTrackIdEntry$json], +}; + +@$core.Deprecated('Use sessionDescriptionDescriptor instead') +const SessionDescription_MidToTrackIdEntry$json = { + '1': 'MidToTrackIdEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, ], + '7': {'7': true}, }; /// Descriptor for `SessionDescription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sessionDescriptionDescriptor = - $convert.base64Decode('ChJTZXNzaW9uRGVzY3JpcHRpb24SEgoEdHlwZRgBIAEoCVIEdHlwZRIQCgNzZHAYAiABKAlSA3' - 'NkcBIOCgJpZBgDIAEoDVICaWQ='); +final $typed_data.Uint8List sessionDescriptionDescriptor = $convert.base64Decode( + 'ChJTZXNzaW9uRGVzY3JpcHRpb24SEgoEdHlwZRgBIAEoCVIEdHlwZRIQCgNzZHAYAiABKAlSA3' + 'NkcBIOCgJpZBgDIAEoDVICaWQSVAoPbWlkX3RvX3RyYWNrX2lkGAQgAygLMi0ubGl2ZWtpdC5T' + 'ZXNzaW9uRGVzY3JpcHRpb24uTWlkVG9UcmFja0lkRW50cnlSDG1pZFRvVHJhY2tJZBo/ChFNaW' + 'RUb1RyYWNrSWRFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6' + 'AjgB'); @$core.Deprecated('Use participantUpdateDescriptor instead') const ParticipantUpdate$json = { '1': 'ParticipantUpdate', '2': [ - {'1': 'participants', '3': 1, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participants'}, + { + '1': 'participants', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'participants' + }, ], }; /// Descriptor for `ParticipantUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantUpdateDescriptor = - $convert.base64Decode('ChFQYXJ0aWNpcGFudFVwZGF0ZRI8CgxwYXJ0aWNpcGFudHMYASADKAsyGC5saXZla2l0LlBhcn' - 'RpY2lwYW50SW5mb1IMcGFydGljaXBhbnRz'); +final $typed_data.Uint8List participantUpdateDescriptor = $convert.base64Decode( + 'ChFQYXJ0aWNpcGFudFVwZGF0ZRI8CgxwYXJ0aWNpcGFudHMYASADKAsyGC5saXZla2l0LlBhcn' + 'RpY2lwYW50SW5mb1IMcGFydGljaXBhbnRz'); @$core.Deprecated('Use updateSubscriptionDescriptor instead') const UpdateSubscription$json = { @@ -551,15 +1097,63 @@ const UpdateSubscription$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'subscribe', '3': 2, '4': 1, '5': 8, '10': 'subscribe'}, - {'1': 'participant_tracks', '3': 3, '4': 3, '5': 11, '6': '.livekit.ParticipantTracks', '10': 'participantTracks'}, + { + '1': 'participant_tracks', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantTracks', + '10': 'participantTracks' + }, ], }; /// Descriptor for `UpdateSubscription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateSubscriptionDescriptor = - $convert.base64Decode('ChJVcGRhdGVTdWJzY3JpcHRpb24SHQoKdHJhY2tfc2lkcxgBIAMoCVIJdHJhY2tTaWRzEhwKCX' - 'N1YnNjcmliZRgCIAEoCFIJc3Vic2NyaWJlEkkKEnBhcnRpY2lwYW50X3RyYWNrcxgDIAMoCzIa' - 'LmxpdmVraXQuUGFydGljaXBhbnRUcmFja3NSEXBhcnRpY2lwYW50VHJhY2tz'); +final $typed_data.Uint8List updateSubscriptionDescriptor = $convert.base64Decode( + 'ChJVcGRhdGVTdWJzY3JpcHRpb24SHQoKdHJhY2tfc2lkcxgBIAMoCVIJdHJhY2tTaWRzEhwKCX' + 'N1YnNjcmliZRgCIAEoCFIJc3Vic2NyaWJlEkkKEnBhcnRpY2lwYW50X3RyYWNrcxgDIAMoCzIa' + 'LmxpdmVraXQuUGFydGljaXBhbnRUcmFja3NSEXBhcnRpY2lwYW50VHJhY2tz'); + +@$core.Deprecated('Use updateDataSubscriptionDescriptor instead') +const UpdateDataSubscription$json = { + '1': 'UpdateDataSubscription', + '2': [ + { + '1': 'updates', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.UpdateDataSubscription.Update', + '10': 'updates' + }, + ], + '3': [UpdateDataSubscription_Update$json], +}; + +@$core.Deprecated('Use updateDataSubscriptionDescriptor instead') +const UpdateDataSubscription_Update$json = { + '1': 'Update', + '2': [ + {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, + {'1': 'subscribe', '3': 2, '4': 1, '5': 8, '10': 'subscribe'}, + { + '1': 'options', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.DataTrackSubscriptionOptions', + '10': 'options' + }, + ], +}; + +/// Descriptor for `UpdateDataSubscription`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateDataSubscriptionDescriptor = $convert.base64Decode( + 'ChZVcGRhdGVEYXRhU3Vic2NyaXB0aW9uEkAKB3VwZGF0ZXMYASADKAsyJi5saXZla2l0LlVwZG' + 'F0ZURhdGFTdWJzY3JpcHRpb24uVXBkYXRlUgd1cGRhdGVzGoQBCgZVcGRhdGUSGwoJdHJhY2tf' + 'c2lkGAEgASgJUgh0cmFja1NpZBIcCglzdWJzY3JpYmUYAiABKAhSCXN1YnNjcmliZRI/CgdvcH' + 'Rpb25zGAMgASgLMiUubGl2ZWtpdC5EYXRhVHJhY2tTdWJzY3JpcHRpb25PcHRpb25zUgdvcHRp' + 'b25z'); @$core.Deprecated('Use updateTrackSettingsDescriptor instead') const UpdateTrackSettings$json = { @@ -567,7 +1161,14 @@ const UpdateTrackSettings$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'disabled', '3': 3, '4': 1, '5': 8, '10': 'disabled'}, - {'1': 'quality', '3': 4, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 4, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'width', '3': 5, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 6, '4': 1, '5': 13, '10': 'height'}, {'1': 'fps', '3': 7, '4': 1, '5': 13, '10': 'fps'}, @@ -576,25 +1177,32 @@ const UpdateTrackSettings$json = { }; /// Descriptor for `UpdateTrackSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateTrackSettingsDescriptor = - $convert.base64Decode('ChNVcGRhdGVUcmFja1NldHRpbmdzEh0KCnRyYWNrX3NpZHMYASADKAlSCXRyYWNrU2lkcxIaCg' - 'hkaXNhYmxlZBgDIAEoCFIIZGlzYWJsZWQSLwoHcXVhbGl0eRgEIAEoDjIVLmxpdmVraXQuVmlk' - 'ZW9RdWFsaXR5UgdxdWFsaXR5EhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA' - '1SBmhlaWdodBIQCgNmcHMYByABKA1SA2ZwcxIaCghwcmlvcml0eRgIIAEoDVIIcHJpb3JpdHk='); +final $typed_data.Uint8List updateTrackSettingsDescriptor = $convert.base64Decode( + 'ChNVcGRhdGVUcmFja1NldHRpbmdzEh0KCnRyYWNrX3NpZHMYASADKAlSCXRyYWNrU2lkcxIaCg' + 'hkaXNhYmxlZBgDIAEoCFIIZGlzYWJsZWQSLwoHcXVhbGl0eRgEIAEoDjIVLmxpdmVraXQuVmlk' + 'ZW9RdWFsaXR5UgdxdWFsaXR5EhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA' + '1SBmhlaWdodBIQCgNmcHMYByABKA1SA2ZwcxIaCghwcmlvcml0eRgIIAEoDVIIcHJpb3JpdHk='); @$core.Deprecated('Use updateLocalAudioTrackDescriptor instead') const UpdateLocalAudioTrack$json = { '1': 'UpdateLocalAudioTrack', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'features', '3': 2, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'features'}, + { + '1': 'features', + '3': 2, + '4': 3, + '5': 14, + '6': '.livekit.AudioTrackFeature', + '10': 'features' + }, ], }; /// Descriptor for `UpdateLocalAudioTrack`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocalAudioTrackDescriptor = - $convert.base64Decode('ChVVcGRhdGVMb2NhbEF1ZGlvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBI2Cg' - 'hmZWF0dXJlcxgCIAMoDjIaLmxpdmVraXQuQXVkaW9UcmFja0ZlYXR1cmVSCGZlYXR1cmVz'); +final $typed_data.Uint8List updateLocalAudioTrackDescriptor = $convert.base64Decode( + 'ChVVcGRhdGVMb2NhbEF1ZGlvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBI2Cg' + 'hmZWF0dXJlcxgCIAMoDjIaLmxpdmVraXQuQXVkaW9UcmFja0ZlYXR1cmVSCGZlYXR1cmVz'); @$core.Deprecated('Use updateLocalVideoTrackDescriptor instead') const UpdateLocalVideoTrack$json = { @@ -607,18 +1215,39 @@ const UpdateLocalVideoTrack$json = { }; /// Descriptor for `UpdateLocalVideoTrack`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocalVideoTrackDescriptor = - $convert.base64Decode('ChVVcGRhdGVMb2NhbFZpZGVvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBIUCg' - 'V3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQ='); +final $typed_data.Uint8List updateLocalVideoTrackDescriptor = $convert.base64Decode( + 'ChVVcGRhdGVMb2NhbFZpZGVvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBIUCg' + 'V3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQ='); @$core.Deprecated('Use leaveRequestDescriptor instead') const LeaveRequest$json = { '1': 'LeaveRequest', '2': [ {'1': 'can_reconnect', '3': 1, '4': 1, '5': 8, '10': 'canReconnect'}, - {'1': 'reason', '3': 2, '4': 1, '5': 14, '6': '.livekit.DisconnectReason', '10': 'reason'}, - {'1': 'action', '3': 3, '4': 1, '5': 14, '6': '.livekit.LeaveRequest.Action', '10': 'action'}, - {'1': 'regions', '3': 4, '4': 1, '5': 11, '6': '.livekit.RegionSettings', '10': 'regions'}, + { + '1': 'reason', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.DisconnectReason', + '10': 'reason' + }, + { + '1': 'action', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.LeaveRequest.Action', + '10': 'action' + }, + { + '1': 'regions', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.RegionSettings', + '10': 'regions' + }, ], '4': [LeaveRequest_Action$json], }; @@ -634,40 +1263,48 @@ const LeaveRequest_Action$json = { }; /// Descriptor for `LeaveRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List leaveRequestDescriptor = - $convert.base64Decode('CgxMZWF2ZVJlcXVlc3QSIwoNY2FuX3JlY29ubmVjdBgBIAEoCFIMY2FuUmVjb25uZWN0EjEKBn' - 'JlYXNvbhgCIAEoDjIZLmxpdmVraXQuRGlzY29ubmVjdFJlYXNvblIGcmVhc29uEjQKBmFjdGlv' - 'bhgDIAEoDjIcLmxpdmVraXQuTGVhdmVSZXF1ZXN0LkFjdGlvblIGYWN0aW9uEjEKB3JlZ2lvbn' - 'MYBCABKAsyFy5saXZla2l0LlJlZ2lvblNldHRpbmdzUgdyZWdpb25zIjMKBkFjdGlvbhIOCgpE' - 'SVNDT05ORUNUEAASCgoGUkVTVU1FEAESDQoJUkVDT05ORUNUEAI='); +final $typed_data.Uint8List leaveRequestDescriptor = $convert.base64Decode( + 'CgxMZWF2ZVJlcXVlc3QSIwoNY2FuX3JlY29ubmVjdBgBIAEoCFIMY2FuUmVjb25uZWN0EjEKBn' + 'JlYXNvbhgCIAEoDjIZLmxpdmVraXQuRGlzY29ubmVjdFJlYXNvblIGcmVhc29uEjQKBmFjdGlv' + 'bhgDIAEoDjIcLmxpdmVraXQuTGVhdmVSZXF1ZXN0LkFjdGlvblIGYWN0aW9uEjEKB3JlZ2lvbn' + 'MYBCABKAsyFy5saXZla2l0LlJlZ2lvblNldHRpbmdzUgdyZWdpb25zIjMKBkFjdGlvbhIOCgpE' + 'SVNDT05ORUNUEAASCgoGUkVTVU1FEAESDQoJUkVDT05ORUNUEAI='); @$core.Deprecated('Use updateVideoLayersDescriptor instead') const UpdateVideoLayers$json = { '1': 'UpdateVideoLayers', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, + { + '1': 'layers', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, ], '7': {'3': true}, }; /// Descriptor for `UpdateVideoLayers`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateVideoLayersDescriptor = - $convert.base64Decode('ChFVcGRhdGVWaWRlb0xheWVycxIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEisKBmxheW' - 'VycxgCIAMoCzITLmxpdmVraXQuVmlkZW9MYXllclIGbGF5ZXJzOgIYAQ=='); +final $typed_data.Uint8List updateVideoLayersDescriptor = $convert.base64Decode( + 'ChFVcGRhdGVWaWRlb0xheWVycxIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEisKBmxheW' + 'VycxgCIAMoCzITLmxpdmVraXQuVmlkZW9MYXllclIGbGF5ZXJzOgIYAQ=='); @$core.Deprecated('Use updateParticipantMetadataDescriptor instead') const UpdateParticipantMetadata$json = { '1': 'UpdateParticipantMetadata', '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 9, '10': 'metadata'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'metadata', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'metadata'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'name'}, { '1': 'attributes', '3': 3, '4': 3, '5': 11, '6': '.livekit.UpdateParticipantMetadata.AttributesEntry', + '8': {}, '10': 'attributes' }, {'1': 'request_id', '3': 4, '4': 1, '5': 13, '10': 'requestId'}, @@ -686,12 +1323,14 @@ const UpdateParticipantMetadata_AttributesEntry$json = { }; /// Descriptor for `UpdateParticipantMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateParticipantMetadataDescriptor = - $convert.base64Decode('ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' - 'ISCgRuYW1lGAIgASgJUgRuYW1lElIKCmF0dHJpYnV0ZXMYAyADKAsyMi5saXZla2l0LlVwZGF0' - 'ZVBhcnRpY2lwYW50TWV0YWRhdGEuQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEh0KCnJlcX' - 'Vlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEgASgJ' - 'UgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); +final $typed_data.Uint8List updateParticipantMetadataDescriptor = $convert.base64Decode( + 'ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEkIKCG1ldGFkYXRhGAEgASgJQiaI7CwBkuwsHj' + 'xyZWRhY3RlZCAoe3sgLlNpemUgfX0gYnl0ZXMpPlIIbWV0YWRhdGESOgoEbmFtZRgCIAEoCUIm' + 'iOwsAZLsLB48cmVkYWN0ZWQgKHt7IC5TaXplIH19IGJ5dGVzKT5SBG5hbWUSegoKYXR0cmlidX' + 'RlcxgDIAMoCzIyLmxpdmVraXQuVXBkYXRlUGFydGljaXBhbnRNZXRhZGF0YS5BdHRyaWJ1dGVz' + 'RW50cnlCJojsLAGS7CwePHJlZGFjdGVkICh7eyAuU2l6ZSB9fSBieXRlcyk+UgphdHRyaWJ1dG' + 'VzEh0KCnJlcXVlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoD' + 'a2V5GAEgASgJUgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); @$core.Deprecated('Use iCEServerDescriptor instead') const ICEServer$json = { @@ -704,22 +1343,29 @@ const ICEServer$json = { }; /// Descriptor for `ICEServer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List iCEServerDescriptor = - $convert.base64Decode('CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' - '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); +final $typed_data.Uint8List iCEServerDescriptor = $convert.base64Decode( + 'CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' + '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); @$core.Deprecated('Use speakersChangedDescriptor instead') const SpeakersChanged$json = { '1': 'SpeakersChanged', '2': [ - {'1': 'speakers', '3': 1, '4': 3, '5': 11, '6': '.livekit.SpeakerInfo', '10': 'speakers'}, + { + '1': 'speakers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.SpeakerInfo', + '10': 'speakers' + }, ], }; /// Descriptor for `SpeakersChanged`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List speakersChangedDescriptor = - $convert.base64Decode('Cg9TcGVha2Vyc0NoYW5nZWQSMAoIc3BlYWtlcnMYASADKAsyFC5saXZla2l0LlNwZWFrZXJJbm' - 'ZvUghzcGVha2Vycw=='); +final $typed_data.Uint8List speakersChangedDescriptor = $convert.base64Decode( + 'Cg9TcGVha2Vyc0NoYW5nZWQSMAoIc3BlYWtlcnMYASADKAsyFC5saXZla2l0LlNwZWFrZXJJbm' + 'ZvUghzcGVha2Vycw=='); @$core.Deprecated('Use roomUpdateDescriptor instead') const RoomUpdate$json = { @@ -730,36 +1376,51 @@ const RoomUpdate$json = { }; /// Descriptor for `RoomUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomUpdateDescriptor = - $convert.base64Decode('CgpSb29tVXBkYXRlEiEKBHJvb20YASABKAsyDS5saXZla2l0LlJvb21SBHJvb20='); +final $typed_data.Uint8List roomUpdateDescriptor = $convert.base64Decode( + 'CgpSb29tVXBkYXRlEiEKBHJvb20YASABKAsyDS5saXZla2l0LlJvb21SBHJvb20='); @$core.Deprecated('Use connectionQualityInfoDescriptor instead') const ConnectionQualityInfo$json = { '1': 'ConnectionQualityInfo', '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, - {'1': 'quality', '3': 2, '4': 1, '5': 14, '6': '.livekit.ConnectionQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.ConnectionQuality', + '10': 'quality' + }, {'1': 'score', '3': 3, '4': 1, '5': 2, '10': 'score'}, ], }; /// Descriptor for `ConnectionQualityInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List connectionQualityInfoDescriptor = - $convert.base64Decode('ChVDb25uZWN0aW9uUXVhbGl0eUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aW' - 'NpcGFudFNpZBI0CgdxdWFsaXR5GAIgASgOMhoubGl2ZWtpdC5Db25uZWN0aW9uUXVhbGl0eVIH' - 'cXVhbGl0eRIUCgVzY29yZRgDIAEoAlIFc2NvcmU='); +final $typed_data.Uint8List connectionQualityInfoDescriptor = $convert.base64Decode( + 'ChVDb25uZWN0aW9uUXVhbGl0eUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aW' + 'NpcGFudFNpZBI0CgdxdWFsaXR5GAIgASgOMhoubGl2ZWtpdC5Db25uZWN0aW9uUXVhbGl0eVIH' + 'cXVhbGl0eRIUCgVzY29yZRgDIAEoAlIFc2NvcmU='); @$core.Deprecated('Use connectionQualityUpdateDescriptor instead') const ConnectionQualityUpdate$json = { '1': 'ConnectionQualityUpdate', '2': [ - {'1': 'updates', '3': 1, '4': 3, '5': 11, '6': '.livekit.ConnectionQualityInfo', '10': 'updates'}, + { + '1': 'updates', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ConnectionQualityInfo', + '10': 'updates' + }, ], }; /// Descriptor for `ConnectionQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List connectionQualityUpdateDescriptor = - $convert.base64Decode('ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' + $convert.base64Decode( + 'ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' '5uZWN0aW9uUXVhbGl0eUluZm9SB3VwZGF0ZXM='); @$core.Deprecated('Use streamStateInfoDescriptor instead') @@ -768,56 +1429,84 @@ const StreamStateInfo$json = { '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, {'1': 'track_sid', '3': 2, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.livekit.StreamState', '10': 'state'}, + { + '1': 'state', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.StreamState', + '10': 'state' + }, ], }; /// Descriptor for `StreamStateInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStateInfoDescriptor = - $convert.base64Decode('Cg9TdHJlYW1TdGF0ZUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' - 'NpZBIbCgl0cmFja19zaWQYAiABKAlSCHRyYWNrU2lkEioKBXN0YXRlGAMgASgOMhQubGl2ZWtp' - 'dC5TdHJlYW1TdGF0ZVIFc3RhdGU='); +final $typed_data.Uint8List streamStateInfoDescriptor = $convert.base64Decode( + 'Cg9TdHJlYW1TdGF0ZUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' + 'NpZBIbCgl0cmFja19zaWQYAiABKAlSCHRyYWNrU2lkEioKBXN0YXRlGAMgASgOMhQubGl2ZWtp' + 'dC5TdHJlYW1TdGF0ZVIFc3RhdGU='); @$core.Deprecated('Use streamStateUpdateDescriptor instead') const StreamStateUpdate$json = { '1': 'StreamStateUpdate', '2': [ - {'1': 'stream_states', '3': 1, '4': 3, '5': 11, '6': '.livekit.StreamStateInfo', '10': 'streamStates'}, + { + '1': 'stream_states', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.StreamStateInfo', + '10': 'streamStates' + }, ], }; /// Descriptor for `StreamStateUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStateUpdateDescriptor = - $convert.base64Decode('ChFTdHJlYW1TdGF0ZVVwZGF0ZRI9Cg1zdHJlYW1fc3RhdGVzGAEgAygLMhgubGl2ZWtpdC5TdH' - 'JlYW1TdGF0ZUluZm9SDHN0cmVhbVN0YXRlcw=='); +final $typed_data.Uint8List streamStateUpdateDescriptor = $convert.base64Decode( + 'ChFTdHJlYW1TdGF0ZVVwZGF0ZRI9Cg1zdHJlYW1fc3RhdGVzGAEgAygLMhgubGl2ZWtpdC5TdH' + 'JlYW1TdGF0ZUluZm9SDHN0cmVhbVN0YXRlcw=='); @$core.Deprecated('Use subscribedQualityDescriptor instead') const SubscribedQuality$json = { '1': 'SubscribedQuality', '2': [ - {'1': 'quality', '3': 1, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'enabled', '3': 2, '4': 1, '5': 8, '10': 'enabled'}, ], }; /// Descriptor for `SubscribedQuality`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityDescriptor = - $convert.base64Decode('ChFTdWJzY3JpYmVkUXVhbGl0eRIvCgdxdWFsaXR5GAEgASgOMhUubGl2ZWtpdC5WaWRlb1F1YW' - 'xpdHlSB3F1YWxpdHkSGAoHZW5hYmxlZBgCIAEoCFIHZW5hYmxlZA=='); +final $typed_data.Uint8List subscribedQualityDescriptor = $convert.base64Decode( + 'ChFTdWJzY3JpYmVkUXVhbGl0eRIvCgdxdWFsaXR5GAEgASgOMhUubGl2ZWtpdC5WaWRlb1F1YW' + 'xpdHlSB3F1YWxpdHkSGAoHZW5hYmxlZBgCIAEoCFIHZW5hYmxlZA=='); @$core.Deprecated('Use subscribedCodecDescriptor instead') const SubscribedCodec$json = { '1': 'SubscribedCodec', '2': [ {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, - {'1': 'qualities', '3': 2, '4': 3, '5': 11, '6': '.livekit.SubscribedQuality', '10': 'qualities'}, + { + '1': 'qualities', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.SubscribedQuality', + '10': 'qualities' + }, ], }; /// Descriptor for `SubscribedCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedCodecDescriptor = - $convert.base64Decode('Cg9TdWJzY3JpYmVkQ29kZWMSFAoFY29kZWMYASABKAlSBWNvZGVjEjgKCXF1YWxpdGllcxgCIA' - 'MoCzIaLmxpdmVraXQuU3Vic2NyaWJlZFF1YWxpdHlSCXF1YWxpdGllcw=='); +final $typed_data.Uint8List subscribedCodecDescriptor = $convert.base64Decode( + 'Cg9TdWJzY3JpYmVkQ29kZWMSFAoFY29kZWMYASABKAlSBWNvZGVjEjgKCXF1YWxpdGllcxgCIA' + 'MoCzIaLmxpdmVraXQuU3Vic2NyaWJlZFF1YWxpdHlSCXF1YWxpdGllcw=='); @$core.Deprecated('Use subscribedQualityUpdateDescriptor instead') const SubscribedQualityUpdate$json = { @@ -833,16 +1522,23 @@ const SubscribedQualityUpdate$json = { '8': {'3': true}, '10': 'subscribedQualities', }, - {'1': 'subscribed_codecs', '3': 3, '4': 3, '5': 11, '6': '.livekit.SubscribedCodec', '10': 'subscribedCodecs'}, + { + '1': 'subscribed_codecs', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.SubscribedCodec', + '10': 'subscribedCodecs' + }, ], }; /// Descriptor for `SubscribedQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityUpdateDescriptor = - $convert.base64Decode('ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' - 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' - 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' - '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); +final $typed_data.Uint8List subscribedQualityUpdateDescriptor = $convert.base64Decode( + 'ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' + 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' + 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' + '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); @$core.Deprecated('Use subscribedAudioCodecUpdateDescriptor instead') const SubscribedAudioCodecUpdate$json = { @@ -862,7 +1558,8 @@ const SubscribedAudioCodecUpdate$json = { /// Descriptor for `SubscribedAudioCodecUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List subscribedAudioCodecUpdateDescriptor = - $convert.base64Decode('ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' + $convert.base64Decode( + 'ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' 'lkElUKF3N1YnNjcmliZWRfYXVkaW9fY29kZWNzGAIgAygLMh0ubGl2ZWtpdC5TdWJzY3JpYmVk' 'QXVkaW9Db2RlY1IVc3Vic2NyaWJlZEF1ZGlvQ29kZWNz'); @@ -873,31 +1570,44 @@ const TrackPermission$json = { {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, {'1': 'all_tracks', '3': 2, '4': 1, '5': 8, '10': 'allTracks'}, {'1': 'track_sids', '3': 3, '4': 3, '5': 9, '10': 'trackSids'}, - {'1': 'participant_identity', '3': 4, '4': 1, '5': 9, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 4, + '4': 1, + '5': 9, + '10': 'participantIdentity' + }, ], }; /// Descriptor for `TrackPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackPermissionDescriptor = - $convert.base64Decode('Cg9UcmFja1Blcm1pc3Npb24SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' - 'NpZBIdCgphbGxfdHJhY2tzGAIgASgIUglhbGxUcmFja3MSHQoKdHJhY2tfc2lkcxgDIAMoCVIJ' - 'dHJhY2tTaWRzEjEKFHBhcnRpY2lwYW50X2lkZW50aXR5GAQgASgJUhNwYXJ0aWNpcGFudElkZW' - '50aXR5'); +final $typed_data.Uint8List trackPermissionDescriptor = $convert.base64Decode( + 'Cg9UcmFja1Blcm1pc3Npb24SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' + 'NpZBIdCgphbGxfdHJhY2tzGAIgASgIUglhbGxUcmFja3MSHQoKdHJhY2tfc2lkcxgDIAMoCVIJ' + 'dHJhY2tTaWRzEjEKFHBhcnRpY2lwYW50X2lkZW50aXR5GAQgASgJUhNwYXJ0aWNpcGFudElkZW' + '50aXR5'); @$core.Deprecated('Use subscriptionPermissionDescriptor instead') const SubscriptionPermission$json = { '1': 'SubscriptionPermission', '2': [ {'1': 'all_participants', '3': 1, '4': 1, '5': 8, '10': 'allParticipants'}, - {'1': 'track_permissions', '3': 2, '4': 3, '5': 11, '6': '.livekit.TrackPermission', '10': 'trackPermissions'}, + { + '1': 'track_permissions', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.TrackPermission', + '10': 'trackPermissions' + }, ], }; /// Descriptor for `SubscriptionPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionPermissionDescriptor = - $convert.base64Decode('ChZTdWJzY3JpcHRpb25QZXJtaXNzaW9uEikKEGFsbF9wYXJ0aWNpcGFudHMYASABKAhSD2FsbF' - 'BhcnRpY2lwYW50cxJFChF0cmFja19wZXJtaXNzaW9ucxgCIAMoCzIYLmxpdmVraXQuVHJhY2tQ' - 'ZXJtaXNzaW9uUhB0cmFja1Blcm1pc3Npb25z'); +final $typed_data.Uint8List subscriptionPermissionDescriptor = $convert.base64Decode( + 'ChZTdWJzY3JpcHRpb25QZXJtaXNzaW9uEikKEGFsbF9wYXJ0aWNpcGFudHMYASABKAhSD2FsbF' + 'BhcnRpY2lwYW50cxJFChF0cmFja19wZXJtaXNzaW9ucxgCIAMoCzIYLmxpdmVraXQuVHJhY2tQ' + 'ZXJtaXNzaW9uUhB0cmFja1Blcm1pc3Npb25z'); @$core.Deprecated('Use subscriptionPermissionUpdateDescriptor instead') const SubscriptionPermissionUpdate$json = { @@ -911,7 +1621,8 @@ const SubscriptionPermissionUpdate$json = { /// Descriptor for `SubscriptionPermissionUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List subscriptionPermissionUpdateDescriptor = - $convert.base64Decode('ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' + $convert.base64Decode( + 'ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' 'IOcGFydGljaXBhbnRTaWQSGwoJdHJhY2tfc2lkGAIgASgJUgh0cmFja1NpZBIYCgdhbGxvd2Vk' 'GAMgASgIUgdhbGxvd2Vk'); @@ -921,28 +1632,83 @@ const RoomMovedResponse$json = { '2': [ {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.livekit.Room', '10': 'room'}, {'1': 'token', '3': 2, '4': 1, '5': 9, '10': 'token'}, - {'1': 'participant', '3': 3, '4': 1, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participant'}, - {'1': 'other_participants', '3': 4, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'otherParticipants'}, + { + '1': 'participant', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'participant' + }, + { + '1': 'other_participants', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'otherParticipants' + }, ], }; /// Descriptor for `RoomMovedResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomMovedResponseDescriptor = - $convert.base64Decode('ChFSb29tTW92ZWRSZXNwb25zZRIhCgRyb29tGAEgASgLMg0ubGl2ZWtpdC5Sb29tUgRyb29tEh' - 'QKBXRva2VuGAIgASgJUgV0b2tlbhI6CgtwYXJ0aWNpcGFudBgDIAEoCzIYLmxpdmVraXQuUGFy' - 'dGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJHChJvdGhlcl9wYXJ0aWNpcGFudHMYBCADKAsyGC' - '5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3RoZXJQYXJ0aWNpcGFudHM='); +final $typed_data.Uint8List roomMovedResponseDescriptor = $convert.base64Decode( + 'ChFSb29tTW92ZWRSZXNwb25zZRIhCgRyb29tGAEgASgLMg0ubGl2ZWtpdC5Sb29tUgRyb29tEh' + 'QKBXRva2VuGAIgASgJUgV0b2tlbhI6CgtwYXJ0aWNpcGFudBgDIAEoCzIYLmxpdmVraXQuUGFy' + 'dGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJHChJvdGhlcl9wYXJ0aWNpcGFudHMYBCADKAsyGC' + '5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3RoZXJQYXJ0aWNpcGFudHM='); @$core.Deprecated('Use syncStateDescriptor instead') const SyncState$json = { '1': 'SyncState', '2': [ - {'1': 'answer', '3': 1, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'answer'}, - {'1': 'subscription', '3': 2, '4': 1, '5': 11, '6': '.livekit.UpdateSubscription', '10': 'subscription'}, - {'1': 'publish_tracks', '3': 3, '4': 3, '5': 11, '6': '.livekit.TrackPublishedResponse', '10': 'publishTracks'}, - {'1': 'data_channels', '3': 4, '4': 3, '5': 11, '6': '.livekit.DataChannelInfo', '10': 'dataChannels'}, - {'1': 'offer', '3': 5, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'offer'}, - {'1': 'track_sids_disabled', '3': 6, '4': 3, '5': 9, '10': 'trackSidsDisabled'}, + { + '1': 'answer', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '10': 'answer' + }, + { + '1': 'subscription', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.UpdateSubscription', + '10': 'subscription' + }, + { + '1': 'publish_tracks', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.TrackPublishedResponse', + '10': 'publishTracks' + }, + { + '1': 'data_channels', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.DataChannelInfo', + '10': 'dataChannels' + }, + { + '1': 'offer', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '10': 'offer' + }, + { + '1': 'track_sids_disabled', + '3': 6, + '4': 3, + '5': 9, + '10': 'trackSidsDisabled' + }, { '1': 'datachannel_receive_states', '3': 7, @@ -951,20 +1717,29 @@ const SyncState$json = { '6': '.livekit.DataChannelReceiveState', '10': 'datachannelReceiveStates' }, + { + '1': 'publish_data_tracks', + '3': 8, + '4': 3, + '5': 11, + '6': '.livekit.PublishDataTrackResponse', + '10': 'publishDataTracks' + }, ], }; /// Descriptor for `SyncState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List syncStateDescriptor = - $convert.base64Decode('CglTeW5jU3RhdGUSMwoGYW5zd2VyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb2' - '5SBmFuc3dlchI/CgxzdWJzY3JpcHRpb24YAiABKAsyGy5saXZla2l0LlVwZGF0ZVN1YnNjcmlw' - 'dGlvblIMc3Vic2NyaXB0aW9uEkYKDnB1Ymxpc2hfdHJhY2tzGAMgAygLMh8ubGl2ZWtpdC5Ucm' - 'Fja1B1Ymxpc2hlZFJlc3BvbnNlUg1wdWJsaXNoVHJhY2tzEj0KDWRhdGFfY2hhbm5lbHMYBCAD' - 'KAsyGC5saXZla2l0LkRhdGFDaGFubmVsSW5mb1IMZGF0YUNoYW5uZWxzEjEKBW9mZmVyGAUgAS' - 'gLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb25SBW9mZmVyEi4KE3RyYWNrX3NpZHNfZGlz' - 'YWJsZWQYBiADKAlSEXRyYWNrU2lkc0Rpc2FibGVkEl4KGmRhdGFjaGFubmVsX3JlY2VpdmVfc3' - 'RhdGVzGAcgAygLMiAubGl2ZWtpdC5EYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZVIYZGF0YWNoYW5u' - 'ZWxSZWNlaXZlU3RhdGVz'); +final $typed_data.Uint8List syncStateDescriptor = $convert.base64Decode( + 'CglTeW5jU3RhdGUSMwoGYW5zd2VyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb2' + '5SBmFuc3dlchI/CgxzdWJzY3JpcHRpb24YAiABKAsyGy5saXZla2l0LlVwZGF0ZVN1YnNjcmlw' + 'dGlvblIMc3Vic2NyaXB0aW9uEkYKDnB1Ymxpc2hfdHJhY2tzGAMgAygLMh8ubGl2ZWtpdC5Ucm' + 'Fja1B1Ymxpc2hlZFJlc3BvbnNlUg1wdWJsaXNoVHJhY2tzEj0KDWRhdGFfY2hhbm5lbHMYBCAD' + 'KAsyGC5saXZla2l0LkRhdGFDaGFubmVsSW5mb1IMZGF0YUNoYW5uZWxzEjEKBW9mZmVyGAUgAS' + 'gLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb25SBW9mZmVyEi4KE3RyYWNrX3NpZHNfZGlz' + 'YWJsZWQYBiADKAlSEXRyYWNrU2lkc0Rpc2FibGVkEl4KGmRhdGFjaGFubmVsX3JlY2VpdmVfc3' + 'RhdGVzGAcgAygLMiAubGl2ZWtpdC5EYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZVIYZGF0YWNoYW5u' + 'ZWxSZWNlaXZlU3RhdGVzElEKE3B1Ymxpc2hfZGF0YV90cmFja3MYCCADKAsyIS5saXZla2l0Ll' + 'B1Ymxpc2hEYXRhVHJhY2tSZXNwb25zZVIRcHVibGlzaERhdGFUcmFja3M='); @$core.Deprecated('Use dataChannelReceiveStateDescriptor instead') const DataChannelReceiveState$json = { @@ -977,7 +1752,8 @@ const DataChannelReceiveState$json = { /// Descriptor for `DataChannelReceiveState`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List dataChannelReceiveStateDescriptor = - $convert.base64Decode('ChdEYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZRIjCg1wdWJsaXNoZXJfc2lkGAEgASgJUgxwdWJsaX' + $convert.base64Decode( + 'ChdEYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZRIjCg1wdWJsaXNoZXJfc2lkGAEgASgJUgxwdWJsaX' 'NoZXJTaWQSGQoIbGFzdF9zZXEYAiABKA1SB2xhc3RTZXE='); @$core.Deprecated('Use dataChannelInfoDescriptor instead') @@ -986,20 +1762,34 @@ const DataChannelInfo$json = { '2': [ {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, {'1': 'id', '3': 2, '4': 1, '5': 13, '10': 'id'}, - {'1': 'target', '3': 3, '4': 1, '5': 14, '6': '.livekit.SignalTarget', '10': 'target'}, + { + '1': 'target', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.SignalTarget', + '10': 'target' + }, ], }; /// Descriptor for `DataChannelInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataChannelInfoDescriptor = - $convert.base64Decode('Cg9EYXRhQ2hhbm5lbEluZm8SFAoFbGFiZWwYASABKAlSBWxhYmVsEg4KAmlkGAIgASgNUgJpZB' - 'ItCgZ0YXJnZXQYAyABKA4yFS5saXZla2l0LlNpZ25hbFRhcmdldFIGdGFyZ2V0'); +final $typed_data.Uint8List dataChannelInfoDescriptor = $convert.base64Decode( + 'Cg9EYXRhQ2hhbm5lbEluZm8SFAoFbGFiZWwYASABKAlSBWxhYmVsEg4KAmlkGAIgASgNUgJpZB' + 'ItCgZ0YXJnZXQYAyABKA4yFS5saXZla2l0LlNpZ25hbFRhcmdldFIGdGFyZ2V0'); @$core.Deprecated('Use simulateScenarioDescriptor instead') const SimulateScenario$json = { '1': 'SimulateScenario', '2': [ - {'1': 'speaker_update', '3': 1, '4': 1, '5': 5, '9': 0, '10': 'speakerUpdate'}, + { + '1': 'speaker_update', + '3': 1, + '4': 1, + '5': 5, + '9': 0, + '10': 'speakerUpdate' + }, {'1': 'node_failure', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'nodeFailure'}, {'1': 'migration', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'migration'}, {'1': 'server_leave', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'serverLeave'}, @@ -1012,8 +1802,22 @@ const SimulateScenario$json = { '9': 0, '10': 'switchCandidateProtocol' }, - {'1': 'subscriber_bandwidth', '3': 6, '4': 1, '5': 3, '9': 0, '10': 'subscriberBandwidth'}, - {'1': 'disconnect_signal_on_resume', '3': 7, '4': 1, '5': 8, '9': 0, '10': 'disconnectSignalOnResume'}, + { + '1': 'subscriber_bandwidth', + '3': 6, + '4': 1, + '5': 3, + '9': 0, + '10': 'subscriberBandwidth' + }, + { + '1': 'disconnect_signal_on_resume', + '3': 7, + '4': 1, + '5': 8, + '9': 0, + '10': 'disconnectSignalOnResume' + }, { '1': 'disconnect_signal_on_resume_no_messages', '3': 8, @@ -1022,7 +1826,14 @@ const SimulateScenario$json = { '9': 0, '10': 'disconnectSignalOnResumeNoMessages' }, - {'1': 'leave_request_full_reconnect', '3': 9, '4': 1, '5': 8, '9': 0, '10': 'leaveRequestFullReconnect'}, + { + '1': 'leave_request_full_reconnect', + '3': 9, + '4': 1, + '5': 8, + '9': 0, + '10': 'leaveRequestFullReconnect' + }, ], '8': [ {'1': 'scenario'}, @@ -1030,17 +1841,17 @@ const SimulateScenario$json = { }; /// Descriptor for `SimulateScenario`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulateScenarioDescriptor = - $convert.base64Decode('ChBTaW11bGF0ZVNjZW5hcmlvEicKDnNwZWFrZXJfdXBkYXRlGAEgASgFSABSDXNwZWFrZXJVcG' - 'RhdGUSIwoMbm9kZV9mYWlsdXJlGAIgASgISABSC25vZGVGYWlsdXJlEh4KCW1pZ3JhdGlvbhgD' - 'IAEoCEgAUgltaWdyYXRpb24SIwoMc2VydmVyX2xlYXZlGAQgASgISABSC3NlcnZlckxlYXZlEl' - 'gKGXN3aXRjaF9jYW5kaWRhdGVfcHJvdG9jb2wYBSABKA4yGi5saXZla2l0LkNhbmRpZGF0ZVBy' - 'b3RvY29sSABSF3N3aXRjaENhbmRpZGF0ZVByb3RvY29sEjMKFHN1YnNjcmliZXJfYmFuZHdpZH' - 'RoGAYgASgDSABSE3N1YnNjcmliZXJCYW5kd2lkdGgSPwobZGlzY29ubmVjdF9zaWduYWxfb25f' - 'cmVzdW1lGAcgASgISABSGGRpc2Nvbm5lY3RTaWduYWxPblJlc3VtZRJVCidkaXNjb25uZWN0X3' - 'NpZ25hbF9vbl9yZXN1bWVfbm9fbWVzc2FnZXMYCCABKAhIAFIiZGlzY29ubmVjdFNpZ25hbE9u' - 'UmVzdW1lTm9NZXNzYWdlcxJBChxsZWF2ZV9yZXF1ZXN0X2Z1bGxfcmVjb25uZWN0GAkgASgISA' - 'BSGWxlYXZlUmVxdWVzdEZ1bGxSZWNvbm5lY3RCCgoIc2NlbmFyaW8='); +final $typed_data.Uint8List simulateScenarioDescriptor = $convert.base64Decode( + 'ChBTaW11bGF0ZVNjZW5hcmlvEicKDnNwZWFrZXJfdXBkYXRlGAEgASgFSABSDXNwZWFrZXJVcG' + 'RhdGUSIwoMbm9kZV9mYWlsdXJlGAIgASgISABSC25vZGVGYWlsdXJlEh4KCW1pZ3JhdGlvbhgD' + 'IAEoCEgAUgltaWdyYXRpb24SIwoMc2VydmVyX2xlYXZlGAQgASgISABSC3NlcnZlckxlYXZlEl' + 'gKGXN3aXRjaF9jYW5kaWRhdGVfcHJvdG9jb2wYBSABKA4yGi5saXZla2l0LkNhbmRpZGF0ZVBy' + 'b3RvY29sSABSF3N3aXRjaENhbmRpZGF0ZVByb3RvY29sEjMKFHN1YnNjcmliZXJfYmFuZHdpZH' + 'RoGAYgASgDSABSE3N1YnNjcmliZXJCYW5kd2lkdGgSPwobZGlzY29ubmVjdF9zaWduYWxfb25f' + 'cmVzdW1lGAcgASgISABSGGRpc2Nvbm5lY3RTaWduYWxPblJlc3VtZRJVCidkaXNjb25uZWN0X3' + 'NpZ25hbF9vbl9yZXN1bWVfbm9fbWVzc2FnZXMYCCABKAhIAFIiZGlzY29ubmVjdFNpZ25hbE9u' + 'UmVzdW1lTm9NZXNzYWdlcxJBChxsZWF2ZV9yZXF1ZXN0X2Z1bGxfcmVjb25uZWN0GAkgASgISA' + 'BSGWxlYXZlUmVxdWVzdEZ1bGxSZWNvbm5lY3RCCgoIc2NlbmFyaW8='); @$core.Deprecated('Use pingDescriptor instead') const Ping$json = { @@ -1052,35 +1863,48 @@ const Ping$json = { }; /// Descriptor for `Ping`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pingDescriptor = - $convert.base64Decode('CgRQaW5nEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEhAKA3J0dBgCIAEoA1IDcnR0'); +final $typed_data.Uint8List pingDescriptor = $convert.base64Decode( + 'CgRQaW5nEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEhAKA3J0dBgCIAEoA1IDcnR0'); @$core.Deprecated('Use pongDescriptor instead') const Pong$json = { '1': 'Pong', '2': [ - {'1': 'last_ping_timestamp', '3': 1, '4': 1, '5': 3, '10': 'lastPingTimestamp'}, + { + '1': 'last_ping_timestamp', + '3': 1, + '4': 1, + '5': 3, + '10': 'lastPingTimestamp' + }, {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, ], }; /// Descriptor for `Pong`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pongDescriptor = - $convert.base64Decode('CgRQb25nEi4KE2xhc3RfcGluZ190aW1lc3RhbXAYASABKANSEWxhc3RQaW5nVGltZXN0YW1wEh' - 'wKCXRpbWVzdGFtcBgCIAEoA1IJdGltZXN0YW1w'); +final $typed_data.Uint8List pongDescriptor = $convert.base64Decode( + 'CgRQb25nEi4KE2xhc3RfcGluZ190aW1lc3RhbXAYASABKANSEWxhc3RQaW5nVGltZXN0YW1wEh' + 'wKCXRpbWVzdGFtcBgCIAEoA1IJdGltZXN0YW1w'); @$core.Deprecated('Use regionSettingsDescriptor instead') const RegionSettings$json = { '1': 'RegionSettings', '2': [ - {'1': 'regions', '3': 1, '4': 3, '5': 11, '6': '.livekit.RegionInfo', '10': 'regions'}, + { + '1': 'regions', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.RegionInfo', + '10': 'regions' + }, ], }; /// Descriptor for `RegionSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List regionSettingsDescriptor = - $convert.base64Decode('Cg5SZWdpb25TZXR0aW5ncxItCgdyZWdpb25zGAEgAygLMhMubGl2ZWtpdC5SZWdpb25JbmZvUg' - 'dyZWdpb25z'); +final $typed_data.Uint8List regionSettingsDescriptor = $convert.base64Decode( + 'Cg5SZWdpb25TZXR0aW5ncxItCgdyZWdpb25zGAEgAygLMhMubGl2ZWtpdC5SZWdpb25JbmZvUg' + 'dyZWdpb25z'); @$core.Deprecated('Use regionInfoDescriptor instead') const RegionInfo$json = { @@ -1093,34 +1917,72 @@ const RegionInfo$json = { }; /// Descriptor for `RegionInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List regionInfoDescriptor = - $convert.base64Decode('CgpSZWdpb25JbmZvEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9uEhAKA3VybBgCIAEoCVIDdXJsEh' - 'oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); +final $typed_data.Uint8List regionInfoDescriptor = $convert.base64Decode( + 'CgpSZWdpb25JbmZvEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9uEhAKA3VybBgCIAEoCVIDdXJsEh' + 'oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); @$core.Deprecated('Use subscriptionResponseDescriptor instead') const SubscriptionResponse$json = { '1': 'SubscriptionResponse', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'err', '3': 2, '4': 1, '5': 14, '6': '.livekit.SubscriptionError', '10': 'err'}, + { + '1': 'err', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.SubscriptionError', + '10': 'err' + }, ], }; /// Descriptor for `SubscriptionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionResponseDescriptor = - $convert.base64Decode('ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' - 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); +final $typed_data.Uint8List subscriptionResponseDescriptor = $convert.base64Decode( + 'ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' + 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); @$core.Deprecated('Use requestResponseDescriptor instead') const RequestResponse$json = { '1': 'RequestResponse', '2': [ {'1': 'request_id', '3': 1, '4': 1, '5': 13, '10': 'requestId'}, - {'1': 'reason', '3': 2, '4': 1, '5': 14, '6': '.livekit.RequestResponse.Reason', '10': 'reason'}, + { + '1': 'reason', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.RequestResponse.Reason', + '10': 'reason' + }, {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, - {'1': 'trickle', '3': 4, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, - {'1': 'add_track', '3': 5, '4': 1, '5': 11, '6': '.livekit.AddTrackRequest', '9': 0, '10': 'addTrack'}, - {'1': 'mute', '3': 6, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, + { + '1': 'trickle', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.TrickleRequest', + '9': 0, + '10': 'trickle' + }, + { + '1': 'add_track', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.AddTrackRequest', + '9': 0, + '10': 'addTrack' + }, + { + '1': 'mute', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.MuteTrackRequest', + '9': 0, + '10': 'mute' + }, { '1': 'update_metadata', '3': 7, @@ -1148,6 +2010,24 @@ const RequestResponse$json = { '9': 0, '10': 'updateVideoTrack' }, + { + '1': 'publish_data_track', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.PublishDataTrackRequest', + '9': 0, + '10': 'publishDataTrack' + }, + { + '1': 'unpublish_data_track', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.UnpublishDataTrackRequest', + '9': 0, + '10': 'unpublishDataTrack' + }, ], '4': [RequestResponse_Reason$json], '8': [ @@ -1166,24 +2046,32 @@ const RequestResponse_Reason$json = { {'1': 'QUEUED', '2': 4}, {'1': 'UNSUPPORTED_TYPE', '2': 5}, {'1': 'UNCLASSIFIED_ERROR', '2': 6}, + {'1': 'INVALID_HANDLE', '2': 7}, + {'1': 'INVALID_NAME', '2': 8}, + {'1': 'DUPLICATE_HANDLE', '2': 9}, + {'1': 'DUPLICATE_NAME', '2': 10}, ], }; /// Descriptor for `RequestResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestResponseDescriptor = - $convert.base64Decode('Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' - 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' - 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' - 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' - 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' - 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' - 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' - 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' - 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' - 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjayJ+CgZSZWFzb24SBgoCT0sQABINCglOT1Rf' - 'Rk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVFVUVEEA' - 'QSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGQgkKB3JlcXVl' - 'c3Q='); +final $typed_data.Uint8List requestResponseDescriptor = $convert.base64Decode( + 'Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' + 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' + 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' + 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' + 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' + 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' + 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' + 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' + 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' + 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjaxJQChJwdWJsaXNoX2RhdGFfdHJhY2sYCiAB' + 'KAsyIC5saXZla2l0LlB1Ymxpc2hEYXRhVHJhY2tSZXF1ZXN0SABSEHB1Ymxpc2hEYXRhVHJhY2' + 'sSVgoUdW5wdWJsaXNoX2RhdGFfdHJhY2sYCyABKAsyIi5saXZla2l0LlVucHVibGlzaERhdGFU' + 'cmFja1JlcXVlc3RIAFISdW5wdWJsaXNoRGF0YVRyYWNrIs4BCgZSZWFzb24SBgoCT0sQABINCg' + 'lOT1RfRk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVF' + 'VUVEEAQSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGEhIKDk' + 'lOVkFMSURfSEFORExFEAcSEAoMSU5WQUxJRF9OQU1FEAgSFAoQRFVQTElDQVRFX0hBTkRMRRAJ' + 'EhIKDkRVUExJQ0FURV9OQU1FEApCCQoHcmVxdWVzdA=='); @$core.Deprecated('Use trackSubscribedDescriptor instead') const TrackSubscribed$json = { @@ -1194,8 +2082,8 @@ const TrackSubscribed$json = { }; /// Descriptor for `TrackSubscribed`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackSubscribedDescriptor = - $convert.base64Decode('Cg9UcmFja1N1YnNjcmliZWQSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA=='); +final $typed_data.Uint8List trackSubscribedDescriptor = $convert.base64Decode( + 'Cg9UcmFja1N1YnNjcmliZWQSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA=='); @$core.Deprecated('Use connectionSettingsDescriptor instead') const ConnectionSettings$json = { @@ -1203,7 +2091,15 @@ const ConnectionSettings$json = { '2': [ {'1': 'auto_subscribe', '3': 1, '4': 1, '5': 8, '10': 'autoSubscribe'}, {'1': 'adaptive_stream', '3': 2, '4': 1, '5': 8, '10': 'adaptiveStream'}, - {'1': 'subscriber_allow_pause', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'subscriberAllowPause', '17': true}, + { + '1': 'subscriber_allow_pause', + '3': 3, + '4': 1, + '5': 8, + '9': 0, + '10': 'subscriberAllowPause', + '17': true + }, {'1': 'disable_ice_lite', '3': 4, '4': 1, '5': 8, '10': 'disableIceLite'}, ], '8': [ @@ -1212,18 +2108,25 @@ const ConnectionSettings$json = { }; /// Descriptor for `ConnectionSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List connectionSettingsDescriptor = - $convert.base64Decode('ChJDb25uZWN0aW9uU2V0dGluZ3MSJQoOYXV0b19zdWJzY3JpYmUYASABKAhSDWF1dG9TdWJzY3' - 'JpYmUSJwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIUg5hZGFwdGl2ZVN0cmVhbRI5ChZzdWJzY3Jp' - 'YmVyX2FsbG93X3BhdXNlGAMgASgISABSFHN1YnNjcmliZXJBbGxvd1BhdXNliAEBEigKEGRpc2' - 'FibGVfaWNlX2xpdGUYBCABKAhSDmRpc2FibGVJY2VMaXRlQhkKF19zdWJzY3JpYmVyX2FsbG93' - 'X3BhdXNl'); +final $typed_data.Uint8List connectionSettingsDescriptor = $convert.base64Decode( + 'ChJDb25uZWN0aW9uU2V0dGluZ3MSJQoOYXV0b19zdWJzY3JpYmUYASABKAhSDWF1dG9TdWJzY3' + 'JpYmUSJwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIUg5hZGFwdGl2ZVN0cmVhbRI5ChZzdWJzY3Jp' + 'YmVyX2FsbG93X3BhdXNlGAMgASgISABSFHN1YnNjcmliZXJBbGxvd1BhdXNliAEBEigKEGRpc2' + 'FibGVfaWNlX2xpdGUYBCABKAhSDmRpc2FibGVJY2VMaXRlQhkKF19zdWJzY3JpYmVyX2FsbG93' + 'X3BhdXNl'); @$core.Deprecated('Use joinRequestDescriptor instead') const JoinRequest$json = { '1': 'JoinRequest', '2': [ - {'1': 'client_info', '3': 1, '4': 1, '5': 11, '6': '.livekit.ClientInfo', '10': 'clientInfo'}, + { + '1': 'client_info', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.ClientInfo', + '10': 'clientInfo' + }, { '1': 'connection_settings', '3': 2, @@ -1232,21 +2135,50 @@ const JoinRequest$json = { '6': '.livekit.ConnectionSettings', '10': 'connectionSettings' }, - {'1': 'metadata', '3': 3, '4': 1, '5': 9, '10': 'metadata'}, + {'1': 'metadata', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'metadata'}, { '1': 'participant_attributes', '3': 4, '4': 3, '5': 11, '6': '.livekit.JoinRequest.ParticipantAttributesEntry', + '8': {}, '10': 'participantAttributes' }, - {'1': 'add_track_requests', '3': 5, '4': 3, '5': 11, '6': '.livekit.AddTrackRequest', '10': 'addTrackRequests'}, - {'1': 'publisher_offer', '3': 6, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'publisherOffer'}, + { + '1': 'add_track_requests', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.AddTrackRequest', + '10': 'addTrackRequests' + }, + { + '1': 'publisher_offer', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '10': 'publisherOffer' + }, {'1': 'reconnect', '3': 7, '4': 1, '5': 8, '10': 'reconnect'}, - {'1': 'reconnect_reason', '3': 8, '4': 1, '5': 14, '6': '.livekit.ReconnectReason', '10': 'reconnectReason'}, + { + '1': 'reconnect_reason', + '3': 8, + '4': 1, + '5': 14, + '6': '.livekit.ReconnectReason', + '10': 'reconnectReason' + }, {'1': 'participant_sid', '3': 9, '4': 1, '5': 9, '10': 'participantSid'}, - {'1': 'sync_state', '3': 10, '4': 1, '5': 11, '6': '.livekit.SyncState', '10': 'syncState'}, + { + '1': 'sync_state', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.SyncState', + '10': 'syncState' + }, ], '3': [JoinRequest_ParticipantAttributesEntry$json], }; @@ -1262,26 +2194,34 @@ const JoinRequest_ParticipantAttributesEntry$json = { }; /// Descriptor for `JoinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List joinRequestDescriptor = - $convert.base64Decode('CgtKb2luUmVxdWVzdBI0CgtjbGllbnRfaW5mbxgBIAEoCzITLmxpdmVraXQuQ2xpZW50SW5mb1' - 'IKY2xpZW50SW5mbxJMChNjb25uZWN0aW9uX3NldHRpbmdzGAIgASgLMhsubGl2ZWtpdC5Db25u' - 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxIaCghtZXRhZGF0YRgDIAEoCVIIbW' - 'V0YWRhdGESZgoWcGFydGljaXBhbnRfYXR0cmlidXRlcxgEIAMoCzIvLmxpdmVraXQuSm9pblJl' - 'cXVlc3QuUGFydGljaXBhbnRBdHRyaWJ1dGVzRW50cnlSFXBhcnRpY2lwYW50QXR0cmlidXRlcx' - 'JGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQ' - 'YWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJfb2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3' - 'Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZXISHAoJcmVjb25uZWN0GAcgASgIUglyZWNv' - 'bm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEoDjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc2' - '9uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaXBhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFu' - 'dFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZR' - 'pIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1' - 'ZRgCIAEoCVIFdmFsdWU6AjgB'); +final $typed_data.Uint8List joinRequestDescriptor = $convert.base64Decode( + 'CgtKb2luUmVxdWVzdBI0CgtjbGllbnRfaW5mbxgBIAEoCzITLmxpdmVraXQuQ2xpZW50SW5mb1' + 'IKY2xpZW50SW5mbxJMChNjb25uZWN0aW9uX3NldHRpbmdzGAIgASgLMhsubGl2ZWtpdC5Db25u' + 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxJCCghtZXRhZGF0YRgDIAEoCUImiO' + 'wsAZLsLB48cmVkYWN0ZWQgKHt7IC5TaXplIH19IGJ5dGVzKT5SCG1ldGFkYXRhEo4BChZwYXJ0' + 'aWNpcGFudF9hdHRyaWJ1dGVzGAQgAygLMi8ubGl2ZWtpdC5Kb2luUmVxdWVzdC5QYXJ0aWNpcG' + 'FudEF0dHJpYnV0ZXNFbnRyeUImiOwsAZLsLB48cmVkYWN0ZWQgKHt7IC5TaXplIH19IGJ5dGVz' + 'KT5SFXBhcnRpY2lwYW50QXR0cmlidXRlcxJGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC' + '5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQYWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJf' + 'b2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZX' + 'ISHAoJcmVjb25uZWN0GAcgASgIUglyZWNvbm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEo' + 'DjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc29uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaX' + 'BhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFudFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2' + 'ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZRpIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeR' + 'IQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgB'); @$core.Deprecated('Use wrappedJoinRequestDescriptor instead') const WrappedJoinRequest$json = { '1': 'WrappedJoinRequest', '2': [ - {'1': 'compression', '3': 1, '4': 1, '5': 14, '6': '.livekit.WrappedJoinRequest.Compression', '10': 'compression'}, + { + '1': 'compression', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.WrappedJoinRequest.Compression', + '10': 'compression' + }, {'1': 'join_request', '3': 2, '4': 1, '5': 12, '10': 'joinRequest'}, ], '4': [WrappedJoinRequest_Compression$json], @@ -1297,10 +2237,10 @@ const WrappedJoinRequest_Compression$json = { }; /// Descriptor for `WrappedJoinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wrappedJoinRequestDescriptor = - $convert.base64Decode('ChJXcmFwcGVkSm9pblJlcXVlc3QSSQoLY29tcHJlc3Npb24YASABKA4yJy5saXZla2l0LldyYX' - 'BwZWRKb2luUmVxdWVzdC5Db21wcmVzc2lvblILY29tcHJlc3Npb24SIQoMam9pbl9yZXF1ZXN0' - 'GAIgASgMUgtqb2luUmVxdWVzdCIhCgtDb21wcmVzc2lvbhIICgROT05FEAASCAoER1pJUBAB'); +final $typed_data.Uint8List wrappedJoinRequestDescriptor = $convert.base64Decode( + 'ChJXcmFwcGVkSm9pblJlcXVlc3QSSQoLY29tcHJlc3Npb24YASABKA4yJy5saXZla2l0LldyYX' + 'BwZWRKb2luUmVxdWVzdC5Db21wcmVzc2lvblILY29tcHJlc3Npb24SIQoMam9pbl9yZXF1ZXN0' + 'GAIgASgMUgtqb2luUmVxdWVzdCIhCgtDb21wcmVzc2lvbhIICgROT05FEAASCAoER1pJUBAB'); @$core.Deprecated('Use mediaSectionsRequirementDescriptor instead') const MediaSectionsRequirement$json = { @@ -1313,5 +2253,6 @@ const MediaSectionsRequirement$json = { /// Descriptor for `MediaSectionsRequirement`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List mediaSectionsRequirementDescriptor = - $convert.base64Decode('ChhNZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSHQoKbnVtX2F1ZGlvcxgBIAEoDVIJbnVtQXVkaW' + $convert.base64Decode( + 'ChhNZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSHQoKbnVtX2F1ZGlvcxgBIAEoDVIJbnVtQXVkaW' '9zEh0KCm51bV92aWRlb3MYAiABKA1SCW51bVZpZGVvcw=='); diff --git a/pubspec.lock b/pubspec.lock index bf5917ec..8d498a6d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -596,10 +596,10 @@ packages: dependency: "direct main" description: name: protobuf - sha256: de9c9eb2c33f8e933a42932fe1dc504800ca45ebc3d673e6ed7f39754ee4053e + sha256: "75ec242d22e950bdcc79ee38dd520ce4ee0bc491d7fadc4ea47694604d22bf06" url: "https://pub.dev" source: hosted - version: "4.2.0" + version: "6.0.0" pub_semver: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4533867f..8b9a010c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -36,7 +36,7 @@ dependencies: logging: ^1.1.0 uuid: ^4.5.1 synchronized: ^3.0.0+3 - protobuf: ^4.2.0 + protobuf: ">=6.0.0 <7.0.0" device_info_plus: ^12.2.0 sdp_transform: ^0.3.2 web: ^1.0.0