diff --git a/lib/src/proto/livekit_models.pb.dart b/lib/src/proto/livekit_models.pb.dart index 088f43d8..9375fe75 100644 --- a/lib/src/proto/livekit_models.pb.dart +++ b/lib/src/proto/livekit_models.pb.dart @@ -74,35 +74,46 @@ class Room extends $pb.GeneratedMessage { return $result; } Room._() : super(); - factory Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory Room.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Room.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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(12, _omitFieldNames ? '' : 'playoutDelay', subBuilder: PlayoutDelay.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$core.int>( + 11, _omitFieldNames ? '' : 'numPublishers', $pb.PbFieldType.OU3) + ..aOM(12, _omitFieldNames ? '' : 'playoutDelay', + subBuilder: PlayoutDelay.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Room clone() => Room()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Room copyWith(void Function(Room) updates) => super.copyWith((message) => updates(message as Room)) as Room; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Room copyWith(void Function(Room) updates) => + super.copyWith((message) => updates(message as Room)) as Room; $pb.BuilderInfo get info_ => _i; @@ -111,13 +122,17 @@ 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) $core.String get sid => $_getSZ(0); @$pb.TagNumber(1) - set sid($core.String v) { $_setString(0, v); } + set sid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasSid() => $_has(0); @$pb.TagNumber(1) @@ -126,7 +141,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get name => $_getSZ(1); @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } + set name($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasName() => $_has(1); @$pb.TagNumber(2) @@ -135,7 +153,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get emptyTimeout => $_getIZ(2); @$pb.TagNumber(3) - set emptyTimeout($core.int v) { $_setUnsignedInt32(2, v); } + set emptyTimeout($core.int v) { + $_setUnsignedInt32(2, v); + } + @$pb.TagNumber(3) $core.bool hasEmptyTimeout() => $_has(2); @$pb.TagNumber(3) @@ -144,7 +165,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get maxParticipants => $_getIZ(3); @$pb.TagNumber(4) - set maxParticipants($core.int v) { $_setUnsignedInt32(3, v); } + set maxParticipants($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(4) $core.bool hasMaxParticipants() => $_has(3); @$pb.TagNumber(4) @@ -153,7 +177,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(5) $fixnum.Int64 get creationTime => $_getI64(4); @$pb.TagNumber(5) - set creationTime($fixnum.Int64 v) { $_setInt64(4, v); } + set creationTime($fixnum.Int64 v) { + $_setInt64(4, v); + } + @$pb.TagNumber(5) $core.bool hasCreationTime() => $_has(4); @$pb.TagNumber(5) @@ -162,7 +189,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get turnPassword => $_getSZ(5); @$pb.TagNumber(6) - set turnPassword($core.String v) { $_setString(5, v); } + set turnPassword($core.String v) { + $_setString(5, v); + } + @$pb.TagNumber(6) $core.bool hasTurnPassword() => $_has(5); @$pb.TagNumber(6) @@ -174,7 +204,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get metadata => $_getSZ(7); @$pb.TagNumber(8) - set metadata($core.String v) { $_setString(7, v); } + set metadata($core.String v) { + $_setString(7, v); + } + @$pb.TagNumber(8) $core.bool hasMetadata() => $_has(7); @$pb.TagNumber(8) @@ -183,7 +216,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.int get numParticipants => $_getIZ(8); @$pb.TagNumber(9) - set numParticipants($core.int v) { $_setUnsignedInt32(8, v); } + set numParticipants($core.int v) { + $_setUnsignedInt32(8, v); + } + @$pb.TagNumber(9) $core.bool hasNumParticipants() => $_has(8); @$pb.TagNumber(9) @@ -192,7 +228,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.bool get activeRecording => $_getBF(9); @$pb.TagNumber(10) - set activeRecording($core.bool v) { $_setBool(9, v); } + set activeRecording($core.bool v) { + $_setBool(9, v); + } + @$pb.TagNumber(10) $core.bool hasActiveRecording() => $_has(9); @$pb.TagNumber(10) @@ -201,7 +240,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.int get numPublishers => $_getIZ(10); @$pb.TagNumber(11) - set numPublishers($core.int v) { $_setUnsignedInt32(10, v); } + set numPublishers($core.int v) { + $_setUnsignedInt32(10, v); + } + @$pb.TagNumber(11) $core.bool hasNumPublishers() => $_has(10); @$pb.TagNumber(11) @@ -210,7 +252,10 @@ class Room extends $pb.GeneratedMessage { @$pb.TagNumber(12) PlayoutDelay get playoutDelay => $_getN(11); @$pb.TagNumber(12) - set playoutDelay(PlayoutDelay v) { setField(12, v); } + set playoutDelay(PlayoutDelay v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasPlayoutDelay() => $_has(11); @$pb.TagNumber(12) @@ -234,25 +279,30 @@ class Codec extends $pb.GeneratedMessage { return $result; } Codec._() : super(); - factory Codec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Codec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Codec', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory Codec.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Codec.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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 - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Codec clone() => Codec()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Codec copyWith(void Function(Codec) updates) => super.copyWith((message) => updates(message as Codec)) as Codec; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Codec copyWith(void Function(Codec) updates) => + super.copyWith((message) => updates(message as Codec)) as Codec; $pb.BuilderInfo get info_ => _i; @@ -261,13 +311,17 @@ 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) $core.String get mime => $_getSZ(0); @$pb.TagNumber(1) - set mime($core.String v) { $_setString(0, v); } + set mime($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasMime() => $_has(0); @$pb.TagNumber(1) @@ -276,7 +330,10 @@ class Codec extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get fmtpLine => $_getSZ(1); @$pb.TagNumber(2) - set fmtpLine($core.String v) { $_setString(1, v); } + set fmtpLine($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasFmtpLine() => $_has(1); @$pb.TagNumber(2) @@ -298,40 +355,51 @@ class PlayoutDelay extends $pb.GeneratedMessage { return $result; } PlayoutDelay._() : super(); - factory PlayoutDelay.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PlayoutDelay.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlayoutDelay', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory PlayoutDelay.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PlayoutDelay.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PlayoutDelay clone() => PlayoutDelay()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PlayoutDelay copyWith(void Function(PlayoutDelay) updates) => super.copyWith((message) => updates(message as PlayoutDelay)) as PlayoutDelay; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PlayoutDelay copyWith(void Function(PlayoutDelay) updates) => + super.copyWith((message) => updates(message as PlayoutDelay)) + as PlayoutDelay; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PlayoutDelay create() => PlayoutDelay._(); 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) $core.bool get enabled => $_getBF(0); @$pb.TagNumber(1) - set enabled($core.bool v) { $_setBool(0, v); } + set enabled($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasEnabled() => $_has(0); @$pb.TagNumber(1) @@ -340,7 +408,10 @@ class PlayoutDelay extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get min => $_getIZ(1); @$pb.TagNumber(2) - set min($core.int v) { $_setUnsignedInt32(1, v); } + set min($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasMin() => $_has(1); @$pb.TagNumber(2) @@ -382,46 +453,63 @@ class ParticipantPermission extends $pb.GeneratedMessage { return $result; } ParticipantPermission._() : super(); - factory ParticipantPermission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ParticipantPermission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantPermission', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory ParticipantPermission.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ParticipantPermission.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ParticipantPermission clone() => ParticipantPermission()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ParticipantPermission copyWith(void Function(ParticipantPermission) updates) => super.copyWith((message) => updates(message as ParticipantPermission)) as ParticipantPermission; + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ParticipantPermission clone() => + ParticipantPermission()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ParticipantPermission copyWith( + void Function(ParticipantPermission) updates) => + super.copyWith((message) => updates(message as ParticipantPermission)) + as ParticipantPermission; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ParticipantPermission create() => ParticipantPermission._(); 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 @$pb.TagNumber(1) $core.bool get canSubscribe => $_getBF(0); @$pb.TagNumber(1) - set canSubscribe($core.bool v) { $_setBool(0, v); } + set canSubscribe($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasCanSubscribe() => $_has(0); @$pb.TagNumber(1) @@ -431,7 +519,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get canPublish => $_getBF(1); @$pb.TagNumber(2) - set canPublish($core.bool v) { $_setBool(1, v); } + set canPublish($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(2) $core.bool hasCanPublish() => $_has(1); @$pb.TagNumber(2) @@ -441,7 +532,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get canPublishData => $_getBF(2); @$pb.TagNumber(3) - set canPublishData($core.bool v) { $_setBool(2, v); } + set canPublishData($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasCanPublishData() => $_has(2); @$pb.TagNumber(3) @@ -451,7 +545,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.bool get hidden => $_getBF(3); @$pb.TagNumber(7) - set hidden($core.bool v) { $_setBool(3, v); } + set hidden($core.bool v) { + $_setBool(3, v); + } + @$pb.TagNumber(7) $core.bool hasHidden() => $_has(3); @$pb.TagNumber(7) @@ -461,7 +558,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get recorder => $_getBF(4); @$pb.TagNumber(8) - set recorder($core.bool v) { $_setBool(4, v); } + set recorder($core.bool v) { + $_setBool(4, v); + } + @$pb.TagNumber(8) $core.bool hasRecorder() => $_has(4); @$pb.TagNumber(8) @@ -475,7 +575,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.bool get canUpdateMetadata => $_getBF(6); @$pb.TagNumber(10) - set canUpdateMetadata($core.bool v) { $_setBool(6, v); } + set canUpdateMetadata($core.bool v) { + $_setBool(6, v); + } + @$pb.TagNumber(10) $core.bool hasCanUpdateMetadata() => $_has(6); @$pb.TagNumber(10) @@ -533,49 +636,66 @@ class ParticipantInfo extends $pb.GeneratedMessage { return $result; } ParticipantInfo._() : super(); - factory ParticipantInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ParticipantInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory ParticipantInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ParticipantInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'identity') - ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_State.JOINING, valueOf: ParticipantInfo_State.valueOf, enumValues: ParticipantInfo_State.values) - ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, subBuilder: TrackInfo.create) + ..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) ..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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ParticipantInfo clone() => ParticipantInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ParticipantInfo copyWith(void Function(ParticipantInfo) updates) => super.copyWith((message) => updates(message as ParticipantInfo)) as ParticipantInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ParticipantInfo copyWith(void Function(ParticipantInfo) updates) => + super.copyWith((message) => updates(message as ParticipantInfo)) + as ParticipantInfo; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ParticipantInfo create() => ParticipantInfo._(); 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) $core.String get sid => $_getSZ(0); @$pb.TagNumber(1) - set sid($core.String v) { $_setString(0, v); } + set sid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasSid() => $_has(0); @$pb.TagNumber(1) @@ -584,7 +704,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get identity => $_getSZ(1); @$pb.TagNumber(2) - set identity($core.String v) { $_setString(1, v); } + set identity($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasIdentity() => $_has(1); @$pb.TagNumber(2) @@ -593,7 +716,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) ParticipantInfo_State get state => $_getN(2); @$pb.TagNumber(3) - set state(ParticipantInfo_State v) { setField(3, v); } + set state(ParticipantInfo_State v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasState() => $_has(2); @$pb.TagNumber(3) @@ -605,7 +731,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get metadata => $_getSZ(4); @$pb.TagNumber(5) - set metadata($core.String v) { $_setString(4, v); } + set metadata($core.String v) { + $_setString(4, v); + } + @$pb.TagNumber(5) $core.bool hasMetadata() => $_has(4); @$pb.TagNumber(5) @@ -615,7 +744,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get joinedAt => $_getI64(5); @$pb.TagNumber(6) - set joinedAt($fixnum.Int64 v) { $_setInt64(5, v); } + set joinedAt($fixnum.Int64 v) { + $_setInt64(5, v); + } + @$pb.TagNumber(6) $core.bool hasJoinedAt() => $_has(5); @$pb.TagNumber(6) @@ -624,7 +756,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get name => $_getSZ(6); @$pb.TagNumber(9) - set name($core.String v) { $_setString(6, v); } + set name($core.String v) { + $_setString(6, v); + } + @$pb.TagNumber(9) $core.bool hasName() => $_has(6); @$pb.TagNumber(9) @@ -633,7 +768,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.int get version => $_getIZ(7); @$pb.TagNumber(10) - set version($core.int v) { $_setUnsignedInt32(7, v); } + set version($core.int v) { + $_setUnsignedInt32(7, v); + } + @$pb.TagNumber(10) $core.bool hasVersion() => $_has(7); @$pb.TagNumber(10) @@ -642,7 +780,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(11) ParticipantPermission get permission => $_getN(8); @$pb.TagNumber(11) - set permission(ParticipantPermission v) { setField(11, v); } + set permission(ParticipantPermission v) { + setField(11, v); + } + @$pb.TagNumber(11) $core.bool hasPermission() => $_has(8); @$pb.TagNumber(11) @@ -653,7 +794,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.String get region => $_getSZ(9); @$pb.TagNumber(12) - set region($core.String v) { $_setString(9, v); } + set region($core.String v) { + $_setString(9, v); + } + @$pb.TagNumber(12) $core.bool hasRegion() => $_has(9); @$pb.TagNumber(12) @@ -664,7 +808,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { @$pb.TagNumber(13) $core.bool get isPublisher => $_getBF(10); @$pb.TagNumber(13) - set isPublisher($core.bool v) { $_setBool(10, v); } + set isPublisher($core.bool v) { + $_setBool(10, v); + } + @$pb.TagNumber(13) $core.bool hasIsPublisher() => $_has(10); @$pb.TagNumber(13) @@ -674,23 +821,28 @@ class ParticipantInfo extends $pb.GeneratedMessage { class Encryption extends $pb.GeneratedMessage { factory Encryption() => create(); Encryption._() : super(); - factory Encryption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Encryption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Encryption', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Encryption.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Encryption.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Encryption', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Encryption clone() => Encryption()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Encryption copyWith(void Function(Encryption) updates) => super.copyWith((message) => updates(message as Encryption)) as Encryption; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Encryption copyWith(void Function(Encryption) updates) => + super.copyWith((message) => updates(message as Encryption)) as Encryption; $pb.BuilderInfo get info_ => _i; @@ -699,7 +851,8 @@ 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; } @@ -726,42 +879,54 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { return $result; } SimulcastCodecInfo._() : super(); - factory SimulcastCodecInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SimulcastCodecInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodecInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SimulcastCodecInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SimulcastCodecInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..pc(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: VideoLayer.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SimulcastCodecInfo clone() => SimulcastCodecInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SimulcastCodecInfo copyWith(void Function(SimulcastCodecInfo) updates) => super.copyWith((message) => updates(message as SimulcastCodecInfo)) as SimulcastCodecInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SimulcastCodecInfo copyWith(void Function(SimulcastCodecInfo) updates) => + super.copyWith((message) => updates(message as SimulcastCodecInfo)) + as SimulcastCodecInfo; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SimulcastCodecInfo create() => SimulcastCodecInfo._(); 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) $core.String get mimeType => $_getSZ(0); @$pb.TagNumber(1) - set mimeType($core.String v) { $_setString(0, v); } + set mimeType($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasMimeType() => $_has(0); @$pb.TagNumber(1) @@ -770,7 +935,10 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get mid => $_getSZ(1); @$pb.TagNumber(2) - set mid($core.String v) { $_setString(1, v); } + set mid($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasMid() => $_has(1); @$pb.TagNumber(2) @@ -779,7 +947,10 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get cid => $_getSZ(2); @$pb.TagNumber(3) - set cid($core.String v) { $_setString(2, v); } + set cid($core.String v) { + $_setString(2, v); + } + @$pb.TagNumber(3) $core.bool hasCid() => $_has(2); @$pb.TagNumber(3) @@ -864,40 +1035,58 @@ class TrackInfo extends $pb.GeneratedMessage { return $result; } TrackInfo._() : super(); - factory TrackInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrackInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory TrackInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TrackInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) + ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + 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) ..a<$core.int>(6, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..aOB(7, _omitFieldNames ? '' : 'simulcast') ..aOB(8, _omitFieldNames ? '' : 'disableDtx') - ..e(9, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, defaultOrMaker: TrackSource.UNKNOWN, valueOf: TrackSource.valueOf, enumValues: TrackSource.values) - ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) + ..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) ..aOS(11, _omitFieldNames ? '' : 'mimeType') ..aOS(12, _omitFieldNames ? '' : 'mid') - ..pc(13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: SimulcastCodecInfo.create) + ..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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TrackInfo clone() => TrackInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrackInfo copyWith(void Function(TrackInfo) updates) => super.copyWith((message) => updates(message as TrackInfo)) as TrackInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TrackInfo copyWith(void Function(TrackInfo) updates) => + super.copyWith((message) => updates(message as TrackInfo)) as TrackInfo; $pb.BuilderInfo get info_ => _i; @@ -906,13 +1095,17 @@ 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) $core.String get sid => $_getSZ(0); @$pb.TagNumber(1) - set sid($core.String v) { $_setString(0, v); } + set sid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasSid() => $_has(0); @$pb.TagNumber(1) @@ -921,7 +1114,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) TrackType get type => $_getN(1); @$pb.TagNumber(2) - set type(TrackType v) { setField(2, v); } + set type(TrackType v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasType() => $_has(1); @$pb.TagNumber(2) @@ -930,7 +1126,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get name => $_getSZ(2); @$pb.TagNumber(3) - set name($core.String v) { $_setString(2, v); } + set name($core.String v) { + $_setString(2, v); + } + @$pb.TagNumber(3) $core.bool hasName() => $_has(2); @$pb.TagNumber(3) @@ -939,7 +1138,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get muted => $_getBF(3); @$pb.TagNumber(4) - set muted($core.bool v) { $_setBool(3, v); } + set muted($core.bool v) { + $_setBool(3, v); + } + @$pb.TagNumber(4) $core.bool hasMuted() => $_has(3); @$pb.TagNumber(4) @@ -950,7 +1152,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.int get width => $_getIZ(4); @$pb.TagNumber(5) - set width($core.int v) { $_setUnsignedInt32(4, v); } + set width($core.int v) { + $_setUnsignedInt32(4, v); + } + @$pb.TagNumber(5) $core.bool hasWidth() => $_has(4); @$pb.TagNumber(5) @@ -960,7 +1165,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.int get height => $_getIZ(5); @$pb.TagNumber(6) - set height($core.int v) { $_setUnsignedInt32(5, v); } + set height($core.int v) { + $_setUnsignedInt32(5, v); + } + @$pb.TagNumber(6) $core.bool hasHeight() => $_has(5); @$pb.TagNumber(6) @@ -970,7 +1178,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.bool get simulcast => $_getBF(6); @$pb.TagNumber(7) - set simulcast($core.bool v) { $_setBool(6, v); } + set simulcast($core.bool v) { + $_setBool(6, v); + } + @$pb.TagNumber(7) $core.bool hasSimulcast() => $_has(6); @$pb.TagNumber(7) @@ -980,7 +1191,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get disableDtx => $_getBF(7); @$pb.TagNumber(8) - set disableDtx($core.bool v) { $_setBool(7, v); } + set disableDtx($core.bool v) { + $_setBool(7, v); + } + @$pb.TagNumber(8) $core.bool hasDisableDtx() => $_has(7); @$pb.TagNumber(8) @@ -990,7 +1204,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(9) TrackSource get source => $_getN(8); @$pb.TagNumber(9) - set source(TrackSource v) { setField(9, v); } + set source(TrackSource v) { + setField(9, v); + } + @$pb.TagNumber(9) $core.bool hasSource() => $_has(8); @$pb.TagNumber(9) @@ -1003,7 +1220,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.String get mimeType => $_getSZ(10); @$pb.TagNumber(11) - set mimeType($core.String v) { $_setString(10, v); } + set mimeType($core.String v) { + $_setString(10, v); + } + @$pb.TagNumber(11) $core.bool hasMimeType() => $_has(10); @$pb.TagNumber(11) @@ -1012,7 +1232,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.String get mid => $_getSZ(11); @$pb.TagNumber(12) - set mid($core.String v) { $_setString(11, v); } + set mid($core.String v) { + $_setString(11, v); + } + @$pb.TagNumber(12) $core.bool hasMid() => $_has(11); @$pb.TagNumber(12) @@ -1024,7 +1247,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(14) $core.bool get stereo => $_getBF(13); @$pb.TagNumber(14) - set stereo($core.bool v) { $_setBool(13, v); } + set stereo($core.bool v) { + $_setBool(13, v); + } + @$pb.TagNumber(14) $core.bool hasStereo() => $_has(13); @$pb.TagNumber(14) @@ -1034,7 +1260,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(15) $core.bool get disableRed => $_getBF(14); @$pb.TagNumber(15) - set disableRed($core.bool v) { $_setBool(14, v); } + set disableRed($core.bool v) { + $_setBool(14, v); + } + @$pb.TagNumber(15) $core.bool hasDisableRed() => $_has(14); @$pb.TagNumber(15) @@ -1043,7 +1272,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(16) Encryption_Type get encryption => $_getN(15); @$pb.TagNumber(16) - set encryption(Encryption_Type v) { setField(16, v); } + set encryption(Encryption_Type v) { + setField(16, v); + } + @$pb.TagNumber(16) $core.bool hasEncryption() => $_has(15); @$pb.TagNumber(16) @@ -1052,7 +1284,10 @@ class TrackInfo extends $pb.GeneratedMessage { @$pb.TagNumber(17) $core.String get stream => $_getSZ(16); @$pb.TagNumber(17) - set stream($core.String v) { $_setString(16, v); } + set stream($core.String v) { + $_setString(16, v); + } + @$pb.TagNumber(17) $core.bool hasStream() => $_has(16); @$pb.TagNumber(17) @@ -1087,28 +1322,36 @@ class VideoLayer extends $pb.GeneratedMessage { return $result; } VideoLayer._() : super(); - factory VideoLayer.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory VideoLayer.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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) + factory VideoLayer.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory VideoLayer.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VideoLayer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: VideoQuality.LOW, + valueOf: VideoQuality.valueOf, + enumValues: VideoQuality.values) ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'ssrc', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') VideoLayer clone() => VideoLayer()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VideoLayer copyWith(void Function(VideoLayer) updates) => super.copyWith((message) => updates(message as VideoLayer)) as VideoLayer; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VideoLayer copyWith(void Function(VideoLayer) updates) => + super.copyWith((message) => updates(message as VideoLayer)) as VideoLayer; $pb.BuilderInfo get info_ => _i; @@ -1117,14 +1360,18 @@ 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 @$pb.TagNumber(1) VideoQuality get quality => $_getN(0); @$pb.TagNumber(1) - set quality(VideoQuality v) { setField(1, v); } + set quality(VideoQuality v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasQuality() => $_has(0); @$pb.TagNumber(1) @@ -1133,7 +1380,10 @@ class VideoLayer extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get width => $_getIZ(1); @$pb.TagNumber(2) - set width($core.int v) { $_setUnsignedInt32(1, v); } + set width($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasWidth() => $_has(1); @$pb.TagNumber(2) @@ -1142,7 +1392,10 @@ class VideoLayer extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get height => $_getIZ(2); @$pb.TagNumber(3) - set height($core.int v) { $_setUnsignedInt32(2, v); } + set height($core.int v) { + $_setUnsignedInt32(2, v); + } + @$pb.TagNumber(3) $core.bool hasHeight() => $_has(2); @$pb.TagNumber(3) @@ -1152,7 +1405,10 @@ class VideoLayer extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get bitrate => $_getIZ(3); @$pb.TagNumber(4) - set bitrate($core.int v) { $_setUnsignedInt32(3, v); } + set bitrate($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(4) $core.bool hasBitrate() => $_has(3); @$pb.TagNumber(4) @@ -1161,18 +1417,17 @@ class VideoLayer extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.int get ssrc => $_getIZ(4); @$pb.TagNumber(5) - set ssrc($core.int v) { $_setUnsignedInt32(4, v); } + set ssrc($core.int v) { + $_setUnsignedInt32(4, v); + } + @$pb.TagNumber(5) $core.bool hasSsrc() => $_has(4); @$pb.TagNumber(5) void clearSsrc() => clearField(5); } -enum DataPacket_Value { - user, - speaker, - notSet -} +enum DataPacket_Value { user, speaker, notSet } /// new DataPacket API class DataPacket extends $pb.GeneratedMessage { @@ -1194,32 +1449,42 @@ class DataPacket extends $pb.GeneratedMessage { return $result; } DataPacket._() : super(); - factory DataPacket.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataPacket.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + factory DataPacket.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DataPacket.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); static const $core.Map<$core.int, DataPacket_Value> _DataPacket_ValueByTag = { - 2 : DataPacket_Value.user, - 3 : DataPacket_Value.speaker, - 0 : DataPacket_Value.notSet + 2: DataPacket_Value.user, + 3: DataPacket_Value.speaker, + 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]) - ..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) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..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) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') DataPacket clone() => DataPacket()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataPacket copyWith(void Function(DataPacket) updates) => super.copyWith((message) => updates(message as DataPacket)) as DataPacket; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DataPacket copyWith(void Function(DataPacket) updates) => + super.copyWith((message) => updates(message as DataPacket)) as DataPacket; $pb.BuilderInfo get info_ => _i; @@ -1228,7 +1493,8 @@ 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)]!; @@ -1237,7 +1503,10 @@ class DataPacket extends $pb.GeneratedMessage { @$pb.TagNumber(1) DataPacket_Kind get kind => $_getN(0); @$pb.TagNumber(1) - set kind(DataPacket_Kind v) { setField(1, v); } + set kind(DataPacket_Kind v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasKind() => $_has(0); @$pb.TagNumber(1) @@ -1246,7 +1515,10 @@ class DataPacket extends $pb.GeneratedMessage { @$pb.TagNumber(2) UserPacket get user => $_getN(1); @$pb.TagNumber(2) - set user(UserPacket v) { setField(2, v); } + set user(UserPacket v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasUser() => $_has(1); @$pb.TagNumber(2) @@ -1257,7 +1529,10 @@ class DataPacket extends $pb.GeneratedMessage { @$pb.TagNumber(3) ActiveSpeakerUpdate get speaker => $_getN(2); @$pb.TagNumber(3) - set speaker(ActiveSpeakerUpdate v) { setField(3, v); } + set speaker(ActiveSpeakerUpdate v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasSpeaker() => $_has(2); @$pb.TagNumber(3) @@ -1277,33 +1552,42 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { return $result; } ActiveSpeakerUpdate._() : super(); - factory ActiveSpeakerUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ActiveSpeakerUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory ActiveSpeakerUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ActiveSpeakerUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ActiveSpeakerUpdate clone() => ActiveSpeakerUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ActiveSpeakerUpdate copyWith(void Function(ActiveSpeakerUpdate) updates) => super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) as ActiveSpeakerUpdate; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ActiveSpeakerUpdate copyWith(void Function(ActiveSpeakerUpdate) updates) => + super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) + as ActiveSpeakerUpdate; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ActiveSpeakerUpdate create() => ActiveSpeakerUpdate._(); 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) @@ -1329,26 +1613,32 @@ class SpeakerInfo extends $pb.GeneratedMessage { return $result; } SpeakerInfo._() : super(); - factory SpeakerInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SpeakerInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakerInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SpeakerInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SpeakerInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SpeakerInfo clone() => SpeakerInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SpeakerInfo copyWith(void Function(SpeakerInfo) updates) => super.copyWith((message) => updates(message as SpeakerInfo)) as SpeakerInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SpeakerInfo copyWith(void Function(SpeakerInfo) updates) => + super.copyWith((message) => updates(message as SpeakerInfo)) + as SpeakerInfo; $pb.BuilderInfo get info_ => _i; @@ -1357,13 +1647,17 @@ 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) $core.String get sid => $_getSZ(0); @$pb.TagNumber(1) - set sid($core.String v) { $_setString(0, v); } + set sid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasSid() => $_has(0); @$pb.TagNumber(1) @@ -1373,7 +1667,10 @@ class SpeakerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.double get level => $_getN(1); @$pb.TagNumber(2) - set level($core.double v) { $_setFloat(1, v); } + set level($core.double v) { + $_setFloat(1, v); + } + @$pb.TagNumber(2) $core.bool hasLevel() => $_has(1); @$pb.TagNumber(2) @@ -1383,7 +1680,10 @@ class SpeakerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get active => $_getBF(2); @$pb.TagNumber(3) - set active($core.bool v) { $_setBool(2, v); } + set active($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasActive() => $_has(2); @$pb.TagNumber(3) @@ -1421,29 +1721,35 @@ class UserPacket extends $pb.GeneratedMessage { return $result; } UserPacket._() : super(); - factory UserPacket.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UserPacket.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserPacket', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory UserPacket.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UserPacket.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UserPacket clone() => UserPacket()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UserPacket copyWith(void Function(UserPacket) updates) => super.copyWith((message) => updates(message as UserPacket)) as UserPacket; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UserPacket copyWith(void Function(UserPacket) updates) => + super.copyWith((message) => updates(message as UserPacket)) as UserPacket; $pb.BuilderInfo get info_ => _i; @@ -1452,14 +1758,18 @@ 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 @$pb.TagNumber(1) $core.String get participantSid => $_getSZ(0); @$pb.TagNumber(1) - set participantSid($core.String v) { $_setString(0, v); } + set participantSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasParticipantSid() => $_has(0); @$pb.TagNumber(1) @@ -1469,7 +1779,10 @@ class UserPacket extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List<$core.int> get payload => $_getN(1); @$pb.TagNumber(2) - set payload($core.List<$core.int> v) { $_setBytes(1, v); } + set payload($core.List<$core.int> v) { + $_setBytes(1, v); + } + @$pb.TagNumber(2) $core.bool hasPayload() => $_has(1); @$pb.TagNumber(2) @@ -1483,7 +1796,10 @@ class UserPacket extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get topic => $_getSZ(3); @$pb.TagNumber(4) - set topic($core.String v) { $_setString(3, v); } + set topic($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(4) $core.bool hasTopic() => $_has(3); @$pb.TagNumber(4) @@ -1492,7 +1808,10 @@ class UserPacket extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get participantIdentity => $_getSZ(4); @$pb.TagNumber(5) - set participantIdentity($core.String v) { $_setString(4, v); } + set participantIdentity($core.String v) { + $_setString(4, v); + } + @$pb.TagNumber(5) $core.bool hasParticipantIdentity() => $_has(4); @$pb.TagNumber(5) @@ -1518,41 +1837,52 @@ class ParticipantTracks extends $pb.GeneratedMessage { return $result; } ParticipantTracks._() : super(); - factory ParticipantTracks.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ParticipantTracks.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantTracks', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory ParticipantTracks.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ParticipantTracks.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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 - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ParticipantTracks clone() => ParticipantTracks()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ParticipantTracks copyWith(void Function(ParticipantTracks) updates) => super.copyWith((message) => updates(message as ParticipantTracks)) as ParticipantTracks; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ParticipantTracks copyWith(void Function(ParticipantTracks) updates) => + super.copyWith((message) => updates(message as ParticipantTracks)) + as ParticipantTracks; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ParticipantTracks create() => ParticipantTracks._(); 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 @$pb.TagNumber(1) $core.String get participantSid => $_getSZ(0); @$pb.TagNumber(1) - set participantSid($core.String v) { $_setString(0, v); } + set participantSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasParticipantSid() => $_has(0); @$pb.TagNumber(1) @@ -1594,29 +1924,38 @@ class ServerInfo extends $pb.GeneratedMessage { return $result; } ServerInfo._() : super(); - factory ServerInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServerInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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) + factory ServerInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ServerInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) ..aOS(2, _omitFieldNames ? '' : 'version') ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) ..aOS(4, _omitFieldNames ? '' : 'region') ..aOS(5, _omitFieldNames ? '' : 'nodeId') ..aOS(6, _omitFieldNames ? '' : 'debugInfo') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ServerInfo clone() => ServerInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServerInfo copyWith(void Function(ServerInfo) updates) => super.copyWith((message) => updates(message as ServerInfo)) as ServerInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ServerInfo copyWith(void Function(ServerInfo) updates) => + super.copyWith((message) => updates(message as ServerInfo)) as ServerInfo; $pb.BuilderInfo get info_ => _i; @@ -1625,13 +1964,17 @@ 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) ServerInfo_Edition get edition => $_getN(0); @$pb.TagNumber(1) - set edition(ServerInfo_Edition v) { setField(1, v); } + set edition(ServerInfo_Edition v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasEdition() => $_has(0); @$pb.TagNumber(1) @@ -1640,7 +1983,10 @@ class ServerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get version => $_getSZ(1); @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } + set version($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasVersion() => $_has(1); @$pb.TagNumber(2) @@ -1649,7 +1995,10 @@ class ServerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get protocol => $_getIZ(2); @$pb.TagNumber(3) - set protocol($core.int v) { $_setSignedInt32(2, v); } + set protocol($core.int v) { + $_setSignedInt32(2, v); + } + @$pb.TagNumber(3) $core.bool hasProtocol() => $_has(2); @$pb.TagNumber(3) @@ -1658,7 +2007,10 @@ class ServerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get region => $_getSZ(3); @$pb.TagNumber(4) - set region($core.String v) { $_setString(3, v); } + set region($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(4) $core.bool hasRegion() => $_has(3); @$pb.TagNumber(4) @@ -1667,7 +2019,10 @@ class ServerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get nodeId => $_getSZ(4); @$pb.TagNumber(5) - set nodeId($core.String v) { $_setString(4, v); } + set nodeId($core.String v) { + $_setString(4, v); + } + @$pb.TagNumber(5) $core.bool hasNodeId() => $_has(4); @$pb.TagNumber(5) @@ -1677,7 +2032,10 @@ class ServerInfo extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get debugInfo => $_getSZ(5); @$pb.TagNumber(6) - set debugInfo($core.String v) { $_setString(5, v); } + set debugInfo($core.String v) { + $_setString(5, v); + } + @$pb.TagNumber(6) $core.bool hasDebugInfo() => $_has(5); @$pb.TagNumber(6) @@ -1732,11 +2090,21 @@ class ClientInfo extends $pb.GeneratedMessage { return $result; } ClientInfo._() : super(); - factory ClientInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ClientInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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) + factory ClientInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ClientInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) ..aOS(2, _omitFieldNames ? '' : 'version') ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) ..aOS(4, _omitFieldNames ? '' : 'os') @@ -1746,19 +2114,17 @@ class ClientInfo extends $pb.GeneratedMessage { ..aOS(8, _omitFieldNames ? '' : 'browserVersion') ..aOS(9, _omitFieldNames ? '' : 'address') ..aOS(10, _omitFieldNames ? '' : 'network') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ClientInfo clone() => ClientInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ClientInfo copyWith(void Function(ClientInfo) updates) => super.copyWith((message) => updates(message as ClientInfo)) as ClientInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClientInfo copyWith(void Function(ClientInfo) updates) => + super.copyWith((message) => updates(message as ClientInfo)) as ClientInfo; $pb.BuilderInfo get info_ => _i; @@ -1767,13 +2133,17 @@ 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) ClientInfo_SDK get sdk => $_getN(0); @$pb.TagNumber(1) - set sdk(ClientInfo_SDK v) { setField(1, v); } + set sdk(ClientInfo_SDK v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasSdk() => $_has(0); @$pb.TagNumber(1) @@ -1782,7 +2152,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get version => $_getSZ(1); @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } + set version($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasVersion() => $_has(1); @$pb.TagNumber(2) @@ -1791,7 +2164,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.int get protocol => $_getIZ(2); @$pb.TagNumber(3) - set protocol($core.int v) { $_setSignedInt32(2, v); } + set protocol($core.int v) { + $_setSignedInt32(2, v); + } + @$pb.TagNumber(3) $core.bool hasProtocol() => $_has(2); @$pb.TagNumber(3) @@ -1800,7 +2176,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get os => $_getSZ(3); @$pb.TagNumber(4) - set os($core.String v) { $_setString(3, v); } + set os($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(4) $core.bool hasOs() => $_has(3); @$pb.TagNumber(4) @@ -1809,7 +2188,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get osVersion => $_getSZ(4); @$pb.TagNumber(5) - set osVersion($core.String v) { $_setString(4, v); } + set osVersion($core.String v) { + $_setString(4, v); + } + @$pb.TagNumber(5) $core.bool hasOsVersion() => $_has(4); @$pb.TagNumber(5) @@ -1818,7 +2200,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get deviceModel => $_getSZ(5); @$pb.TagNumber(6) - set deviceModel($core.String v) { $_setString(5, v); } + set deviceModel($core.String v) { + $_setString(5, v); + } + @$pb.TagNumber(6) $core.bool hasDeviceModel() => $_has(5); @$pb.TagNumber(6) @@ -1827,7 +2212,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.String get browser => $_getSZ(6); @$pb.TagNumber(7) - set browser($core.String v) { $_setString(6, v); } + set browser($core.String v) { + $_setString(6, v); + } + @$pb.TagNumber(7) $core.bool hasBrowser() => $_has(6); @$pb.TagNumber(7) @@ -1836,7 +2224,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.String get browserVersion => $_getSZ(7); @$pb.TagNumber(8) - set browserVersion($core.String v) { $_setString(7, v); } + set browserVersion($core.String v) { + $_setString(7, v); + } + @$pb.TagNumber(8) $core.bool hasBrowserVersion() => $_has(7); @$pb.TagNumber(8) @@ -1845,7 +2236,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get address => $_getSZ(8); @$pb.TagNumber(9) - set address($core.String v) { $_setString(8, v); } + set address($core.String v) { + $_setString(8, v); + } + @$pb.TagNumber(9) $core.bool hasAddress() => $_has(8); @$pb.TagNumber(9) @@ -1855,7 +2249,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get network => $_getSZ(9); @$pb.TagNumber(10) - set network($core.String v) { $_setString(9, v); } + set network($core.String v) { + $_setString(9, v); + } + @$pb.TagNumber(10) $core.bool hasNetwork() => $_has(9); @$pb.TagNumber(10) @@ -1890,43 +2287,65 @@ class ClientConfiguration extends $pb.GeneratedMessage { return $result; } ClientConfiguration._() : super(); - factory ClientConfiguration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ClientConfiguration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory ClientConfiguration.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ClientConfiguration.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, + defaultOrMaker: ClientConfigSetting.UNSET, + valueOf: ClientConfigSetting.valueOf, + enumValues: ClientConfigSetting.values) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ClientConfiguration clone() => ClientConfiguration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ClientConfiguration copyWith(void Function(ClientConfiguration) updates) => super.copyWith((message) => updates(message as ClientConfiguration)) as ClientConfiguration; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClientConfiguration copyWith(void Function(ClientConfiguration) updates) => + super.copyWith((message) => updates(message as ClientConfiguration)) + as ClientConfiguration; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ClientConfiguration create() => ClientConfiguration._(); 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) VideoConfiguration get video => $_getN(0); @$pb.TagNumber(1) - set video(VideoConfiguration v) { setField(1, v); } + set video(VideoConfiguration v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasVideo() => $_has(0); @$pb.TagNumber(1) @@ -1937,7 +2356,10 @@ class ClientConfiguration extends $pb.GeneratedMessage { @$pb.TagNumber(2) VideoConfiguration get screen => $_getN(1); @$pb.TagNumber(2) - set screen(VideoConfiguration v) { setField(2, v); } + set screen(VideoConfiguration v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasScreen() => $_has(1); @$pb.TagNumber(2) @@ -1948,7 +2370,10 @@ class ClientConfiguration extends $pb.GeneratedMessage { @$pb.TagNumber(3) ClientConfigSetting get resumeConnection => $_getN(2); @$pb.TagNumber(3) - set resumeConnection(ClientConfigSetting v) { setField(3, v); } + set resumeConnection(ClientConfigSetting v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasResumeConnection() => $_has(2); @$pb.TagNumber(3) @@ -1957,7 +2382,10 @@ class ClientConfiguration extends $pb.GeneratedMessage { @$pb.TagNumber(4) DisabledCodecs get disabledCodecs => $_getN(3); @$pb.TagNumber(4) - set disabledCodecs(DisabledCodecs v) { setField(4, v); } + set disabledCodecs(DisabledCodecs v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasDisabledCodecs() => $_has(3); @$pb.TagNumber(4) @@ -1968,7 +2396,10 @@ class ClientConfiguration extends $pb.GeneratedMessage { @$pb.TagNumber(5) ClientConfigSetting get forceRelay => $_getN(4); @$pb.TagNumber(5) - set forceRelay(ClientConfigSetting v) { setField(5, v); } + set forceRelay(ClientConfigSetting v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasForceRelay() => $_has(4); @$pb.TagNumber(5) @@ -1986,39 +2417,54 @@ class VideoConfiguration extends $pb.GeneratedMessage { return $result; } VideoConfiguration._() : super(); - factory VideoConfiguration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory VideoConfiguration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory VideoConfiguration.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory VideoConfiguration.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') VideoConfiguration clone() => VideoConfiguration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VideoConfiguration copyWith(void Function(VideoConfiguration) updates) => super.copyWith((message) => updates(message as VideoConfiguration)) as VideoConfiguration; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VideoConfiguration copyWith(void Function(VideoConfiguration) updates) => + super.copyWith((message) => updates(message as VideoConfiguration)) + as VideoConfiguration; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static VideoConfiguration create() => VideoConfiguration._(); 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) ClientConfigSetting get hardwareEncoder => $_getN(0); @$pb.TagNumber(1) - set hardwareEncoder(ClientConfigSetting v) { setField(1, v); } + set hardwareEncoder(ClientConfigSetting v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasHardwareEncoder() => $_has(0); @$pb.TagNumber(1) @@ -2040,34 +2486,44 @@ class DisabledCodecs extends $pb.GeneratedMessage { return $result; } DisabledCodecs._() : super(); - factory DisabledCodecs.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DisabledCodecs.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory DisabledCodecs.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DisabledCodecs.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') DisabledCodecs clone() => DisabledCodecs()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DisabledCodecs copyWith(void Function(DisabledCodecs) updates) => super.copyWith((message) => updates(message as DisabledCodecs)) as DisabledCodecs; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DisabledCodecs copyWith(void Function(DisabledCodecs) updates) => + super.copyWith((message) => updates(message as DisabledCodecs)) + as DisabledCodecs; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DisabledCodecs create() => DisabledCodecs._(); 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 @@ -2122,32 +2578,45 @@ class RTPDrift extends $pb.GeneratedMessage { return $result; } RTPDrift._() : super(); - factory RTPDrift.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RTPDrift.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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) + factory RTPDrift.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RTPDrift.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(7, _omitFieldNames ? '' : 'driftSamples') ..a<$core.double>(8, _omitFieldNames ? '' : 'driftMs', $pb.PbFieldType.OD) ..a<$core.double>(9, _omitFieldNames ? '' : 'clockRate', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RTPDrift clone() => RTPDrift()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RTPDrift copyWith(void Function(RTPDrift) updates) => super.copyWith((message) => updates(message as RTPDrift)) as RTPDrift; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RTPDrift copyWith(void Function(RTPDrift) updates) => + super.copyWith((message) => updates(message as RTPDrift)) as RTPDrift; $pb.BuilderInfo get info_ => _i; @@ -2156,13 +2625,17 @@ 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) $0.Timestamp get startTime => $_getN(0); @$pb.TagNumber(1) - set startTime($0.Timestamp v) { setField(1, v); } + set startTime($0.Timestamp v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasStartTime() => $_has(0); @$pb.TagNumber(1) @@ -2173,7 +2646,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(2) $0.Timestamp get endTime => $_getN(1); @$pb.TagNumber(2) - set endTime($0.Timestamp v) { setField(2, v); } + set endTime($0.Timestamp v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasEndTime() => $_has(1); @$pb.TagNumber(2) @@ -2184,7 +2660,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.double get duration => $_getN(2); @$pb.TagNumber(3) - set duration($core.double v) { $_setDouble(2, v); } + set duration($core.double v) { + $_setDouble(2, v); + } + @$pb.TagNumber(3) $core.bool hasDuration() => $_has(2); @$pb.TagNumber(3) @@ -2193,7 +2672,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(4) $fixnum.Int64 get startTimestamp => $_getI64(3); @$pb.TagNumber(4) - set startTimestamp($fixnum.Int64 v) { $_setInt64(3, v); } + set startTimestamp($fixnum.Int64 v) { + $_setInt64(3, v); + } + @$pb.TagNumber(4) $core.bool hasStartTimestamp() => $_has(3); @$pb.TagNumber(4) @@ -2202,7 +2684,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(5) $fixnum.Int64 get endTimestamp => $_getI64(4); @$pb.TagNumber(5) - set endTimestamp($fixnum.Int64 v) { $_setInt64(4, v); } + set endTimestamp($fixnum.Int64 v) { + $_setInt64(4, v); + } + @$pb.TagNumber(5) $core.bool hasEndTimestamp() => $_has(4); @$pb.TagNumber(5) @@ -2211,7 +2696,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get rtpClockTicks => $_getI64(5); @$pb.TagNumber(6) - set rtpClockTicks($fixnum.Int64 v) { $_setInt64(5, v); } + set rtpClockTicks($fixnum.Int64 v) { + $_setInt64(5, v); + } + @$pb.TagNumber(6) $core.bool hasRtpClockTicks() => $_has(5); @$pb.TagNumber(6) @@ -2220,7 +2708,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(7) $fixnum.Int64 get driftSamples => $_getI64(6); @$pb.TagNumber(7) - set driftSamples($fixnum.Int64 v) { $_setInt64(6, v); } + set driftSamples($fixnum.Int64 v) { + $_setInt64(6, v); + } + @$pb.TagNumber(7) $core.bool hasDriftSamples() => $_has(6); @$pb.TagNumber(7) @@ -2229,7 +2720,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.double get driftMs => $_getN(7); @$pb.TagNumber(8) - set driftMs($core.double v) { $_setDouble(7, v); } + set driftMs($core.double v) { + $_setDouble(7, v); + } + @$pb.TagNumber(8) $core.bool hasDriftMs() => $_has(7); @$pb.TagNumber(8) @@ -2238,7 +2732,10 @@ class RTPDrift extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.double get clockRate => $_getN(8); @$pb.TagNumber(9) - set clockRate($core.double v) { $_setDouble(8, v); } + set clockRate($core.double v) { + $_setDouble(8, v); + } + @$pb.TagNumber(9) $core.bool hasClockRate() => $_has(8); @$pb.TagNumber(9) @@ -2424,66 +2921,109 @@ class RTPStats extends $pb.GeneratedMessage { return $result; } RTPStats._() : super(); - factory RTPStats.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RTPStats.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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) + factory RTPStats.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RTPStats.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, 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, 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>( + 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, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.double>( + 18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) + ..a<$core.int>( + 19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) ..a<$core.int>(20, _omitFieldNames ? '' : 'frames', $pb.PbFieldType.OU3) - ..a<$core.double>(21, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OD) - ..a<$core.double>(22, _omitFieldNames ? '' : 'jitterCurrent', $pb.PbFieldType.OD) - ..a<$core.double>(23, _omitFieldNames ? '' : 'jitterMax', $pb.PbFieldType.OD) - ..m<$core.int, $core.int>(24, _omitFieldNames ? '' : 'gapHistogram', entryClassName: 'RTPStats.GapHistogramEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OU3, packageName: const $pb.PackageName('livekit')) + ..a<$core.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, + valueFieldType: $pb.PbFieldType.OU3, + packageName: const $pb.PackageName('livekit')) ..a<$core.int>(25, _omitFieldNames ? '' : 'nacks', $pb.PbFieldType.OU3) ..a<$core.int>(26, _omitFieldNames ? '' : 'nackMisses', $pb.PbFieldType.OU3) ..a<$core.int>(27, _omitFieldNames ? '' : 'plis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', subBuilder: $0.Timestamp.create) + ..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, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(44, _omitFieldNames ? '' : 'packetDrift', subBuilder: RTPDrift.create) - ..aOM(45, _omitFieldNames ? '' : 'reportDrift', subBuilder: RTPDrift.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..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, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..aOM(44, _omitFieldNames ? '' : 'packetDrift', + subBuilder: RTPDrift.create) + ..aOM(45, _omitFieldNames ? '' : 'reportDrift', + subBuilder: RTPDrift.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RTPStats clone() => RTPStats()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RTPStats copyWith(void Function(RTPStats) updates) => super.copyWith((message) => updates(message as RTPStats)) as RTPStats; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RTPStats copyWith(void Function(RTPStats) updates) => + super.copyWith((message) => updates(message as RTPStats)) as RTPStats; $pb.BuilderInfo get info_ => _i; @@ -2492,13 +3032,17 @@ 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) $0.Timestamp get startTime => $_getN(0); @$pb.TagNumber(1) - set startTime($0.Timestamp v) { setField(1, v); } + set startTime($0.Timestamp v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasStartTime() => $_has(0); @$pb.TagNumber(1) @@ -2509,7 +3053,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(2) $0.Timestamp get endTime => $_getN(1); @$pb.TagNumber(2) - set endTime($0.Timestamp v) { setField(2, v); } + set endTime($0.Timestamp v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasEndTime() => $_has(1); @$pb.TagNumber(2) @@ -2520,7 +3067,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.double get duration => $_getN(2); @$pb.TagNumber(3) - set duration($core.double v) { $_setDouble(2, v); } + set duration($core.double v) { + $_setDouble(2, v); + } + @$pb.TagNumber(3) $core.bool hasDuration() => $_has(2); @$pb.TagNumber(3) @@ -2529,7 +3079,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get packets => $_getIZ(3); @$pb.TagNumber(4) - set packets($core.int v) { $_setUnsignedInt32(3, v); } + set packets($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(4) $core.bool hasPackets() => $_has(3); @$pb.TagNumber(4) @@ -2538,7 +3091,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.double get packetRate => $_getN(4); @$pb.TagNumber(5) - set packetRate($core.double v) { $_setDouble(4, v); } + set packetRate($core.double v) { + $_setDouble(4, v); + } + @$pb.TagNumber(5) $core.bool hasPacketRate() => $_has(4); @$pb.TagNumber(5) @@ -2547,7 +3103,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get bytes => $_getI64(5); @$pb.TagNumber(6) - set bytes($fixnum.Int64 v) { $_setInt64(5, v); } + set bytes($fixnum.Int64 v) { + $_setInt64(5, v); + } + @$pb.TagNumber(6) $core.bool hasBytes() => $_has(5); @$pb.TagNumber(6) @@ -2556,7 +3115,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.double get bitrate => $_getN(6); @$pb.TagNumber(7) - set bitrate($core.double v) { $_setDouble(6, v); } + set bitrate($core.double v) { + $_setDouble(6, v); + } + @$pb.TagNumber(7) $core.bool hasBitrate() => $_has(6); @$pb.TagNumber(7) @@ -2565,7 +3127,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.int get packetsLost => $_getIZ(7); @$pb.TagNumber(8) - set packetsLost($core.int v) { $_setUnsignedInt32(7, v); } + set packetsLost($core.int v) { + $_setUnsignedInt32(7, v); + } + @$pb.TagNumber(8) $core.bool hasPacketsLost() => $_has(7); @$pb.TagNumber(8) @@ -2574,7 +3139,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.double get packetLossRate => $_getN(8); @$pb.TagNumber(9) - set packetLossRate($core.double v) { $_setDouble(8, v); } + set packetLossRate($core.double v) { + $_setDouble(8, v); + } + @$pb.TagNumber(9) $core.bool hasPacketLossRate() => $_has(8); @$pb.TagNumber(9) @@ -2583,7 +3151,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.double get packetLossPercentage => $_getN(9); @$pb.TagNumber(10) - set packetLossPercentage($core.double v) { $_setFloat(9, v); } + set packetLossPercentage($core.double v) { + $_setFloat(9, v); + } + @$pb.TagNumber(10) $core.bool hasPacketLossPercentage() => $_has(9); @$pb.TagNumber(10) @@ -2592,7 +3163,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.int get packetsDuplicate => $_getIZ(10); @$pb.TagNumber(11) - set packetsDuplicate($core.int v) { $_setUnsignedInt32(10, v); } + set packetsDuplicate($core.int v) { + $_setUnsignedInt32(10, v); + } + @$pb.TagNumber(11) $core.bool hasPacketsDuplicate() => $_has(10); @$pb.TagNumber(11) @@ -2601,7 +3175,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.double get packetDuplicateRate => $_getN(11); @$pb.TagNumber(12) - set packetDuplicateRate($core.double v) { $_setDouble(11, v); } + set packetDuplicateRate($core.double v) { + $_setDouble(11, v); + } + @$pb.TagNumber(12) $core.bool hasPacketDuplicateRate() => $_has(11); @$pb.TagNumber(12) @@ -2610,7 +3187,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(13) $fixnum.Int64 get bytesDuplicate => $_getI64(12); @$pb.TagNumber(13) - set bytesDuplicate($fixnum.Int64 v) { $_setInt64(12, v); } + set bytesDuplicate($fixnum.Int64 v) { + $_setInt64(12, v); + } + @$pb.TagNumber(13) $core.bool hasBytesDuplicate() => $_has(12); @$pb.TagNumber(13) @@ -2619,7 +3199,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(14) $core.double get bitrateDuplicate => $_getN(13); @$pb.TagNumber(14) - set bitrateDuplicate($core.double v) { $_setDouble(13, v); } + set bitrateDuplicate($core.double v) { + $_setDouble(13, v); + } + @$pb.TagNumber(14) $core.bool hasBitrateDuplicate() => $_has(13); @$pb.TagNumber(14) @@ -2628,7 +3211,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(15) $core.int get packetsPadding => $_getIZ(14); @$pb.TagNumber(15) - set packetsPadding($core.int v) { $_setUnsignedInt32(14, v); } + set packetsPadding($core.int v) { + $_setUnsignedInt32(14, v); + } + @$pb.TagNumber(15) $core.bool hasPacketsPadding() => $_has(14); @$pb.TagNumber(15) @@ -2637,7 +3223,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(16) $core.double get packetPaddingRate => $_getN(15); @$pb.TagNumber(16) - set packetPaddingRate($core.double v) { $_setDouble(15, v); } + set packetPaddingRate($core.double v) { + $_setDouble(15, v); + } + @$pb.TagNumber(16) $core.bool hasPacketPaddingRate() => $_has(15); @$pb.TagNumber(16) @@ -2646,7 +3235,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(17) $fixnum.Int64 get bytesPadding => $_getI64(16); @$pb.TagNumber(17) - set bytesPadding($fixnum.Int64 v) { $_setInt64(16, v); } + set bytesPadding($fixnum.Int64 v) { + $_setInt64(16, v); + } + @$pb.TagNumber(17) $core.bool hasBytesPadding() => $_has(16); @$pb.TagNumber(17) @@ -2655,7 +3247,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(18) $core.double get bitratePadding => $_getN(17); @$pb.TagNumber(18) - set bitratePadding($core.double v) { $_setDouble(17, v); } + set bitratePadding($core.double v) { + $_setDouble(17, v); + } + @$pb.TagNumber(18) $core.bool hasBitratePadding() => $_has(17); @$pb.TagNumber(18) @@ -2664,7 +3259,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(19) $core.int get packetsOutOfOrder => $_getIZ(18); @$pb.TagNumber(19) - set packetsOutOfOrder($core.int v) { $_setUnsignedInt32(18, v); } + set packetsOutOfOrder($core.int v) { + $_setUnsignedInt32(18, v); + } + @$pb.TagNumber(19) $core.bool hasPacketsOutOfOrder() => $_has(18); @$pb.TagNumber(19) @@ -2673,7 +3271,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(20) $core.int get frames => $_getIZ(19); @$pb.TagNumber(20) - set frames($core.int v) { $_setUnsignedInt32(19, v); } + set frames($core.int v) { + $_setUnsignedInt32(19, v); + } + @$pb.TagNumber(20) $core.bool hasFrames() => $_has(19); @$pb.TagNumber(20) @@ -2682,7 +3283,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(21) $core.double get frameRate => $_getN(20); @$pb.TagNumber(21) - set frameRate($core.double v) { $_setDouble(20, v); } + set frameRate($core.double v) { + $_setDouble(20, v); + } + @$pb.TagNumber(21) $core.bool hasFrameRate() => $_has(20); @$pb.TagNumber(21) @@ -2691,7 +3295,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(22) $core.double get jitterCurrent => $_getN(21); @$pb.TagNumber(22) - set jitterCurrent($core.double v) { $_setDouble(21, v); } + set jitterCurrent($core.double v) { + $_setDouble(21, v); + } + @$pb.TagNumber(22) $core.bool hasJitterCurrent() => $_has(21); @$pb.TagNumber(22) @@ -2700,7 +3307,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(23) $core.double get jitterMax => $_getN(22); @$pb.TagNumber(23) - set jitterMax($core.double v) { $_setDouble(22, v); } + set jitterMax($core.double v) { + $_setDouble(22, v); + } + @$pb.TagNumber(23) $core.bool hasJitterMax() => $_has(22); @$pb.TagNumber(23) @@ -2712,7 +3322,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(25) $core.int get nacks => $_getIZ(24); @$pb.TagNumber(25) - set nacks($core.int v) { $_setUnsignedInt32(24, v); } + set nacks($core.int v) { + $_setUnsignedInt32(24, v); + } + @$pb.TagNumber(25) $core.bool hasNacks() => $_has(24); @$pb.TagNumber(25) @@ -2721,7 +3334,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(26) $core.int get nackMisses => $_getIZ(25); @$pb.TagNumber(26) - set nackMisses($core.int v) { $_setUnsignedInt32(25, v); } + set nackMisses($core.int v) { + $_setUnsignedInt32(25, v); + } + @$pb.TagNumber(26) $core.bool hasNackMisses() => $_has(25); @$pb.TagNumber(26) @@ -2730,7 +3346,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(27) $core.int get plis => $_getIZ(26); @$pb.TagNumber(27) - set plis($core.int v) { $_setUnsignedInt32(26, v); } + set plis($core.int v) { + $_setUnsignedInt32(26, v); + } + @$pb.TagNumber(27) $core.bool hasPlis() => $_has(26); @$pb.TagNumber(27) @@ -2739,7 +3358,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(28) $0.Timestamp get lastPli => $_getN(27); @$pb.TagNumber(28) - set lastPli($0.Timestamp v) { setField(28, v); } + set lastPli($0.Timestamp v) { + setField(28, v); + } + @$pb.TagNumber(28) $core.bool hasLastPli() => $_has(27); @$pb.TagNumber(28) @@ -2750,7 +3372,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(29) $core.int get firs => $_getIZ(28); @$pb.TagNumber(29) - set firs($core.int v) { $_setUnsignedInt32(28, v); } + set firs($core.int v) { + $_setUnsignedInt32(28, v); + } + @$pb.TagNumber(29) $core.bool hasFirs() => $_has(28); @$pb.TagNumber(29) @@ -2759,7 +3384,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(30) $0.Timestamp get lastFir => $_getN(29); @$pb.TagNumber(30) - set lastFir($0.Timestamp v) { setField(30, v); } + set lastFir($0.Timestamp v) { + setField(30, v); + } + @$pb.TagNumber(30) $core.bool hasLastFir() => $_has(29); @$pb.TagNumber(30) @@ -2770,7 +3398,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(31) $core.int get rttCurrent => $_getIZ(30); @$pb.TagNumber(31) - set rttCurrent($core.int v) { $_setUnsignedInt32(30, v); } + set rttCurrent($core.int v) { + $_setUnsignedInt32(30, v); + } + @$pb.TagNumber(31) $core.bool hasRttCurrent() => $_has(30); @$pb.TagNumber(31) @@ -2779,7 +3410,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(32) $core.int get rttMax => $_getIZ(31); @$pb.TagNumber(32) - set rttMax($core.int v) { $_setUnsignedInt32(31, v); } + set rttMax($core.int v) { + $_setUnsignedInt32(31, v); + } + @$pb.TagNumber(32) $core.bool hasRttMax() => $_has(31); @$pb.TagNumber(32) @@ -2788,7 +3422,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(33) $core.int get keyFrames => $_getIZ(32); @$pb.TagNumber(33) - set keyFrames($core.int v) { $_setUnsignedInt32(32, v); } + set keyFrames($core.int v) { + $_setUnsignedInt32(32, v); + } + @$pb.TagNumber(33) $core.bool hasKeyFrames() => $_has(32); @$pb.TagNumber(33) @@ -2797,7 +3434,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(34) $0.Timestamp get lastKeyFrame => $_getN(33); @$pb.TagNumber(34) - set lastKeyFrame($0.Timestamp v) { setField(34, v); } + set lastKeyFrame($0.Timestamp v) { + setField(34, v); + } + @$pb.TagNumber(34) $core.bool hasLastKeyFrame() => $_has(33); @$pb.TagNumber(34) @@ -2808,7 +3448,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(35) $core.int get layerLockPlis => $_getIZ(34); @$pb.TagNumber(35) - set layerLockPlis($core.int v) { $_setUnsignedInt32(34, v); } + set layerLockPlis($core.int v) { + $_setUnsignedInt32(34, v); + } + @$pb.TagNumber(35) $core.bool hasLayerLockPlis() => $_has(34); @$pb.TagNumber(35) @@ -2817,7 +3460,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(36) $0.Timestamp get lastLayerLockPli => $_getN(35); @$pb.TagNumber(36) - set lastLayerLockPli($0.Timestamp v) { setField(36, v); } + set lastLayerLockPli($0.Timestamp v) { + setField(36, v); + } + @$pb.TagNumber(36) $core.bool hasLastLayerLockPli() => $_has(35); @$pb.TagNumber(36) @@ -2828,7 +3474,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(37) $core.int get nackAcks => $_getIZ(36); @$pb.TagNumber(37) - set nackAcks($core.int v) { $_setUnsignedInt32(36, v); } + set nackAcks($core.int v) { + $_setUnsignedInt32(36, v); + } + @$pb.TagNumber(37) $core.bool hasNackAcks() => $_has(36); @$pb.TagNumber(37) @@ -2837,7 +3486,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(38) $core.int get nackRepeated => $_getIZ(37); @$pb.TagNumber(38) - set nackRepeated($core.int v) { $_setUnsignedInt32(37, v); } + set nackRepeated($core.int v) { + $_setUnsignedInt32(37, v); + } + @$pb.TagNumber(38) $core.bool hasNackRepeated() => $_has(37); @$pb.TagNumber(38) @@ -2846,7 +3498,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(39) $fixnum.Int64 get headerBytes => $_getI64(38); @$pb.TagNumber(39) - set headerBytes($fixnum.Int64 v) { $_setInt64(38, v); } + set headerBytes($fixnum.Int64 v) { + $_setInt64(38, v); + } + @$pb.TagNumber(39) $core.bool hasHeaderBytes() => $_has(38); @$pb.TagNumber(39) @@ -2855,7 +3510,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(40) $fixnum.Int64 get headerBytesDuplicate => $_getI64(39); @$pb.TagNumber(40) - set headerBytesDuplicate($fixnum.Int64 v) { $_setInt64(39, v); } + set headerBytesDuplicate($fixnum.Int64 v) { + $_setInt64(39, v); + } + @$pb.TagNumber(40) $core.bool hasHeaderBytesDuplicate() => $_has(39); @$pb.TagNumber(40) @@ -2864,7 +3522,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(41) $fixnum.Int64 get headerBytesPadding => $_getI64(40); @$pb.TagNumber(41) - set headerBytesPadding($fixnum.Int64 v) { $_setInt64(40, v); } + set headerBytesPadding($fixnum.Int64 v) { + $_setInt64(40, v); + } + @$pb.TagNumber(41) $core.bool hasHeaderBytesPadding() => $_has(40); @$pb.TagNumber(41) @@ -2873,7 +3534,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(44) RTPDrift get packetDrift => $_getN(41); @$pb.TagNumber(44) - set packetDrift(RTPDrift v) { setField(44, v); } + set packetDrift(RTPDrift v) { + setField(44, v); + } + @$pb.TagNumber(44) $core.bool hasPacketDrift() => $_has(41); @$pb.TagNumber(44) @@ -2884,7 +3548,10 @@ class RTPStats extends $pb.GeneratedMessage { @$pb.TagNumber(45) RTPDrift get reportDrift => $_getN(42); @$pb.TagNumber(45) - set reportDrift(RTPDrift v) { setField(45, v); } + set reportDrift(RTPDrift v) { + setField(45, v); + } + @$pb.TagNumber(45) $core.bool hasReportDrift() => $_has(42); @$pb.TagNumber(45) @@ -2908,40 +3575,51 @@ class TimedVersion extends $pb.GeneratedMessage { return $result; } TimedVersion._() : super(); - factory TimedVersion.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TimedVersion.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimedVersion', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory TimedVersion.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TimedVersion.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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 - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TimedVersion clone() => TimedVersion()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TimedVersion copyWith(void Function(TimedVersion) updates) => super.copyWith((message) => updates(message as TimedVersion)) as TimedVersion; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TimedVersion copyWith(void Function(TimedVersion) updates) => + super.copyWith((message) => updates(message as TimedVersion)) + as TimedVersion; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TimedVersion create() => TimedVersion._(); 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) $fixnum.Int64 get unixMicro => $_getI64(0); @$pb.TagNumber(1) - set unixMicro($fixnum.Int64 v) { $_setInt64(0, v); } + set unixMicro($fixnum.Int64 v) { + $_setInt64(0, v); + } + @$pb.TagNumber(1) $core.bool hasUnixMicro() => $_has(0); @$pb.TagNumber(1) @@ -2950,13 +3628,16 @@ class TimedVersion extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get ticks => $_getIZ(1); @$pb.TagNumber(2) - set ticks($core.int v) { $_setSignedInt32(1, v); } + set ticks($core.int v) { + $_setSignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasTicks() => $_has(1); @$pb.TagNumber(2) void clearTicks() => clearField(2); } - const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const _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 accf4636..e65c600c 100644 --- a/lib/src/proto/livekit_models.pbenum.dart +++ b/lib/src/proto/livekit_models.pbenum.dart @@ -14,30 +14,36 @@ 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 $core.List values = [ + static const $core.List values = [ DEFAULT_AC, OPUS, AAC, ]; - static final $core.Map<$core.int, AudioCodec> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, AudioCodec> _byValue = + $pb.ProtobufEnum.initByValue(values); static AudioCodec? valueOf($core.int value) => _byValue[value]; const AudioCodec._($core.int v, $core.String n) : super(v, n); } 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 = [ + static const $core.List values = [ DEFAULT_VC, H264_BASELINE, H264_MAIN, @@ -45,7 +51,8 @@ class VideoCodec extends $pb.ProtobufEnum { VP8, ]; - static final $core.Map<$core.int, VideoCodec> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, VideoCodec> _byValue = + $pb.ProtobufEnum.initByValue(values); static VideoCodec? valueOf($core.int value) => _byValue[value]; const VideoCodec._($core.int v, $core.String n) : super(v, n); @@ -56,26 +63,32 @@ class TrackType extends $pb.ProtobufEnum { static const TrackType VIDEO = TrackType._(1, _omitEnumNames ? '' : 'VIDEO'); static const TrackType DATA = TrackType._(2, _omitEnumNames ? '' : 'DATA'); - static const $core.List values = [ + static const $core.List values = [ AUDIO, VIDEO, DATA, ]; - static final $core.Map<$core.int, TrackType> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, TrackType> _byValue = + $pb.ProtobufEnum.initByValue(values); static TrackType? valueOf($core.int value) => _byValue[value]; const TrackType._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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, CAMERA, MICROPHONE, @@ -83,76 +96,98 @@ class TrackSource extends $pb.ProtobufEnum { SCREEN_SHARE_AUDIO, ]; - static final $core.Map<$core.int, TrackSource> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, TrackSource> _byValue = + $pb.ProtobufEnum.initByValue(values); static TrackSource? valueOf($core.int value) => _byValue[value]; const TrackSource._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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, MEDIUM, HIGH, OFF, ]; - static final $core.Map<$core.int, VideoQuality> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, VideoQuality> _byValue = + $pb.ProtobufEnum.initByValue(values); static VideoQuality? valueOf($core.int value) => _byValue[value]; const VideoQuality._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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 $core.List values = [ POOR, GOOD, EXCELLENT, ]; - static final $core.Map<$core.int, ConnectionQuality> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, ConnectionQuality> _byValue = + $pb.ProtobufEnum.initByValue(values); static ConnectionQuality? valueOf($core.int value) => _byValue[value]; const ConnectionQuality._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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, DISABLED, ENABLED, ]; - static final $core.Map<$core.int, ClientConfigSetting> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, ClientConfigSetting> _byValue = + $pb.ProtobufEnum.initByValue(values); static ClientConfigSetting? valueOf($core.int value) => _byValue[value]; const ClientConfigSetting._($core.int v, $core.String n) : super(v, n); } class DisconnectReason extends $pb.ProtobufEnum { - static const DisconnectReason UNKNOWN_REASON = DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); - static const DisconnectReason CLIENT_INITIATED = DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); - static const DisconnectReason DUPLICATE_IDENTITY = DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); - static const DisconnectReason SERVER_SHUTDOWN = DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); - static const DisconnectReason PARTICIPANT_REMOVED = DisconnectReason._(4, _omitEnumNames ? '' : 'PARTICIPANT_REMOVED'); - static const DisconnectReason ROOM_DELETED = DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); - static const DisconnectReason STATE_MISMATCH = DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); - static const DisconnectReason JOIN_FAILURE = DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); - - static const $core.List values = [ + static const DisconnectReason UNKNOWN_REASON = + DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); + static const DisconnectReason CLIENT_INITIATED = + DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); + static const DisconnectReason DUPLICATE_IDENTITY = + DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); + static const DisconnectReason SERVER_SHUTDOWN = + DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); + static const DisconnectReason PARTICIPANT_REMOVED = + DisconnectReason._(4, _omitEnumNames ? '' : 'PARTICIPANT_REMOVED'); + static const DisconnectReason ROOM_DELETED = + DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); + static const DisconnectReason STATE_MISMATCH = + DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); + static const DisconnectReason JOIN_FAILURE = + DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); + + static const $core.List values = [ UNKNOWN_REASON, CLIENT_INITIATED, DUPLICATE_IDENTITY, @@ -163,20 +198,26 @@ class DisconnectReason extends $pb.ProtobufEnum { JOIN_FAILURE, ]; - static final $core.Map<$core.int, DisconnectReason> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, DisconnectReason> _byValue = + $pb.ProtobufEnum.initByValue(values); static DisconnectReason? valueOf($core.int value) => _byValue[value]; const DisconnectReason._($core.int v, $core.String n) : super(v, n); } class ReconnectReason extends $pb.ProtobufEnum { - 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_SUBSCRIBER_FAILED = ReconnectReason._(3, _omitEnumNames ? '' : 'RR_SUBSCRIBER_FAILED'); - static const ReconnectReason RR_SWITCH_CANDIDATE = ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); - - static const $core.List values = [ + 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_SUBSCRIBER_FAILED = + ReconnectReason._(3, _omitEnumNames ? '' : 'RR_SUBSCRIBER_FAILED'); + static const ReconnectReason RR_SWITCH_CANDIDATE = + ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); + + static const $core.List values = [ RR_UNKNOWN, RR_SIGNAL_DISCONNECTED, RR_PUBLISHER_FAILED, @@ -184,109 +225,141 @@ class ReconnectReason extends $pb.ProtobufEnum { RR_SWITCH_CANDIDATE, ]; - static final $core.Map<$core.int, ReconnectReason> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, ReconnectReason> _byValue = + $pb.ProtobufEnum.initByValue(values); static ReconnectReason? valueOf($core.int value) => _byValue[value]; const ReconnectReason._($core.int v, $core.String n) : super(v, n); } class SubscriptionError extends $pb.ProtobufEnum { - 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 $core.List values = [ + 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 $core.List values = [ SE_UNKNOWN, SE_CODEC_UNSUPPORTED, SE_TRACK_NOTFOUND, ]; - static final $core.Map<$core.int, SubscriptionError> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, SubscriptionError> _byValue = + $pb.ProtobufEnum.initByValue(values); static SubscriptionError? valueOf($core.int value) => _byValue[value]; const SubscriptionError._($core.int v, $core.String n) : super(v, n); } class ParticipantInfo_State extends $pb.ProtobufEnum { - static const ParticipantInfo_State JOINING = ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); - static const ParticipantInfo_State JOINED = ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); - static const ParticipantInfo_State ACTIVE = ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); - static const ParticipantInfo_State DISCONNECTED = ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); - - static const $core.List values = [ + static const ParticipantInfo_State JOINING = + ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); + static const ParticipantInfo_State JOINED = + ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); + static const ParticipantInfo_State ACTIVE = + ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); + static const ParticipantInfo_State DISCONNECTED = + ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); + + static const $core.List values = + [ JOINING, JOINED, ACTIVE, DISCONNECTED, ]; - static final $core.Map<$core.int, ParticipantInfo_State> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, ParticipantInfo_State> _byValue = + $pb.ProtobufEnum.initByValue(values); static ParticipantInfo_State? valueOf($core.int value) => _byValue[value]; const ParticipantInfo_State._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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, GCM, CUSTOM, ]; - static final $core.Map<$core.int, Encryption_Type> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, Encryption_Type> _byValue = + $pb.ProtobufEnum.initByValue(values); static Encryption_Type? valueOf($core.int value) => _byValue[value]; const Encryption_Type._($core.int v, $core.String n) : super(v, n); } 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 = [ + static const $core.List values = [ RELIABLE, LOSSY, ]; - static final $core.Map<$core.int, DataPacket_Kind> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, DataPacket_Kind> _byValue = + $pb.ProtobufEnum.initByValue(values); static DataPacket_Kind? valueOf($core.int value) => _byValue[value]; const DataPacket_Kind._($core.int v, $core.String n) : super(v, n); } 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 = [ + static const $core.List values = [ Standard, Cloud, ]; - static final $core.Map<$core.int, ServerInfo_Edition> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, ServerInfo_Edition> _byValue = + $pb.ProtobufEnum.initByValue(values); static ServerInfo_Edition? valueOf($core.int value) => _byValue[value]; const ServerInfo_Edition._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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 $core.List values = [ UNKNOWN, JS, SWIFT, @@ -300,11 +373,11 @@ class ClientInfo_SDK extends $pb.ProtobufEnum { CPP, ]; - static final $core.Map<$core.int, ClientInfo_SDK> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, ClientInfo_SDK> _byValue = + $pb.ProtobufEnum.initByValue(values); static ClientInfo_SDK? valueOf($core.int value) => _byValue[value]; const ClientInfo_SDK._($core.int v, $core.String n) : super(v, n); } - const _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 67825864..1dff91e3 100644 --- a/lib/src/proto/livekit_models.pbjson.dart +++ b/lib/src/proto/livekit_models.pbjson.dart @@ -184,12 +184,26 @@ const Room$json = { {'1': 'max_participants', '3': 4, '4': 1, '5': 13, '10': 'maxParticipants'}, {'1': 'creation_time', '3': 5, '4': 1, '5': 3, '10': 'creationTime'}, {'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': 'playout_delay', '3': 12, '4': 1, '5': 11, '6': '.livekit.PlayoutDelay', '10': 'playoutDelay'}, + { + '1': 'playout_delay', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.PlayoutDelay', + '10': 'playoutDelay' + }, ], }; @@ -240,10 +254,23 @@ 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', '3': 8, '4': 1, '5': 8, '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' + }, ], }; @@ -262,13 +289,34 @@ 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': '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'}, ], @@ -325,7 +373,14 @@ 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': 'layers', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, ], }; @@ -340,21 +395,56 @@ 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'}, {'1': 'width', '3': 5, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 6, '4': 1, '5': 13, '10': 'height'}, {'1': 'simulcast', '3': 7, '4': 1, '5': 8, '10': 'simulcast'}, {'1': 'disable_dtx', '3': 8, '4': 1, '5': 8, '10': 'disableDtx'}, - {'1': 'source', '3': 9, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, - {'1': 'layers', '3': 10, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, + { + '1': 'source', + '3': 9, + '4': 1, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'source' + }, + { + '1': 'layers', + '3': 10, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, {'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, '4': 1, '5': 8, '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'}, ], }; @@ -376,7 +466,14 @@ final $typed_data.Uint8List trackInfoDescriptor = $convert.base64Decode( 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'}, @@ -394,9 +491,32 @@ final $typed_data.Uint8List videoLayerDescriptor = $convert.base64Decode( const DataPacket$json = { '1': 'DataPacket', '2': [ - {'1': 'kind', '3': 1, '4': 1, '5': 14, '6': '.livekit.DataPacket.Kind', '10': 'kind'}, - {'1': 'user', '3': 2, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, - {'1': 'speaker', '3': 3, '4': 1, '5': 11, '6': '.livekit.ActiveSpeakerUpdate', '9': 0, '10': 'speaker'}, + { + '1': 'kind', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.DataPacket.Kind', + '10': 'kind' + }, + { + '1': 'user', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.UserPacket', + '9': 0, + '10': 'user' + }, + { + '1': 'speaker', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ActiveSpeakerUpdate', + '9': 0, + '10': 'speaker' + }, ], '4': [DataPacket_Kind$json], '8': [ @@ -424,7 +544,14 @@ final $typed_data.Uint8List dataPacketDescriptor = $convert.base64Decode( 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' + }, ], }; @@ -453,10 +580,22 @@ const UserPacket$json = { '1': 'UserPacket', '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, - {'1': 'participant_identity', '3': 5, '4': 1, '5': 9, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 5, + '4': 1, + '5': 9, + '10': 'participantIdentity' + }, {'1': 'payload', '3': 2, '4': 1, '5': 12, '10': 'payload'}, {'1': 'destination_sids', '3': 3, '4': 3, '5': 9, '10': 'destinationSids'}, - {'1': 'destination_identities', '3': 6, '4': 3, '5': 9, '10': 'destinationIdentities'}, + { + '1': 'destination_identities', + '3': 6, + '4': 3, + '5': 9, + '10': 'destinationIdentities' + }, {'1': 'topic', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'topic', '17': true}, ], '8': [ @@ -490,7 +629,14 @@ final $typed_data.Uint8List participantTracksDescriptor = $convert.base64Decode( 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'}, @@ -521,7 +667,14 @@ final $typed_data.Uint8List serverInfoDescriptor = $convert.base64Decode( 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'}, @@ -568,11 +721,46 @@ final $typed_data.Uint8List clientInfoDescriptor = $convert.base64Decode( 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' + }, ], }; @@ -589,7 +777,14 @@ final $typed_data.Uint8List clientConfigurationDescriptor = $convert.base64Decod 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' + }, ], }; @@ -602,8 +797,22 @@ final $typed_data.Uint8List videoConfigurationDescriptor = $convert.base64Decode 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' + }, ], }; @@ -616,8 +825,22 @@ final $typed_data.Uint8List disabledCodecsDescriptor = $convert.base64Decode( 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'}, @@ -642,8 +865,22 @@ final $typed_data.Uint8List rTPDriftDescriptor = $convert.base64Decode( 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'}, @@ -652,39 +889,136 @@ 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': 'report_drift', '3': 45, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'reportDrift'}, + { + '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': 'report_drift', + '3': 45, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'reportDrift' + }, ], '3': [RTPStats_GapHistogramEntry$json], }; @@ -749,4 +1083,3 @@ const TimedVersion$json = { final $typed_data.Uint8List timedVersionDescriptor = $convert.base64Decode( 'CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' 'IgASgFUgV0aWNrcw=='); - diff --git a/lib/src/proto/livekit_models.pbserver.dart b/lib/src/proto/livekit_models.pbserver.dart index 34ef45f3..6bb6f6ed 100644 --- a/lib/src/proto/livekit_models.pbserver.dart +++ b/lib/src/proto/livekit_models.pbserver.dart @@ -11,4 +11,3 @@ // 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 4bea653e..e35cec95 100644 --- a/lib/src/proto/livekit_rtc.pb.dart +++ b/lib/src/proto/livekit_rtc.pb.dart @@ -21,21 +21,21 @@ import 'livekit_rtc.pbenum.dart'; export 'livekit_rtc.pbenum.dart'; enum SignalRequest_Message { - offer, - answer, - trickle, - addTrack, - mute, - subscription, - trackSetting, - leave, - updateLayers, - subscriptionPermission, - syncState, - simulate, - ping, - updateMetadata, - pingReq, + offer, + answer, + trickle, + addTrack, + mute, + subscription, + trackSetting, + leave, + updateLayers, + subscriptionPermission, + syncState, + simulate, + ping, + updateMetadata, + pingReq, notSet } @@ -106,76 +106,104 @@ class SignalRequest extends $pb.GeneratedMessage { return $result; } SignalRequest._() : super(); - factory SignalRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SignalRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, SignalRequest_Message> _SignalRequest_MessageByTag = { - 1 : SignalRequest_Message.offer, - 2 : SignalRequest_Message.answer, - 3 : SignalRequest_Message.trickle, - 4 : SignalRequest_Message.addTrack, - 5 : SignalRequest_Message.mute, - 6 : SignalRequest_Message.subscription, - 7 : SignalRequest_Message.trackSetting, - 8 : SignalRequest_Message.leave, - 10 : SignalRequest_Message.updateLayers, - 11 : SignalRequest_Message.subscriptionPermission, - 12 : SignalRequest_Message.syncState, - 13 : SignalRequest_Message.simulate, - 14 : SignalRequest_Message.ping, - 15 : SignalRequest_Message.updateMetadata, - 16 : SignalRequest_Message.pingReq, - 0 : SignalRequest_Message.notSet + factory SignalRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SignalRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, SignalRequest_Message> + _SignalRequest_MessageByTag = { + 1: SignalRequest_Message.offer, + 2: SignalRequest_Message.answer, + 3: SignalRequest_Message.trickle, + 4: SignalRequest_Message.addTrack, + 5: SignalRequest_Message.mute, + 6: SignalRequest_Message.subscription, + 7: SignalRequest_Message.trackSetting, + 8: SignalRequest_Message.leave, + 10: SignalRequest_Message.updateLayers, + 11: SignalRequest_Message.subscriptionPermission, + 12: SignalRequest_Message.syncState, + 13: SignalRequest_Message.simulate, + 14: SignalRequest_Message.ping, + 15: SignalRequest_Message.updateMetadata, + 16: SignalRequest_Message.pingReq, + 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]) - ..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(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) ..aInt64(14, _omitFieldNames ? '' : 'ping') - ..aOM(15, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) + ..aOM( + 15, _omitFieldNames ? '' : 'updateMetadata', + subBuilder: UpdateParticipantMetadata.create) ..aOM(16, _omitFieldNames ? '' : 'pingReq', subBuilder: Ping.create) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SignalRequest clone() => SignalRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SignalRequest copyWith(void Function(SignalRequest) updates) => super.copyWith((message) => updates(message as SignalRequest)) as SignalRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SignalRequest copyWith(void Function(SignalRequest) updates) => + super.copyWith((message) => updates(message as SignalRequest)) + as SignalRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SignalRequest create() => SignalRequest._(); 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)); /// initial join exchange, for publisher @$pb.TagNumber(1) SessionDescription get offer => $_getN(0); @$pb.TagNumber(1) - set offer(SessionDescription v) { setField(1, v); } + set offer(SessionDescription v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasOffer() => $_has(0); @$pb.TagNumber(1) @@ -187,7 +215,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) SessionDescription get answer => $_getN(1); @$pb.TagNumber(2) - set answer(SessionDescription v) { setField(2, v); } + set answer(SessionDescription v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasAnswer() => $_has(1); @$pb.TagNumber(2) @@ -198,7 +229,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) TrickleRequest get trickle => $_getN(2); @$pb.TagNumber(3) - set trickle(TrickleRequest v) { setField(3, v); } + set trickle(TrickleRequest v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasTrickle() => $_has(2); @$pb.TagNumber(3) @@ -209,7 +243,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) AddTrackRequest get addTrack => $_getN(3); @$pb.TagNumber(4) - set addTrack(AddTrackRequest v) { setField(4, v); } + set addTrack(AddTrackRequest v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasAddTrack() => $_has(3); @$pb.TagNumber(4) @@ -221,7 +258,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) MuteTrackRequest get mute => $_getN(4); @$pb.TagNumber(5) - set mute(MuteTrackRequest v) { setField(5, v); } + set mute(MuteTrackRequest v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasMute() => $_has(4); @$pb.TagNumber(5) @@ -233,7 +273,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(6) UpdateSubscription get subscription => $_getN(5); @$pb.TagNumber(6) - set subscription(UpdateSubscription v) { setField(6, v); } + set subscription(UpdateSubscription v) { + setField(6, v); + } + @$pb.TagNumber(6) $core.bool hasSubscription() => $_has(5); @$pb.TagNumber(6) @@ -245,7 +288,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(7) UpdateTrackSettings get trackSetting => $_getN(6); @$pb.TagNumber(7) - set trackSetting(UpdateTrackSettings v) { setField(7, v); } + set trackSetting(UpdateTrackSettings v) { + setField(7, v); + } + @$pb.TagNumber(7) $core.bool hasTrackSetting() => $_has(6); @$pb.TagNumber(7) @@ -257,7 +303,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(8) LeaveRequest get leave => $_getN(7); @$pb.TagNumber(8) - set leave(LeaveRequest v) { setField(8, v); } + set leave(LeaveRequest v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasLeave() => $_has(7); @$pb.TagNumber(8) @@ -269,7 +318,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(10) UpdateVideoLayers get updateLayers => $_getN(8); @$pb.TagNumber(10) - set updateLayers(UpdateVideoLayers v) { setField(10, v); } + set updateLayers(UpdateVideoLayers v) { + setField(10, v); + } + @$pb.TagNumber(10) $core.bool hasUpdateLayers() => $_has(8); @$pb.TagNumber(10) @@ -281,7 +333,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(11) SubscriptionPermission get subscriptionPermission => $_getN(9); @$pb.TagNumber(11) - set subscriptionPermission(SubscriptionPermission v) { setField(11, v); } + set subscriptionPermission(SubscriptionPermission v) { + setField(11, v); + } + @$pb.TagNumber(11) $core.bool hasSubscriptionPermission() => $_has(9); @$pb.TagNumber(11) @@ -293,7 +348,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(12) SyncState get syncState => $_getN(10); @$pb.TagNumber(12) - set syncState(SyncState v) { setField(12, v); } + set syncState(SyncState v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasSyncState() => $_has(10); @$pb.TagNumber(12) @@ -305,7 +363,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(13) SimulateScenario get simulate => $_getN(11); @$pb.TagNumber(13) - set simulate(SimulateScenario v) { setField(13, v); } + set simulate(SimulateScenario v) { + setField(13, v); + } + @$pb.TagNumber(13) $core.bool hasSimulate() => $_has(11); @$pb.TagNumber(13) @@ -317,7 +378,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(14) $fixnum.Int64 get ping => $_getI64(12); @$pb.TagNumber(14) - set ping($fixnum.Int64 v) { $_setInt64(12, v); } + set ping($fixnum.Int64 v) { + $_setInt64(12, v); + } + @$pb.TagNumber(14) $core.bool hasPing() => $_has(12); @$pb.TagNumber(14) @@ -327,7 +391,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(15) UpdateParticipantMetadata get updateMetadata => $_getN(13); @$pb.TagNumber(15) - set updateMetadata(UpdateParticipantMetadata v) { setField(15, v); } + set updateMetadata(UpdateParticipantMetadata v) { + setField(15, v); + } + @$pb.TagNumber(15) $core.bool hasUpdateMetadata() => $_has(13); @$pb.TagNumber(15) @@ -338,7 +405,10 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(16) Ping get pingReq => $_getN(14); @$pb.TagNumber(16) - set pingReq(Ping v) { setField(16, v); } + set pingReq(Ping v) { + setField(16, v); + } + @$pb.TagNumber(16) $core.bool hasPingReq() => $_has(14); @$pb.TagNumber(16) @@ -348,26 +418,26 @@ class SignalRequest extends $pb.GeneratedMessage { } enum SignalResponse_Message { - join, - answer, - offer, - trickle, - update, - trackPublished, - leave, - mute, - speakersChanged, - roomUpdate, - connectionQuality, - streamStateUpdate, - subscribedQualityUpdate, - subscriptionPermissionUpdate, - refreshToken, - trackUnpublished, - pong, - reconnect, - pongResp, - subscriptionResponse, + join, + answer, + offer, + trickle, + update, + trackPublished, + leave, + mute, + speakersChanged, + roomUpdate, + connectionQuality, + streamStateUpdate, + subscribedQualityUpdate, + subscriptionPermissionUpdate, + refreshToken, + trackUnpublished, + pong, + reconnect, + pongResp, + subscriptionResponse, notSet } @@ -458,86 +528,142 @@ class SignalResponse extends $pb.GeneratedMessage { return $result; } SignalResponse._() : super(); - factory SignalResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SignalResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, SignalResponse_Message> _SignalResponse_MessageByTag = { - 1 : SignalResponse_Message.join, - 2 : SignalResponse_Message.answer, - 3 : SignalResponse_Message.offer, - 4 : SignalResponse_Message.trickle, - 5 : SignalResponse_Message.update, - 6 : SignalResponse_Message.trackPublished, - 8 : SignalResponse_Message.leave, - 9 : SignalResponse_Message.mute, - 10 : SignalResponse_Message.speakersChanged, - 11 : SignalResponse_Message.roomUpdate, - 12 : SignalResponse_Message.connectionQuality, - 13 : SignalResponse_Message.streamStateUpdate, - 14 : SignalResponse_Message.subscribedQualityUpdate, - 15 : SignalResponse_Message.subscriptionPermissionUpdate, - 16 : SignalResponse_Message.refreshToken, - 17 : SignalResponse_Message.trackUnpublished, - 18 : SignalResponse_Message.pong, - 19 : SignalResponse_Message.reconnect, - 20 : SignalResponse_Message.pongResp, - 21 : SignalResponse_Message.subscriptionResponse, - 0 : SignalResponse_Message.notSet + factory SignalResponse.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SignalResponse.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, SignalResponse_Message> + _SignalResponse_MessageByTag = { + 1: SignalResponse_Message.join, + 2: SignalResponse_Message.answer, + 3: SignalResponse_Message.offer, + 4: SignalResponse_Message.trickle, + 5: SignalResponse_Message.update, + 6: SignalResponse_Message.trackPublished, + 8: SignalResponse_Message.leave, + 9: SignalResponse_Message.mute, + 10: SignalResponse_Message.speakersChanged, + 11: SignalResponse_Message.roomUpdate, + 12: SignalResponse_Message.connectionQuality, + 13: SignalResponse_Message.streamStateUpdate, + 14: SignalResponse_Message.subscribedQualityUpdate, + 15: SignalResponse_Message.subscriptionPermissionUpdate, + 16: SignalResponse_Message.refreshToken, + 17: SignalResponse_Message.trackUnpublished, + 18: SignalResponse_Message.pong, + 19: SignalResponse_Message.reconnect, + 20: SignalResponse_Message.pongResp, + 21: SignalResponse_Message.subscriptionResponse, + 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]) - ..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', subBuilder: SubscribedQualityUpdate.create) - ..aOM(15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', subBuilder: SubscriptionPermissionUpdate.create) + 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 + ]) + ..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', + subBuilder: SubscribedQualityUpdate.create) + ..aOM( + 15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', + subBuilder: SubscriptionPermissionUpdate.create) ..aOS(16, _omitFieldNames ? '' : 'refreshToken') - ..aOM(17, _omitFieldNames ? '' : 'trackUnpublished', subBuilder: TrackUnpublishedResponse.create) + ..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', subBuilder: SubscriptionResponse.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..aOM( + 21, _omitFieldNames ? '' : 'subscriptionResponse', + subBuilder: SubscriptionResponse.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SignalResponse clone() => SignalResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SignalResponse copyWith(void Function(SignalResponse) updates) => super.copyWith((message) => updates(message as SignalResponse)) as SignalResponse; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SignalResponse copyWith(void Function(SignalResponse) updates) => + super.copyWith((message) => updates(message as SignalResponse)) + as SignalResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SignalResponse create() => SignalResponse._(); 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 @$pb.TagNumber(1) JoinResponse get join => $_getN(0); @$pb.TagNumber(1) - set join(JoinResponse v) { setField(1, v); } + set join(JoinResponse v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasJoin() => $_has(0); @$pb.TagNumber(1) @@ -549,7 +675,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) SessionDescription get answer => $_getN(1); @$pb.TagNumber(2) - set answer(SessionDescription v) { setField(2, v); } + set answer(SessionDescription v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasAnswer() => $_has(1); @$pb.TagNumber(2) @@ -561,7 +690,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(3) SessionDescription get offer => $_getN(2); @$pb.TagNumber(3) - set offer(SessionDescription v) { setField(3, v); } + set offer(SessionDescription v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasOffer() => $_has(2); @$pb.TagNumber(3) @@ -573,7 +705,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(4) TrickleRequest get trickle => $_getN(3); @$pb.TagNumber(4) - set trickle(TrickleRequest v) { setField(4, v); } + set trickle(TrickleRequest v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasTrickle() => $_has(3); @$pb.TagNumber(4) @@ -585,7 +720,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(5) ParticipantUpdate get update => $_getN(4); @$pb.TagNumber(5) - set update(ParticipantUpdate v) { setField(5, v); } + set update(ParticipantUpdate v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasUpdate() => $_has(4); @$pb.TagNumber(5) @@ -597,7 +735,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(6) TrackPublishedResponse get trackPublished => $_getN(5); @$pb.TagNumber(6) - set trackPublished(TrackPublishedResponse v) { setField(6, v); } + set trackPublished(TrackPublishedResponse v) { + setField(6, v); + } + @$pb.TagNumber(6) $core.bool hasTrackPublished() => $_has(5); @$pb.TagNumber(6) @@ -609,7 +750,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(8) LeaveRequest get leave => $_getN(6); @$pb.TagNumber(8) - set leave(LeaveRequest v) { setField(8, v); } + set leave(LeaveRequest v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasLeave() => $_has(6); @$pb.TagNumber(8) @@ -621,7 +765,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(9) MuteTrackRequest get mute => $_getN(7); @$pb.TagNumber(9) - set mute(MuteTrackRequest v) { setField(9, v); } + set mute(MuteTrackRequest v) { + setField(9, v); + } + @$pb.TagNumber(9) $core.bool hasMute() => $_has(7); @$pb.TagNumber(9) @@ -633,7 +780,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(10) SpeakersChanged get speakersChanged => $_getN(8); @$pb.TagNumber(10) - set speakersChanged(SpeakersChanged v) { setField(10, v); } + set speakersChanged(SpeakersChanged v) { + setField(10, v); + } + @$pb.TagNumber(10) $core.bool hasSpeakersChanged() => $_has(8); @$pb.TagNumber(10) @@ -645,7 +795,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(11) RoomUpdate get roomUpdate => $_getN(9); @$pb.TagNumber(11) - set roomUpdate(RoomUpdate v) { setField(11, v); } + set roomUpdate(RoomUpdate v) { + setField(11, v); + } + @$pb.TagNumber(11) $core.bool hasRoomUpdate() => $_has(9); @$pb.TagNumber(11) @@ -657,7 +810,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(12) ConnectionQualityUpdate get connectionQuality => $_getN(10); @$pb.TagNumber(12) - set connectionQuality(ConnectionQualityUpdate v) { setField(12, v); } + set connectionQuality(ConnectionQualityUpdate v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasConnectionQuality() => $_has(10); @$pb.TagNumber(12) @@ -670,7 +826,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(13) StreamStateUpdate get streamStateUpdate => $_getN(11); @$pb.TagNumber(13) - set streamStateUpdate(StreamStateUpdate v) { setField(13, v); } + set streamStateUpdate(StreamStateUpdate v) { + setField(13, v); + } + @$pb.TagNumber(13) $core.bool hasStreamStateUpdate() => $_has(11); @$pb.TagNumber(13) @@ -682,7 +841,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(14) SubscribedQualityUpdate get subscribedQualityUpdate => $_getN(12); @$pb.TagNumber(14) - set subscribedQualityUpdate(SubscribedQualityUpdate v) { setField(14, v); } + set subscribedQualityUpdate(SubscribedQualityUpdate v) { + setField(14, v); + } + @$pb.TagNumber(14) $core.bool hasSubscribedQualityUpdate() => $_has(12); @$pb.TagNumber(14) @@ -694,19 +856,26 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(15) SubscriptionPermissionUpdate get subscriptionPermissionUpdate => $_getN(13); @$pb.TagNumber(15) - set subscriptionPermissionUpdate(SubscriptionPermissionUpdate v) { setField(15, v); } + set subscriptionPermissionUpdate(SubscriptionPermissionUpdate v) { + setField(15, v); + } + @$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) $core.String get refreshToken => $_getSZ(14); @$pb.TagNumber(16) - set refreshToken($core.String v) { $_setString(14, v); } + set refreshToken($core.String v) { + $_setString(14, v); + } + @$pb.TagNumber(16) $core.bool hasRefreshToken() => $_has(14); @$pb.TagNumber(16) @@ -716,7 +885,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(17) TrackUnpublishedResponse get trackUnpublished => $_getN(15); @$pb.TagNumber(17) - set trackUnpublished(TrackUnpublishedResponse v) { setField(17, v); } + set trackUnpublished(TrackUnpublishedResponse v) { + setField(17, v); + } + @$pb.TagNumber(17) $core.bool hasTrackUnpublished() => $_has(15); @$pb.TagNumber(17) @@ -728,7 +900,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(18) $fixnum.Int64 get pong => $_getI64(16); @$pb.TagNumber(18) - set pong($fixnum.Int64 v) { $_setInt64(16, v); } + set pong($fixnum.Int64 v) { + $_setInt64(16, v); + } + @$pb.TagNumber(18) $core.bool hasPong() => $_has(16); @$pb.TagNumber(18) @@ -738,7 +913,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(19) ReconnectResponse get reconnect => $_getN(17); @$pb.TagNumber(19) - set reconnect(ReconnectResponse v) { setField(19, v); } + set reconnect(ReconnectResponse v) { + setField(19, v); + } + @$pb.TagNumber(19) $core.bool hasReconnect() => $_has(17); @$pb.TagNumber(19) @@ -750,7 +928,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(20) Pong get pongResp => $_getN(18); @$pb.TagNumber(20) - set pongResp(Pong v) { setField(20, v); } + set pongResp(Pong v) { + setField(20, v); + } + @$pb.TagNumber(20) $core.bool hasPongResp() => $_has(18); @$pb.TagNumber(20) @@ -762,7 +943,10 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(21) SubscriptionResponse get subscriptionResponse => $_getN(19); @$pb.TagNumber(21) - set subscriptionResponse(SubscriptionResponse v) { setField(21, v); } + set subscriptionResponse(SubscriptionResponse v) { + setField(21, v); + } + @$pb.TagNumber(21) $core.bool hasSubscriptionResponse() => $_has(19); @$pb.TagNumber(21) @@ -786,40 +970,51 @@ class SimulcastCodec extends $pb.GeneratedMessage { return $result; } SimulcastCodec._() : super(); - factory SimulcastCodec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SimulcastCodec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodec', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SimulcastCodec.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SimulcastCodec.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SimulcastCodec clone() => SimulcastCodec()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SimulcastCodec copyWith(void Function(SimulcastCodec) updates) => super.copyWith((message) => updates(message as SimulcastCodec)) as SimulcastCodec; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SimulcastCodec copyWith(void Function(SimulcastCodec) updates) => + super.copyWith((message) => updates(message as SimulcastCodec)) + as SimulcastCodec; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SimulcastCodec create() => SimulcastCodec._(); 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) $core.String get codec => $_getSZ(0); @$pb.TagNumber(1) - set codec($core.String v) { $_setString(0, v); } + set codec($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasCodec() => $_has(0); @$pb.TagNumber(1) @@ -828,7 +1023,10 @@ class SimulcastCodec extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get cid => $_getSZ(1); @$pb.TagNumber(2) - set cid($core.String v) { $_setString(1, v); } + set cid($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasCid() => $_has(1); @$pb.TagNumber(2) @@ -902,54 +1100,78 @@ class AddTrackRequest extends $pb.GeneratedMessage { return $result; } AddTrackRequest._() : super(); - factory AddTrackRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddTrackRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTrackRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory AddTrackRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AddTrackRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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<$1.TrackType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $1.TrackType.AUDIO, valueOf: $1.TrackType.valueOf, enumValues: $1.TrackType.values) + ..e<$1.TrackType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: $1.TrackType.AUDIO, + valueOf: $1.TrackType.valueOf, + enumValues: $1.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<$1.TrackSource>(8, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, defaultOrMaker: $1.TrackSource.UNKNOWN, valueOf: $1.TrackSource.valueOf, enumValues: $1.TrackSource.values) - ..pc<$1.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $1.VideoLayer.create) - ..pc(10, _omitFieldNames ? '' : 'simulcastCodecs', $pb.PbFieldType.PM, subBuilder: SimulcastCodec.create) + ..e<$1.TrackSource>(8, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, + defaultOrMaker: $1.TrackSource.UNKNOWN, + valueOf: $1.TrackSource.valueOf, + enumValues: $1.TrackSource.values) + ..pc<$1.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: $1.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<$1.Encryption_Type>(14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, defaultOrMaker: $1.Encryption_Type.NONE, valueOf: $1.Encryption_Type.valueOf, enumValues: $1.Encryption_Type.values) + ..e<$1.Encryption_Type>( + 14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, + defaultOrMaker: $1.Encryption_Type.NONE, + valueOf: $1.Encryption_Type.valueOf, + enumValues: $1.Encryption_Type.values) ..aOS(15, _omitFieldNames ? '' : 'stream') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') AddTrackRequest clone() => AddTrackRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddTrackRequest copyWith(void Function(AddTrackRequest) updates) => super.copyWith((message) => updates(message as AddTrackRequest)) as AddTrackRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AddTrackRequest copyWith(void Function(AddTrackRequest) updates) => + super.copyWith((message) => updates(message as AddTrackRequest)) + as AddTrackRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AddTrackRequest create() => AddTrackRequest._(); 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 @$pb.TagNumber(1) $core.String get cid => $_getSZ(0); @$pb.TagNumber(1) - set cid($core.String v) { $_setString(0, v); } + set cid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasCid() => $_has(0); @$pb.TagNumber(1) @@ -958,7 +1180,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get name => $_getSZ(1); @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } + set name($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasName() => $_has(1); @$pb.TagNumber(2) @@ -967,7 +1192,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $1.TrackType get type => $_getN(2); @$pb.TagNumber(3) - set type($1.TrackType v) { setField(3, v); } + set type($1.TrackType v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasType() => $_has(2); @$pb.TagNumber(3) @@ -977,7 +1205,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get width => $_getIZ(3); @$pb.TagNumber(4) - set width($core.int v) { $_setUnsignedInt32(3, v); } + set width($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(4) $core.bool hasWidth() => $_has(3); @$pb.TagNumber(4) @@ -986,7 +1217,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.int get height => $_getIZ(4); @$pb.TagNumber(5) - set height($core.int v) { $_setUnsignedInt32(4, v); } + set height($core.int v) { + $_setUnsignedInt32(4, v); + } + @$pb.TagNumber(5) $core.bool hasHeight() => $_has(4); @$pb.TagNumber(5) @@ -996,7 +1230,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get muted => $_getBF(5); @$pb.TagNumber(6) - set muted($core.bool v) { $_setBool(5, v); } + set muted($core.bool v) { + $_setBool(5, v); + } + @$pb.TagNumber(6) $core.bool hasMuted() => $_has(5); @$pb.TagNumber(6) @@ -1006,7 +1243,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.bool get disableDtx => $_getBF(6); @$pb.TagNumber(7) - set disableDtx($core.bool v) { $_setBool(6, v); } + set disableDtx($core.bool v) { + $_setBool(6, v); + } + @$pb.TagNumber(7) $core.bool hasDisableDtx() => $_has(6); @$pb.TagNumber(7) @@ -1015,7 +1255,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(8) $1.TrackSource get source => $_getN(7); @$pb.TagNumber(8) - set source($1.TrackSource v) { setField(8, v); } + set source($1.TrackSource v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasSource() => $_has(7); @$pb.TagNumber(8) @@ -1031,7 +1274,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.String get sid => $_getSZ(10); @$pb.TagNumber(11) - set sid($core.String v) { $_setString(10, v); } + set sid($core.String v) { + $_setString(10, v); + } + @$pb.TagNumber(11) $core.bool hasSid() => $_has(10); @$pb.TagNumber(11) @@ -1040,7 +1286,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.bool get stereo => $_getBF(11); @$pb.TagNumber(12) - set stereo($core.bool v) { $_setBool(11, v); } + set stereo($core.bool v) { + $_setBool(11, v); + } + @$pb.TagNumber(12) $core.bool hasStereo() => $_has(11); @$pb.TagNumber(12) @@ -1050,7 +1299,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(13) $core.bool get disableRed => $_getBF(12); @$pb.TagNumber(13) - set disableRed($core.bool v) { $_setBool(12, v); } + set disableRed($core.bool v) { + $_setBool(12, v); + } + @$pb.TagNumber(13) $core.bool hasDisableRed() => $_has(12); @$pb.TagNumber(13) @@ -1059,7 +1311,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(14) $1.Encryption_Type get encryption => $_getN(13); @$pb.TagNumber(14) - set encryption($1.Encryption_Type v) { setField(14, v); } + set encryption($1.Encryption_Type v) { + setField(14, v); + } + @$pb.TagNumber(14) $core.bool hasEncryption() => $_has(13); @$pb.TagNumber(14) @@ -1070,7 +1325,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(15) $core.String get stream => $_getSZ(14); @$pb.TagNumber(15) - set stream($core.String v) { $_setString(14, v); } + set stream($core.String v) { + $_setString(14, v); + } + @$pb.TagNumber(15) $core.bool hasStream() => $_has(14); @$pb.TagNumber(15) @@ -1092,40 +1350,54 @@ class TrickleRequest extends $pb.GeneratedMessage { return $result; } TrickleRequest._() : super(); - factory TrickleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrickleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrickleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory TrickleRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TrickleRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..e(2, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, + defaultOrMaker: SignalTarget.PUBLISHER, + valueOf: SignalTarget.valueOf, + enumValues: SignalTarget.values) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TrickleRequest clone() => TrickleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrickleRequest copyWith(void Function(TrickleRequest) updates) => super.copyWith((message) => updates(message as TrickleRequest)) as TrickleRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TrickleRequest copyWith(void Function(TrickleRequest) updates) => + super.copyWith((message) => updates(message as TrickleRequest)) + as TrickleRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TrickleRequest create() => TrickleRequest._(); 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) $core.String get candidateInit => $_getSZ(0); @$pb.TagNumber(1) - set candidateInit($core.String v) { $_setString(0, v); } + set candidateInit($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasCandidateInit() => $_has(0); @$pb.TagNumber(1) @@ -1134,7 +1406,10 @@ class TrickleRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) SignalTarget get target => $_getN(1); @$pb.TagNumber(2) - set target(SignalTarget v) { setField(2, v); } + set target(SignalTarget v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasTarget() => $_has(1); @$pb.TagNumber(2) @@ -1156,40 +1431,51 @@ class MuteTrackRequest extends $pb.GeneratedMessage { return $result; } MuteTrackRequest._() : super(); - factory MuteTrackRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MuteTrackRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MuteTrackRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory MuteTrackRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MuteTrackRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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 - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') MuteTrackRequest clone() => MuteTrackRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MuteTrackRequest copyWith(void Function(MuteTrackRequest) updates) => super.copyWith((message) => updates(message as MuteTrackRequest)) as MuteTrackRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MuteTrackRequest copyWith(void Function(MuteTrackRequest) updates) => + super.copyWith((message) => updates(message as MuteTrackRequest)) + as MuteTrackRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MuteTrackRequest create() => MuteTrackRequest._(); 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) $core.String get sid => $_getSZ(0); @$pb.TagNumber(1) - set sid($core.String v) { $_setString(0, v); } + set sid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasSid() => $_has(0); @$pb.TagNumber(1) @@ -1198,7 +1484,10 @@ class MuteTrackRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get muted => $_getBF(1); @$pb.TagNumber(2) - set muted($core.bool v) { $_setBool(1, v); } + set muted($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(2) $core.bool hasMuted() => $_has(1); @$pb.TagNumber(2) @@ -1264,51 +1553,71 @@ class JoinResponse extends $pb.GeneratedMessage { return $result; } JoinResponse._() : super(); - factory JoinResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory JoinResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory JoinResponse.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory JoinResponse.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'JoinResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOM<$1.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $1.Room.create) - ..aOM<$1.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', subBuilder: $1.ParticipantInfo.create) - ..pc<$1.ParticipantInfo>(3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $1.ParticipantInfo.create) + ..aOM<$1.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', + subBuilder: $1.ParticipantInfo.create) + ..pc<$1.ParticipantInfo>( + 3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, + subBuilder: $1.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<$1.ClientConfiguration>(8, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $1.ClientConfiguration.create) + ..aOM<$1.ClientConfiguration>( + 8, _omitFieldNames ? '' : 'clientConfiguration', + subBuilder: $1.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<$1.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', subBuilder: $1.ServerInfo.create) - ..a<$core.List<$core.int>>(13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$core.int>( + 11, _omitFieldNames ? '' : 'pingInterval', $pb.PbFieldType.O3) + ..aOM<$1.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', + subBuilder: $1.ServerInfo.create) + ..a<$core.List<$core.int>>( + 13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') JoinResponse clone() => JoinResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - JoinResponse copyWith(void Function(JoinResponse) updates) => super.copyWith((message) => updates(message as JoinResponse)) as JoinResponse; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + JoinResponse copyWith(void Function(JoinResponse) updates) => + super.copyWith((message) => updates(message as JoinResponse)) + as JoinResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static JoinResponse create() => JoinResponse._(); 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) $1.Room get room => $_getN(0); @$pb.TagNumber(1) - set room($1.Room v) { setField(1, v); } + set room($1.Room v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasRoom() => $_has(0); @$pb.TagNumber(1) @@ -1319,7 +1628,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.ParticipantInfo get participant => $_getN(1); @$pb.TagNumber(2) - set participant($1.ParticipantInfo v) { setField(2, v); } + set participant($1.ParticipantInfo v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasParticipant() => $_has(1); @$pb.TagNumber(2) @@ -1334,7 +1646,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get serverVersion => $_getSZ(3); @$pb.TagNumber(4) - set serverVersion($core.String v) { $_setString(3, v); } + set serverVersion($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(4) $core.bool hasServerVersion() => $_has(3); @$pb.TagNumber(4) @@ -1347,7 +1662,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get subscriberPrimary => $_getBF(5); @$pb.TagNumber(6) - set subscriberPrimary($core.bool v) { $_setBool(5, v); } + set subscriberPrimary($core.bool v) { + $_setBool(5, v); + } + @$pb.TagNumber(6) $core.bool hasSubscriberPrimary() => $_has(5); @$pb.TagNumber(6) @@ -1358,7 +1676,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.String get alternativeUrl => $_getSZ(6); @$pb.TagNumber(7) - set alternativeUrl($core.String v) { $_setString(6, v); } + set alternativeUrl($core.String v) { + $_setString(6, v); + } + @$pb.TagNumber(7) $core.bool hasAlternativeUrl() => $_has(6); @$pb.TagNumber(7) @@ -1367,7 +1688,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(8) $1.ClientConfiguration get clientConfiguration => $_getN(7); @$pb.TagNumber(8) - set clientConfiguration($1.ClientConfiguration v) { setField(8, v); } + set clientConfiguration($1.ClientConfiguration v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasClientConfiguration() => $_has(7); @$pb.TagNumber(8) @@ -1379,7 +1703,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get serverRegion => $_getSZ(8); @$pb.TagNumber(9) - set serverRegion($core.String v) { $_setString(8, v); } + set serverRegion($core.String v) { + $_setString(8, v); + } + @$pb.TagNumber(9) $core.bool hasServerRegion() => $_has(8); @$pb.TagNumber(9) @@ -1388,7 +1715,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.int get pingTimeout => $_getIZ(9); @$pb.TagNumber(10) - set pingTimeout($core.int v) { $_setSignedInt32(9, v); } + set pingTimeout($core.int v) { + $_setSignedInt32(9, v); + } + @$pb.TagNumber(10) $core.bool hasPingTimeout() => $_has(9); @$pb.TagNumber(10) @@ -1397,7 +1727,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.int get pingInterval => $_getIZ(10); @$pb.TagNumber(11) - set pingInterval($core.int v) { $_setSignedInt32(10, v); } + set pingInterval($core.int v) { + $_setSignedInt32(10, v); + } + @$pb.TagNumber(11) $core.bool hasPingInterval() => $_has(10); @$pb.TagNumber(11) @@ -1406,7 +1739,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(12) $1.ServerInfo get serverInfo => $_getN(11); @$pb.TagNumber(12) - set serverInfo($1.ServerInfo v) { setField(12, v); } + set serverInfo($1.ServerInfo v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasServerInfo() => $_has(11); @$pb.TagNumber(12) @@ -1418,7 +1754,10 @@ class JoinResponse extends $pb.GeneratedMessage { @$pb.TagNumber(13) $core.List<$core.int> get sifTrailer => $_getN(12); @$pb.TagNumber(13) - set sifTrailer($core.List<$core.int> v) { $_setBytes(12, v); } + set sifTrailer($core.List<$core.int> v) { + $_setBytes(12, v); + } + @$pb.TagNumber(13) $core.bool hasSifTrailer() => $_has(12); @$pb.TagNumber(13) @@ -1440,34 +1779,45 @@ class ReconnectResponse extends $pb.GeneratedMessage { return $result; } ReconnectResponse._() : super(); - factory ReconnectResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReconnectResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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<$1.ClientConfiguration>(2, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $1.ClientConfiguration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory ReconnectResponse.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ReconnectResponse.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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<$1.ClientConfiguration>( + 2, _omitFieldNames ? '' : 'clientConfiguration', + subBuilder: $1.ClientConfiguration.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ReconnectResponse clone() => ReconnectResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReconnectResponse copyWith(void Function(ReconnectResponse) updates) => super.copyWith((message) => updates(message as ReconnectResponse)) as ReconnectResponse; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReconnectResponse copyWith(void Function(ReconnectResponse) updates) => + super.copyWith((message) => updates(message as ReconnectResponse)) + as ReconnectResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ReconnectResponse create() => ReconnectResponse._(); 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) @@ -1476,7 +1826,10 @@ class ReconnectResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.ClientConfiguration get clientConfiguration => $_getN(1); @$pb.TagNumber(2) - set clientConfiguration($1.ClientConfiguration v) { setField(2, v); } + set clientConfiguration($1.ClientConfiguration v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasClientConfiguration() => $_has(1); @$pb.TagNumber(2) @@ -1500,40 +1853,54 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { return $result; } TrackPublishedResponse._() : super(); - factory TrackPublishedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrackPublishedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPublishedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory TrackPublishedResponse.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TrackPublishedResponse.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackPublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') - ..aOM<$1.TrackInfo>(2, _omitFieldNames ? '' : 'track', subBuilder: $1.TrackInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TrackPublishedResponse clone() => TrackPublishedResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrackPublishedResponse copyWith(void Function(TrackPublishedResponse) updates) => super.copyWith((message) => updates(message as TrackPublishedResponse)) as TrackPublishedResponse; + ..aOM<$1.TrackInfo>(2, _omitFieldNames ? '' : 'track', + subBuilder: $1.TrackInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TrackPublishedResponse clone() => + TrackPublishedResponse()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TrackPublishedResponse copyWith( + void Function(TrackPublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackPublishedResponse)) + as TrackPublishedResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TrackPublishedResponse create() => TrackPublishedResponse._(); 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) $core.String get cid => $_getSZ(0); @$pb.TagNumber(1) - set cid($core.String v) { $_setString(0, v); } + set cid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasCid() => $_has(0); @$pb.TagNumber(1) @@ -1542,7 +1909,10 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.TrackInfo get track => $_getN(1); @$pb.TagNumber(2) - set track($1.TrackInfo v) { setField(2, v); } + set track($1.TrackInfo v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasTrack() => $_has(1); @$pb.TagNumber(2) @@ -1562,39 +1932,52 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { return $result; } TrackUnpublishedResponse._() : super(); - factory TrackUnpublishedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrackUnpublishedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackUnpublishedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory TrackUnpublishedResponse.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TrackUnpublishedResponse.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TrackUnpublishedResponse clone() => TrackUnpublishedResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrackUnpublishedResponse copyWith(void Function(TrackUnpublishedResponse) updates) => super.copyWith((message) => updates(message as TrackUnpublishedResponse)) as TrackUnpublishedResponse; + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TrackUnpublishedResponse clone() => + TrackUnpublishedResponse()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TrackUnpublishedResponse copyWith( + void Function(TrackUnpublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackUnpublishedResponse)) + as TrackUnpublishedResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TrackUnpublishedResponse create() => TrackUnpublishedResponse._(); 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) $core.String get trackSid => $_getSZ(0); @$pb.TagNumber(1) - set trackSid($core.String v) { $_setString(0, v); } + set trackSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasTrackSid() => $_has(0); @$pb.TagNumber(1) @@ -1616,40 +1999,51 @@ class SessionDescription extends $pb.GeneratedMessage { return $result; } SessionDescription._() : super(); - factory SessionDescription.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SessionDescription.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionDescription', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SessionDescription.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SessionDescription.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SessionDescription clone() => SessionDescription()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SessionDescription copyWith(void Function(SessionDescription) updates) => super.copyWith((message) => updates(message as SessionDescription)) as SessionDescription; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionDescription copyWith(void Function(SessionDescription) updates) => + super.copyWith((message) => updates(message as SessionDescription)) + as SessionDescription; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SessionDescription create() => SessionDescription._(); 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) $core.String get type => $_getSZ(0); @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } + set type($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasType() => $_has(0); @$pb.TagNumber(1) @@ -1658,7 +2052,10 @@ class SessionDescription extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get sdp => $_getSZ(1); @$pb.TagNumber(2) - set sdp($core.String v) { $_setString(1, v); } + set sdp($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasSdp() => $_has(1); @$pb.TagNumber(2) @@ -1676,33 +2073,43 @@ class ParticipantUpdate extends $pb.GeneratedMessage { return $result; } ParticipantUpdate._() : super(); - factory ParticipantUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ParticipantUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantUpdate', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc<$1.ParticipantInfo>(1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, subBuilder: $1.ParticipantInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory ParticipantUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ParticipantUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc<$1.ParticipantInfo>( + 1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, + subBuilder: $1.ParticipantInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ParticipantUpdate clone() => ParticipantUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ParticipantUpdate copyWith(void Function(ParticipantUpdate) updates) => super.copyWith((message) => updates(message as ParticipantUpdate)) as ParticipantUpdate; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ParticipantUpdate copyWith(void Function(ParticipantUpdate) updates) => + super.copyWith((message) => updates(message as ParticipantUpdate)) + as ParticipantUpdate; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ParticipantUpdate create() => ParticipantUpdate._(); 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) @@ -1728,35 +2135,45 @@ class UpdateSubscription extends $pb.GeneratedMessage { return $result; } UpdateSubscription._() : super(); - factory UpdateSubscription.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateSubscription.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubscription', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory UpdateSubscription.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpdateSubscription.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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<$1.ParticipantTracks>(3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, subBuilder: $1.ParticipantTracks.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..pc<$1.ParticipantTracks>( + 3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, + subBuilder: $1.ParticipantTracks.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UpdateSubscription clone() => UpdateSubscription()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateSubscription copyWith(void Function(UpdateSubscription) updates) => super.copyWith((message) => updates(message as UpdateSubscription)) as UpdateSubscription; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateSubscription copyWith(void Function(UpdateSubscription) updates) => + super.copyWith((message) => updates(message as UpdateSubscription)) + as UpdateSubscription; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateSubscription create() => UpdateSubscription._(); 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) @@ -1765,7 +2182,10 @@ class UpdateSubscription extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get subscribe => $_getBF(1); @$pb.TagNumber(2) - set subscribe($core.bool v) { $_setBool(1, v); } + set subscribe($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(2) $core.bool hasSubscribe() => $_has(1); @$pb.TagNumber(2) @@ -1810,39 +2230,51 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { return $result; } UpdateTrackSettings._() : super(); - factory UpdateTrackSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateTrackSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTrackSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory UpdateTrackSettings.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpdateTrackSettings.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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<$1.VideoQuality>(4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, defaultOrMaker: $1.VideoQuality.LOW, valueOf: $1.VideoQuality.valueOf, enumValues: $1.VideoQuality.values) + ..e<$1.VideoQuality>( + 4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $1.VideoQuality.LOW, + valueOf: $1.VideoQuality.valueOf, + enumValues: $1.VideoQuality.values) ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(6, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..a<$core.int>(7, _omitFieldNames ? '' : 'fps', $pb.PbFieldType.OU3) ..a<$core.int>(8, _omitFieldNames ? '' : 'priority', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UpdateTrackSettings clone() => UpdateTrackSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateTrackSettings copyWith(void Function(UpdateTrackSettings) updates) => super.copyWith((message) => updates(message as UpdateTrackSettings)) as UpdateTrackSettings; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateTrackSettings copyWith(void Function(UpdateTrackSettings) updates) => + super.copyWith((message) => updates(message as UpdateTrackSettings)) + as UpdateTrackSettings; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateTrackSettings create() => UpdateTrackSettings._(); 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) @@ -1852,7 +2284,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get disabled => $_getBF(1); @$pb.TagNumber(3) - set disabled($core.bool v) { $_setBool(1, v); } + set disabled($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(3) $core.bool hasDisabled() => $_has(1); @$pb.TagNumber(3) @@ -1862,7 +2297,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { @$pb.TagNumber(4) $1.VideoQuality get quality => $_getN(2); @$pb.TagNumber(4) - set quality($1.VideoQuality v) { setField(4, v); } + set quality($1.VideoQuality v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasQuality() => $_has(2); @$pb.TagNumber(4) @@ -1872,7 +2310,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.int get width => $_getIZ(3); @$pb.TagNumber(5) - set width($core.int v) { $_setUnsignedInt32(3, v); } + set width($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(5) $core.bool hasWidth() => $_has(3); @$pb.TagNumber(5) @@ -1882,7 +2323,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.int get height => $_getIZ(4); @$pb.TagNumber(6) - set height($core.int v) { $_setUnsignedInt32(4, v); } + set height($core.int v) { + $_setUnsignedInt32(4, v); + } + @$pb.TagNumber(6) $core.bool hasHeight() => $_has(4); @$pb.TagNumber(6) @@ -1891,7 +2335,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.int get fps => $_getIZ(5); @$pb.TagNumber(7) - set fps($core.int v) { $_setUnsignedInt32(5, v); } + set fps($core.int v) { + $_setUnsignedInt32(5, v); + } + @$pb.TagNumber(7) $core.bool hasFps() => $_has(5); @$pb.TagNumber(7) @@ -1907,7 +2354,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.int get priority => $_getIZ(6); @$pb.TagNumber(8) - set priority($core.int v) { $_setUnsignedInt32(6, v); } + set priority($core.int v) { + $_setUnsignedInt32(6, v); + } + @$pb.TagNumber(8) $core.bool hasPriority() => $_has(6); @$pb.TagNumber(8) @@ -1929,34 +2379,46 @@ class LeaveRequest extends $pb.GeneratedMessage { return $result; } LeaveRequest._() : super(); - factory LeaveRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LeaveRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LeaveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory LeaveRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LeaveRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LeaveRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canReconnect') - ..e<$1.DisconnectReason>(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, defaultOrMaker: $1.DisconnectReason.UNKNOWN_REASON, valueOf: $1.DisconnectReason.valueOf, enumValues: $1.DisconnectReason.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..e<$1.DisconnectReason>( + 2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, + defaultOrMaker: $1.DisconnectReason.UNKNOWN_REASON, + valueOf: $1.DisconnectReason.valueOf, + enumValues: $1.DisconnectReason.values) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') LeaveRequest clone() => LeaveRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LeaveRequest copyWith(void Function(LeaveRequest) updates) => super.copyWith((message) => updates(message as LeaveRequest)) as LeaveRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LeaveRequest copyWith(void Function(LeaveRequest) updates) => + super.copyWith((message) => updates(message as LeaveRequest)) + as LeaveRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static LeaveRequest create() => LeaveRequest._(); 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 @@ -1964,7 +2426,10 @@ class LeaveRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.bool get canReconnect => $_getBF(0); @$pb.TagNumber(1) - set canReconnect($core.bool v) { $_setBool(0, v); } + set canReconnect($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasCanReconnect() => $_has(0); @$pb.TagNumber(1) @@ -1973,7 +2438,10 @@ class LeaveRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.DisconnectReason get reason => $_getN(1); @$pb.TagNumber(2) - set reason($1.DisconnectReason v) { setField(2, v); } + set reason($1.DisconnectReason v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasReason() => $_has(1); @$pb.TagNumber(2) @@ -1996,40 +2464,52 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { return $result; } UpdateVideoLayers._() : super(); - factory UpdateVideoLayers.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateVideoLayers.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateVideoLayers', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory UpdateVideoLayers.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpdateVideoLayers.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateVideoLayers', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$1.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $1.VideoLayer.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..pc<$1.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: $1.VideoLayer.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UpdateVideoLayers clone() => UpdateVideoLayers()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateVideoLayers copyWith(void Function(UpdateVideoLayers) updates) => super.copyWith((message) => updates(message as UpdateVideoLayers)) as UpdateVideoLayers; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateVideoLayers copyWith(void Function(UpdateVideoLayers) updates) => + super.copyWith((message) => updates(message as UpdateVideoLayers)) + as UpdateVideoLayers; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateVideoLayers create() => UpdateVideoLayers._(); 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) $core.String get trackSid => $_getSZ(0); @$pb.TagNumber(1) - set trackSid($core.String v) { $_setString(0, v); } + set trackSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasTrackSid() => $_has(0); @$pb.TagNumber(1) @@ -2054,40 +2534,53 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { return $result; } UpdateParticipantMetadata._() : super(); - factory UpdateParticipantMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateParticipantMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateParticipantMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory UpdateParticipantMetadata.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpdateParticipantMetadata.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateParticipantMetadata clone() => UpdateParticipantMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateParticipantMetadata copyWith(void Function(UpdateParticipantMetadata) updates) => super.copyWith((message) => updates(message as UpdateParticipantMetadata)) as UpdateParticipantMetadata; + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdateParticipantMetadata clone() => + UpdateParticipantMetadata()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateParticipantMetadata copyWith( + void Function(UpdateParticipantMetadata) updates) => + super.copyWith((message) => updates(message as UpdateParticipantMetadata)) + as UpdateParticipantMetadata; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UpdateParticipantMetadata create() => UpdateParticipantMetadata._(); 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) $core.String get metadata => $_getSZ(0); @$pb.TagNumber(1) - set metadata($core.String v) { $_setString(0, v); } + set metadata($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasMetadata() => $_has(0); @$pb.TagNumber(1) @@ -2096,7 +2589,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get name => $_getSZ(1); @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } + set name($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasName() => $_has(1); @$pb.TagNumber(2) @@ -2122,26 +2618,31 @@ class ICEServer extends $pb.GeneratedMessage { return $result; } ICEServer._() : super(); - factory ICEServer.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ICEServer.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ICEServer', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory ICEServer.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ICEServer.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ICEServer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'urls') ..aOS(2, _omitFieldNames ? '' : 'username') ..aOS(3, _omitFieldNames ? '' : 'credential') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ICEServer clone() => ICEServer()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ICEServer copyWith(void Function(ICEServer) updates) => super.copyWith((message) => updates(message as ICEServer)) as ICEServer; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ICEServer copyWith(void Function(ICEServer) updates) => + super.copyWith((message) => updates(message as ICEServer)) as ICEServer; $pb.BuilderInfo get info_ => _i; @@ -2150,7 +2651,8 @@ 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) @@ -2159,7 +2661,10 @@ class ICEServer extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get username => $_getSZ(1); @$pb.TagNumber(2) - set username($core.String v) { $_setString(1, v); } + set username($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasUsername() => $_has(1); @$pb.TagNumber(2) @@ -2168,7 +2673,10 @@ class ICEServer extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get credential => $_getSZ(2); @$pb.TagNumber(3) - set credential($core.String v) { $_setString(2, v); } + set credential($core.String v) { + $_setString(2, v); + } + @$pb.TagNumber(3) $core.bool hasCredential() => $_has(2); @$pb.TagNumber(3) @@ -2186,33 +2694,43 @@ class SpeakersChanged extends $pb.GeneratedMessage { return $result; } SpeakersChanged._() : super(); - factory SpeakersChanged.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SpeakersChanged.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakersChanged', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc<$1.SpeakerInfo>(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: $1.SpeakerInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory SpeakersChanged.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SpeakersChanged.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SpeakersChanged', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc<$1.SpeakerInfo>( + 1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, + subBuilder: $1.SpeakerInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SpeakersChanged clone() => SpeakersChanged()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SpeakersChanged copyWith(void Function(SpeakersChanged) updates) => super.copyWith((message) => updates(message as SpeakersChanged)) as SpeakersChanged; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SpeakersChanged copyWith(void Function(SpeakersChanged) updates) => + super.copyWith((message) => updates(message as SpeakersChanged)) + as SpeakersChanged; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SpeakersChanged create() => SpeakersChanged._(); 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) @@ -2230,24 +2748,29 @@ class RoomUpdate extends $pb.GeneratedMessage { return $result; } RoomUpdate._() : super(); - factory RoomUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RoomUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomUpdate', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory RoomUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RoomUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RoomUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOM<$1.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $1.Room.create) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RoomUpdate clone() => RoomUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RoomUpdate copyWith(void Function(RoomUpdate) updates) => super.copyWith((message) => updates(message as RoomUpdate)) as RoomUpdate; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RoomUpdate copyWith(void Function(RoomUpdate) updates) => + super.copyWith((message) => updates(message as RoomUpdate)) as RoomUpdate; $pb.BuilderInfo get info_ => _i; @@ -2256,13 +2779,17 @@ 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) $1.Room get room => $_getN(0); @$pb.TagNumber(1) - set room($1.Room v) { setField(1, v); } + set room($1.Room v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasRoom() => $_has(0); @$pb.TagNumber(1) @@ -2290,41 +2817,58 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { return $result; } ConnectionQualityInfo._() : super(); - factory ConnectionQualityInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConnectionQualityInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory ConnectionQualityInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ConnectionQualityInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionQualityInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..e<$1.ConnectionQuality>(2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, defaultOrMaker: $1.ConnectionQuality.POOR, valueOf: $1.ConnectionQuality.valueOf, enumValues: $1.ConnectionQuality.values) + ..e<$1.ConnectionQuality>( + 2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $1.ConnectionQuality.POOR, + valueOf: $1.ConnectionQuality.valueOf, + enumValues: $1.ConnectionQuality.values) ..a<$core.double>(3, _omitFieldNames ? '' : 'score', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConnectionQualityInfo clone() => ConnectionQualityInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConnectionQualityInfo copyWith(void Function(ConnectionQualityInfo) updates) => super.copyWith((message) => updates(message as ConnectionQualityInfo)) as ConnectionQualityInfo; + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ConnectionQualityInfo clone() => + ConnectionQualityInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ConnectionQualityInfo copyWith( + void Function(ConnectionQualityInfo) updates) => + super.copyWith((message) => updates(message as ConnectionQualityInfo)) + as ConnectionQualityInfo; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ConnectionQualityInfo create() => ConnectionQualityInfo._(); 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) $core.String get participantSid => $_getSZ(0); @$pb.TagNumber(1) - set participantSid($core.String v) { $_setString(0, v); } + set participantSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasParticipantSid() => $_has(0); @$pb.TagNumber(1) @@ -2333,7 +2877,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.ConnectionQuality get quality => $_getN(1); @$pb.TagNumber(2) - set quality($1.ConnectionQuality v) { setField(2, v); } + set quality($1.ConnectionQuality v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasQuality() => $_has(1); @$pb.TagNumber(2) @@ -2342,7 +2889,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.double get score => $_getN(2); @$pb.TagNumber(3) - set score($core.double v) { $_setFloat(2, v); } + set score($core.double v) { + $_setFloat(2, v); + } + @$pb.TagNumber(3) $core.bool hasScore() => $_has(2); @$pb.TagNumber(3) @@ -2360,33 +2910,45 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { return $result; } ConnectionQualityUpdate._() : super(); - factory ConnectionQualityUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConnectionQualityUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConnectionQualityUpdate clone() => ConnectionQualityUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConnectionQualityUpdate copyWith(void Function(ConnectionQualityUpdate) updates) => super.copyWith((message) => updates(message as ConnectionQualityUpdate)) as ConnectionQualityUpdate; + factory ConnectionQualityUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ConnectionQualityUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ConnectionQualityUpdate clone() => + ConnectionQualityUpdate()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ConnectionQualityUpdate copyWith( + void Function(ConnectionQualityUpdate) updates) => + super.copyWith((message) => updates(message as ConnectionQualityUpdate)) + as ConnectionQualityUpdate; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ConnectionQualityUpdate create() => ConnectionQualityUpdate._(); 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) @@ -2412,41 +2974,55 @@ class StreamStateInfo extends $pb.GeneratedMessage { return $result; } StreamStateInfo._() : super(); - factory StreamStateInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamStateInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory StreamStateInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory StreamStateInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, + defaultOrMaker: StreamState.ACTIVE, + valueOf: StreamState.valueOf, + enumValues: StreamState.values) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') StreamStateInfo clone() => StreamStateInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamStateInfo copyWith(void Function(StreamStateInfo) updates) => super.copyWith((message) => updates(message as StreamStateInfo)) as StreamStateInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StreamStateInfo copyWith(void Function(StreamStateInfo) updates) => + super.copyWith((message) => updates(message as StreamStateInfo)) + as StreamStateInfo; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StreamStateInfo create() => StreamStateInfo._(); 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) $core.String get participantSid => $_getSZ(0); @$pb.TagNumber(1) - set participantSid($core.String v) { $_setString(0, v); } + set participantSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasParticipantSid() => $_has(0); @$pb.TagNumber(1) @@ -2455,7 +3031,10 @@ class StreamStateInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get trackSid => $_getSZ(1); @$pb.TagNumber(2) - set trackSid($core.String v) { $_setString(1, v); } + set trackSid($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasTrackSid() => $_has(1); @$pb.TagNumber(2) @@ -2464,7 +3043,10 @@ class StreamStateInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) StreamState get state => $_getN(2); @$pb.TagNumber(3) - set state(StreamState v) { setField(3, v); } + set state(StreamState v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasState() => $_has(2); @$pb.TagNumber(3) @@ -2482,33 +3064,43 @@ class StreamStateUpdate extends $pb.GeneratedMessage { return $result; } StreamStateUpdate._() : super(); - factory StreamStateUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamStateUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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 - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory StreamStateUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory StreamStateUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') StreamStateUpdate clone() => StreamStateUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamStateUpdate copyWith(void Function(StreamStateUpdate) updates) => super.copyWith((message) => updates(message as StreamStateUpdate)) as StreamStateUpdate; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StreamStateUpdate copyWith(void Function(StreamStateUpdate) updates) => + super.copyWith((message) => updates(message as StreamStateUpdate)) + as StreamStateUpdate; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StreamStateUpdate create() => StreamStateUpdate._(); 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) @@ -2530,40 +3122,55 @@ class SubscribedQuality extends $pb.GeneratedMessage { return $result; } SubscribedQuality._() : super(); - factory SubscribedQuality.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribedQuality.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQuality', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e<$1.VideoQuality>(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, defaultOrMaker: $1.VideoQuality.LOW, valueOf: $1.VideoQuality.valueOf, enumValues: $1.VideoQuality.values) + factory SubscribedQuality.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscribedQuality.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedQuality', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e<$1.VideoQuality>( + 1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $1.VideoQuality.LOW, + valueOf: $1.VideoQuality.valueOf, + enumValues: $1.VideoQuality.values) ..aOB(2, _omitFieldNames ? '' : 'enabled') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubscribedQuality clone() => SubscribedQuality()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribedQuality copyWith(void Function(SubscribedQuality) updates) => super.copyWith((message) => updates(message as SubscribedQuality)) as SubscribedQuality; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscribedQuality copyWith(void Function(SubscribedQuality) updates) => + super.copyWith((message) => updates(message as SubscribedQuality)) + as SubscribedQuality; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscribedQuality create() => SubscribedQuality._(); 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) $1.VideoQuality get quality => $_getN(0); @$pb.TagNumber(1) - set quality($1.VideoQuality v) { setField(1, v); } + set quality($1.VideoQuality v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasQuality() => $_has(0); @$pb.TagNumber(1) @@ -2572,7 +3179,10 @@ class SubscribedQuality extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get enabled => $_getBF(1); @$pb.TagNumber(2) - set enabled($core.bool v) { $_setBool(1, v); } + set enabled($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(2) $core.bool hasEnabled() => $_has(1); @$pb.TagNumber(2) @@ -2594,40 +3204,53 @@ class SubscribedCodec extends $pb.GeneratedMessage { return $result; } SubscribedCodec._() : super(); - factory SubscribedCodec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribedCodec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedCodec', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SubscribedCodec.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscribedCodec.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, subBuilder: SubscribedQuality.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..pc( + 2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, + subBuilder: SubscribedQuality.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubscribedCodec clone() => SubscribedCodec()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribedCodec copyWith(void Function(SubscribedCodec) updates) => super.copyWith((message) => updates(message as SubscribedCodec)) as SubscribedCodec; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscribedCodec copyWith(void Function(SubscribedCodec) updates) => + super.copyWith((message) => updates(message as SubscribedCodec)) + as SubscribedCodec; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscribedCodec create() => SubscribedCodec._(); 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) $core.String get codec => $_getSZ(0); @$pb.TagNumber(1) - set codec($core.String v) { $_setString(0, v); } + set codec($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasCodec() => $_has(0); @$pb.TagNumber(1) @@ -2656,41 +3279,58 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { return $result; } SubscribedQualityUpdate._() : super(); - factory SubscribedQualityUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribedQualityUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQualityUpdate', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SubscribedQualityUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscribedQualityUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, subBuilder: SubscribedQuality.create) - ..pc(3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, subBuilder: SubscribedCodec.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubscribedQualityUpdate clone() => SubscribedQualityUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribedQualityUpdate copyWith(void Function(SubscribedQualityUpdate) updates) => super.copyWith((message) => updates(message as SubscribedQualityUpdate)) as SubscribedQualityUpdate; + ..pc( + 2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, + subBuilder: SubscribedQuality.create) + ..pc( + 3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, + subBuilder: SubscribedCodec.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubscribedQualityUpdate clone() => + SubscribedQualityUpdate()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscribedQualityUpdate copyWith( + void Function(SubscribedQualityUpdate) updates) => + super.copyWith((message) => updates(message as SubscribedQualityUpdate)) + as SubscribedQualityUpdate; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscribedQualityUpdate create() => SubscribedQualityUpdate._(); 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) $core.String get trackSid => $_getSZ(0); @$pb.TagNumber(1) - set trackSid($core.String v) { $_setString(0, v); } + set trackSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasTrackSid() => $_has(0); @$pb.TagNumber(1) @@ -2726,43 +3366,54 @@ class TrackPermission extends $pb.GeneratedMessage { return $result; } TrackPermission._() : super(); - factory TrackPermission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrackPermission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPermission', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory TrackPermission.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TrackPermission.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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') ..aOS(4, _omitFieldNames ? '' : 'participantIdentity') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') TrackPermission clone() => TrackPermission()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrackPermission copyWith(void Function(TrackPermission) updates) => super.copyWith((message) => updates(message as TrackPermission)) as TrackPermission; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TrackPermission copyWith(void Function(TrackPermission) updates) => + super.copyWith((message) => updates(message as TrackPermission)) + as TrackPermission; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TrackPermission create() => TrackPermission._(); 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 @$pb.TagNumber(1) $core.String get participantSid => $_getSZ(0); @$pb.TagNumber(1) - set participantSid($core.String v) { $_setString(0, v); } + set participantSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasParticipantSid() => $_has(0); @$pb.TagNumber(1) @@ -2771,7 +3422,10 @@ class TrackPermission extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get allTracks => $_getBF(1); @$pb.TagNumber(2) - set allTracks($core.bool v) { $_setBool(1, v); } + set allTracks($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(2) $core.bool hasAllTracks() => $_has(1); @$pb.TagNumber(2) @@ -2783,7 +3437,10 @@ class TrackPermission extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get participantIdentity => $_getSZ(3); @$pb.TagNumber(4) - set participantIdentity($core.String v) { $_setString(3, v); } + set participantIdentity($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(4) $core.bool hasParticipantIdentity() => $_has(3); @$pb.TagNumber(4) @@ -2805,40 +3462,55 @@ class SubscriptionPermission extends $pb.GeneratedMessage { return $result; } SubscriptionPermission._() : super(); - factory SubscriptionPermission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscriptionPermission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermission', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SubscriptionPermission.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscriptionPermission.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, subBuilder: TrackPermission.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubscriptionPermission clone() => SubscriptionPermission()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscriptionPermission copyWith(void Function(SubscriptionPermission) updates) => super.copyWith((message) => updates(message as SubscriptionPermission)) as SubscriptionPermission; + ..pc( + 2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, + subBuilder: TrackPermission.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubscriptionPermission clone() => + SubscriptionPermission()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscriptionPermission copyWith( + void Function(SubscriptionPermission) updates) => + super.copyWith((message) => updates(message as SubscriptionPermission)) + as SubscriptionPermission; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionPermission create() => SubscriptionPermission._(); 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) $core.bool get allParticipants => $_getBF(0); @$pb.TagNumber(1) - set allParticipants($core.bool v) { $_setBool(0, v); } + set allParticipants($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasAllParticipants() => $_has(0); @$pb.TagNumber(1) @@ -2867,41 +3539,56 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { return $result; } SubscriptionPermissionUpdate._() : super(); - factory SubscriptionPermissionUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscriptionPermissionUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermissionUpdate', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SubscriptionPermissionUpdate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscriptionPermissionUpdate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubscriptionPermissionUpdate clone() => SubscriptionPermissionUpdate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscriptionPermissionUpdate copyWith(void Function(SubscriptionPermissionUpdate) updates) => super.copyWith((message) => updates(message as SubscriptionPermissionUpdate)) as SubscriptionPermissionUpdate; + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubscriptionPermissionUpdate clone() => + SubscriptionPermissionUpdate()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscriptionPermissionUpdate copyWith( + void Function(SubscriptionPermissionUpdate) updates) => + super.copyWith( + (message) => updates(message as SubscriptionPermissionUpdate)) + as SubscriptionPermissionUpdate; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate create() => SubscriptionPermissionUpdate._(); + static SubscriptionPermissionUpdate create() => + SubscriptionPermissionUpdate._(); 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) $core.String get participantSid => $_getSZ(0); @$pb.TagNumber(1) - set participantSid($core.String v) { $_setString(0, v); } + set participantSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasParticipantSid() => $_has(0); @$pb.TagNumber(1) @@ -2910,7 +3597,10 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get trackSid => $_getSZ(1); @$pb.TagNumber(2) - set trackSid($core.String v) { $_setString(1, v); } + set trackSid($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasTrackSid() => $_has(1); @$pb.TagNumber(2) @@ -2919,7 +3609,10 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get allowed => $_getBF(2); @$pb.TagNumber(3) - set allowed($core.bool v) { $_setBool(2, v); } + set allowed($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasAllowed() => $_has(2); @$pb.TagNumber(3) @@ -2953,28 +3646,40 @@ class SyncState extends $pb.GeneratedMessage { return $result; } SyncState._() : super(); - factory SyncState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SyncState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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, subBuilder: DataChannelInfo.create) - ..aOM(5, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory SyncState.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SyncState.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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, + subBuilder: DataChannelInfo.create) + ..aOM(5, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SyncState clone() => SyncState()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SyncState copyWith(void Function(SyncState) updates) => super.copyWith((message) => updates(message as SyncState)) as SyncState; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SyncState copyWith(void Function(SyncState) updates) => + super.copyWith((message) => updates(message as SyncState)) as SyncState; $pb.BuilderInfo get info_ => _i; @@ -2983,14 +3688,18 @@ 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 answer before reconnecting @$pb.TagNumber(1) SessionDescription get answer => $_getN(0); @$pb.TagNumber(1) - set answer(SessionDescription v) { setField(1, v); } + set answer(SessionDescription v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasAnswer() => $_has(0); @$pb.TagNumber(1) @@ -3001,7 +3710,10 @@ class SyncState extends $pb.GeneratedMessage { @$pb.TagNumber(2) UpdateSubscription get subscription => $_getN(1); @$pb.TagNumber(2) - set subscription(UpdateSubscription v) { setField(2, v); } + set subscription(UpdateSubscription v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasSubscription() => $_has(1); @$pb.TagNumber(2) @@ -3019,7 +3731,10 @@ class SyncState extends $pb.GeneratedMessage { @$pb.TagNumber(5) SessionDescription get offer => $_getN(4); @$pb.TagNumber(5) - set offer(SessionDescription v) { setField(5, v); } + set offer(SessionDescription v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasOffer() => $_has(4); @$pb.TagNumber(5) @@ -3047,41 +3762,55 @@ class DataChannelInfo extends $pb.GeneratedMessage { return $result; } DataChannelInfo._() : super(); - factory DataChannelInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataChannelInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory DataChannelInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DataChannelInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..e(3, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, + defaultOrMaker: SignalTarget.PUBLISHER, + valueOf: SignalTarget.valueOf, + enumValues: SignalTarget.values) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') DataChannelInfo clone() => DataChannelInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataChannelInfo copyWith(void Function(DataChannelInfo) updates) => super.copyWith((message) => updates(message as DataChannelInfo)) as DataChannelInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DataChannelInfo copyWith(void Function(DataChannelInfo) updates) => + super.copyWith((message) => updates(message as DataChannelInfo)) + as DataChannelInfo; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DataChannelInfo create() => DataChannelInfo._(); 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) $core.String get label => $_getSZ(0); @$pb.TagNumber(1) - set label($core.String v) { $_setString(0, v); } + set label($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasLabel() => $_has(0); @$pb.TagNumber(1) @@ -3090,7 +3819,10 @@ class DataChannelInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get id => $_getIZ(1); @$pb.TagNumber(2) - set id($core.int v) { $_setUnsignedInt32(1, v); } + set id($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasId() => $_has(1); @$pb.TagNumber(2) @@ -3099,7 +3831,10 @@ class DataChannelInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) SignalTarget get target => $_getN(2); @$pb.TagNumber(3) - set target(SignalTarget v) { setField(3, v); } + set target(SignalTarget v) { + setField(3, v); + } + @$pb.TagNumber(3) $core.bool hasTarget() => $_has(2); @$pb.TagNumber(3) @@ -3107,12 +3842,12 @@ class DataChannelInfo extends $pb.GeneratedMessage { } enum SimulateScenario_Scenario { - speakerUpdate, - nodeFailure, - migration, - serverLeave, - switchCandidateProtocol, - subscriberBandwidth, + speakerUpdate, + nodeFailure, + migration, + serverLeave, + switchCandidateProtocol, + subscriberBandwidth, notSet } @@ -3147,58 +3882,76 @@ class SimulateScenario extends $pb.GeneratedMessage { return $result; } SimulateScenario._() : super(); - factory SimulateScenario.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SimulateScenario.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, SimulateScenario_Scenario> _SimulateScenario_ScenarioByTag = { - 1 : SimulateScenario_Scenario.speakerUpdate, - 2 : SimulateScenario_Scenario.nodeFailure, - 3 : SimulateScenario_Scenario.migration, - 4 : SimulateScenario_Scenario.serverLeave, - 5 : SimulateScenario_Scenario.switchCandidateProtocol, - 6 : SimulateScenario_Scenario.subscriberBandwidth, - 0 : SimulateScenario_Scenario.notSet + factory SimulateScenario.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SimulateScenario.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, SimulateScenario_Scenario> + _SimulateScenario_ScenarioByTag = { + 1: SimulateScenario_Scenario.speakerUpdate, + 2: SimulateScenario_Scenario.nodeFailure, + 3: SimulateScenario_Scenario.migration, + 4: SimulateScenario_Scenario.serverLeave, + 5: SimulateScenario_Scenario.switchCandidateProtocol, + 6: SimulateScenario_Scenario.subscriberBandwidth, + 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]) - ..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') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SimulateScenario clone() => SimulateScenario()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SimulateScenario copyWith(void Function(SimulateScenario) updates) => super.copyWith((message) => updates(message as SimulateScenario)) as SimulateScenario; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SimulateScenario copyWith(void Function(SimulateScenario) updates) => + super.copyWith((message) => updates(message as SimulateScenario)) + as SimulateScenario; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SimulateScenario create() => SimulateScenario._(); 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 @$pb.TagNumber(1) $core.int get speakerUpdate => $_getIZ(0); @$pb.TagNumber(1) - set speakerUpdate($core.int v) { $_setSignedInt32(0, v); } + set speakerUpdate($core.int v) { + $_setSignedInt32(0, v); + } + @$pb.TagNumber(1) $core.bool hasSpeakerUpdate() => $_has(0); @$pb.TagNumber(1) @@ -3208,7 +3961,10 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.bool get nodeFailure => $_getBF(1); @$pb.TagNumber(2) - set nodeFailure($core.bool v) { $_setBool(1, v); } + set nodeFailure($core.bool v) { + $_setBool(1, v); + } + @$pb.TagNumber(2) $core.bool hasNodeFailure() => $_has(1); @$pb.TagNumber(2) @@ -3218,7 +3974,10 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get migration => $_getBF(2); @$pb.TagNumber(3) - set migration($core.bool v) { $_setBool(2, v); } + set migration($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasMigration() => $_has(2); @$pb.TagNumber(3) @@ -3228,7 +3987,10 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.bool get serverLeave => $_getBF(3); @$pb.TagNumber(4) - set serverLeave($core.bool v) { $_setBool(3, v); } + set serverLeave($core.bool v) { + $_setBool(3, v); + } + @$pb.TagNumber(4) $core.bool hasServerLeave() => $_has(3); @$pb.TagNumber(4) @@ -3238,7 +4000,10 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(5) CandidateProtocol get switchCandidateProtocol => $_getN(4); @$pb.TagNumber(5) - set switchCandidateProtocol(CandidateProtocol v) { setField(5, v); } + set switchCandidateProtocol(CandidateProtocol v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasSwitchCandidateProtocol() => $_has(4); @$pb.TagNumber(5) @@ -3249,7 +4014,10 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get subscriberBandwidth => $_getI64(5); @$pb.TagNumber(6) - set subscriberBandwidth($fixnum.Int64 v) { $_setInt64(5, v); } + set subscriberBandwidth($fixnum.Int64 v) { + $_setInt64(5, v); + } + @$pb.TagNumber(6) $core.bool hasSubscriberBandwidth() => $_has(5); @$pb.TagNumber(6) @@ -3271,25 +4039,30 @@ class Ping extends $pb.GeneratedMessage { return $result; } Ping._() : super(); - factory Ping.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Ping.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Ping', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory Ping.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Ping.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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 - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Ping clone() => Ping()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Ping copyWith(void Function(Ping) updates) => super.copyWith((message) => updates(message as Ping)) as Ping; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Ping copyWith(void Function(Ping) updates) => + super.copyWith((message) => updates(message as Ping)) as Ping; $pb.BuilderInfo get info_ => _i; @@ -3298,13 +4071,17 @@ 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) $fixnum.Int64 get timestamp => $_getI64(0); @$pb.TagNumber(1) - set timestamp($fixnum.Int64 v) { $_setInt64(0, v); } + set timestamp($fixnum.Int64 v) { + $_setInt64(0, v); + } + @$pb.TagNumber(1) $core.bool hasTimestamp() => $_has(0); @$pb.TagNumber(1) @@ -3314,7 +4091,10 @@ class Ping extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get rtt => $_getI64(1); @$pb.TagNumber(2) - set rtt($fixnum.Int64 v) { $_setInt64(1, v); } + set rtt($fixnum.Int64 v) { + $_setInt64(1, v); + } + @$pb.TagNumber(2) $core.bool hasRtt() => $_has(1); @$pb.TagNumber(2) @@ -3336,25 +4116,30 @@ class Pong extends $pb.GeneratedMessage { return $result; } Pong._() : super(); - factory Pong.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Pong.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pong', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory Pong.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Pong.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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 - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Pong clone() => Pong()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Pong copyWith(void Function(Pong) updates) => super.copyWith((message) => updates(message as Pong)) as Pong; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Pong copyWith(void Function(Pong) updates) => + super.copyWith((message) => updates(message as Pong)) as Pong; $pb.BuilderInfo get info_ => _i; @@ -3363,14 +4148,18 @@ 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 @$pb.TagNumber(1) $fixnum.Int64 get lastPingTimestamp => $_getI64(0); @$pb.TagNumber(1) - set lastPingTimestamp($fixnum.Int64 v) { $_setInt64(0, v); } + set lastPingTimestamp($fixnum.Int64 v) { + $_setInt64(0, v); + } + @$pb.TagNumber(1) $core.bool hasLastPingTimestamp() => $_has(0); @$pb.TagNumber(1) @@ -3379,7 +4168,10 @@ class Pong extends $pb.GeneratedMessage { @$pb.TagNumber(2) $fixnum.Int64 get timestamp => $_getI64(1); @$pb.TagNumber(2) - set timestamp($fixnum.Int64 v) { $_setInt64(1, v); } + set timestamp($fixnum.Int64 v) { + $_setInt64(1, v); + } + @$pb.TagNumber(2) $core.bool hasTimestamp() => $_has(1); @$pb.TagNumber(2) @@ -3397,33 +4189,42 @@ class RegionSettings extends $pb.GeneratedMessage { return $result; } RegionSettings._() : super(); - factory RegionSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegionSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - 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( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RegionSettings.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RegionSettings.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + 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('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RegionSettings clone() => RegionSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegionSettings copyWith(void Function(RegionSettings) updates) => super.copyWith((message) => updates(message as RegionSettings)) as RegionSettings; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RegionSettings copyWith(void Function(RegionSettings) updates) => + super.copyWith((message) => updates(message as RegionSettings)) + as RegionSettings; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RegionSettings create() => RegionSettings._(); 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) @@ -3449,26 +4250,31 @@ class RegionInfo extends $pb.GeneratedMessage { return $result; } RegionInfo._() : super(); - factory RegionInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegionInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory RegionInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RegionInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RegionInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'region') ..aOS(2, _omitFieldNames ? '' : 'url') ..aInt64(3, _omitFieldNames ? '' : 'distance') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RegionInfo clone() => RegionInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegionInfo copyWith(void Function(RegionInfo) updates) => super.copyWith((message) => updates(message as RegionInfo)) as RegionInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RegionInfo copyWith(void Function(RegionInfo) updates) => + super.copyWith((message) => updates(message as RegionInfo)) as RegionInfo; $pb.BuilderInfo get info_ => _i; @@ -3477,13 +4283,17 @@ 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) $core.String get region => $_getSZ(0); @$pb.TagNumber(1) - set region($core.String v) { $_setString(0, v); } + set region($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasRegion() => $_has(0); @$pb.TagNumber(1) @@ -3492,7 +4302,10 @@ class RegionInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get url => $_getSZ(1); @$pb.TagNumber(2) - set url($core.String v) { $_setString(1, v); } + set url($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasUrl() => $_has(1); @$pb.TagNumber(2) @@ -3501,7 +4314,10 @@ class RegionInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get distance => $_getI64(2); @$pb.TagNumber(3) - set distance($fixnum.Int64 v) { $_setInt64(2, v); } + set distance($fixnum.Int64 v) { + $_setInt64(2, v); + } + @$pb.TagNumber(3) $core.bool hasDistance() => $_has(2); @$pb.TagNumber(3) @@ -3523,40 +4339,56 @@ class SubscriptionResponse extends $pb.GeneratedMessage { return $result; } SubscriptionResponse._() : super(); - factory SubscriptionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscriptionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + factory SubscriptionResponse.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscriptionResponse.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..e<$1.SubscriptionError>(2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, defaultOrMaker: $1.SubscriptionError.SE_UNKNOWN, valueOf: $1.SubscriptionError.valueOf, enumValues: $1.SubscriptionError.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubscriptionResponse clone() => SubscriptionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscriptionResponse copyWith(void Function(SubscriptionResponse) updates) => super.copyWith((message) => updates(message as SubscriptionResponse)) as SubscriptionResponse; + ..e<$1.SubscriptionError>( + 2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, + defaultOrMaker: $1.SubscriptionError.SE_UNKNOWN, + valueOf: $1.SubscriptionError.valueOf, + enumValues: $1.SubscriptionError.values) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SubscriptionResponse clone() => + SubscriptionResponse()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscriptionResponse copyWith(void Function(SubscriptionResponse) updates) => + super.copyWith((message) => updates(message as SubscriptionResponse)) + as SubscriptionResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscriptionResponse create() => SubscriptionResponse._(); 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) $core.String get trackSid => $_getSZ(0); @$pb.TagNumber(1) - set trackSid($core.String v) { $_setString(0, v); } + set trackSid($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasTrackSid() => $_has(0); @$pb.TagNumber(1) @@ -3565,13 +4397,16 @@ class SubscriptionResponse extends $pb.GeneratedMessage { @$pb.TagNumber(2) $1.SubscriptionError get err => $_getN(1); @$pb.TagNumber(2) - set err($1.SubscriptionError v) { setField(2, v); } + set err($1.SubscriptionError v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasErr() => $_has(1); @$pb.TagNumber(2) void clearErr() => clearField(2); } - const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const _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 3f83316f..691acb38 100644 --- a/lib/src/proto/livekit_rtc.pbenum.dart +++ b/lib/src/proto/livekit_rtc.pbenum.dart @@ -14,51 +14,60 @@ 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 = [ + static const $core.List values = [ PUBLISHER, SUBSCRIBER, ]; - static final $core.Map<$core.int, SignalTarget> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, SignalTarget> _byValue = + $pb.ProtobufEnum.initByValue(values); static SignalTarget? valueOf($core.int value) => _byValue[value]; const SignalTarget._($core.int v, $core.String n) : super(v, n); } 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 = [ + static const $core.List values = [ ACTIVE, PAUSED, ]; - static final $core.Map<$core.int, StreamState> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, StreamState> _byValue = + $pb.ProtobufEnum.initByValue(values); static StreamState? valueOf($core.int value) => _byValue[value]; const StreamState._($core.int v, $core.String n) : super(v, n); } 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 $core.List values = [ + 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, TCP, TLS, ]; - static final $core.Map<$core.int, CandidateProtocol> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, CandidateProtocol> _byValue = + $pb.ProtobufEnum.initByValue(values); static CandidateProtocol? valueOf($core.int value) => _byValue[value]; const CandidateProtocol._($core.int v, $core.String n) : super(v, n); } - const _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 cb64e263..0588bf4e 100644 --- a/lib/src/proto/livekit_rtc.pbjson.dart +++ b/lib/src/proto/livekit_rtc.pbjson.dart @@ -36,8 +36,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 = { @@ -57,21 +57,133 @@ final $typed_data.Uint8List candidateProtocolDescriptor = $convert.base64Decode( 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': 'update_layers', '3': 10, '4': 1, '5': 11, '6': '.livekit.UpdateVideoLayers', '9': 0, '10': 'updateLayers'}, - {'1': 'subscription_permission', '3': 11, '4': 1, '5': 11, '6': '.livekit.SubscriptionPermission', '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': '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, + '4': 1, + '5': 11, + '6': '.livekit.UpdateVideoLayers', + '9': 0, + '10': 'updateLayers' + }, + { + '1': 'subscription_permission', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.SubscriptionPermission', + '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': 'ping', '3': 14, '4': 1, '5': 3, '9': 0, '10': 'ping'}, - {'1': 'update_metadata', '3': 15, '4': 1, '5': 11, '6': '.livekit.UpdateParticipantMetadata', '9': 0, '10': 'updateMetadata'}, - {'1': 'ping_req', '3': 16, '4': 1, '5': 11, '6': '.livekit.Ping', '9': 0, '10': 'pingReq'}, + { + '1': 'update_metadata', + '3': 15, + '4': 1, + '5': 11, + '6': '.livekit.UpdateParticipantMetadata', + '9': 0, + '10': 'updateMetadata' + }, + { + '1': 'ping_req', + '3': 16, + '4': 1, + '5': 11, + '6': '.livekit.Ping', + '9': 0, + '10': 'pingReq' + }, ], '8': [ {'1': 'message'}, @@ -102,26 +214,177 @@ final $typed_data.Uint8List signalRequestDescriptor = $convert.base64Decode( 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': 'track_published', '3': 6, '4': 1, '5': 11, '6': '.livekit.TrackPublishedResponse', '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': 'speakers_changed', '3': 10, '4': 1, '5': 11, '6': '.livekit.SpeakersChanged', '9': 0, '10': 'speakersChanged'}, - {'1': 'room_update', '3': 11, '4': 1, '5': 11, '6': '.livekit.RoomUpdate', '9': 0, '10': 'roomUpdate'}, - {'1': 'connection_quality', '3': 12, '4': 1, '5': 11, '6': '.livekit.ConnectionQualityUpdate', '9': 0, '10': 'connectionQuality'}, - {'1': 'stream_state_update', '3': 13, '4': 1, '5': 11, '6': '.livekit.StreamStateUpdate', '9': 0, '10': 'streamStateUpdate'}, - {'1': 'subscribed_quality_update', '3': 14, '4': 1, '5': 11, '6': '.livekit.SubscribedQualityUpdate', '9': 0, '10': 'subscribedQualityUpdate'}, - {'1': 'subscription_permission_update', '3': 15, '4': 1, '5': 11, '6': '.livekit.SubscriptionPermissionUpdate', '9': 0, '10': 'subscriptionPermissionUpdate'}, - {'1': 'refresh_token', '3': 16, '4': 1, '5': 9, '9': 0, '10': 'refreshToken'}, - {'1': 'track_unpublished', '3': 17, '4': 1, '5': 11, '6': '.livekit.TrackUnpublishedResponse', '9': 0, '10': 'trackUnpublished'}, + { + '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, + '4': 1, + '5': 11, + '6': '.livekit.TrackPublishedResponse', + '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': 'speakers_changed', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.SpeakersChanged', + '9': 0, + '10': 'speakersChanged' + }, + { + '1': 'room_update', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.RoomUpdate', + '9': 0, + '10': 'roomUpdate' + }, + { + '1': 'connection_quality', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.ConnectionQualityUpdate', + '9': 0, + '10': 'connectionQuality' + }, + { + '1': 'stream_state_update', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.StreamStateUpdate', + '9': 0, + '10': 'streamStateUpdate' + }, + { + '1': 'subscribed_quality_update', + '3': 14, + '4': 1, + '5': 11, + '6': '.livekit.SubscribedQualityUpdate', + '9': 0, + '10': 'subscribedQualityUpdate' + }, + { + '1': 'subscription_permission_update', + '3': 15, + '4': 1, + '5': 11, + '6': '.livekit.SubscriptionPermissionUpdate', + '9': 0, + '10': 'subscriptionPermissionUpdate' + }, + { + '1': 'refresh_token', + '3': 16, + '4': 1, + '5': 9, + '9': 0, + '10': 'refreshToken' + }, + { + '1': 'track_unpublished', + '3': 17, + '4': 1, + '5': 11, + '6': '.livekit.TrackUnpublishedResponse', + '9': 0, + '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': 'subscription_response', '3': 21, '4': 1, '5': 11, '6': '.livekit.SubscriptionResponse', '9': 0, '10': 'subscriptionResponse'}, + { + '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, + '4': 1, + '5': 11, + '6': '.livekit.SubscriptionResponse', + '9': 0, + '10': 'subscriptionResponse' + }, ], '8': [ {'1': 'message'}, @@ -175,18 +438,53 @@ 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'}, {'1': 'disable_dtx', '3': 7, '4': 1, '5': 8, '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', '3': 12, '4': 1, '5': 8, '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'}, ], }; @@ -209,7 +507,14 @@ 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' + }, ], }; @@ -237,17 +542,58 @@ 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', '3': 8, '4': 1, '5': 11, '6': '.livekit.ClientConfiguration', '10': 'clientConfiguration'}, + { + '1': 'client_configuration', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.ClientConfiguration', + '10': 'clientConfiguration' + }, {'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'}, ], }; @@ -271,8 +617,22 @@ final $typed_data.Uint8List joinResponseDescriptor = $convert.base64Decode( const ReconnectResponse$json = { '1': 'ReconnectResponse', '2': [ - {'1': 'ice_servers', '3': 1, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, - {'1': 'client_configuration', '3': 2, '4': 1, '5': 11, '6': '.livekit.ClientConfiguration', '10': 'clientConfiguration'}, + { + '1': 'ice_servers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ICEServer', + '10': 'iceServers' + }, + { + '1': 'client_configuration', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.ClientConfiguration', + '10': 'clientConfiguration' + }, ], }; @@ -287,14 +647,22 @@ 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' - 'gLMhIubGl2ZWtpdC5UcmFja0luZm9SBXRyYWNr'); +final $typed_data.Uint8List trackPublishedResponseDescriptor = + $convert.base64Decode( + 'ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' + 'gLMhIubGl2ZWtpdC5UcmFja0luZm9SBXRyYWNr'); @$core.Deprecated('Use trackUnpublishedResponseDescriptor instead') const TrackUnpublishedResponse$json = { @@ -305,9 +673,10 @@ const TrackUnpublishedResponse$json = { }; /// Descriptor for `TrackUnpublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackUnpublishedResponseDescriptor = $convert.base64Decode( - 'ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' - '=='); +final $typed_data.Uint8List trackUnpublishedResponseDescriptor = + $convert.base64Decode( + 'ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' + '=='); @$core.Deprecated('Use sessionDescriptionDescriptor instead') const SessionDescription$json = { @@ -327,7 +696,14 @@ final $typed_data.Uint8List sessionDescriptionDescriptor = $convert.base64Decode 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' + }, ], }; @@ -342,7 +718,14 @@ 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' + }, ], }; @@ -358,7 +741,14 @@ const UpdateTrackSettings$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'disabled', '3': 3, '4': 1, '5': 8, '10': 'disabled'}, - {'1': 'quality', '3': 4, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 4, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'width', '3': 5, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 6, '4': 1, '5': 13, '10': 'height'}, {'1': 'fps', '3': 7, '4': 1, '5': 13, '10': 'fps'}, @@ -378,7 +768,14 @@ 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': 'reason', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.DisconnectReason', + '10': 'reason' + }, ], }; @@ -392,7 +789,14 @@ 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' + }, ], }; @@ -411,9 +815,10 @@ const UpdateParticipantMetadata$json = { }; /// Descriptor for `UpdateParticipantMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateParticipantMetadataDescriptor = $convert.base64Decode( - 'ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' - 'ISCgRuYW1lGAIgASgJUgRuYW1l'); +final $typed_data.Uint8List updateParticipantMetadataDescriptor = + $convert.base64Decode( + 'ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' + 'ISCgRuYW1lGAIgASgJUgRuYW1l'); @$core.Deprecated('Use iCEServerDescriptor instead') const ICEServer$json = { @@ -434,7 +839,14 @@ final $typed_data.Uint8List iCEServerDescriptor = $convert.base64Decode( 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' + }, ], }; @@ -460,7 +872,14 @@ 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'}, ], }; @@ -475,14 +894,22 @@ final $typed_data.Uint8List connectionQualityInfoDescriptor = $convert.base64Dec 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' - '5uZWN0aW9uUXVhbGl0eUluZm9SB3VwZGF0ZXM='); +final $typed_data.Uint8List connectionQualityUpdateDescriptor = + $convert.base64Decode( + 'ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' + '5uZWN0aW9uUXVhbGl0eUluZm9SB3VwZGF0ZXM='); @$core.Deprecated('Use streamStateInfoDescriptor instead') const StreamStateInfo$json = { @@ -490,7 +917,14 @@ 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' + }, ], }; @@ -504,7 +938,14 @@ final $typed_data.Uint8List streamStateInfoDescriptor = $convert.base64Decode( 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' + }, ], }; @@ -517,7 +958,14 @@ final $typed_data.Uint8List streamStateUpdateDescriptor = $convert.base64Decode( 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'}, ], }; @@ -532,7 +980,14 @@ 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' + }, ], }; @@ -546,8 +1001,22 @@ const SubscribedQualityUpdate$json = { '1': 'SubscribedQualityUpdate', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'subscribed_qualities', '3': 2, '4': 3, '5': 11, '6': '.livekit.SubscribedQuality', '10': 'subscribedQualities'}, - {'1': 'subscribed_codecs', '3': 3, '4': 3, '5': 11, '6': '.livekit.SubscribedCodec', '10': 'subscribedCodecs'}, + { + '1': 'subscribed_qualities', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.SubscribedQuality', + '10': 'subscribedQualities' + }, + { + '1': 'subscribed_codecs', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.SubscribedCodec', + '10': 'subscribedCodecs' + }, ], }; @@ -565,7 +1034,13 @@ 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' + }, ], }; @@ -581,7 +1056,14 @@ 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' + }, ], }; @@ -602,20 +1084,56 @@ const SubscriptionPermissionUpdate$json = { }; /// Descriptor for `SubscriptionPermissionUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionPermissionUpdateDescriptor = $convert.base64Decode( - 'ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' - 'IOcGFydGljaXBhbnRTaWQSGwoJdHJhY2tfc2lkGAIgASgJUgh0cmFja1NpZBIYCgdhbGxvd2Vk' - 'GAMgASgIUgdhbGxvd2Vk'); +final $typed_data.Uint8List subscriptionPermissionUpdateDescriptor = + $convert.base64Decode( + 'ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' + 'IOcGFydGljaXBhbnRTaWQSGwoJdHJhY2tfc2lkGAIgASgJUgh0cmFja1NpZBIYCgdhbGxvd2Vk' + 'GAMgASgIUgdhbGxvd2Vk'); @$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': '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' + }, ], }; @@ -634,7 +1152,14 @@ 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' + }, ], }; @@ -647,12 +1172,34 @@ final $typed_data.Uint8List dataChannelInfoDescriptor = $convert.base64Decode( 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'}, - {'1': 'switch_candidate_protocol', '3': 5, '4': 1, '5': 14, '6': '.livekit.CandidateProtocol', '9': 0, '10': 'switchCandidateProtocol'}, - {'1': 'subscriber_bandwidth', '3': 6, '4': 1, '5': 3, '9': 0, '10': 'subscriberBandwidth'}, + { + '1': 'switch_candidate_protocol', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.CandidateProtocol', + '9': 0, + '10': 'switchCandidateProtocol' + }, + { + '1': 'subscriber_bandwidth', + '3': 6, + '4': 1, + '5': 3, + '9': 0, + '10': 'subscriberBandwidth' + }, ], '8': [ {'1': 'scenario'}, @@ -685,7 +1232,13 @@ final $typed_data.Uint8List pingDescriptor = $convert.base64Decode( 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'}, ], }; @@ -699,7 +1252,14 @@ final $typed_data.Uint8List pongDescriptor = $convert.base64Decode( 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' + }, ], }; @@ -728,7 +1288,14 @@ 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' + }, ], }; @@ -736,4 +1303,3 @@ const SubscriptionResponse$json = { final $typed_data.Uint8List subscriptionResponseDescriptor = $convert.base64Decode( 'ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); - diff --git a/lib/src/proto/livekit_rtc.pbserver.dart b/lib/src/proto/livekit_rtc.pbserver.dart index 681e81ba..e2fd5270 100644 --- a/lib/src/proto/livekit_rtc.pbserver.dart +++ b/lib/src/proto/livekit_rtc.pbserver.dart @@ -11,4 +11,3 @@ // ignore_for_file: unnecessary_import, unnecessary_this, unused_import export 'livekit_rtc.pb.dart'; -