diff --git a/lib/src/proto/google/protobuf/timestamp.pb.dart b/lib/src/proto/google/protobuf/timestamp.pb.dart index 8dab5ab6f..04d66d54b 100644 --- a/lib/src/proto/google/protobuf/timestamp.pb.dart +++ b/lib/src/proto/google/protobuf/timestamp.pb.dart @@ -11,13 +11,18 @@ // 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: google/protobuf/timestamp.proto +// source: timestamp.proto // -// @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields +// @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; @@ -25,94 +30,168 @@ 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; -class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'Timestamp', - package: const $pb.PackageName( - const $core.bool.fromEnvironment('protobuf.omit_message_names') - ? '' - : 'google.protobuf'), - createEmptyInstance: create, - toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, - fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper) - ..aInt64( - 1, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'seconds') - ..a<$core.int>( - 2, - const $core.bool.fromEnvironment('protobuf.omit_field_names') - ? '' - : 'nanos', - $pb.PbFieldType.O3) - ..hasRequiredFields = false; +export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; - Timestamp._() : super(); +/// 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; + final result = create(); + if (seconds != null) result.seconds = seconds; + if (nanos != null) result.nanos = nanos; + return result; } - factory Timestamp.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromBuffer(i, r); - factory Timestamp.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => - create()..mergeFromJson(i, r); - @$core.Deprecated('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + + 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('Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') + @$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; // ignore: deprecated_member_use + 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 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 v) { - $_setInt64(0, v); - } - + set seconds($fixnum.Int64 value) => $_setInt64(0, value); @$pb.TagNumber(1) $core.bool hasSeconds() => $_has(0); @$pb.TagNumber(1) - void clearSeconds() => clearField(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 v) { - $_setSignedInt32(1, v); - } - + set nanos($core.int value) => $_setSignedInt32(1, value); @$pb.TagNumber(2) $core.bool hasNanos() => $_has(1); @$pb.TagNumber(2) - void clearNanos() => clearField(2); + void clearNanos() => $_clearField(2); /// Creates a new instance from [dateTime]. /// @@ -123,3 +202,6 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { 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 dbb58938d..2641f394a 100644 --- a/lib/src/proto/livekit_metrics.pb.dart +++ b/lib/src/proto/livekit_metrics.pb.dart @@ -31,8 +31,7 @@ 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); @@ -44,31 +43,24 @@ 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, + ..pc(4, _omitFieldNames ? '' : 'timeSeries', $pb.PbFieldType.PM, subBuilder: TimeSeriesMetric.create) - ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, - subBuilder: EventMetric.create) + ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: EventMetric.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricsBatch clone() => MetricsBatch()..mergeFromMessage(this); @$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; @@ -77,11 +69,9 @@ class MetricsBatch extends $pb.GeneratedMessage { static MetricsBatch create() => MetricsBatch._(); @$core.override MetricsBatch createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -130,8 +120,7 @@ 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; @@ -147,16 +136,12 @@ 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) + 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>(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) + ..pc(4, _omitFieldNames ? '' : 'samples', $pb.PbFieldType.PM, subBuilder: MetricSample.create) ..a<$core.int>(5, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -164,8 +149,7 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { TimeSeriesMetric clone() => TimeSeriesMetric()..mergeFromMessage(this); @$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; @@ -174,11 +158,10 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { static TimeSeriesMetric create() => TimeSeriesMetric._(); @$core.override TimeSeriesMetric createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -231,8 +214,7 @@ 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; } @@ -242,17 +224,13 @@ 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) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) ..hasRequiredFields = false; @@ -260,8 +238,7 @@ class MetricSample extends $pb.GeneratedMessage { MetricSample clone() => MetricSample()..mergeFromMessage(this); @$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; @@ -270,11 +247,9 @@ class MetricSample extends $pb.GeneratedMessage { static MetricSample create() => MetricSample._(); @$core.override MetricSample createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -321,15 +296,12 @@ 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; @@ -340,24 +312,18 @@ 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) + 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>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $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) ..hasRequiredFields = false; @@ -366,8 +332,7 @@ class EventMetric extends $pb.GeneratedMessage { EventMetric clone() => EventMetric()..mergeFromMessage(this); @$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; @@ -378,8 +343,7 @@ class EventMetric extends $pb.GeneratedMessage { 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) @@ -468,7 +432,69 @@ class EventMetric extends $pb.GeneratedMessage { void clearRid() => $_clearField(9); } -const $core.bool _omitFieldNames = - $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = - $core.bool.fromEnvironment('protobuf.omit_message_names'); +class MetricsRecordingHeader extends $pb.GeneratedMessage { + factory MetricsRecordingHeader({ + $core.String? roomId, + $core.bool? enableUserDataTraining, + }) { + final result = create(); + if (roomId != null) result.roomId = roomId; + if (enableUserDataTraining != null) result.enableUserDataTraining = enableUserDataTraining; + return result; + } + + MetricsRecordingHeader._(); + + factory MetricsRecordingHeader.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory MetricsRecordingHeader.fromJson($core.String json, + [$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) + ..aOS(1, _omitFieldNames ? '' : 'roomId') + ..aOB(2, _omitFieldNames ? '' : 'enableUserDataTraining') + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MetricsRecordingHeader clone() => MetricsRecordingHeader()..mergeFromMessage(this); + @$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; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + 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? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get roomId => $_getSZ(0); + @$pb.TagNumber(1) + set roomId($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasRoomId() => $_has(0); + @$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); +} + +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 946b8468f..536bd1960 100644 --- a/lib/src/proto/livekit_metrics.pbenum.dart +++ b/lib/src/proto/livekit_metrics.pbenum.dart @@ -16,85 +16,42 @@ 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, @@ -120,12 +77,10 @@ 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 2b9940896..e10d725eb 100644 --- a/lib/src/proto/livekit_metrics.pbjson.dart +++ b/lib/src/proto/livekit_metrics.pbjson.dart @@ -32,10 +32,7 @@ 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}, @@ -46,24 +43,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 = { @@ -79,64 +76,37 @@ 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 = { @@ -156,40 +126,20 @@ 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, @@ -218,13 +168,31 @@ 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}, + ], + '8': [ + {'1': '_enable_user_data_training'}, + ], +}; + +/// Descriptor for `MetricsRecordingHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List metricsRecordingHeaderDescriptor = + $convert.base64Decode('ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBI+Chllbm' + 'FibGVfdXNlcl9kYXRhX3RyYWluaW5nGAIgASgISABSFmVuYWJsZVVzZXJEYXRhVHJhaW5pbmeI' + 'AQFCHAoaX2VuYWJsZV91c2VyX2RhdGFfdHJhaW5pbmc='); diff --git a/lib/src/proto/livekit_metrics.pbserver.dart b/lib/src/proto/livekit_metrics.pbserver.dart deleted file mode 100644 index 3d0a58af2..000000000 --- a/lib/src/proto/livekit_metrics.pbserver.dart +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated code. Do not modify. -// source: livekit_metrics.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names -// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -export 'livekit_metrics.pb.dart'; diff --git a/lib/src/proto/livekit_models.pb.dart b/lib/src/proto/livekit_models.pb.dart index c05ea80b3..694e7e8dd 100644 --- a/lib/src/proto/livekit_models.pb.dart +++ b/lib/src/proto/livekit_models.pb.dart @@ -39,14 +39,11 @@ 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) ..hasRequiredFields = false; @@ -66,8 +63,7 @@ class Pagination extends $pb.GeneratedMessage { 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) @@ -103,14 +99,11 @@ 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; @@ -118,8 +111,7 @@ class TokenPagination extends $pb.GeneratedMessage { TokenPagination clone() => TokenPagination()..mergeFromMessage(this); @$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; @@ -128,11 +120,10 @@ class TokenPagination extends $pb.GeneratedMessage { static TokenPagination create() => TokenPagination._(); @$core.override TokenPagination createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -150,13 +141,13 @@ class ListUpdate extends $pb.GeneratedMessage { factory ListUpdate({ $core.Iterable<$core.String>? set, $core.Iterable<$core.String>? add, - $core.Iterable<$core.String>? del, + $core.Iterable<$core.String>? remove, $core.bool? clear_4, }) { final result = create(); if (set != null) result.set.addAll(set); if (add != null) result.add.addAll(add); - if (del != null) result.del.addAll(del); + if (remove != null) result.remove.addAll(remove); if (clear_4 != null) result.clear_4 = clear_4; return result; } @@ -166,17 +157,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 ? '' : 'del') + ..pPS(3, _omitFieldNames ? '' : 'remove') ..aOB(4, _omitFieldNames ? '' : 'clear') ..hasRequiredFields = false; @@ -195,8 +183,7 @@ class ListUpdate extends $pb.GeneratedMessage { 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) @@ -206,7 +193,7 @@ class ListUpdate extends $pb.GeneratedMessage { $pb.PbList<$core.String> get add => $_getList(1); @$pb.TagNumber(3) - $pb.PbList<$core.String> get del => $_getList(2); + $pb.PbList<$core.String> get remove => $_getList(2); @$pb.TagNumber(4) $core.bool get clear_4 => $_getBF(3); @@ -255,45 +242,33 @@ 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) + ..a<$core.int>(3, _omitFieldNames ? '' : 'emptyTimeout', $pb.PbFieldType.OU3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'maxParticipants', $pb.PbFieldType.OU3) ..aInt64(5, _omitFieldNames ? '' : 'creationTime') ..aOS(6, _omitFieldNames ? '' : 'turnPassword') - ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, - subBuilder: Codec.create) + ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, subBuilder: Codec.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') - ..a<$core.int>( - 9, _omitFieldNames ? '' : 'numParticipants', $pb.PbFieldType.OU3) + ..a<$core.int>(9, _omitFieldNames ? '' : 'numParticipants', $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) + ..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) ..aInt64(15, _omitFieldNames ? '' : 'creationTimeMs') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Room clone() => Room()..mergeFromMessage(this); @$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; @@ -304,8 +279,7 @@ class Room extends $pb.GeneratedMessage { 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) @@ -447,14 +421,11 @@ 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; @@ -462,8 +433,7 @@ class Codec extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Codec clone() => Codec()..mergeFromMessage(this); @$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; @@ -474,8 +444,7 @@ class Codec extends $pb.GeneratedMessage { 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) @@ -515,14 +484,11 @@ 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) @@ -532,8 +498,7 @@ class PlayoutDelay extends $pb.GeneratedMessage { PlayoutDelay clone() => PlayoutDelay()..mergeFromMessage(this); @$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; @@ -542,11 +507,9 @@ class PlayoutDelay extends $pb.GeneratedMessage { static PlayoutDelay create() => PlayoutDelay._(); @$core.override PlayoutDelay createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -595,12 +558,10 @@ 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; } @@ -613,33 +574,25 @@ 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() => ParticipantPermission()..mergeFromMessage(this); @$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; @@ -648,11 +601,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { static ParticipantPermission create() => ParticipantPermission._(); @$core.override ParticipantPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -794,33 +746,26 @@ 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, + ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_State.JOINING, valueOf: ParticipantInfo_State.valueOf, enumValues: ParticipantInfo_State.values) - ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, - subBuilder: TrackInfo.create) + ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, 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) + ..aOM(11, _omitFieldNames ? '' : 'permission', subBuilder: ParticipantPermission.create) ..aOS(12, _omitFieldNames ? '' : 'region') ..aOB(13, _omitFieldNames ? '' : 'isPublisher') - ..e( - 14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, + ..e(14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_Kind.STANDARD, valueOf: ParticipantInfo_Kind.valueOf, enumValues: ParticipantInfo_Kind.values) @@ -829,14 +774,12 @@ class ParticipantInfo extends $pb.GeneratedMessage { keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..e( - 16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, + ..e(16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, defaultOrMaker: DisconnectReason.UNKNOWN_REASON, valueOf: DisconnectReason.valueOf, 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) @@ -846,8 +789,7 @@ class ParticipantInfo extends $pb.GeneratedMessage { ParticipantInfo clone() => ParticipantInfo()..mergeFromMessage(this); @$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; @@ -856,11 +798,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { static ParticipantInfo create() => ParticipantInfo._(); @$core.override ParticipantInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1004,14 +945,11 @@ 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.') @@ -1029,8 +967,7 @@ class Encryption extends $pb.GeneratedMessage { 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; } @@ -1062,17 +999,13 @@ 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, + ..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, enumValues: VideoLayer_Mode.values) @@ -1083,8 +1016,7 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { SimulcastCodecInfo clone() => SimulcastCodecInfo()..mergeFromMessage(this); @$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; @@ -1093,11 +1025,10 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { static SimulcastCodecInfo create() => SimulcastCodecInfo._(); @$core.override SimulcastCodecInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1164,8 +1095,7 @@ class TrackInfo extends $pb.GeneratedMessage { @$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, @@ -1206,19 +1136,14 @@ 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) + defaultOrMaker: TrackType.AUDIO, valueOf: TrackType.valueOf, enumValues: TrackType.values) ..aOS(3, _omitFieldNames ? '' : 'name') ..aOB(4, _omitFieldNames ? '' : 'muted') ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) @@ -1226,33 +1151,23 @@ class TrackInfo extends $pb.GeneratedMessage { ..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) + defaultOrMaker: TrackSource.UNKNOWN, valueOf: TrackSource.valueOf, enumValues: TrackSource.values) + ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) ..aOS(11, _omitFieldNames ? '' : 'mimeType') ..aOS(12, _omitFieldNames ? '' : 'mid') - ..pc( - 13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, + ..pc(13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, 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) + ..e(16, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, 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, + ..e(20, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, defaultOrMaker: BackupCodecPolicy.PREFER_REGRESSION, valueOf: BackupCodecPolicy.valueOf, enumValues: BackupCodecPolicy.values) @@ -1273,8 +1188,7 @@ class TrackInfo extends $pb.GeneratedMessage { 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) @@ -1498,18 +1412,13 @@ 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) + 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) + 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) @@ -1533,8 +1442,7 @@ class VideoLayer extends $pb.GeneratedMessage { 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 @@ -1646,10 +1554,8 @@ 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; @@ -1671,8 +1577,7 @@ 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 = { @@ -1691,45 +1596,28 @@ 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) + 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) ..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) + ..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) ..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.') @@ -1747,8 +1635,7 @@ class DataPacket extends $pb.GeneratedMessage { 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; DataPacket_Value whichValue() => _DataPacket_ValueByTag[$_whichOneof(0)]!; @@ -1970,32 +1857,23 @@ 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) + 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) + ..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); @$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; @@ -2004,11 +1882,10 @@ class EncryptedPacket extends $pb.GeneratedMessage { static EncryptedPacket create() => EncryptedPacket._(); @$core.override EncryptedPacket createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2092,8 +1969,7 @@ 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, @@ -2104,36 +1980,24 @@ 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() => EncryptedPacketPayload()..mergeFromMessage(this); @$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; @@ -2142,15 +2006,13 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { static EncryptedPacketPayload create() => EncryptedPacketPayload._(); @$core.override EncryptedPacketPayload createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + EncryptedPacketPayload_Value whichValue() => _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; void clearValue() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -2261,20 +2123,16 @@ 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) + ..pc(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ActiveSpeakerUpdate clone() => ActiveSpeakerUpdate()..mergeFromMessage(this); @$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; @@ -2283,11 +2141,10 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { static ActiveSpeakerUpdate create() => ActiveSpeakerUpdate._(); @$core.override ActiveSpeakerUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2312,14 +2169,11 @@ 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) ..aOB(3, _omitFieldNames ? '' : 'active') @@ -2329,8 +2183,7 @@ class SpeakerInfo extends $pb.GeneratedMessage { SpeakerInfo clone() => SpeakerInfo()..mergeFromMessage(this); @$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; @@ -2341,8 +2194,7 @@ class SpeakerInfo extends $pb.GeneratedMessage { 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) @@ -2379,13 +2231,10 @@ 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, @@ -2396,10 +2245,8 @@ 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; @@ -2412,30 +2259,21 @@ 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.') @@ -2453,8 +2291,7 @@ class UserPacket extends $pb.GeneratedMessage { 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 @@ -2570,14 +2407,11 @@ 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) + 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) ..aOS(4, _omitFieldNames ? '' : 'digit') ..hasRequiredFields = false; @@ -2597,8 +2431,7 @@ class SipDTMF extends $pb.GeneratedMessage { 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) @@ -2627,8 +2460,7 @@ 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; @@ -2639,18 +2471,14 @@ 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, + ..pc(4, _omitFieldNames ? '' : 'segments', $pb.PbFieldType.PM, subBuilder: TranscriptionSegment.create) ..hasRequiredFields = false; @@ -2658,8 +2486,7 @@ class Transcription extends $pb.GeneratedMessage { Transcription clone() => Transcription()..mergeFromMessage(this); @$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; @@ -2668,19 +2495,16 @@ class Transcription extends $pb.GeneratedMessage { static Transcription create() => Transcription._(); @$core.override Transcription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2727,28 +2551,21 @@ 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() => TranscriptionSegment()..mergeFromMessage(this); @$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; @@ -2757,11 +2574,10 @@ class TranscriptionSegment extends $pb.GeneratedMessage { static TranscriptionSegment create() => TranscriptionSegment._(); @$core.override TranscriptionSegment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2843,14 +2659,11 @@ 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') @@ -2863,8 +2676,7 @@ class ChatMessage extends $pb.GeneratedMessage { ChatMessage clone() => ChatMessage()..mergeFromMessage(this); @$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; @@ -2875,8 +2687,7 @@ class ChatMessage extends $pb.GeneratedMessage { 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) @@ -2956,19 +2767,15 @@ 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>(4, _omitFieldNames ? '' : 'responseTimeoutMs', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -2987,8 +2794,7 @@ class RpcRequest extends $pb.GeneratedMessage { 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) @@ -3051,22 +2857,18 @@ 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); @$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; @@ -3077,8 +2879,7 @@ class RpcAck extends $pb.GeneratedMessage { 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) @@ -3111,33 +2912,27 @@ 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); @$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; @@ -3148,8 +2943,7 @@ class RpcResponse extends $pb.GeneratedMessage { 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; RpcResponse_Value whichValue() => _RpcResponse_ValueByTag[$_whichOneof(0)]!; @@ -3203,14 +2997,11 @@ 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) + 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) ..aOS(2, _omitFieldNames ? '' : 'message') ..aOS(3, _omitFieldNames ? '' : 'data') @@ -3231,8 +3022,7 @@ class RpcError extends $pb.GeneratedMessage { 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) @@ -3283,10 +3073,8 @@ 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; @@ -3295,8 +3083,7 @@ class ParticipantTracks extends $pb.GeneratedMessage { ParticipantTracks clone() => ParticipantTracks()..mergeFromMessage(this); @$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; @@ -3305,11 +3092,10 @@ class ParticipantTracks extends $pb.GeneratedMessage { static ParticipantTracks create() => ParticipantTracks._(); @$core.override ParticipantTracks createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -3353,16 +3139,12 @@ 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, + 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, enumValues: ServerInfo_Edition.values) @@ -3371,8 +3153,7 @@ class ServerInfo extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'region') ..aOS(5, _omitFieldNames ? '' : 'nodeId') ..aOS(6, _omitFieldNames ? '' : 'debugInfo') - ..a<$core.int>( - 7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) + ..a<$core.int>(7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -3390,8 +3171,7 @@ class ServerInfo extends $pb.GeneratedMessage { 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) @@ -3494,18 +3274,13 @@ 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) + 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) + defaultOrMaker: ClientInfo_SDK.UNKNOWN, valueOf: ClientInfo_SDK.valueOf, enumValues: ClientInfo_SDK.values) ..aOS(2, _omitFieldNames ? '' : 'version') ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) ..aOS(4, _omitFieldNames ? '' : 'os') @@ -3533,8 +3308,7 @@ class ClientInfo extends $pb.GeneratedMessage { 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) @@ -3667,23 +3441,16 @@ 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, + 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, enumValues: ClientConfigSetting.values) - ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', - subBuilder: DisabledCodecs.create) - ..e( - 5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, + ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', subBuilder: DisabledCodecs.create) + ..e(5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) @@ -3693,8 +3460,7 @@ class ClientConfiguration extends $pb.GeneratedMessage { ClientConfiguration clone() => ClientConfiguration()..mergeFromMessage(this); @$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; @@ -3703,11 +3469,10 @@ class ClientConfiguration extends $pb.GeneratedMessage { static ClientConfiguration create() => ClientConfiguration._(); @$core.override ClientConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3780,12 +3545,9 @@ 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, + 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, enumValues: ClientConfigSetting.values) @@ -3795,8 +3557,7 @@ class VideoConfiguration extends $pb.GeneratedMessage { VideoConfiguration clone() => VideoConfiguration()..mergeFromMessage(this); @$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; @@ -3805,11 +3566,10 @@ class VideoConfiguration extends $pb.GeneratedMessage { static VideoConfiguration create() => VideoConfiguration._(); @$core.override VideoConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3838,26 +3598,20 @@ 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) + ..pc(1, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: Codec.create) + ..pc(2, _omitFieldNames ? '' : 'publish', $pb.PbFieldType.PM, subBuilder: Codec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DisabledCodecs clone() => DisabledCodecs()..mergeFromMessage(this); @$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; @@ -3866,11 +3620,9 @@ class DisabledCodecs extends $pb.GeneratedMessage { static DisabledCodecs create() => DisabledCodecs._(); @$core.override DisabledCodecs createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -3912,27 +3664,19 @@ 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) + 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, + ..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) @@ -3954,8 +3698,7 @@ class RTPDrift extends $pb.GeneratedMessage { 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) @@ -4102,11 +3845,9 @@ 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; @@ -4134,16 +3875,12 @@ 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; } @@ -4152,57 +3889,36 @@ 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) + 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>(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, + ..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, 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, + ..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, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>( - 18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) - ..a<$core.int>( - 19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) + ..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) + ..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) ..m<$core.int, $core.int>(24, _omitFieldNames ? '' : 'gapHistogram', entryClassName: 'RTPStats.GapHistogramEntry', keyFieldType: $pb.PbFieldType.O3, @@ -4211,40 +3927,27 @@ class RTPStats extends $pb.GeneratedMessage { ..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) + ..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) + ..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) + ..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, + ..a<$core.int>(38, _omitFieldNames ? '' : 'nackRepeated', $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.') @@ -4262,8 +3965,7 @@ class RTPStats extends $pb.GeneratedMessage { 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) @@ -4716,33 +4418,24 @@ 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) + ..a<$core.int>(1, _omitFieldNames ? '' : 'rtpTimestamp', $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) + ..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() => RTCPSenderReportState()..mergeFromMessage(this); @$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; @@ -4751,11 +4444,10 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { static RTCPSenderReportState create() => RTCPSenderReportState._(); @$core.override RTCPSenderReportState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -4837,16 +4529,13 @@ 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; } @@ -4859,32 +4548,23 @@ 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) + ..a<$core.int>(2, _omitFieldNames ? '' : 'referenceLayerSpatial', $pb.PbFieldType.O3) ..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) + ..pc(8, _omitFieldNames ? '' : 'senderReportState', $pb.PbFieldType.PM, subBuilder: RTCPSenderReportState.create) ..hasRequiredFields = false; @@ -4892,8 +4572,7 @@ class RTPForwarderState extends $pb.GeneratedMessage { RTPForwarderState clone() => RTPForwarderState()..mergeFromMessage(this); @$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; @@ -4902,15 +4581,13 @@ class RTPForwarderState extends $pb.GeneratedMessage { static RTPForwarderState create() => RTPForwarderState._(); @$core.override RTPForwarderState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + RTPForwarderState_CodecMunger whichCodecMunger() => _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; void clearCodecMunger() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4994,13 +4671,10 @@ 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; @@ -5011,25 +4685,18 @@ 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') @@ -5039,8 +4706,7 @@ class RTPMungerState extends $pb.GeneratedMessage { RTPMungerState clone() => RTPMungerState()..mergeFromMessage(this); @$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; @@ -5049,11 +4715,9 @@ class RTPMungerState extends $pb.GeneratedMessage { static RTPMungerState create() => RTPMungerState._(); @$core.override RTPMungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5137,19 +4801,14 @@ 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) + ..a<$core.int>(1, _omitFieldNames ? '' : 'extLastPictureId', $pb.PbFieldType.O3) ..aOB(2, _omitFieldNames ? '' : 'pictureIdUsed') - ..a<$core.int>( - 3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) ..aOB(4, _omitFieldNames ? '' : 'tl0PicIdxUsed') ..aOB(5, _omitFieldNames ? '' : 'tidUsed') ..a<$core.int>(6, _omitFieldNames ? '' : 'lastKeyIdx', $pb.PbFieldType.OU3) @@ -5160,8 +4819,7 @@ class VP8MungerState extends $pb.GeneratedMessage { VP8MungerState clone() => VP8MungerState()..mergeFromMessage(this); @$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; @@ -5170,11 +4828,9 @@ class VP8MungerState extends $pb.GeneratedMessage { static VP8MungerState create() => VP8MungerState._(); @$core.override VP8MungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5257,14 +4913,11 @@ 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) ..hasRequiredFields = false; @@ -5273,8 +4926,7 @@ class TimedVersion extends $pb.GeneratedMessage { TimedVersion clone() => TimedVersion()..mergeFromMessage(this); @$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; @@ -5283,11 +4935,9 @@ class TimedVersion extends $pb.GeneratedMessage { static TimedVersion create() => TimedVersion._(); @$core.override TimedVersion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5322,8 +4972,7 @@ 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; } @@ -5337,12 +4986,9 @@ 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, + 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, enumValues: DataStream_OperationType.values) @@ -5353,13 +4999,10 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader clone() => - DataStream_TextHeader()..mergeFromMessage(this); + DataStream_TextHeader clone() => DataStream_TextHeader()..mergeFromMessage(this); @$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; @@ -5368,11 +5011,10 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { static DataStream_TextHeader create() => DataStream_TextHeader._(); @$core.override DataStream_TextHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5434,21 +5076,16 @@ 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() => DataStream_ByteHeader()..mergeFromMessage(this); @$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; @@ -5457,11 +5094,10 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { static DataStream_ByteHeader create() => DataStream_ByteHeader._(); @$core.override DataStream_ByteHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5484,8 +5120,7 @@ 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, @@ -5512,46 +5147,35 @@ 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) + ..e(7, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, 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); @$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; @@ -5560,15 +5184,13 @@ class DataStream_Header extends $pb.GeneratedMessage { static DataStream_Header create() => DataStream_Header._(); @$core.override DataStream_Header createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + DataStream_Header_ContentHeader whichContentHeader() => _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; void clearContentHeader() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -5681,27 +5303,20 @@ 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<$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<$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); @$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; @@ -5710,11 +5325,10 @@ class DataStream_Chunk extends $pb.GeneratedMessage { static DataStream_Chunk create() => DataStream_Chunk._(); @$core.override DataStream_Chunk createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5789,10 +5403,8 @@ 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', @@ -5806,8 +5418,7 @@ class DataStream_Trailer extends $pb.GeneratedMessage { DataStream_Trailer clone() => DataStream_Trailer()..mergeFromMessage(this); @$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; @@ -5816,11 +5427,10 @@ class DataStream_Trailer extends $pb.GeneratedMessage { static DataStream_Trailer create() => DataStream_Trailer._(); @$core.override DataStream_Trailer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5853,14 +5463,11 @@ 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.') @@ -5878,8 +5485,7 @@ class DataStream extends $pb.GeneratedMessage { 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; } @@ -5899,14 +5505,11 @@ 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') ..hasRequiredFields = false; @@ -5915,8 +5518,7 @@ class WebhookConfig extends $pb.GeneratedMessage { WebhookConfig clone() => WebhookConfig()..mergeFromMessage(this); @$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; @@ -5925,11 +5527,9 @@ class WebhookConfig extends $pb.GeneratedMessage { static WebhookConfig create() => WebhookConfig._(); @$core.override WebhookConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5951,7 +5551,69 @@ class WebhookConfig extends $pb.GeneratedMessage { void clearSigningKey() => $_clearField(2); } -const $core.bool _omitFieldNames = - $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = - $core.bool.fromEnvironment('protobuf.omit_message_names'); +class SubscribedAudioCodec extends $pb.GeneratedMessage { + factory SubscribedAudioCodec({ + $core.String? codec, + $core.bool? enabled, + }) { + final result = create(); + if (codec != null) result.codec = codec; + if (enabled != null) result.enabled = enabled; + return result; + } + + SubscribedAudioCodec._(); + + factory SubscribedAudioCodec.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscribedAudioCodec.fromJson($core.String json, + [$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) + ..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); + @$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; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + 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? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get codec => $_getSZ(0); + @$pb.TagNumber(1) + set codec($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasCodec() => $_has(0); + @$pb.TagNumber(1) + void clearCodec() => $_clearField(1); + + @$pb.TagNumber(2) + $core.bool get enabled => $_getBF(1); + @$pb.TagNumber(2) + set enabled($core.bool value) => $_setBool(1, value); + @$pb.TagNumber(2) + $core.bool hasEnabled() => $_has(1); + @$pb.TagNumber(2) + 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'); diff --git a/lib/src/proto/livekit_models.pbenum.dart b/lib/src/proto/livekit_models.pbenum.dart index 06508c400..469e1149b 100644 --- a/lib/src/proto/livekit_models.pbenum.dart +++ b/lib/src/proto/livekit_models.pbenum.dart @@ -15,34 +15,29 @@ 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 $core.List values = [ DEFAULT_AC, OPUS, AAC, + AC_MP3, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - 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 = [ @@ -53,29 +48,23 @@ 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); } @@ -84,16 +73,13 @@ 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, @@ -101,10 +87,8 @@ 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); } @@ -120,25 +104,18 @@ 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, @@ -148,23 +125,17 @@ 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 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, @@ -173,23 +144,17 @@ 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, @@ -198,21 +163,16 @@ 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, @@ -220,8 +180,7 @@ 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]; @@ -229,68 +188,53 @@ 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, @@ -311,25 +255,20 @@ 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, @@ -339,21 +278,17 @@ 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, @@ -361,19 +296,15 @@ 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 = @@ -381,8 +312,7 @@ 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'); @@ -396,41 +326,33 @@ 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]; @@ -439,24 +361,19 @@ 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'); static const $core.List values = [ STANDARD, @@ -466,8 +383,7 @@ class ParticipantInfo_Kind extends $pb.ProtobufEnum { AGENT, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 4); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); static ParticipantInfo_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -480,14 +396,12 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { static const ParticipantInfo_KindDetail FORWARDED = ParticipantInfo_KindDetail._(1, _omitEnumNames ? '' : 'FORWARDED'); - static const $core.List values = - [ + static const $core.List values = [ CLOUD_AGENT, FORWARDED, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); static ParticipantInfo_KindDetail? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -495,12 +409,9 @@ 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, @@ -508,106 +419,80 @@ 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'); static const $core.List values = [ MODE_UNUSED, ONE_SPATIAL_LAYER_PER_STREAM, MULTIPLE_SPATIAL_LAYERS_PER_STREAM, + ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - 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, @@ -627,40 +512,31 @@ 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 4a1b87a19..0b7bd06ea 100644 --- a/lib/src/proto/livekit_models.pbjson.dart +++ b/lib/src/proto/livekit_models.pbjson.dart @@ -21,12 +21,14 @@ const AudioCodec$json = { {'1': 'DEFAULT_AC', '2': 0}, {'1': 'OPUS', '2': 1}, {'1': 'AAC', '2': 2}, + {'1': 'AC_MP3', '2': 3}, ], }; /// Descriptor for `AudioCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioCodecDescriptor = $convert.base64Decode( - 'CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAI='); +final $typed_data.Uint8List audioCodecDescriptor = + $convert.base64Decode('CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' + 'AzEAM='); @$core.Deprecated('Use videoCodecDescriptor instead') const VideoCodec$json = { @@ -41,9 +43,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 = { @@ -55,8 +57,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 = { @@ -69,9 +71,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 = { @@ -84,8 +86,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 = { @@ -100,9 +102,9 @@ 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 videoQualityDescriptor instead') const VideoQuality$json = { @@ -116,8 +118,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 = { @@ -131,9 +133,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 = { @@ -146,9 +148,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 = { @@ -174,14 +176,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 = { @@ -196,10 +198,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 = { @@ -212,9 +214,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 = { @@ -231,11 +233,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 = { @@ -247,9 +249,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 = { @@ -260,8 +262,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 = { @@ -269,15 +271,15 @@ const ListUpdate$json = { '2': [ {'1': 'set', '3': 1, '4': 3, '5': 9, '10': 'set'}, {'1': 'add', '3': 2, '4': 3, '5': 9, '10': 'add'}, - {'1': 'del', '3': 3, '4': 3, '5': 9, '10': 'del'}, + {'1': 'remove', '3': 3, '4': 3, '5': 9, '10': 'remove'}, {'1': 'clear', '3': 4, '4': 1, '5': 8, '10': 'clear'}, ], }; /// Descriptor for `ListUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listUpdateDescriptor = $convert.base64Decode( - 'CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhAKA2RlbB' - 'gDIAMoCVIDZGVsEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); +final $typed_data.Uint8List listUpdateDescriptor = + $convert.base64Decode('CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' + '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); @$core.Deprecated('Use roomDescriptor instead') const Room$json = { @@ -286,52 +288,32 @@ 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': 'enabled_codecs', '3': 7, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledCodecs'}, {'1': 'metadata', '3': 8, '4': 1, '5': 9, '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' + 'ZENvZGVjcxIaCghtZXRhZGF0YRgIIAEoCVIIbWV0YWRhdGESKQoQbnVtX3BhcnRpY2lwYW50cx' + 'gJIAEoDVIPbnVtUGFydGljaXBhbnRzEiUKDm51bV9wdWJsaXNoZXJzGAsgASgNUg1udW1QdWJs' + 'aXNoZXJzEikKEGFjdGl2ZV9yZWNvcmRpbmcYCiABKAhSD2FjdGl2ZVJlY29yZGluZxIvCgd2ZX' + 'JzaW9uGA0gASgLMhUubGl2ZWtpdC5UaW1lZFZlcnNpb25SB3ZlcnNpb24='); @$core.Deprecated('Use codecDescriptor instead') const Codec$json = { @@ -343,9 +325,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 = { @@ -358,9 +340,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 = { @@ -369,14 +351,7 @@ 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', @@ -386,13 +361,7 @@ 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, @@ -401,25 +370,19 @@ 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 = { @@ -427,76 +390,23 @@ 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': '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': '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': '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', '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'}, ], '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') @@ -542,24 +452,24 @@ const ParticipantInfo_KindDetail$json = { }; /// 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' + 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSGgoIbW' + 'V0YWRhdGEYBSABKAlSCG1ldGFkYXRhEhsKCWpvaW5lZF9hdBgGIAEoA1IIam9pbmVkQXQSIAoM' + 'am9pbmVkX2F0X21zGBEgASgDUgpqb2luZWRBdE1zEhIKBG5hbWUYCSABKAlSBG5hbWUSGAoHdm' + 'Vyc2lvbhgKIAEoDVIHdmVyc2lvbhI+CgpwZXJtaXNzaW9uGAsgASgLMh4ubGl2ZWtpdC5QYXJ0' + 'aWNpcGFudFBlcm1pc3Npb25SCnBlcm1pc3Npb24SFgoGcmVnaW9uGAwgASgJUgZyZWdpb24SIQ' + 'oMaXNfcHVibGlzaGVyGA0gASgIUgtpc1B1Ymxpc2hlchIxCgRraW5kGA4gASgOMh0ubGl2ZWtp' + 'dC5QYXJ0aWNpcGFudEluZm8uS2luZFIEa2luZBJICgphdHRyaWJ1dGVzGA8gAygLMigubGl2ZW' + 'tpdC5QYXJ0aWNpcGFudEluZm8uQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEkYKEWRpc2Nv' + 'bm5lY3RfcmVhc29uGBAgASgOMhkubGl2ZWtpdC5EaXNjb25uZWN0UmVhc29uUhBkaXNjb25uZW' + 'N0UmVhc29uEkYKDGtpbmRfZGV0YWlscxgSIAMoDjIjLmxpdmVraXQuUGFydGljaXBhbnRJbmZv' + 'LktpbmREZXRhaWxSC2tpbmREZXRhaWxzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKA' + 'lSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBIj4KBVN0YXRlEgsKB0pPSU5JTkcQABIK' + 'CgZKT0lORUQQARIKCgZBQ1RJVkUQAhIQCgxESVNDT05ORUNURUQQAyJBCgRLaW5kEgwKCFNUQU' + '5EQVJEEAASCwoHSU5HUkVTUxABEgoKBkVHUkVTUxACEgcKA1NJUBADEgkKBUFHRU5UEAQiLAoK' + 'S2luZERldGFpbBIPCgtDTE9VRF9BR0VOVBAAEg0KCUZPUldBUkRFRBAB'); @$core.Deprecated('Use encryptionDescriptor instead') const Encryption$json = { @@ -578,8 +488,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 = { @@ -588,47 +498,26 @@ 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': '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'}, { @@ -663,14 +552,7 @@ 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, @@ -682,14 +564,7 @@ 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, @@ -699,31 +574,10 @@ 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, @@ -736,34 +590,27 @@ 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' + 'JhY2tUeXBlUgR0eXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSFAoFbXV0ZWQYBCABKAhSBW11dGVk' + 'EhgKBXdpZHRoGAUgASgNQgIYAVIFd2lkdGgSGgoGaGVpZ2h0GAYgASgNQgIYAVIGaGVpZ2h0Ei' + 'AKCXNpbXVsY2FzdBgHIAEoCEICGAFSCXNpbXVsY2FzdBIjCgtkaXNhYmxlX2R0eBgIIAEoCEIC' + 'GAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAkgASgOMhQubGl2ZWtpdC5UcmFja1NvdXJjZVIGc2' + '91cmNlEi8KBmxheWVycxgKIAMoCzITLmxpdmVraXQuVmlkZW9MYXllckICGAFSBmxheWVycxIb' + 'CgltaW1lX3R5cGUYCyABKAlSCG1pbWVUeXBlEhAKA21pZBgMIAEoCVIDbWlkEjMKBmNvZGVjcx' + 'gNIAMoCzIbLmxpdmVraXQuU2ltdWxjYXN0Q29kZWNJbmZvUgZjb2RlY3MSGgoGc3RlcmVvGA4g' + 'ASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA8gASgIUgpkaXNhYmxlUmVkEjgKCmVuY3' + 'J5cHRpb24YECABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCgZz' + 'dHJlYW0YESABKAlSBnN0cmVhbRIvCgd2ZXJzaW9uGBIgASgLMhUubGl2ZWtpdC5UaW1lZFZlcn' + 'Npb25SB3ZlcnNpb24SQQoOYXVkaW9fZmVhdHVyZXMYEyADKA4yGi5saXZla2l0LkF1ZGlvVHJh' + 'Y2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVzEkoKE2JhY2t1cF9jb2RlY19wb2xpY3kYFCABKA4yGi' + '5saXZla2l0LkJhY2t1cENvZGVjUG9saWN5UhFiYWNrdXBDb2RlY1BvbGljeQ=='); @$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'}, @@ -781,17 +628,19 @@ const VideoLayer_Mode$json = { {'1': 'MODE_UNUSED', '2': 0}, {'1': 'ONE_SPATIAL_LAYER_PER_STREAM', '2': 1}, {'1': 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM', '2': 2}, + {'1': 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR', '2': 3}, ], }; /// Descriptor for `VideoLayer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoLayerDescriptor = $convert.base64Decode( - 'CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' - 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' - 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' - 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCJhCgRNb2RlEg8KC01P' - 'REVfVU5VU0VEEAASIAocT05FX1NQQVRJQUxfTEFZRVJfUEVSX1NUUkVBTRABEiYKIk1VTFRJUE' - 'xFX1NQQVRJQUxfTEFZRVJTX1BFUl9TVFJFQU0QAg=='); +final $typed_data.Uint8List videoLayerDescriptor = + $convert.base64Decode('CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' + 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' + 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' + 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCKWAQoETW9kZRIPCgtN' + 'T0RFX1VOVVNFRBAAEiAKHE9ORV9TUEFUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSV' + 'BMRV9TUEFUSUFMX0xBWUVSU19QRVJfU1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVS' + 'X1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1BfU1IQAw=='); @$core.Deprecated('Use dataPacketDescriptor instead') const DataPacket$json = { @@ -806,29 +655,9 @@ 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, @@ -839,87 +668,15 @@ 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, @@ -957,39 +714,32 @@ 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'}, @@ -997,88 +747,24 @@ 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'}, @@ -1086,37 +772,30 @@ 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 = { @@ -1129,9 +808,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 = { @@ -1172,24 +851,8 @@ 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': [ @@ -1201,15 +864,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 = { @@ -1221,38 +884,25 @@ 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 = { @@ -1268,11 +918,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 = { @@ -1280,15 +930,7 @@ 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'}, @@ -1299,11 +941,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 = { @@ -1312,22 +954,16 @@ 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 = { @@ -1338,8 +974,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 = { @@ -1347,15 +983,7 @@ 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'}, @@ -1363,10 +991,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 = { @@ -1379,9 +1007,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 = { @@ -1393,22 +1021,15 @@ 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'}, @@ -1429,25 +1050,18 @@ 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'}, @@ -1485,142 +1099,72 @@ 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'}, @@ -1632,35 +1176,21 @@ 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'}, @@ -1669,152 +1199,41 @@ 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], }; @@ -1830,43 +1249,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 = { @@ -1883,57 +1302,24 @@ 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, @@ -1949,80 +1335,44 @@ 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'}, @@ -2033,13 +1383,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 = { @@ -2051,9 +1401,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 = { @@ -2072,29 +1422,10 @@ 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'}, ], }; @@ -2115,15 +1446,7 @@ 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, @@ -2133,32 +1456,9 @@ 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': [ @@ -2241,30 +1541,30 @@ 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 webhookConfigDescriptor instead') const WebhookConfig$json = { @@ -2276,6 +1576,20 @@ const WebhookConfig$json = { }; /// 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' + 'pzaWduaW5nS2V5'); + +@$core.Deprecated('Use subscribedAudioCodecDescriptor instead') +const SubscribedAudioCodec$json = { + '1': 'SubscribedAudioCodec', + '2': [ + {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, + {'1': 'enabled', '3': 2, '4': 1, '5': 8, '10': 'enabled'}, + ], +}; + +/// Descriptor for `SubscribedAudioCodec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List subscribedAudioCodecDescriptor = + $convert.base64Decode('ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' + 'gCIAEoCFIHZW5hYmxlZA=='); diff --git a/lib/src/proto/livekit_models.pbserver.dart b/lib/src/proto/livekit_models.pbserver.dart deleted file mode 100644 index 6bb6f6edf..000000000 --- a/lib/src/proto/livekit_models.pbserver.dart +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated code. Do not modify. -// source: livekit_models.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names -// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -export 'livekit_models.pb.dart'; diff --git a/lib/src/proto/livekit_rtc.pb.dart b/lib/src/proto/livekit_rtc.pb.dart index c100732de..40049d6e1 100644 --- a/lib/src/proto/livekit_rtc.pb.dart +++ b/lib/src/proto/livekit_rtc.pb.dart @@ -53,8 +53,7 @@ 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, @@ -74,8 +73,7 @@ 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; @@ -91,12 +89,10 @@ 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, @@ -116,39 +112,24 @@ class SignalRequest extends $pb.GeneratedMessage { 18: SignalRequest_Message.updateVideoTrack, 0: SignalRequest_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SignalRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + 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', + ..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', @@ -161,8 +142,7 @@ class SignalRequest extends $pb.GeneratedMessage { SignalRequest clone() => SignalRequest()..mergeFromMessage(this); @$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; @@ -171,15 +151,12 @@ class SignalRequest extends $pb.GeneratedMessage { static SignalRequest create() => SignalRequest._(); @$core.override SignalRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + SignalRequest_Message whichMessage() => _SignalRequest_MessageByTag[$_whichOneof(0)]!; void clearMessage() => $_clearField($_whichOneof(0)); /// participant offer for publisher @@ -297,8 +274,7 @@ 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) @@ -414,6 +390,7 @@ enum SignalResponse_Message { trackSubscribed, roomMoved, mediaSectionsRequirement, + subscribedAudioCodecUpdate, notSet } @@ -443,6 +420,7 @@ class SignalResponse extends $pb.GeneratedMessage { TrackSubscribed? trackSubscribed, RoomMovedResponse? roomMoved, MediaSectionsRequirement? mediaSectionsRequirement, + SubscribedAudioCodecUpdate? subscribedAudioCodecUpdate, }) { final result = create(); if (join != null) result.join = join; @@ -457,22 +435,19 @@ 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 (mediaSectionsRequirement != null) result.mediaSectionsRequirement = mediaSectionsRequirement; + if (subscribedAudioCodecUpdate != null) result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; return result; } @@ -481,12 +456,10 @@ 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, @@ -511,97 +484,51 @@ class SignalResponse extends $pb.GeneratedMessage { 23: SignalResponse_Message.trackSubscribed, 24: SignalResponse_Message.roomMoved, 25: SignalResponse_Message.mediaSectionsRequirement, + 26: SignalResponse_Message.subscribedAudioCodecUpdate, 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 - ]) - ..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]) + ..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', + subBuilder: SubscribedAudioCodecUpdate.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalResponse clone() => SignalResponse()..mergeFromMessage(this); @$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; @@ -610,15 +537,12 @@ class SignalResponse extends $pb.GeneratedMessage { static SignalResponse create() => SignalResponse._(); @$core.override SignalResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + SignalResponse_Message whichMessage() => _SignalResponse_MessageByTag[$_whichOneof(0)]!; void clearMessage() => $_clearField($_whichOneof(0)); /// sent when join is accepted @@ -770,8 +694,7 @@ 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) @@ -783,15 +706,13 @@ 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) @@ -901,14 +822,25 @@ 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) void clearMediaSectionsRequirement() => $_clearField(25); @$pb.TagNumber(25) MediaSectionsRequirement ensureMediaSectionsRequirement() => $_ensure(23); + + /// when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions + @$pb.TagNumber(26) + SubscribedAudioCodecUpdate get subscribedAudioCodecUpdate => $_getN(24); + @$pb.TagNumber(26) + 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); } class SimulcastCodec extends $pb.GeneratedMessage { @@ -931,20 +863,15 @@ 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, + ..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) @@ -954,8 +881,7 @@ class SimulcastCodec extends $pb.GeneratedMessage { SimulcastCodec clone() => SimulcastCodec()..mergeFromMessage(this); @$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; @@ -964,11 +890,9 @@ class SimulcastCodec extends $pb.GeneratedMessage { static SimulcastCodec create() => SimulcastCodec._(); @$core.override SimulcastCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1048,49 +972,37 @@ 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) + 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) ..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, + 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, 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, + ..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) ..aOS(15, _omitFieldNames ? '' : 'stream') - ..e<$2.BackupCodecPolicy>( - 16, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, + ..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, + ..pc<$2.AudioTrackFeature>(17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, valueOf: $2.AudioTrackFeature.valueOf, enumValues: $2.AudioTrackFeature.values, defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) @@ -1100,8 +1012,7 @@ class AddTrackRequest extends $pb.GeneratedMessage { AddTrackRequest clone() => AddTrackRequest()..mergeFromMessage(this); @$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; @@ -1110,11 +1021,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { static AddTrackRequest create() => AddTrackRequest._(); @$core.override AddTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -1286,19 +1196,14 @@ 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) + defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) ..aOB(3, _omitFieldNames ? '' : 'final') ..hasRequiredFields = false; @@ -1306,8 +1211,7 @@ class TrickleRequest extends $pb.GeneratedMessage { TrickleRequest clone() => TrickleRequest()..mergeFromMessage(this); @$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; @@ -1316,11 +1220,9 @@ class TrickleRequest extends $pb.GeneratedMessage { static TrickleRequest create() => TrickleRequest._(); @$core.override TrickleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1371,10 +1273,8 @@ 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; @@ -1383,8 +1283,7 @@ class MuteTrackRequest extends $pb.GeneratedMessage { MuteTrackRequest clone() => MuteTrackRequest()..mergeFromMessage(this); @$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; @@ -1393,11 +1292,10 @@ class MuteTrackRequest extends $pb.GeneratedMessage { static MuteTrackRequest create() => MuteTrackRequest._(); @$core.override MuteTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1440,21 +1338,18 @@ class JoinResponse extends $pb.GeneratedMessage { 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; } @@ -1464,39 +1359,27 @@ 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) + 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, + ..aOM<$2.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) + ..pc<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..aOS(4, _omitFieldNames ? '' : 'serverVersion') - ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, - subBuilder: ICEServer.create) + ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) ..aOB(6, _omitFieldNames ? '' : 'subscriberPrimary') ..aOS(7, _omitFieldNames ? '' : 'alternativeUrl') - ..aOM<$2.ClientConfiguration>( - 8, _omitFieldNames ? '' : 'clientConfiguration', + ..aOM<$2.ClientConfiguration>(8, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $2.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) + ..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) ..aOB(15, _omitFieldNames ? '' : 'fastPublish') ..hasRequiredFields = false; @@ -1504,8 +1387,7 @@ class JoinResponse extends $pb.GeneratedMessage { JoinResponse clone() => JoinResponse()..mergeFromMessage(this); @$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; @@ -1514,11 +1396,9 @@ class JoinResponse extends $pb.GeneratedMessage { static JoinResponse create() => JoinResponse._(); @$core.override JoinResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1663,8 +1543,7 @@ class ReconnectResponse extends $pb.GeneratedMessage { }) { 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; @@ -1679,27 +1558,20 @@ 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', + 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) + ..aOM<$2.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'lastMessageSeq', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ReconnectResponse clone() => ReconnectResponse()..mergeFromMessage(this); @$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; @@ -1708,11 +1580,10 @@ class ReconnectResponse extends $pb.GeneratedMessage { static ReconnectResponse create() => ReconnectResponse._(); @$core.override ReconnectResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1771,23 +1642,17 @@ 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<$2.TrackInfo>(2, _omitFieldNames ? '' : 'track', subBuilder: $2.TrackInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse clone() => - TrackPublishedResponse()..mergeFromMessage(this); + TrackPublishedResponse clone() => TrackPublishedResponse()..mergeFromMessage(this); @$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; @@ -1796,11 +1661,10 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { static TrackPublishedResponse create() => TrackPublishedResponse._(); @$core.override TrackPublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1842,21 +1706,16 @@ 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() => TrackUnpublishedResponse()..mergeFromMessage(this); @$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; @@ -1865,11 +1724,10 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { static TrackUnpublishedResponse create() => TrackUnpublishedResponse._(); @$core.override TrackUnpublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1904,10 +1762,8 @@ 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) @@ -1917,8 +1773,7 @@ class SessionDescription extends $pb.GeneratedMessage { SessionDescription clone() => SessionDescription()..mergeFromMessage(this); @$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; @@ -1927,11 +1782,10 @@ class SessionDescription extends $pb.GeneratedMessage { static SessionDescription create() => SessionDescription._(); @$core.override SessionDescription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -1980,12 +1834,9 @@ 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, + 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) ..hasRequiredFields = false; @@ -1993,8 +1844,7 @@ class ParticipantUpdate extends $pb.GeneratedMessage { ParticipantUpdate clone() => ParticipantUpdate()..mergeFromMessage(this); @$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; @@ -2003,11 +1853,10 @@ class ParticipantUpdate extends $pb.GeneratedMessage { static ParticipantUpdate create() => ParticipantUpdate._(); @$core.override ParticipantUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2023,8 +1872,7 @@ class UpdateSubscription extends $pb.GeneratedMessage { 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; } @@ -2037,14 +1885,11 @@ 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, + ..pc<$2.ParticipantTracks>(3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, subBuilder: $2.ParticipantTracks.create) ..hasRequiredFields = false; @@ -2052,8 +1897,7 @@ class UpdateSubscription extends $pb.GeneratedMessage { UpdateSubscription clone() => UpdateSubscription()..mergeFromMessage(this); @$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; @@ -2062,11 +1906,10 @@ class UpdateSubscription extends $pb.GeneratedMessage { static UpdateSubscription create() => UpdateSubscription._(); @$core.override UpdateSubscription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2115,17 +1958,12 @@ 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) + ..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) @@ -2136,8 +1974,7 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { UpdateTrackSettings clone() => UpdateTrackSettings()..mergeFromMessage(this); @$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; @@ -2146,11 +1983,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { static UpdateTrackSettings create() => UpdateTrackSettings._(); @$core.override UpdateTrackSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2242,26 +2078,20 @@ 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, + ..pc<$2.AudioTrackFeature>(2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, valueOf: $2.AudioTrackFeature.valueOf, enumValues: $2.AudioTrackFeature.values, defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack clone() => - UpdateLocalAudioTrack()..mergeFromMessage(this); + UpdateLocalAudioTrack clone() => UpdateLocalAudioTrack()..mergeFromMessage(this); @$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; @@ -2270,11 +2100,10 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { static UpdateLocalAudioTrack create() => UpdateLocalAudioTrack._(); @$core.override UpdateLocalAudioTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2312,23 +2141,18 @@ 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) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack clone() => - UpdateLocalVideoTrack()..mergeFromMessage(this); + UpdateLocalVideoTrack clone() => UpdateLocalVideoTrack()..mergeFromMessage(this); @$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; @@ -2337,11 +2161,10 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { static UpdateLocalVideoTrack create() => UpdateLocalVideoTrack._(); @$core.override UpdateLocalVideoTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2392,35 +2215,28 @@ 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, + ..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, + ..e(3, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE, defaultOrMaker: LeaveRequest_Action.DISCONNECT, valueOf: LeaveRequest_Action.valueOf, 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); @$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; @@ -2429,11 +2245,9 @@ class LeaveRequest extends $pb.GeneratedMessage { static LeaveRequest create() => LeaveRequest._(); @$core.override LeaveRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -2500,21 +2314,17 @@ 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) + ..pc<$2.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateVideoLayers clone() => UpdateVideoLayers()..mergeFromMessage(this); @$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; @@ -2523,11 +2333,10 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { static UpdateVideoLayers create() => UpdateVideoLayers._(); @$core.override UpdateVideoLayers createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2567,10 +2376,8 @@ 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', @@ -2582,13 +2389,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata clone() => - UpdateParticipantMetadata()..mergeFromMessage(this); + UpdateParticipantMetadata clone() => UpdateParticipantMetadata()..mergeFromMessage(this); @$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; @@ -2597,11 +2401,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { static UpdateParticipantMetadata create() => UpdateParticipantMetadata._(); @$core.override UpdateParticipantMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2655,14 +2458,11 @@ 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') @@ -2683,8 +2483,7 @@ class ICEServer extends $pb.GeneratedMessage { 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) @@ -2723,25 +2522,19 @@ 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) + ..pc<$2.SpeakerInfo>(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: $2.SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakersChanged clone() => SpeakersChanged()..mergeFromMessage(this); @$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; @@ -2750,11 +2543,10 @@ class SpeakersChanged extends $pb.GeneratedMessage { static SpeakersChanged create() => SpeakersChanged._(); @$core.override SpeakersChanged createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2775,14 +2567,11 @@ 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) + 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) ..hasRequiredFields = false; @@ -2801,8 +2590,7 @@ class RoomUpdate extends $pb.GeneratedMessage { 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) @@ -2839,13 +2627,10 @@ 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, + ..e<$2.ConnectionQuality>(2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, defaultOrMaker: $2.ConnectionQuality.POOR, valueOf: $2.ConnectionQuality.valueOf, enumValues: $2.ConnectionQuality.values) @@ -2853,13 +2638,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo clone() => - ConnectionQualityInfo()..mergeFromMessage(this); + ConnectionQualityInfo clone() => ConnectionQualityInfo()..mergeFromMessage(this); @$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; @@ -2868,11 +2650,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { static ConnectionQualityInfo create() => ConnectionQualityInfo._(); @$core.override ConnectionQualityInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2921,23 +2702,17 @@ 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) + ..pc(1, _omitFieldNames ? '' : 'updates', $pb.PbFieldType.PM, subBuilder: ConnectionQualityInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate clone() => - ConnectionQualityUpdate()..mergeFromMessage(this); + ConnectionQualityUpdate clone() => ConnectionQualityUpdate()..mergeFromMessage(this); @$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; @@ -2946,11 +2721,10 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { static ConnectionQualityUpdate create() => ConnectionQualityUpdate._(); @$core.override ConnectionQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -2975,28 +2749,22 @@ 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) + defaultOrMaker: StreamState.ACTIVE, valueOf: StreamState.valueOf, enumValues: StreamState.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateInfo clone() => StreamStateInfo()..mergeFromMessage(this); @$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; @@ -3005,11 +2773,10 @@ class StreamStateInfo extends $pb.GeneratedMessage { static StreamStateInfo create() => StreamStateInfo._(); @$core.override StreamStateInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3058,12 +2825,9 @@ 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) + ..pc(1, _omitFieldNames ? '' : 'streamStates', $pb.PbFieldType.PM, subBuilder: StreamStateInfo.create) ..hasRequiredFields = false; @@ -3071,8 +2835,7 @@ class StreamStateUpdate extends $pb.GeneratedMessage { StreamStateUpdate clone() => StreamStateUpdate()..mergeFromMessage(this); @$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; @@ -3081,11 +2844,10 @@ class StreamStateUpdate extends $pb.GeneratedMessage { static StreamStateUpdate create() => StreamStateUpdate._(); @$core.override StreamStateUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3112,15 +2874,10 @@ 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) + ..e<$2.VideoQuality>(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @@ -3128,8 +2885,7 @@ class SubscribedQuality extends $pb.GeneratedMessage { SubscribedQuality clone() => SubscribedQuality()..mergeFromMessage(this); @$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; @@ -3138,11 +2894,10 @@ class SubscribedQuality extends $pb.GeneratedMessage { static SubscribedQuality create() => SubscribedQuality._(); @$core.override SubscribedQuality createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3180,17 +2935,13 @@ 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, + ..pc(2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, subBuilder: SubscribedQuality.create) ..hasRequiredFields = false; @@ -3198,8 +2949,7 @@ class SubscribedCodec extends $pb.GeneratedMessage { SubscribedCodec clone() => SubscribedCodec()..mergeFromMessage(this); @$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; @@ -3208,11 +2958,10 @@ class SubscribedCodec extends $pb.GeneratedMessage { static SubscribedCodec create() => SubscribedCodec._(); @$core.override SubscribedCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3231,16 +2980,13 @@ 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; } @@ -3253,27 +2999,20 @@ 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, + ..pc(2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, subBuilder: SubscribedQuality.create) - ..pc( - 3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, + ..pc(3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, subBuilder: SubscribedCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate clone() => - SubscribedQualityUpdate()..mergeFromMessage(this); + SubscribedQualityUpdate clone() => SubscribedQualityUpdate()..mergeFromMessage(this); @$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; @@ -3282,11 +3021,10 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { static SubscribedQualityUpdate create() => SubscribedQualityUpdate._(); @$core.override SubscribedQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3306,6 +3044,65 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { $pb.PbList get subscribedCodecs => $_getList(2); } +class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { + factory SubscribedAudioCodecUpdate({ + $core.String? trackSid, + $core.Iterable<$2.SubscribedAudioCodec>? subscribedAudioCodecs, + }) { + final result = create(); + if (trackSid != null) result.trackSid = trackSid; + if (subscribedAudioCodecs != null) result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); + return result; + } + + SubscribedAudioCodecUpdate._(); + + factory SubscribedAudioCodecUpdate.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(data, registry); + factory SubscribedAudioCodecUpdate.fromJson($core.String json, + [$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) + ..aOS(1, _omitFieldNames ? '' : 'trackSid') + ..pc<$2.SubscribedAudioCodec>(2, _omitFieldNames ? '' : 'subscribedAudioCodecs', $pb.PbFieldType.PM, + subBuilder: $2.SubscribedAudioCodec.create) + ..hasRequiredFields = false; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + SubscribedAudioCodecUpdate clone() => SubscribedAudioCodecUpdate()..mergeFromMessage(this); + @$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; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + 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? _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) + $pb.PbList<$2.SubscribedAudioCodec> get subscribedAudioCodecs => $_getList(1); +} + class TrackPermission extends $pb.GeneratedMessage { factory TrackPermission({ $core.String? participantSid, @@ -3317,8 +3114,7 @@ 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; } @@ -3327,14 +3123,11 @@ 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') @@ -3345,8 +3138,7 @@ class TrackPermission extends $pb.GeneratedMessage { TrackPermission clone() => TrackPermission()..mergeFromMessage(this); @$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; @@ -3355,11 +3147,10 @@ class TrackPermission extends $pb.GeneratedMessage { static TrackPermission create() => TrackPermission._(); @$core.override TrackPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -3401,8 +3192,7 @@ 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; } @@ -3415,24 +3205,18 @@ 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, + ..pc(2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, subBuilder: TrackPermission.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission clone() => - SubscriptionPermission()..mergeFromMessage(this); + SubscriptionPermission clone() => SubscriptionPermission()..mergeFromMessage(this); @$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; @@ -3441,11 +3225,10 @@ class SubscriptionPermission extends $pb.GeneratedMessage { static SubscriptionPermission create() => SubscriptionPermission._(); @$core.override SubscriptionPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3483,38 +3266,30 @@ 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() => SubscriptionPermissionUpdate()..mergeFromMessage(this); @$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(); + 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) @@ -3556,8 +3331,7 @@ class RoomMovedResponse extends $pb.GeneratedMessage { 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; } @@ -3570,16 +3344,12 @@ 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) + 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) ..aOS(2, _omitFieldNames ? '' : 'token') - ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', - subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>( - 4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, + ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) + ..pc<$2.ParticipantInfo>(4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..hasRequiredFields = false; @@ -3587,8 +3357,7 @@ class RoomMovedResponse extends $pb.GeneratedMessage { RoomMovedResponse clone() => RoomMovedResponse()..mergeFromMessage(this); @$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; @@ -3597,11 +3366,10 @@ class RoomMovedResponse extends $pb.GeneratedMessage { static RoomMovedResponse create() => RoomMovedResponse._(); @$core.override RoomMovedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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 @@ -3657,10 +3425,8 @@ 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); return result; } @@ -3669,29 +3435,20 @@ 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) + ..pc(3, _omitFieldNames ? '' : 'publishTracks', $pb.PbFieldType.PM, subBuilder: TrackPublishedResponse.create) - ..pc( - 4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, + ..pc(4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, 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, + ..pc(7, _omitFieldNames ? '' : 'datachannelReceiveStates', $pb.PbFieldType.PM, subBuilder: DataChannelReceiveState.create) ..hasRequiredFields = false; @@ -3710,8 +3467,7 @@ class SyncState extends $pb.GeneratedMessage { 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 @@ -3763,8 +3519,7 @@ 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); } class DataChannelReceiveState extends $pb.GeneratedMessage { @@ -3787,22 +3542,17 @@ 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) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState clone() => - DataChannelReceiveState()..mergeFromMessage(this); + DataChannelReceiveState clone() => DataChannelReceiveState()..mergeFromMessage(this); @$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; @@ -3811,11 +3561,10 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { static DataChannelReceiveState create() => DataChannelReceiveState._(); @$core.override DataChannelReceiveState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3855,28 +3604,22 @@ 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) + defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataChannelInfo clone() => DataChannelInfo()..mergeFromMessage(this); @$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; @@ -3885,11 +3628,10 @@ class DataChannelInfo extends $pb.GeneratedMessage { static DataChannelInfo create() => DataChannelInfo._(); @$core.override DataChannelInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -3950,17 +3692,12 @@ 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; } @@ -3973,8 +3710,7 @@ 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, @@ -3986,21 +3722,15 @@ 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) + ..a<$core.int>(1, _omitFieldNames ? '' : 'speakerUpdate', $pb.PbFieldType.O3) ..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) + ..e(5, _omitFieldNames ? '' : 'switchCandidateProtocol', $pb.PbFieldType.OE, + defaultOrMaker: CandidateProtocol.UDP, valueOf: CandidateProtocol.valueOf, enumValues: CandidateProtocol.values) ..aInt64(6, _omitFieldNames ? '' : 'subscriberBandwidth') ..aOB(7, _omitFieldNames ? '' : 'disconnectSignalOnResume') ..aOB(8, _omitFieldNames ? '' : 'disconnectSignalOnResumeNoMessages') @@ -4011,8 +3741,7 @@ class SimulateScenario extends $pb.GeneratedMessage { SimulateScenario clone() => SimulateScenario()..mergeFromMessage(this); @$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; @@ -4021,15 +3750,13 @@ class SimulateScenario extends $pb.GeneratedMessage { static SimulateScenario create() => SimulateScenario._(); @$core.override SimulateScenario createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + SimulateScenario_Scenario whichScenario() => _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; void clearScenario() => $_clearField($_whichOneof(0)); /// simulate N seconds of speaker activity @@ -4107,8 +3834,7 @@ 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) @@ -4138,17 +3864,13 @@ 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; @@ -4156,8 +3878,7 @@ class Ping extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Ping clone() => Ping()..mergeFromMessage(this); @$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; @@ -4168,8 +3889,7 @@ class Ping extends $pb.GeneratedMessage { 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) @@ -4205,17 +3925,13 @@ 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; @@ -4223,8 +3939,7 @@ class Pong extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pong clone() => Pong()..mergeFromMessage(this); @$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; @@ -4235,8 +3950,7 @@ class Pong extends $pb.GeneratedMessage { 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 @@ -4273,24 +3987,19 @@ 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) + ..pc(1, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.PM, subBuilder: RegionInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionSettings clone() => RegionSettings()..mergeFromMessage(this); @$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; @@ -4299,11 +4008,9 @@ class RegionSettings extends $pb.GeneratedMessage { static RegionSettings create() => RegionSettings._(); @$core.override RegionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -4328,14 +4035,11 @@ 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') @@ -4356,8 +4060,7 @@ class RegionInfo extends $pb.GeneratedMessage { 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) @@ -4408,25 +4111,20 @@ 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, + ..e<$2.SubscriptionError>(2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, defaultOrMaker: $2.SubscriptionError.SE_UNKNOWN, valueOf: $2.SubscriptionError.valueOf, enumValues: $2.SubscriptionError.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionResponse clone() => - SubscriptionResponse()..mergeFromMessage(this); + SubscriptionResponse clone() => SubscriptionResponse()..mergeFromMessage(this); @$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; @@ -4435,11 +4133,10 @@ class SubscriptionResponse extends $pb.GeneratedMessage { static SubscriptionResponse create() => SubscriptionResponse._(); @$core.override SubscriptionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -4461,16 +4158,30 @@ class SubscriptionResponse extends $pb.GeneratedMessage { void clearErr() => $_clearField(2); } +enum RequestResponse_Request { trickle, addTrack, mute, updateMetadata, updateAudioTrack, updateVideoTrack, notSet } + class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse({ $core.int? requestId, RequestResponse_Reason? reason, $core.String? message, + TrickleRequest? trickle, + AddTrackRequest? addTrack, + MuteTrackRequest? mute, + UpdateParticipantMetadata? updateMetadata, + UpdateLocalAudioTrack? updateAudioTrack, + UpdateLocalVideoTrack? updateVideoTrack, }) { final result = create(); if (requestId != null) result.requestId = requestId; if (reason != null) result.reason = reason; if (message != null) result.message = message; + if (trickle != null) result.trickle = trickle; + if (addTrack != null) result.addTrack = addTrack; + if (mute != null) result.mute = mute; + if (updateMetadata != null) result.updateMetadata = updateMetadata; + if (updateAudioTrack != null) result.updateAudioTrack = updateAudioTrack; + if (updateVideoTrack != null) result.updateVideoTrack = updateVideoTrack; return result; } @@ -4479,29 +4190,41 @@ 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 final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RequestResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + 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, + 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, + ..e(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, defaultOrMaker: RequestResponse_Reason.OK, valueOf: RequestResponse_Reason.valueOf, 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(7, _omitFieldNames ? '' : 'updateMetadata', + subBuilder: UpdateParticipantMetadata.create) + ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', subBuilder: UpdateLocalAudioTrack.create) + ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', subBuilder: UpdateLocalVideoTrack.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RequestResponse clone() => RequestResponse()..mergeFromMessage(this); @$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; @@ -4510,13 +4233,15 @@ class RequestResponse extends $pb.GeneratedMessage { static RequestResponse create() => RequestResponse._(); @$core.override RequestResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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)]!; + void clearRequest() => $_clearField($_whichOneof(0)); + @$pb.TagNumber(1) $core.int get requestId => $_getIZ(0); @$pb.TagNumber(1) @@ -4543,6 +4268,72 @@ class RequestResponse extends $pb.GeneratedMessage { $core.bool hasMessage() => $_has(2); @$pb.TagNumber(3) void clearMessage() => $_clearField(3); + + @$pb.TagNumber(4) + TrickleRequest get trickle => $_getN(3); + @$pb.TagNumber(4) + set trickle(TrickleRequest value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasTrickle() => $_has(3); + @$pb.TagNumber(4) + void clearTrickle() => $_clearField(4); + @$pb.TagNumber(4) + TrickleRequest ensureTrickle() => $_ensure(3); + + @$pb.TagNumber(5) + AddTrackRequest get addTrack => $_getN(4); + @$pb.TagNumber(5) + set addTrack(AddTrackRequest value) => $_setField(5, value); + @$pb.TagNumber(5) + $core.bool hasAddTrack() => $_has(4); + @$pb.TagNumber(5) + void clearAddTrack() => $_clearField(5); + @$pb.TagNumber(5) + AddTrackRequest ensureAddTrack() => $_ensure(4); + + @$pb.TagNumber(6) + MuteTrackRequest get mute => $_getN(5); + @$pb.TagNumber(6) + set mute(MuteTrackRequest value) => $_setField(6, value); + @$pb.TagNumber(6) + $core.bool hasMute() => $_has(5); + @$pb.TagNumber(6) + void clearMute() => $_clearField(6); + @$pb.TagNumber(6) + MuteTrackRequest ensureMute() => $_ensure(5); + + @$pb.TagNumber(7) + UpdateParticipantMetadata get updateMetadata => $_getN(6); + @$pb.TagNumber(7) + set updateMetadata(UpdateParticipantMetadata value) => $_setField(7, value); + @$pb.TagNumber(7) + $core.bool hasUpdateMetadata() => $_has(6); + @$pb.TagNumber(7) + void clearUpdateMetadata() => $_clearField(7); + @$pb.TagNumber(7) + UpdateParticipantMetadata ensureUpdateMetadata() => $_ensure(6); + + @$pb.TagNumber(8) + UpdateLocalAudioTrack get updateAudioTrack => $_getN(7); + @$pb.TagNumber(8) + set updateAudioTrack(UpdateLocalAudioTrack value) => $_setField(8, value); + @$pb.TagNumber(8) + $core.bool hasUpdateAudioTrack() => $_has(7); + @$pb.TagNumber(8) + void clearUpdateAudioTrack() => $_clearField(8); + @$pb.TagNumber(8) + UpdateLocalAudioTrack ensureUpdateAudioTrack() => $_ensure(7); + + @$pb.TagNumber(9) + UpdateLocalVideoTrack get updateVideoTrack => $_getN(8); + @$pb.TagNumber(9) + set updateVideoTrack(UpdateLocalVideoTrack value) => $_setField(9, value); + @$pb.TagNumber(9) + $core.bool hasUpdateVideoTrack() => $_has(8); + @$pb.TagNumber(9) + void clearUpdateVideoTrack() => $_clearField(9); + @$pb.TagNumber(9) + UpdateLocalVideoTrack ensureUpdateVideoTrack() => $_ensure(8); } class TrackSubscribed extends $pb.GeneratedMessage { @@ -4559,14 +4350,11 @@ 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; @@ -4574,8 +4362,7 @@ class TrackSubscribed extends $pb.GeneratedMessage { TrackSubscribed clone() => TrackSubscribed()..mergeFromMessage(this); @$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; @@ -4584,11 +4371,10 @@ class TrackSubscribed extends $pb.GeneratedMessage { static TrackSubscribed create() => TrackSubscribed._(); @$core.override TrackSubscribed createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -4611,8 +4397,7 @@ 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; } @@ -4626,10 +4411,8 @@ 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') @@ -4640,8 +4423,7 @@ class ConnectionSettings extends $pb.GeneratedMessage { ConnectionSettings clone() => ConnectionSettings()..mergeFromMessage(this); @$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; @@ -4650,11 +4432,10 @@ class ConnectionSettings extends $pb.GeneratedMessage { static ConnectionSettings create() => ConnectionSettings._(); @$core.override ConnectionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -4699,8 +4480,7 @@ class JoinRequest extends $pb.GeneratedMessage { $2.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, @@ -4710,13 +4490,10 @@ class JoinRequest extends $pb.GeneratedMessage { }) { 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; @@ -4730,47 +4507,36 @@ 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<$2.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', subBuilder: $2.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, + ..pc(5, _omitFieldNames ? '' : 'addTrackRequests', $pb.PbFieldType.PM, 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, + ..e<$2.ReconnectReason>(8, _omitFieldNames ? '' : 'reconnectReason', $pb.PbFieldType.OE, defaultOrMaker: $2.ReconnectReason.RR_UNKNOWN, valueOf: $2.ReconnectReason.valueOf, enumValues: $2.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); @$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; @@ -4781,8 +4547,7 @@ class JoinRequest extends $pb.GeneratedMessage { 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) @@ -4820,8 +4585,7 @@ 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); @@ -4896,25 +4660,20 @@ 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, + 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, 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); @$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; @@ -4923,11 +4682,10 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { static WrappedJoinRequest create() => WrappedJoinRequest._(); @$core.override WrappedJoinRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -4969,22 +4727,17 @@ 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) + 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) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement clone() => - MediaSectionsRequirement()..mergeFromMessage(this); + MediaSectionsRequirement clone() => MediaSectionsRequirement()..mergeFromMessage(this); @$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; @@ -4993,11 +4746,10 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { static MediaSectionsRequirement create() => MediaSectionsRequirement._(); @$core.override MediaSectionsRequirement createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + 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) @@ -5019,7 +4771,5 @@ 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 508cf0d8c..d45ac2fd3 100644 --- a/lib/src/proto/livekit_rtc.pbenum.dart +++ b/lib/src/proto/livekit_rtc.pbenum.dart @@ -15,50 +15,39 @@ 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, @@ -66,22 +55,17 @@ 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, @@ -89,8 +73,7 @@ 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]; @@ -98,25 +81,28 @@ 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 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 $core.List values = [ OK, NOT_FOUND, NOT_ALLOWED, LIMIT_EXCEEDED, + QUEUED, + UNSUPPORTED_TYPE, + UNCLASSIFIED_ERROR, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); static RequestResponse_Reason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -124,24 +110,19 @@ 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 aacc29df1..910a17501 100644 --- a/lib/src/proto/livekit_rtc.pbjson.dart +++ b/lib/src/proto/livekit_rtc.pbjson.dart @@ -24,8 +24,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 +37,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,85 +51,21 @@ 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, @@ -149,24 +85,8 @@ 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', @@ -177,15 +97,7 @@ 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, @@ -211,77 +123,37 @@ 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' + 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2tCCQoHbWVzc2FnZQ' + '=='); @$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, @@ -291,24 +163,8 @@ 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, @@ -318,15 +174,7 @@ 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, @@ -363,14 +211,7 @@ 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, @@ -381,24 +222,8 @@ 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, @@ -426,23 +251,24 @@ 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, + '1': 'media_sections_requirement', + '3': 25, '4': 1, '5': 11, - '6': '.livekit.RoomMovedResponse', + '6': '.livekit.MediaSectionsRequirement', '9': 0, - '10': 'roomMoved' + '10': 'mediaSectionsRequirement' }, { - '1': 'media_sections_requirement', - '3': 25, + '1': 'subscribed_audio_codec_update', + '3': 26, '4': 1, '5': 11, - '6': '.livekit.MediaSectionsRequirement', + '6': '.livekit.SubscribedAudioCodecUpdate', '9': 0, - '10': 'mediaSectionsRequirement' + '10': 'subscribedAudioCodecUpdate' }, ], '8': [ @@ -451,36 +277,38 @@ 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' - 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnRCCQoHbWVzc2FnZQ=='); +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='); @$core.Deprecated('Use simulcastCodecDescriptor instead') const SimulcastCodec$json = { @@ -488,31 +316,17 @@ 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 = { @@ -520,14 +334,7 @@ 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'}, @@ -539,30 +346,9 @@ 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', @@ -573,14 +359,7 @@ 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', @@ -590,54 +369,40 @@ 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 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 = { @@ -649,47 +414,20 @@ 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', @@ -702,56 +440,35 @@ 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, @@ -760,46 +477,31 @@ 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') @@ -812,8 +514,7 @@ 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') @@ -827,29 +528,22 @@ const SessionDescription$json = { }; /// 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' + 'NkcBIOCgJpZBgDIAEoDVICaWQ='); @$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 = { @@ -857,22 +551,15 @@ 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 updateTrackSettingsDescriptor instead') const UpdateTrackSettings$json = { @@ -880,14 +567,7 @@ 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'}, @@ -896,32 +576,25 @@ 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 = { @@ -934,39 +607,18 @@ 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], }; @@ -982,34 +634,27 @@ 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 = { @@ -1041,12 +686,12 @@ 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('ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' + 'ISCgRuYW1lGAIgASgJUgRuYW1lElIKCmF0dHJpYnV0ZXMYAyADKAsyMi5saXZla2l0LlVwZGF0' + 'ZVBhcnRpY2lwYW50TWV0YWRhdGEuQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEh0KCnJlcX' + 'Vlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEgASgJ' + 'UgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); @$core.Deprecated('Use iCEServerDescriptor instead') const ICEServer$json = { @@ -1059,29 +704,22 @@ 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 = { @@ -1092,51 +730,36 @@ 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') @@ -1145,84 +768,56 @@ 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 = { @@ -1238,23 +833,38 @@ const SubscribedQualityUpdate$json = { '8': {'3': true}, '10': 'subscribedQualities', }, + {'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=='); + +@$core.Deprecated('Use subscribedAudioCodecUpdateDescriptor instead') +const SubscribedAudioCodecUpdate$json = { + '1': 'SubscribedAudioCodecUpdate', + '2': [ + {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, { - '1': 'subscribed_codecs', - '3': 3, + '1': 'subscribed_audio_codecs', + '3': 2, '4': 3, '5': 11, - '6': '.livekit.SubscribedCodec', - '10': 'subscribedCodecs' + '6': '.livekit.SubscribedAudioCodec', + '10': 'subscribedAudioCodecs' }, ], }; -/// Descriptor for `SubscribedQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityUpdateDescriptor = $convert.base64Decode( - 'ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' - 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' - 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' - '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); +/// Descriptor for `SubscribedAudioCodecUpdate`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List subscribedAudioCodecUpdateDescriptor = + $convert.base64Decode('ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' + 'lkElUKF3N1YnNjcmliZWRfYXVkaW9fY29kZWNzGAIgAygLMh0ubGl2ZWtpdC5TdWJzY3JpYmVk' + 'QXVkaW9Db2RlY1IVc3Vic2NyaWJlZEF1ZGlvQ29kZWNz'); @$core.Deprecated('Use trackPermissionDescriptor instead') const TrackPermission$json = { @@ -1263,44 +873,31 @@ 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 = { @@ -1314,8 +911,7 @@ 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'); @@ -1325,83 +921,28 @@ 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, @@ -1414,16 +955,16 @@ const SyncState$json = { }; /// 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' + 'ZWxSZWNlaXZlU3RhdGVz'); @$core.Deprecated('Use dataChannelReceiveStateDescriptor instead') const DataChannelReceiveState$json = { @@ -1436,8 +977,7 @@ 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') @@ -1446,34 +986,20 @@ 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'}, @@ -1486,22 +1012,8 @@ 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, @@ -1510,14 +1022,7 @@ 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'}, @@ -1525,17 +1030,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 = { @@ -1547,48 +1052,35 @@ 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 = { @@ -1601,47 +1093,66 @@ 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': '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': 'reason', - '3': 2, + '1': 'update_metadata', + '3': 7, '4': 1, - '5': 14, - '6': '.livekit.RequestResponse.Reason', - '10': 'reason' + '5': 11, + '6': '.livekit.UpdateParticipantMetadata', + '9': 0, + '10': 'updateMetadata' + }, + { + '1': 'update_audio_track', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.UpdateLocalAudioTrack', + '9': 0, + '10': 'updateAudioTrack' + }, + { + '1': 'update_video_track', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.UpdateLocalVideoTrack', + '9': 0, + '10': 'updateVideoTrack' }, - {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, ], '4': [RequestResponse_Reason$json], + '8': [ + {'1': 'request'}, + ], }; @$core.Deprecated('Use requestResponseDescriptor instead') @@ -1652,15 +1163,27 @@ const RequestResponse_Reason$json = { {'1': 'NOT_FOUND', '2': 1}, {'1': 'NOT_ALLOWED', '2': 2}, {'1': 'LIMIT_EXCEEDED', '2': 3}, + {'1': 'QUEUED', '2': 4}, + {'1': 'UNSUPPORTED_TYPE', '2': 5}, + {'1': 'UNCLASSIFIED_ERROR', '2': 6}, ], }; /// Descriptor for `RequestResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestResponseDescriptor = $convert.base64Decode( - 'Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' - 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' - 'c3NhZ2UYAyABKAlSB21lc3NhZ2UiRAoGUmVhc29uEgYKAk9LEAASDQoJTk9UX0ZPVU5EEAESDw' - 'oLTk9UX0FMTE9XRUQQAhISCg5MSU1JVF9FWENFRURFRBAD'); +final $typed_data.Uint8List requestResponseDescriptor = + $convert.base64Decode('Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' + 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' + 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' + 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' + 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' + 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' + 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' + 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' + 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' + 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjayJ+CgZSZWFzb24SBgoCT0sQABINCglOT1Rf' + 'Rk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVFVUVEEA' + 'QSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGQgkKB3JlcXVl' + 'c3Q='); @$core.Deprecated('Use trackSubscribedDescriptor instead') const TrackSubscribed$json = { @@ -1671,8 +1194,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 = { @@ -1680,15 +1203,7 @@ 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': [ @@ -1697,25 +1212,18 @@ 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, @@ -1733,40 +1241,12 @@ const JoinRequest$json = { '6': '.livekit.JoinRequest.ParticipantAttributesEntry', '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], }; @@ -1782,33 +1262,26 @@ 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' + 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxIaCghtZXRhZGF0YRgDIAEoCVIIbW' + 'V0YWRhdGESZgoWcGFydGljaXBhbnRfYXR0cmlidXRlcxgEIAMoCzIvLmxpdmVraXQuSm9pblJl' + 'cXVlc3QuUGFydGljaXBhbnRBdHRyaWJ1dGVzRW50cnlSFXBhcnRpY2lwYW50QXR0cmlidXRlcx' + 'JGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQ' + 'YWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJfb2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3' + 'Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZXISHAoJcmVjb25uZWN0GAcgASgIUglyZWNv' + 'bm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEoDjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc2' + '9uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaXBhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFu' + 'dFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZR' + 'pIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1' + 'ZRgCIAEoCVIFdmFsdWU6AjgB'); @$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], @@ -1824,10 +1297,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 = { @@ -1840,6 +1313,5 @@ 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/lib/src/proto/livekit_rtc.pbserver.dart b/lib/src/proto/livekit_rtc.pbserver.dart deleted file mode 100644 index e2fd52708..000000000 --- a/lib/src/proto/livekit_rtc.pbserver.dart +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated code. Do not modify. -// source: livekit_rtc.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names -// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -export 'livekit_rtc.pb.dart';