From 211bfe9cdaf596c258dcf7ce873966045e69de44 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Wed, 22 Jan 2025 12:12:17 +0100 Subject: [PATCH 01/16] fix: tighten VideoTrackRenderer Widget This allows external users to e.g. apply rounded edges. Without this patch, VideoTrackRenderer will expand to its available space with no way for parent widgets to know how large the video actually is --- lib/src/widgets/video_track_renderer.dart | 62 ++++++++++++++++++++++- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/lib/src/widgets/video_track_renderer.dart b/lib/src/widgets/video_track_renderer.dart index 61e353603..eb7ccc277 100644 --- a/lib/src/widgets/video_track_renderer.dart +++ b/lib/src/widgets/video_track_renderer.dart @@ -65,6 +65,9 @@ class VideoTrackRenderer extends StatefulWidget { final rtc.RTCVideoRenderer? cachedRenderer; final bool autoDisposeRenderer; + /// wrap the video view in a Center widget (if [fit] is [VideoViewFit.contain]) + final bool autoCenter; + const VideoTrackRenderer( this.track, { this.fit = VideoViewFit.contain, @@ -72,6 +75,7 @@ class VideoTrackRenderer extends StatefulWidget { this.renderMode = VideoRenderMode.texture, this.autoDisposeRenderer = true, this.cachedRenderer, + this.autoCenter = true, Key? key, }) : super(key: key); @@ -83,6 +87,7 @@ class _VideoTrackRendererState extends State { rtc.VideoRenderer? _renderer; // for flutter web only. bool _rendererReadyForWeb = false; + double? _aspectRatio; EventsListener? _listener; // Used to compute visibility information late GlobalKey _internalKey; @@ -121,6 +126,7 @@ class _VideoTrackRendererState extends State { void disposeRenderer() { try { + _renderer?.onResize = null; _renderer?.srcObject = null; _renderer?.dispose(); _renderer = null; @@ -167,6 +173,14 @@ class _VideoTrackRendererState extends State { // force recompute of mirror mode setState(() {}); }); + _renderer?.onResize = () { + if (mounted) { + setState(() { + _aspectRatio = + (_renderer as rtc.RTCVideoRenderer?)?.videoValue.aspectRatio; + }); + } + }; } @override @@ -268,8 +282,52 @@ class _VideoTrackRendererState extends State { // FutureBuilder will cause flickering for flutter web. so using // different rendering methods for web and native. @override - Widget build(BuildContext context) => - kIsWeb ? _videoViewForWeb() : _videoViewForNative(); + Widget build(BuildContext context) { + final child = kIsWeb ? _videoViewForWeb() : _videoViewForNative(); + + if (widget.fit == VideoViewFit.cover) { + return child; + } + + final videoView = LayoutBuilder( + builder: (BuildContext context, BoxConstraints constraints) { + if (!constraints.hasBoundedWidth && !constraints.hasBoundedHeight) { + return child; + } + if (_aspectRatio == null) { + return child; + } + + bool fixHeight; + if (!constraints.hasBoundedWidth) { + fixHeight = true; + } else if (!constraints.hasBoundedHeight) { + fixHeight = false; + } else { + // both width and height are bound, figure out which to fix based on aspect ratios + final constraintsAspectRatio = + constraints.maxWidth / constraints.maxHeight; + fixHeight = constraintsAspectRatio > _aspectRatio!; + } + final double width; + final double height; + if (fixHeight) { + height = constraints.maxHeight; + width = height * _aspectRatio!; + } else { + width = constraints.maxWidth; + height = width / _aspectRatio!; + } + return SizedBox(width: width, height: height, child: child); + }, + ); + + if (widget.autoCenter) { + return Center(child: videoView); + } else { + return videoView; + } + } bool _shouldMirror() { // off for screen share From ff23d72eb43b024a8b5691f4454d9bc53525bab7 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 8 Jul 2025 11:43:21 +0200 Subject: [PATCH 02/16] fix(web, firefox): backup old values before overwriting them --- lib/src/track/local/video.dart | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/src/track/local/video.dart b/lib/src/track/local/video.dart index 44d3afc94..09f30260d 100644 --- a/lib/src/track/local/video.dart +++ b/lib/src/track/local/video.dart @@ -62,6 +62,7 @@ class LocalVideoTrack extends LocalTrack with VideoTrack { final Map _bitrateFoLayers = {}; Map simulcastCodecs = {}; + Map<(String, int), rtc.RTCRtpEncoding> encodingBackups = {}; List subscribedCodecs = []; @@ -452,11 +453,16 @@ extension LocalVideoTrackExt on LocalVideoTrack { // have a workaround of lowering its bitrate and resolution to the min. if (kIsWeb && lkBrowser() == BrowserType.firefox) { if (subscribedQuality.enabled) { + final encodingBackup = encodingBackups[(sender.senderId, idx)]!; encoding.scaleResolutionDownBy = - encodings[idx].scaleResolutionDownBy; - encoding.maxBitrate = encodings[idx].maxBitrate; - encoding.maxFramerate = encodings[idx].maxBitrate; + encodingBackup.scaleResolutionDownBy; + encoding.maxBitrate = encodingBackup.maxBitrate; + encoding.maxFramerate = encodingBackup.maxFramerate; } else { + encodingBackups[(sender.senderId, idx)] = rtc.RTCRtpEncoding( + scaleResolutionDownBy: encoding.scaleResolutionDownBy, + maxBitrate: encoding.maxBitrate, + maxFramerate: encoding.maxFramerate); encoding.scaleResolutionDownBy = 4; encoding.maxBitrate = 10; encoding.maxFramerate = 2; From 591eaba968d28da37dc4f1dc0bef9a3129347a6b Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Wed, 2 Apr 2025 15:52:15 +0200 Subject: [PATCH 03/16] fix: copy processor --- lib/src/track/options.dart | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/src/track/options.dart b/lib/src/track/options.dart index b7e63ff0e..f3bb5ed3d 100644 --- a/lib/src/track/options.dart +++ b/lib/src/track/options.dart @@ -81,6 +81,7 @@ class CameraCaptureOptions extends VideoCaptureOptions { params: captureOptions.params, deviceId: captureOptions.deviceId, maxFrameRate: captureOptions.maxFrameRate, + processor: captureOptions.processor, ); @override @@ -112,19 +113,25 @@ class CameraCaptureOptions extends VideoCaptureOptions { // Returns new options with updated properties CameraCaptureOptions copyWith({ - VideoParameters? params, CameraPosition? cameraPosition, + CameraFocusMode? focusMode, + CameraExposureMode? exposureMode, String? deviceId, double? maxFrameRate, + VideoParameters? params, bool? stopCameraCaptureOnMute, + TrackProcessor? processor, }) => CameraCaptureOptions( - params: params ?? this.params, cameraPosition: cameraPosition ?? this.cameraPosition, + focusMode: focusMode ?? this.focusMode, + exposureMode: exposureMode ?? this.exposureMode, deviceId: deviceId ?? this.deviceId, maxFrameRate: maxFrameRate ?? this.maxFrameRate, + params: params ?? this.params, stopCameraCaptureOnMute: stopCameraCaptureOnMute ?? this.stopCameraCaptureOnMute, + processor: processor ?? this.processor, ); } From 64aba20fb7b5ecca5593a9cf4a4f3b73601bfc5c Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Thu, 3 Jul 2025 19:35:59 +0200 Subject: [PATCH 04/16] fix: properly handle processor updates --- lib/src/track/local/local.dart | 15 ++++++++++----- lib/src/track/track.dart | 10 +++++++++- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/lib/src/track/local/local.dart b/lib/src/track/local/local.dart index d96a05fa0..22b5477ac 100644 --- a/lib/src/track/local/local.dart +++ b/lib/src/track/local/local.dart @@ -36,9 +36,6 @@ import '../track.dart'; import 'audio.dart'; import 'video.dart'; -import '../processor_native.dart' - if (dart.library.js_interop) '../processor_web.dart'; - /// Used to group [LocalVideoTrack] and [RemoteVideoTrack]. mixin VideoTrack on Track { @internal @@ -133,6 +130,13 @@ abstract class LocalTrack extends Track { @override Future stop() async { + try { + if (_processor != null) { + await stopProcessor(); + } + } catch (error) { + logger.severe('LocalTrack.stopProcessor did throw: $error'); + } final didStop = await super.stop() || !_stopped; if (didStop) { logger.fine('Stopping mediaStreamTrack...'); @@ -261,14 +265,15 @@ abstract class LocalTrack extends Track { _processor = processor; - var processorOptions = AudioProcessorOptions( + var processorOptions = ProcessorOptions( + kind: kind, track: mediaStreamTrack, ); await _processor!.init(processorOptions); if (_processor?.processedTrack != null) { - setProcessedTrack(processor.processedTrack!); + await setProcessedTrack(processor.processedTrack!); } logger.fine('processor initialized'); diff --git a/lib/src/track/track.dart b/lib/src/track/track.dart index c72f4dcc0..43d06c12a 100644 --- a/lib/src/track/track.dart +++ b/lib/src/track/track.dart @@ -229,8 +229,16 @@ abstract class Track extends DisposableChangeNotifier } @internal - void setProcessedTrack(rtc.MediaStreamTrack track) { + Future setProcessedTrack(rtc.MediaStreamTrack track) async { _originalTrack = _mediaStreamTrack; _mediaStreamTrack = track; + if (_originalTrack != null) { + await _mediaStream.removeTrack(_originalTrack!); + } + await _mediaStream.addTrack(track); + events.emit(TrackStreamUpdatedEvent( + track: this, + stream: _mediaStream, + )); } } From 7b7c583adc9d867fdc9b952498994878e9a12cff Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Wed, 16 Jul 2025 08:15:07 +0200 Subject: [PATCH 05/16] fix: properly update processed streams --- lib/src/track/local/local.dart | 2 ++ lib/src/track/track.dart | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/lib/src/track/local/local.dart b/lib/src/track/local/local.dart index 22b5477ac..ca9406fd6 100644 --- a/lib/src/track/local/local.dart +++ b/lib/src/track/local/local.dart @@ -299,6 +299,8 @@ abstract class LocalTrack extends Track { // force re-setting of the mediaStreamTrack on the sender //await this.setMediaStreamTrack(this._mediaStreamTrack, true); + await setProcessedTrack(null); + events.emit(TrackProcessorUpdateEvent(track: this)); } diff --git a/lib/src/track/track.dart b/lib/src/track/track.dart index 43d06c12a..f15015900 100644 --- a/lib/src/track/track.dart +++ b/lib/src/track/track.dart @@ -229,13 +229,22 @@ abstract class Track extends DisposableChangeNotifier } @internal - Future setProcessedTrack(rtc.MediaStreamTrack track) async { - _originalTrack = _mediaStreamTrack; - _mediaStreamTrack = track; - if (_originalTrack != null) { - await _mediaStream.removeTrack(_originalTrack!); + Future setProcessedTrack(rtc.MediaStreamTrack? track) async { + if (track != null) { + // set processed track + _originalTrack = _mediaStreamTrack; + _mediaStreamTrack = track; + if (_originalTrack != null) { + await _mediaStream.removeTrack(_originalTrack!); + } + await _mediaStream.addTrack(track); + } else if (_originalTrack != null) { + // reset processed track + await _mediaStream.removeTrack(_mediaStreamTrack); + await _mediaStream.addTrack(_originalTrack!); + _mediaStreamTrack = _originalTrack!; + _originalTrack = null; } - await _mediaStream.addTrack(track); events.emit(TrackStreamUpdatedEvent( track: this, stream: _mediaStream, From 19f3d0580d6e30e54e4ded3002422a9ae130329e Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Thu, 21 Aug 2025 16:21:45 +0200 Subject: [PATCH 06/16] fix: stop stream first, processor second otherwise unblurred video is visible for a few frames --- lib/src/track/local/local.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/src/track/local/local.dart b/lib/src/track/local/local.dart index ca9406fd6..7e0321774 100644 --- a/lib/src/track/local/local.dart +++ b/lib/src/track/local/local.dart @@ -130,13 +130,6 @@ abstract class LocalTrack extends Track { @override Future stop() async { - try { - if (_processor != null) { - await stopProcessor(); - } - } catch (error) { - logger.severe('LocalTrack.stopProcessor did throw: $error'); - } final didStop = await super.stop() || !_stopped; if (didStop) { logger.fine('Stopping mediaStreamTrack...'); @@ -151,6 +144,13 @@ abstract class LocalTrack extends Track { logger.severe('MediaStreamTrack.dispose() did throw $error'); } _stopped = true; + try { + if (_processor != null) { + await stopProcessor(); + } + } catch (error) { + logger.severe('LocalTrack.stopProcessor did throw: $error'); + } } return didStop; } From e92daaa53c20e85491f4508e6acc469197e770f0 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 26 Aug 2025 08:48:26 +0200 Subject: [PATCH 07/16] chore: format files --- lib/src/core/engine.dart | 3 +- lib/src/events.dart | 3 +- lib/src/participant/participant.dart | 48 ++++++++++++++++++---------- lib/src/types/participant_state.dart | 3 +- 4 files changed, 38 insertions(+), 19 deletions(-) diff --git a/lib/src/core/engine.dart b/lib/src/core/engine.dart index 25b371af8..28f075816 100644 --- a/lib/src/core/engine.dart +++ b/lib/src/core/engine.dart @@ -34,7 +34,8 @@ import '../proto/livekit_models.pb.dart' as lk_models; import '../proto/livekit_rtc.pb.dart' as lk_rtc; import '../publication/local.dart'; import '../support/disposable.dart'; -import '../support/platform.dart' show lkPlatformIsTest, lkPlatformIs, PlatformType; +import '../support/platform.dart' + show lkPlatformIsTest, lkPlatformIs, PlatformType; import '../support/region_url_provider.dart'; import '../support/websocket.dart'; import '../track/local/local.dart'; diff --git a/lib/src/events.dart b/lib/src/events.dart index 31cbbaf09..a8e1b47bc 100644 --- a/lib/src/events.dart +++ b/lib/src/events.dart @@ -387,7 +387,8 @@ class ParticipantStateUpdatedEvent with RoomEvent, ParticipantEvent { /// [Pariticpant]'s [ConnectionQuality] has updated. /// Emitted by [Room] and [Participant]. -class ParticipantConnectionQualityUpdatedEvent with RoomEvent, ParticipantEvent { +class ParticipantConnectionQualityUpdatedEvent + with RoomEvent, ParticipantEvent { final Participant participant; final ConnectionQuality connectionQuality; const ParticipantConnectionQualityUpdatedEvent({ diff --git a/lib/src/participant/participant.dart b/lib/src/participant/participant.dart index 1d83ea3d4..d36d84aec 100644 --- a/lib/src/participant/participant.dart +++ b/lib/src/participant/participant.dart @@ -39,8 +39,8 @@ import '../utils.dart'; /// Base for [RemoteParticipant] and [LocalParticipant], /// can not be instantiated directly. -abstract class Participant extends DisposableChangeNotifier - with EventsEmittable { +abstract class Participant + extends DisposableChangeNotifier with EventsEmittable { /// Reference to [Room] @internal final Room room; @@ -81,7 +81,8 @@ abstract class Participant extends DisposableChangeN ParticipantPermissions get permissions => _permissions; /// Attributes associated with the participant - UnmodifiableMapView get attributes => UnmodifiableMapView(_attributes); + UnmodifiableMapView get attributes => + UnmodifiableMapView(_attributes); Map _attributes = {}; // Participant state @@ -92,7 +93,8 @@ abstract class Participant extends DisposableChangeN DateTime get joinedAt { final pi = _participantInfo; if (pi != null) { - return DateTime.fromMillisecondsSinceEpoch(pi.joinedAt.toInt() * 1000, isUtc: true); + return DateTime.fromMillisecondsSinceEpoch(pi.joinedAt.toInt() * 1000, + isUtc: true); } return DateTime.now(); } @@ -191,10 +193,14 @@ abstract class Participant extends DisposableChangeN } void _setAttributes(Map attrs) { - final diff = mapDiff(_attributes, attrs).map((k, v) => MapEntry(k as String, v as String)); + final diff = mapDiff(_attributes, attrs) + .map((k, v) => MapEntry(k as String, v as String)); _attributes = attrs; if (diff.isNotEmpty) { - [events, room.events].emit(ParticipantAttributesChanged(participant: this, attributes: diff)); + [ + events, + room.events + ].emit(ParticipantAttributesChanged(participant: this, attributes: diff)); } } @@ -211,7 +217,9 @@ abstract class Participant extends DisposableChangeN @internal Future updateFromInfo(lk_models.ParticipantInfo info) async { logger.fine('LocalParticipant.updateFromInfo(info: $info)'); - if (_participantInfo != null && _participantInfo!.sid == info.sid && _participantInfo!.version > info.version) { + if (_participantInfo != null && + _participantInfo!.sid == info.sid && + _participantInfo!.version > info.version) { return false; } @@ -287,14 +295,19 @@ abstract class Participant extends DisposableChangeN T? getTrackPublicationBySource(TrackSource source) { if (source == TrackSource.unknown) return null; // try to find by source - final result = trackPublications.values.firstWhereOrNull((e) => e.source == source); + final result = + trackPublications.values.firstWhereOrNull((e) => e.source == source); if (result != null) return result; // try to find by compatibility - return trackPublications.values.where((e) => e.source == TrackSource.unknown).firstWhereOrNull((e) => - (source == TrackSource.microphone && e.kind == TrackType.AUDIO) || - (source == TrackSource.camera && e.kind == TrackType.VIDEO) || - (source == TrackSource.screenShareVideo && e.kind == TrackType.VIDEO) || - (source == TrackSource.screenShareAudio && e.kind == TrackType.AUDIO)); + return trackPublications.values + .where((e) => e.source == TrackSource.unknown) + .firstWhereOrNull((e) => + (source == TrackSource.microphone && e.kind == TrackType.AUDIO) || + (source == TrackSource.camera && e.kind == TrackType.VIDEO) || + (source == TrackSource.screenShareVideo && + e.kind == TrackType.VIDEO) || + (source == TrackSource.screenShareAudio && + e.kind == TrackType.AUDIO)); } /// Convenience property to check whether [TrackSource.camera] is published or not. @@ -304,17 +317,20 @@ abstract class Participant extends DisposableChangeN /// Convenience property to check whether [TrackSource.microphone] is published or not. bool isMicrophoneEnabled() { - return !(getTrackPublicationBySource(TrackSource.microphone)?.muted ?? true); + return !(getTrackPublicationBySource(TrackSource.microphone)?.muted ?? + true); } /// Convenience property to check whether [TrackSource.screenShareVideo] is published or not. bool isScreenShareEnabled() { - return !(getTrackPublicationBySource(TrackSource.screenShareVideo)?.muted ?? true); + return !(getTrackPublicationBySource(TrackSource.screenShareVideo)?.muted ?? + true); } /// Convenience property to check whether [TrackSource.screenShareAudio] is published or not. bool isScreenShareAudioEnabled() { - return !(getTrackPublicationBySource(TrackSource.screenShareAudio)?.muted ?? true); + return !(getTrackPublicationBySource(TrackSource.screenShareAudio)?.muted ?? + true); } /// (Equality operator) [Participant.hashCode] is same as [sid.hashCode]. diff --git a/lib/src/types/participant_state.dart b/lib/src/types/participant_state.dart index 6691b5e5c..8f278686e 100644 --- a/lib/src/types/participant_state.dart +++ b/lib/src/types/participant_state.dart @@ -37,7 +37,8 @@ extension ParticipantStateExt on lk_models.ParticipantInfo_State { lk_models.ParticipantInfo_State.JOINING => ParticipantState.joining, lk_models.ParticipantInfo_State.JOINED => ParticipantState.joined, lk_models.ParticipantInfo_State.ACTIVE => ParticipantState.active, - lk_models.ParticipantInfo_State.DISCONNECTED => ParticipantState.disconnected, + lk_models.ParticipantInfo_State.DISCONNECTED => + ParticipantState.disconnected, _ => ParticipantState.unknown, }; } From 1cd7c2a50bd27b5819f1a8704c1e533ecfbe2164 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 26 Aug 2025 08:49:29 +0200 Subject: [PATCH 08/16] chore: update webrtc sdk to same version as flutter-webrtc --- ios/livekit_client.podspec | 2 +- macos/livekit_client.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/livekit_client.podspec b/ios/livekit_client.podspec index dde89354e..bae4ad60a 100644 --- a/ios/livekit_client.podspec +++ b/ios/livekit_client.podspec @@ -16,6 +16,6 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency 'Flutter' - s.dependency 'WebRTC-SDK', '137.7151.02' + s.dependency 'WebRTC-SDK', '137.7151.03' s.dependency 'flutter_webrtc' end diff --git a/macos/livekit_client.podspec b/macos/livekit_client.podspec index 285fa6420..5000c68cc 100644 --- a/macos/livekit_client.podspec +++ b/macos/livekit_client.podspec @@ -16,6 +16,6 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency 'FlutterMacOS' - s.dependency 'WebRTC-SDK', '137.7151.02' + s.dependency 'WebRTC-SDK', '137.7151.03' s.dependency 'flutter_webrtc' end From 1b0a28684499d56db85c9c15d8411d29b097f8be Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 26 Aug 2025 08:51:46 +0200 Subject: [PATCH 09/16] chore: run import sorter --- lib/src/core/engine.dart | 8 +++++--- lib/src/track/audio_visualizer.dart | 2 +- lib/src/track/local/video.dart | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/src/core/engine.dart b/lib/src/core/engine.dart index 28f075816..353be0eea 100644 --- a/lib/src/core/engine.dart +++ b/lib/src/core/engine.dart @@ -16,9 +16,10 @@ import 'dart:async'; +import 'package:flutter/foundation.dart'; + import 'package:collection/collection.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; -import 'package:flutter/foundation.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; import 'package:meta/meta.dart'; @@ -34,8 +35,6 @@ import '../proto/livekit_models.pb.dart' as lk_models; import '../proto/livekit_rtc.pb.dart' as lk_rtc; import '../publication/local.dart'; import '../support/disposable.dart'; -import '../support/platform.dart' - show lkPlatformIsTest, lkPlatformIs, PlatformType; import '../support/region_url_provider.dart'; import '../support/websocket.dart'; import '../track/local/local.dart'; @@ -45,6 +44,9 @@ import '../types/other.dart'; import 'signal_client.dart'; import 'transport.dart'; +import '../support/platform.dart' + show lkPlatformIsTest, lkPlatformIs, PlatformType; + const maxRetryDelay = 7000; const defaultRetryDelaysInMs = [ diff --git a/lib/src/track/audio_visualizer.dart b/lib/src/track/audio_visualizer.dart index 9f4982ae0..0db094462 100644 --- a/lib/src/track/audio_visualizer.dart +++ b/lib/src/track/audio_visualizer.dart @@ -1,8 +1,8 @@ import 'package:uuid/uuid.dart' as uuid; -import '../support/disposable.dart'; import '../events.dart' show AudioVisualizerEvent; import '../managers/event.dart' show EventsEmittable; +import '../support/disposable.dart'; import 'local/local.dart' show AudioTrack; import 'audio_visualizer_native.dart' diff --git a/lib/src/track/local/video.dart b/lib/src/track/local/video.dart index ee06df1c3..63d566db5 100644 --- a/lib/src/track/local/video.dart +++ b/lib/src/track/local/video.dart @@ -12,8 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -import 'package:collection/collection.dart'; import 'package:flutter/foundation.dart'; + +import 'package:collection/collection.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; import '../../events.dart'; From 8d8609531fbca20072fad7509c18cff30ff75803 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 26 Aug 2025 09:11:05 +0200 Subject: [PATCH 10/16] chore: fix analyzer issues --- lib/src/core/engine.dart | 1 - lib/src/core/room.dart | 1 - lib/src/core/signal_client.dart | 1 - lib/src/data_stream/stream_reader.dart | 4 ++-- lib/src/data_stream/stream_writer.dart | 2 +- lib/src/managers/broadcast_manager.dart | 2 -- lib/src/participant/local.dart | 1 - lib/src/track/local/local.dart | 1 - lib/src/track/track.dart | 1 - lib/src/utils.dart | 1 - 10 files changed, 3 insertions(+), 12 deletions(-) diff --git a/lib/src/core/engine.dart b/lib/src/core/engine.dart index 353be0eea..2fd725758 100644 --- a/lib/src/core/engine.dart +++ b/lib/src/core/engine.dart @@ -21,7 +21,6 @@ import 'package:flutter/foundation.dart'; import 'package:collection/collection.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; -import 'package:meta/meta.dart'; import '../events.dart'; import '../exceptions.dart'; diff --git a/lib/src/core/room.dart b/lib/src/core/room.dart index c6d5bc4f1..04c577eee 100644 --- a/lib/src/core/room.dart +++ b/lib/src/core/room.dart @@ -18,7 +18,6 @@ import 'package:flutter/foundation.dart'; import 'package:collection/collection.dart'; import 'package:http/http.dart' as http; -import 'package:meta/meta.dart'; import '../core/signal_client.dart'; import '../data_stream/stream_reader.dart'; diff --git a/lib/src/core/signal_client.dart b/lib/src/core/signal_client.dart index 21be53781..bb3a706fc 100644 --- a/lib/src/core/signal_client.dart +++ b/lib/src/core/signal_client.dart @@ -21,7 +21,6 @@ import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:fixnum/fixnum.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; import 'package:http/http.dart' as http; -import 'package:meta/meta.dart'; import '../events.dart'; import '../exceptions.dart'; diff --git a/lib/src/data_stream/stream_reader.dart b/lib/src/data_stream/stream_reader.dart index ba458b705..44dd300fc 100644 --- a/lib/src/data_stream/stream_reader.dart +++ b/lib/src/data_stream/stream_reader.dart @@ -18,8 +18,8 @@ abstract class BaseStreamReader { BaseStreamReader(T info, DataStreamController stream, this._totalByteSize) { - this.reader = stream; - this._info = info; + reader = stream; + _info = info; } void handleChunkReceived(DataStream_Chunk chunk); diff --git a/lib/src/data_stream/stream_writer.dart b/lib/src/data_stream/stream_writer.dart index 1d2832a80..bfb702cb4 100644 --- a/lib/src/data_stream/stream_writer.dart +++ b/lib/src/data_stream/stream_writer.dart @@ -24,7 +24,7 @@ class BaseStreamWriter { Future close() async { await writableStream.close(); - this.onClose?.call(); + onClose?.call(); } } diff --git a/lib/src/managers/broadcast_manager.dart b/lib/src/managers/broadcast_manager.dart index 913d7a7b2..84f97b03e 100644 --- a/lib/src/managers/broadcast_manager.dart +++ b/lib/src/managers/broadcast_manager.dart @@ -14,8 +14,6 @@ import 'package:flutter/foundation.dart'; -import 'package:meta/meta.dart'; - import '../support/native.dart'; /// Manages broadcast state and track publication for screen sharing on iOS. diff --git a/lib/src/participant/local.dart b/lib/src/participant/local.dart index 823513819..3dc0f298b 100644 --- a/lib/src/participant/local.dart +++ b/lib/src/participant/local.dart @@ -23,7 +23,6 @@ import 'package:flutter/foundation.dart'; import 'package:async/async.dart'; import 'package:fixnum/fixnum.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; -import 'package:meta/meta.dart'; import 'package:mime_type/mime_type.dart'; import 'package:path/path.dart'; import 'package:uuid/uuid.dart'; diff --git a/lib/src/track/local/local.dart b/lib/src/track/local/local.dart index 7e0321774..20373dab1 100644 --- a/lib/src/track/local/local.dart +++ b/lib/src/track/local/local.dart @@ -18,7 +18,6 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; -import 'package:meta/meta.dart'; import '../../events.dart'; import '../../exceptions.dart'; diff --git a/lib/src/track/track.dart b/lib/src/track/track.dart index f15015900..999ca4a22 100644 --- a/lib/src/track/track.dart +++ b/lib/src/track/track.dart @@ -17,7 +17,6 @@ import 'dart:async'; import 'package:flutter/foundation.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; -import 'package:meta/meta.dart'; import 'package:uuid/uuid.dart'; import '../events.dart'; diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 3a45de6a1..eaa21b5a5 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -22,7 +22,6 @@ import 'package:collection/collection.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:device_info_plus/device_info_plus.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; -import 'package:meta/meta.dart'; import './proto/livekit_models.pb.dart' as lk_models; import './support/native.dart'; From 5d24c85fb88c04c094eeda529bfdb596780e0711 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Mon, 1 Sep 2025 08:17:27 +0200 Subject: [PATCH 11/16] chore: fix imports after merge from main --- lib/src/core/engine.dart | 2 ++ lib/src/core/room.dart | 1 + lib/src/core/signal_client.dart | 1 + lib/src/managers/broadcast_manager.dart | 2 ++ lib/src/participant/local.dart | 1 + lib/src/track/local/local.dart | 1 + lib/src/track/track.dart | 1 + lib/src/utils.dart | 1 + 8 files changed, 10 insertions(+) diff --git a/lib/src/core/engine.dart b/lib/src/core/engine.dart index f05881bc1..d22e80904 100644 --- a/lib/src/core/engine.dart +++ b/lib/src/core/engine.dart @@ -21,6 +21,7 @@ import 'package:flutter/foundation.dart' hide internal; import 'package:collection/collection.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; +import 'package:meta/meta.dart'; import '../events.dart'; import '../exceptions.dart'; @@ -312,6 +313,7 @@ class Engine extends Disposable with EventsEmittable { completer.completeError('Engine disconnected'); } } + events.once((e) => onClosing()); while (!_dcBufferStatus[kind]!) { diff --git a/lib/src/core/room.dart b/lib/src/core/room.dart index 7ed32ae38..7a019d86d 100644 --- a/lib/src/core/room.dart +++ b/lib/src/core/room.dart @@ -18,6 +18,7 @@ import 'package:flutter/foundation.dart' hide internal; import 'package:collection/collection.dart'; import 'package:http/http.dart' as http; +import 'package:meta/meta.dart'; import '../core/signal_client.dart'; import '../data_stream/stream_reader.dart'; diff --git a/lib/src/core/signal_client.dart b/lib/src/core/signal_client.dart index 4a6d6f0ac..a25ed8f27 100644 --- a/lib/src/core/signal_client.dart +++ b/lib/src/core/signal_client.dart @@ -21,6 +21,7 @@ import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:fixnum/fixnum.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; import 'package:http/http.dart' as http; +import 'package:meta/meta.dart'; import '../events.dart'; import '../exceptions.dart'; diff --git a/lib/src/managers/broadcast_manager.dart b/lib/src/managers/broadcast_manager.dart index d0fd6a55b..590bddb8b 100644 --- a/lib/src/managers/broadcast_manager.dart +++ b/lib/src/managers/broadcast_manager.dart @@ -14,6 +14,8 @@ import 'package:flutter/foundation.dart' hide internal; +import 'package:meta/meta.dart'; + import '../support/native.dart'; /// Manages broadcast state and track publication for screen sharing on iOS. diff --git a/lib/src/participant/local.dart b/lib/src/participant/local.dart index be5db2f2e..679e37fa9 100644 --- a/lib/src/participant/local.dart +++ b/lib/src/participant/local.dart @@ -23,6 +23,7 @@ import 'package:flutter/foundation.dart' hide internal; import 'package:async/async.dart'; import 'package:fixnum/fixnum.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; +import 'package:meta/meta.dart'; import 'package:mime_type/mime_type.dart'; import 'package:path/path.dart'; import 'package:uuid/uuid.dart'; diff --git a/lib/src/track/local/local.dart b/lib/src/track/local/local.dart index ccc2fdb14..64f046685 100644 --- a/lib/src/track/local/local.dart +++ b/lib/src/track/local/local.dart @@ -18,6 +18,7 @@ import 'package:flutter/foundation.dart' hide internal; import 'package:flutter/material.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; +import 'package:meta/meta.dart'; import '../../events.dart'; import '../../exceptions.dart'; diff --git a/lib/src/track/track.dart b/lib/src/track/track.dart index 84e36f969..62792e960 100644 --- a/lib/src/track/track.dart +++ b/lib/src/track/track.dart @@ -17,6 +17,7 @@ import 'dart:async'; import 'package:flutter/foundation.dart' hide internal; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; +import 'package:meta/meta.dart'; import 'package:uuid/uuid.dart'; import '../events.dart'; diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 7d912fb73..8a786a5d4 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -22,6 +22,7 @@ import 'package:collection/collection.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:device_info_plus/device_info_plus.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; +import 'package:meta/meta.dart'; import './proto/livekit_models.pb.dart' as lk_models; import './support/native.dart'; From f297b183b8cfb51689bd61b0075f63e1e7bdd3c9 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 14 Oct 2025 11:43:51 +0200 Subject: [PATCH 12/16] chore: reformat files --- lib/src/core/room.dart | 12 +- lib/src/data_stream/stream_writer.dart | 3 +- lib/src/e2ee/e2ee_manager.dart | 11 +- lib/src/participant/local.dart | 8 +- lib/src/participant/remote.dart | 3 +- .../proto/google/protobuf/timestamp.pb.dart | 18 +- lib/src/proto/livekit_metrics.pb.dart | 143 +- lib/src/proto/livekit_metrics.pbenum.dart | 103 +- lib/src/proto/livekit_metrics.pbjson.dart | 170 +- lib/src/proto/livekit_models.pb.dart | 1269 ++++++++----- lib/src/proto/livekit_models.pbenum.dart | 402 +++-- lib/src/proto/livekit_models.pbjson.dart | 1600 ++++++++++++----- lib/src/proto/livekit_rtc.pb.dart | 1417 ++++++++++----- lib/src/proto/livekit_rtc.pbenum.dart | 84 +- lib/src/proto/livekit_rtc.pbjson.dart | 1343 ++++++++++---- lib/src/publication/track_publication.dart | 3 +- lib/src/track/local/audio.dart | 3 +- lib/src/track/remote/audio.dart | 3 +- lib/src/track/remote/video.dart | 3 +- lib/src/types/data_stream.dart | 3 +- lib/src/widgets/screen_select_dialog.dart | 3 +- test/core/data_stream_test.dart | 92 +- 22 files changed, 4627 insertions(+), 2069 deletions(-) diff --git a/lib/src/core/room.dart b/lib/src/core/room.dart index 8475a900c..36ff5ead0 100644 --- a/lib/src/core/room.dart +++ b/lib/src/core/room.dart @@ -447,7 +447,8 @@ class Room extends DisposableChangeNotifier with EventsEmittable { final bool audioEnabled = audio.enabled == true || audio.track != null; if (audioEnabled) { if (audio.track != null) { - await _localParticipant!.publishAudioTrack(audio.track as LocalAudioTrack, + await _localParticipant!.publishAudioTrack( + audio.track as LocalAudioTrack, publishOptions: roomOptions.defaultAudioPublishOptions); } else { await _localParticipant!.setMicrophoneEnabled(true, @@ -459,7 +460,8 @@ class Room extends DisposableChangeNotifier with EventsEmittable { final bool videoEnabled = video.enabled == true || video.track != null; if (videoEnabled) { if (video.track != null) { - await _localParticipant!.publishVideoTrack(video.track as LocalVideoTrack, + await _localParticipant!.publishVideoTrack( + video.track as LocalVideoTrack, publishOptions: roomOptions.defaultVideoPublishOptions); } else { await _localParticipant!.setCameraEnabled(true, @@ -468,7 +470,8 @@ class Room extends DisposableChangeNotifier with EventsEmittable { } final screen = options.screen; - final bool screenEnabled = screen.enabled == true || screen.track != null; + final bool screenEnabled = + screen.enabled == true || screen.track != null; if (screenEnabled) { if (screen.track != null) { await _localParticipant!.publishVideoTrack( @@ -1340,7 +1343,8 @@ extension DataStreamRoomMethods on Room { ? streamHeader.textHeader.generated : false, operationType: streamHeader.textHeader.hasOperationType() - ? TextStreamOperationType.fromPBType(streamHeader.textHeader.operationType) + ? TextStreamOperationType.fromPBType( + streamHeader.textHeader.operationType) : null, ); diff --git a/lib/src/data_stream/stream_writer.dart b/lib/src/data_stream/stream_writer.dart index a182b58bd..57e6a42c2 100644 --- a/lib/src/data_stream/stream_writer.dart +++ b/lib/src/data_stream/stream_writer.dart @@ -9,7 +9,6 @@ import '../types/data_stream.dart'; import '../types/other.dart'; import '../utils.dart'; - class BaseStreamWriter { final StreamWriter writableStream; Function()? onClose; @@ -49,7 +48,7 @@ class WritableStream implements StreamWriter { int chunkId = 0; List? destinationIdentities; Engine engine; - + WritableStream({ required this.streamId, required this.engine, diff --git a/lib/src/e2ee/e2ee_manager.dart b/lib/src/e2ee/e2ee_manager.dart index b6a9c0023..7bfd45a60 100644 --- a/lib/src/e2ee/e2ee_manager.dart +++ b/lib/src/e2ee/e2ee_manager.dart @@ -150,11 +150,12 @@ class E2EEManager { {required RTCRtpSender sender, required String identity, required String sid}) async { - final frameCryptor = await frameCryptorFactory.createFrameCryptorForRtpSender( - participantId: identity, - sender: sender, - algorithm: _algorithm, - keyProvider: _keyProvider.keyProvider); + final frameCryptor = + await frameCryptorFactory.createFrameCryptorForRtpSender( + participantId: identity, + sender: sender, + algorithm: _algorithm, + keyProvider: _keyProvider.keyProvider); _frameCryptors[{identity: sid}] = frameCryptor; await frameCryptor.setEnabled(_enabled); logger.info( diff --git a/lib/src/participant/local.dart b/lib/src/participant/local.dart index 75e982a69..b3b9136ad 100644 --- a/lib/src/participant/local.dart +++ b/lib/src/participant/local.dart @@ -53,7 +53,13 @@ import '../types/other.dart'; import '../types/participant_permissions.dart'; import '../types/rpc.dart'; import '../types/video_dimensions.dart'; -import '../utils.dart' show buildStreamId, mimeTypeToVideoCodecString, Utils, compareVersions, isSVCCodec; +import '../utils.dart' + show + buildStreamId, + mimeTypeToVideoCodecString, + Utils, + compareVersions, + isSVCCodec; import 'participant.dart'; /// Represents the current participant in the room. Instance of [LocalParticipant] is automatically diff --git a/lib/src/participant/remote.dart b/lib/src/participant/remote.dart index ca3f571cd..910e5bad5 100644 --- a/lib/src/participant/remote.dart +++ b/lib/src/participant/remote.dart @@ -203,7 +203,8 @@ class RemoteParticipant extends Participant { final newPubs = {}; for (final trackInfo in info.tracks) { - final RemoteTrackPublication? pub = getTrackPublicationBySid(trackInfo.sid); + final RemoteTrackPublication? pub = + getTrackPublicationBySid(trackInfo.sid); if (pub == null) { final RemoteTrackPublication pub; if (trackInfo.type == lk_models.TrackType.VIDEO) { diff --git a/lib/src/proto/google/protobuf/timestamp.pb.dart b/lib/src/proto/google/protobuf/timestamp.pb.dart index 04d66d54b..896559259 100644 --- a/lib/src/proto/google/protobuf/timestamp.pb.dart +++ b/lib/src/proto/google/protobuf/timestamp.pb.dart @@ -137,11 +137,14 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { factory Timestamp.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Timestamp.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Timestamp.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Timestamp', - package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Timestamp', + package: + const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper) @@ -164,7 +167,8 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { Timestamp createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Timestamp getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Timestamp? _defaultInstance; /// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must @@ -203,5 +207,7 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { } } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_metrics.pb.dart b/lib/src/proto/livekit_metrics.pb.dart index 2641f394a..196cadad7 100644 --- a/lib/src/proto/livekit_metrics.pb.dart +++ b/lib/src/proto/livekit_metrics.pb.dart @@ -31,7 +31,8 @@ class MetricsBatch extends $pb.GeneratedMessage { }) { final result = create(); if (timestampMs != null) result.timestampMs = timestampMs; - if (normalizedTimestamp != null) result.normalizedTimestamp = normalizedTimestamp; + if (normalizedTimestamp != null) + result.normalizedTimestamp = normalizedTimestamp; if (strData != null) result.strData.addAll(strData); if (timeSeries != null) result.timeSeries.addAll(timeSeries); if (events != null) result.events.addAll(events); @@ -43,24 +44,31 @@ class MetricsBatch extends $pb.GeneratedMessage { factory MetricsBatch.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory MetricsBatch.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory MetricsBatch.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsBatch', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MetricsBatch', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestampMs') - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', + subBuilder: $0.Timestamp.create) ..pPS(3, _omitFieldNames ? '' : 'strData') - ..pc(4, _omitFieldNames ? '' : 'timeSeries', $pb.PbFieldType.PM, + ..pc( + 4, _omitFieldNames ? '' : 'timeSeries', $pb.PbFieldType.PM, subBuilder: TimeSeriesMetric.create) - ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: EventMetric.create) + ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, + subBuilder: EventMetric.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricsBatch clone() => MetricsBatch()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricsBatch copyWith(void Function(MetricsBatch) updates) => - super.copyWith((message) => updates(message as MetricsBatch)) as MetricsBatch; + super.copyWith((message) => updates(message as MetricsBatch)) + as MetricsBatch; @$core.override $pb.BuilderInfo get info_ => _i; @@ -69,9 +77,11 @@ class MetricsBatch extends $pb.GeneratedMessage { static MetricsBatch create() => MetricsBatch._(); @$core.override MetricsBatch createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricsBatch getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetricsBatch getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MetricsBatch? _defaultInstance; @$pb.TagNumber(1) @@ -120,7 +130,8 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { }) { final result = create(); if (label != null) result.label = label; - if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (participantIdentity != null) + result.participantIdentity = participantIdentity; if (trackSid != null) result.trackSid = trackSid; if (samples != null) result.samples.addAll(samples); if (rid != null) result.rid = rid; @@ -136,12 +147,16 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimeSeriesMetric', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TimeSeriesMetric', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OU3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) + ..a<$core.int>( + 2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $pb.PbFieldType.OU3) - ..pc(4, _omitFieldNames ? '' : 'samples', $pb.PbFieldType.PM, subBuilder: MetricSample.create) + ..pc(4, _omitFieldNames ? '' : 'samples', $pb.PbFieldType.PM, + subBuilder: MetricSample.create) ..a<$core.int>(5, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -149,7 +164,8 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { TimeSeriesMetric clone() => TimeSeriesMetric()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimeSeriesMetric copyWith(void Function(TimeSeriesMetric) updates) => - super.copyWith((message) => updates(message as TimeSeriesMetric)) as TimeSeriesMetric; + super.copyWith((message) => updates(message as TimeSeriesMetric)) + as TimeSeriesMetric; @$core.override $pb.BuilderInfo get info_ => _i; @@ -158,10 +174,11 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { static TimeSeriesMetric create() => TimeSeriesMetric._(); @$core.override TimeSeriesMetric createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TimeSeriesMetric getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TimeSeriesMetric getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TimeSeriesMetric? _defaultInstance; /// Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index @@ -214,7 +231,8 @@ class MetricSample extends $pb.GeneratedMessage { }) { final result = create(); if (timestampMs != null) result.timestampMs = timestampMs; - if (normalizedTimestamp != null) result.normalizedTimestamp = normalizedTimestamp; + if (normalizedTimestamp != null) + result.normalizedTimestamp = normalizedTimestamp; if (value != null) result.value = value; return result; } @@ -224,13 +242,17 @@ class MetricSample extends $pb.GeneratedMessage { factory MetricSample.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory MetricSample.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory MetricSample.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricSample', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MetricSample', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestampMs') - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', + subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) ..hasRequiredFields = false; @@ -238,7 +260,8 @@ class MetricSample extends $pb.GeneratedMessage { MetricSample clone() => MetricSample()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricSample copyWith(void Function(MetricSample) updates) => - super.copyWith((message) => updates(message as MetricSample)) as MetricSample; + super.copyWith((message) => updates(message as MetricSample)) + as MetricSample; @$core.override $pb.BuilderInfo get info_ => _i; @@ -247,9 +270,11 @@ class MetricSample extends $pb.GeneratedMessage { static MetricSample create() => MetricSample._(); @$core.override MetricSample createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricSample getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetricSample getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MetricSample? _defaultInstance; @$pb.TagNumber(1) @@ -296,12 +321,15 @@ class EventMetric extends $pb.GeneratedMessage { }) { final result = create(); if (label != null) result.label = label; - if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (participantIdentity != null) + result.participantIdentity = participantIdentity; if (trackSid != null) result.trackSid = trackSid; if (startTimestampMs != null) result.startTimestampMs = startTimestampMs; if (endTimestampMs != null) result.endTimestampMs = endTimestampMs; - if (normalizedStartTimestamp != null) result.normalizedStartTimestamp = normalizedStartTimestamp; - if (normalizedEndTimestamp != null) result.normalizedEndTimestamp = normalizedEndTimestamp; + if (normalizedStartTimestamp != null) + result.normalizedStartTimestamp = normalizedStartTimestamp; + if (normalizedEndTimestamp != null) + result.normalizedEndTimestamp = normalizedEndTimestamp; if (metadata != null) result.metadata = metadata; if (rid != null) result.rid = rid; return result; @@ -312,18 +340,24 @@ class EventMetric extends $pb.GeneratedMessage { factory EventMetric.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory EventMetric.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory EventMetric.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EventMetric', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EventMetric', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OU3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) + ..a<$core.int>( + 2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $pb.PbFieldType.OU3) ..aInt64(4, _omitFieldNames ? '' : 'startTimestampMs') ..aInt64(5, _omitFieldNames ? '' : 'endTimestampMs') - ..aOM<$0.Timestamp>(6, _omitFieldNames ? '' : 'normalizedStartTimestamp', subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(7, _omitFieldNames ? '' : 'normalizedEndTimestamp', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(6, _omitFieldNames ? '' : 'normalizedStartTimestamp', + subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(7, _omitFieldNames ? '' : 'normalizedEndTimestamp', + subBuilder: $0.Timestamp.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') ..a<$core.int>(9, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -332,7 +366,8 @@ class EventMetric extends $pb.GeneratedMessage { EventMetric clone() => EventMetric()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EventMetric copyWith(void Function(EventMetric) updates) => - super.copyWith((message) => updates(message as EventMetric)) as EventMetric; + super.copyWith((message) => updates(message as EventMetric)) + as EventMetric; @$core.override $pb.BuilderInfo get info_ => _i; @@ -343,7 +378,8 @@ class EventMetric extends $pb.GeneratedMessage { EventMetric createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EventMetric getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EventMetric getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EventMetric? _defaultInstance; @$pb.TagNumber(1) @@ -439,7 +475,8 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { }) { final result = create(); if (roomId != null) result.roomId = roomId; - if (enableUserDataTraining != null) result.enableUserDataTraining = enableUserDataTraining; + if (enableUserDataTraining != null) + result.enableUserDataTraining = enableUserDataTraining; return result; } @@ -452,17 +489,22 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsRecordingHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MetricsRecordingHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'roomId') ..aOB(2, _omitFieldNames ? '' : 'enableUserDataTraining') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsRecordingHeader clone() => MetricsRecordingHeader()..mergeFromMessage(this); + MetricsRecordingHeader clone() => + MetricsRecordingHeader()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsRecordingHeader copyWith(void Function(MetricsRecordingHeader) updates) => - super.copyWith((message) => updates(message as MetricsRecordingHeader)) as MetricsRecordingHeader; + MetricsRecordingHeader copyWith( + void Function(MetricsRecordingHeader) updates) => + super.copyWith((message) => updates(message as MetricsRecordingHeader)) + as MetricsRecordingHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -471,10 +513,11 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { static MetricsRecordingHeader create() => MetricsRecordingHeader._(); @$core.override MetricsRecordingHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricsRecordingHeader getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetricsRecordingHeader getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MetricsRecordingHeader? _defaultInstance; @$pb.TagNumber(1) @@ -496,5 +539,7 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { void clearEnableUserDataTraining() => $_clearField(2); } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_metrics.pbenum.dart b/lib/src/proto/livekit_metrics.pbenum.dart index 536bd1960..946b8468f 100644 --- a/lib/src/proto/livekit_metrics.pbenum.dart +++ b/lib/src/proto/livekit_metrics.pbenum.dart @@ -16,42 +16,85 @@ import 'package:protobuf/protobuf.dart' as $pb; /// index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) class MetricLabel extends $pb.ProtobufEnum { - static const MetricLabel AGENTS_LLM_TTFT = MetricLabel._(0, _omitEnumNames ? '' : 'AGENTS_LLM_TTFT'); - static const MetricLabel AGENTS_STT_TTFT = MetricLabel._(1, _omitEnumNames ? '' : 'AGENTS_STT_TTFT'); - static const MetricLabel AGENTS_TTS_TTFB = MetricLabel._(2, _omitEnumNames ? '' : 'AGENTS_TTS_TTFB'); - static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = - MetricLabel._(3, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT'); + static const MetricLabel AGENTS_LLM_TTFT = + MetricLabel._(0, _omitEnumNames ? '' : 'AGENTS_LLM_TTFT'); + static const MetricLabel AGENTS_STT_TTFT = + MetricLabel._(1, _omitEnumNames ? '' : 'AGENTS_STT_TTFT'); + static const MetricLabel AGENTS_TTS_TTFB = + MetricLabel._(2, _omitEnumNames ? '' : 'AGENTS_TTS_TTFB'); + static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = MetricLabel._( + 3, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT'); static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = - MetricLabel._(4, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION'); - static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = - MetricLabel._(5, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT'); + MetricLabel._( + 4, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION'); + static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = MetricLabel._( + 5, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT'); static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = - MetricLabel._(6, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION'); + MetricLabel._( + 6, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = - MetricLabel._(7, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES'); + MetricLabel._( + 7, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = - MetricLabel._(8, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES'); + MetricLabel._( + 8, + _omitEnumNames + ? '' + : 'CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = - MetricLabel._(9, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS'); + MetricLabel._(9, + _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = - MetricLabel._(10, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT'); + MetricLabel._(10, + _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = - MetricLabel._(11, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION'); + MetricLabel._( + 11, + _omitEnumNames + ? '' + : 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION'); static const MetricLabel CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = - MetricLabel._(12, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY'); + MetricLabel._( + 12, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY'); static const MetricLabel CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = - MetricLabel._(13, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT'); - static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = - MetricLabel._(14, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH'); - static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = - MetricLabel._(15, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU'); - static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = - MetricLabel._(16, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER'); - static const MetricLabel PUBLISHER_RTT = MetricLabel._(17, _omitEnumNames ? '' : 'PUBLISHER_RTT'); - static const MetricLabel SERVER_MESH_RTT = MetricLabel._(18, _omitEnumNames ? '' : 'SERVER_MESH_RTT'); - static const MetricLabel SUBSCRIBER_RTT = MetricLabel._(19, _omitEnumNames ? '' : 'SUBSCRIBER_RTT'); - static const MetricLabel METRIC_LABEL_PREDEFINED_MAX_VALUE = - MetricLabel._(4096, _omitEnumNames ? '' : 'METRIC_LABEL_PREDEFINED_MAX_VALUE'); + MetricLabel._( + 13, + _omitEnumNames + ? '' + : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT'); + static const MetricLabel + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = + MetricLabel._( + 14, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH'); + static const MetricLabel + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = MetricLabel._( + 15, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU'); + static const MetricLabel + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = MetricLabel._( + 16, + _omitEnumNames + ? '' + : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER'); + static const MetricLabel PUBLISHER_RTT = + MetricLabel._(17, _omitEnumNames ? '' : 'PUBLISHER_RTT'); + static const MetricLabel SERVER_MESH_RTT = + MetricLabel._(18, _omitEnumNames ? '' : 'SERVER_MESH_RTT'); + static const MetricLabel SUBSCRIBER_RTT = + MetricLabel._(19, _omitEnumNames ? '' : 'SUBSCRIBER_RTT'); + static const MetricLabel METRIC_LABEL_PREDEFINED_MAX_VALUE = MetricLabel._( + 4096, _omitEnumNames ? '' : 'METRIC_LABEL_PREDEFINED_MAX_VALUE'); static const $core.List values = [ AGENTS_LLM_TTFT, @@ -77,10 +120,12 @@ class MetricLabel extends $pb.ProtobufEnum { METRIC_LABEL_PREDEFINED_MAX_VALUE, ]; - static final $core.Map<$core.int, MetricLabel> _byValue = $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, MetricLabel> _byValue = + $pb.ProtobufEnum.initByValue(values); static MetricLabel? valueOf($core.int value) => _byValue[value]; const MetricLabel._(super.value, super.name); } -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_metrics.pbjson.dart b/lib/src/proto/livekit_metrics.pbjson.dart index e10d725eb..58db1fa01 100644 --- a/lib/src/proto/livekit_metrics.pbjson.dart +++ b/lib/src/proto/livekit_metrics.pbjson.dart @@ -32,7 +32,10 @@ const MetricLabel$json = { {'1': 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION', '2': 11}, {'1': 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY', '2': 12}, {'1': 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT', '2': 13}, - {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH', '2': 14}, + { + '1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH', + '2': 14 + }, {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU', '2': 15}, {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER', '2': 16}, {'1': 'PUBLISHER_RTT', '2': 17}, @@ -43,24 +46,24 @@ const MetricLabel$json = { }; /// Descriptor for `MetricLabel`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List metricLabelDescriptor = - $convert.base64Decode('CgtNZXRyaWNMYWJlbBITCg9BR0VOVFNfTExNX1RURlQQABITCg9BR0VOVFNfU1RUX1RURlQQAR' - 'ITCg9BR0VOVFNfVFRTX1RURkIQAhIoCiRDTElFTlRfVklERU9fU1VCU0NSSUJFUl9GUkVFWkVf' - 'Q09VTlQQAxIxCi1DTElFTlRfVklERU9fU1VCU0NSSUJFUl9UT1RBTF9GUkVFWkVfRFVSQVRJT0' - '4QBBInCiNDTElFTlRfVklERU9fU1VCU0NSSUJFUl9QQVVTRV9DT1VOVBAFEjEKLUNMSUVOVF9W' - 'SURFT19TVUJTQ1JJQkVSX1RPVEFMX1BBVVNFU19EVVJBVElPThAGEi0KKUNMSUVOVF9BVURJT1' - '9TVUJTQ1JJQkVSX0NPTkNFQUxFRF9TQU1QTEVTEAcSNAowQ0xJRU5UX0FVRElPX1NVQlNDUklC' - 'RVJfU0lMRU5UX0NPTkNFQUxFRF9TQU1QTEVTEAgSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRV' - 'JfQ09OQ0VBTE1FTlRfRVZFTlRTEAkSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfSU5URVJS' - 'VVBUSU9OX0NPVU5UEAoSNwozQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfVE9UQUxfSU5URVJSVV' - 'BUSU9OX0RVUkFUSU9OEAsSKQolQ0xJRU5UX1NVQlNDUklCRVJfSklUVEVSX0JVRkZFUl9ERUxB' - 'WRAMEjEKLUNMSUVOVF9TVUJTQ1JJQkVSX0pJVFRFUl9CVUZGRVJfRU1JVFRFRF9DT1VOVBANEk' - 'AKPENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0RVUkFUSU9OX0JB' - 'TkRXSURUSBAOEjoKNkNMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0' - 'RVUkFUSU9OX0NQVRAPEjwKOENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFU' - 'SU9OX0RVUkFUSU9OX09USEVSEBASEQoNUFVCTElTSEVSX1JUVBAREhMKD1NFUlZFUl9NRVNIX1' - 'JUVBASEhIKDlNVQlNDUklCRVJfUlRUEBMSJgohTUVUUklDX0xBQkVMX1BSRURFRklORURfTUFY' - 'X1ZBTFVFEIAg'); +final $typed_data.Uint8List metricLabelDescriptor = $convert.base64Decode( + 'CgtNZXRyaWNMYWJlbBITCg9BR0VOVFNfTExNX1RURlQQABITCg9BR0VOVFNfU1RUX1RURlQQAR' + 'ITCg9BR0VOVFNfVFRTX1RURkIQAhIoCiRDTElFTlRfVklERU9fU1VCU0NSSUJFUl9GUkVFWkVf' + 'Q09VTlQQAxIxCi1DTElFTlRfVklERU9fU1VCU0NSSUJFUl9UT1RBTF9GUkVFWkVfRFVSQVRJT0' + '4QBBInCiNDTElFTlRfVklERU9fU1VCU0NSSUJFUl9QQVVTRV9DT1VOVBAFEjEKLUNMSUVOVF9W' + 'SURFT19TVUJTQ1JJQkVSX1RPVEFMX1BBVVNFU19EVVJBVElPThAGEi0KKUNMSUVOVF9BVURJT1' + '9TVUJTQ1JJQkVSX0NPTkNFQUxFRF9TQU1QTEVTEAcSNAowQ0xJRU5UX0FVRElPX1NVQlNDUklC' + 'RVJfU0lMRU5UX0NPTkNFQUxFRF9TQU1QTEVTEAgSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRV' + 'JfQ09OQ0VBTE1FTlRfRVZFTlRTEAkSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfSU5URVJS' + 'VVBUSU9OX0NPVU5UEAoSNwozQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfVE9UQUxfSU5URVJSVV' + 'BUSU9OX0RVUkFUSU9OEAsSKQolQ0xJRU5UX1NVQlNDUklCRVJfSklUVEVSX0JVRkZFUl9ERUxB' + 'WRAMEjEKLUNMSUVOVF9TVUJTQ1JJQkVSX0pJVFRFUl9CVUZGRVJfRU1JVFRFRF9DT1VOVBANEk' + 'AKPENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0RVUkFUSU9OX0JB' + 'TkRXSURUSBAOEjoKNkNMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0' + 'RVUkFUSU9OX0NQVRAPEjwKOENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFU' + 'SU9OX0RVUkFUSU9OX09USEVSEBASEQoNUFVCTElTSEVSX1JUVBAREhMKD1NFUlZFUl9NRVNIX1' + 'JUVBASEhIKDlNVQlNDUklCRVJfUlRUEBMSJgohTUVUUklDX0xBQkVMX1BSRURFRklORURfTUFY' + 'X1ZBTFVFEIAg'); @$core.Deprecated('Use metricsBatchDescriptor instead') const MetricsBatch$json = { @@ -76,37 +79,64 @@ const MetricsBatch$json = { '10': 'normalizedTimestamp' }, {'1': 'str_data', '3': 3, '4': 3, '5': 9, '10': 'strData'}, - {'1': 'time_series', '3': 4, '4': 3, '5': 11, '6': '.livekit.TimeSeriesMetric', '10': 'timeSeries'}, - {'1': 'events', '3': 5, '4': 3, '5': 11, '6': '.livekit.EventMetric', '10': 'events'}, + { + '1': 'time_series', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.TimeSeriesMetric', + '10': 'timeSeries' + }, + { + '1': 'events', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.EventMetric', + '10': 'events' + }, ], }; /// Descriptor for `MetricsBatch`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricsBatchDescriptor = - $convert.base64Decode('CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' - 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' - 'cm1hbGl6ZWRUaW1lc3RhbXASGQoIc3RyX2RhdGEYAyADKAlSB3N0ckRhdGESOgoLdGltZV9zZX' - 'JpZXMYBCADKAsyGS5saXZla2l0LlRpbWVTZXJpZXNNZXRyaWNSCnRpbWVTZXJpZXMSLAoGZXZl' - 'bnRzGAUgAygLMhQubGl2ZWtpdC5FdmVudE1ldHJpY1IGZXZlbnRz'); +final $typed_data.Uint8List metricsBatchDescriptor = $convert.base64Decode( + 'CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' + 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' + 'cm1hbGl6ZWRUaW1lc3RhbXASGQoIc3RyX2RhdGEYAyADKAlSB3N0ckRhdGESOgoLdGltZV9zZX' + 'JpZXMYBCADKAsyGS5saXZla2l0LlRpbWVTZXJpZXNNZXRyaWNSCnRpbWVTZXJpZXMSLAoGZXZl' + 'bnRzGAUgAygLMhQubGl2ZWtpdC5FdmVudE1ldHJpY1IGZXZlbnRz'); @$core.Deprecated('Use timeSeriesMetricDescriptor instead') const TimeSeriesMetric$json = { '1': 'TimeSeriesMetric', '2': [ {'1': 'label', '3': 1, '4': 1, '5': 13, '10': 'label'}, - {'1': 'participant_identity', '3': 2, '4': 1, '5': 13, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 2, + '4': 1, + '5': 13, + '10': 'participantIdentity' + }, {'1': 'track_sid', '3': 3, '4': 1, '5': 13, '10': 'trackSid'}, - {'1': 'samples', '3': 4, '4': 3, '5': 11, '6': '.livekit.MetricSample', '10': 'samples'}, + { + '1': 'samples', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.MetricSample', + '10': 'samples' + }, {'1': 'rid', '3': 5, '4': 1, '5': 13, '10': 'rid'}, ], }; /// Descriptor for `TimeSeriesMetric`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timeSeriesMetricDescriptor = - $convert.base64Decode('ChBUaW1lU2VyaWVzTWV0cmljEhQKBWxhYmVsGAEgASgNUgVsYWJlbBIxChRwYXJ0aWNpcGFudF' - '9pZGVudGl0eRgCIAEoDVITcGFydGljaXBhbnRJZGVudGl0eRIbCgl0cmFja19zaWQYAyABKA1S' - 'CHRyYWNrU2lkEi8KB3NhbXBsZXMYBCADKAsyFS5saXZla2l0Lk1ldHJpY1NhbXBsZVIHc2FtcG' - 'xlcxIQCgNyaWQYBSABKA1SA3JpZA=='); +final $typed_data.Uint8List timeSeriesMetricDescriptor = $convert.base64Decode( + 'ChBUaW1lU2VyaWVzTWV0cmljEhQKBWxhYmVsGAEgASgNUgVsYWJlbBIxChRwYXJ0aWNpcGFudF' + '9pZGVudGl0eRgCIAEoDVITcGFydGljaXBhbnRJZGVudGl0eRIbCgl0cmFja19zaWQYAyABKA1S' + 'CHRyYWNrU2lkEi8KB3NhbXBsZXMYBCADKAsyFS5saXZla2l0Lk1ldHJpY1NhbXBsZVIHc2FtcG' + 'xlcxIQCgNyaWQYBSABKA1SA3JpZA=='); @$core.Deprecated('Use metricSampleDescriptor instead') const MetricSample$json = { @@ -126,20 +156,40 @@ const MetricSample$json = { }; /// Descriptor for `MetricSample`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricSampleDescriptor = - $convert.base64Decode('CgxNZXRyaWNTYW1wbGUSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' - 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' - 'cm1hbGl6ZWRUaW1lc3RhbXASFAoFdmFsdWUYAyABKAJSBXZhbHVl'); +final $typed_data.Uint8List metricSampleDescriptor = $convert.base64Decode( + 'CgxNZXRyaWNTYW1wbGUSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' + 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' + 'cm1hbGl6ZWRUaW1lc3RhbXASFAoFdmFsdWUYAyABKAJSBXZhbHVl'); @$core.Deprecated('Use eventMetricDescriptor instead') const EventMetric$json = { '1': 'EventMetric', '2': [ {'1': 'label', '3': 1, '4': 1, '5': 13, '10': 'label'}, - {'1': 'participant_identity', '3': 2, '4': 1, '5': 13, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 2, + '4': 1, + '5': 13, + '10': 'participantIdentity' + }, {'1': 'track_sid', '3': 3, '4': 1, '5': 13, '10': 'trackSid'}, - {'1': 'start_timestamp_ms', '3': 4, '4': 1, '5': 3, '10': 'startTimestampMs'}, - {'1': 'end_timestamp_ms', '3': 5, '4': 1, '5': 3, '9': 0, '10': 'endTimestampMs', '17': true}, + { + '1': 'start_timestamp_ms', + '3': 4, + '4': 1, + '5': 3, + '10': 'startTimestampMs' + }, + { + '1': 'end_timestamp_ms', + '3': 5, + '4': 1, + '5': 3, + '9': 0, + '10': 'endTimestampMs', + '17': true + }, { '1': 'normalized_start_timestamp', '3': 6, @@ -168,23 +218,31 @@ const EventMetric$json = { }; /// Descriptor for `EventMetric`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List eventMetricDescriptor = - $convert.base64Decode('CgtFdmVudE1ldHJpYxIUCgVsYWJlbBgBIAEoDVIFbGFiZWwSMQoUcGFydGljaXBhbnRfaWRlbn' - 'RpdHkYAiABKA1SE3BhcnRpY2lwYW50SWRlbnRpdHkSGwoJdHJhY2tfc2lkGAMgASgNUgh0cmFj' - 'a1NpZBIsChJzdGFydF90aW1lc3RhbXBfbXMYBCABKANSEHN0YXJ0VGltZXN0YW1wTXMSLQoQZW' - '5kX3RpbWVzdGFtcF9tcxgFIAEoA0gAUg5lbmRUaW1lc3RhbXBNc4gBARJYChpub3JtYWxpemVk' - 'X3N0YXJ0X3RpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSGG5vcm' - '1hbGl6ZWRTdGFydFRpbWVzdGFtcBJZChhub3JtYWxpemVkX2VuZF90aW1lc3RhbXAYByABKAsy' - 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAFSFm5vcm1hbGl6ZWRFbmRUaW1lc3RhbXCIAQ' - 'ESGgoIbWV0YWRhdGEYCCABKAlSCG1ldGFkYXRhEhAKA3JpZBgJIAEoDVIDcmlkQhMKEV9lbmRf' - 'dGltZXN0YW1wX21zQhsKGV9ub3JtYWxpemVkX2VuZF90aW1lc3RhbXA='); +final $typed_data.Uint8List eventMetricDescriptor = $convert.base64Decode( + 'CgtFdmVudE1ldHJpYxIUCgVsYWJlbBgBIAEoDVIFbGFiZWwSMQoUcGFydGljaXBhbnRfaWRlbn' + 'RpdHkYAiABKA1SE3BhcnRpY2lwYW50SWRlbnRpdHkSGwoJdHJhY2tfc2lkGAMgASgNUgh0cmFj' + 'a1NpZBIsChJzdGFydF90aW1lc3RhbXBfbXMYBCABKANSEHN0YXJ0VGltZXN0YW1wTXMSLQoQZW' + '5kX3RpbWVzdGFtcF9tcxgFIAEoA0gAUg5lbmRUaW1lc3RhbXBNc4gBARJYChpub3JtYWxpemVk' + 'X3N0YXJ0X3RpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSGG5vcm' + '1hbGl6ZWRTdGFydFRpbWVzdGFtcBJZChhub3JtYWxpemVkX2VuZF90aW1lc3RhbXAYByABKAsy' + 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAFSFm5vcm1hbGl6ZWRFbmRUaW1lc3RhbXCIAQ' + 'ESGgoIbWV0YWRhdGEYCCABKAlSCG1ldGFkYXRhEhAKA3JpZBgJIAEoDVIDcmlkQhMKEV9lbmRf' + 'dGltZXN0YW1wX21zQhsKGV9ub3JtYWxpemVkX2VuZF90aW1lc3RhbXA='); @$core.Deprecated('Use metricsRecordingHeaderDescriptor instead') const MetricsRecordingHeader$json = { '1': 'MetricsRecordingHeader', '2': [ {'1': 'room_id', '3': 1, '4': 1, '5': 9, '10': 'roomId'}, - {'1': 'enable_user_data_training', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'enableUserDataTraining', '17': true}, + { + '1': 'enable_user_data_training', + '3': 2, + '4': 1, + '5': 8, + '9': 0, + '10': 'enableUserDataTraining', + '17': true + }, ], '8': [ {'1': '_enable_user_data_training'}, @@ -192,7 +250,7 @@ const MetricsRecordingHeader$json = { }; /// Descriptor for `MetricsRecordingHeader`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricsRecordingHeaderDescriptor = - $convert.base64Decode('ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBI+Chllbm' - 'FibGVfdXNlcl9kYXRhX3RyYWluaW5nGAIgASgISABSFmVuYWJsZVVzZXJEYXRhVHJhaW5pbmeI' - 'AQFCHAoaX2VuYWJsZV91c2VyX2RhdGFfdHJhaW5pbmc='); +final $typed_data.Uint8List metricsRecordingHeaderDescriptor = $convert.base64Decode( + 'ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBI+Chllbm' + 'FibGVfdXNlcl9kYXRhX3RyYWluaW5nGAIgASgISABSFmVuYWJsZVVzZXJEYXRhVHJhaW5pbmeI' + 'AQFCHAoaX2VuYWJsZV91c2VyX2RhdGFfdHJhaW5pbmc='); diff --git a/lib/src/proto/livekit_models.pb.dart b/lib/src/proto/livekit_models.pb.dart index 694e7e8dd..1cfba035f 100644 --- a/lib/src/proto/livekit_models.pb.dart +++ b/lib/src/proto/livekit_models.pb.dart @@ -39,11 +39,14 @@ class Pagination extends $pb.GeneratedMessage { factory Pagination.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Pagination.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pagination.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pagination', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Pagination', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'afterId') ..a<$core.int>(2, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.O3) ..hasRequiredFields = false; @@ -63,7 +66,8 @@ class Pagination extends $pb.GeneratedMessage { Pagination createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Pagination getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Pagination getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Pagination? _defaultInstance; @$pb.TagNumber(1) @@ -99,11 +103,14 @@ class TokenPagination extends $pb.GeneratedMessage { factory TokenPagination.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TokenPagination.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TokenPagination.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TokenPagination', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TokenPagination', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'token') ..hasRequiredFields = false; @@ -111,7 +118,8 @@ class TokenPagination extends $pb.GeneratedMessage { TokenPagination clone() => TokenPagination()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TokenPagination copyWith(void Function(TokenPagination) updates) => - super.copyWith((message) => updates(message as TokenPagination)) as TokenPagination; + super.copyWith((message) => updates(message as TokenPagination)) + as TokenPagination; @$core.override $pb.BuilderInfo get info_ => _i; @@ -120,10 +128,11 @@ class TokenPagination extends $pb.GeneratedMessage { static TokenPagination create() => TokenPagination._(); @$core.override TokenPagination createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TokenPagination getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TokenPagination getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TokenPagination? _defaultInstance; @$pb.TagNumber(1) @@ -157,11 +166,14 @@ class ListUpdate extends $pb.GeneratedMessage { factory ListUpdate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ListUpdate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ListUpdate.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ListUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'set') ..pPS(2, _omitFieldNames ? '' : 'add') ..pPS(3, _omitFieldNames ? '' : 'remove') @@ -183,7 +195,8 @@ class ListUpdate extends $pb.GeneratedMessage { ListUpdate createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ListUpdate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ListUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -242,33 +255,45 @@ class Room extends $pb.GeneratedMessage { Room._(); - factory Room.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Room.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Room.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Room.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Room', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Room', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'name') - ..a<$core.int>(3, _omitFieldNames ? '' : 'emptyTimeout', $pb.PbFieldType.OU3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'maxParticipants', $pb.PbFieldType.OU3) + ..a<$core.int>( + 3, _omitFieldNames ? '' : 'emptyTimeout', $pb.PbFieldType.OU3) + ..a<$core.int>( + 4, _omitFieldNames ? '' : 'maxParticipants', $pb.PbFieldType.OU3) ..aInt64(5, _omitFieldNames ? '' : 'creationTime') ..aOS(6, _omitFieldNames ? '' : 'turnPassword') - ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, subBuilder: Codec.create) + ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, + subBuilder: Codec.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') - ..a<$core.int>(9, _omitFieldNames ? '' : 'numParticipants', $pb.PbFieldType.OU3) + ..a<$core.int>( + 9, _omitFieldNames ? '' : 'numParticipants', $pb.PbFieldType.OU3) ..aOB(10, _omitFieldNames ? '' : 'activeRecording') - ..a<$core.int>(11, _omitFieldNames ? '' : 'numPublishers', $pb.PbFieldType.OU3) - ..aOM(13, _omitFieldNames ? '' : 'version', subBuilder: TimedVersion.create) - ..a<$core.int>(14, _omitFieldNames ? '' : 'departureTimeout', $pb.PbFieldType.OU3) + ..a<$core.int>( + 11, _omitFieldNames ? '' : 'numPublishers', $pb.PbFieldType.OU3) + ..aOM(13, _omitFieldNames ? '' : 'version', + subBuilder: TimedVersion.create) + ..a<$core.int>( + 14, _omitFieldNames ? '' : 'departureTimeout', $pb.PbFieldType.OU3) ..aInt64(15, _omitFieldNames ? '' : 'creationTimeMs') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Room clone() => Room()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Room copyWith(void Function(Room) updates) => super.copyWith((message) => updates(message as Room)) as Room; + Room copyWith(void Function(Room) updates) => + super.copyWith((message) => updates(message as Room)) as Room; @$core.override $pb.BuilderInfo get info_ => _i; @@ -279,7 +304,8 @@ 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) @@ -421,11 +447,14 @@ class Codec extends $pb.GeneratedMessage { factory Codec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Codec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Codec.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Codec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Codec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mime') ..aOS(2, _omitFieldNames ? '' : 'fmtpLine') ..hasRequiredFields = false; @@ -433,7 +462,8 @@ class Codec extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Codec clone() => Codec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Codec copyWith(void Function(Codec) updates) => super.copyWith((message) => updates(message as Codec)) as Codec; + Codec copyWith(void Function(Codec) updates) => + super.copyWith((message) => updates(message as Codec)) as Codec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -444,7 +474,8 @@ 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) @@ -484,11 +515,14 @@ class PlayoutDelay extends $pb.GeneratedMessage { factory PlayoutDelay.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory PlayoutDelay.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory PlayoutDelay.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlayoutDelay', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PlayoutDelay', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'enabled') ..a<$core.int>(2, _omitFieldNames ? '' : 'min', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'max', $pb.PbFieldType.OU3) @@ -498,7 +532,8 @@ class PlayoutDelay extends $pb.GeneratedMessage { PlayoutDelay clone() => PlayoutDelay()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PlayoutDelay copyWith(void Function(PlayoutDelay) updates) => - super.copyWith((message) => updates(message as PlayoutDelay)) as PlayoutDelay; + super.copyWith((message) => updates(message as PlayoutDelay)) + as PlayoutDelay; @$core.override $pb.BuilderInfo get info_ => _i; @@ -507,9 +542,11 @@ class PlayoutDelay extends $pb.GeneratedMessage { static PlayoutDelay create() => PlayoutDelay._(); @$core.override PlayoutDelay createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PlayoutDelay getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PlayoutDelay getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PlayoutDelay? _defaultInstance; @$pb.TagNumber(1) @@ -558,10 +595,12 @@ class ParticipantPermission extends $pb.GeneratedMessage { if (canPublishData != null) result.canPublishData = canPublishData; if (hidden != null) result.hidden = hidden; if (recorder != null) result.recorder = recorder; - if (canPublishSources != null) result.canPublishSources.addAll(canPublishSources); + if (canPublishSources != null) + result.canPublishSources.addAll(canPublishSources); if (canUpdateMetadata != null) result.canUpdateMetadata = canUpdateMetadata; if (agent != null) result.agent = agent; - if (canSubscribeMetrics != null) result.canSubscribeMetrics = canSubscribeMetrics; + if (canSubscribeMetrics != null) + result.canSubscribeMetrics = canSubscribeMetrics; return result; } @@ -574,25 +613,33 @@ class ParticipantPermission extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canSubscribe') ..aOB(2, _omitFieldNames ? '' : 'canPublish') ..aOB(3, _omitFieldNames ? '' : 'canPublishData') ..aOB(7, _omitFieldNames ? '' : 'hidden') ..aOB(8, _omitFieldNames ? '' : 'recorder') - ..pc(9, _omitFieldNames ? '' : 'canPublishSources', $pb.PbFieldType.KE, - valueOf: TrackSource.valueOf, enumValues: TrackSource.values, defaultEnumValue: TrackSource.UNKNOWN) + ..pc( + 9, _omitFieldNames ? '' : 'canPublishSources', $pb.PbFieldType.KE, + valueOf: TrackSource.valueOf, + enumValues: TrackSource.values, + defaultEnumValue: TrackSource.UNKNOWN) ..aOB(10, _omitFieldNames ? '' : 'canUpdateMetadata') ..aOB(11, _omitFieldNames ? '' : 'agent') ..aOB(12, _omitFieldNames ? '' : 'canSubscribeMetrics') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantPermission clone() => ParticipantPermission()..mergeFromMessage(this); + ParticipantPermission clone() => + ParticipantPermission()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantPermission copyWith(void Function(ParticipantPermission) updates) => - super.copyWith((message) => updates(message as ParticipantPermission)) as ParticipantPermission; + ParticipantPermission copyWith( + void Function(ParticipantPermission) updates) => + super.copyWith((message) => updates(message as ParticipantPermission)) + as ParticipantPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -601,10 +648,11 @@ class ParticipantPermission extends $pb.GeneratedMessage { static ParticipantPermission create() => ParticipantPermission._(); @$core.override ParticipantPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantPermission getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantPermission getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantPermission? _defaultInstance; /// allow participant to subscribe to other tracks in the room @@ -746,26 +794,33 @@ class ParticipantInfo extends $pb.GeneratedMessage { factory ParticipantInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ParticipantInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ParticipantInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'identity') - ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, + ..e( + 3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_State.JOINING, valueOf: ParticipantInfo_State.valueOf, enumValues: ParticipantInfo_State.values) - ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, subBuilder: TrackInfo.create) + ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, + subBuilder: TrackInfo.create) ..aOS(5, _omitFieldNames ? '' : 'metadata') ..aInt64(6, _omitFieldNames ? '' : 'joinedAt') ..aOS(9, _omitFieldNames ? '' : 'name') ..a<$core.int>(10, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) - ..aOM(11, _omitFieldNames ? '' : 'permission', subBuilder: ParticipantPermission.create) + ..aOM(11, _omitFieldNames ? '' : 'permission', + subBuilder: ParticipantPermission.create) ..aOS(12, _omitFieldNames ? '' : 'region') ..aOB(13, _omitFieldNames ? '' : 'isPublisher') - ..e(14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, + ..e( + 14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_Kind.STANDARD, valueOf: ParticipantInfo_Kind.valueOf, enumValues: ParticipantInfo_Kind.values) @@ -774,12 +829,14 @@ class ParticipantInfo extends $pb.GeneratedMessage { keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..e(16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, + ..e( + 16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, defaultOrMaker: DisconnectReason.UNKNOWN_REASON, valueOf: DisconnectReason.valueOf, enumValues: DisconnectReason.values) ..aInt64(17, _omitFieldNames ? '' : 'joinedAtMs') - ..pc(18, _omitFieldNames ? '' : 'kindDetails', $pb.PbFieldType.KE, + ..pc( + 18, _omitFieldNames ? '' : 'kindDetails', $pb.PbFieldType.KE, valueOf: ParticipantInfo_KindDetail.valueOf, enumValues: ParticipantInfo_KindDetail.values, defaultEnumValue: ParticipantInfo_KindDetail.CLOUD_AGENT) @@ -789,7 +846,8 @@ class ParticipantInfo extends $pb.GeneratedMessage { ParticipantInfo clone() => ParticipantInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantInfo copyWith(void Function(ParticipantInfo) updates) => - super.copyWith((message) => updates(message as ParticipantInfo)) as ParticipantInfo; + super.copyWith((message) => updates(message as ParticipantInfo)) + as ParticipantInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -798,10 +856,11 @@ class ParticipantInfo extends $pb.GeneratedMessage { static ParticipantInfo create() => ParticipantInfo._(); @$core.override ParticipantInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantInfo? _defaultInstance; @$pb.TagNumber(1) @@ -945,11 +1004,14 @@ class Encryption extends $pb.GeneratedMessage { factory Encryption.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Encryption.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Encryption.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Encryption', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Encryption', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -967,7 +1029,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; } @@ -999,13 +1062,17 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodecInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SimulcastCodecInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mimeType') ..aOS(2, _omitFieldNames ? '' : 'mid') ..aOS(3, _omitFieldNames ? '' : 'cid') - ..pc(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) - ..e(5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, + ..pc(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: VideoLayer.create) + ..e( + 5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, defaultOrMaker: VideoLayer_Mode.MODE_UNUSED, valueOf: VideoLayer_Mode.valueOf, enumValues: VideoLayer_Mode.values) @@ -1016,7 +1083,8 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { SimulcastCodecInfo clone() => SimulcastCodecInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulcastCodecInfo copyWith(void Function(SimulcastCodecInfo) updates) => - super.copyWith((message) => updates(message as SimulcastCodecInfo)) as SimulcastCodecInfo; + super.copyWith((message) => updates(message as SimulcastCodecInfo)) + as SimulcastCodecInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1025,10 +1093,11 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { static SimulcastCodecInfo create() => SimulcastCodecInfo._(); @$core.override SimulcastCodecInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulcastCodecInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimulcastCodecInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SimulcastCodecInfo? _defaultInstance; @$pb.TagNumber(1) @@ -1095,7 +1164,8 @@ class TrackInfo extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') $core.bool? simulcast, @$core.Deprecated('This field is deprecated.') $core.bool? disableDtx, TrackSource? source, - @$core.Deprecated('This field is deprecated.') $core.Iterable? layers, + @$core.Deprecated('This field is deprecated.') + $core.Iterable? layers, $core.String? mimeType, $core.String? mid, $core.Iterable? codecs, @@ -1136,14 +1206,19 @@ class TrackInfo extends $pb.GeneratedMessage { factory TrackInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, - defaultOrMaker: TrackType.AUDIO, valueOf: TrackType.valueOf, enumValues: TrackType.values) + defaultOrMaker: TrackType.AUDIO, + valueOf: TrackType.valueOf, + enumValues: TrackType.values) ..aOS(3, _omitFieldNames ? '' : 'name') ..aOB(4, _omitFieldNames ? '' : 'muted') ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) @@ -1151,23 +1226,33 @@ class TrackInfo extends $pb.GeneratedMessage { ..aOB(7, _omitFieldNames ? '' : 'simulcast') ..aOB(8, _omitFieldNames ? '' : 'disableDtx') ..e(9, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, - defaultOrMaker: TrackSource.UNKNOWN, valueOf: TrackSource.valueOf, enumValues: TrackSource.values) - ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) + defaultOrMaker: TrackSource.UNKNOWN, + valueOf: TrackSource.valueOf, + enumValues: TrackSource.values) + ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: VideoLayer.create) ..aOS(11, _omitFieldNames ? '' : 'mimeType') ..aOS(12, _omitFieldNames ? '' : 'mid') - ..pc(13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, + ..pc( + 13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: SimulcastCodecInfo.create) ..aOB(14, _omitFieldNames ? '' : 'stereo') ..aOB(15, _omitFieldNames ? '' : 'disableRed') - ..e(16, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) + ..e( + 16, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, + valueOf: Encryption_Type.valueOf, + enumValues: Encryption_Type.values) ..aOS(17, _omitFieldNames ? '' : 'stream') - ..aOM(18, _omitFieldNames ? '' : 'version', subBuilder: TimedVersion.create) - ..pc(19, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, + ..aOM(18, _omitFieldNames ? '' : 'version', + subBuilder: TimedVersion.create) + ..pc( + 19, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, valueOf: AudioTrackFeature.valueOf, enumValues: AudioTrackFeature.values, defaultEnumValue: AudioTrackFeature.TF_STEREO) - ..e(20, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, + ..e( + 20, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, defaultOrMaker: BackupCodecPolicy.PREFER_REGRESSION, valueOf: BackupCodecPolicy.valueOf, enumValues: BackupCodecPolicy.values) @@ -1188,7 +1273,8 @@ 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) @@ -1412,13 +1498,18 @@ class VideoLayer extends $pb.GeneratedMessage { factory VideoLayer.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory VideoLayer.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory VideoLayer.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VideoLayer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VideoLayer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: VideoQuality.LOW, valueOf: VideoQuality.valueOf, enumValues: VideoQuality.values) + defaultOrMaker: VideoQuality.LOW, + valueOf: VideoQuality.valueOf, + enumValues: VideoQuality.values) ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OU3) @@ -1442,7 +1533,8 @@ 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 @@ -1554,8 +1646,10 @@ class DataPacket extends $pb.GeneratedMessage { if (kind != null) result.kind = kind; if (user != null) result.user = user; if (speaker != null) result.speaker = speaker; - if (participantIdentity != null) result.participantIdentity = participantIdentity; - if (destinationIdentities != null) result.destinationIdentities.addAll(destinationIdentities); + if (participantIdentity != null) + result.participantIdentity = participantIdentity; + if (destinationIdentities != null) + result.destinationIdentities.addAll(destinationIdentities); if (sipDtmf != null) result.sipDtmf = sipDtmf; if (transcription != null) result.transcription = transcription; if (metrics != null) result.metrics = metrics; @@ -1577,7 +1671,8 @@ class DataPacket extends $pb.GeneratedMessage { factory DataPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataPacket.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static const $core.Map<$core.int, DataPacket_Value> _DataPacket_ValueByTag = { @@ -1596,28 +1691,45 @@ class DataPacket extends $pb.GeneratedMessage { 18: DataPacket_Value.encryptedPacket, 0: DataPacket_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18]) ..e(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, - defaultOrMaker: DataPacket_Kind.RELIABLE, valueOf: DataPacket_Kind.valueOf, enumValues: DataPacket_Kind.values) - ..aOM(2, _omitFieldNames ? '' : 'user', subBuilder: UserPacket.create) - ..aOM(3, _omitFieldNames ? '' : 'speaker', subBuilder: ActiveSpeakerUpdate.create) + defaultOrMaker: DataPacket_Kind.RELIABLE, + valueOf: DataPacket_Kind.valueOf, + enumValues: DataPacket_Kind.values) + ..aOM(2, _omitFieldNames ? '' : 'user', + subBuilder: UserPacket.create) + ..aOM(3, _omitFieldNames ? '' : 'speaker', + subBuilder: ActiveSpeakerUpdate.create) ..aOS(4, _omitFieldNames ? '' : 'participantIdentity') ..pPS(5, _omitFieldNames ? '' : 'destinationIdentities') - ..aOM(6, _omitFieldNames ? '' : 'sipDtmf', subBuilder: SipDTMF.create) - ..aOM(7, _omitFieldNames ? '' : 'transcription', subBuilder: Transcription.create) - ..aOM<$1.MetricsBatch>(8, _omitFieldNames ? '' : 'metrics', subBuilder: $1.MetricsBatch.create) - ..aOM(9, _omitFieldNames ? '' : 'chatMessage', subBuilder: ChatMessage.create) - ..aOM(10, _omitFieldNames ? '' : 'rpcRequest', subBuilder: RpcRequest.create) - ..aOM(11, _omitFieldNames ? '' : 'rpcAck', subBuilder: RpcAck.create) - ..aOM(12, _omitFieldNames ? '' : 'rpcResponse', subBuilder: RpcResponse.create) - ..aOM(13, _omitFieldNames ? '' : 'streamHeader', subBuilder: DataStream_Header.create) - ..aOM(14, _omitFieldNames ? '' : 'streamChunk', subBuilder: DataStream_Chunk.create) - ..aOM(15, _omitFieldNames ? '' : 'streamTrailer', subBuilder: DataStream_Trailer.create) + ..aOM(6, _omitFieldNames ? '' : 'sipDtmf', + subBuilder: SipDTMF.create) + ..aOM(7, _omitFieldNames ? '' : 'transcription', + subBuilder: Transcription.create) + ..aOM<$1.MetricsBatch>(8, _omitFieldNames ? '' : 'metrics', + subBuilder: $1.MetricsBatch.create) + ..aOM(9, _omitFieldNames ? '' : 'chatMessage', + subBuilder: ChatMessage.create) + ..aOM(10, _omitFieldNames ? '' : 'rpcRequest', + subBuilder: RpcRequest.create) + ..aOM(11, _omitFieldNames ? '' : 'rpcAck', + subBuilder: RpcAck.create) + ..aOM(12, _omitFieldNames ? '' : 'rpcResponse', + subBuilder: RpcResponse.create) + ..aOM(13, _omitFieldNames ? '' : 'streamHeader', + subBuilder: DataStream_Header.create) + ..aOM(14, _omitFieldNames ? '' : 'streamChunk', + subBuilder: DataStream_Chunk.create) + ..aOM(15, _omitFieldNames ? '' : 'streamTrailer', + subBuilder: DataStream_Trailer.create) ..a<$core.int>(16, _omitFieldNames ? '' : 'sequence', $pb.PbFieldType.OU3) ..aOS(17, _omitFieldNames ? '' : 'participantSid') - ..aOM(18, _omitFieldNames ? '' : 'encryptedPacket', subBuilder: EncryptedPacket.create) + ..aOM(18, _omitFieldNames ? '' : 'encryptedPacket', + subBuilder: EncryptedPacket.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -1635,7 +1747,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)]!; @@ -1857,23 +1970,32 @@ class EncryptedPacket extends $pb.GeneratedMessage { factory EncryptedPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory EncryptedPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory EncryptedPacket.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EncryptedPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, + valueOf: Encryption_Type.valueOf, + enumValues: Encryption_Type.values) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) ..a<$core.int>(3, _omitFieldNames ? '' : 'keyIndex', $pb.PbFieldType.OU3) - ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'encryptedValue', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 4, _omitFieldNames ? '' : 'encryptedValue', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EncryptedPacket clone() => EncryptedPacket()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EncryptedPacket copyWith(void Function(EncryptedPacket) updates) => - super.copyWith((message) => updates(message as EncryptedPacket)) as EncryptedPacket; + super.copyWith((message) => updates(message as EncryptedPacket)) + as EncryptedPacket; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1882,10 +2004,11 @@ class EncryptedPacket extends $pb.GeneratedMessage { static EncryptedPacket create() => EncryptedPacket._(); @$core.override EncryptedPacket createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static EncryptedPacket getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EncryptedPacket getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EncryptedPacket? _defaultInstance; @$pb.TagNumber(1) @@ -1969,7 +2092,8 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, EncryptedPacketPayload_Value> _EncryptedPacketPayload_ValueByTag = { + static const $core.Map<$core.int, EncryptedPacketPayload_Value> + _EncryptedPacketPayload_ValueByTag = { 1: EncryptedPacketPayload_Value.user, 3: EncryptedPacketPayload_Value.chatMessage, 4: EncryptedPacketPayload_Value.rpcRequest, @@ -1980,24 +2104,36 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { 9: EncryptedPacketPayload_Value.streamTrailer, 0: EncryptedPacketPayload_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPacketPayload', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EncryptedPacketPayload', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [1, 3, 4, 5, 6, 7, 8, 9]) - ..aOM(1, _omitFieldNames ? '' : 'user', subBuilder: UserPacket.create) - ..aOM(3, _omitFieldNames ? '' : 'chatMessage', subBuilder: ChatMessage.create) - ..aOM(4, _omitFieldNames ? '' : 'rpcRequest', subBuilder: RpcRequest.create) + ..aOM(1, _omitFieldNames ? '' : 'user', + subBuilder: UserPacket.create) + ..aOM(3, _omitFieldNames ? '' : 'chatMessage', + subBuilder: ChatMessage.create) + ..aOM(4, _omitFieldNames ? '' : 'rpcRequest', + subBuilder: RpcRequest.create) ..aOM(5, _omitFieldNames ? '' : 'rpcAck', subBuilder: RpcAck.create) - ..aOM(6, _omitFieldNames ? '' : 'rpcResponse', subBuilder: RpcResponse.create) - ..aOM(7, _omitFieldNames ? '' : 'streamHeader', subBuilder: DataStream_Header.create) - ..aOM(8, _omitFieldNames ? '' : 'streamChunk', subBuilder: DataStream_Chunk.create) - ..aOM(9, _omitFieldNames ? '' : 'streamTrailer', subBuilder: DataStream_Trailer.create) + ..aOM(6, _omitFieldNames ? '' : 'rpcResponse', + subBuilder: RpcResponse.create) + ..aOM(7, _omitFieldNames ? '' : 'streamHeader', + subBuilder: DataStream_Header.create) + ..aOM(8, _omitFieldNames ? '' : 'streamChunk', + subBuilder: DataStream_Chunk.create) + ..aOM(9, _omitFieldNames ? '' : 'streamTrailer', + subBuilder: DataStream_Trailer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacketPayload clone() => EncryptedPacketPayload()..mergeFromMessage(this); + EncryptedPacketPayload clone() => + EncryptedPacketPayload()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacketPayload copyWith(void Function(EncryptedPacketPayload) updates) => - super.copyWith((message) => updates(message as EncryptedPacketPayload)) as EncryptedPacketPayload; + EncryptedPacketPayload copyWith( + void Function(EncryptedPacketPayload) updates) => + super.copyWith((message) => updates(message as EncryptedPacketPayload)) + as EncryptedPacketPayload; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2006,13 +2142,15 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { static EncryptedPacketPayload create() => EncryptedPacketPayload._(); @$core.override EncryptedPacketPayload createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static EncryptedPacketPayload getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EncryptedPacketPayload getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EncryptedPacketPayload? _defaultInstance; - EncryptedPacketPayload_Value whichValue() => _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; + EncryptedPacketPayload_Value whichValue() => + _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; void clearValue() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -2123,16 +2261,20 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActiveSpeakerUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: SpeakerInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ActiveSpeakerUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, + subBuilder: SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ActiveSpeakerUpdate clone() => ActiveSpeakerUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ActiveSpeakerUpdate copyWith(void Function(ActiveSpeakerUpdate) updates) => - super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) as ActiveSpeakerUpdate; + super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) + as ActiveSpeakerUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2141,10 +2283,11 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { static ActiveSpeakerUpdate create() => ActiveSpeakerUpdate._(); @$core.override ActiveSpeakerUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ActiveSpeakerUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ActiveSpeakerUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ActiveSpeakerUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2169,11 +2312,14 @@ class SpeakerInfo extends $pb.GeneratedMessage { factory SpeakerInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SpeakerInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SpeakerInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakerInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SpeakerInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..a<$core.double>(2, _omitFieldNames ? '' : 'level', $pb.PbFieldType.OF) ..aOB(3, _omitFieldNames ? '' : 'active') @@ -2183,7 +2329,8 @@ class SpeakerInfo extends $pb.GeneratedMessage { SpeakerInfo clone() => SpeakerInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakerInfo copyWith(void Function(SpeakerInfo) updates) => - super.copyWith((message) => updates(message as SpeakerInfo)) as SpeakerInfo; + super.copyWith((message) => updates(message as SpeakerInfo)) + as SpeakerInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2194,7 +2341,8 @@ 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) @@ -2231,10 +2379,13 @@ class UserPacket extends $pb.GeneratedMessage { factory UserPacket({ @$core.Deprecated('This field is deprecated.') $core.String? participantSid, $core.List<$core.int>? payload, - @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? destinationSids, + @$core.Deprecated('This field is deprecated.') + $core.Iterable<$core.String>? destinationSids, $core.String? topic, - @$core.Deprecated('This field is deprecated.') $core.String? participantIdentity, - @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? destinationIdentities, + @$core.Deprecated('This field is deprecated.') + $core.String? participantIdentity, + @$core.Deprecated('This field is deprecated.') + $core.Iterable<$core.String>? destinationIdentities, $core.String? id, $fixnum.Int64? startTime, $fixnum.Int64? endTime, @@ -2245,8 +2396,10 @@ class UserPacket extends $pb.GeneratedMessage { if (payload != null) result.payload = payload; if (destinationSids != null) result.destinationSids.addAll(destinationSids); if (topic != null) result.topic = topic; - if (participantIdentity != null) result.participantIdentity = participantIdentity; - if (destinationIdentities != null) result.destinationIdentities.addAll(destinationIdentities); + if (participantIdentity != null) + result.participantIdentity = participantIdentity; + if (destinationIdentities != null) + result.destinationIdentities.addAll(destinationIdentities); if (id != null) result.id = id; if (startTime != null) result.startTime = startTime; if (endTime != null) result.endTime = endTime; @@ -2259,21 +2412,30 @@ class UserPacket extends $pb.GeneratedMessage { factory UserPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UserPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory UserPacket.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UserPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'payload', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'payload', $pb.PbFieldType.OY) ..pPS(3, _omitFieldNames ? '' : 'destinationSids') ..aOS(4, _omitFieldNames ? '' : 'topic') ..aOS(5, _omitFieldNames ? '' : 'participantIdentity') ..pPS(6, _omitFieldNames ? '' : 'destinationIdentities') ..aOS(8, _omitFieldNames ? '' : 'id') - ..a<$fixnum.Int64>(9, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(10, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>( + 9, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 10, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>( + 11, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -2291,7 +2453,8 @@ 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 @@ -2407,11 +2570,14 @@ class SipDTMF extends $pb.GeneratedMessage { factory SipDTMF.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SipDTMF.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SipDTMF.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SipDTMF', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SipDTMF', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..a<$core.int>(3, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(4, _omitFieldNames ? '' : 'digit') ..hasRequiredFields = false; @@ -2431,7 +2597,8 @@ class SipDTMF extends $pb.GeneratedMessage { SipDTMF createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SipDTMF getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SipDTMF getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SipDTMF? _defaultInstance; @$pb.TagNumber(3) @@ -2460,7 +2627,8 @@ class Transcription extends $pb.GeneratedMessage { $core.Iterable? segments, }) { final result = create(); - if (transcribedParticipantIdentity != null) result.transcribedParticipantIdentity = transcribedParticipantIdentity; + if (transcribedParticipantIdentity != null) + result.transcribedParticipantIdentity = transcribedParticipantIdentity; if (trackId != null) result.trackId = trackId; if (segments != null) result.segments.addAll(segments); return result; @@ -2471,14 +2639,18 @@ class Transcription extends $pb.GeneratedMessage { factory Transcription.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Transcription.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Transcription.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transcription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Transcription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(2, _omitFieldNames ? '' : 'transcribedParticipantIdentity') ..aOS(3, _omitFieldNames ? '' : 'trackId') - ..pc(4, _omitFieldNames ? '' : 'segments', $pb.PbFieldType.PM, + ..pc( + 4, _omitFieldNames ? '' : 'segments', $pb.PbFieldType.PM, subBuilder: TranscriptionSegment.create) ..hasRequiredFields = false; @@ -2486,7 +2658,8 @@ class Transcription extends $pb.GeneratedMessage { Transcription clone() => Transcription()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Transcription copyWith(void Function(Transcription) updates) => - super.copyWith((message) => updates(message as Transcription)) as Transcription; + super.copyWith((message) => updates(message as Transcription)) + as Transcription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2495,16 +2668,19 @@ class Transcription extends $pb.GeneratedMessage { static Transcription create() => Transcription._(); @$core.override Transcription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static Transcription getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Transcription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Transcription? _defaultInstance; /// Participant that got its speech transcribed @$pb.TagNumber(2) $core.String get transcribedParticipantIdentity => $_getSZ(0); @$pb.TagNumber(2) - set transcribedParticipantIdentity($core.String value) => $_setString(0, value); + set transcribedParticipantIdentity($core.String value) => + $_setString(0, value); @$pb.TagNumber(2) $core.bool hasTranscribedParticipantIdentity() => $_has(0); @$pb.TagNumber(2) @@ -2551,21 +2727,28 @@ class TranscriptionSegment extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranscriptionSegment', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TranscriptionSegment', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'text') - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(5, _omitFieldNames ? '' : 'final') ..aOS(6, _omitFieldNames ? '' : 'language') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TranscriptionSegment clone() => TranscriptionSegment()..mergeFromMessage(this); + TranscriptionSegment clone() => + TranscriptionSegment()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TranscriptionSegment copyWith(void Function(TranscriptionSegment) updates) => - super.copyWith((message) => updates(message as TranscriptionSegment)) as TranscriptionSegment; + super.copyWith((message) => updates(message as TranscriptionSegment)) + as TranscriptionSegment; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2574,10 +2757,11 @@ class TranscriptionSegment extends $pb.GeneratedMessage { static TranscriptionSegment create() => TranscriptionSegment._(); @$core.override TranscriptionSegment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TranscriptionSegment getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TranscriptionSegment getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TranscriptionSegment? _defaultInstance; @$pb.TagNumber(1) @@ -2659,11 +2843,14 @@ class ChatMessage extends $pb.GeneratedMessage { factory ChatMessage.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ChatMessage.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ChatMessage.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChatMessage', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ChatMessage', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..aInt64(3, _omitFieldNames ? '' : 'editTimestamp') @@ -2676,7 +2863,8 @@ class ChatMessage extends $pb.GeneratedMessage { ChatMessage clone() => ChatMessage()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChatMessage copyWith(void Function(ChatMessage) updates) => - super.copyWith((message) => updates(message as ChatMessage)) as ChatMessage; + super.copyWith((message) => updates(message as ChatMessage)) + as ChatMessage; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2687,7 +2875,8 @@ class ChatMessage extends $pb.GeneratedMessage { ChatMessage createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ChatMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ChatMessage getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ChatMessage? _defaultInstance; @$pb.TagNumber(1) @@ -2767,15 +2956,19 @@ class RpcRequest extends $pb.GeneratedMessage { factory RpcRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'method') ..aOS(3, _omitFieldNames ? '' : 'payload') - ..a<$core.int>(4, _omitFieldNames ? '' : 'responseTimeoutMs', $pb.PbFieldType.OU3) + ..a<$core.int>( + 4, _omitFieldNames ? '' : 'responseTimeoutMs', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -2794,7 +2987,8 @@ class RpcRequest extends $pb.GeneratedMessage { RpcRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RpcRequest? _defaultInstance; @$pb.TagNumber(1) @@ -2857,18 +3051,22 @@ class RpcAck extends $pb.GeneratedMessage { factory RpcAck.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcAck.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcAck.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcAck', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcAck', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'requestId') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcAck clone() => RpcAck()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcAck copyWith(void Function(RpcAck) updates) => super.copyWith((message) => updates(message as RpcAck)) as RpcAck; + RpcAck copyWith(void Function(RpcAck) updates) => + super.copyWith((message) => updates(message as RpcAck)) as RpcAck; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2879,7 +3077,8 @@ class RpcAck extends $pb.GeneratedMessage { RpcAck createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcAck getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcAck getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcAck? _defaultInstance; @$pb.TagNumber(1) @@ -2912,27 +3111,33 @@ class RpcResponse extends $pb.GeneratedMessage { factory RpcResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RpcResponse_Value> _RpcResponse_ValueByTag = { + static const $core.Map<$core.int, RpcResponse_Value> _RpcResponse_ValueByTag = + { 2: RpcResponse_Value.payload, 3: RpcResponse_Value.error, 0: RpcResponse_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [2, 3]) ..aOS(1, _omitFieldNames ? '' : 'requestId') ..aOS(2, _omitFieldNames ? '' : 'payload') - ..aOM(3, _omitFieldNames ? '' : 'error', subBuilder: RpcError.create) + ..aOM(3, _omitFieldNames ? '' : 'error', + subBuilder: RpcError.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcResponse clone() => RpcResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcResponse copyWith(void Function(RpcResponse) updates) => - super.copyWith((message) => updates(message as RpcResponse)) as RpcResponse; + super.copyWith((message) => updates(message as RpcResponse)) + as RpcResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2943,7 +3148,8 @@ class RpcResponse extends $pb.GeneratedMessage { RpcResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RpcResponse? _defaultInstance; RpcResponse_Value whichValue() => _RpcResponse_ValueByTag[$_whichOneof(0)]!; @@ -2997,11 +3203,14 @@ class RpcError extends $pb.GeneratedMessage { factory RpcError.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcError.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcError.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcError', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RpcError', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'message') ..aOS(3, _omitFieldNames ? '' : 'data') @@ -3022,7 +3231,8 @@ class RpcError extends $pb.GeneratedMessage { RpcError createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcError getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcError getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcError? _defaultInstance; @$pb.TagNumber(1) @@ -3073,8 +3283,10 @@ class ParticipantTracks extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantTracks', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantTracks', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..pPS(2, _omitFieldNames ? '' : 'trackSids') ..hasRequiredFields = false; @@ -3083,7 +3295,8 @@ class ParticipantTracks extends $pb.GeneratedMessage { ParticipantTracks clone() => ParticipantTracks()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantTracks copyWith(void Function(ParticipantTracks) updates) => - super.copyWith((message) => updates(message as ParticipantTracks)) as ParticipantTracks; + super.copyWith((message) => updates(message as ParticipantTracks)) + as ParticipantTracks; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3092,10 +3305,11 @@ class ParticipantTracks extends $pb.GeneratedMessage { static ParticipantTracks create() => ParticipantTracks._(); @$core.override ParticipantTracks createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantTracks getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantTracks getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantTracks? _defaultInstance; /// participant ID of participant to whom the tracks belong @@ -3139,12 +3353,16 @@ class ServerInfo extends $pb.GeneratedMessage { factory ServerInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ServerInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ServerInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServerInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ServerInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: ServerInfo_Edition.Standard, valueOf: ServerInfo_Edition.valueOf, enumValues: ServerInfo_Edition.values) @@ -3153,7 +3371,8 @@ class ServerInfo extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'region') ..aOS(5, _omitFieldNames ? '' : 'nodeId') ..aOS(6, _omitFieldNames ? '' : 'debugInfo') - ..a<$core.int>(7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) + ..a<$core.int>( + 7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -3171,7 +3390,8 @@ 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) @@ -3274,13 +3494,18 @@ class ClientInfo extends $pb.GeneratedMessage { factory ClientInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ClientInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ClientInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ClientInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'sdk', $pb.PbFieldType.OE, - defaultOrMaker: ClientInfo_SDK.UNKNOWN, valueOf: ClientInfo_SDK.valueOf, enumValues: ClientInfo_SDK.values) + defaultOrMaker: ClientInfo_SDK.UNKNOWN, + valueOf: ClientInfo_SDK.valueOf, + enumValues: ClientInfo_SDK.values) ..aOS(2, _omitFieldNames ? '' : 'version') ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) ..aOS(4, _omitFieldNames ? '' : 'os') @@ -3308,7 +3533,8 @@ 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) @@ -3441,16 +3667,23 @@ class ClientConfiguration extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientConfiguration', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'video', subBuilder: VideoConfiguration.create) - ..aOM(2, _omitFieldNames ? '' : 'screen', subBuilder: VideoConfiguration.create) - ..e(3, _omitFieldNames ? '' : 'resumeConnection', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ClientConfiguration', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'video', + subBuilder: VideoConfiguration.create) + ..aOM(2, _omitFieldNames ? '' : 'screen', + subBuilder: VideoConfiguration.create) + ..e( + 3, _omitFieldNames ? '' : 'resumeConnection', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) - ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', subBuilder: DisabledCodecs.create) - ..e(5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, + ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', + subBuilder: DisabledCodecs.create) + ..e( + 5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) @@ -3460,7 +3693,8 @@ class ClientConfiguration extends $pb.GeneratedMessage { ClientConfiguration clone() => ClientConfiguration()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ClientConfiguration copyWith(void Function(ClientConfiguration) updates) => - super.copyWith((message) => updates(message as ClientConfiguration)) as ClientConfiguration; + super.copyWith((message) => updates(message as ClientConfiguration)) + as ClientConfiguration; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3469,10 +3703,11 @@ class ClientConfiguration extends $pb.GeneratedMessage { static ClientConfiguration create() => ClientConfiguration._(); @$core.override ClientConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ClientConfiguration getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClientConfiguration getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ClientConfiguration? _defaultInstance; @$pb.TagNumber(1) @@ -3545,9 +3780,12 @@ class VideoConfiguration extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VideoConfiguration', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'hardwareEncoder', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VideoConfiguration', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'hardwareEncoder', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) @@ -3557,7 +3795,8 @@ class VideoConfiguration extends $pb.GeneratedMessage { VideoConfiguration clone() => VideoConfiguration()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VideoConfiguration copyWith(void Function(VideoConfiguration) updates) => - super.copyWith((message) => updates(message as VideoConfiguration)) as VideoConfiguration; + super.copyWith((message) => updates(message as VideoConfiguration)) + as VideoConfiguration; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3566,10 +3805,11 @@ class VideoConfiguration extends $pb.GeneratedMessage { static VideoConfiguration create() => VideoConfiguration._(); @$core.override VideoConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static VideoConfiguration getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VideoConfiguration getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static VideoConfiguration? _defaultInstance; @$pb.TagNumber(1) @@ -3598,20 +3838,26 @@ class DisabledCodecs extends $pb.GeneratedMessage { factory DisabledCodecs.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DisabledCodecs.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DisabledCodecs.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisabledCodecs', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: Codec.create) - ..pc(2, _omitFieldNames ? '' : 'publish', $pb.PbFieldType.PM, subBuilder: Codec.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DisabledCodecs', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, + subBuilder: Codec.create) + ..pc(2, _omitFieldNames ? '' : 'publish', $pb.PbFieldType.PM, + subBuilder: Codec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DisabledCodecs clone() => DisabledCodecs()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DisabledCodecs copyWith(void Function(DisabledCodecs) updates) => - super.copyWith((message) => updates(message as DisabledCodecs)) as DisabledCodecs; + super.copyWith((message) => updates(message as DisabledCodecs)) + as DisabledCodecs; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3620,9 +3866,11 @@ class DisabledCodecs extends $pb.GeneratedMessage { static DisabledCodecs create() => DisabledCodecs._(); @$core.override DisabledCodecs createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DisabledCodecs getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DisabledCodecs getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DisabledCodecs? _defaultInstance; /// disabled for both publish and subscribe @@ -3664,19 +3912,27 @@ class RTPDrift extends $pb.GeneratedMessage { factory RTPDrift.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPDrift.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPDrift.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPDrift', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $0.Timestamp.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPDrift', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', + subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', + subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(7, _omitFieldNames ? '' : 'driftSamples') ..a<$core.double>(8, _omitFieldNames ? '' : 'driftMs', $pb.PbFieldType.OD) @@ -3698,7 +3954,8 @@ 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) @@ -3845,9 +4102,11 @@ class RTPStats extends $pb.GeneratedMessage { if (bitrate != null) result.bitrate = bitrate; if (packetsLost != null) result.packetsLost = packetsLost; if (packetLossRate != null) result.packetLossRate = packetLossRate; - if (packetLossPercentage != null) result.packetLossPercentage = packetLossPercentage; + if (packetLossPercentage != null) + result.packetLossPercentage = packetLossPercentage; if (packetsDuplicate != null) result.packetsDuplicate = packetsDuplicate; - if (packetDuplicateRate != null) result.packetDuplicateRate = packetDuplicateRate; + if (packetDuplicateRate != null) + result.packetDuplicateRate = packetDuplicateRate; if (bytesDuplicate != null) result.bytesDuplicate = bytesDuplicate; if (bitrateDuplicate != null) result.bitrateDuplicate = bitrateDuplicate; if (packetsPadding != null) result.packetsPadding = packetsPadding; @@ -3875,12 +4134,16 @@ class RTPStats extends $pb.GeneratedMessage { if (nackAcks != null) result.nackAcks = nackAcks; if (nackRepeated != null) result.nackRepeated = nackRepeated; if (headerBytes != null) result.headerBytes = headerBytes; - if (headerBytesDuplicate != null) result.headerBytesDuplicate = headerBytesDuplicate; - if (headerBytesPadding != null) result.headerBytesPadding = headerBytesPadding; + if (headerBytesDuplicate != null) + result.headerBytesDuplicate = headerBytesDuplicate; + if (headerBytesPadding != null) + result.headerBytesPadding = headerBytesPadding; if (packetDrift != null) result.packetDrift = packetDrift; if (ntpReportDrift != null) result.ntpReportDrift = ntpReportDrift; - if (rebasedReportDrift != null) result.rebasedReportDrift = rebasedReportDrift; - if (receivedReportDrift != null) result.receivedReportDrift = receivedReportDrift; + if (rebasedReportDrift != null) + result.rebasedReportDrift = rebasedReportDrift; + if (receivedReportDrift != null) + result.receivedReportDrift = receivedReportDrift; return result; } @@ -3889,36 +4152,57 @@ class RTPStats extends $pb.GeneratedMessage { factory RTPStats.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPStats.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPStats.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPStats', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $0.Timestamp.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPStats', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', + subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', + subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OD) ..a<$core.int>(4, _omitFieldNames ? '' : 'packets', $pb.PbFieldType.OU3) - ..a<$core.double>(5, _omitFieldNames ? '' : 'packetRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.double>( + 5, _omitFieldNames ? '' : 'packetRate', $pb.PbFieldType.OD) + ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..a<$core.double>(7, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OD) ..a<$core.int>(8, _omitFieldNames ? '' : 'packetsLost', $pb.PbFieldType.OU3) - ..a<$core.double>(9, _omitFieldNames ? '' : 'packetLossRate', $pb.PbFieldType.OD) - ..a<$core.double>(10, _omitFieldNames ? '' : 'packetLossPercentage', $pb.PbFieldType.OF) - ..a<$core.int>(11, _omitFieldNames ? '' : 'packetsDuplicate', $pb.PbFieldType.OU3) - ..a<$core.double>(12, _omitFieldNames ? '' : 'packetDuplicateRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(13, _omitFieldNames ? '' : 'bytesDuplicate', $pb.PbFieldType.OU6, + ..a<$core.double>( + 9, _omitFieldNames ? '' : 'packetLossRate', $pb.PbFieldType.OD) + ..a<$core.double>( + 10, _omitFieldNames ? '' : 'packetLossPercentage', $pb.PbFieldType.OF) + ..a<$core.int>( + 11, _omitFieldNames ? '' : 'packetsDuplicate', $pb.PbFieldType.OU3) + ..a<$core.double>( + 12, _omitFieldNames ? '' : 'packetDuplicateRate', $pb.PbFieldType.OD) + ..a<$fixnum.Int64>( + 13, _omitFieldNames ? '' : 'bytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(14, _omitFieldNames ? '' : 'bitrateDuplicate', $pb.PbFieldType.OD) - ..a<$core.int>(15, _omitFieldNames ? '' : 'packetsPadding', $pb.PbFieldType.OU3) - ..a<$core.double>(16, _omitFieldNames ? '' : 'packetPaddingRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(17, _omitFieldNames ? '' : 'bytesPadding', $pb.PbFieldType.OU6, + ..a<$core.double>( + 14, _omitFieldNames ? '' : 'bitrateDuplicate', $pb.PbFieldType.OD) + ..a<$core.int>( + 15, _omitFieldNames ? '' : 'packetsPadding', $pb.PbFieldType.OU3) + ..a<$core.double>( + 16, _omitFieldNames ? '' : 'packetPaddingRate', $pb.PbFieldType.OD) + ..a<$fixnum.Int64>( + 17, _omitFieldNames ? '' : 'bytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) - ..a<$core.int>(19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) + ..a<$core.double>( + 18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) + ..a<$core.int>( + 19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) ..a<$core.int>(20, _omitFieldNames ? '' : 'frames', $pb.PbFieldType.OU3) - ..a<$core.double>(21, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OD) - ..a<$core.double>(22, _omitFieldNames ? '' : 'jitterCurrent', $pb.PbFieldType.OD) - ..a<$core.double>(23, _omitFieldNames ? '' : 'jitterMax', $pb.PbFieldType.OD) + ..a<$core.double>( + 21, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OD) + ..a<$core.double>( + 22, _omitFieldNames ? '' : 'jitterCurrent', $pb.PbFieldType.OD) + ..a<$core.double>( + 23, _omitFieldNames ? '' : 'jitterMax', $pb.PbFieldType.OD) ..m<$core.int, $core.int>(24, _omitFieldNames ? '' : 'gapHistogram', entryClassName: 'RTPStats.GapHistogramEntry', keyFieldType: $pb.PbFieldType.O3, @@ -3927,27 +4211,40 @@ class RTPStats extends $pb.GeneratedMessage { ..a<$core.int>(25, _omitFieldNames ? '' : 'nacks', $pb.PbFieldType.OU3) ..a<$core.int>(26, _omitFieldNames ? '' : 'nackMisses', $pb.PbFieldType.OU3) ..a<$core.int>(27, _omitFieldNames ? '' : 'plis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', + subBuilder: $0.Timestamp.create) ..a<$core.int>(29, _omitFieldNames ? '' : 'firs', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(30, _omitFieldNames ? '' : 'lastFir', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(30, _omitFieldNames ? '' : 'lastFir', + subBuilder: $0.Timestamp.create) ..a<$core.int>(31, _omitFieldNames ? '' : 'rttCurrent', $pb.PbFieldType.OU3) ..a<$core.int>(32, _omitFieldNames ? '' : 'rttMax', $pb.PbFieldType.OU3) ..a<$core.int>(33, _omitFieldNames ? '' : 'keyFrames', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(34, _omitFieldNames ? '' : 'lastKeyFrame', subBuilder: $0.Timestamp.create) - ..a<$core.int>(35, _omitFieldNames ? '' : 'layerLockPlis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(36, _omitFieldNames ? '' : 'lastLayerLockPli', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(34, _omitFieldNames ? '' : 'lastKeyFrame', + subBuilder: $0.Timestamp.create) + ..a<$core.int>( + 35, _omitFieldNames ? '' : 'layerLockPlis', $pb.PbFieldType.OU3) + ..aOM<$0.Timestamp>(36, _omitFieldNames ? '' : 'lastLayerLockPli', + subBuilder: $0.Timestamp.create) ..a<$core.int>(37, _omitFieldNames ? '' : 'nackAcks', $pb.PbFieldType.OU3) - ..a<$core.int>(38, _omitFieldNames ? '' : 'nackRepeated', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(39, _omitFieldNames ? '' : 'headerBytes', $pb.PbFieldType.OU6, + ..a<$core.int>( + 38, _omitFieldNames ? '' : 'nackRepeated', $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>( + 39, _omitFieldNames ? '' : 'headerBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(44, _omitFieldNames ? '' : 'packetDrift', subBuilder: RTPDrift.create) - ..aOM(45, _omitFieldNames ? '' : 'ntpReportDrift', subBuilder: RTPDrift.create) - ..aOM(46, _omitFieldNames ? '' : 'rebasedReportDrift', subBuilder: RTPDrift.create) - ..aOM(47, _omitFieldNames ? '' : 'receivedReportDrift', subBuilder: RTPDrift.create) + ..aOM(44, _omitFieldNames ? '' : 'packetDrift', + subBuilder: RTPDrift.create) + ..aOM(45, _omitFieldNames ? '' : 'ntpReportDrift', + subBuilder: RTPDrift.create) + ..aOM(46, _omitFieldNames ? '' : 'rebasedReportDrift', + subBuilder: RTPDrift.create) + ..aOM(47, _omitFieldNames ? '' : 'receivedReportDrift', + subBuilder: RTPDrift.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -3965,7 +4262,8 @@ 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) @@ -4418,24 +4716,33 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTCPSenderReportState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'rtpTimestamp', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'rtpTimestampExt', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTCPSenderReportState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..a<$core.int>( + 1, _omitFieldNames ? '' : 'rtpTimestamp', $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>( + 2, _omitFieldNames ? '' : 'rtpTimestampExt', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'ntpTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'ntpTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(4, _omitFieldNames ? '' : 'at') ..aInt64(5, _omitFieldNames ? '' : 'atAdjusted') ..a<$core.int>(6, _omitFieldNames ? '' : 'packets', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'octets', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'octets', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTCPSenderReportState clone() => RTCPSenderReportState()..mergeFromMessage(this); + RTCPSenderReportState clone() => + RTCPSenderReportState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTCPSenderReportState copyWith(void Function(RTCPSenderReportState) updates) => - super.copyWith((message) => updates(message as RTCPSenderReportState)) as RTCPSenderReportState; + RTCPSenderReportState copyWith( + void Function(RTCPSenderReportState) updates) => + super.copyWith((message) => updates(message as RTCPSenderReportState)) + as RTCPSenderReportState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4444,10 +4751,11 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { static RTCPSenderReportState create() => RTCPSenderReportState._(); @$core.override RTCPSenderReportState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTCPSenderReportState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTCPSenderReportState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RTCPSenderReportState? _defaultInstance; @$pb.TagNumber(1) @@ -4529,13 +4837,16 @@ class RTPForwarderState extends $pb.GeneratedMessage { }) { final result = create(); if (started != null) result.started = started; - if (referenceLayerSpatial != null) result.referenceLayerSpatial = referenceLayerSpatial; + if (referenceLayerSpatial != null) + result.referenceLayerSpatial = referenceLayerSpatial; if (preStartTime != null) result.preStartTime = preStartTime; if (extFirstTimestamp != null) result.extFirstTimestamp = extFirstTimestamp; - if (dummyStartTimestampOffset != null) result.dummyStartTimestampOffset = dummyStartTimestampOffset; + if (dummyStartTimestampOffset != null) + result.dummyStartTimestampOffset = dummyStartTimestampOffset; if (rtpMunger != null) result.rtpMunger = rtpMunger; if (vp8Munger != null) result.vp8Munger = vp8Munger; - if (senderReportState != null) result.senderReportState.addAll(senderReportState); + if (senderReportState != null) + result.senderReportState.addAll(senderReportState); return result; } @@ -4548,23 +4859,32 @@ class RTPForwarderState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RTPForwarderState_CodecMunger> _RTPForwarderState_CodecMungerByTag = { + static const $core.Map<$core.int, RTPForwarderState_CodecMunger> + _RTPForwarderState_CodecMungerByTag = { 7: RTPForwarderState_CodecMunger.vp8Munger, 0: RTPForwarderState_CodecMunger.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPForwarderState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPForwarderState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [7]) ..aOB(1, _omitFieldNames ? '' : 'started') - ..a<$core.int>(2, _omitFieldNames ? '' : 'referenceLayerSpatial', $pb.PbFieldType.O3) + ..a<$core.int>( + 2, _omitFieldNames ? '' : 'referenceLayerSpatial', $pb.PbFieldType.O3) ..aInt64(3, _omitFieldNames ? '' : 'preStartTime') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'extFirstTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'extFirstTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'dummyStartTimestampOffset', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'dummyStartTimestampOffset', + $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(6, _omitFieldNames ? '' : 'rtpMunger', subBuilder: RTPMungerState.create) - ..aOM(7, _omitFieldNames ? '' : 'vp8Munger', subBuilder: VP8MungerState.create) - ..pc(8, _omitFieldNames ? '' : 'senderReportState', $pb.PbFieldType.PM, + ..aOM(6, _omitFieldNames ? '' : 'rtpMunger', + subBuilder: RTPMungerState.create) + ..aOM(7, _omitFieldNames ? '' : 'vp8Munger', + subBuilder: VP8MungerState.create) + ..pc( + 8, _omitFieldNames ? '' : 'senderReportState', $pb.PbFieldType.PM, subBuilder: RTCPSenderReportState.create) ..hasRequiredFields = false; @@ -4572,7 +4892,8 @@ class RTPForwarderState extends $pb.GeneratedMessage { RTPForwarderState clone() => RTPForwarderState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPForwarderState copyWith(void Function(RTPForwarderState) updates) => - super.copyWith((message) => updates(message as RTPForwarderState)) as RTPForwarderState; + super.copyWith((message) => updates(message as RTPForwarderState)) + as RTPForwarderState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4581,13 +4902,15 @@ class RTPForwarderState extends $pb.GeneratedMessage { static RTPForwarderState create() => RTPForwarderState._(); @$core.override RTPForwarderState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPForwarderState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPForwarderState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RTPForwarderState? _defaultInstance; - RTPForwarderState_CodecMunger whichCodecMunger() => _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; + RTPForwarderState_CodecMunger whichCodecMunger() => + _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; void clearCodecMunger() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4671,10 +4994,13 @@ class RTPMungerState extends $pb.GeneratedMessage { $core.bool? secondLastMarker, }) { final result = create(); - if (extLastSequenceNumber != null) result.extLastSequenceNumber = extLastSequenceNumber; - if (extSecondLastSequenceNumber != null) result.extSecondLastSequenceNumber = extSecondLastSequenceNumber; + if (extLastSequenceNumber != null) + result.extLastSequenceNumber = extLastSequenceNumber; + if (extSecondLastSequenceNumber != null) + result.extSecondLastSequenceNumber = extSecondLastSequenceNumber; if (extLastTimestamp != null) result.extLastTimestamp = extLastTimestamp; - if (extSecondLastTimestamp != null) result.extSecondLastTimestamp = extSecondLastTimestamp; + if (extSecondLastTimestamp != null) + result.extSecondLastTimestamp = extSecondLastTimestamp; if (lastMarker != null) result.lastMarker = lastMarker; if (secondLastMarker != null) result.secondLastMarker = secondLastMarker; return result; @@ -4685,18 +5011,25 @@ class RTPMungerState extends $pb.GeneratedMessage { factory RTPMungerState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPMungerState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPMungerState.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPMungerState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'extLastSequenceNumber', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RTPMungerState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..a<$fixnum.Int64>( + 1, _omitFieldNames ? '' : 'extLastSequenceNumber', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'extSecondLastSequenceNumber', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'extSecondLastSequenceNumber', + $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'extLastTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 3, _omitFieldNames ? '' : 'extLastTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'extSecondLastTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>( + 4, _omitFieldNames ? '' : 'extSecondLastTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(5, _omitFieldNames ? '' : 'lastMarker') ..aOB(6, _omitFieldNames ? '' : 'secondLastMarker') @@ -4706,7 +5039,8 @@ class RTPMungerState extends $pb.GeneratedMessage { RTPMungerState clone() => RTPMungerState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPMungerState copyWith(void Function(RTPMungerState) updates) => - super.copyWith((message) => updates(message as RTPMungerState)) as RTPMungerState; + super.copyWith((message) => updates(message as RTPMungerState)) + as RTPMungerState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4715,9 +5049,11 @@ class RTPMungerState extends $pb.GeneratedMessage { static RTPMungerState create() => RTPMungerState._(); @$core.override RTPMungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPMungerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPMungerState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RTPMungerState? _defaultInstance; @$pb.TagNumber(1) @@ -4801,14 +5137,19 @@ class VP8MungerState extends $pb.GeneratedMessage { factory VP8MungerState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory VP8MungerState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory VP8MungerState.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VP8MungerState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'extLastPictureId', $pb.PbFieldType.O3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VP8MungerState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..a<$core.int>( + 1, _omitFieldNames ? '' : 'extLastPictureId', $pb.PbFieldType.O3) ..aOB(2, _omitFieldNames ? '' : 'pictureIdUsed') - ..a<$core.int>(3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) + ..a<$core.int>( + 3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) ..aOB(4, _omitFieldNames ? '' : 'tl0PicIdxUsed') ..aOB(5, _omitFieldNames ? '' : 'tidUsed') ..a<$core.int>(6, _omitFieldNames ? '' : 'lastKeyIdx', $pb.PbFieldType.OU3) @@ -4819,7 +5160,8 @@ class VP8MungerState extends $pb.GeneratedMessage { VP8MungerState clone() => VP8MungerState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VP8MungerState copyWith(void Function(VP8MungerState) updates) => - super.copyWith((message) => updates(message as VP8MungerState)) as VP8MungerState; + super.copyWith((message) => updates(message as VP8MungerState)) + as VP8MungerState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4828,9 +5170,11 @@ class VP8MungerState extends $pb.GeneratedMessage { static VP8MungerState create() => VP8MungerState._(); @$core.override VP8MungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static VP8MungerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VP8MungerState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static VP8MungerState? _defaultInstance; @$pb.TagNumber(1) @@ -4913,11 +5257,14 @@ class TimedVersion extends $pb.GeneratedMessage { factory TimedVersion.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TimedVersion.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TimedVersion.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimedVersion', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TimedVersion', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'unixMicro') ..a<$core.int>(2, _omitFieldNames ? '' : 'ticks', $pb.PbFieldType.O3) ..hasRequiredFields = false; @@ -4926,7 +5273,8 @@ class TimedVersion extends $pb.GeneratedMessage { TimedVersion clone() => TimedVersion()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimedVersion copyWith(void Function(TimedVersion) updates) => - super.copyWith((message) => updates(message as TimedVersion)) as TimedVersion; + super.copyWith((message) => updates(message as TimedVersion)) + as TimedVersion; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4935,9 +5283,11 @@ class TimedVersion extends $pb.GeneratedMessage { static TimedVersion create() => TimedVersion._(); @$core.override TimedVersion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TimedVersion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TimedVersion getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TimedVersion? _defaultInstance; @$pb.TagNumber(1) @@ -4972,7 +5322,8 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { if (operationType != null) result.operationType = operationType; if (version != null) result.version = version; if (replyToStreamId != null) result.replyToStreamId = replyToStreamId; - if (attachedStreamIds != null) result.attachedStreamIds.addAll(attachedStreamIds); + if (attachedStreamIds != null) + result.attachedStreamIds.addAll(attachedStreamIds); if (generated != null) result.generated = generated; return result; } @@ -4986,9 +5337,12 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.TextHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'operationType', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.TextHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'operationType', $pb.PbFieldType.OE, defaultOrMaker: DataStream_OperationType.CREATE, valueOf: DataStream_OperationType.valueOf, enumValues: DataStream_OperationType.values) @@ -4999,10 +5353,13 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader clone() => DataStream_TextHeader()..mergeFromMessage(this); + DataStream_TextHeader clone() => + DataStream_TextHeader()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader copyWith(void Function(DataStream_TextHeader) updates) => - super.copyWith((message) => updates(message as DataStream_TextHeader)) as DataStream_TextHeader; + DataStream_TextHeader copyWith( + void Function(DataStream_TextHeader) updates) => + super.copyWith((message) => updates(message as DataStream_TextHeader)) + as DataStream_TextHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5011,10 +5368,11 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { static DataStream_TextHeader create() => DataStream_TextHeader._(); @$core.override DataStream_TextHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_TextHeader getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_TextHeader getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_TextHeader? _defaultInstance; @$pb.TagNumber(1) @@ -5076,16 +5434,21 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.ByteHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.ByteHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_ByteHeader clone() => DataStream_ByteHeader()..mergeFromMessage(this); + DataStream_ByteHeader clone() => + DataStream_ByteHeader()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_ByteHeader copyWith(void Function(DataStream_ByteHeader) updates) => - super.copyWith((message) => updates(message as DataStream_ByteHeader)) as DataStream_ByteHeader; + DataStream_ByteHeader copyWith( + void Function(DataStream_ByteHeader) updates) => + super.copyWith((message) => updates(message as DataStream_ByteHeader)) + as DataStream_ByteHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5094,10 +5457,11 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { static DataStream_ByteHeader create() => DataStream_ByteHeader._(); @$core.override DataStream_ByteHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_ByteHeader getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_ByteHeader getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_ByteHeader? _defaultInstance; @$pb.TagNumber(1) @@ -5120,7 +5484,8 @@ class DataStream_Header extends $pb.GeneratedMessage { $core.String? topic, $core.String? mimeType, $fixnum.Int64? totalLength, - @$core.Deprecated('This field is deprecated.') Encryption_Type? encryptionType, + @$core.Deprecated('This field is deprecated.') + Encryption_Type? encryptionType, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? attributes, DataStream_TextHeader? textHeader, DataStream_ByteHeader? byteHeader, @@ -5147,35 +5512,46 @@ class DataStream_Header extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, DataStream_Header_ContentHeader> _DataStream_Header_ContentHeaderByTag = { + static const $core.Map<$core.int, DataStream_Header_ContentHeader> + _DataStream_Header_ContentHeaderByTag = { 9: DataStream_Header_ContentHeader.textHeader, 10: DataStream_Header_ContentHeader.byteHeader, 0: DataStream_Header_ContentHeader.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Header', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.Header', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [9, 10]) ..aOS(1, _omitFieldNames ? '' : 'streamId') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..aOS(3, _omitFieldNames ? '' : 'topic') ..aOS(4, _omitFieldNames ? '' : 'mimeType') - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'totalLength', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..e(7, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) + ..a<$fixnum.Int64>( + 5, _omitFieldNames ? '' : 'totalLength', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..e( + 7, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, + valueOf: Encryption_Type.valueOf, + enumValues: Encryption_Type.values) ..m<$core.String, $core.String>(8, _omitFieldNames ? '' : 'attributes', entryClassName: 'DataStream.Header.AttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..aOM(9, _omitFieldNames ? '' : 'textHeader', subBuilder: DataStream_TextHeader.create) - ..aOM(10, _omitFieldNames ? '' : 'byteHeader', subBuilder: DataStream_ByteHeader.create) + ..aOM(9, _omitFieldNames ? '' : 'textHeader', + subBuilder: DataStream_TextHeader.create) + ..aOM(10, _omitFieldNames ? '' : 'byteHeader', + subBuilder: DataStream_ByteHeader.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Header clone() => DataStream_Header()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Header copyWith(void Function(DataStream_Header) updates) => - super.copyWith((message) => updates(message as DataStream_Header)) as DataStream_Header; + super.copyWith((message) => updates(message as DataStream_Header)) + as DataStream_Header; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5184,13 +5560,15 @@ class DataStream_Header extends $pb.GeneratedMessage { static DataStream_Header create() => DataStream_Header._(); @$core.override DataStream_Header createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Header getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Header getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Header? _defaultInstance; - DataStream_Header_ContentHeader whichContentHeader() => _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; + DataStream_Header_ContentHeader whichContentHeader() => + _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; void clearContentHeader() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -5303,20 +5681,27 @@ class DataStream_Chunk extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Chunk', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.Chunk', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'streamId') - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'chunkIndex', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>( + 2, _omitFieldNames ? '' : 'chunkIndex', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>( + 3, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY) ..a<$core.int>(4, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3) - ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 5, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Chunk clone() => DataStream_Chunk()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Chunk copyWith(void Function(DataStream_Chunk) updates) => - super.copyWith((message) => updates(message as DataStream_Chunk)) as DataStream_Chunk; + super.copyWith((message) => updates(message as DataStream_Chunk)) + as DataStream_Chunk; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5325,10 +5710,11 @@ class DataStream_Chunk extends $pb.GeneratedMessage { static DataStream_Chunk create() => DataStream_Chunk._(); @$core.override DataStream_Chunk createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Chunk getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Chunk getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Chunk? _defaultInstance; @$pb.TagNumber(1) @@ -5403,8 +5789,10 @@ class DataStream_Trailer extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Trailer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream.Trailer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'streamId') ..aOS(2, _omitFieldNames ? '' : 'reason') ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'attributes', @@ -5418,7 +5806,8 @@ class DataStream_Trailer extends $pb.GeneratedMessage { DataStream_Trailer clone() => DataStream_Trailer()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Trailer copyWith(void Function(DataStream_Trailer) updates) => - super.copyWith((message) => updates(message as DataStream_Trailer)) as DataStream_Trailer; + super.copyWith((message) => updates(message as DataStream_Trailer)) + as DataStream_Trailer; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5427,10 +5816,11 @@ class DataStream_Trailer extends $pb.GeneratedMessage { static DataStream_Trailer create() => DataStream_Trailer._(); @$core.override DataStream_Trailer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Trailer getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Trailer getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Trailer? _defaultInstance; @$pb.TagNumber(1) @@ -5463,11 +5853,14 @@ class DataStream extends $pb.GeneratedMessage { factory DataStream.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataStream.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataStream.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataStream', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -5485,7 +5878,8 @@ class DataStream extends $pb.GeneratedMessage { DataStream createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataStream getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataStream? _defaultInstance; } @@ -5505,11 +5899,14 @@ class WebhookConfig extends $pb.GeneratedMessage { factory WebhookConfig.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory WebhookConfig.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory WebhookConfig.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WebhookConfig', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WebhookConfig', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'url') ..aOS(2, _omitFieldNames ? '' : 'signingKey') ..hasRequiredFields = false; @@ -5518,7 +5915,8 @@ class WebhookConfig extends $pb.GeneratedMessage { WebhookConfig clone() => WebhookConfig()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WebhookConfig copyWith(void Function(WebhookConfig) updates) => - super.copyWith((message) => updates(message as WebhookConfig)) as WebhookConfig; + super.copyWith((message) => updates(message as WebhookConfig)) + as WebhookConfig; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5527,9 +5925,11 @@ class WebhookConfig extends $pb.GeneratedMessage { static WebhookConfig create() => WebhookConfig._(); @$core.override WebhookConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static WebhookConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WebhookConfig getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static WebhookConfig? _defaultInstance; @$pb.TagNumber(1) @@ -5571,17 +5971,21 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedAudioCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedAudioCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodec clone() => SubscribedAudioCodec()..mergeFromMessage(this); + SubscribedAudioCodec clone() => + SubscribedAudioCodec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedAudioCodec copyWith(void Function(SubscribedAudioCodec) updates) => - super.copyWith((message) => updates(message as SubscribedAudioCodec)) as SubscribedAudioCodec; + super.copyWith((message) => updates(message as SubscribedAudioCodec)) + as SubscribedAudioCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5590,10 +5994,11 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { static SubscribedAudioCodec create() => SubscribedAudioCodec._(); @$core.override SubscribedAudioCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedAudioCodec getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedAudioCodec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedAudioCodec? _defaultInstance; @$pb.TagNumber(1) @@ -5615,5 +6020,7 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { void clearEnabled() => $_clearField(2); } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_models.pbenum.dart b/lib/src/proto/livekit_models.pbenum.dart index 469e1149b..bbc207c8a 100644 --- a/lib/src/proto/livekit_models.pbenum.dart +++ b/lib/src/proto/livekit_models.pbenum.dart @@ -15,10 +15,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class AudioCodec extends $pb.ProtobufEnum { - static const AudioCodec DEFAULT_AC = AudioCodec._(0, _omitEnumNames ? '' : 'DEFAULT_AC'); + static const AudioCodec DEFAULT_AC = + AudioCodec._(0, _omitEnumNames ? '' : 'DEFAULT_AC'); static const AudioCodec OPUS = AudioCodec._(1, _omitEnumNames ? '' : 'OPUS'); static const AudioCodec AAC = AudioCodec._(2, _omitEnumNames ? '' : 'AAC'); - static const AudioCodec AC_MP3 = AudioCodec._(3, _omitEnumNames ? '' : 'AC_MP3'); + static const AudioCodec AC_MP3 = + AudioCodec._(3, _omitEnumNames ? '' : 'AC_MP3'); static const $core.List values = [ DEFAULT_AC, @@ -27,17 +29,23 @@ class AudioCodec extends $pb.ProtobufEnum { AC_MP3, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static AudioCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static AudioCodec? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const AudioCodec._(super.value, super.name); } class VideoCodec extends $pb.ProtobufEnum { - static const VideoCodec DEFAULT_VC = VideoCodec._(0, _omitEnumNames ? '' : 'DEFAULT_VC'); - static const VideoCodec H264_BASELINE = VideoCodec._(1, _omitEnumNames ? '' : 'H264_BASELINE'); - static const VideoCodec H264_MAIN = VideoCodec._(2, _omitEnumNames ? '' : 'H264_MAIN'); - static const VideoCodec H264_HIGH = VideoCodec._(3, _omitEnumNames ? '' : 'H264_HIGH'); + static const VideoCodec DEFAULT_VC = + VideoCodec._(0, _omitEnumNames ? '' : 'DEFAULT_VC'); + static const VideoCodec H264_BASELINE = + VideoCodec._(1, _omitEnumNames ? '' : 'H264_BASELINE'); + static const VideoCodec H264_MAIN = + VideoCodec._(2, _omitEnumNames ? '' : 'H264_MAIN'); + static const VideoCodec H264_HIGH = + VideoCodec._(3, _omitEnumNames ? '' : 'H264_HIGH'); static const VideoCodec VP8 = VideoCodec._(4, _omitEnumNames ? '' : 'VP8'); static const $core.List values = [ @@ -48,23 +56,29 @@ class VideoCodec extends $pb.ProtobufEnum { VP8, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static VideoCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static VideoCodec? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoCodec._(super.value, super.name); } class ImageCodec extends $pb.ProtobufEnum { - static const ImageCodec IC_DEFAULT = ImageCodec._(0, _omitEnumNames ? '' : 'IC_DEFAULT'); - static const ImageCodec IC_JPEG = ImageCodec._(1, _omitEnumNames ? '' : 'IC_JPEG'); + static const ImageCodec IC_DEFAULT = + ImageCodec._(0, _omitEnumNames ? '' : 'IC_DEFAULT'); + static const ImageCodec IC_JPEG = + ImageCodec._(1, _omitEnumNames ? '' : 'IC_JPEG'); static const $core.List values = [ IC_DEFAULT, IC_JPEG, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static ImageCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static ImageCodec? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ImageCodec._(super.value, super.name); } @@ -73,13 +87,16 @@ class ImageCodec extends $pb.ProtobufEnum { class BackupCodecPolicy extends $pb.ProtobufEnum { /// default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec, /// the sfu will try to regress codec if possible but not assured. - static const BackupCodecPolicy PREFER_REGRESSION = BackupCodecPolicy._(0, _omitEnumNames ? '' : 'PREFER_REGRESSION'); + static const BackupCodecPolicy PREFER_REGRESSION = + BackupCodecPolicy._(0, _omitEnumNames ? '' : 'PREFER_REGRESSION'); /// encoding/send the primary and backup codec simultaneously - static const BackupCodecPolicy SIMULCAST = BackupCodecPolicy._(1, _omitEnumNames ? '' : 'SIMULCAST'); + static const BackupCodecPolicy SIMULCAST = + BackupCodecPolicy._(1, _omitEnumNames ? '' : 'SIMULCAST'); /// force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power - static const BackupCodecPolicy REGRESSION = BackupCodecPolicy._(2, _omitEnumNames ? '' : 'REGRESSION'); + static const BackupCodecPolicy REGRESSION = + BackupCodecPolicy._(2, _omitEnumNames ? '' : 'REGRESSION'); static const $core.List values = [ PREFER_REGRESSION, @@ -87,8 +104,10 @@ class BackupCodecPolicy extends $pb.ProtobufEnum { REGRESSION, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static BackupCodecPolicy? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static BackupCodecPolicy? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const BackupCodecPolicy._(super.value, super.name); } @@ -104,18 +123,25 @@ class TrackType extends $pb.ProtobufEnum { DATA, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static TrackType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static TrackType? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const TrackType._(super.value, super.name); } class TrackSource extends $pb.ProtobufEnum { - static const TrackSource UNKNOWN = TrackSource._(0, _omitEnumNames ? '' : 'UNKNOWN'); - static const TrackSource CAMERA = TrackSource._(1, _omitEnumNames ? '' : 'CAMERA'); - static const TrackSource MICROPHONE = TrackSource._(2, _omitEnumNames ? '' : 'MICROPHONE'); - static const TrackSource SCREEN_SHARE = TrackSource._(3, _omitEnumNames ? '' : 'SCREEN_SHARE'); - static const TrackSource SCREEN_SHARE_AUDIO = TrackSource._(4, _omitEnumNames ? '' : 'SCREEN_SHARE_AUDIO'); + static const TrackSource UNKNOWN = + TrackSource._(0, _omitEnumNames ? '' : 'UNKNOWN'); + static const TrackSource CAMERA = + TrackSource._(1, _omitEnumNames ? '' : 'CAMERA'); + static const TrackSource MICROPHONE = + TrackSource._(2, _omitEnumNames ? '' : 'MICROPHONE'); + static const TrackSource SCREEN_SHARE = + TrackSource._(3, _omitEnumNames ? '' : 'SCREEN_SHARE'); + static const TrackSource SCREEN_SHARE_AUDIO = + TrackSource._(4, _omitEnumNames ? '' : 'SCREEN_SHARE_AUDIO'); static const $core.List values = [ UNKNOWN, @@ -125,17 +151,23 @@ class TrackSource extends $pb.ProtobufEnum { SCREEN_SHARE_AUDIO, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static TrackSource? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static TrackSource? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const TrackSource._(super.value, super.name); } class VideoQuality extends $pb.ProtobufEnum { - static const VideoQuality LOW = VideoQuality._(0, _omitEnumNames ? '' : 'LOW'); - static const VideoQuality MEDIUM = VideoQuality._(1, _omitEnumNames ? '' : 'MEDIUM'); - static const VideoQuality HIGH = VideoQuality._(2, _omitEnumNames ? '' : 'HIGH'); - static const VideoQuality OFF = VideoQuality._(3, _omitEnumNames ? '' : 'OFF'); + static const VideoQuality LOW = + VideoQuality._(0, _omitEnumNames ? '' : 'LOW'); + static const VideoQuality MEDIUM = + VideoQuality._(1, _omitEnumNames ? '' : 'MEDIUM'); + static const VideoQuality HIGH = + VideoQuality._(2, _omitEnumNames ? '' : 'HIGH'); + static const VideoQuality OFF = + VideoQuality._(3, _omitEnumNames ? '' : 'OFF'); static const $core.List values = [ LOW, @@ -144,17 +176,23 @@ class VideoQuality extends $pb.ProtobufEnum { OFF, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static VideoQuality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static VideoQuality? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoQuality._(super.value, super.name); } class ConnectionQuality extends $pb.ProtobufEnum { - static const ConnectionQuality POOR = ConnectionQuality._(0, _omitEnumNames ? '' : 'POOR'); - static const ConnectionQuality GOOD = ConnectionQuality._(1, _omitEnumNames ? '' : 'GOOD'); - static const ConnectionQuality EXCELLENT = ConnectionQuality._(2, _omitEnumNames ? '' : 'EXCELLENT'); - static const ConnectionQuality LOST = ConnectionQuality._(3, _omitEnumNames ? '' : 'LOST'); + static const ConnectionQuality POOR = + ConnectionQuality._(0, _omitEnumNames ? '' : 'POOR'); + static const ConnectionQuality GOOD = + ConnectionQuality._(1, _omitEnumNames ? '' : 'GOOD'); + static const ConnectionQuality EXCELLENT = + ConnectionQuality._(2, _omitEnumNames ? '' : 'EXCELLENT'); + static const ConnectionQuality LOST = + ConnectionQuality._(3, _omitEnumNames ? '' : 'LOST'); static const $core.List values = [ POOR, @@ -163,16 +201,21 @@ class ConnectionQuality extends $pb.ProtobufEnum { LOST, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static ConnectionQuality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static ConnectionQuality? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ConnectionQuality._(super.value, super.name); } class ClientConfigSetting extends $pb.ProtobufEnum { - static const ClientConfigSetting UNSET = ClientConfigSetting._(0, _omitEnumNames ? '' : 'UNSET'); - static const ClientConfigSetting DISABLED = ClientConfigSetting._(1, _omitEnumNames ? '' : 'DISABLED'); - static const ClientConfigSetting ENABLED = ClientConfigSetting._(2, _omitEnumNames ? '' : 'ENABLED'); + static const ClientConfigSetting UNSET = + ClientConfigSetting._(0, _omitEnumNames ? '' : 'UNSET'); + static const ClientConfigSetting DISABLED = + ClientConfigSetting._(1, _omitEnumNames ? '' : 'DISABLED'); + static const ClientConfigSetting ENABLED = + ClientConfigSetting._(2, _omitEnumNames ? '' : 'ENABLED'); static const $core.List values = [ UNSET, @@ -180,7 +223,8 @@ class ClientConfigSetting extends $pb.ProtobufEnum { ENABLED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static ClientConfigSetting? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -188,53 +232,68 @@ class ClientConfigSetting extends $pb.ProtobufEnum { } class DisconnectReason extends $pb.ProtobufEnum { - static const DisconnectReason UNKNOWN_REASON = DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); + static const DisconnectReason UNKNOWN_REASON = + DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); /// the client initiated the disconnect - static const DisconnectReason CLIENT_INITIATED = DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); + static const DisconnectReason CLIENT_INITIATED = + DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); /// another participant with the same identity has joined the room - static const DisconnectReason DUPLICATE_IDENTITY = DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); + static const DisconnectReason DUPLICATE_IDENTITY = + DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); /// the server instance is shutting down - static const DisconnectReason SERVER_SHUTDOWN = DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); + static const DisconnectReason SERVER_SHUTDOWN = + DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); /// RoomService.RemoveParticipant was called static const DisconnectReason PARTICIPANT_REMOVED = DisconnectReason._(4, _omitEnumNames ? '' : 'PARTICIPANT_REMOVED'); /// RoomService.DeleteRoom was called - static const DisconnectReason ROOM_DELETED = DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); + static const DisconnectReason ROOM_DELETED = + DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); /// the client is attempting to resume a session, but server is not aware of it - static const DisconnectReason STATE_MISMATCH = DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); + static const DisconnectReason STATE_MISMATCH = + DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); /// client was unable to connect fully - static const DisconnectReason JOIN_FAILURE = DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); + static const DisconnectReason JOIN_FAILURE = + DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); /// Cloud-only, the server requested Participant to migrate the connection elsewhere - static const DisconnectReason MIGRATION = DisconnectReason._(8, _omitEnumNames ? '' : 'MIGRATION'); + static const DisconnectReason MIGRATION = + DisconnectReason._(8, _omitEnumNames ? '' : 'MIGRATION'); /// the signal websocket was closed unexpectedly - static const DisconnectReason SIGNAL_CLOSE = DisconnectReason._(9, _omitEnumNames ? '' : 'SIGNAL_CLOSE'); + static const DisconnectReason SIGNAL_CLOSE = + DisconnectReason._(9, _omitEnumNames ? '' : 'SIGNAL_CLOSE'); /// the room was closed, due to all Standard and Ingress participants having left - static const DisconnectReason ROOM_CLOSED = DisconnectReason._(10, _omitEnumNames ? '' : 'ROOM_CLOSED'); + static const DisconnectReason ROOM_CLOSED = + DisconnectReason._(10, _omitEnumNames ? '' : 'ROOM_CLOSED'); /// SIP callee did not respond in time - static const DisconnectReason USER_UNAVAILABLE = DisconnectReason._(11, _omitEnumNames ? '' : 'USER_UNAVAILABLE'); + static const DisconnectReason USER_UNAVAILABLE = + DisconnectReason._(11, _omitEnumNames ? '' : 'USER_UNAVAILABLE'); /// SIP callee rejected the call (busy) - static const DisconnectReason USER_REJECTED = DisconnectReason._(12, _omitEnumNames ? '' : 'USER_REJECTED'); + static const DisconnectReason USER_REJECTED = + DisconnectReason._(12, _omitEnumNames ? '' : 'USER_REJECTED'); /// SIP protocol failure or unexpected response - static const DisconnectReason SIP_TRUNK_FAILURE = DisconnectReason._(13, _omitEnumNames ? '' : 'SIP_TRUNK_FAILURE'); + static const DisconnectReason SIP_TRUNK_FAILURE = + DisconnectReason._(13, _omitEnumNames ? '' : 'SIP_TRUNK_FAILURE'); /// server timed out a participant session - static const DisconnectReason CONNECTION_TIMEOUT = DisconnectReason._(14, _omitEnumNames ? '' : 'CONNECTION_TIMEOUT'); + static const DisconnectReason CONNECTION_TIMEOUT = + DisconnectReason._(14, _omitEnumNames ? '' : 'CONNECTION_TIMEOUT'); /// media stream failure or media timeout - static const DisconnectReason MEDIA_FAILURE = DisconnectReason._(15, _omitEnumNames ? '' : 'MEDIA_FAILURE'); + static const DisconnectReason MEDIA_FAILURE = + DisconnectReason._(15, _omitEnumNames ? '' : 'MEDIA_FAILURE'); static const $core.List values = [ UNKNOWN_REASON, @@ -255,20 +314,25 @@ class DisconnectReason extends $pb.ProtobufEnum { MEDIA_FAILURE, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 15); - static DisconnectReason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 15); + static DisconnectReason? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const DisconnectReason._(super.value, super.name); } class ReconnectReason extends $pb.ProtobufEnum { - static const ReconnectReason RR_UNKNOWN = ReconnectReason._(0, _omitEnumNames ? '' : 'RR_UNKNOWN'); + static const ReconnectReason RR_UNKNOWN = + ReconnectReason._(0, _omitEnumNames ? '' : 'RR_UNKNOWN'); static const ReconnectReason RR_SIGNAL_DISCONNECTED = ReconnectReason._(1, _omitEnumNames ? '' : 'RR_SIGNAL_DISCONNECTED'); - static const ReconnectReason RR_PUBLISHER_FAILED = ReconnectReason._(2, _omitEnumNames ? '' : 'RR_PUBLISHER_FAILED'); + static const ReconnectReason RR_PUBLISHER_FAILED = + ReconnectReason._(2, _omitEnumNames ? '' : 'RR_PUBLISHER_FAILED'); static const ReconnectReason RR_SUBSCRIBER_FAILED = ReconnectReason._(3, _omitEnumNames ? '' : 'RR_SUBSCRIBER_FAILED'); - static const ReconnectReason RR_SWITCH_CANDIDATE = ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); + static const ReconnectReason RR_SWITCH_CANDIDATE = + ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); static const $core.List values = [ RR_UNKNOWN, @@ -278,17 +342,21 @@ class ReconnectReason extends $pb.ProtobufEnum { RR_SWITCH_CANDIDATE, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static ReconnectReason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); + static ReconnectReason? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ReconnectReason._(super.value, super.name); } class SubscriptionError extends $pb.ProtobufEnum { - static const SubscriptionError SE_UNKNOWN = SubscriptionError._(0, _omitEnumNames ? '' : 'SE_UNKNOWN'); + static const SubscriptionError SE_UNKNOWN = + SubscriptionError._(0, _omitEnumNames ? '' : 'SE_UNKNOWN'); static const SubscriptionError SE_CODEC_UNSUPPORTED = SubscriptionError._(1, _omitEnumNames ? '' : 'SE_CODEC_UNSUPPORTED'); - static const SubscriptionError SE_TRACK_NOTFOUND = SubscriptionError._(2, _omitEnumNames ? '' : 'SE_TRACK_NOTFOUND'); + static const SubscriptionError SE_TRACK_NOTFOUND = + SubscriptionError._(2, _omitEnumNames ? '' : 'SE_TRACK_NOTFOUND'); static const $core.List values = [ SE_UNKNOWN, @@ -296,15 +364,19 @@ class SubscriptionError extends $pb.ProtobufEnum { SE_TRACK_NOTFOUND, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static SubscriptionError? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static SubscriptionError? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const SubscriptionError._(super.value, super.name); } class AudioTrackFeature extends $pb.ProtobufEnum { - static const AudioTrackFeature TF_STEREO = AudioTrackFeature._(0, _omitEnumNames ? '' : 'TF_STEREO'); - static const AudioTrackFeature TF_NO_DTX = AudioTrackFeature._(1, _omitEnumNames ? '' : 'TF_NO_DTX'); + static const AudioTrackFeature TF_STEREO = + AudioTrackFeature._(0, _omitEnumNames ? '' : 'TF_STEREO'); + static const AudioTrackFeature TF_NO_DTX = + AudioTrackFeature._(1, _omitEnumNames ? '' : 'TF_NO_DTX'); static const AudioTrackFeature TF_AUTO_GAIN_CONTROL = AudioTrackFeature._(2, _omitEnumNames ? '' : 'TF_AUTO_GAIN_CONTROL'); static const AudioTrackFeature TF_ECHO_CANCELLATION = @@ -312,7 +384,8 @@ class AudioTrackFeature extends $pb.ProtobufEnum { static const AudioTrackFeature TF_NOISE_SUPPRESSION = AudioTrackFeature._(4, _omitEnumNames ? '' : 'TF_NOISE_SUPPRESSION'); static const AudioTrackFeature TF_ENHANCED_NOISE_CANCELLATION = - AudioTrackFeature._(5, _omitEnumNames ? '' : 'TF_ENHANCED_NOISE_CANCELLATION'); + AudioTrackFeature._( + 5, _omitEnumNames ? '' : 'TF_ENHANCED_NOISE_CANCELLATION'); static const AudioTrackFeature TF_PRECONNECT_BUFFER = AudioTrackFeature._(6, _omitEnumNames ? '' : 'TF_PRECONNECT_BUFFER'); @@ -326,33 +399,41 @@ class AudioTrackFeature extends $pb.ProtobufEnum { TF_PRECONNECT_BUFFER, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); - static AudioTrackFeature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 6); + static AudioTrackFeature? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const AudioTrackFeature._(super.value, super.name); } class ParticipantInfo_State extends $pb.ProtobufEnum { /// websocket' connected, but not offered yet - static const ParticipantInfo_State JOINING = ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); + static const ParticipantInfo_State JOINING = + ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); /// server received client offer - static const ParticipantInfo_State JOINED = ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); + static const ParticipantInfo_State JOINED = + ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); /// ICE connectivity established - static const ParticipantInfo_State ACTIVE = ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); + static const ParticipantInfo_State ACTIVE = + ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); /// WS disconnected - static const ParticipantInfo_State DISCONNECTED = ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); + static const ParticipantInfo_State DISCONNECTED = + ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); - static const $core.List values = [ + static const $core.List values = + [ JOINING, JOINED, ACTIVE, DISCONNECTED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); static ParticipantInfo_State? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -361,19 +442,24 @@ class ParticipantInfo_State extends $pb.ProtobufEnum { class ParticipantInfo_Kind extends $pb.ProtobufEnum { /// standard participants, e.g. web clients - static const ParticipantInfo_Kind STANDARD = ParticipantInfo_Kind._(0, _omitEnumNames ? '' : 'STANDARD'); + static const ParticipantInfo_Kind STANDARD = + ParticipantInfo_Kind._(0, _omitEnumNames ? '' : 'STANDARD'); /// only ingests streams - static const ParticipantInfo_Kind INGRESS = ParticipantInfo_Kind._(1, _omitEnumNames ? '' : 'INGRESS'); + static const ParticipantInfo_Kind INGRESS = + ParticipantInfo_Kind._(1, _omitEnumNames ? '' : 'INGRESS'); /// only consumes streams - static const ParticipantInfo_Kind EGRESS = ParticipantInfo_Kind._(2, _omitEnumNames ? '' : 'EGRESS'); + static const ParticipantInfo_Kind EGRESS = + ParticipantInfo_Kind._(2, _omitEnumNames ? '' : 'EGRESS'); /// SIP participants - static const ParticipantInfo_Kind SIP = ParticipantInfo_Kind._(3, _omitEnumNames ? '' : 'SIP'); + static const ParticipantInfo_Kind SIP = + ParticipantInfo_Kind._(3, _omitEnumNames ? '' : 'SIP'); /// LiveKit agents - static const ParticipantInfo_Kind AGENT = ParticipantInfo_Kind._(4, _omitEnumNames ? '' : 'AGENT'); + static const ParticipantInfo_Kind AGENT = + ParticipantInfo_Kind._(4, _omitEnumNames ? '' : 'AGENT'); static const $core.List values = [ STANDARD, @@ -383,7 +469,8 @@ class ParticipantInfo_Kind extends $pb.ProtobufEnum { AGENT, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 4); static ParticipantInfo_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -396,12 +483,14 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { static const ParticipantInfo_KindDetail FORWARDED = ParticipantInfo_KindDetail._(1, _omitEnumNames ? '' : 'FORWARDED'); - static const $core.List values = [ + static const $core.List values = + [ CLOUD_AGENT, FORWARDED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); static ParticipantInfo_KindDetail? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -409,9 +498,12 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { } class Encryption_Type extends $pb.ProtobufEnum { - static const Encryption_Type NONE = Encryption_Type._(0, _omitEnumNames ? '' : 'NONE'); - static const Encryption_Type GCM = Encryption_Type._(1, _omitEnumNames ? '' : 'GCM'); - static const Encryption_Type CUSTOM = Encryption_Type._(2, _omitEnumNames ? '' : 'CUSTOM'); + static const Encryption_Type NONE = + Encryption_Type._(0, _omitEnumNames ? '' : 'NONE'); + static const Encryption_Type GCM = + Encryption_Type._(1, _omitEnumNames ? '' : 'GCM'); + static const Encryption_Type CUSTOM = + Encryption_Type._(2, _omitEnumNames ? '' : 'CUSTOM'); static const $core.List values = [ NONE, @@ -419,20 +511,28 @@ class Encryption_Type extends $pb.ProtobufEnum { CUSTOM, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static Encryption_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static Encryption_Type? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const Encryption_Type._(super.value, super.name); } class VideoLayer_Mode extends $pb.ProtobufEnum { - static const VideoLayer_Mode MODE_UNUSED = VideoLayer_Mode._(0, _omitEnumNames ? '' : 'MODE_UNUSED'); - static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM = - VideoLayer_Mode._(1, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM'); + static const VideoLayer_Mode MODE_UNUSED = + VideoLayer_Mode._(0, _omitEnumNames ? '' : 'MODE_UNUSED'); + static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM = VideoLayer_Mode._( + 1, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM'); static const VideoLayer_Mode MULTIPLE_SPATIAL_LAYERS_PER_STREAM = - VideoLayer_Mode._(2, _omitEnumNames ? '' : 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM'); + VideoLayer_Mode._( + 2, _omitEnumNames ? '' : 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM'); static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = - VideoLayer_Mode._(3, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR'); + VideoLayer_Mode._( + 3, + _omitEnumNames + ? '' + : 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR'); static const $core.List values = [ MODE_UNUSED, @@ -441,58 +541,83 @@ class VideoLayer_Mode extends $pb.ProtobufEnum { ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static VideoLayer_Mode? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); + static VideoLayer_Mode? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoLayer_Mode._(super.value, super.name); } class DataPacket_Kind extends $pb.ProtobufEnum { - static const DataPacket_Kind RELIABLE = DataPacket_Kind._(0, _omitEnumNames ? '' : 'RELIABLE'); - static const DataPacket_Kind LOSSY = DataPacket_Kind._(1, _omitEnumNames ? '' : 'LOSSY'); + static const DataPacket_Kind RELIABLE = + DataPacket_Kind._(0, _omitEnumNames ? '' : 'RELIABLE'); + static const DataPacket_Kind LOSSY = + DataPacket_Kind._(1, _omitEnumNames ? '' : 'LOSSY'); static const $core.List values = [ RELIABLE, LOSSY, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static DataPacket_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static DataPacket_Kind? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const DataPacket_Kind._(super.value, super.name); } class ServerInfo_Edition extends $pb.ProtobufEnum { - static const ServerInfo_Edition Standard = ServerInfo_Edition._(0, _omitEnumNames ? '' : 'Standard'); - static const ServerInfo_Edition Cloud = ServerInfo_Edition._(1, _omitEnumNames ? '' : 'Cloud'); + static const ServerInfo_Edition Standard = + ServerInfo_Edition._(0, _omitEnumNames ? '' : 'Standard'); + static const ServerInfo_Edition Cloud = + ServerInfo_Edition._(1, _omitEnumNames ? '' : 'Cloud'); static const $core.List values = [ Standard, Cloud, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static ServerInfo_Edition? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static ServerInfo_Edition? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ServerInfo_Edition._(super.value, super.name); } class ClientInfo_SDK extends $pb.ProtobufEnum { - static const ClientInfo_SDK UNKNOWN = ClientInfo_SDK._(0, _omitEnumNames ? '' : 'UNKNOWN'); - static const ClientInfo_SDK JS = ClientInfo_SDK._(1, _omitEnumNames ? '' : 'JS'); - static const ClientInfo_SDK SWIFT = ClientInfo_SDK._(2, _omitEnumNames ? '' : 'SWIFT'); - static const ClientInfo_SDK ANDROID = ClientInfo_SDK._(3, _omitEnumNames ? '' : 'ANDROID'); - static const ClientInfo_SDK FLUTTER = ClientInfo_SDK._(4, _omitEnumNames ? '' : 'FLUTTER'); - static const ClientInfo_SDK GO = ClientInfo_SDK._(5, _omitEnumNames ? '' : 'GO'); - static const ClientInfo_SDK UNITY = ClientInfo_SDK._(6, _omitEnumNames ? '' : 'UNITY'); - static const ClientInfo_SDK REACT_NATIVE = ClientInfo_SDK._(7, _omitEnumNames ? '' : 'REACT_NATIVE'); - static const ClientInfo_SDK RUST = ClientInfo_SDK._(8, _omitEnumNames ? '' : 'RUST'); - static const ClientInfo_SDK PYTHON = ClientInfo_SDK._(9, _omitEnumNames ? '' : 'PYTHON'); - static const ClientInfo_SDK CPP = ClientInfo_SDK._(10, _omitEnumNames ? '' : 'CPP'); - static const ClientInfo_SDK UNITY_WEB = ClientInfo_SDK._(11, _omitEnumNames ? '' : 'UNITY_WEB'); - static const ClientInfo_SDK NODE = ClientInfo_SDK._(12, _omitEnumNames ? '' : 'NODE'); - static const ClientInfo_SDK UNREAL = ClientInfo_SDK._(13, _omitEnumNames ? '' : 'UNREAL'); - static const ClientInfo_SDK ESP32 = ClientInfo_SDK._(14, _omitEnumNames ? '' : 'ESP32'); + static const ClientInfo_SDK UNKNOWN = + ClientInfo_SDK._(0, _omitEnumNames ? '' : 'UNKNOWN'); + static const ClientInfo_SDK JS = + ClientInfo_SDK._(1, _omitEnumNames ? '' : 'JS'); + static const ClientInfo_SDK SWIFT = + ClientInfo_SDK._(2, _omitEnumNames ? '' : 'SWIFT'); + static const ClientInfo_SDK ANDROID = + ClientInfo_SDK._(3, _omitEnumNames ? '' : 'ANDROID'); + static const ClientInfo_SDK FLUTTER = + ClientInfo_SDK._(4, _omitEnumNames ? '' : 'FLUTTER'); + static const ClientInfo_SDK GO = + ClientInfo_SDK._(5, _omitEnumNames ? '' : 'GO'); + static const ClientInfo_SDK UNITY = + ClientInfo_SDK._(6, _omitEnumNames ? '' : 'UNITY'); + static const ClientInfo_SDK REACT_NATIVE = + ClientInfo_SDK._(7, _omitEnumNames ? '' : 'REACT_NATIVE'); + static const ClientInfo_SDK RUST = + ClientInfo_SDK._(8, _omitEnumNames ? '' : 'RUST'); + static const ClientInfo_SDK PYTHON = + ClientInfo_SDK._(9, _omitEnumNames ? '' : 'PYTHON'); + static const ClientInfo_SDK CPP = + ClientInfo_SDK._(10, _omitEnumNames ? '' : 'CPP'); + static const ClientInfo_SDK UNITY_WEB = + ClientInfo_SDK._(11, _omitEnumNames ? '' : 'UNITY_WEB'); + static const ClientInfo_SDK NODE = + ClientInfo_SDK._(12, _omitEnumNames ? '' : 'NODE'); + static const ClientInfo_SDK UNREAL = + ClientInfo_SDK._(13, _omitEnumNames ? '' : 'UNREAL'); + static const ClientInfo_SDK ESP32 = + ClientInfo_SDK._(14, _omitEnumNames ? '' : 'ESP32'); static const $core.List values = [ UNKNOWN, @@ -512,31 +637,40 @@ class ClientInfo_SDK extends $pb.ProtobufEnum { ESP32, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 14); - static ClientInfo_SDK? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 14); + static ClientInfo_SDK? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const ClientInfo_SDK._(super.value, super.name); } /// enum for operation types (specific to TextHeader) class DataStream_OperationType extends $pb.ProtobufEnum { - static const DataStream_OperationType CREATE = DataStream_OperationType._(0, _omitEnumNames ? '' : 'CREATE'); - static const DataStream_OperationType UPDATE = DataStream_OperationType._(1, _omitEnumNames ? '' : 'UPDATE'); - static const DataStream_OperationType DELETE = DataStream_OperationType._(2, _omitEnumNames ? '' : 'DELETE'); - static const DataStream_OperationType REACTION = DataStream_OperationType._(3, _omitEnumNames ? '' : 'REACTION'); - - static const $core.List values = [ + static const DataStream_OperationType CREATE = + DataStream_OperationType._(0, _omitEnumNames ? '' : 'CREATE'); + static const DataStream_OperationType UPDATE = + DataStream_OperationType._(1, _omitEnumNames ? '' : 'UPDATE'); + static const DataStream_OperationType DELETE = + DataStream_OperationType._(2, _omitEnumNames ? '' : 'DELETE'); + static const DataStream_OperationType REACTION = + DataStream_OperationType._(3, _omitEnumNames ? '' : 'REACTION'); + + static const $core.List values = + [ CREATE, UPDATE, DELETE, REACTION, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 3); static DataStream_OperationType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const DataStream_OperationType._(super.value, super.name); } -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_models.pbjson.dart b/lib/src/proto/livekit_models.pbjson.dart index 0b7bd06ea..4f663606a 100644 --- a/lib/src/proto/livekit_models.pbjson.dart +++ b/lib/src/proto/livekit_models.pbjson.dart @@ -26,9 +26,9 @@ const AudioCodec$json = { }; /// Descriptor for `AudioCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioCodecDescriptor = - $convert.base64Decode('CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' - 'AzEAM='); +final $typed_data.Uint8List audioCodecDescriptor = $convert.base64Decode( + 'CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' + 'AzEAM='); @$core.Deprecated('Use videoCodecDescriptor instead') const VideoCodec$json = { @@ -43,9 +43,9 @@ const VideoCodec$json = { }; /// Descriptor for `VideoCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List videoCodecDescriptor = - $convert.base64Decode('CgpWaWRlb0NvZGVjEg4KCkRFRkFVTFRfVkMQABIRCg1IMjY0X0JBU0VMSU5FEAESDQoJSDI2NF' - '9NQUlOEAISDQoJSDI2NF9ISUdIEAMSBwoDVlA4EAQ='); +final $typed_data.Uint8List videoCodecDescriptor = $convert.base64Decode( + 'CgpWaWRlb0NvZGVjEg4KCkRFRkFVTFRfVkMQABIRCg1IMjY0X0JBU0VMSU5FEAESDQoJSDI2NF' + '9NQUlOEAISDQoJSDI2NF9ISUdIEAMSBwoDVlA4EAQ='); @$core.Deprecated('Use imageCodecDescriptor instead') const ImageCodec$json = { @@ -57,8 +57,8 @@ const ImageCodec$json = { }; /// Descriptor for `ImageCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List imageCodecDescriptor = - $convert.base64Decode('CgpJbWFnZUNvZGVjEg4KCklDX0RFRkFVTFQQABILCgdJQ19KUEVHEAE='); +final $typed_data.Uint8List imageCodecDescriptor = $convert + .base64Decode('CgpJbWFnZUNvZGVjEg4KCklDX0RFRkFVTFQQABILCgdJQ19KUEVHEAE='); @$core.Deprecated('Use backupCodecPolicyDescriptor instead') const BackupCodecPolicy$json = { @@ -71,9 +71,9 @@ const BackupCodecPolicy$json = { }; /// Descriptor for `BackupCodecPolicy`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List backupCodecPolicyDescriptor = - $convert.base64Decode('ChFCYWNrdXBDb2RlY1BvbGljeRIVChFQUkVGRVJfUkVHUkVTU0lPThAAEg0KCVNJTVVMQ0FTVB' - 'ABEg4KClJFR1JFU1NJT04QAg=='); +final $typed_data.Uint8List backupCodecPolicyDescriptor = $convert.base64Decode( + 'ChFCYWNrdXBDb2RlY1BvbGljeRIVChFQUkVGRVJfUkVHUkVTU0lPThAAEg0KCVNJTVVMQ0FTVB' + 'ABEg4KClJFR1JFU1NJT04QAg=='); @$core.Deprecated('Use trackTypeDescriptor instead') const TrackType$json = { @@ -86,8 +86,8 @@ const TrackType$json = { }; /// Descriptor for `TrackType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trackTypeDescriptor = - $convert.base64Decode('CglUcmFja1R5cGUSCQoFQVVESU8QABIJCgVWSURFTxABEggKBERBVEEQAg=='); +final $typed_data.Uint8List trackTypeDescriptor = $convert.base64Decode( + 'CglUcmFja1R5cGUSCQoFQVVESU8QABIJCgVWSURFTxABEggKBERBVEEQAg=='); @$core.Deprecated('Use trackSourceDescriptor instead') const TrackSource$json = { @@ -102,9 +102,9 @@ const TrackSource$json = { }; /// Descriptor for `TrackSource`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trackSourceDescriptor = - $convert.base64Decode('CgtUcmFja1NvdXJjZRILCgdVTktOT1dOEAASCgoGQ0FNRVJBEAESDgoKTUlDUk9QSE9ORRACEh' - 'AKDFNDUkVFTl9TSEFSRRADEhYKElNDUkVFTl9TSEFSRV9BVURJTxAE'); +final $typed_data.Uint8List trackSourceDescriptor = $convert.base64Decode( + 'CgtUcmFja1NvdXJjZRILCgdVTktOT1dOEAASCgoGQ0FNRVJBEAESDgoKTUlDUk9QSE9ORRACEh' + 'AKDFNDUkVFTl9TSEFSRRADEhYKElNDUkVFTl9TSEFSRV9BVURJTxAE'); @$core.Deprecated('Use videoQualityDescriptor instead') const VideoQuality$json = { @@ -118,8 +118,8 @@ const VideoQuality$json = { }; /// Descriptor for `VideoQuality`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List videoQualityDescriptor = - $convert.base64Decode('CgxWaWRlb1F1YWxpdHkSBwoDTE9XEAASCgoGTUVESVVNEAESCAoESElHSBACEgcKA09GRhAD'); +final $typed_data.Uint8List videoQualityDescriptor = $convert.base64Decode( + 'CgxWaWRlb1F1YWxpdHkSBwoDTE9XEAASCgoGTUVESVVNEAESCAoESElHSBACEgcKA09GRhAD'); @$core.Deprecated('Use connectionQualityDescriptor instead') const ConnectionQuality$json = { @@ -133,9 +133,9 @@ const ConnectionQuality$json = { }; /// Descriptor for `ConnectionQuality`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List connectionQualityDescriptor = - $convert.base64Decode('ChFDb25uZWN0aW9uUXVhbGl0eRIICgRQT09SEAASCAoER09PRBABEg0KCUVYQ0VMTEVOVBACEg' - 'gKBExPU1QQAw=='); +final $typed_data.Uint8List connectionQualityDescriptor = $convert.base64Decode( + 'ChFDb25uZWN0aW9uUXVhbGl0eRIICgRQT09SEAASCAoER09PRBABEg0KCUVYQ0VMTEVOVBACEg' + 'gKBExPU1QQAw=='); @$core.Deprecated('Use clientConfigSettingDescriptor instead') const ClientConfigSetting$json = { @@ -148,9 +148,9 @@ const ClientConfigSetting$json = { }; /// Descriptor for `ClientConfigSetting`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List clientConfigSettingDescriptor = - $convert.base64Decode('ChNDbGllbnRDb25maWdTZXR0aW5nEgkKBVVOU0VUEAASDAoIRElTQUJMRUQQARILCgdFTkFCTE' - 'VEEAI='); +final $typed_data.Uint8List clientConfigSettingDescriptor = $convert.base64Decode( + 'ChNDbGllbnRDb25maWdTZXR0aW5nEgkKBVVOU0VUEAASDAoIRElTQUJMRUQQARILCgdFTkFCTE' + 'VEEAI='); @$core.Deprecated('Use disconnectReasonDescriptor instead') const DisconnectReason$json = { @@ -176,14 +176,14 @@ const DisconnectReason$json = { }; /// Descriptor for `DisconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List disconnectReasonDescriptor = - $convert.base64Decode('ChBEaXNjb25uZWN0UmVhc29uEhIKDlVOS05PV05fUkVBU09OEAASFAoQQ0xJRU5UX0lOSVRJQV' - 'RFRBABEhYKEkRVUExJQ0FURV9JREVOVElUWRACEhMKD1NFUlZFUl9TSFVURE9XThADEhcKE1BB' - 'UlRJQ0lQQU5UX1JFTU9WRUQQBBIQCgxST09NX0RFTEVURUQQBRISCg5TVEFURV9NSVNNQVRDSB' - 'AGEhAKDEpPSU5fRkFJTFVSRRAHEg0KCU1JR1JBVElPThAIEhAKDFNJR05BTF9DTE9TRRAJEg8K' - 'C1JPT01fQ0xPU0VEEAoSFAoQVVNFUl9VTkFWQUlMQUJMRRALEhEKDVVTRVJfUkVKRUNURUQQDB' - 'IVChFTSVBfVFJVTktfRkFJTFVSRRANEhYKEkNPTk5FQ1RJT05fVElNRU9VVBAOEhEKDU1FRElB' - 'X0ZBSUxVUkUQDw=='); +final $typed_data.Uint8List disconnectReasonDescriptor = $convert.base64Decode( + 'ChBEaXNjb25uZWN0UmVhc29uEhIKDlVOS05PV05fUkVBU09OEAASFAoQQ0xJRU5UX0lOSVRJQV' + 'RFRBABEhYKEkRVUExJQ0FURV9JREVOVElUWRACEhMKD1NFUlZFUl9TSFVURE9XThADEhcKE1BB' + 'UlRJQ0lQQU5UX1JFTU9WRUQQBBIQCgxST09NX0RFTEVURUQQBRISCg5TVEFURV9NSVNNQVRDSB' + 'AGEhAKDEpPSU5fRkFJTFVSRRAHEg0KCU1JR1JBVElPThAIEhAKDFNJR05BTF9DTE9TRRAJEg8K' + 'C1JPT01fQ0xPU0VEEAoSFAoQVVNFUl9VTkFWQUlMQUJMRRALEhEKDVVTRVJfUkVKRUNURUQQDB' + 'IVChFTSVBfVFJVTktfRkFJTFVSRRANEhYKEkNPTk5FQ1RJT05fVElNRU9VVBAOEhEKDU1FRElB' + 'X0ZBSUxVUkUQDw=='); @$core.Deprecated('Use reconnectReasonDescriptor instead') const ReconnectReason$json = { @@ -198,10 +198,10 @@ const ReconnectReason$json = { }; /// Descriptor for `ReconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List reconnectReasonDescriptor = - $convert.base64Decode('Cg9SZWNvbm5lY3RSZWFzb24SDgoKUlJfVU5LTk9XThAAEhoKFlJSX1NJR05BTF9ESVNDT05ORU' - 'NURUQQARIXChNSUl9QVUJMSVNIRVJfRkFJTEVEEAISGAoUUlJfU1VCU0NSSUJFUl9GQUlMRUQQ' - 'AxIXChNSUl9TV0lUQ0hfQ0FORElEQVRFEAQ='); +final $typed_data.Uint8List reconnectReasonDescriptor = $convert.base64Decode( + 'Cg9SZWNvbm5lY3RSZWFzb24SDgoKUlJfVU5LTk9XThAAEhoKFlJSX1NJR05BTF9ESVNDT05ORU' + 'NURUQQARIXChNSUl9QVUJMSVNIRVJfRkFJTEVEEAISGAoUUlJfU1VCU0NSSUJFUl9GQUlMRUQQ' + 'AxIXChNSUl9TV0lUQ0hfQ0FORElEQVRFEAQ='); @$core.Deprecated('Use subscriptionErrorDescriptor instead') const SubscriptionError$json = { @@ -214,9 +214,9 @@ const SubscriptionError$json = { }; /// Descriptor for `SubscriptionError`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List subscriptionErrorDescriptor = - $convert.base64Decode('ChFTdWJzY3JpcHRpb25FcnJvchIOCgpTRV9VTktOT1dOEAASGAoUU0VfQ09ERUNfVU5TVVBQT1' - 'JURUQQARIVChFTRV9UUkFDS19OT1RGT1VORBAC'); +final $typed_data.Uint8List subscriptionErrorDescriptor = $convert.base64Decode( + 'ChFTdWJzY3JpcHRpb25FcnJvchIOCgpTRV9VTktOT1dOEAASGAoUU0VfQ09ERUNfVU5TVVBQT1' + 'JURUQQARIVChFTRV9UUkFDS19OT1RGT1VORBAC'); @$core.Deprecated('Use audioTrackFeatureDescriptor instead') const AudioTrackFeature$json = { @@ -233,11 +233,11 @@ const AudioTrackFeature$json = { }; /// Descriptor for `AudioTrackFeature`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioTrackFeatureDescriptor = - $convert.base64Decode('ChFBdWRpb1RyYWNrRmVhdHVyZRINCglURl9TVEVSRU8QABINCglURl9OT19EVFgQARIYChRURl' - '9BVVRPX0dBSU5fQ09OVFJPTBACEhgKFFRGX0VDSE9fQ0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9J' - 'U0VfU1VQUFJFU1NJT04QBBIiCh5URl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYCh' - 'RURl9QUkVDT05ORUNUX0JVRkZFUhAG'); +final $typed_data.Uint8List audioTrackFeatureDescriptor = $convert.base64Decode( + 'ChFBdWRpb1RyYWNrRmVhdHVyZRINCglURl9TVEVSRU8QABINCglURl9OT19EVFgQARIYChRURl' + '9BVVRPX0dBSU5fQ09OVFJPTBACEhgKFFRGX0VDSE9fQ0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9J' + 'U0VfU1VQUFJFU1NJT04QBBIiCh5URl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYCh' + 'RURl9QUkVDT05ORUNUX0JVRkZFUhAG'); @$core.Deprecated('Use paginationDescriptor instead') const Pagination$json = { @@ -249,9 +249,9 @@ const Pagination$json = { }; /// Descriptor for `Pagination`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List paginationDescriptor = - $convert.base64Decode('CgpQYWdpbmF0aW9uEhkKCGFmdGVyX2lkGAEgASgJUgdhZnRlcklkEhQKBWxpbWl0GAIgASgFUg' - 'VsaW1pdA=='); +final $typed_data.Uint8List paginationDescriptor = $convert.base64Decode( + 'CgpQYWdpbmF0aW9uEhkKCGFmdGVyX2lkGAEgASgJUgdhZnRlcklkEhQKBWxpbWl0GAIgASgFUg' + 'VsaW1pdA=='); @$core.Deprecated('Use tokenPaginationDescriptor instead') const TokenPagination$json = { @@ -262,8 +262,8 @@ const TokenPagination$json = { }; /// Descriptor for `TokenPagination`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tokenPaginationDescriptor = - $convert.base64Decode('Cg9Ub2tlblBhZ2luYXRpb24SFAoFdG9rZW4YASABKAlSBXRva2Vu'); +final $typed_data.Uint8List tokenPaginationDescriptor = $convert + .base64Decode('Cg9Ub2tlblBhZ2luYXRpb24SFAoFdG9rZW4YASABKAlSBXRva2Vu'); @$core.Deprecated('Use listUpdateDescriptor instead') const ListUpdate$json = { @@ -277,9 +277,9 @@ const ListUpdate$json = { }; /// Descriptor for `ListUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listUpdateDescriptor = - $convert.base64Decode('CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' - '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); +final $typed_data.Uint8List listUpdateDescriptor = $convert.base64Decode( + 'CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' + '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); @$core.Deprecated('Use roomDescriptor instead') const Room$json = { @@ -288,32 +288,52 @@ const Room$json = { {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'empty_timeout', '3': 3, '4': 1, '5': 13, '10': 'emptyTimeout'}, - {'1': 'departure_timeout', '3': 14, '4': 1, '5': 13, '10': 'departureTimeout'}, + { + '1': 'departure_timeout', + '3': 14, + '4': 1, + '5': 13, + '10': 'departureTimeout' + }, {'1': 'max_participants', '3': 4, '4': 1, '5': 13, '10': 'maxParticipants'}, {'1': 'creation_time', '3': 5, '4': 1, '5': 3, '10': 'creationTime'}, {'1': 'creation_time_ms', '3': 15, '4': 1, '5': 3, '10': 'creationTimeMs'}, {'1': 'turn_password', '3': 6, '4': 1, '5': 9, '10': 'turnPassword'}, - {'1': 'enabled_codecs', '3': 7, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledCodecs'}, + { + '1': 'enabled_codecs', + '3': 7, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'enabledCodecs' + }, {'1': 'metadata', '3': 8, '4': 1, '5': 9, '10': 'metadata'}, {'1': 'num_participants', '3': 9, '4': 1, '5': 13, '10': 'numParticipants'}, {'1': 'num_publishers', '3': 11, '4': 1, '5': 13, '10': 'numPublishers'}, {'1': 'active_recording', '3': 10, '4': 1, '5': 8, '10': 'activeRecording'}, - {'1': 'version', '3': 13, '4': 1, '5': 11, '6': '.livekit.TimedVersion', '10': 'version'}, + { + '1': 'version', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.TimedVersion', + '10': 'version' + }, ], }; /// Descriptor for `Room`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomDescriptor = - $convert.base64Decode('CgRSb29tEhAKA3NpZBgBIAEoCVIDc2lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIwoNZW1wdHlfdG' - 'ltZW91dBgDIAEoDVIMZW1wdHlUaW1lb3V0EisKEWRlcGFydHVyZV90aW1lb3V0GA4gASgNUhBk' - 'ZXBhcnR1cmVUaW1lb3V0EikKEG1heF9wYXJ0aWNpcGFudHMYBCABKA1SD21heFBhcnRpY2lwYW' - '50cxIjCg1jcmVhdGlvbl90aW1lGAUgASgDUgxjcmVhdGlvblRpbWUSKAoQY3JlYXRpb25fdGlt' - 'ZV9tcxgPIAEoA1IOY3JlYXRpb25UaW1lTXMSIwoNdHVybl9wYXNzd29yZBgGIAEoCVIMdHVybl' - 'Bhc3N3b3JkEjUKDmVuYWJsZWRfY29kZWNzGAcgAygLMg4ubGl2ZWtpdC5Db2RlY1INZW5hYmxl' - 'ZENvZGVjcxIaCghtZXRhZGF0YRgIIAEoCVIIbWV0YWRhdGESKQoQbnVtX3BhcnRpY2lwYW50cx' - 'gJIAEoDVIPbnVtUGFydGljaXBhbnRzEiUKDm51bV9wdWJsaXNoZXJzGAsgASgNUg1udW1QdWJs' - 'aXNoZXJzEikKEGFjdGl2ZV9yZWNvcmRpbmcYCiABKAhSD2FjdGl2ZVJlY29yZGluZxIvCgd2ZX' - 'JzaW9uGA0gASgLMhUubGl2ZWtpdC5UaW1lZFZlcnNpb25SB3ZlcnNpb24='); +final $typed_data.Uint8List roomDescriptor = $convert.base64Decode( + 'CgRSb29tEhAKA3NpZBgBIAEoCVIDc2lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIwoNZW1wdHlfdG' + 'ltZW91dBgDIAEoDVIMZW1wdHlUaW1lb3V0EisKEWRlcGFydHVyZV90aW1lb3V0GA4gASgNUhBk' + 'ZXBhcnR1cmVUaW1lb3V0EikKEG1heF9wYXJ0aWNpcGFudHMYBCABKA1SD21heFBhcnRpY2lwYW' + '50cxIjCg1jcmVhdGlvbl90aW1lGAUgASgDUgxjcmVhdGlvblRpbWUSKAoQY3JlYXRpb25fdGlt' + 'ZV9tcxgPIAEoA1IOY3JlYXRpb25UaW1lTXMSIwoNdHVybl9wYXNzd29yZBgGIAEoCVIMdHVybl' + 'Bhc3N3b3JkEjUKDmVuYWJsZWRfY29kZWNzGAcgAygLMg4ubGl2ZWtpdC5Db2RlY1INZW5hYmxl' + 'ZENvZGVjcxIaCghtZXRhZGF0YRgIIAEoCVIIbWV0YWRhdGESKQoQbnVtX3BhcnRpY2lwYW50cx' + 'gJIAEoDVIPbnVtUGFydGljaXBhbnRzEiUKDm51bV9wdWJsaXNoZXJzGAsgASgNUg1udW1QdWJs' + 'aXNoZXJzEikKEGFjdGl2ZV9yZWNvcmRpbmcYCiABKAhSD2FjdGl2ZVJlY29yZGluZxIvCgd2ZX' + 'JzaW9uGA0gASgLMhUubGl2ZWtpdC5UaW1lZFZlcnNpb25SB3ZlcnNpb24='); @$core.Deprecated('Use codecDescriptor instead') const Codec$json = { @@ -325,9 +345,9 @@ const Codec$json = { }; /// Descriptor for `Codec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List codecDescriptor = - $convert.base64Decode('CgVDb2RlYxISCgRtaW1lGAEgASgJUgRtaW1lEhsKCWZtdHBfbGluZRgCIAEoCVIIZm10cExpbm' - 'U='); +final $typed_data.Uint8List codecDescriptor = $convert.base64Decode( + 'CgVDb2RlYxISCgRtaW1lGAEgASgJUgRtaW1lEhsKCWZtdHBfbGluZRgCIAEoCVIIZm10cExpbm' + 'U='); @$core.Deprecated('Use playoutDelayDescriptor instead') const PlayoutDelay$json = { @@ -340,9 +360,9 @@ const PlayoutDelay$json = { }; /// Descriptor for `PlayoutDelay`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List playoutDelayDescriptor = - $convert.base64Decode('CgxQbGF5b3V0RGVsYXkSGAoHZW5hYmxlZBgBIAEoCFIHZW5hYmxlZBIQCgNtaW4YAiABKA1SA2' - '1pbhIQCgNtYXgYAyABKA1SA21heA=='); +final $typed_data.Uint8List playoutDelayDescriptor = $convert.base64Decode( + 'CgxQbGF5b3V0RGVsYXkSGAoHZW5hYmxlZBgBIAEoCFIHZW5hYmxlZBIQCgNtaW4YAiABKA1SA2' + '1pbhIQCgNtYXgYAyABKA1SA21heA=='); @$core.Deprecated('Use participantPermissionDescriptor instead') const ParticipantPermission$json = { @@ -351,7 +371,14 @@ const ParticipantPermission$json = { {'1': 'can_subscribe', '3': 1, '4': 1, '5': 8, '10': 'canSubscribe'}, {'1': 'can_publish', '3': 2, '4': 1, '5': 8, '10': 'canPublish'}, {'1': 'can_publish_data', '3': 3, '4': 1, '5': 8, '10': 'canPublishData'}, - {'1': 'can_publish_sources', '3': 9, '4': 3, '5': 14, '6': '.livekit.TrackSource', '10': 'canPublishSources'}, + { + '1': 'can_publish_sources', + '3': 9, + '4': 3, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'canPublishSources' + }, {'1': 'hidden', '3': 7, '4': 1, '5': 8, '10': 'hidden'}, { '1': 'recorder', @@ -361,7 +388,13 @@ const ParticipantPermission$json = { '8': {'3': true}, '10': 'recorder', }, - {'1': 'can_update_metadata', '3': 10, '4': 1, '5': 8, '10': 'canUpdateMetadata'}, + { + '1': 'can_update_metadata', + '3': 10, + '4': 1, + '5': 8, + '10': 'canUpdateMetadata' + }, { '1': 'agent', '3': 11, @@ -370,19 +403,25 @@ const ParticipantPermission$json = { '8': {'3': true}, '10': 'agent', }, - {'1': 'can_subscribe_metrics', '3': 12, '4': 1, '5': 8, '10': 'canSubscribeMetrics'}, + { + '1': 'can_subscribe_metrics', + '3': 12, + '4': 1, + '5': 8, + '10': 'canSubscribeMetrics' + }, ], }; /// Descriptor for `ParticipantPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantPermissionDescriptor = - $convert.base64Decode('ChVQYXJ0aWNpcGFudFBlcm1pc3Npb24SIwoNY2FuX3N1YnNjcmliZRgBIAEoCFIMY2FuU3Vic2' - 'NyaWJlEh8KC2Nhbl9wdWJsaXNoGAIgASgIUgpjYW5QdWJsaXNoEigKEGNhbl9wdWJsaXNoX2Rh' - 'dGEYAyABKAhSDmNhblB1Ymxpc2hEYXRhEkQKE2Nhbl9wdWJsaXNoX3NvdXJjZXMYCSADKA4yFC' - '5saXZla2l0LlRyYWNrU291cmNlUhFjYW5QdWJsaXNoU291cmNlcxIWCgZoaWRkZW4YByABKAhS' - 'BmhpZGRlbhIeCghyZWNvcmRlchgIIAEoCEICGAFSCHJlY29yZGVyEi4KE2Nhbl91cGRhdGVfbW' - 'V0YWRhdGEYCiABKAhSEWNhblVwZGF0ZU1ldGFkYXRhEhgKBWFnZW50GAsgASgIQgIYAVIFYWdl' - 'bnQSMgoVY2FuX3N1YnNjcmliZV9tZXRyaWNzGAwgASgIUhNjYW5TdWJzY3JpYmVNZXRyaWNz'); +final $typed_data.Uint8List participantPermissionDescriptor = $convert.base64Decode( + 'ChVQYXJ0aWNpcGFudFBlcm1pc3Npb24SIwoNY2FuX3N1YnNjcmliZRgBIAEoCFIMY2FuU3Vic2' + 'NyaWJlEh8KC2Nhbl9wdWJsaXNoGAIgASgIUgpjYW5QdWJsaXNoEigKEGNhbl9wdWJsaXNoX2Rh' + 'dGEYAyABKAhSDmNhblB1Ymxpc2hEYXRhEkQKE2Nhbl9wdWJsaXNoX3NvdXJjZXMYCSADKA4yFC' + '5saXZla2l0LlRyYWNrU291cmNlUhFjYW5QdWJsaXNoU291cmNlcxIWCgZoaWRkZW4YByABKAhS' + 'BmhpZGRlbhIeCghyZWNvcmRlchgIIAEoCEICGAFSCHJlY29yZGVyEi4KE2Nhbl91cGRhdGVfbW' + 'V0YWRhdGEYCiABKAhSEWNhblVwZGF0ZU1ldGFkYXRhEhgKBWFnZW50GAsgASgIQgIYAVIFYWdl' + 'bnQSMgoVY2FuX3N1YnNjcmliZV9tZXRyaWNzGAwgASgIUhNjYW5TdWJzY3JpYmVNZXRyaWNz'); @$core.Deprecated('Use participantInfoDescriptor instead') const ParticipantInfo$json = { @@ -390,23 +429,76 @@ const ParticipantInfo$json = { '2': [ {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, {'1': 'identity', '3': 2, '4': 1, '5': 9, '10': 'identity'}, - {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.livekit.ParticipantInfo.State', '10': 'state'}, - {'1': 'tracks', '3': 4, '4': 3, '5': 11, '6': '.livekit.TrackInfo', '10': 'tracks'}, + { + '1': 'state', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.ParticipantInfo.State', + '10': 'state' + }, + { + '1': 'tracks', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.TrackInfo', + '10': 'tracks' + }, {'1': 'metadata', '3': 5, '4': 1, '5': 9, '10': 'metadata'}, {'1': 'joined_at', '3': 6, '4': 1, '5': 3, '10': 'joinedAt'}, {'1': 'joined_at_ms', '3': 17, '4': 1, '5': 3, '10': 'joinedAtMs'}, {'1': 'name', '3': 9, '4': 1, '5': 9, '10': 'name'}, {'1': 'version', '3': 10, '4': 1, '5': 13, '10': 'version'}, - {'1': 'permission', '3': 11, '4': 1, '5': 11, '6': '.livekit.ParticipantPermission', '10': 'permission'}, + { + '1': 'permission', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantPermission', + '10': 'permission' + }, {'1': 'region', '3': 12, '4': 1, '5': 9, '10': 'region'}, {'1': 'is_publisher', '3': 13, '4': 1, '5': 8, '10': 'isPublisher'}, - {'1': 'kind', '3': 14, '4': 1, '5': 14, '6': '.livekit.ParticipantInfo.Kind', '10': 'kind'}, - {'1': 'attributes', '3': 15, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo.AttributesEntry', '10': 'attributes'}, - {'1': 'disconnect_reason', '3': 16, '4': 1, '5': 14, '6': '.livekit.DisconnectReason', '10': 'disconnectReason'}, - {'1': 'kind_details', '3': 18, '4': 3, '5': 14, '6': '.livekit.ParticipantInfo.KindDetail', '10': 'kindDetails'}, + { + '1': 'kind', + '3': 14, + '4': 1, + '5': 14, + '6': '.livekit.ParticipantInfo.Kind', + '10': 'kind' + }, + { + '1': 'attributes', + '3': 15, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo.AttributesEntry', + '10': 'attributes' + }, + { + '1': 'disconnect_reason', + '3': 16, + '4': 1, + '5': 14, + '6': '.livekit.DisconnectReason', + '10': 'disconnectReason' + }, + { + '1': 'kind_details', + '3': 18, + '4': 3, + '5': 14, + '6': '.livekit.ParticipantInfo.KindDetail', + '10': 'kindDetails' + }, ], '3': [ParticipantInfo_AttributesEntry$json], - '4': [ParticipantInfo_State$json, ParticipantInfo_Kind$json, ParticipantInfo_KindDetail$json], + '4': [ + ParticipantInfo_State$json, + ParticipantInfo_Kind$json, + ParticipantInfo_KindDetail$json + ], }; @$core.Deprecated('Use participantInfoDescriptor instead') @@ -452,24 +544,24 @@ const ParticipantInfo_KindDetail$json = { }; /// Descriptor for `ParticipantInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantInfoDescriptor = - $convert.base64Decode('Cg9QYXJ0aWNpcGFudEluZm8SEAoDc2lkGAEgASgJUgNzaWQSGgoIaWRlbnRpdHkYAiABKAlSCG' - 'lkZW50aXR5EjQKBXN0YXRlGAMgASgOMh4ubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uU3RhdGVS' - 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSGgoIbW' - 'V0YWRhdGEYBSABKAlSCG1ldGFkYXRhEhsKCWpvaW5lZF9hdBgGIAEoA1IIam9pbmVkQXQSIAoM' - 'am9pbmVkX2F0X21zGBEgASgDUgpqb2luZWRBdE1zEhIKBG5hbWUYCSABKAlSBG5hbWUSGAoHdm' - 'Vyc2lvbhgKIAEoDVIHdmVyc2lvbhI+CgpwZXJtaXNzaW9uGAsgASgLMh4ubGl2ZWtpdC5QYXJ0' - 'aWNpcGFudFBlcm1pc3Npb25SCnBlcm1pc3Npb24SFgoGcmVnaW9uGAwgASgJUgZyZWdpb24SIQ' - 'oMaXNfcHVibGlzaGVyGA0gASgIUgtpc1B1Ymxpc2hlchIxCgRraW5kGA4gASgOMh0ubGl2ZWtp' - 'dC5QYXJ0aWNpcGFudEluZm8uS2luZFIEa2luZBJICgphdHRyaWJ1dGVzGA8gAygLMigubGl2ZW' - 'tpdC5QYXJ0aWNpcGFudEluZm8uQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEkYKEWRpc2Nv' - 'bm5lY3RfcmVhc29uGBAgASgOMhkubGl2ZWtpdC5EaXNjb25uZWN0UmVhc29uUhBkaXNjb25uZW' - 'N0UmVhc29uEkYKDGtpbmRfZGV0YWlscxgSIAMoDjIjLmxpdmVraXQuUGFydGljaXBhbnRJbmZv' - 'LktpbmREZXRhaWxSC2tpbmREZXRhaWxzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKA' - 'lSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBIj4KBVN0YXRlEgsKB0pPSU5JTkcQABIK' - 'CgZKT0lORUQQARIKCgZBQ1RJVkUQAhIQCgxESVNDT05ORUNURUQQAyJBCgRLaW5kEgwKCFNUQU' - '5EQVJEEAASCwoHSU5HUkVTUxABEgoKBkVHUkVTUxACEgcKA1NJUBADEgkKBUFHRU5UEAQiLAoK' - 'S2luZERldGFpbBIPCgtDTE9VRF9BR0VOVBAAEg0KCUZPUldBUkRFRBAB'); +final $typed_data.Uint8List participantInfoDescriptor = $convert.base64Decode( + 'Cg9QYXJ0aWNpcGFudEluZm8SEAoDc2lkGAEgASgJUgNzaWQSGgoIaWRlbnRpdHkYAiABKAlSCG' + 'lkZW50aXR5EjQKBXN0YXRlGAMgASgOMh4ubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uU3RhdGVS' + 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSGgoIbW' + 'V0YWRhdGEYBSABKAlSCG1ldGFkYXRhEhsKCWpvaW5lZF9hdBgGIAEoA1IIam9pbmVkQXQSIAoM' + 'am9pbmVkX2F0X21zGBEgASgDUgpqb2luZWRBdE1zEhIKBG5hbWUYCSABKAlSBG5hbWUSGAoHdm' + 'Vyc2lvbhgKIAEoDVIHdmVyc2lvbhI+CgpwZXJtaXNzaW9uGAsgASgLMh4ubGl2ZWtpdC5QYXJ0' + 'aWNpcGFudFBlcm1pc3Npb25SCnBlcm1pc3Npb24SFgoGcmVnaW9uGAwgASgJUgZyZWdpb24SIQ' + 'oMaXNfcHVibGlzaGVyGA0gASgIUgtpc1B1Ymxpc2hlchIxCgRraW5kGA4gASgOMh0ubGl2ZWtp' + 'dC5QYXJ0aWNpcGFudEluZm8uS2luZFIEa2luZBJICgphdHRyaWJ1dGVzGA8gAygLMigubGl2ZW' + 'tpdC5QYXJ0aWNpcGFudEluZm8uQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEkYKEWRpc2Nv' + 'bm5lY3RfcmVhc29uGBAgASgOMhkubGl2ZWtpdC5EaXNjb25uZWN0UmVhc29uUhBkaXNjb25uZW' + 'N0UmVhc29uEkYKDGtpbmRfZGV0YWlscxgSIAMoDjIjLmxpdmVraXQuUGFydGljaXBhbnRJbmZv' + 'LktpbmREZXRhaWxSC2tpbmREZXRhaWxzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKA' + 'lSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBIj4KBVN0YXRlEgsKB0pPSU5JTkcQABIK' + 'CgZKT0lORUQQARIKCgZBQ1RJVkUQAhIQCgxESVNDT05ORUNURUQQAyJBCgRLaW5kEgwKCFNUQU' + '5EQVJEEAASCwoHSU5HUkVTUxABEgoKBkVHUkVTUxACEgcKA1NJUBADEgkKBUFHRU5UEAQiLAoK' + 'S2luZERldGFpbBIPCgtDTE9VRF9BR0VOVBAAEg0KCUZPUldBUkRFRBAB'); @$core.Deprecated('Use encryptionDescriptor instead') const Encryption$json = { @@ -488,8 +580,8 @@ const Encryption_Type$json = { }; /// Descriptor for `Encryption`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptionDescriptor = - $convert.base64Decode('CgpFbmNyeXB0aW9uIiUKBFR5cGUSCAoETk9ORRAAEgcKA0dDTRABEgoKBkNVU1RPTRAC'); +final $typed_data.Uint8List encryptionDescriptor = $convert.base64Decode( + 'CgpFbmNyeXB0aW9uIiUKBFR5cGUSCAoETk9ORRAAEgcKA0dDTRABEgoKBkNVU1RPTRAC'); @$core.Deprecated('Use simulcastCodecInfoDescriptor instead') const SimulcastCodecInfo$json = { @@ -498,26 +590,47 @@ const SimulcastCodecInfo$json = { {'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'}, {'1': 'mid', '3': 2, '4': 1, '5': 9, '10': 'mid'}, {'1': 'cid', '3': 3, '4': 1, '5': 9, '10': 'cid'}, - {'1': 'layers', '3': 4, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, - {'1': 'video_layer_mode', '3': 5, '4': 1, '5': 14, '6': '.livekit.VideoLayer.Mode', '10': 'videoLayerMode'}, + { + '1': 'layers', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, + { + '1': 'video_layer_mode', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.VideoLayer.Mode', + '10': 'videoLayerMode' + }, {'1': 'sdp_cid', '3': 6, '4': 1, '5': 9, '10': 'sdpCid'}, ], }; /// Descriptor for `SimulcastCodecInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulcastCodecInfoDescriptor = - $convert.base64Decode('ChJTaW11bGNhc3RDb2RlY0luZm8SGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIQCgNtaW' - 'QYAiABKAlSA21pZBIQCgNjaWQYAyABKAlSA2NpZBIrCgZsYXllcnMYBCADKAsyEy5saXZla2l0' - 'LlZpZGVvTGF5ZXJSBmxheWVycxJCChB2aWRlb19sYXllcl9tb2RlGAUgASgOMhgubGl2ZWtpdC' - '5WaWRlb0xheWVyLk1vZGVSDnZpZGVvTGF5ZXJNb2RlEhcKB3NkcF9jaWQYBiABKAlSBnNkcENp' - 'ZA=='); +final $typed_data.Uint8List simulcastCodecInfoDescriptor = $convert.base64Decode( + 'ChJTaW11bGNhc3RDb2RlY0luZm8SGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIQCgNtaW' + 'QYAiABKAlSA21pZBIQCgNjaWQYAyABKAlSA2NpZBIrCgZsYXllcnMYBCADKAsyEy5saXZla2l0' + 'LlZpZGVvTGF5ZXJSBmxheWVycxJCChB2aWRlb19sYXllcl9tb2RlGAUgASgOMhgubGl2ZWtpdC' + '5WaWRlb0xheWVyLk1vZGVSDnZpZGVvTGF5ZXJNb2RlEhcKB3NkcF9jaWQYBiABKAlSBnNkcENp' + 'ZA=='); @$core.Deprecated('Use trackInfoDescriptor instead') const TrackInfo$json = { '1': 'TrackInfo', '2': [ {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, - {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.livekit.TrackType', '10': 'type'}, + { + '1': 'type', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.TrackType', + '10': 'type' + }, {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, {'1': 'muted', '3': 4, '4': 1, '5': 8, '10': 'muted'}, { @@ -552,7 +665,14 @@ const TrackInfo$json = { '8': {'3': true}, '10': 'disableDtx', }, - {'1': 'source', '3': 9, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, + { + '1': 'source', + '3': 9, + '4': 1, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'source' + }, { '1': 'layers', '3': 10, @@ -564,7 +684,14 @@ const TrackInfo$json = { }, {'1': 'mime_type', '3': 11, '4': 1, '5': 9, '10': 'mimeType'}, {'1': 'mid', '3': 12, '4': 1, '5': 9, '10': 'mid'}, - {'1': 'codecs', '3': 13, '4': 3, '5': 11, '6': '.livekit.SimulcastCodecInfo', '10': 'codecs'}, + { + '1': 'codecs', + '3': 13, + '4': 3, + '5': 11, + '6': '.livekit.SimulcastCodecInfo', + '10': 'codecs' + }, { '1': 'stereo', '3': 14, @@ -574,10 +701,31 @@ const TrackInfo$json = { '10': 'stereo', }, {'1': 'disable_red', '3': 15, '4': 1, '5': 8, '10': 'disableRed'}, - {'1': 'encryption', '3': 16, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryption'}, + { + '1': 'encryption', + '3': 16, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryption' + }, {'1': 'stream', '3': 17, '4': 1, '5': 9, '10': 'stream'}, - {'1': 'version', '3': 18, '4': 1, '5': 11, '6': '.livekit.TimedVersion', '10': 'version'}, - {'1': 'audio_features', '3': 19, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'audioFeatures'}, + { + '1': 'version', + '3': 18, + '4': 1, + '5': 11, + '6': '.livekit.TimedVersion', + '10': 'version' + }, + { + '1': 'audio_features', + '3': 19, + '4': 3, + '5': 14, + '6': '.livekit.AudioTrackFeature', + '10': 'audioFeatures' + }, { '1': 'backup_codec_policy', '3': 20, @@ -590,27 +738,34 @@ const TrackInfo$json = { }; /// Descriptor for `TrackInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackInfoDescriptor = - $convert.base64Decode('CglUcmFja0luZm8SEAoDc2lkGAEgASgJUgNzaWQSJgoEdHlwZRgCIAEoDjISLmxpdmVraXQuVH' - 'JhY2tUeXBlUgR0eXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSFAoFbXV0ZWQYBCABKAhSBW11dGVk' - 'EhgKBXdpZHRoGAUgASgNQgIYAVIFd2lkdGgSGgoGaGVpZ2h0GAYgASgNQgIYAVIGaGVpZ2h0Ei' - 'AKCXNpbXVsY2FzdBgHIAEoCEICGAFSCXNpbXVsY2FzdBIjCgtkaXNhYmxlX2R0eBgIIAEoCEIC' - 'GAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAkgASgOMhQubGl2ZWtpdC5UcmFja1NvdXJjZVIGc2' - '91cmNlEi8KBmxheWVycxgKIAMoCzITLmxpdmVraXQuVmlkZW9MYXllckICGAFSBmxheWVycxIb' - 'CgltaW1lX3R5cGUYCyABKAlSCG1pbWVUeXBlEhAKA21pZBgMIAEoCVIDbWlkEjMKBmNvZGVjcx' - 'gNIAMoCzIbLmxpdmVraXQuU2ltdWxjYXN0Q29kZWNJbmZvUgZjb2RlY3MSGgoGc3RlcmVvGA4g' - 'ASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA8gASgIUgpkaXNhYmxlUmVkEjgKCmVuY3' - 'J5cHRpb24YECABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCgZz' - 'dHJlYW0YESABKAlSBnN0cmVhbRIvCgd2ZXJzaW9uGBIgASgLMhUubGl2ZWtpdC5UaW1lZFZlcn' - 'Npb25SB3ZlcnNpb24SQQoOYXVkaW9fZmVhdHVyZXMYEyADKA4yGi5saXZla2l0LkF1ZGlvVHJh' - 'Y2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVzEkoKE2JhY2t1cF9jb2RlY19wb2xpY3kYFCABKA4yGi' - '5saXZla2l0LkJhY2t1cENvZGVjUG9saWN5UhFiYWNrdXBDb2RlY1BvbGljeQ=='); +final $typed_data.Uint8List trackInfoDescriptor = $convert.base64Decode( + 'CglUcmFja0luZm8SEAoDc2lkGAEgASgJUgNzaWQSJgoEdHlwZRgCIAEoDjISLmxpdmVraXQuVH' + 'JhY2tUeXBlUgR0eXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSFAoFbXV0ZWQYBCABKAhSBW11dGVk' + 'EhgKBXdpZHRoGAUgASgNQgIYAVIFd2lkdGgSGgoGaGVpZ2h0GAYgASgNQgIYAVIGaGVpZ2h0Ei' + 'AKCXNpbXVsY2FzdBgHIAEoCEICGAFSCXNpbXVsY2FzdBIjCgtkaXNhYmxlX2R0eBgIIAEoCEIC' + 'GAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAkgASgOMhQubGl2ZWtpdC5UcmFja1NvdXJjZVIGc2' + '91cmNlEi8KBmxheWVycxgKIAMoCzITLmxpdmVraXQuVmlkZW9MYXllckICGAFSBmxheWVycxIb' + 'CgltaW1lX3R5cGUYCyABKAlSCG1pbWVUeXBlEhAKA21pZBgMIAEoCVIDbWlkEjMKBmNvZGVjcx' + 'gNIAMoCzIbLmxpdmVraXQuU2ltdWxjYXN0Q29kZWNJbmZvUgZjb2RlY3MSGgoGc3RlcmVvGA4g' + 'ASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA8gASgIUgpkaXNhYmxlUmVkEjgKCmVuY3' + 'J5cHRpb24YECABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCgZz' + 'dHJlYW0YESABKAlSBnN0cmVhbRIvCgd2ZXJzaW9uGBIgASgLMhUubGl2ZWtpdC5UaW1lZFZlcn' + 'Npb25SB3ZlcnNpb24SQQoOYXVkaW9fZmVhdHVyZXMYEyADKA4yGi5saXZla2l0LkF1ZGlvVHJh' + 'Y2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVzEkoKE2JhY2t1cF9jb2RlY19wb2xpY3kYFCABKA4yGi' + '5saXZla2l0LkJhY2t1cENvZGVjUG9saWN5UhFiYWNrdXBDb2RlY1BvbGljeQ=='); @$core.Deprecated('Use videoLayerDescriptor instead') const VideoLayer$json = { '1': 'VideoLayer', '2': [ - {'1': 'quality', '3': 1, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'width', '3': 2, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 3, '4': 1, '5': 13, '10': 'height'}, {'1': 'bitrate', '3': 4, '4': 1, '5': 13, '10': 'bitrate'}, @@ -633,14 +788,14 @@ const VideoLayer_Mode$json = { }; /// Descriptor for `VideoLayer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoLayerDescriptor = - $convert.base64Decode('CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' - 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' - 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' - 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCKWAQoETW9kZRIPCgtN' - 'T0RFX1VOVVNFRBAAEiAKHE9ORV9TUEFUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSV' - 'BMRV9TUEFUSUFMX0xBWUVSU19QRVJfU1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVS' - 'X1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1BfU1IQAw=='); +final $typed_data.Uint8List videoLayerDescriptor = $convert.base64Decode( + 'CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' + 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' + 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' + 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCKWAQoETW9kZRIPCgtN' + 'T0RFX1VOVVNFRBAAEiAKHE9ORV9TUEFUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSV' + 'BMRV9TUEFUSUFMX0xBWUVSU19QRVJfU1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVS' + 'X1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1BfU1IQAw=='); @$core.Deprecated('Use dataPacketDescriptor instead') const DataPacket$json = { @@ -655,9 +810,29 @@ const DataPacket$json = { '8': {'3': true}, '10': 'kind', }, - {'1': 'participant_identity', '3': 4, '4': 1, '5': 9, '10': 'participantIdentity'}, - {'1': 'destination_identities', '3': 5, '4': 3, '5': 9, '10': 'destinationIdentities'}, - {'1': 'user', '3': 2, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, + { + '1': 'participant_identity', + '3': 4, + '4': 1, + '5': 9, + '10': 'participantIdentity' + }, + { + '1': 'destination_identities', + '3': 5, + '4': 3, + '5': 9, + '10': 'destinationIdentities' + }, + { + '1': 'user', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.UserPacket', + '9': 0, + '10': 'user' + }, { '1': 'speaker', '3': 3, @@ -668,15 +843,87 @@ const DataPacket$json = { '9': 0, '10': 'speaker', }, - {'1': 'sip_dtmf', '3': 6, '4': 1, '5': 11, '6': '.livekit.SipDTMF', '9': 0, '10': 'sipDtmf'}, - {'1': 'transcription', '3': 7, '4': 1, '5': 11, '6': '.livekit.Transcription', '9': 0, '10': 'transcription'}, - {'1': 'metrics', '3': 8, '4': 1, '5': 11, '6': '.livekit.MetricsBatch', '9': 0, '10': 'metrics'}, - {'1': 'chat_message', '3': 9, '4': 1, '5': 11, '6': '.livekit.ChatMessage', '9': 0, '10': 'chatMessage'}, - {'1': 'rpc_request', '3': 10, '4': 1, '5': 11, '6': '.livekit.RpcRequest', '9': 0, '10': 'rpcRequest'}, - {'1': 'rpc_ack', '3': 11, '4': 1, '5': 11, '6': '.livekit.RpcAck', '9': 0, '10': 'rpcAck'}, - {'1': 'rpc_response', '3': 12, '4': 1, '5': 11, '6': '.livekit.RpcResponse', '9': 0, '10': 'rpcResponse'}, - {'1': 'stream_header', '3': 13, '4': 1, '5': 11, '6': '.livekit.DataStream.Header', '9': 0, '10': 'streamHeader'}, - {'1': 'stream_chunk', '3': 14, '4': 1, '5': 11, '6': '.livekit.DataStream.Chunk', '9': 0, '10': 'streamChunk'}, + { + '1': 'sip_dtmf', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.SipDTMF', + '9': 0, + '10': 'sipDtmf' + }, + { + '1': 'transcription', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.Transcription', + '9': 0, + '10': 'transcription' + }, + { + '1': 'metrics', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.MetricsBatch', + '9': 0, + '10': 'metrics' + }, + { + '1': 'chat_message', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.ChatMessage', + '9': 0, + '10': 'chatMessage' + }, + { + '1': 'rpc_request', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.RpcRequest', + '9': 0, + '10': 'rpcRequest' + }, + { + '1': 'rpc_ack', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.RpcAck', + '9': 0, + '10': 'rpcAck' + }, + { + '1': 'rpc_response', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.RpcResponse', + '9': 0, + '10': 'rpcResponse' + }, + { + '1': 'stream_header', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Header', + '9': 0, + '10': 'streamHeader' + }, + { + '1': 'stream_chunk', + '3': 14, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Chunk', + '9': 0, + '10': 'streamChunk' + }, { '1': 'stream_trailer', '3': 15, @@ -714,32 +961,39 @@ const DataPacket_Kind$json = { }; /// Descriptor for `DataPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataPacketDescriptor = - $convert.base64Decode('CgpEYXRhUGFja2V0EjAKBGtpbmQYASABKA4yGC5saXZla2l0LkRhdGFQYWNrZXQuS2luZEICGA' - 'FSBGtpbmQSMQoUcGFydGljaXBhbnRfaWRlbnRpdHkYBCABKAlSE3BhcnRpY2lwYW50SWRlbnRp' - 'dHkSNQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgFIAMoCVIVZGVzdGluYXRpb25JZGVudGl0aW' - 'VzEikKBHVzZXIYAiABKAsyEy5saXZla2l0LlVzZXJQYWNrZXRIAFIEdXNlchI8CgdzcGVha2Vy' - 'GAMgASgLMhwubGl2ZWtpdC5BY3RpdmVTcGVha2VyVXBkYXRlQgIYAUgAUgdzcGVha2VyEi0KCH' - 'NpcF9kdG1mGAYgASgLMhAubGl2ZWtpdC5TaXBEVE1GSABSB3NpcER0bWYSPgoNdHJhbnNjcmlw' - 'dGlvbhgHIAEoCzIWLmxpdmVraXQuVHJhbnNjcmlwdGlvbkgAUg10cmFuc2NyaXB0aW9uEjEKB2' - '1ldHJpY3MYCCABKAsyFS5saXZla2l0Lk1ldHJpY3NCYXRjaEgAUgdtZXRyaWNzEjkKDGNoYXRf' - 'bWVzc2FnZRgJIAEoCzIULmxpdmVraXQuQ2hhdE1lc3NhZ2VIAFILY2hhdE1lc3NhZ2USNgoLcn' - 'BjX3JlcXVlc3QYCiABKAsyEy5saXZla2l0LlJwY1JlcXVlc3RIAFIKcnBjUmVxdWVzdBIqCgdy' - 'cGNfYWNrGAsgASgLMg8ubGl2ZWtpdC5ScGNBY2tIAFIGcnBjQWNrEjkKDHJwY19yZXNwb25zZR' - 'gMIAEoCzIULmxpdmVraXQuUnBjUmVzcG9uc2VIAFILcnBjUmVzcG9uc2USQQoNc3RyZWFtX2hl' - 'YWRlchgNIAEoCzIaLmxpdmVraXQuRGF0YVN0cmVhbS5IZWFkZXJIAFIMc3RyZWFtSGVhZGVyEj' - '4KDHN0cmVhbV9jaHVuaxgOIAEoCzIZLmxpdmVraXQuRGF0YVN0cmVhbS5DaHVua0gAUgtzdHJl' - 'YW1DaHVuaxJECg5zdHJlYW1fdHJhaWxlchgPIAEoCzIbLmxpdmVraXQuRGF0YVN0cmVhbS5Ucm' - 'FpbGVySABSDXN0cmVhbVRyYWlsZXISRQoQZW5jcnlwdGVkX3BhY2tldBgSIAEoCzIYLmxpdmVr' - 'aXQuRW5jcnlwdGVkUGFja2V0SABSD2VuY3J5cHRlZFBhY2tldBIaCghzZXF1ZW5jZRgQIAEoDV' - 'IIc2VxdWVuY2USJwoPcGFydGljaXBhbnRfc2lkGBEgASgJUg5wYXJ0aWNpcGFudFNpZCIfCgRL' - 'aW5kEgwKCFJFTElBQkxFEAASCQoFTE9TU1kQAUIHCgV2YWx1ZQ=='); +final $typed_data.Uint8List dataPacketDescriptor = $convert.base64Decode( + 'CgpEYXRhUGFja2V0EjAKBGtpbmQYASABKA4yGC5saXZla2l0LkRhdGFQYWNrZXQuS2luZEICGA' + 'FSBGtpbmQSMQoUcGFydGljaXBhbnRfaWRlbnRpdHkYBCABKAlSE3BhcnRpY2lwYW50SWRlbnRp' + 'dHkSNQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgFIAMoCVIVZGVzdGluYXRpb25JZGVudGl0aW' + 'VzEikKBHVzZXIYAiABKAsyEy5saXZla2l0LlVzZXJQYWNrZXRIAFIEdXNlchI8CgdzcGVha2Vy' + 'GAMgASgLMhwubGl2ZWtpdC5BY3RpdmVTcGVha2VyVXBkYXRlQgIYAUgAUgdzcGVha2VyEi0KCH' + 'NpcF9kdG1mGAYgASgLMhAubGl2ZWtpdC5TaXBEVE1GSABSB3NpcER0bWYSPgoNdHJhbnNjcmlw' + 'dGlvbhgHIAEoCzIWLmxpdmVraXQuVHJhbnNjcmlwdGlvbkgAUg10cmFuc2NyaXB0aW9uEjEKB2' + '1ldHJpY3MYCCABKAsyFS5saXZla2l0Lk1ldHJpY3NCYXRjaEgAUgdtZXRyaWNzEjkKDGNoYXRf' + 'bWVzc2FnZRgJIAEoCzIULmxpdmVraXQuQ2hhdE1lc3NhZ2VIAFILY2hhdE1lc3NhZ2USNgoLcn' + 'BjX3JlcXVlc3QYCiABKAsyEy5saXZla2l0LlJwY1JlcXVlc3RIAFIKcnBjUmVxdWVzdBIqCgdy' + 'cGNfYWNrGAsgASgLMg8ubGl2ZWtpdC5ScGNBY2tIAFIGcnBjQWNrEjkKDHJwY19yZXNwb25zZR' + 'gMIAEoCzIULmxpdmVraXQuUnBjUmVzcG9uc2VIAFILcnBjUmVzcG9uc2USQQoNc3RyZWFtX2hl' + 'YWRlchgNIAEoCzIaLmxpdmVraXQuRGF0YVN0cmVhbS5IZWFkZXJIAFIMc3RyZWFtSGVhZGVyEj' + '4KDHN0cmVhbV9jaHVuaxgOIAEoCzIZLmxpdmVraXQuRGF0YVN0cmVhbS5DaHVua0gAUgtzdHJl' + 'YW1DaHVuaxJECg5zdHJlYW1fdHJhaWxlchgPIAEoCzIbLmxpdmVraXQuRGF0YVN0cmVhbS5Ucm' + 'FpbGVySABSDXN0cmVhbVRyYWlsZXISRQoQZW5jcnlwdGVkX3BhY2tldBgSIAEoCzIYLmxpdmVr' + 'aXQuRW5jcnlwdGVkUGFja2V0SABSD2VuY3J5cHRlZFBhY2tldBIaCghzZXF1ZW5jZRgQIAEoDV' + 'IIc2VxdWVuY2USJwoPcGFydGljaXBhbnRfc2lkGBEgASgJUg5wYXJ0aWNpcGFudFNpZCIfCgRL' + 'aW5kEgwKCFJFTElBQkxFEAASCQoFTE9TU1kQAUIHCgV2YWx1ZQ=='); @$core.Deprecated('Use encryptedPacketDescriptor instead') const EncryptedPacket$json = { '1': 'EncryptedPacket', '2': [ - {'1': 'encryption_type', '3': 1, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryptionType'}, + { + '1': 'encryption_type', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryptionType' + }, {'1': 'iv', '3': 2, '4': 1, '5': 12, '10': 'iv'}, {'1': 'key_index', '3': 3, '4': 1, '5': 13, '10': 'keyIndex'}, {'1': 'encrypted_value', '3': 4, '4': 1, '5': 12, '10': 'encryptedValue'}, @@ -747,24 +1001,88 @@ const EncryptedPacket$json = { }; /// Descriptor for `EncryptedPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptedPacketDescriptor = - $convert.base64Decode('Cg9FbmNyeXB0ZWRQYWNrZXQSQQoPZW5jcnlwdGlvbl90eXBlGAEgASgOMhgubGl2ZWtpdC5Fbm' - 'NyeXB0aW9uLlR5cGVSDmVuY3J5cHRpb25UeXBlEg4KAml2GAIgASgMUgJpdhIbCglrZXlfaW5k' - 'ZXgYAyABKA1SCGtleUluZGV4EicKD2VuY3J5cHRlZF92YWx1ZRgEIAEoDFIOZW5jcnlwdGVkVm' - 'FsdWU='); +final $typed_data.Uint8List encryptedPacketDescriptor = $convert.base64Decode( + 'Cg9FbmNyeXB0ZWRQYWNrZXQSQQoPZW5jcnlwdGlvbl90eXBlGAEgASgOMhgubGl2ZWtpdC5Fbm' + 'NyeXB0aW9uLlR5cGVSDmVuY3J5cHRpb25UeXBlEg4KAml2GAIgASgMUgJpdhIbCglrZXlfaW5k' + 'ZXgYAyABKA1SCGtleUluZGV4EicKD2VuY3J5cHRlZF92YWx1ZRgEIAEoDFIOZW5jcnlwdGVkVm' + 'FsdWU='); @$core.Deprecated('Use encryptedPacketPayloadDescriptor instead') const EncryptedPacketPayload$json = { '1': 'EncryptedPacketPayload', '2': [ - {'1': 'user', '3': 1, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, - {'1': 'chat_message', '3': 3, '4': 1, '5': 11, '6': '.livekit.ChatMessage', '9': 0, '10': 'chatMessage'}, - {'1': 'rpc_request', '3': 4, '4': 1, '5': 11, '6': '.livekit.RpcRequest', '9': 0, '10': 'rpcRequest'}, - {'1': 'rpc_ack', '3': 5, '4': 1, '5': 11, '6': '.livekit.RpcAck', '9': 0, '10': 'rpcAck'}, - {'1': 'rpc_response', '3': 6, '4': 1, '5': 11, '6': '.livekit.RpcResponse', '9': 0, '10': 'rpcResponse'}, - {'1': 'stream_header', '3': 7, '4': 1, '5': 11, '6': '.livekit.DataStream.Header', '9': 0, '10': 'streamHeader'}, - {'1': 'stream_chunk', '3': 8, '4': 1, '5': 11, '6': '.livekit.DataStream.Chunk', '9': 0, '10': 'streamChunk'}, - {'1': 'stream_trailer', '3': 9, '4': 1, '5': 11, '6': '.livekit.DataStream.Trailer', '9': 0, '10': 'streamTrailer'}, + { + '1': 'user', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.UserPacket', + '9': 0, + '10': 'user' + }, + { + '1': 'chat_message', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ChatMessage', + '9': 0, + '10': 'chatMessage' + }, + { + '1': 'rpc_request', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.RpcRequest', + '9': 0, + '10': 'rpcRequest' + }, + { + '1': 'rpc_ack', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.RpcAck', + '9': 0, + '10': 'rpcAck' + }, + { + '1': 'rpc_response', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.RpcResponse', + '9': 0, + '10': 'rpcResponse' + }, + { + '1': 'stream_header', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Header', + '9': 0, + '10': 'streamHeader' + }, + { + '1': 'stream_chunk', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Chunk', + '9': 0, + '10': 'streamChunk' + }, + { + '1': 'stream_trailer', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.Trailer', + '9': 0, + '10': 'streamTrailer' + }, ], '8': [ {'1': 'value'}, @@ -772,30 +1090,37 @@ const EncryptedPacketPayload$json = { }; /// Descriptor for `EncryptedPacketPayload`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptedPacketPayloadDescriptor = - $convert.base64Decode('ChZFbmNyeXB0ZWRQYWNrZXRQYXlsb2FkEikKBHVzZXIYASABKAsyEy5saXZla2l0LlVzZXJQYW' - 'NrZXRIAFIEdXNlchI5CgxjaGF0X21lc3NhZ2UYAyABKAsyFC5saXZla2l0LkNoYXRNZXNzYWdl' - 'SABSC2NoYXRNZXNzYWdlEjYKC3JwY19yZXF1ZXN0GAQgASgLMhMubGl2ZWtpdC5ScGNSZXF1ZX' - 'N0SABSCnJwY1JlcXVlc3QSKgoHcnBjX2FjaxgFIAEoCzIPLmxpdmVraXQuUnBjQWNrSABSBnJw' - 'Y0FjaxI5CgxycGNfcmVzcG9uc2UYBiABKAsyFC5saXZla2l0LlJwY1Jlc3BvbnNlSABSC3JwY1' - 'Jlc3BvbnNlEkEKDXN0cmVhbV9oZWFkZXIYByABKAsyGi5saXZla2l0LkRhdGFTdHJlYW0uSGVh' - 'ZGVySABSDHN0cmVhbUhlYWRlchI+CgxzdHJlYW1fY2h1bmsYCCABKAsyGS5saXZla2l0LkRhdG' - 'FTdHJlYW0uQ2h1bmtIAFILc3RyZWFtQ2h1bmsSRAoOc3RyZWFtX3RyYWlsZXIYCSABKAsyGy5s' - 'aXZla2l0LkRhdGFTdHJlYW0uVHJhaWxlckgAUg1zdHJlYW1UcmFpbGVyQgcKBXZhbHVl'); +final $typed_data.Uint8List encryptedPacketPayloadDescriptor = $convert.base64Decode( + 'ChZFbmNyeXB0ZWRQYWNrZXRQYXlsb2FkEikKBHVzZXIYASABKAsyEy5saXZla2l0LlVzZXJQYW' + 'NrZXRIAFIEdXNlchI5CgxjaGF0X21lc3NhZ2UYAyABKAsyFC5saXZla2l0LkNoYXRNZXNzYWdl' + 'SABSC2NoYXRNZXNzYWdlEjYKC3JwY19yZXF1ZXN0GAQgASgLMhMubGl2ZWtpdC5ScGNSZXF1ZX' + 'N0SABSCnJwY1JlcXVlc3QSKgoHcnBjX2FjaxgFIAEoCzIPLmxpdmVraXQuUnBjQWNrSABSBnJw' + 'Y0FjaxI5CgxycGNfcmVzcG9uc2UYBiABKAsyFC5saXZla2l0LlJwY1Jlc3BvbnNlSABSC3JwY1' + 'Jlc3BvbnNlEkEKDXN0cmVhbV9oZWFkZXIYByABKAsyGi5saXZla2l0LkRhdGFTdHJlYW0uSGVh' + 'ZGVySABSDHN0cmVhbUhlYWRlchI+CgxzdHJlYW1fY2h1bmsYCCABKAsyGS5saXZla2l0LkRhdG' + 'FTdHJlYW0uQ2h1bmtIAFILc3RyZWFtQ2h1bmsSRAoOc3RyZWFtX3RyYWlsZXIYCSABKAsyGy5s' + 'aXZla2l0LkRhdGFTdHJlYW0uVHJhaWxlckgAUg1zdHJlYW1UcmFpbGVyQgcKBXZhbHVl'); @$core.Deprecated('Use activeSpeakerUpdateDescriptor instead') const ActiveSpeakerUpdate$json = { '1': 'ActiveSpeakerUpdate', '2': [ - {'1': 'speakers', '3': 1, '4': 3, '5': 11, '6': '.livekit.SpeakerInfo', '10': 'speakers'}, + { + '1': 'speakers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.SpeakerInfo', + '10': 'speakers' + }, ], '7': {'3': true}, }; /// Descriptor for `ActiveSpeakerUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List activeSpeakerUpdateDescriptor = - $convert.base64Decode('ChNBY3RpdmVTcGVha2VyVXBkYXRlEjAKCHNwZWFrZXJzGAEgAygLMhQubGl2ZWtpdC5TcGVha2' - 'VySW5mb1IIc3BlYWtlcnM6AhgB'); +final $typed_data.Uint8List activeSpeakerUpdateDescriptor = $convert.base64Decode( + 'ChNBY3RpdmVTcGVha2VyVXBkYXRlEjAKCHNwZWFrZXJzGAEgAygLMhQubGl2ZWtpdC5TcGVha2' + 'VySW5mb1IIc3BlYWtlcnM6AhgB'); @$core.Deprecated('Use speakerInfoDescriptor instead') const SpeakerInfo$json = { @@ -808,9 +1133,9 @@ const SpeakerInfo$json = { }; /// Descriptor for `SpeakerInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List speakerInfoDescriptor = - $convert.base64Decode('CgtTcGVha2VySW5mbxIQCgNzaWQYASABKAlSA3NpZBIUCgVsZXZlbBgCIAEoAlIFbGV2ZWwSFg' - 'oGYWN0aXZlGAMgASgIUgZhY3RpdmU='); +final $typed_data.Uint8List speakerInfoDescriptor = $convert.base64Decode( + 'CgtTcGVha2VySW5mbxIQCgNzaWQYASABKAlSA3NpZBIUCgVsZXZlbBgCIAEoAlIFbGV2ZWwSFg' + 'oGYWN0aXZlGAMgASgIUgZhY3RpdmU='); @$core.Deprecated('Use userPacketDescriptor instead') const UserPacket$json = { @@ -851,8 +1176,24 @@ const UserPacket$json = { }, {'1': 'topic', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'topic', '17': true}, {'1': 'id', '3': 8, '4': 1, '5': 9, '9': 1, '10': 'id', '17': true}, - {'1': 'start_time', '3': 9, '4': 1, '5': 4, '9': 2, '10': 'startTime', '17': true}, - {'1': 'end_time', '3': 10, '4': 1, '5': 4, '9': 3, '10': 'endTime', '17': true}, + { + '1': 'start_time', + '3': 9, + '4': 1, + '5': 4, + '9': 2, + '10': 'startTime', + '17': true + }, + { + '1': 'end_time', + '3': 10, + '4': 1, + '5': 4, + '9': 3, + '10': 'endTime', + '17': true + }, {'1': 'nonce', '3': 11, '4': 1, '5': 12, '10': 'nonce'}, ], '8': [ @@ -864,15 +1205,15 @@ const UserPacket$json = { }; /// Descriptor for `UserPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List userPacketDescriptor = - $convert.base64Decode('CgpVc2VyUGFja2V0EisKD3BhcnRpY2lwYW50X3NpZBgBIAEoCUICGAFSDnBhcnRpY2lwYW50U2' - 'lkEjUKFHBhcnRpY2lwYW50X2lkZW50aXR5GAUgASgJQgIYAVITcGFydGljaXBhbnRJZGVudGl0' - 'eRIYCgdwYXlsb2FkGAIgASgMUgdwYXlsb2FkEi0KEGRlc3RpbmF0aW9uX3NpZHMYAyADKAlCAh' - 'gBUg9kZXN0aW5hdGlvblNpZHMSOQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgGIAMoCUICGAFS' - 'FWRlc3RpbmF0aW9uSWRlbnRpdGllcxIZCgV0b3BpYxgEIAEoCUgAUgV0b3BpY4gBARITCgJpZB' - 'gIIAEoCUgBUgJpZIgBARIiCgpzdGFydF90aW1lGAkgASgESAJSCXN0YXJ0VGltZYgBARIeCghl' - 'bmRfdGltZRgKIAEoBEgDUgdlbmRUaW1liAEBEhQKBW5vbmNlGAsgASgMUgVub25jZUIICgZfdG' - '9waWNCBQoDX2lkQg0KC19zdGFydF90aW1lQgsKCV9lbmRfdGltZQ=='); +final $typed_data.Uint8List userPacketDescriptor = $convert.base64Decode( + 'CgpVc2VyUGFja2V0EisKD3BhcnRpY2lwYW50X3NpZBgBIAEoCUICGAFSDnBhcnRpY2lwYW50U2' + 'lkEjUKFHBhcnRpY2lwYW50X2lkZW50aXR5GAUgASgJQgIYAVITcGFydGljaXBhbnRJZGVudGl0' + 'eRIYCgdwYXlsb2FkGAIgASgMUgdwYXlsb2FkEi0KEGRlc3RpbmF0aW9uX3NpZHMYAyADKAlCAh' + 'gBUg9kZXN0aW5hdGlvblNpZHMSOQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgGIAMoCUICGAFS' + 'FWRlc3RpbmF0aW9uSWRlbnRpdGllcxIZCgV0b3BpYxgEIAEoCUgAUgV0b3BpY4gBARITCgJpZB' + 'gIIAEoCUgBUgJpZIgBARIiCgpzdGFydF90aW1lGAkgASgESAJSCXN0YXJ0VGltZYgBARIeCghl' + 'bmRfdGltZRgKIAEoBEgDUgdlbmRUaW1liAEBEhQKBW5vbmNlGAsgASgMUgVub25jZUIICgZfdG' + '9waWNCBQoDX2lkQg0KC19zdGFydF90aW1lQgsKCV9lbmRfdGltZQ=='); @$core.Deprecated('Use sipDTMFDescriptor instead') const SipDTMF$json = { @@ -884,25 +1225,38 @@ const SipDTMF$json = { }; /// Descriptor for `SipDTMF`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sipDTMFDescriptor = - $convert.base64Decode('CgdTaXBEVE1GEhIKBGNvZGUYAyABKA1SBGNvZGUSFAoFZGlnaXQYBCABKAlSBWRpZ2l0'); +final $typed_data.Uint8List sipDTMFDescriptor = $convert.base64Decode( + 'CgdTaXBEVE1GEhIKBGNvZGUYAyABKA1SBGNvZGUSFAoFZGlnaXQYBCABKAlSBWRpZ2l0'); @$core.Deprecated('Use transcriptionDescriptor instead') const Transcription$json = { '1': 'Transcription', '2': [ - {'1': 'transcribed_participant_identity', '3': 2, '4': 1, '5': 9, '10': 'transcribedParticipantIdentity'}, + { + '1': 'transcribed_participant_identity', + '3': 2, + '4': 1, + '5': 9, + '10': 'transcribedParticipantIdentity' + }, {'1': 'track_id', '3': 3, '4': 1, '5': 9, '10': 'trackId'}, - {'1': 'segments', '3': 4, '4': 3, '5': 11, '6': '.livekit.TranscriptionSegment', '10': 'segments'}, + { + '1': 'segments', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.TranscriptionSegment', + '10': 'segments' + }, ], }; /// Descriptor for `Transcription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transcriptionDescriptor = - $convert.base64Decode('Cg1UcmFuc2NyaXB0aW9uEkgKIHRyYW5zY3JpYmVkX3BhcnRpY2lwYW50X2lkZW50aXR5GAIgAS' - 'gJUh50cmFuc2NyaWJlZFBhcnRpY2lwYW50SWRlbnRpdHkSGQoIdHJhY2tfaWQYAyABKAlSB3Ry' - 'YWNrSWQSOQoIc2VnbWVudHMYBCADKAsyHS5saXZla2l0LlRyYW5zY3JpcHRpb25TZWdtZW50Ug' - 'hzZWdtZW50cw=='); +final $typed_data.Uint8List transcriptionDescriptor = $convert.base64Decode( + 'Cg1UcmFuc2NyaXB0aW9uEkgKIHRyYW5zY3JpYmVkX3BhcnRpY2lwYW50X2lkZW50aXR5GAIgAS' + 'gJUh50cmFuc2NyaWJlZFBhcnRpY2lwYW50SWRlbnRpdHkSGQoIdHJhY2tfaWQYAyABKAlSB3Ry' + 'YWNrSWQSOQoIc2VnbWVudHMYBCADKAsyHS5saXZla2l0LlRyYW5zY3JpcHRpb25TZWdtZW50Ug' + 'hzZWdtZW50cw=='); @$core.Deprecated('Use transcriptionSegmentDescriptor instead') const TranscriptionSegment$json = { @@ -918,11 +1272,11 @@ const TranscriptionSegment$json = { }; /// Descriptor for `TranscriptionSegment`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transcriptionSegmentDescriptor = - $convert.base64Decode('ChRUcmFuc2NyaXB0aW9uU2VnbWVudBIOCgJpZBgBIAEoCVICaWQSEgoEdGV4dBgCIAEoCVIEdG' - 'V4dBIdCgpzdGFydF90aW1lGAMgASgEUglzdGFydFRpbWUSGQoIZW5kX3RpbWUYBCABKARSB2Vu' - 'ZFRpbWUSFAoFZmluYWwYBSABKAhSBWZpbmFsEhoKCGxhbmd1YWdlGAYgASgJUghsYW5ndWFnZQ' - '=='); +final $typed_data.Uint8List transcriptionSegmentDescriptor = $convert.base64Decode( + 'ChRUcmFuc2NyaXB0aW9uU2VnbWVudBIOCgJpZBgBIAEoCVICaWQSEgoEdGV4dBgCIAEoCVIEdG' + 'V4dBIdCgpzdGFydF90aW1lGAMgASgEUglzdGFydFRpbWUSGQoIZW5kX3RpbWUYBCABKARSB2Vu' + 'ZFRpbWUSFAoFZmluYWwYBSABKAhSBWZpbmFsEhoKCGxhbmd1YWdlGAYgASgJUghsYW5ndWFnZQ' + '=='); @$core.Deprecated('Use chatMessageDescriptor instead') const ChatMessage$json = { @@ -930,7 +1284,15 @@ const ChatMessage$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, - {'1': 'edit_timestamp', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'editTimestamp', '17': true}, + { + '1': 'edit_timestamp', + '3': 3, + '4': 1, + '5': 3, + '9': 0, + '10': 'editTimestamp', + '17': true + }, {'1': 'message', '3': 4, '4': 1, '5': 9, '10': 'message'}, {'1': 'deleted', '3': 5, '4': 1, '5': 8, '10': 'deleted'}, {'1': 'generated', '3': 6, '4': 1, '5': 8, '10': 'generated'}, @@ -941,11 +1303,11 @@ const ChatMessage$json = { }; /// Descriptor for `ChatMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List chatMessageDescriptor = - $convert.base64Decode('CgtDaGF0TWVzc2FnZRIOCgJpZBgBIAEoCVICaWQSHAoJdGltZXN0YW1wGAIgASgDUgl0aW1lc3' - 'RhbXASKgoOZWRpdF90aW1lc3RhbXAYAyABKANIAFINZWRpdFRpbWVzdGFtcIgBARIYCgdtZXNz' - 'YWdlGAQgASgJUgdtZXNzYWdlEhgKB2RlbGV0ZWQYBSABKAhSB2RlbGV0ZWQSHAoJZ2VuZXJhdG' - 'VkGAYgASgIUglnZW5lcmF0ZWRCEQoPX2VkaXRfdGltZXN0YW1w'); +final $typed_data.Uint8List chatMessageDescriptor = $convert.base64Decode( + 'CgtDaGF0TWVzc2FnZRIOCgJpZBgBIAEoCVICaWQSHAoJdGltZXN0YW1wGAIgASgDUgl0aW1lc3' + 'RhbXASKgoOZWRpdF90aW1lc3RhbXAYAyABKANIAFINZWRpdFRpbWVzdGFtcIgBARIYCgdtZXNz' + 'YWdlGAQgASgJUgdtZXNzYWdlEhgKB2RlbGV0ZWQYBSABKAhSB2RlbGV0ZWQSHAoJZ2VuZXJhdG' + 'VkGAYgASgIUglnZW5lcmF0ZWRCEQoPX2VkaXRfdGltZXN0YW1w'); @$core.Deprecated('Use rpcRequestDescriptor instead') const RpcRequest$json = { @@ -954,16 +1316,22 @@ const RpcRequest$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'method', '3': 2, '4': 1, '5': 9, '10': 'method'}, {'1': 'payload', '3': 3, '4': 1, '5': 9, '10': 'payload'}, - {'1': 'response_timeout_ms', '3': 4, '4': 1, '5': 13, '10': 'responseTimeoutMs'}, + { + '1': 'response_timeout_ms', + '3': 4, + '4': 1, + '5': 13, + '10': 'responseTimeoutMs' + }, {'1': 'version', '3': 5, '4': 1, '5': 13, '10': 'version'}, ], }; /// Descriptor for `RpcRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcRequestDescriptor = - $convert.base64Decode('CgpScGNSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZBIYCg' - 'dwYXlsb2FkGAMgASgJUgdwYXlsb2FkEi4KE3Jlc3BvbnNlX3RpbWVvdXRfbXMYBCABKA1SEXJl' - 'c3BvbnNlVGltZW91dE1zEhgKB3ZlcnNpb24YBSABKA1SB3ZlcnNpb24='); +final $typed_data.Uint8List rpcRequestDescriptor = $convert.base64Decode( + 'CgpScGNSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZBIYCg' + 'dwYXlsb2FkGAMgASgJUgdwYXlsb2FkEi4KE3Jlc3BvbnNlX3RpbWVvdXRfbXMYBCABKA1SEXJl' + 'c3BvbnNlVGltZW91dE1zEhgKB3ZlcnNpb24YBSABKA1SB3ZlcnNpb24='); @$core.Deprecated('Use rpcAckDescriptor instead') const RpcAck$json = { @@ -974,8 +1342,8 @@ const RpcAck$json = { }; /// Descriptor for `RpcAck`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcAckDescriptor = - $convert.base64Decode('CgZScGNBY2sSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElk'); +final $typed_data.Uint8List rpcAckDescriptor = $convert + .base64Decode('CgZScGNBY2sSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElk'); @$core.Deprecated('Use rpcResponseDescriptor instead') const RpcResponse$json = { @@ -983,7 +1351,15 @@ const RpcResponse$json = { '2': [ {'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'}, {'1': 'payload', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'payload'}, - {'1': 'error', '3': 3, '4': 1, '5': 11, '6': '.livekit.RpcError', '9': 0, '10': 'error'}, + { + '1': 'error', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.RpcError', + '9': 0, + '10': 'error' + }, ], '8': [ {'1': 'value'}, @@ -991,10 +1367,10 @@ const RpcResponse$json = { }; /// Descriptor for `RpcResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcResponseDescriptor = - $convert.base64Decode('CgtScGNSZXNwb25zZRIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSGgoHcGF5bG9hZB' - 'gCIAEoCUgAUgdwYXlsb2FkEikKBWVycm9yGAMgASgLMhEubGl2ZWtpdC5ScGNFcnJvckgAUgVl' - 'cnJvckIHCgV2YWx1ZQ=='); +final $typed_data.Uint8List rpcResponseDescriptor = $convert.base64Decode( + 'CgtScGNSZXNwb25zZRIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSGgoHcGF5bG9hZB' + 'gCIAEoCUgAUgdwYXlsb2FkEikKBWVycm9yGAMgASgLMhEubGl2ZWtpdC5ScGNFcnJvckgAUgVl' + 'cnJvckIHCgV2YWx1ZQ=='); @$core.Deprecated('Use rpcErrorDescriptor instead') const RpcError$json = { @@ -1007,9 +1383,9 @@ const RpcError$json = { }; /// Descriptor for `RpcError`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcErrorDescriptor = - $convert.base64Decode('CghScGNFcnJvchISCgRjb2RlGAEgASgNUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2' - 'USEgoEZGF0YRgDIAEoCVIEZGF0YQ=='); +final $typed_data.Uint8List rpcErrorDescriptor = $convert.base64Decode( + 'CghScGNFcnJvchISCgRjb2RlGAEgASgNUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2' + 'USEgoEZGF0YRgDIAEoCVIEZGF0YQ=='); @$core.Deprecated('Use participantTracksDescriptor instead') const ParticipantTracks$json = { @@ -1021,15 +1397,22 @@ const ParticipantTracks$json = { }; /// Descriptor for `ParticipantTracks`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantTracksDescriptor = - $convert.base64Decode('ChFQYXJ0aWNpcGFudFRyYWNrcxInCg9wYXJ0aWNpcGFudF9zaWQYASABKAlSDnBhcnRpY2lwYW' - '50U2lkEh0KCnRyYWNrX3NpZHMYAiADKAlSCXRyYWNrU2lkcw=='); +final $typed_data.Uint8List participantTracksDescriptor = $convert.base64Decode( + 'ChFQYXJ0aWNpcGFudFRyYWNrcxInCg9wYXJ0aWNpcGFudF9zaWQYASABKAlSDnBhcnRpY2lwYW' + '50U2lkEh0KCnRyYWNrX3NpZHMYAiADKAlSCXRyYWNrU2lkcw=='); @$core.Deprecated('Use serverInfoDescriptor instead') const ServerInfo$json = { '1': 'ServerInfo', '2': [ - {'1': 'edition', '3': 1, '4': 1, '5': 14, '6': '.livekit.ServerInfo.Edition', '10': 'edition'}, + { + '1': 'edition', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.ServerInfo.Edition', + '10': 'edition' + }, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'protocol', '3': 3, '4': 1, '5': 5, '10': 'protocol'}, {'1': 'region', '3': 4, '4': 1, '5': 9, '10': 'region'}, @@ -1050,18 +1433,25 @@ const ServerInfo_Edition$json = { }; /// Descriptor for `ServerInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serverInfoDescriptor = - $convert.base64Decode('CgpTZXJ2ZXJJbmZvEjUKB2VkaXRpb24YASABKA4yGy5saXZla2l0LlNlcnZlckluZm8uRWRpdG' - 'lvblIHZWRpdGlvbhIYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgF' - 'Ughwcm90b2NvbBIWCgZyZWdpb24YBCABKAlSBnJlZ2lvbhIXCgdub2RlX2lkGAUgASgJUgZub2' - 'RlSWQSHQoKZGVidWdfaW5mbxgGIAEoCVIJZGVidWdJbmZvEiUKDmFnZW50X3Byb3RvY29sGAcg' - 'ASgFUg1hZ2VudFByb3RvY29sIiIKB0VkaXRpb24SDAoIU3RhbmRhcmQQABIJCgVDbG91ZBAB'); +final $typed_data.Uint8List serverInfoDescriptor = $convert.base64Decode( + 'CgpTZXJ2ZXJJbmZvEjUKB2VkaXRpb24YASABKA4yGy5saXZla2l0LlNlcnZlckluZm8uRWRpdG' + 'lvblIHZWRpdGlvbhIYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgF' + 'Ughwcm90b2NvbBIWCgZyZWdpb24YBCABKAlSBnJlZ2lvbhIXCgdub2RlX2lkGAUgASgJUgZub2' + 'RlSWQSHQoKZGVidWdfaW5mbxgGIAEoCVIJZGVidWdJbmZvEiUKDmFnZW50X3Byb3RvY29sGAcg' + 'ASgFUg1hZ2VudFByb3RvY29sIiIKB0VkaXRpb24SDAoIU3RhbmRhcmQQABIJCgVDbG91ZBAB'); @$core.Deprecated('Use clientInfoDescriptor instead') const ClientInfo$json = { '1': 'ClientInfo', '2': [ - {'1': 'sdk', '3': 1, '4': 1, '5': 14, '6': '.livekit.ClientInfo.SDK', '10': 'sdk'}, + { + '1': 'sdk', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.ClientInfo.SDK', + '10': 'sdk' + }, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'protocol', '3': 3, '4': 1, '5': 5, '10': 'protocol'}, {'1': 'os', '3': 4, '4': 1, '5': 9, '10': 'os'}, @@ -1099,72 +1489,142 @@ const ClientInfo_SDK$json = { }; /// Descriptor for `ClientInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientInfoDescriptor = - $convert.base64Decode('CgpDbGllbnRJbmZvEikKA3NkaxgBIAEoDjIXLmxpdmVraXQuQ2xpZW50SW5mby5TREtSA3Nkax' - 'IYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgFUghwcm90b2NvbBIO' - 'CgJvcxgEIAEoCVICb3MSHQoKb3NfdmVyc2lvbhgFIAEoCVIJb3NWZXJzaW9uEiEKDGRldmljZV' - '9tb2RlbBgGIAEoCVILZGV2aWNlTW9kZWwSGAoHYnJvd3NlchgHIAEoCVIHYnJvd3NlchInCg9i' - 'cm93c2VyX3ZlcnNpb24YCCABKAlSDmJyb3dzZXJWZXJzaW9uEhgKB2FkZHJlc3MYCSABKAlSB2' - 'FkZHJlc3MSGAoHbmV0d29yaxgKIAEoCVIHbmV0d29yaxIdCgpvdGhlcl9zZGtzGAsgASgJUglv' - 'dGhlclNka3MiswEKA1NESxILCgdVTktOT1dOEAASBgoCSlMQARIJCgVTV0lGVBACEgsKB0FORF' - 'JPSUQQAxILCgdGTFVUVEVSEAQSBgoCR08QBRIJCgVVTklUWRAGEhAKDFJFQUNUX05BVElWRRAH' - 'EggKBFJVU1QQCBIKCgZQWVRIT04QCRIHCgNDUFAQChINCglVTklUWV9XRUIQCxIICgROT0RFEA' - 'wSCgoGVU5SRUFMEA0SCQoFRVNQMzIQDg=='); +final $typed_data.Uint8List clientInfoDescriptor = $convert.base64Decode( + 'CgpDbGllbnRJbmZvEikKA3NkaxgBIAEoDjIXLmxpdmVraXQuQ2xpZW50SW5mby5TREtSA3Nkax' + 'IYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgFUghwcm90b2NvbBIO' + 'CgJvcxgEIAEoCVICb3MSHQoKb3NfdmVyc2lvbhgFIAEoCVIJb3NWZXJzaW9uEiEKDGRldmljZV' + '9tb2RlbBgGIAEoCVILZGV2aWNlTW9kZWwSGAoHYnJvd3NlchgHIAEoCVIHYnJvd3NlchInCg9i' + 'cm93c2VyX3ZlcnNpb24YCCABKAlSDmJyb3dzZXJWZXJzaW9uEhgKB2FkZHJlc3MYCSABKAlSB2' + 'FkZHJlc3MSGAoHbmV0d29yaxgKIAEoCVIHbmV0d29yaxIdCgpvdGhlcl9zZGtzGAsgASgJUglv' + 'dGhlclNka3MiswEKA1NESxILCgdVTktOT1dOEAASBgoCSlMQARIJCgVTV0lGVBACEgsKB0FORF' + 'JPSUQQAxILCgdGTFVUVEVSEAQSBgoCR08QBRIJCgVVTklUWRAGEhAKDFJFQUNUX05BVElWRRAH' + 'EggKBFJVU1QQCBIKCgZQWVRIT04QCRIHCgNDUFAQChINCglVTklUWV9XRUIQCxIICgROT0RFEA' + 'wSCgoGVU5SRUFMEA0SCQoFRVNQMzIQDg=='); @$core.Deprecated('Use clientConfigurationDescriptor instead') const ClientConfiguration$json = { '1': 'ClientConfiguration', '2': [ - {'1': 'video', '3': 1, '4': 1, '5': 11, '6': '.livekit.VideoConfiguration', '10': 'video'}, - {'1': 'screen', '3': 2, '4': 1, '5': 11, '6': '.livekit.VideoConfiguration', '10': 'screen'}, - {'1': 'resume_connection', '3': 3, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'resumeConnection'}, - {'1': 'disabled_codecs', '3': 4, '4': 1, '5': 11, '6': '.livekit.DisabledCodecs', '10': 'disabledCodecs'}, - {'1': 'force_relay', '3': 5, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'forceRelay'}, + { + '1': 'video', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.VideoConfiguration', + '10': 'video' + }, + { + '1': 'screen', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.VideoConfiguration', + '10': 'screen' + }, + { + '1': 'resume_connection', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.ClientConfigSetting', + '10': 'resumeConnection' + }, + { + '1': 'disabled_codecs', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.DisabledCodecs', + '10': 'disabledCodecs' + }, + { + '1': 'force_relay', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.ClientConfigSetting', + '10': 'forceRelay' + }, ], }; /// Descriptor for `ClientConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientConfigurationDescriptor = - $convert.base64Decode('ChNDbGllbnRDb25maWd1cmF0aW9uEjEKBXZpZGVvGAEgASgLMhsubGl2ZWtpdC5WaWRlb0Nvbm' - 'ZpZ3VyYXRpb25SBXZpZGVvEjMKBnNjcmVlbhgCIAEoCzIbLmxpdmVraXQuVmlkZW9Db25maWd1' - 'cmF0aW9uUgZzY3JlZW4SSQoRcmVzdW1lX2Nvbm5lY3Rpb24YAyABKA4yHC5saXZla2l0LkNsaW' - 'VudENvbmZpZ1NldHRpbmdSEHJlc3VtZUNvbm5lY3Rpb24SQAoPZGlzYWJsZWRfY29kZWNzGAQg' - 'ASgLMhcubGl2ZWtpdC5EaXNhYmxlZENvZGVjc1IOZGlzYWJsZWRDb2RlY3MSPQoLZm9yY2Vfcm' - 'VsYXkYBSABKA4yHC5saXZla2l0LkNsaWVudENvbmZpZ1NldHRpbmdSCmZvcmNlUmVsYXk='); +final $typed_data.Uint8List clientConfigurationDescriptor = $convert.base64Decode( + 'ChNDbGllbnRDb25maWd1cmF0aW9uEjEKBXZpZGVvGAEgASgLMhsubGl2ZWtpdC5WaWRlb0Nvbm' + 'ZpZ3VyYXRpb25SBXZpZGVvEjMKBnNjcmVlbhgCIAEoCzIbLmxpdmVraXQuVmlkZW9Db25maWd1' + 'cmF0aW9uUgZzY3JlZW4SSQoRcmVzdW1lX2Nvbm5lY3Rpb24YAyABKA4yHC5saXZla2l0LkNsaW' + 'VudENvbmZpZ1NldHRpbmdSEHJlc3VtZUNvbm5lY3Rpb24SQAoPZGlzYWJsZWRfY29kZWNzGAQg' + 'ASgLMhcubGl2ZWtpdC5EaXNhYmxlZENvZGVjc1IOZGlzYWJsZWRDb2RlY3MSPQoLZm9yY2Vfcm' + 'VsYXkYBSABKA4yHC5saXZla2l0LkNsaWVudENvbmZpZ1NldHRpbmdSCmZvcmNlUmVsYXk='); @$core.Deprecated('Use videoConfigurationDescriptor instead') const VideoConfiguration$json = { '1': 'VideoConfiguration', '2': [ - {'1': 'hardware_encoder', '3': 1, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'hardwareEncoder'}, + { + '1': 'hardware_encoder', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.ClientConfigSetting', + '10': 'hardwareEncoder' + }, ], }; /// Descriptor for `VideoConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoConfigurationDescriptor = - $convert.base64Decode('ChJWaWRlb0NvbmZpZ3VyYXRpb24SRwoQaGFyZHdhcmVfZW5jb2RlchgBIAEoDjIcLmxpdmVraX' - 'QuQ2xpZW50Q29uZmlnU2V0dGluZ1IPaGFyZHdhcmVFbmNvZGVy'); +final $typed_data.Uint8List videoConfigurationDescriptor = $convert.base64Decode( + 'ChJWaWRlb0NvbmZpZ3VyYXRpb24SRwoQaGFyZHdhcmVfZW5jb2RlchgBIAEoDjIcLmxpdmVraX' + 'QuQ2xpZW50Q29uZmlnU2V0dGluZ1IPaGFyZHdhcmVFbmNvZGVy'); @$core.Deprecated('Use disabledCodecsDescriptor instead') const DisabledCodecs$json = { '1': 'DisabledCodecs', '2': [ - {'1': 'codecs', '3': 1, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'codecs'}, - {'1': 'publish', '3': 2, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'publish'}, + { + '1': 'codecs', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'codecs' + }, + { + '1': 'publish', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'publish' + }, ], }; /// Descriptor for `DisabledCodecs`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disabledCodecsDescriptor = - $convert.base64Decode('Cg5EaXNhYmxlZENvZGVjcxImCgZjb2RlY3MYASADKAsyDi5saXZla2l0LkNvZGVjUgZjb2RlY3' - 'MSKAoHcHVibGlzaBgCIAMoCzIOLmxpdmVraXQuQ29kZWNSB3B1Ymxpc2g='); +final $typed_data.Uint8List disabledCodecsDescriptor = $convert.base64Decode( + 'Cg5EaXNhYmxlZENvZGVjcxImCgZjb2RlY3MYASADKAsyDi5saXZla2l0LkNvZGVjUgZjb2RlY3' + 'MSKAoHcHVibGlzaBgCIAMoCzIOLmxpdmVraXQuQ29kZWNSB3B1Ymxpc2g='); @$core.Deprecated('Use rTPDriftDescriptor instead') const RTPDrift$json = { '1': 'RTPDrift', '2': [ - {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, + { + '1': 'start_time', + '3': 1, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'startTime' + }, + { + '1': 'end_time', + '3': 2, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'endTime' + }, {'1': 'duration', '3': 3, '4': 1, '5': 1, '10': 'duration'}, {'1': 'start_timestamp', '3': 4, '4': 1, '5': 4, '10': 'startTimestamp'}, {'1': 'end_timestamp', '3': 5, '4': 1, '5': 4, '10': 'endTimestamp'}, @@ -1176,21 +1636,35 @@ const RTPDrift$json = { }; /// Descriptor for `RTPDrift`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPDriftDescriptor = - $convert.base64Decode('CghSVFBEcmlmdBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SJwoPc3RhcnRfdGltZX' - 'N0YW1wGAQgASgEUg5zdGFydFRpbWVzdGFtcBIjCg1lbmRfdGltZXN0YW1wGAUgASgEUgxlbmRU' - 'aW1lc3RhbXASJgoPcnRwX2Nsb2NrX3RpY2tzGAYgASgEUg1ydHBDbG9ja1RpY2tzEiMKDWRyaW' - 'Z0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' - 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); +final $typed_data.Uint8List rTPDriftDescriptor = $convert.base64Decode( + 'CghSVFBEcmlmdBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' + 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' + 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SJwoPc3RhcnRfdGltZX' + 'N0YW1wGAQgASgEUg5zdGFydFRpbWVzdGFtcBIjCg1lbmRfdGltZXN0YW1wGAUgASgEUgxlbmRU' + 'aW1lc3RhbXASJgoPcnRwX2Nsb2NrX3RpY2tzGAYgASgEUg1ydHBDbG9ja1RpY2tzEiMKDWRyaW' + 'Z0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' + 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); @$core.Deprecated('Use rTPStatsDescriptor instead') const RTPStats$json = { '1': 'RTPStats', '2': [ - {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, + { + '1': 'start_time', + '3': 1, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'startTime' + }, + { + '1': 'end_time', + '3': 2, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'endTime' + }, {'1': 'duration', '3': 3, '4': 1, '5': 1, '10': 'duration'}, {'1': 'packets', '3': 4, '4': 1, '5': 13, '10': 'packets'}, {'1': 'packet_rate', '3': 5, '4': 1, '5': 1, '10': 'packetRate'}, @@ -1199,41 +1673,152 @@ const RTPStats$json = { {'1': 'bitrate', '3': 7, '4': 1, '5': 1, '10': 'bitrate'}, {'1': 'packets_lost', '3': 8, '4': 1, '5': 13, '10': 'packetsLost'}, {'1': 'packet_loss_rate', '3': 9, '4': 1, '5': 1, '10': 'packetLossRate'}, - {'1': 'packet_loss_percentage', '3': 10, '4': 1, '5': 2, '10': 'packetLossPercentage'}, - {'1': 'packets_duplicate', '3': 11, '4': 1, '5': 13, '10': 'packetsDuplicate'}, - {'1': 'packet_duplicate_rate', '3': 12, '4': 1, '5': 1, '10': 'packetDuplicateRate'}, + { + '1': 'packet_loss_percentage', + '3': 10, + '4': 1, + '5': 2, + '10': 'packetLossPercentage' + }, + { + '1': 'packets_duplicate', + '3': 11, + '4': 1, + '5': 13, + '10': 'packetsDuplicate' + }, + { + '1': 'packet_duplicate_rate', + '3': 12, + '4': 1, + '5': 1, + '10': 'packetDuplicateRate' + }, {'1': 'bytes_duplicate', '3': 13, '4': 1, '5': 4, '10': 'bytesDuplicate'}, - {'1': 'header_bytes_duplicate', '3': 40, '4': 1, '5': 4, '10': 'headerBytesDuplicate'}, - {'1': 'bitrate_duplicate', '3': 14, '4': 1, '5': 1, '10': 'bitrateDuplicate'}, + { + '1': 'header_bytes_duplicate', + '3': 40, + '4': 1, + '5': 4, + '10': 'headerBytesDuplicate' + }, + { + '1': 'bitrate_duplicate', + '3': 14, + '4': 1, + '5': 1, + '10': 'bitrateDuplicate' + }, {'1': 'packets_padding', '3': 15, '4': 1, '5': 13, '10': 'packetsPadding'}, - {'1': 'packet_padding_rate', '3': 16, '4': 1, '5': 1, '10': 'packetPaddingRate'}, + { + '1': 'packet_padding_rate', + '3': 16, + '4': 1, + '5': 1, + '10': 'packetPaddingRate' + }, {'1': 'bytes_padding', '3': 17, '4': 1, '5': 4, '10': 'bytesPadding'}, - {'1': 'header_bytes_padding', '3': 41, '4': 1, '5': 4, '10': 'headerBytesPadding'}, + { + '1': 'header_bytes_padding', + '3': 41, + '4': 1, + '5': 4, + '10': 'headerBytesPadding' + }, {'1': 'bitrate_padding', '3': 18, '4': 1, '5': 1, '10': 'bitratePadding'}, - {'1': 'packets_out_of_order', '3': 19, '4': 1, '5': 13, '10': 'packetsOutOfOrder'}, + { + '1': 'packets_out_of_order', + '3': 19, + '4': 1, + '5': 13, + '10': 'packetsOutOfOrder' + }, {'1': 'frames', '3': 20, '4': 1, '5': 13, '10': 'frames'}, {'1': 'frame_rate', '3': 21, '4': 1, '5': 1, '10': 'frameRate'}, {'1': 'jitter_current', '3': 22, '4': 1, '5': 1, '10': 'jitterCurrent'}, {'1': 'jitter_max', '3': 23, '4': 1, '5': 1, '10': 'jitterMax'}, - {'1': 'gap_histogram', '3': 24, '4': 3, '5': 11, '6': '.livekit.RTPStats.GapHistogramEntry', '10': 'gapHistogram'}, + { + '1': 'gap_histogram', + '3': 24, + '4': 3, + '5': 11, + '6': '.livekit.RTPStats.GapHistogramEntry', + '10': 'gapHistogram' + }, {'1': 'nacks', '3': 25, '4': 1, '5': 13, '10': 'nacks'}, {'1': 'nack_acks', '3': 37, '4': 1, '5': 13, '10': 'nackAcks'}, {'1': 'nack_misses', '3': 26, '4': 1, '5': 13, '10': 'nackMisses'}, {'1': 'nack_repeated', '3': 38, '4': 1, '5': 13, '10': 'nackRepeated'}, {'1': 'plis', '3': 27, '4': 1, '5': 13, '10': 'plis'}, - {'1': 'last_pli', '3': 28, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastPli'}, + { + '1': 'last_pli', + '3': 28, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastPli' + }, {'1': 'firs', '3': 29, '4': 1, '5': 13, '10': 'firs'}, - {'1': 'last_fir', '3': 30, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastFir'}, + { + '1': 'last_fir', + '3': 30, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastFir' + }, {'1': 'rtt_current', '3': 31, '4': 1, '5': 13, '10': 'rttCurrent'}, {'1': 'rtt_max', '3': 32, '4': 1, '5': 13, '10': 'rttMax'}, {'1': 'key_frames', '3': 33, '4': 1, '5': 13, '10': 'keyFrames'}, - {'1': 'last_key_frame', '3': 34, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastKeyFrame'}, + { + '1': 'last_key_frame', + '3': 34, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastKeyFrame' + }, {'1': 'layer_lock_plis', '3': 35, '4': 1, '5': 13, '10': 'layerLockPlis'}, - {'1': 'last_layer_lock_pli', '3': 36, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastLayerLockPli'}, - {'1': 'packet_drift', '3': 44, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'packetDrift'}, - {'1': 'ntp_report_drift', '3': 45, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'ntpReportDrift'}, - {'1': 'rebased_report_drift', '3': 46, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'rebasedReportDrift'}, - {'1': 'received_report_drift', '3': 47, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'receivedReportDrift'}, + { + '1': 'last_layer_lock_pli', + '3': 36, + '4': 1, + '5': 11, + '6': '.google.protobuf.Timestamp', + '10': 'lastLayerLockPli' + }, + { + '1': 'packet_drift', + '3': 44, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'packetDrift' + }, + { + '1': 'ntp_report_drift', + '3': 45, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'ntpReportDrift' + }, + { + '1': 'rebased_report_drift', + '3': 46, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'rebasedReportDrift' + }, + { + '1': 'received_report_drift', + '3': 47, + '4': 1, + '5': 11, + '6': '.livekit.RTPDrift', + '10': 'receivedReportDrift' + }, ], '3': [RTPStats_GapHistogramEntry$json], }; @@ -1249,43 +1834,43 @@ const RTPStats_GapHistogramEntry$json = { }; /// Descriptor for `RTPStats`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPStatsDescriptor = - $convert.base64Decode('CghSVFBTdGF0cxI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SGAoHcGFja2V0cxgEIA' - 'EoDVIHcGFja2V0cxIfCgtwYWNrZXRfcmF0ZRgFIAEoAVIKcGFja2V0UmF0ZRIUCgVieXRlcxgG' - 'IAEoBFIFYnl0ZXMSIQoMaGVhZGVyX2J5dGVzGCcgASgEUgtoZWFkZXJCeXRlcxIYCgdiaXRyYX' - 'RlGAcgASgBUgdiaXRyYXRlEiEKDHBhY2tldHNfbG9zdBgIIAEoDVILcGFja2V0c0xvc3QSKAoQ' - 'cGFja2V0X2xvc3NfcmF0ZRgJIAEoAVIOcGFja2V0TG9zc1JhdGUSNAoWcGFja2V0X2xvc3NfcG' - 'VyY2VudGFnZRgKIAEoAlIUcGFja2V0TG9zc1BlcmNlbnRhZ2USKwoRcGFja2V0c19kdXBsaWNh' - 'dGUYCyABKA1SEHBhY2tldHNEdXBsaWNhdGUSMgoVcGFja2V0X2R1cGxpY2F0ZV9yYXRlGAwgAS' - 'gBUhNwYWNrZXREdXBsaWNhdGVSYXRlEicKD2J5dGVzX2R1cGxpY2F0ZRgNIAEoBFIOYnl0ZXNE' - 'dXBsaWNhdGUSNAoWaGVhZGVyX2J5dGVzX2R1cGxpY2F0ZRgoIAEoBFIUaGVhZGVyQnl0ZXNEdX' - 'BsaWNhdGUSKwoRYml0cmF0ZV9kdXBsaWNhdGUYDiABKAFSEGJpdHJhdGVEdXBsaWNhdGUSJwoP' - 'cGFja2V0c19wYWRkaW5nGA8gASgNUg5wYWNrZXRzUGFkZGluZxIuChNwYWNrZXRfcGFkZGluZ1' - '9yYXRlGBAgASgBUhFwYWNrZXRQYWRkaW5nUmF0ZRIjCg1ieXRlc19wYWRkaW5nGBEgASgEUgxi' - 'eXRlc1BhZGRpbmcSMAoUaGVhZGVyX2J5dGVzX3BhZGRpbmcYKSABKARSEmhlYWRlckJ5dGVzUG' - 'FkZGluZxInCg9iaXRyYXRlX3BhZGRpbmcYEiABKAFSDmJpdHJhdGVQYWRkaW5nEi8KFHBhY2tl' - 'dHNfb3V0X29mX29yZGVyGBMgASgNUhFwYWNrZXRzT3V0T2ZPcmRlchIWCgZmcmFtZXMYFCABKA' - '1SBmZyYW1lcxIdCgpmcmFtZV9yYXRlGBUgASgBUglmcmFtZVJhdGUSJQoOaml0dGVyX2N1cnJl' - 'bnQYFiABKAFSDWppdHRlckN1cnJlbnQSHQoKaml0dGVyX21heBgXIAEoAVIJaml0dGVyTWF4Ek' - 'gKDWdhcF9oaXN0b2dyYW0YGCADKAsyIy5saXZla2l0LlJUUFN0YXRzLkdhcEhpc3RvZ3JhbUVu' - 'dHJ5UgxnYXBIaXN0b2dyYW0SFAoFbmFja3MYGSABKA1SBW5hY2tzEhsKCW5hY2tfYWNrcxglIA' - 'EoDVIIbmFja0Fja3MSHwoLbmFja19taXNzZXMYGiABKA1SCm5hY2tNaXNzZXMSIwoNbmFja19y' - 'ZXBlYXRlZBgmIAEoDVIMbmFja1JlcGVhdGVkEhIKBHBsaXMYGyABKA1SBHBsaXMSNQoIbGFzdF' - '9wbGkYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdsYXN0UGxpEhIKBGZpcnMY' - 'HSABKA1SBGZpcnMSNQoIbGFzdF9maXIYHiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW' - '1wUgdsYXN0RmlyEh8KC3J0dF9jdXJyZW50GB8gASgNUgpydHRDdXJyZW50EhcKB3J0dF9tYXgY' - 'ICABKA1SBnJ0dE1heBIdCgprZXlfZnJhbWVzGCEgASgNUglrZXlGcmFtZXMSQAoObGFzdF9rZX' - 'lfZnJhbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgxsYXN0S2V5RnJhbWUS' - 'JgoPbGF5ZXJfbG9ja19wbGlzGCMgASgNUg1sYXllckxvY2tQbGlzEkkKE2xhc3RfbGF5ZXJfbG' - '9ja19wbGkYJCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYXN0TGF5ZXJMb2Nr' - 'UGxpEjQKDHBhY2tldF9kcmlmdBgsIAEoCzIRLmxpdmVraXQuUlRQRHJpZnRSC3BhY2tldERyaW' - 'Z0EjsKEG50cF9yZXBvcnRfZHJpZnQYLSABKAsyES5saXZla2l0LlJUUERyaWZ0Ug5udHBSZXBv' - 'cnREcmlmdBJDChRyZWJhc2VkX3JlcG9ydF9kcmlmdBguIAEoCzIRLmxpdmVraXQuUlRQRHJpZn' - 'RSEnJlYmFzZWRSZXBvcnREcmlmdBJFChVyZWNlaXZlZF9yZXBvcnRfZHJpZnQYLyABKAsyES5s' - 'aXZla2l0LlJUUERyaWZ0UhNyZWNlaXZlZFJlcG9ydERyaWZ0Gj8KEUdhcEhpc3RvZ3JhbUVudH' - 'J5EhAKA2tleRgBIAEoBVIDa2V5EhQKBXZhbHVlGAIgASgNUgV2YWx1ZToCOAE='); +final $typed_data.Uint8List rTPStatsDescriptor = $convert.base64Decode( + 'CghSVFBTdGF0cxI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' + 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' + 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SGAoHcGFja2V0cxgEIA' + 'EoDVIHcGFja2V0cxIfCgtwYWNrZXRfcmF0ZRgFIAEoAVIKcGFja2V0UmF0ZRIUCgVieXRlcxgG' + 'IAEoBFIFYnl0ZXMSIQoMaGVhZGVyX2J5dGVzGCcgASgEUgtoZWFkZXJCeXRlcxIYCgdiaXRyYX' + 'RlGAcgASgBUgdiaXRyYXRlEiEKDHBhY2tldHNfbG9zdBgIIAEoDVILcGFja2V0c0xvc3QSKAoQ' + 'cGFja2V0X2xvc3NfcmF0ZRgJIAEoAVIOcGFja2V0TG9zc1JhdGUSNAoWcGFja2V0X2xvc3NfcG' + 'VyY2VudGFnZRgKIAEoAlIUcGFja2V0TG9zc1BlcmNlbnRhZ2USKwoRcGFja2V0c19kdXBsaWNh' + 'dGUYCyABKA1SEHBhY2tldHNEdXBsaWNhdGUSMgoVcGFja2V0X2R1cGxpY2F0ZV9yYXRlGAwgAS' + 'gBUhNwYWNrZXREdXBsaWNhdGVSYXRlEicKD2J5dGVzX2R1cGxpY2F0ZRgNIAEoBFIOYnl0ZXNE' + 'dXBsaWNhdGUSNAoWaGVhZGVyX2J5dGVzX2R1cGxpY2F0ZRgoIAEoBFIUaGVhZGVyQnl0ZXNEdX' + 'BsaWNhdGUSKwoRYml0cmF0ZV9kdXBsaWNhdGUYDiABKAFSEGJpdHJhdGVEdXBsaWNhdGUSJwoP' + 'cGFja2V0c19wYWRkaW5nGA8gASgNUg5wYWNrZXRzUGFkZGluZxIuChNwYWNrZXRfcGFkZGluZ1' + '9yYXRlGBAgASgBUhFwYWNrZXRQYWRkaW5nUmF0ZRIjCg1ieXRlc19wYWRkaW5nGBEgASgEUgxi' + 'eXRlc1BhZGRpbmcSMAoUaGVhZGVyX2J5dGVzX3BhZGRpbmcYKSABKARSEmhlYWRlckJ5dGVzUG' + 'FkZGluZxInCg9iaXRyYXRlX3BhZGRpbmcYEiABKAFSDmJpdHJhdGVQYWRkaW5nEi8KFHBhY2tl' + 'dHNfb3V0X29mX29yZGVyGBMgASgNUhFwYWNrZXRzT3V0T2ZPcmRlchIWCgZmcmFtZXMYFCABKA' + '1SBmZyYW1lcxIdCgpmcmFtZV9yYXRlGBUgASgBUglmcmFtZVJhdGUSJQoOaml0dGVyX2N1cnJl' + 'bnQYFiABKAFSDWppdHRlckN1cnJlbnQSHQoKaml0dGVyX21heBgXIAEoAVIJaml0dGVyTWF4Ek' + 'gKDWdhcF9oaXN0b2dyYW0YGCADKAsyIy5saXZla2l0LlJUUFN0YXRzLkdhcEhpc3RvZ3JhbUVu' + 'dHJ5UgxnYXBIaXN0b2dyYW0SFAoFbmFja3MYGSABKA1SBW5hY2tzEhsKCW5hY2tfYWNrcxglIA' + 'EoDVIIbmFja0Fja3MSHwoLbmFja19taXNzZXMYGiABKA1SCm5hY2tNaXNzZXMSIwoNbmFja19y' + 'ZXBlYXRlZBgmIAEoDVIMbmFja1JlcGVhdGVkEhIKBHBsaXMYGyABKA1SBHBsaXMSNQoIbGFzdF' + '9wbGkYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdsYXN0UGxpEhIKBGZpcnMY' + 'HSABKA1SBGZpcnMSNQoIbGFzdF9maXIYHiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW' + '1wUgdsYXN0RmlyEh8KC3J0dF9jdXJyZW50GB8gASgNUgpydHRDdXJyZW50EhcKB3J0dF9tYXgY' + 'ICABKA1SBnJ0dE1heBIdCgprZXlfZnJhbWVzGCEgASgNUglrZXlGcmFtZXMSQAoObGFzdF9rZX' + 'lfZnJhbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgxsYXN0S2V5RnJhbWUS' + 'JgoPbGF5ZXJfbG9ja19wbGlzGCMgASgNUg1sYXllckxvY2tQbGlzEkkKE2xhc3RfbGF5ZXJfbG' + '9ja19wbGkYJCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYXN0TGF5ZXJMb2Nr' + 'UGxpEjQKDHBhY2tldF9kcmlmdBgsIAEoCzIRLmxpdmVraXQuUlRQRHJpZnRSC3BhY2tldERyaW' + 'Z0EjsKEG50cF9yZXBvcnRfZHJpZnQYLSABKAsyES5saXZla2l0LlJUUERyaWZ0Ug5udHBSZXBv' + 'cnREcmlmdBJDChRyZWJhc2VkX3JlcG9ydF9kcmlmdBguIAEoCzIRLmxpdmVraXQuUlRQRHJpZn' + 'RSEnJlYmFzZWRSZXBvcnREcmlmdBJFChVyZWNlaXZlZF9yZXBvcnRfZHJpZnQYLyABKAsyES5s' + 'aXZla2l0LlJUUERyaWZ0UhNyZWNlaXZlZFJlcG9ydERyaWZ0Gj8KEUdhcEhpc3RvZ3JhbUVudH' + 'J5EhAKA2tleRgBIAEoBVIDa2V5EhQKBXZhbHVlGAIgASgNUgV2YWx1ZToCOAE='); @$core.Deprecated('Use rTCPSenderReportStateDescriptor instead') const RTCPSenderReportState$json = { @@ -1302,24 +1887,57 @@ const RTCPSenderReportState$json = { }; /// Descriptor for `RTCPSenderReportState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTCPSenderReportStateDescriptor = - $convert.base64Decode('ChVSVENQU2VuZGVyUmVwb3J0U3RhdGUSIwoNcnRwX3RpbWVzdGFtcBgBIAEoDVIMcnRwVGltZX' - 'N0YW1wEioKEXJ0cF90aW1lc3RhbXBfZXh0GAIgASgEUg9ydHBUaW1lc3RhbXBFeHQSIwoNbnRw' - 'X3RpbWVzdGFtcBgDIAEoBFIMbnRwVGltZXN0YW1wEg4KAmF0GAQgASgDUgJhdBIfCgthdF9hZG' - 'p1c3RlZBgFIAEoA1IKYXRBZGp1c3RlZBIYCgdwYWNrZXRzGAYgASgNUgdwYWNrZXRzEhYKBm9j' - 'dGV0cxgHIAEoBFIGb2N0ZXRz'); +final $typed_data.Uint8List rTCPSenderReportStateDescriptor = $convert.base64Decode( + 'ChVSVENQU2VuZGVyUmVwb3J0U3RhdGUSIwoNcnRwX3RpbWVzdGFtcBgBIAEoDVIMcnRwVGltZX' + 'N0YW1wEioKEXJ0cF90aW1lc3RhbXBfZXh0GAIgASgEUg9ydHBUaW1lc3RhbXBFeHQSIwoNbnRw' + 'X3RpbWVzdGFtcBgDIAEoBFIMbnRwVGltZXN0YW1wEg4KAmF0GAQgASgDUgJhdBIfCgthdF9hZG' + 'p1c3RlZBgFIAEoA1IKYXRBZGp1c3RlZBIYCgdwYWNrZXRzGAYgASgNUgdwYWNrZXRzEhYKBm9j' + 'dGV0cxgHIAEoBFIGb2N0ZXRz'); @$core.Deprecated('Use rTPForwarderStateDescriptor instead') const RTPForwarderState$json = { '1': 'RTPForwarderState', '2': [ {'1': 'started', '3': 1, '4': 1, '5': 8, '10': 'started'}, - {'1': 'reference_layer_spatial', '3': 2, '4': 1, '5': 5, '10': 'referenceLayerSpatial'}, + { + '1': 'reference_layer_spatial', + '3': 2, + '4': 1, + '5': 5, + '10': 'referenceLayerSpatial' + }, {'1': 'pre_start_time', '3': 3, '4': 1, '5': 3, '10': 'preStartTime'}, - {'1': 'ext_first_timestamp', '3': 4, '4': 1, '5': 4, '10': 'extFirstTimestamp'}, - {'1': 'dummy_start_timestamp_offset', '3': 5, '4': 1, '5': 4, '10': 'dummyStartTimestampOffset'}, - {'1': 'rtp_munger', '3': 6, '4': 1, '5': 11, '6': '.livekit.RTPMungerState', '10': 'rtpMunger'}, - {'1': 'vp8_munger', '3': 7, '4': 1, '5': 11, '6': '.livekit.VP8MungerState', '9': 0, '10': 'vp8Munger'}, + { + '1': 'ext_first_timestamp', + '3': 4, + '4': 1, + '5': 4, + '10': 'extFirstTimestamp' + }, + { + '1': 'dummy_start_timestamp_offset', + '3': 5, + '4': 1, + '5': 4, + '10': 'dummyStartTimestampOffset' + }, + { + '1': 'rtp_munger', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.RTPMungerState', + '10': 'rtpMunger' + }, + { + '1': 'vp8_munger', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.VP8MungerState', + '9': 0, + '10': 'vp8Munger' + }, { '1': 'sender_report_state', '3': 8, @@ -1335,44 +1953,80 @@ const RTPForwarderState$json = { }; /// Descriptor for `RTPForwarderState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPForwarderStateDescriptor = - $convert.base64Decode('ChFSVFBGb3J3YXJkZXJTdGF0ZRIYCgdzdGFydGVkGAEgASgIUgdzdGFydGVkEjYKF3JlZmVyZW' - '5jZV9sYXllcl9zcGF0aWFsGAIgASgFUhVyZWZlcmVuY2VMYXllclNwYXRpYWwSJAoOcHJlX3N0' - 'YXJ0X3RpbWUYAyABKANSDHByZVN0YXJ0VGltZRIuChNleHRfZmlyc3RfdGltZXN0YW1wGAQgAS' - 'gEUhFleHRGaXJzdFRpbWVzdGFtcBI/ChxkdW1teV9zdGFydF90aW1lc3RhbXBfb2Zmc2V0GAUg' - 'ASgEUhlkdW1teVN0YXJ0VGltZXN0YW1wT2Zmc2V0EjYKCnJ0cF9tdW5nZXIYBiABKAsyFy5saX' - 'Zla2l0LlJUUE11bmdlclN0YXRlUglydHBNdW5nZXISOAoKdnA4X211bmdlchgHIAEoCzIXLmxp' - 'dmVraXQuVlA4TXVuZ2VyU3RhdGVIAFIJdnA4TXVuZ2VyEk4KE3NlbmRlcl9yZXBvcnRfc3RhdG' - 'UYCCADKAsyHi5saXZla2l0LlJUQ1BTZW5kZXJSZXBvcnRTdGF0ZVIRc2VuZGVyUmVwb3J0U3Rh' - 'dGVCDgoMY29kZWNfbXVuZ2Vy'); +final $typed_data.Uint8List rTPForwarderStateDescriptor = $convert.base64Decode( + 'ChFSVFBGb3J3YXJkZXJTdGF0ZRIYCgdzdGFydGVkGAEgASgIUgdzdGFydGVkEjYKF3JlZmVyZW' + '5jZV9sYXllcl9zcGF0aWFsGAIgASgFUhVyZWZlcmVuY2VMYXllclNwYXRpYWwSJAoOcHJlX3N0' + 'YXJ0X3RpbWUYAyABKANSDHByZVN0YXJ0VGltZRIuChNleHRfZmlyc3RfdGltZXN0YW1wGAQgAS' + 'gEUhFleHRGaXJzdFRpbWVzdGFtcBI/ChxkdW1teV9zdGFydF90aW1lc3RhbXBfb2Zmc2V0GAUg' + 'ASgEUhlkdW1teVN0YXJ0VGltZXN0YW1wT2Zmc2V0EjYKCnJ0cF9tdW5nZXIYBiABKAsyFy5saX' + 'Zla2l0LlJUUE11bmdlclN0YXRlUglydHBNdW5nZXISOAoKdnA4X211bmdlchgHIAEoCzIXLmxp' + 'dmVraXQuVlA4TXVuZ2VyU3RhdGVIAFIJdnA4TXVuZ2VyEk4KE3NlbmRlcl9yZXBvcnRfc3RhdG' + 'UYCCADKAsyHi5saXZla2l0LlJUQ1BTZW5kZXJSZXBvcnRTdGF0ZVIRc2VuZGVyUmVwb3J0U3Rh' + 'dGVCDgoMY29kZWNfbXVuZ2Vy'); @$core.Deprecated('Use rTPMungerStateDescriptor instead') const RTPMungerState$json = { '1': 'RTPMungerState', '2': [ - {'1': 'ext_last_sequence_number', '3': 1, '4': 1, '5': 4, '10': 'extLastSequenceNumber'}, - {'1': 'ext_second_last_sequence_number', '3': 2, '4': 1, '5': 4, '10': 'extSecondLastSequenceNumber'}, - {'1': 'ext_last_timestamp', '3': 3, '4': 1, '5': 4, '10': 'extLastTimestamp'}, - {'1': 'ext_second_last_timestamp', '3': 4, '4': 1, '5': 4, '10': 'extSecondLastTimestamp'}, + { + '1': 'ext_last_sequence_number', + '3': 1, + '4': 1, + '5': 4, + '10': 'extLastSequenceNumber' + }, + { + '1': 'ext_second_last_sequence_number', + '3': 2, + '4': 1, + '5': 4, + '10': 'extSecondLastSequenceNumber' + }, + { + '1': 'ext_last_timestamp', + '3': 3, + '4': 1, + '5': 4, + '10': 'extLastTimestamp' + }, + { + '1': 'ext_second_last_timestamp', + '3': 4, + '4': 1, + '5': 4, + '10': 'extSecondLastTimestamp' + }, {'1': 'last_marker', '3': 5, '4': 1, '5': 8, '10': 'lastMarker'}, - {'1': 'second_last_marker', '3': 6, '4': 1, '5': 8, '10': 'secondLastMarker'}, + { + '1': 'second_last_marker', + '3': 6, + '4': 1, + '5': 8, + '10': 'secondLastMarker' + }, ], }; /// Descriptor for `RTPMungerState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPMungerStateDescriptor = - $convert.base64Decode('Cg5SVFBNdW5nZXJTdGF0ZRI3ChhleHRfbGFzdF9zZXF1ZW5jZV9udW1iZXIYASABKARSFWV4dE' - 'xhc3RTZXF1ZW5jZU51bWJlchJECh9leHRfc2Vjb25kX2xhc3Rfc2VxdWVuY2VfbnVtYmVyGAIg' - 'ASgEUhtleHRTZWNvbmRMYXN0U2VxdWVuY2VOdW1iZXISLAoSZXh0X2xhc3RfdGltZXN0YW1wGA' - 'MgASgEUhBleHRMYXN0VGltZXN0YW1wEjkKGWV4dF9zZWNvbmRfbGFzdF90aW1lc3RhbXAYBCAB' - 'KARSFmV4dFNlY29uZExhc3RUaW1lc3RhbXASHwoLbGFzdF9tYXJrZXIYBSABKAhSCmxhc3RNYX' - 'JrZXISLAoSc2Vjb25kX2xhc3RfbWFya2VyGAYgASgIUhBzZWNvbmRMYXN0TWFya2Vy'); +final $typed_data.Uint8List rTPMungerStateDescriptor = $convert.base64Decode( + 'Cg5SVFBNdW5nZXJTdGF0ZRI3ChhleHRfbGFzdF9zZXF1ZW5jZV9udW1iZXIYASABKARSFWV4dE' + 'xhc3RTZXF1ZW5jZU51bWJlchJECh9leHRfc2Vjb25kX2xhc3Rfc2VxdWVuY2VfbnVtYmVyGAIg' + 'ASgEUhtleHRTZWNvbmRMYXN0U2VxdWVuY2VOdW1iZXISLAoSZXh0X2xhc3RfdGltZXN0YW1wGA' + 'MgASgEUhBleHRMYXN0VGltZXN0YW1wEjkKGWV4dF9zZWNvbmRfbGFzdF90aW1lc3RhbXAYBCAB' + 'KARSFmV4dFNlY29uZExhc3RUaW1lc3RhbXASHwoLbGFzdF9tYXJrZXIYBSABKAhSCmxhc3RNYX' + 'JrZXISLAoSc2Vjb25kX2xhc3RfbWFya2VyGAYgASgIUhBzZWNvbmRMYXN0TWFya2Vy'); @$core.Deprecated('Use vP8MungerStateDescriptor instead') const VP8MungerState$json = { '1': 'VP8MungerState', '2': [ - {'1': 'ext_last_picture_id', '3': 1, '4': 1, '5': 5, '10': 'extLastPictureId'}, + { + '1': 'ext_last_picture_id', + '3': 1, + '4': 1, + '5': 5, + '10': 'extLastPictureId' + }, {'1': 'picture_id_used', '3': 2, '4': 1, '5': 8, '10': 'pictureIdUsed'}, {'1': 'last_tl0_pic_idx', '3': 3, '4': 1, '5': 13, '10': 'lastTl0PicIdx'}, {'1': 'tl0_pic_idx_used', '3': 4, '4': 1, '5': 8, '10': 'tl0PicIdxUsed'}, @@ -1383,13 +2037,13 @@ const VP8MungerState$json = { }; /// Descriptor for `VP8MungerState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List vP8MungerStateDescriptor = - $convert.base64Decode('Cg5WUDhNdW5nZXJTdGF0ZRItChNleHRfbGFzdF9waWN0dXJlX2lkGAEgASgFUhBleHRMYXN0UG' - 'ljdHVyZUlkEiYKD3BpY3R1cmVfaWRfdXNlZBgCIAEoCFINcGljdHVyZUlkVXNlZBInChBsYXN0' - 'X3RsMF9waWNfaWR4GAMgASgNUg1sYXN0VGwwUGljSWR4EicKEHRsMF9waWNfaWR4X3VzZWQYBC' - 'ABKAhSDXRsMFBpY0lkeFVzZWQSGQoIdGlkX3VzZWQYBSABKAhSB3RpZFVzZWQSIAoMbGFzdF9r' - 'ZXlfaWR4GAYgASgNUgpsYXN0S2V5SWR4EiAKDGtleV9pZHhfdXNlZBgHIAEoCFIKa2V5SWR4VX' - 'NlZA=='); +final $typed_data.Uint8List vP8MungerStateDescriptor = $convert.base64Decode( + 'Cg5WUDhNdW5nZXJTdGF0ZRItChNleHRfbGFzdF9waWN0dXJlX2lkGAEgASgFUhBleHRMYXN0UG' + 'ljdHVyZUlkEiYKD3BpY3R1cmVfaWRfdXNlZBgCIAEoCFINcGljdHVyZUlkVXNlZBInChBsYXN0' + 'X3RsMF9waWNfaWR4GAMgASgNUg1sYXN0VGwwUGljSWR4EicKEHRsMF9waWNfaWR4X3VzZWQYBC' + 'ABKAhSDXRsMFBpY0lkeFVzZWQSGQoIdGlkX3VzZWQYBSABKAhSB3RpZFVzZWQSIAoMbGFzdF9r' + 'ZXlfaWR4GAYgASgNUgpsYXN0S2V5SWR4EiAKDGtleV9pZHhfdXNlZBgHIAEoCFIKa2V5SWR4VX' + 'NlZA=='); @$core.Deprecated('Use timedVersionDescriptor instead') const TimedVersion$json = { @@ -1401,9 +2055,9 @@ const TimedVersion$json = { }; /// Descriptor for `TimedVersion`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timedVersionDescriptor = - $convert.base64Decode('CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' - 'IgASgFUgV0aWNrcw=='); +final $typed_data.Uint8List timedVersionDescriptor = $convert.base64Decode( + 'CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' + 'IgASgFUgV0aWNrcw=='); @$core.Deprecated('Use dataStreamDescriptor instead') const DataStream$json = { @@ -1422,10 +2076,29 @@ const DataStream$json = { const DataStream_TextHeader$json = { '1': 'TextHeader', '2': [ - {'1': 'operation_type', '3': 1, '4': 1, '5': 14, '6': '.livekit.DataStream.OperationType', '10': 'operationType'}, + { + '1': 'operation_type', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.DataStream.OperationType', + '10': 'operationType' + }, {'1': 'version', '3': 2, '4': 1, '5': 5, '10': 'version'}, - {'1': 'reply_to_stream_id', '3': 3, '4': 1, '5': 9, '10': 'replyToStreamId'}, - {'1': 'attached_stream_ids', '3': 4, '4': 3, '5': 9, '10': 'attachedStreamIds'}, + { + '1': 'reply_to_stream_id', + '3': 3, + '4': 1, + '5': 9, + '10': 'replyToStreamId' + }, + { + '1': 'attached_stream_ids', + '3': 4, + '4': 3, + '5': 9, + '10': 'attachedStreamIds' + }, {'1': 'generated', '3': 5, '4': 1, '5': 8, '10': 'generated'}, ], }; @@ -1446,7 +2119,15 @@ const DataStream_Header$json = { {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, {'1': 'topic', '3': 3, '4': 1, '5': 9, '10': 'topic'}, {'1': 'mime_type', '3': 4, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'total_length', '3': 5, '4': 1, '5': 4, '9': 1, '10': 'totalLength', '17': true}, + { + '1': 'total_length', + '3': 5, + '4': 1, + '5': 4, + '9': 1, + '10': 'totalLength', + '17': true + }, { '1': 'encryption_type', '3': 7, @@ -1456,9 +2137,32 @@ const DataStream_Header$json = { '8': {'3': true}, '10': 'encryptionType', }, - {'1': 'attributes', '3': 8, '4': 3, '5': 11, '6': '.livekit.DataStream.Header.AttributesEntry', '10': 'attributes'}, - {'1': 'text_header', '3': 9, '4': 1, '5': 11, '6': '.livekit.DataStream.TextHeader', '9': 0, '10': 'textHeader'}, - {'1': 'byte_header', '3': 10, '4': 1, '5': 11, '6': '.livekit.DataStream.ByteHeader', '9': 0, '10': 'byteHeader'}, + { + '1': 'attributes', + '3': 8, + '4': 3, + '5': 11, + '6': '.livekit.DataStream.Header.AttributesEntry', + '10': 'attributes' + }, + { + '1': 'text_header', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.TextHeader', + '9': 0, + '10': 'textHeader' + }, + { + '1': 'byte_header', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.DataStream.ByteHeader', + '9': 0, + '10': 'byteHeader' + }, ], '3': [DataStream_Header_AttributesEntry$json], '8': [ @@ -1541,30 +2245,30 @@ const DataStream_OperationType$json = { }; /// Descriptor for `DataStream`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataStreamDescriptor = - $convert.base64Decode('CgpEYXRhU3RyZWFtGusBCgpUZXh0SGVhZGVyEkgKDm9wZXJhdGlvbl90eXBlGAEgASgOMiEubG' - 'l2ZWtpdC5EYXRhU3RyZWFtLk9wZXJhdGlvblR5cGVSDW9wZXJhdGlvblR5cGUSGAoHdmVyc2lv' - 'bhgCIAEoBVIHdmVyc2lvbhIrChJyZXBseV90b19zdHJlYW1faWQYAyABKAlSD3JlcGx5VG9TdH' - 'JlYW1JZBIuChNhdHRhY2hlZF9zdHJlYW1faWRzGAQgAygJUhFhdHRhY2hlZFN0cmVhbUlkcxIc' - 'CglnZW5lcmF0ZWQYBSABKAhSCWdlbmVyYXRlZBogCgpCeXRlSGVhZGVyEhIKBG5hbWUYASABKA' - 'lSBG5hbWUamQQKBkhlYWRlchIbCglzdHJlYW1faWQYASABKAlSCHN0cmVhbUlkEhwKCXRpbWVz' - 'dGFtcBgCIAEoA1IJdGltZXN0YW1wEhQKBXRvcGljGAMgASgJUgV0b3BpYxIbCgltaW1lX3R5cG' - 'UYBCABKAlSCG1pbWVUeXBlEiYKDHRvdGFsX2xlbmd0aBgFIAEoBEgBUgt0b3RhbExlbmd0aIgB' - 'ARJFCg9lbmNyeXB0aW9uX3R5cGUYByABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZUICGA' - 'FSDmVuY3J5cHRpb25UeXBlEkoKCmF0dHJpYnV0ZXMYCCADKAsyKi5saXZla2l0LkRhdGFTdHJl' - 'YW0uSGVhZGVyLkF0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxJBCgt0ZXh0X2hlYWRlchgJIA' - 'EoCzIeLmxpdmVraXQuRGF0YVN0cmVhbS5UZXh0SGVhZGVySABSCnRleHRIZWFkZXISQQoLYnl0' - 'ZV9oZWFkZXIYCiABKAsyHi5saXZla2l0LkRhdGFTdHJlYW0uQnl0ZUhlYWRlckgAUgpieXRlSG' - 'VhZGVyGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo' - 'CVIFdmFsdWU6AjgBQhAKDmNvbnRlbnRfaGVhZGVyQg8KDV90b3RhbF9sZW5ndGgamQEKBUNodW' - '5rEhsKCXN0cmVhbV9pZBgBIAEoCVIIc3RyZWFtSWQSHwoLY2h1bmtfaW5kZXgYAiABKARSCmNo' - 'dW5rSW5kZXgSGAoHY29udGVudBgDIAEoDFIHY29udGVudBIYCgd2ZXJzaW9uGAQgASgFUgd2ZX' - 'JzaW9uEhcKAml2GAUgASgMQgIYAUgAUgJpdogBAUIFCgNfaXYaygEKB1RyYWlsZXISGwoJc3Ry' - 'ZWFtX2lkGAEgASgJUghzdHJlYW1JZBIWCgZyZWFzb24YAiABKAlSBnJlYXNvbhJLCgphdHRyaW' - 'J1dGVzGAMgAygLMisubGl2ZWtpdC5EYXRhU3RyZWFtLlRyYWlsZXIuQXR0cmlidXRlc0VudHJ5' - 'UgphdHRyaWJ1dGVzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YW' - 'x1ZRgCIAEoCVIFdmFsdWU6AjgBIkEKDU9wZXJhdGlvblR5cGUSCgoGQ1JFQVRFEAASCgoGVVBE' - 'QVRFEAESCgoGREVMRVRFEAISDAoIUkVBQ1RJT04QAw=='); +final $typed_data.Uint8List dataStreamDescriptor = $convert.base64Decode( + 'CgpEYXRhU3RyZWFtGusBCgpUZXh0SGVhZGVyEkgKDm9wZXJhdGlvbl90eXBlGAEgASgOMiEubG' + 'l2ZWtpdC5EYXRhU3RyZWFtLk9wZXJhdGlvblR5cGVSDW9wZXJhdGlvblR5cGUSGAoHdmVyc2lv' + 'bhgCIAEoBVIHdmVyc2lvbhIrChJyZXBseV90b19zdHJlYW1faWQYAyABKAlSD3JlcGx5VG9TdH' + 'JlYW1JZBIuChNhdHRhY2hlZF9zdHJlYW1faWRzGAQgAygJUhFhdHRhY2hlZFN0cmVhbUlkcxIc' + 'CglnZW5lcmF0ZWQYBSABKAhSCWdlbmVyYXRlZBogCgpCeXRlSGVhZGVyEhIKBG5hbWUYASABKA' + 'lSBG5hbWUamQQKBkhlYWRlchIbCglzdHJlYW1faWQYASABKAlSCHN0cmVhbUlkEhwKCXRpbWVz' + 'dGFtcBgCIAEoA1IJdGltZXN0YW1wEhQKBXRvcGljGAMgASgJUgV0b3BpYxIbCgltaW1lX3R5cG' + 'UYBCABKAlSCG1pbWVUeXBlEiYKDHRvdGFsX2xlbmd0aBgFIAEoBEgBUgt0b3RhbExlbmd0aIgB' + 'ARJFCg9lbmNyeXB0aW9uX3R5cGUYByABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZUICGA' + 'FSDmVuY3J5cHRpb25UeXBlEkoKCmF0dHJpYnV0ZXMYCCADKAsyKi5saXZla2l0LkRhdGFTdHJl' + 'YW0uSGVhZGVyLkF0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxJBCgt0ZXh0X2hlYWRlchgJIA' + 'EoCzIeLmxpdmVraXQuRGF0YVN0cmVhbS5UZXh0SGVhZGVySABSCnRleHRIZWFkZXISQQoLYnl0' + 'ZV9oZWFkZXIYCiABKAsyHi5saXZla2l0LkRhdGFTdHJlYW0uQnl0ZUhlYWRlckgAUgpieXRlSG' + 'VhZGVyGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo' + 'CVIFdmFsdWU6AjgBQhAKDmNvbnRlbnRfaGVhZGVyQg8KDV90b3RhbF9sZW5ndGgamQEKBUNodW' + '5rEhsKCXN0cmVhbV9pZBgBIAEoCVIIc3RyZWFtSWQSHwoLY2h1bmtfaW5kZXgYAiABKARSCmNo' + 'dW5rSW5kZXgSGAoHY29udGVudBgDIAEoDFIHY29udGVudBIYCgd2ZXJzaW9uGAQgASgFUgd2ZX' + 'JzaW9uEhcKAml2GAUgASgMQgIYAUgAUgJpdogBAUIFCgNfaXYaygEKB1RyYWlsZXISGwoJc3Ry' + 'ZWFtX2lkGAEgASgJUghzdHJlYW1JZBIWCgZyZWFzb24YAiABKAlSBnJlYXNvbhJLCgphdHRyaW' + 'J1dGVzGAMgAygLMisubGl2ZWtpdC5EYXRhU3RyZWFtLlRyYWlsZXIuQXR0cmlidXRlc0VudHJ5' + 'UgphdHRyaWJ1dGVzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YW' + 'x1ZRgCIAEoCVIFdmFsdWU6AjgBIkEKDU9wZXJhdGlvblR5cGUSCgoGQ1JFQVRFEAASCgoGVVBE' + 'QVRFEAESCgoGREVMRVRFEAISDAoIUkVBQ1RJT04QAw=='); @$core.Deprecated('Use webhookConfigDescriptor instead') const WebhookConfig$json = { @@ -1576,9 +2280,9 @@ const WebhookConfig$json = { }; /// Descriptor for `WebhookConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List webhookConfigDescriptor = - $convert.base64Decode('Cg1XZWJob29rQ29uZmlnEhAKA3VybBgBIAEoCVIDdXJsEh8KC3NpZ25pbmdfa2V5GAIgASgJUg' - 'pzaWduaW5nS2V5'); +final $typed_data.Uint8List webhookConfigDescriptor = $convert.base64Decode( + 'Cg1XZWJob29rQ29uZmlnEhAKA3VybBgBIAEoCVIDdXJsEh8KC3NpZ25pbmdfa2V5GAIgASgJUg' + 'pzaWduaW5nS2V5'); @$core.Deprecated('Use subscribedAudioCodecDescriptor instead') const SubscribedAudioCodec$json = { @@ -1590,6 +2294,6 @@ const SubscribedAudioCodec$json = { }; /// Descriptor for `SubscribedAudioCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedAudioCodecDescriptor = - $convert.base64Decode('ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' - 'gCIAEoCFIHZW5hYmxlZA=='); +final $typed_data.Uint8List subscribedAudioCodecDescriptor = $convert.base64Decode( + 'ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' + 'gCIAEoCFIHZW5hYmxlZA=='); diff --git a/lib/src/proto/livekit_rtc.pb.dart b/lib/src/proto/livekit_rtc.pb.dart index 40049d6e1..3e862bfbd 100644 --- a/lib/src/proto/livekit_rtc.pb.dart +++ b/lib/src/proto/livekit_rtc.pb.dart @@ -53,7 +53,8 @@ class SignalRequest extends $pb.GeneratedMessage { UpdateSubscription? subscription, UpdateTrackSettings? trackSetting, LeaveRequest? leave, - @$core.Deprecated('This field is deprecated.') UpdateVideoLayers? updateLayers, + @$core.Deprecated('This field is deprecated.') + UpdateVideoLayers? updateLayers, SubscriptionPermission? subscriptionPermission, SyncState? syncState, SimulateScenario? simulate, @@ -73,7 +74,8 @@ class SignalRequest extends $pb.GeneratedMessage { if (trackSetting != null) result.trackSetting = trackSetting; if (leave != null) result.leave = leave; if (updateLayers != null) result.updateLayers = updateLayers; - if (subscriptionPermission != null) result.subscriptionPermission = subscriptionPermission; + if (subscriptionPermission != null) + result.subscriptionPermission = subscriptionPermission; if (syncState != null) result.syncState = syncState; if (simulate != null) result.simulate = simulate; if (ping != null) result.ping = ping; @@ -89,10 +91,12 @@ class SignalRequest extends $pb.GeneratedMessage { factory SignalRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SignalRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SignalRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SignalRequest_Message> _SignalRequest_MessageByTag = { + static const $core.Map<$core.int, SignalRequest_Message> + _SignalRequest_MessageByTag = { 1: SignalRequest_Message.offer, 2: SignalRequest_Message.answer, 3: SignalRequest_Message.trickle, @@ -112,24 +116,39 @@ class SignalRequest extends $pb.GeneratedMessage { 18: SignalRequest_Message.updateVideoTrack, 0: SignalRequest_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignalRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SignalRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18]) - ..aOM(1, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) - ..aOM(2, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) - ..aOM(3, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) - ..aOM(4, _omitFieldNames ? '' : 'addTrack', subBuilder: AddTrackRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'subscription', subBuilder: UpdateSubscription.create) - ..aOM(7, _omitFieldNames ? '' : 'trackSetting', subBuilder: UpdateTrackSettings.create) - ..aOM(8, _omitFieldNames ? '' : 'leave', subBuilder: LeaveRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'updateLayers', subBuilder: UpdateVideoLayers.create) - ..aOM(11, _omitFieldNames ? '' : 'subscriptionPermission', + ..aOM(1, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) + ..aOM(2, _omitFieldNames ? '' : 'answer', + subBuilder: SessionDescription.create) + ..aOM(3, _omitFieldNames ? '' : 'trickle', + subBuilder: TrickleRequest.create) + ..aOM(4, _omitFieldNames ? '' : 'addTrack', + subBuilder: AddTrackRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'mute', + subBuilder: MuteTrackRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'subscription', + subBuilder: UpdateSubscription.create) + ..aOM(7, _omitFieldNames ? '' : 'trackSetting', + subBuilder: UpdateTrackSettings.create) + ..aOM(8, _omitFieldNames ? '' : 'leave', + subBuilder: LeaveRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'updateLayers', + subBuilder: UpdateVideoLayers.create) + ..aOM( + 11, _omitFieldNames ? '' : 'subscriptionPermission', subBuilder: SubscriptionPermission.create) - ..aOM(12, _omitFieldNames ? '' : 'syncState', subBuilder: SyncState.create) - ..aOM(13, _omitFieldNames ? '' : 'simulate', subBuilder: SimulateScenario.create) + ..aOM(12, _omitFieldNames ? '' : 'syncState', + subBuilder: SyncState.create) + ..aOM(13, _omitFieldNames ? '' : 'simulate', + subBuilder: SimulateScenario.create) ..aInt64(14, _omitFieldNames ? '' : 'ping') - ..aOM(15, _omitFieldNames ? '' : 'updateMetadata', + ..aOM( + 15, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) ..aOM(16, _omitFieldNames ? '' : 'pingReq', subBuilder: Ping.create) ..aOM(17, _omitFieldNames ? '' : 'updateAudioTrack', @@ -142,7 +161,8 @@ class SignalRequest extends $pb.GeneratedMessage { SignalRequest clone() => SignalRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalRequest copyWith(void Function(SignalRequest) updates) => - super.copyWith((message) => updates(message as SignalRequest)) as SignalRequest; + super.copyWith((message) => updates(message as SignalRequest)) + as SignalRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -151,12 +171,15 @@ class SignalRequest extends $pb.GeneratedMessage { static SignalRequest create() => SignalRequest._(); @$core.override SignalRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SignalRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SignalRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SignalRequest? _defaultInstance; - SignalRequest_Message whichMessage() => _SignalRequest_MessageByTag[$_whichOneof(0)]!; + SignalRequest_Message whichMessage() => + _SignalRequest_MessageByTag[$_whichOneof(0)]!; void clearMessage() => $_clearField($_whichOneof(0)); /// participant offer for publisher @@ -274,7 +297,8 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(11) SubscriptionPermission get subscriptionPermission => $_getN(9); @$pb.TagNumber(11) - set subscriptionPermission(SubscriptionPermission value) => $_setField(11, value); + set subscriptionPermission(SubscriptionPermission value) => + $_setField(11, value); @$pb.TagNumber(11) $core.bool hasSubscriptionPermission() => $_has(9); @$pb.TagNumber(11) @@ -435,19 +459,24 @@ class SignalResponse extends $pb.GeneratedMessage { if (roomUpdate != null) result.roomUpdate = roomUpdate; if (connectionQuality != null) result.connectionQuality = connectionQuality; if (streamStateUpdate != null) result.streamStateUpdate = streamStateUpdate; - if (subscribedQualityUpdate != null) result.subscribedQualityUpdate = subscribedQualityUpdate; - if (subscriptionPermissionUpdate != null) result.subscriptionPermissionUpdate = subscriptionPermissionUpdate; + if (subscribedQualityUpdate != null) + result.subscribedQualityUpdate = subscribedQualityUpdate; + if (subscriptionPermissionUpdate != null) + result.subscriptionPermissionUpdate = subscriptionPermissionUpdate; if (refreshToken != null) result.refreshToken = refreshToken; if (trackUnpublished != null) result.trackUnpublished = trackUnpublished; if (pong != null) result.pong = pong; if (reconnect != null) result.reconnect = reconnect; if (pongResp != null) result.pongResp = pongResp; - if (subscriptionResponse != null) result.subscriptionResponse = subscriptionResponse; + if (subscriptionResponse != null) + result.subscriptionResponse = subscriptionResponse; if (requestResponse != null) result.requestResponse = requestResponse; if (trackSubscribed != null) result.trackSubscribed = trackSubscribed; if (roomMoved != null) result.roomMoved = roomMoved; - if (mediaSectionsRequirement != null) result.mediaSectionsRequirement = mediaSectionsRequirement; - if (subscribedAudioCodecUpdate != null) result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; + if (mediaSectionsRequirement != null) + result.mediaSectionsRequirement = mediaSectionsRequirement; + if (subscribedAudioCodecUpdate != null) + result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; return result; } @@ -456,10 +485,12 @@ class SignalResponse extends $pb.GeneratedMessage { factory SignalResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SignalResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SignalResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SignalResponse_Message> _SignalResponse_MessageByTag = { + static const $core.Map<$core.int, SignalResponse_Message> + _SignalResponse_MessageByTag = { 1: SignalResponse_Message.join, 2: SignalResponse_Message.answer, 3: SignalResponse_Message.offer, @@ -487,40 +518,90 @@ class SignalResponse extends $pb.GeneratedMessage { 26: SignalResponse_Message.subscribedAudioCodecUpdate, 0: SignalResponse_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignalResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]) - ..aOM(1, _omitFieldNames ? '' : 'join', subBuilder: JoinResponse.create) - ..aOM(2, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) - ..aOM(3, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) - ..aOM(4, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'update', subBuilder: ParticipantUpdate.create) - ..aOM(6, _omitFieldNames ? '' : 'trackPublished', subBuilder: TrackPublishedResponse.create) - ..aOM(8, _omitFieldNames ? '' : 'leave', subBuilder: LeaveRequest.create) - ..aOM(9, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'speakersChanged', subBuilder: SpeakersChanged.create) - ..aOM(11, _omitFieldNames ? '' : 'roomUpdate', subBuilder: RoomUpdate.create) - ..aOM(12, _omitFieldNames ? '' : 'connectionQuality', + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SignalResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..oo(0, [ + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ]) + ..aOM(1, _omitFieldNames ? '' : 'join', + subBuilder: JoinResponse.create) + ..aOM(2, _omitFieldNames ? '' : 'answer', + subBuilder: SessionDescription.create) + ..aOM(3, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) + ..aOM(4, _omitFieldNames ? '' : 'trickle', + subBuilder: TrickleRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'update', + subBuilder: ParticipantUpdate.create) + ..aOM(6, _omitFieldNames ? '' : 'trackPublished', + subBuilder: TrackPublishedResponse.create) + ..aOM(8, _omitFieldNames ? '' : 'leave', + subBuilder: LeaveRequest.create) + ..aOM(9, _omitFieldNames ? '' : 'mute', + subBuilder: MuteTrackRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'speakersChanged', + subBuilder: SpeakersChanged.create) + ..aOM(11, _omitFieldNames ? '' : 'roomUpdate', + subBuilder: RoomUpdate.create) + ..aOM( + 12, _omitFieldNames ? '' : 'connectionQuality', subBuilder: ConnectionQualityUpdate.create) - ..aOM(13, _omitFieldNames ? '' : 'streamStateUpdate', subBuilder: StreamStateUpdate.create) - ..aOM(14, _omitFieldNames ? '' : 'subscribedQualityUpdate', + ..aOM(13, _omitFieldNames ? '' : 'streamStateUpdate', + subBuilder: StreamStateUpdate.create) + ..aOM( + 14, _omitFieldNames ? '' : 'subscribedQualityUpdate', subBuilder: SubscribedQualityUpdate.create) - ..aOM(15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', + ..aOM( + 15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', subBuilder: SubscriptionPermissionUpdate.create) ..aOS(16, _omitFieldNames ? '' : 'refreshToken') - ..aOM(17, _omitFieldNames ? '' : 'trackUnpublished', + ..aOM( + 17, _omitFieldNames ? '' : 'trackUnpublished', subBuilder: TrackUnpublishedResponse.create) ..aInt64(18, _omitFieldNames ? '' : 'pong') - ..aOM(19, _omitFieldNames ? '' : 'reconnect', subBuilder: ReconnectResponse.create) + ..aOM(19, _omitFieldNames ? '' : 'reconnect', + subBuilder: ReconnectResponse.create) ..aOM(20, _omitFieldNames ? '' : 'pongResp', subBuilder: Pong.create) - ..aOM(21, _omitFieldNames ? '' : 'subscriptionResponse', + ..aOM( + 21, _omitFieldNames ? '' : 'subscriptionResponse', subBuilder: SubscriptionResponse.create) - ..aOM(22, _omitFieldNames ? '' : 'requestResponse', subBuilder: RequestResponse.create) - ..aOM(23, _omitFieldNames ? '' : 'trackSubscribed', subBuilder: TrackSubscribed.create) - ..aOM(24, _omitFieldNames ? '' : 'roomMoved', subBuilder: RoomMovedResponse.create) - ..aOM(25, _omitFieldNames ? '' : 'mediaSectionsRequirement', + ..aOM(22, _omitFieldNames ? '' : 'requestResponse', + subBuilder: RequestResponse.create) + ..aOM(23, _omitFieldNames ? '' : 'trackSubscribed', + subBuilder: TrackSubscribed.create) + ..aOM(24, _omitFieldNames ? '' : 'roomMoved', + subBuilder: RoomMovedResponse.create) + ..aOM( + 25, _omitFieldNames ? '' : 'mediaSectionsRequirement', subBuilder: MediaSectionsRequirement.create) - ..aOM(26, _omitFieldNames ? '' : 'subscribedAudioCodecUpdate', + ..aOM( + 26, _omitFieldNames ? '' : 'subscribedAudioCodecUpdate', subBuilder: SubscribedAudioCodecUpdate.create) ..hasRequiredFields = false; @@ -528,7 +609,8 @@ class SignalResponse extends $pb.GeneratedMessage { SignalResponse clone() => SignalResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalResponse copyWith(void Function(SignalResponse) updates) => - super.copyWith((message) => updates(message as SignalResponse)) as SignalResponse; + super.copyWith((message) => updates(message as SignalResponse)) + as SignalResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -537,12 +619,15 @@ class SignalResponse extends $pb.GeneratedMessage { static SignalResponse create() => SignalResponse._(); @$core.override SignalResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SignalResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SignalResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SignalResponse? _defaultInstance; - SignalResponse_Message whichMessage() => _SignalResponse_MessageByTag[$_whichOneof(0)]!; + SignalResponse_Message whichMessage() => + _SignalResponse_MessageByTag[$_whichOneof(0)]!; void clearMessage() => $_clearField($_whichOneof(0)); /// sent when join is accepted @@ -694,7 +779,8 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(14) SubscribedQualityUpdate get subscribedQualityUpdate => $_getN(12); @$pb.TagNumber(14) - set subscribedQualityUpdate(SubscribedQualityUpdate value) => $_setField(14, value); + set subscribedQualityUpdate(SubscribedQualityUpdate value) => + $_setField(14, value); @$pb.TagNumber(14) $core.bool hasSubscribedQualityUpdate() => $_has(12); @$pb.TagNumber(14) @@ -706,13 +792,15 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(15) SubscriptionPermissionUpdate get subscriptionPermissionUpdate => $_getN(13); @$pb.TagNumber(15) - set subscriptionPermissionUpdate(SubscriptionPermissionUpdate value) => $_setField(15, value); + set subscriptionPermissionUpdate(SubscriptionPermissionUpdate value) => + $_setField(15, value); @$pb.TagNumber(15) $core.bool hasSubscriptionPermissionUpdate() => $_has(13); @$pb.TagNumber(15) void clearSubscriptionPermissionUpdate() => $_clearField(15); @$pb.TagNumber(15) - SubscriptionPermissionUpdate ensureSubscriptionPermissionUpdate() => $_ensure(13); + SubscriptionPermissionUpdate ensureSubscriptionPermissionUpdate() => + $_ensure(13); /// update the token the client was using, to prevent an active client from using an expired token @$pb.TagNumber(16) @@ -822,7 +910,8 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(25) MediaSectionsRequirement get mediaSectionsRequirement => $_getN(23); @$pb.TagNumber(25) - set mediaSectionsRequirement(MediaSectionsRequirement value) => $_setField(25, value); + set mediaSectionsRequirement(MediaSectionsRequirement value) => + $_setField(25, value); @$pb.TagNumber(25) $core.bool hasMediaSectionsRequirement() => $_has(23); @$pb.TagNumber(25) @@ -834,7 +923,8 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(26) SubscribedAudioCodecUpdate get subscribedAudioCodecUpdate => $_getN(24); @$pb.TagNumber(26) - set subscribedAudioCodecUpdate(SubscribedAudioCodecUpdate value) => $_setField(26, value); + set subscribedAudioCodecUpdate(SubscribedAudioCodecUpdate value) => + $_setField(26, value); @$pb.TagNumber(26) $core.bool hasSubscribedAudioCodecUpdate() => $_has(24); @$pb.TagNumber(26) @@ -863,15 +953,20 @@ class SimulcastCodec extends $pb.GeneratedMessage { factory SimulcastCodec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SimulcastCodec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SimulcastCodec.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SimulcastCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') ..aOS(2, _omitFieldNames ? '' : 'cid') - ..pc<$2.VideoLayer>(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) - ..e<$2.VideoLayer_Mode>(5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, + ..pc<$2.VideoLayer>(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: $2.VideoLayer.create) + ..e<$2.VideoLayer_Mode>( + 5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, defaultOrMaker: $2.VideoLayer_Mode.MODE_UNUSED, valueOf: $2.VideoLayer_Mode.valueOf, enumValues: $2.VideoLayer_Mode.values) @@ -881,7 +976,8 @@ class SimulcastCodec extends $pb.GeneratedMessage { SimulcastCodec clone() => SimulcastCodec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulcastCodec copyWith(void Function(SimulcastCodec) updates) => - super.copyWith((message) => updates(message as SimulcastCodec)) as SimulcastCodec; + super.copyWith((message) => updates(message as SimulcastCodec)) + as SimulcastCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -890,9 +986,11 @@ class SimulcastCodec extends $pb.GeneratedMessage { static SimulcastCodec create() => SimulcastCodec._(); @$core.override SimulcastCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulcastCodec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimulcastCodec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SimulcastCodec? _defaultInstance; @$pb.TagNumber(1) @@ -972,37 +1070,49 @@ class AddTrackRequest extends $pb.GeneratedMessage { factory AddTrackRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AddTrackRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory AddTrackRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTrackRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AddTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') ..aOS(2, _omitFieldNames ? '' : 'name') ..e<$2.TrackType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, - defaultOrMaker: $2.TrackType.AUDIO, valueOf: $2.TrackType.valueOf, enumValues: $2.TrackType.values) + defaultOrMaker: $2.TrackType.AUDIO, + valueOf: $2.TrackType.valueOf, + enumValues: $2.TrackType.values) ..a<$core.int>(4, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..aOB(6, _omitFieldNames ? '' : 'muted') ..aOB(7, _omitFieldNames ? '' : 'disableDtx') ..e<$2.TrackSource>(8, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, - defaultOrMaker: $2.TrackSource.UNKNOWN, valueOf: $2.TrackSource.valueOf, enumValues: $2.TrackSource.values) - ..pc<$2.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) - ..pc(10, _omitFieldNames ? '' : 'simulcastCodecs', $pb.PbFieldType.PM, + defaultOrMaker: $2.TrackSource.UNKNOWN, + valueOf: $2.TrackSource.valueOf, + enumValues: $2.TrackSource.values) + ..pc<$2.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: $2.VideoLayer.create) + ..pc( + 10, _omitFieldNames ? '' : 'simulcastCodecs', $pb.PbFieldType.PM, subBuilder: SimulcastCodec.create) ..aOS(11, _omitFieldNames ? '' : 'sid') ..aOB(12, _omitFieldNames ? '' : 'stereo') ..aOB(13, _omitFieldNames ? '' : 'disableRed') - ..e<$2.Encryption_Type>(14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, + ..e<$2.Encryption_Type>( + 14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, defaultOrMaker: $2.Encryption_Type.NONE, valueOf: $2.Encryption_Type.valueOf, enumValues: $2.Encryption_Type.values) ..aOS(15, _omitFieldNames ? '' : 'stream') - ..e<$2.BackupCodecPolicy>(16, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, + ..e<$2.BackupCodecPolicy>( + 16, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, defaultOrMaker: $2.BackupCodecPolicy.PREFER_REGRESSION, valueOf: $2.BackupCodecPolicy.valueOf, enumValues: $2.BackupCodecPolicy.values) - ..pc<$2.AudioTrackFeature>(17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, + ..pc<$2.AudioTrackFeature>( + 17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, valueOf: $2.AudioTrackFeature.valueOf, enumValues: $2.AudioTrackFeature.values, defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) @@ -1012,7 +1122,8 @@ class AddTrackRequest extends $pb.GeneratedMessage { AddTrackRequest clone() => AddTrackRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AddTrackRequest copyWith(void Function(AddTrackRequest) updates) => - super.copyWith((message) => updates(message as AddTrackRequest)) as AddTrackRequest; + super.copyWith((message) => updates(message as AddTrackRequest)) + as AddTrackRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1021,10 +1132,11 @@ class AddTrackRequest extends $pb.GeneratedMessage { static AddTrackRequest create() => AddTrackRequest._(); @$core.override AddTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static AddTrackRequest getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AddTrackRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static AddTrackRequest? _defaultInstance; /// client ID of track, to match it when RTC track is received @@ -1196,14 +1308,19 @@ class TrickleRequest extends $pb.GeneratedMessage { factory TrickleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrickleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrickleRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrickleRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrickleRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'candidateInit', protoName: 'candidateInit') ..e(2, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, - defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) + defaultOrMaker: SignalTarget.PUBLISHER, + valueOf: SignalTarget.valueOf, + enumValues: SignalTarget.values) ..aOB(3, _omitFieldNames ? '' : 'final') ..hasRequiredFields = false; @@ -1211,7 +1328,8 @@ class TrickleRequest extends $pb.GeneratedMessage { TrickleRequest clone() => TrickleRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrickleRequest copyWith(void Function(TrickleRequest) updates) => - super.copyWith((message) => updates(message as TrickleRequest)) as TrickleRequest; + super.copyWith((message) => updates(message as TrickleRequest)) + as TrickleRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1220,9 +1338,11 @@ class TrickleRequest extends $pb.GeneratedMessage { static TrickleRequest create() => TrickleRequest._(); @$core.override TrickleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrickleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrickleRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrickleRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1273,8 +1393,10 @@ class MuteTrackRequest extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MuteTrackRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MuteTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOB(2, _omitFieldNames ? '' : 'muted') ..hasRequiredFields = false; @@ -1283,7 +1405,8 @@ class MuteTrackRequest extends $pb.GeneratedMessage { MuteTrackRequest clone() => MuteTrackRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MuteTrackRequest copyWith(void Function(MuteTrackRequest) updates) => - super.copyWith((message) => updates(message as MuteTrackRequest)) as MuteTrackRequest; + super.copyWith((message) => updates(message as MuteTrackRequest)) + as MuteTrackRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1292,10 +1415,11 @@ class MuteTrackRequest extends $pb.GeneratedMessage { static MuteTrackRequest create() => MuteTrackRequest._(); @$core.override MuteTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static MuteTrackRequest getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MuteTrackRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MuteTrackRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1338,18 +1462,21 @@ class JoinResponse extends $pb.GeneratedMessage { final result = create(); if (room != null) result.room = room; if (participant != null) result.participant = participant; - if (otherParticipants != null) result.otherParticipants.addAll(otherParticipants); + if (otherParticipants != null) + result.otherParticipants.addAll(otherParticipants); if (serverVersion != null) result.serverVersion = serverVersion; if (iceServers != null) result.iceServers.addAll(iceServers); if (subscriberPrimary != null) result.subscriberPrimary = subscriberPrimary; if (alternativeUrl != null) result.alternativeUrl = alternativeUrl; - if (clientConfiguration != null) result.clientConfiguration = clientConfiguration; + if (clientConfiguration != null) + result.clientConfiguration = clientConfiguration; if (serverRegion != null) result.serverRegion = serverRegion; if (pingTimeout != null) result.pingTimeout = pingTimeout; if (pingInterval != null) result.pingInterval = pingInterval; if (serverInfo != null) result.serverInfo = serverInfo; if (sifTrailer != null) result.sifTrailer = sifTrailer; - if (enabledPublishCodecs != null) result.enabledPublishCodecs.addAll(enabledPublishCodecs); + if (enabledPublishCodecs != null) + result.enabledPublishCodecs.addAll(enabledPublishCodecs); if (fastPublish != null) result.fastPublish = fastPublish; return result; } @@ -1359,27 +1486,39 @@ class JoinResponse extends $pb.GeneratedMessage { factory JoinResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory JoinResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory JoinResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'JoinResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) - ..aOM<$2.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, + ..aOM<$2.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', + subBuilder: $2.ParticipantInfo.create) + ..pc<$2.ParticipantInfo>( + 3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..aOS(4, _omitFieldNames ? '' : 'serverVersion') - ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) + ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, + subBuilder: ICEServer.create) ..aOB(6, _omitFieldNames ? '' : 'subscriberPrimary') ..aOS(7, _omitFieldNames ? '' : 'alternativeUrl') - ..aOM<$2.ClientConfiguration>(8, _omitFieldNames ? '' : 'clientConfiguration', + ..aOM<$2.ClientConfiguration>( + 8, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $2.ClientConfiguration.create) ..aOS(9, _omitFieldNames ? '' : 'serverRegion') ..a<$core.int>(10, _omitFieldNames ? '' : 'pingTimeout', $pb.PbFieldType.O3) - ..a<$core.int>(11, _omitFieldNames ? '' : 'pingInterval', $pb.PbFieldType.O3) - ..aOM<$2.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) - ..a<$core.List<$core.int>>(13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) - ..pc<$2.Codec>(14, _omitFieldNames ? '' : 'enabledPublishCodecs', $pb.PbFieldType.PM, subBuilder: $2.Codec.create) + ..a<$core.int>( + 11, _omitFieldNames ? '' : 'pingInterval', $pb.PbFieldType.O3) + ..aOM<$2.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', + subBuilder: $2.ServerInfo.create) + ..a<$core.List<$core.int>>( + 13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) + ..pc<$2.Codec>( + 14, _omitFieldNames ? '' : 'enabledPublishCodecs', $pb.PbFieldType.PM, + subBuilder: $2.Codec.create) ..aOB(15, _omitFieldNames ? '' : 'fastPublish') ..hasRequiredFields = false; @@ -1387,7 +1526,8 @@ class JoinResponse extends $pb.GeneratedMessage { JoinResponse clone() => JoinResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinResponse copyWith(void Function(JoinResponse) updates) => - super.copyWith((message) => updates(message as JoinResponse)) as JoinResponse; + super.copyWith((message) => updates(message as JoinResponse)) + as JoinResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1396,9 +1536,11 @@ class JoinResponse extends $pb.GeneratedMessage { static JoinResponse create() => JoinResponse._(); @$core.override JoinResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static JoinResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static JoinResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static JoinResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1543,7 +1685,8 @@ class ReconnectResponse extends $pb.GeneratedMessage { }) { final result = create(); if (iceServers != null) result.iceServers.addAll(iceServers); - if (clientConfiguration != null) result.clientConfiguration = clientConfiguration; + if (clientConfiguration != null) + result.clientConfiguration = clientConfiguration; if (serverInfo != null) result.serverInfo = serverInfo; if (lastMessageSeq != null) result.lastMessageSeq = lastMessageSeq; return result; @@ -1558,20 +1701,27 @@ class ReconnectResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconnectResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) - ..aOM<$2.ClientConfiguration>(2, _omitFieldNames ? '' : 'clientConfiguration', + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ReconnectResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, + subBuilder: ICEServer.create) + ..aOM<$2.ClientConfiguration>( + 2, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $2.ClientConfiguration.create) - ..aOM<$2.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) - ..a<$core.int>(4, _omitFieldNames ? '' : 'lastMessageSeq', $pb.PbFieldType.OU3) + ..aOM<$2.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', + subBuilder: $2.ServerInfo.create) + ..a<$core.int>( + 4, _omitFieldNames ? '' : 'lastMessageSeq', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ReconnectResponse clone() => ReconnectResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ReconnectResponse copyWith(void Function(ReconnectResponse) updates) => - super.copyWith((message) => updates(message as ReconnectResponse)) as ReconnectResponse; + super.copyWith((message) => updates(message as ReconnectResponse)) + as ReconnectResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1580,10 +1730,11 @@ class ReconnectResponse extends $pb.GeneratedMessage { static ReconnectResponse create() => ReconnectResponse._(); @$core.override ReconnectResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ReconnectResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ReconnectResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ReconnectResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1642,17 +1793,23 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPublishedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackPublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') - ..aOM<$2.TrackInfo>(2, _omitFieldNames ? '' : 'track', subBuilder: $2.TrackInfo.create) + ..aOM<$2.TrackInfo>(2, _omitFieldNames ? '' : 'track', + subBuilder: $2.TrackInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse clone() => TrackPublishedResponse()..mergeFromMessage(this); + TrackPublishedResponse clone() => + TrackPublishedResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse copyWith(void Function(TrackPublishedResponse) updates) => - super.copyWith((message) => updates(message as TrackPublishedResponse)) as TrackPublishedResponse; + TrackPublishedResponse copyWith( + void Function(TrackPublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackPublishedResponse)) + as TrackPublishedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1661,10 +1818,11 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { static TrackPublishedResponse create() => TrackPublishedResponse._(); @$core.override TrackPublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackPublishedResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackPublishedResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackPublishedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1706,16 +1864,21 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackUnpublishedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackUnpublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackUnpublishedResponse clone() => TrackUnpublishedResponse()..mergeFromMessage(this); + TrackUnpublishedResponse clone() => + TrackUnpublishedResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackUnpublishedResponse copyWith(void Function(TrackUnpublishedResponse) updates) => - super.copyWith((message) => updates(message as TrackUnpublishedResponse)) as TrackUnpublishedResponse; + TrackUnpublishedResponse copyWith( + void Function(TrackUnpublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackUnpublishedResponse)) + as TrackUnpublishedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1724,10 +1887,11 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { static TrackUnpublishedResponse create() => TrackUnpublishedResponse._(); @$core.override TrackUnpublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackUnpublishedResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackUnpublishedResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackUnpublishedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1762,8 +1926,10 @@ class SessionDescription extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionDescription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SessionDescription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'type') ..aOS(2, _omitFieldNames ? '' : 'sdp') ..a<$core.int>(3, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) @@ -1773,7 +1939,8 @@ class SessionDescription extends $pb.GeneratedMessage { SessionDescription clone() => SessionDescription()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionDescription copyWith(void Function(SessionDescription) updates) => - super.copyWith((message) => updates(message as SessionDescription)) as SessionDescription; + super.copyWith((message) => updates(message as SessionDescription)) + as SessionDescription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1782,10 +1949,11 @@ class SessionDescription extends $pb.GeneratedMessage { static SessionDescription create() => SessionDescription._(); @$core.override SessionDescription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SessionDescription getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionDescription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SessionDescription? _defaultInstance; @$pb.TagNumber(1) @@ -1834,9 +2002,12 @@ class ParticipantUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc<$2.ParticipantInfo>(1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParticipantUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc<$2.ParticipantInfo>( + 1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..hasRequiredFields = false; @@ -1844,7 +2015,8 @@ class ParticipantUpdate extends $pb.GeneratedMessage { ParticipantUpdate clone() => ParticipantUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantUpdate copyWith(void Function(ParticipantUpdate) updates) => - super.copyWith((message) => updates(message as ParticipantUpdate)) as ParticipantUpdate; + super.copyWith((message) => updates(message as ParticipantUpdate)) + as ParticipantUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1853,10 +2025,11 @@ class ParticipantUpdate extends $pb.GeneratedMessage { static ParticipantUpdate create() => ParticipantUpdate._(); @$core.override ParticipantUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ParticipantUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -1872,7 +2045,8 @@ class UpdateSubscription extends $pb.GeneratedMessage { final result = create(); if (trackSids != null) result.trackSids.addAll(trackSids); if (subscribe != null) result.subscribe = subscribe; - if (participantTracks != null) result.participantTracks.addAll(participantTracks); + if (participantTracks != null) + result.participantTracks.addAll(participantTracks); return result; } @@ -1885,11 +2059,14 @@ class UpdateSubscription extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubscription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateSubscription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'trackSids') ..aOB(2, _omitFieldNames ? '' : 'subscribe') - ..pc<$2.ParticipantTracks>(3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, + ..pc<$2.ParticipantTracks>( + 3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, subBuilder: $2.ParticipantTracks.create) ..hasRequiredFields = false; @@ -1897,7 +2074,8 @@ class UpdateSubscription extends $pb.GeneratedMessage { UpdateSubscription clone() => UpdateSubscription()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateSubscription copyWith(void Function(UpdateSubscription) updates) => - super.copyWith((message) => updates(message as UpdateSubscription)) as UpdateSubscription; + super.copyWith((message) => updates(message as UpdateSubscription)) + as UpdateSubscription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1906,10 +2084,11 @@ class UpdateSubscription extends $pb.GeneratedMessage { static UpdateSubscription create() => UpdateSubscription._(); @$core.override UpdateSubscription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateSubscription getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateSubscription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateSubscription? _defaultInstance; @$pb.TagNumber(1) @@ -1958,12 +2137,17 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTrackSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateTrackSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'trackSids') ..aOB(3, _omitFieldNames ? '' : 'disabled') - ..e<$2.VideoQuality>(4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) + ..e<$2.VideoQuality>( + 4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $2.VideoQuality.LOW, + valueOf: $2.VideoQuality.valueOf, + enumValues: $2.VideoQuality.values) ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(6, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..a<$core.int>(7, _omitFieldNames ? '' : 'fps', $pb.PbFieldType.OU3) @@ -1974,7 +2158,8 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { UpdateTrackSettings clone() => UpdateTrackSettings()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateTrackSettings copyWith(void Function(UpdateTrackSettings) updates) => - super.copyWith((message) => updates(message as UpdateTrackSettings)) as UpdateTrackSettings; + super.copyWith((message) => updates(message as UpdateTrackSettings)) + as UpdateTrackSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1983,10 +2168,11 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { static UpdateTrackSettings create() => UpdateTrackSettings._(); @$core.override UpdateTrackSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateTrackSettings getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateTrackSettings getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateTrackSettings? _defaultInstance; @$pb.TagNumber(1) @@ -2078,20 +2264,26 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocalAudioTrack', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateLocalAudioTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.AudioTrackFeature>(2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, + ..pc<$2.AudioTrackFeature>( + 2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, valueOf: $2.AudioTrackFeature.valueOf, enumValues: $2.AudioTrackFeature.values, defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack clone() => UpdateLocalAudioTrack()..mergeFromMessage(this); + UpdateLocalAudioTrack clone() => + UpdateLocalAudioTrack()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack copyWith(void Function(UpdateLocalAudioTrack) updates) => - super.copyWith((message) => updates(message as UpdateLocalAudioTrack)) as UpdateLocalAudioTrack; + UpdateLocalAudioTrack copyWith( + void Function(UpdateLocalAudioTrack) updates) => + super.copyWith((message) => updates(message as UpdateLocalAudioTrack)) + as UpdateLocalAudioTrack; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2100,10 +2292,11 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { static UpdateLocalAudioTrack create() => UpdateLocalAudioTrack._(); @$core.override UpdateLocalAudioTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateLocalAudioTrack getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateLocalAudioTrack getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateLocalAudioTrack? _defaultInstance; @$pb.TagNumber(1) @@ -2141,18 +2334,23 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocalVideoTrack', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateLocalVideoTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack clone() => UpdateLocalVideoTrack()..mergeFromMessage(this); + UpdateLocalVideoTrack clone() => + UpdateLocalVideoTrack()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack copyWith(void Function(UpdateLocalVideoTrack) updates) => - super.copyWith((message) => updates(message as UpdateLocalVideoTrack)) as UpdateLocalVideoTrack; + UpdateLocalVideoTrack copyWith( + void Function(UpdateLocalVideoTrack) updates) => + super.copyWith((message) => updates(message as UpdateLocalVideoTrack)) + as UpdateLocalVideoTrack; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2161,10 +2359,11 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { static UpdateLocalVideoTrack create() => UpdateLocalVideoTrack._(); @$core.override UpdateLocalVideoTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateLocalVideoTrack getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateLocalVideoTrack getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateLocalVideoTrack? _defaultInstance; @$pb.TagNumber(1) @@ -2215,28 +2414,35 @@ class LeaveRequest extends $pb.GeneratedMessage { factory LeaveRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory LeaveRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory LeaveRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LeaveRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LeaveRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canReconnect') - ..e<$2.DisconnectReason>(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, + ..e<$2.DisconnectReason>( + 2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, defaultOrMaker: $2.DisconnectReason.UNKNOWN_REASON, valueOf: $2.DisconnectReason.valueOf, enumValues: $2.DisconnectReason.values) - ..e(3, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE, + ..e( + 3, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE, defaultOrMaker: LeaveRequest_Action.DISCONNECT, valueOf: LeaveRequest_Action.valueOf, enumValues: LeaveRequest_Action.values) - ..aOM(4, _omitFieldNames ? '' : 'regions', subBuilder: RegionSettings.create) + ..aOM(4, _omitFieldNames ? '' : 'regions', + subBuilder: RegionSettings.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') LeaveRequest clone() => LeaveRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') LeaveRequest copyWith(void Function(LeaveRequest) updates) => - super.copyWith((message) => updates(message as LeaveRequest)) as LeaveRequest; + super.copyWith((message) => updates(message as LeaveRequest)) + as LeaveRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2245,9 +2451,11 @@ class LeaveRequest extends $pb.GeneratedMessage { static LeaveRequest create() => LeaveRequest._(); @$core.override LeaveRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static LeaveRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LeaveRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static LeaveRequest? _defaultInstance; /// sent when server initiates the disconnect due to server-restart @@ -2314,17 +2522,21 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateVideoLayers', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateVideoLayers', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) + ..pc<$2.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, + subBuilder: $2.VideoLayer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateVideoLayers clone() => UpdateVideoLayers()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateVideoLayers copyWith(void Function(UpdateVideoLayers) updates) => - super.copyWith((message) => updates(message as UpdateVideoLayers)) as UpdateVideoLayers; + super.copyWith((message) => updates(message as UpdateVideoLayers)) + as UpdateVideoLayers; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2333,10 +2545,11 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { static UpdateVideoLayers create() => UpdateVideoLayers._(); @$core.override UpdateVideoLayers createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateVideoLayers getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateVideoLayers getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateVideoLayers? _defaultInstance; @$pb.TagNumber(1) @@ -2376,8 +2589,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateParticipantMetadata', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateParticipantMetadata', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'metadata') ..aOS(2, _omitFieldNames ? '' : 'name') ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'attributes', @@ -2389,10 +2604,13 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata clone() => UpdateParticipantMetadata()..mergeFromMessage(this); + UpdateParticipantMetadata clone() => + UpdateParticipantMetadata()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata copyWith(void Function(UpdateParticipantMetadata) updates) => - super.copyWith((message) => updates(message as UpdateParticipantMetadata)) as UpdateParticipantMetadata; + UpdateParticipantMetadata copyWith( + void Function(UpdateParticipantMetadata) updates) => + super.copyWith((message) => updates(message as UpdateParticipantMetadata)) + as UpdateParticipantMetadata; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2401,10 +2619,11 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { static UpdateParticipantMetadata create() => UpdateParticipantMetadata._(); @$core.override UpdateParticipantMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateParticipantMetadata getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateParticipantMetadata getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UpdateParticipantMetadata? _defaultInstance; @$pb.TagNumber(1) @@ -2458,11 +2677,14 @@ class ICEServer extends $pb.GeneratedMessage { factory ICEServer.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ICEServer.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ICEServer.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ICEServer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ICEServer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'urls') ..aOS(2, _omitFieldNames ? '' : 'username') ..aOS(3, _omitFieldNames ? '' : 'credential') @@ -2483,7 +2705,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) @@ -2522,19 +2745,25 @@ class SpeakersChanged extends $pb.GeneratedMessage { factory SpeakersChanged.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SpeakersChanged.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SpeakersChanged.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakersChanged', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc<$2.SpeakerInfo>(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: $2.SpeakerInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SpeakersChanged', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc<$2.SpeakerInfo>( + 1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, + subBuilder: $2.SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakersChanged clone() => SpeakersChanged()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakersChanged copyWith(void Function(SpeakersChanged) updates) => - super.copyWith((message) => updates(message as SpeakersChanged)) as SpeakersChanged; + super.copyWith((message) => updates(message as SpeakersChanged)) + as SpeakersChanged; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2543,10 +2772,11 @@ class SpeakersChanged extends $pb.GeneratedMessage { static SpeakersChanged create() => SpeakersChanged._(); @$core.override SpeakersChanged createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SpeakersChanged getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SpeakersChanged getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SpeakersChanged? _defaultInstance; @$pb.TagNumber(1) @@ -2567,11 +2797,14 @@ class RoomUpdate extends $pb.GeneratedMessage { factory RoomUpdate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RoomUpdate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RoomUpdate.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RoomUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) ..hasRequiredFields = false; @@ -2590,7 +2823,8 @@ 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) @@ -2627,10 +2861,13 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionQualityInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..e<$2.ConnectionQuality>(2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + ..e<$2.ConnectionQuality>( + 2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, defaultOrMaker: $2.ConnectionQuality.POOR, valueOf: $2.ConnectionQuality.valueOf, enumValues: $2.ConnectionQuality.values) @@ -2638,10 +2875,13 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo clone() => ConnectionQualityInfo()..mergeFromMessage(this); + ConnectionQualityInfo clone() => + ConnectionQualityInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo copyWith(void Function(ConnectionQualityInfo) updates) => - super.copyWith((message) => updates(message as ConnectionQualityInfo)) as ConnectionQualityInfo; + ConnectionQualityInfo copyWith( + void Function(ConnectionQualityInfo) updates) => + super.copyWith((message) => updates(message as ConnectionQualityInfo)) + as ConnectionQualityInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2650,10 +2890,11 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { static ConnectionQualityInfo create() => ConnectionQualityInfo._(); @$core.override ConnectionQualityInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionQualityInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionQualityInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectionQualityInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2702,17 +2943,23 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'updates', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionQualityUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'updates', $pb.PbFieldType.PM, subBuilder: ConnectionQualityInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate clone() => ConnectionQualityUpdate()..mergeFromMessage(this); + ConnectionQualityUpdate clone() => + ConnectionQualityUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate copyWith(void Function(ConnectionQualityUpdate) updates) => - super.copyWith((message) => updates(message as ConnectionQualityUpdate)) as ConnectionQualityUpdate; + ConnectionQualityUpdate copyWith( + void Function(ConnectionQualityUpdate) updates) => + super.copyWith((message) => updates(message as ConnectionQualityUpdate)) + as ConnectionQualityUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2721,10 +2968,11 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { static ConnectionQualityUpdate create() => ConnectionQualityUpdate._(); @$core.override ConnectionQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionQualityUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionQualityUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectionQualityUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2749,22 +2997,28 @@ class StreamStateInfo extends $pb.GeneratedMessage { factory StreamStateInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory StreamStateInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory StreamStateInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StreamStateInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOS(2, _omitFieldNames ? '' : 'trackSid') ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: StreamState.ACTIVE, valueOf: StreamState.valueOf, enumValues: StreamState.values) + defaultOrMaker: StreamState.ACTIVE, + valueOf: StreamState.valueOf, + enumValues: StreamState.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateInfo clone() => StreamStateInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateInfo copyWith(void Function(StreamStateInfo) updates) => - super.copyWith((message) => updates(message as StreamStateInfo)) as StreamStateInfo; + super.copyWith((message) => updates(message as StreamStateInfo)) + as StreamStateInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2773,10 +3027,11 @@ class StreamStateInfo extends $pb.GeneratedMessage { static StreamStateInfo create() => StreamStateInfo._(); @$core.override StreamStateInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamStateInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StreamStateInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static StreamStateInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2825,9 +3080,12 @@ class StreamStateUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'streamStates', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StreamStateUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'streamStates', $pb.PbFieldType.PM, subBuilder: StreamStateInfo.create) ..hasRequiredFields = false; @@ -2835,7 +3093,8 @@ class StreamStateUpdate extends $pb.GeneratedMessage { StreamStateUpdate clone() => StreamStateUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateUpdate copyWith(void Function(StreamStateUpdate) updates) => - super.copyWith((message) => updates(message as StreamStateUpdate)) as StreamStateUpdate; + super.copyWith((message) => updates(message as StreamStateUpdate)) + as StreamStateUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2844,10 +3103,11 @@ class StreamStateUpdate extends $pb.GeneratedMessage { static StreamStateUpdate create() => StreamStateUpdate._(); @$core.override StreamStateUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamStateUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StreamStateUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static StreamStateUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2874,10 +3134,15 @@ class SubscribedQuality extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQuality', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e<$2.VideoQuality>(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedQuality', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e<$2.VideoQuality>( + 1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $2.VideoQuality.LOW, + valueOf: $2.VideoQuality.valueOf, + enumValues: $2.VideoQuality.values) ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @@ -2885,7 +3150,8 @@ class SubscribedQuality extends $pb.GeneratedMessage { SubscribedQuality clone() => SubscribedQuality()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedQuality copyWith(void Function(SubscribedQuality) updates) => - super.copyWith((message) => updates(message as SubscribedQuality)) as SubscribedQuality; + super.copyWith((message) => updates(message as SubscribedQuality)) + as SubscribedQuality; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2894,10 +3160,11 @@ class SubscribedQuality extends $pb.GeneratedMessage { static SubscribedQuality create() => SubscribedQuality._(); @$core.override SubscribedQuality createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedQuality getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedQuality getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedQuality? _defaultInstance; @$pb.TagNumber(1) @@ -2935,13 +3202,17 @@ class SubscribedCodec extends $pb.GeneratedMessage { factory SubscribedCodec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SubscribedCodec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SubscribedCodec.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') - ..pc(2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, + ..pc( + 2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, subBuilder: SubscribedQuality.create) ..hasRequiredFields = false; @@ -2949,7 +3220,8 @@ class SubscribedCodec extends $pb.GeneratedMessage { SubscribedCodec clone() => SubscribedCodec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedCodec copyWith(void Function(SubscribedCodec) updates) => - super.copyWith((message) => updates(message as SubscribedCodec)) as SubscribedCodec; + super.copyWith((message) => updates(message as SubscribedCodec)) + as SubscribedCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2958,10 +3230,11 @@ class SubscribedCodec extends $pb.GeneratedMessage { static SubscribedCodec create() => SubscribedCodec._(); @$core.override SubscribedCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedCodec getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedCodec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedCodec? _defaultInstance; @$pb.TagNumber(1) @@ -2980,13 +3253,16 @@ class SubscribedCodec extends $pb.GeneratedMessage { class SubscribedQualityUpdate extends $pb.GeneratedMessage { factory SubscribedQualityUpdate({ $core.String? trackSid, - @$core.Deprecated('This field is deprecated.') $core.Iterable? subscribedQualities, + @$core.Deprecated('This field is deprecated.') + $core.Iterable? subscribedQualities, $core.Iterable? subscribedCodecs, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; - if (subscribedQualities != null) result.subscribedQualities.addAll(subscribedQualities); - if (subscribedCodecs != null) result.subscribedCodecs.addAll(subscribedCodecs); + if (subscribedQualities != null) + result.subscribedQualities.addAll(subscribedQualities); + if (subscribedCodecs != null) + result.subscribedCodecs.addAll(subscribedCodecs); return result; } @@ -2999,20 +3275,27 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQualityUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedQualityUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc(2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, + ..pc( + 2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, subBuilder: SubscribedQuality.create) - ..pc(3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, + ..pc( + 3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, subBuilder: SubscribedCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate clone() => SubscribedQualityUpdate()..mergeFromMessage(this); + SubscribedQualityUpdate clone() => + SubscribedQualityUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate copyWith(void Function(SubscribedQualityUpdate) updates) => - super.copyWith((message) => updates(message as SubscribedQualityUpdate)) as SubscribedQualityUpdate; + SubscribedQualityUpdate copyWith( + void Function(SubscribedQualityUpdate) updates) => + super.copyWith((message) => updates(message as SubscribedQualityUpdate)) + as SubscribedQualityUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3021,10 +3304,11 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { static SubscribedQualityUpdate create() => SubscribedQualityUpdate._(); @$core.override SubscribedQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedQualityUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedQualityUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedQualityUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3051,7 +3335,8 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; - if (subscribedAudioCodecs != null) result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); + if (subscribedAudioCodecs != null) + result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); return result; } @@ -3064,18 +3349,25 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedAudioCodecUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribedAudioCodecUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.SubscribedAudioCodec>(2, _omitFieldNames ? '' : 'subscribedAudioCodecs', $pb.PbFieldType.PM, + ..pc<$2.SubscribedAudioCodec>( + 2, _omitFieldNames ? '' : 'subscribedAudioCodecs', $pb.PbFieldType.PM, subBuilder: $2.SubscribedAudioCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodecUpdate clone() => SubscribedAudioCodecUpdate()..mergeFromMessage(this); + SubscribedAudioCodecUpdate clone() => + SubscribedAudioCodecUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodecUpdate copyWith(void Function(SubscribedAudioCodecUpdate) updates) => - super.copyWith((message) => updates(message as SubscribedAudioCodecUpdate)) as SubscribedAudioCodecUpdate; + SubscribedAudioCodecUpdate copyWith( + void Function(SubscribedAudioCodecUpdate) updates) => + super.copyWith( + (message) => updates(message as SubscribedAudioCodecUpdate)) + as SubscribedAudioCodecUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3084,10 +3376,11 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { static SubscribedAudioCodecUpdate create() => SubscribedAudioCodecUpdate._(); @$core.override SubscribedAudioCodecUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedAudioCodecUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedAudioCodecUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribedAudioCodecUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3114,7 +3407,8 @@ class TrackPermission extends $pb.GeneratedMessage { if (participantSid != null) result.participantSid = participantSid; if (allTracks != null) result.allTracks = allTracks; if (trackSids != null) result.trackSids.addAll(trackSids); - if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (participantIdentity != null) + result.participantIdentity = participantIdentity; return result; } @@ -3123,11 +3417,14 @@ class TrackPermission extends $pb.GeneratedMessage { factory TrackPermission.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackPermission.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackPermission.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOB(2, _omitFieldNames ? '' : 'allTracks') ..pPS(3, _omitFieldNames ? '' : 'trackSids') @@ -3138,7 +3435,8 @@ class TrackPermission extends $pb.GeneratedMessage { TrackPermission clone() => TrackPermission()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackPermission copyWith(void Function(TrackPermission) updates) => - super.copyWith((message) => updates(message as TrackPermission)) as TrackPermission; + super.copyWith((message) => updates(message as TrackPermission)) + as TrackPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3147,10 +3445,11 @@ class TrackPermission extends $pb.GeneratedMessage { static TrackPermission create() => TrackPermission._(); @$core.override TrackPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackPermission getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackPermission getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackPermission? _defaultInstance; /// permission could be granted either by participant sid or identity @@ -3192,7 +3491,8 @@ class SubscriptionPermission extends $pb.GeneratedMessage { }) { final result = create(); if (allParticipants != null) result.allParticipants = allParticipants; - if (trackPermissions != null) result.trackPermissions.addAll(trackPermissions); + if (trackPermissions != null) + result.trackPermissions.addAll(trackPermissions); return result; } @@ -3205,18 +3505,24 @@ class SubscriptionPermission extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allParticipants') - ..pc(2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, + ..pc( + 2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, subBuilder: TrackPermission.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission clone() => SubscriptionPermission()..mergeFromMessage(this); + SubscriptionPermission clone() => + SubscriptionPermission()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission copyWith(void Function(SubscriptionPermission) updates) => - super.copyWith((message) => updates(message as SubscriptionPermission)) as SubscriptionPermission; + SubscriptionPermission copyWith( + void Function(SubscriptionPermission) updates) => + super.copyWith((message) => updates(message as SubscriptionPermission)) + as SubscriptionPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3225,10 +3531,11 @@ class SubscriptionPermission extends $pb.GeneratedMessage { static SubscriptionPermission create() => SubscriptionPermission._(); @$core.override SubscriptionPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionPermission getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionPermission getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionPermission? _defaultInstance; @$pb.TagNumber(1) @@ -3266,30 +3573,38 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermissionUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionPermissionUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOS(2, _omitFieldNames ? '' : 'trackSid') ..aOB(3, _omitFieldNames ? '' : 'allowed') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermissionUpdate clone() => SubscriptionPermissionUpdate()..mergeFromMessage(this); + SubscriptionPermissionUpdate clone() => + SubscriptionPermissionUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermissionUpdate copyWith(void Function(SubscriptionPermissionUpdate) updates) => - super.copyWith((message) => updates(message as SubscriptionPermissionUpdate)) as SubscriptionPermissionUpdate; + SubscriptionPermissionUpdate copyWith( + void Function(SubscriptionPermissionUpdate) updates) => + super.copyWith( + (message) => updates(message as SubscriptionPermissionUpdate)) + as SubscriptionPermissionUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate create() => SubscriptionPermissionUpdate._(); + static SubscriptionPermissionUpdate create() => + SubscriptionPermissionUpdate._(); @$core.override SubscriptionPermissionUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionPermissionUpdate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionPermissionUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3331,7 +3646,8 @@ class RoomMovedResponse extends $pb.GeneratedMessage { if (room != null) result.room = room; if (token != null) result.token = token; if (participant != null) result.participant = participant; - if (otherParticipants != null) result.otherParticipants.addAll(otherParticipants); + if (otherParticipants != null) + result.otherParticipants.addAll(otherParticipants); return result; } @@ -3344,12 +3660,16 @@ class RoomMovedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomMovedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RoomMovedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) ..aOS(2, _omitFieldNames ? '' : 'token') - ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>(4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, + ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', + subBuilder: $2.ParticipantInfo.create) + ..pc<$2.ParticipantInfo>( + 4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..hasRequiredFields = false; @@ -3357,7 +3677,8 @@ class RoomMovedResponse extends $pb.GeneratedMessage { RoomMovedResponse clone() => RoomMovedResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RoomMovedResponse copyWith(void Function(RoomMovedResponse) updates) => - super.copyWith((message) => updates(message as RoomMovedResponse)) as RoomMovedResponse; + super.copyWith((message) => updates(message as RoomMovedResponse)) + as RoomMovedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3366,10 +3687,11 @@ class RoomMovedResponse extends $pb.GeneratedMessage { static RoomMovedResponse create() => RoomMovedResponse._(); @$core.override RoomMovedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RoomMovedResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RoomMovedResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RoomMovedResponse? _defaultInstance; /// information about the new room @@ -3425,8 +3747,10 @@ class SyncState extends $pb.GeneratedMessage { if (publishTracks != null) result.publishTracks.addAll(publishTracks); if (dataChannels != null) result.dataChannels.addAll(dataChannels); if (offer != null) result.offer = offer; - if (trackSidsDisabled != null) result.trackSidsDisabled.addAll(trackSidsDisabled); - if (datachannelReceiveStates != null) result.datachannelReceiveStates.addAll(datachannelReceiveStates); + if (trackSidsDisabled != null) + result.trackSidsDisabled.addAll(trackSidsDisabled); + if (datachannelReceiveStates != null) + result.datachannelReceiveStates.addAll(datachannelReceiveStates); return result; } @@ -3435,20 +3759,29 @@ class SyncState extends $pb.GeneratedMessage { factory SyncState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SyncState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SyncState.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SyncState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) - ..aOM(2, _omitFieldNames ? '' : 'subscription', subBuilder: UpdateSubscription.create) - ..pc(3, _omitFieldNames ? '' : 'publishTracks', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SyncState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'answer', + subBuilder: SessionDescription.create) + ..aOM(2, _omitFieldNames ? '' : 'subscription', + subBuilder: UpdateSubscription.create) + ..pc( + 3, _omitFieldNames ? '' : 'publishTracks', $pb.PbFieldType.PM, subBuilder: TrackPublishedResponse.create) - ..pc(4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, + ..pc( + 4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, subBuilder: DataChannelInfo.create) - ..aOM(5, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) + ..aOM(5, _omitFieldNames ? '' : 'offer', + subBuilder: SessionDescription.create) ..pPS(6, _omitFieldNames ? '' : 'trackSidsDisabled') - ..pc(7, _omitFieldNames ? '' : 'datachannelReceiveStates', $pb.PbFieldType.PM, + ..pc(7, + _omitFieldNames ? '' : 'datachannelReceiveStates', $pb.PbFieldType.PM, subBuilder: DataChannelReceiveState.create) ..hasRequiredFields = false; @@ -3467,7 +3800,8 @@ class SyncState extends $pb.GeneratedMessage { SyncState createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SyncState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SyncState getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SyncState? _defaultInstance; /// last subscribe/publish answer before reconnecting @@ -3519,7 +3853,8 @@ class SyncState extends $pb.GeneratedMessage { $pb.PbList<$core.String> get trackSidsDisabled => $_getList(5); @$pb.TagNumber(7) - $pb.PbList get datachannelReceiveStates => $_getList(6); + $pb.PbList get datachannelReceiveStates => + $_getList(6); } class DataChannelReceiveState extends $pb.GeneratedMessage { @@ -3542,17 +3877,22 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelReceiveState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataChannelReceiveState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'publisherSid') ..a<$core.int>(2, _omitFieldNames ? '' : 'lastSeq', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState clone() => DataChannelReceiveState()..mergeFromMessage(this); + DataChannelReceiveState clone() => + DataChannelReceiveState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState copyWith(void Function(DataChannelReceiveState) updates) => - super.copyWith((message) => updates(message as DataChannelReceiveState)) as DataChannelReceiveState; + DataChannelReceiveState copyWith( + void Function(DataChannelReceiveState) updates) => + super.copyWith((message) => updates(message as DataChannelReceiveState)) + as DataChannelReceiveState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3561,10 +3901,11 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { static DataChannelReceiveState create() => DataChannelReceiveState._(); @$core.override DataChannelReceiveState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataChannelReceiveState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataChannelReceiveState getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataChannelReceiveState? _defaultInstance; @$pb.TagNumber(1) @@ -3604,22 +3945,28 @@ class DataChannelInfo extends $pb.GeneratedMessage { factory DataChannelInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataChannelInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataChannelInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DataChannelInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'label') ..a<$core.int>(2, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..e(3, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, - defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) + defaultOrMaker: SignalTarget.PUBLISHER, + valueOf: SignalTarget.valueOf, + enumValues: SignalTarget.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataChannelInfo clone() => DataChannelInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataChannelInfo copyWith(void Function(DataChannelInfo) updates) => - super.copyWith((message) => updates(message as DataChannelInfo)) as DataChannelInfo; + super.copyWith((message) => updates(message as DataChannelInfo)) + as DataChannelInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3628,10 +3975,11 @@ class DataChannelInfo extends $pb.GeneratedMessage { static DataChannelInfo create() => DataChannelInfo._(); @$core.override DataChannelInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataChannelInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DataChannelInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static DataChannelInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3692,12 +4040,17 @@ class SimulateScenario extends $pb.GeneratedMessage { if (nodeFailure != null) result.nodeFailure = nodeFailure; if (migration != null) result.migration = migration; if (serverLeave != null) result.serverLeave = serverLeave; - if (switchCandidateProtocol != null) result.switchCandidateProtocol = switchCandidateProtocol; - if (subscriberBandwidth != null) result.subscriberBandwidth = subscriberBandwidth; - if (disconnectSignalOnResume != null) result.disconnectSignalOnResume = disconnectSignalOnResume; + if (switchCandidateProtocol != null) + result.switchCandidateProtocol = switchCandidateProtocol; + if (subscriberBandwidth != null) + result.subscriberBandwidth = subscriberBandwidth; + if (disconnectSignalOnResume != null) + result.disconnectSignalOnResume = disconnectSignalOnResume; if (disconnectSignalOnResumeNoMessages != null) - result.disconnectSignalOnResumeNoMessages = disconnectSignalOnResumeNoMessages; - if (leaveRequestFullReconnect != null) result.leaveRequestFullReconnect = leaveRequestFullReconnect; + result.disconnectSignalOnResumeNoMessages = + disconnectSignalOnResumeNoMessages; + if (leaveRequestFullReconnect != null) + result.leaveRequestFullReconnect = leaveRequestFullReconnect; return result; } @@ -3710,7 +4063,8 @@ class SimulateScenario extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SimulateScenario_Scenario> _SimulateScenario_ScenarioByTag = { + static const $core.Map<$core.int, SimulateScenario_Scenario> + _SimulateScenario_ScenarioByTag = { 1: SimulateScenario_Scenario.speakerUpdate, 2: SimulateScenario_Scenario.nodeFailure, 3: SimulateScenario_Scenario.migration, @@ -3722,15 +4076,21 @@ class SimulateScenario extends $pb.GeneratedMessage { 9: SimulateScenario_Scenario.leaveRequestFullReconnect, 0: SimulateScenario_Scenario.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulateScenario', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SimulateScenario', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9]) - ..a<$core.int>(1, _omitFieldNames ? '' : 'speakerUpdate', $pb.PbFieldType.O3) + ..a<$core.int>( + 1, _omitFieldNames ? '' : 'speakerUpdate', $pb.PbFieldType.O3) ..aOB(2, _omitFieldNames ? '' : 'nodeFailure') ..aOB(3, _omitFieldNames ? '' : 'migration') ..aOB(4, _omitFieldNames ? '' : 'serverLeave') - ..e(5, _omitFieldNames ? '' : 'switchCandidateProtocol', $pb.PbFieldType.OE, - defaultOrMaker: CandidateProtocol.UDP, valueOf: CandidateProtocol.valueOf, enumValues: CandidateProtocol.values) + ..e( + 5, _omitFieldNames ? '' : 'switchCandidateProtocol', $pb.PbFieldType.OE, + defaultOrMaker: CandidateProtocol.UDP, + valueOf: CandidateProtocol.valueOf, + enumValues: CandidateProtocol.values) ..aInt64(6, _omitFieldNames ? '' : 'subscriberBandwidth') ..aOB(7, _omitFieldNames ? '' : 'disconnectSignalOnResume') ..aOB(8, _omitFieldNames ? '' : 'disconnectSignalOnResumeNoMessages') @@ -3741,7 +4101,8 @@ class SimulateScenario extends $pb.GeneratedMessage { SimulateScenario clone() => SimulateScenario()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulateScenario copyWith(void Function(SimulateScenario) updates) => - super.copyWith((message) => updates(message as SimulateScenario)) as SimulateScenario; + super.copyWith((message) => updates(message as SimulateScenario)) + as SimulateScenario; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3750,13 +4111,15 @@ class SimulateScenario extends $pb.GeneratedMessage { static SimulateScenario create() => SimulateScenario._(); @$core.override SimulateScenario createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulateScenario getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimulateScenario getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SimulateScenario? _defaultInstance; - SimulateScenario_Scenario whichScenario() => _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; + SimulateScenario_Scenario whichScenario() => + _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; void clearScenario() => $_clearField($_whichOneof(0)); /// simulate N seconds of speaker activity @@ -3834,7 +4197,8 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get disconnectSignalOnResumeNoMessages => $_getBF(7); @$pb.TagNumber(8) - set disconnectSignalOnResumeNoMessages($core.bool value) => $_setBool(7, value); + set disconnectSignalOnResumeNoMessages($core.bool value) => + $_setBool(7, value); @$pb.TagNumber(8) $core.bool hasDisconnectSignalOnResumeNoMessages() => $_has(7); @$pb.TagNumber(8) @@ -3864,13 +4228,17 @@ class Ping extends $pb.GeneratedMessage { Ping._(); - factory Ping.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Ping.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Ping.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Ping.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Ping', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Ping', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestamp') ..aInt64(2, _omitFieldNames ? '' : 'rtt') ..hasRequiredFields = false; @@ -3878,7 +4246,8 @@ class Ping extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Ping clone() => Ping()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Ping copyWith(void Function(Ping) updates) => super.copyWith((message) => updates(message as Ping)) as Ping; + Ping copyWith(void Function(Ping) updates) => + super.copyWith((message) => updates(message as Ping)) as Ping; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3889,7 +4258,8 @@ 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) @@ -3925,13 +4295,17 @@ class Pong extends $pb.GeneratedMessage { Pong._(); - factory Pong.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pong.fromBuffer($core.List<$core.int> data, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Pong.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pong.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pong', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Pong', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'lastPingTimestamp') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..hasRequiredFields = false; @@ -3939,7 +4313,8 @@ class Pong extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pong clone() => Pong()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Pong copyWith(void Function(Pong) updates) => super.copyWith((message) => updates(message as Pong)) as Pong; + Pong copyWith(void Function(Pong) updates) => + super.copyWith((message) => updates(message as Pong)) as Pong; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3950,7 +4325,8 @@ 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 @@ -3987,19 +4363,24 @@ class RegionSettings extends $pb.GeneratedMessage { factory RegionSettings.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RegionSettings.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RegionSettings.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.PM, subBuilder: RegionInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RegionSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.PM, + subBuilder: RegionInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionSettings clone() => RegionSettings()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionSettings copyWith(void Function(RegionSettings) updates) => - super.copyWith((message) => updates(message as RegionSettings)) as RegionSettings; + super.copyWith((message) => updates(message as RegionSettings)) + as RegionSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4008,9 +4389,11 @@ class RegionSettings extends $pb.GeneratedMessage { static RegionSettings create() => RegionSettings._(); @$core.override RegionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RegionSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RegionSettings getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RegionSettings? _defaultInstance; @$pb.TagNumber(1) @@ -4035,11 +4418,14 @@ class RegionInfo extends $pb.GeneratedMessage { factory RegionInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RegionInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RegionInfo.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RegionInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'region') ..aOS(2, _omitFieldNames ? '' : 'url') ..aInt64(3, _omitFieldNames ? '' : 'distance') @@ -4060,7 +4446,8 @@ 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) @@ -4111,20 +4498,25 @@ class SubscriptionResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscriptionResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..e<$2.SubscriptionError>(2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, + ..e<$2.SubscriptionError>( + 2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, defaultOrMaker: $2.SubscriptionError.SE_UNKNOWN, valueOf: $2.SubscriptionError.valueOf, enumValues: $2.SubscriptionError.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionResponse clone() => SubscriptionResponse()..mergeFromMessage(this); + SubscriptionResponse clone() => + SubscriptionResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionResponse copyWith(void Function(SubscriptionResponse) updates) => - super.copyWith((message) => updates(message as SubscriptionResponse)) as SubscriptionResponse; + super.copyWith((message) => updates(message as SubscriptionResponse)) + as SubscriptionResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4133,10 +4525,11 @@ class SubscriptionResponse extends $pb.GeneratedMessage { static SubscriptionResponse create() => SubscriptionResponse._(); @$core.override SubscriptionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionResponse? _defaultInstance; @$pb.TagNumber(1) @@ -4158,7 +4551,15 @@ class SubscriptionResponse extends $pb.GeneratedMessage { void clearErr() => $_clearField(2); } -enum RequestResponse_Request { trickle, addTrack, mute, updateMetadata, updateAudioTrack, updateVideoTrack, notSet } +enum RequestResponse_Request { + trickle, + addTrack, + mute, + updateMetadata, + updateAudioTrack, + updateVideoTrack, + notSet +} class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse({ @@ -4190,10 +4591,12 @@ class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RequestResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RequestResponse.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RequestResponse_Request> _RequestResponse_RequestByTag = { + static const $core.Map<$core.int, RequestResponse_Request> + _RequestResponse_RequestByTag = { 4: RequestResponse_Request.trickle, 5: RequestResponse_Request.addTrack, 6: RequestResponse_Request.mute, @@ -4202,29 +4605,38 @@ class RequestResponse extends $pb.GeneratedMessage { 9: RequestResponse_Request.updateVideoTrack, 0: RequestResponse_Request.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RequestResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..oo(0, [4, 5, 6, 7, 8, 9]) ..a<$core.int>(1, _omitFieldNames ? '' : 'requestId', $pb.PbFieldType.OU3) - ..e(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, + ..e( + 2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, defaultOrMaker: RequestResponse_Reason.OK, valueOf: RequestResponse_Reason.valueOf, enumValues: RequestResponse_Reason.values) ..aOS(3, _omitFieldNames ? '' : 'message') - ..aOM(4, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'addTrack', subBuilder: AddTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) + ..aOM(4, _omitFieldNames ? '' : 'trickle', + subBuilder: TrickleRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'addTrack', + subBuilder: AddTrackRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'mute', + subBuilder: MuteTrackRequest.create) ..aOM(7, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) - ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', subBuilder: UpdateLocalAudioTrack.create) - ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', subBuilder: UpdateLocalVideoTrack.create) + ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', + subBuilder: UpdateLocalAudioTrack.create) + ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', + subBuilder: UpdateLocalVideoTrack.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RequestResponse clone() => RequestResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RequestResponse copyWith(void Function(RequestResponse) updates) => - super.copyWith((message) => updates(message as RequestResponse)) as RequestResponse; + super.copyWith((message) => updates(message as RequestResponse)) + as RequestResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4233,13 +4645,15 @@ class RequestResponse extends $pb.GeneratedMessage { static RequestResponse create() => RequestResponse._(); @$core.override RequestResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestResponse getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestResponse getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RequestResponse? _defaultInstance; - RequestResponse_Request whichRequest() => _RequestResponse_RequestByTag[$_whichOneof(0)]!; + RequestResponse_Request whichRequest() => + _RequestResponse_RequestByTag[$_whichOneof(0)]!; void clearRequest() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4350,11 +4764,14 @@ class TrackSubscribed extends $pb.GeneratedMessage { factory TrackSubscribed.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackSubscribed.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackSubscribed.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackSubscribed', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TrackSubscribed', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..hasRequiredFields = false; @@ -4362,7 +4779,8 @@ class TrackSubscribed extends $pb.GeneratedMessage { TrackSubscribed clone() => TrackSubscribed()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackSubscribed copyWith(void Function(TrackSubscribed) updates) => - super.copyWith((message) => updates(message as TrackSubscribed)) as TrackSubscribed; + super.copyWith((message) => updates(message as TrackSubscribed)) + as TrackSubscribed; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4371,10 +4789,11 @@ class TrackSubscribed extends $pb.GeneratedMessage { static TrackSubscribed create() => TrackSubscribed._(); @$core.override TrackSubscribed createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackSubscribed getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackSubscribed getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static TrackSubscribed? _defaultInstance; @$pb.TagNumber(1) @@ -4397,7 +4816,8 @@ class ConnectionSettings extends $pb.GeneratedMessage { final result = create(); if (autoSubscribe != null) result.autoSubscribe = autoSubscribe; if (adaptiveStream != null) result.adaptiveStream = adaptiveStream; - if (subscriberAllowPause != null) result.subscriberAllowPause = subscriberAllowPause; + if (subscriberAllowPause != null) + result.subscriberAllowPause = subscriberAllowPause; if (disableIceLite != null) result.disableIceLite = disableIceLite; return result; } @@ -4411,8 +4831,10 @@ class ConnectionSettings extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectionSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'autoSubscribe') ..aOB(2, _omitFieldNames ? '' : 'adaptiveStream') ..aOB(3, _omitFieldNames ? '' : 'subscriberAllowPause') @@ -4423,7 +4845,8 @@ class ConnectionSettings extends $pb.GeneratedMessage { ConnectionSettings clone() => ConnectionSettings()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ConnectionSettings copyWith(void Function(ConnectionSettings) updates) => - super.copyWith((message) => updates(message as ConnectionSettings)) as ConnectionSettings; + super.copyWith((message) => updates(message as ConnectionSettings)) + as ConnectionSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4432,10 +4855,11 @@ class ConnectionSettings extends $pb.GeneratedMessage { static ConnectionSettings create() => ConnectionSettings._(); @$core.override ConnectionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionSettings getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionSettings getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectionSettings? _defaultInstance; @$pb.TagNumber(1) @@ -4480,7 +4904,8 @@ class JoinRequest extends $pb.GeneratedMessage { $2.ClientInfo? clientInfo, ConnectionSettings? connectionSettings, $core.String? metadata, - $core.Iterable<$core.MapEntry<$core.String, $core.String>>? participantAttributes, + $core.Iterable<$core.MapEntry<$core.String, $core.String>>? + participantAttributes, $core.Iterable? addTrackRequests, SessionDescription? publisherOffer, $core.bool? reconnect, @@ -4490,10 +4915,13 @@ class JoinRequest extends $pb.GeneratedMessage { }) { final result = create(); if (clientInfo != null) result.clientInfo = clientInfo; - if (connectionSettings != null) result.connectionSettings = connectionSettings; + if (connectionSettings != null) + result.connectionSettings = connectionSettings; if (metadata != null) result.metadata = metadata; - if (participantAttributes != null) result.participantAttributes.addEntries(participantAttributes); - if (addTrackRequests != null) result.addTrackRequests.addAll(addTrackRequests); + if (participantAttributes != null) + result.participantAttributes.addEntries(participantAttributes); + if (addTrackRequests != null) + result.addTrackRequests.addAll(addTrackRequests); if (publisherOffer != null) result.publisherOffer = publisherOffer; if (reconnect != null) result.reconnect = reconnect; if (reconnectReason != null) result.reconnectReason = reconnectReason; @@ -4507,36 +4935,47 @@ class JoinRequest extends $pb.GeneratedMessage { factory JoinRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory JoinRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory JoinRequest.fromJson($core.String json, + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..aOM<$2.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', subBuilder: $2.ClientInfo.create) - ..aOM(2, _omitFieldNames ? '' : 'connectionSettings', subBuilder: ConnectionSettings.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'JoinRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..aOM<$2.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', + subBuilder: $2.ClientInfo.create) + ..aOM(2, _omitFieldNames ? '' : 'connectionSettings', + subBuilder: ConnectionSettings.create) ..aOS(3, _omitFieldNames ? '' : 'metadata') - ..m<$core.String, $core.String>(4, _omitFieldNames ? '' : 'participantAttributes', + ..m<$core.String, $core.String>( + 4, _omitFieldNames ? '' : 'participantAttributes', entryClassName: 'JoinRequest.ParticipantAttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..pc(5, _omitFieldNames ? '' : 'addTrackRequests', $pb.PbFieldType.PM, + ..pc( + 5, _omitFieldNames ? '' : 'addTrackRequests', $pb.PbFieldType.PM, subBuilder: AddTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'publisherOffer', subBuilder: SessionDescription.create) + ..aOM(6, _omitFieldNames ? '' : 'publisherOffer', + subBuilder: SessionDescription.create) ..aOB(7, _omitFieldNames ? '' : 'reconnect') - ..e<$2.ReconnectReason>(8, _omitFieldNames ? '' : 'reconnectReason', $pb.PbFieldType.OE, + ..e<$2.ReconnectReason>( + 8, _omitFieldNames ? '' : 'reconnectReason', $pb.PbFieldType.OE, defaultOrMaker: $2.ReconnectReason.RR_UNKNOWN, valueOf: $2.ReconnectReason.valueOf, enumValues: $2.ReconnectReason.values) ..aOS(9, _omitFieldNames ? '' : 'participantSid') - ..aOM(10, _omitFieldNames ? '' : 'syncState', subBuilder: SyncState.create) + ..aOM(10, _omitFieldNames ? '' : 'syncState', + subBuilder: SyncState.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinRequest clone() => JoinRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinRequest copyWith(void Function(JoinRequest) updates) => - super.copyWith((message) => updates(message as JoinRequest)) as JoinRequest; + super.copyWith((message) => updates(message as JoinRequest)) + as JoinRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4547,7 +4986,8 @@ class JoinRequest extends $pb.GeneratedMessage { JoinRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static JoinRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static JoinRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static JoinRequest? _defaultInstance; @$pb.TagNumber(1) @@ -4585,7 +5025,8 @@ class JoinRequest extends $pb.GeneratedMessage { /// will overwrite if the same key is in the token /// will not delete keys from token if there is a key collision and this sets that key to empty value @$pb.TagNumber(4) - $pb.PbMap<$core.String, $core.String> get participantAttributes => $_getMap(3); + $pb.PbMap<$core.String, $core.String> get participantAttributes => + $_getMap(3); @$pb.TagNumber(5) $pb.PbList get addTrackRequests => $_getList(4); @@ -4660,20 +5101,25 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WrappedJoinRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'compression', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WrappedJoinRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'compression', $pb.PbFieldType.OE, defaultOrMaker: WrappedJoinRequest_Compression.NONE, valueOf: WrappedJoinRequest_Compression.valueOf, enumValues: WrappedJoinRequest_Compression.values) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'joinRequest', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'joinRequest', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WrappedJoinRequest clone() => WrappedJoinRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WrappedJoinRequest copyWith(void Function(WrappedJoinRequest) updates) => - super.copyWith((message) => updates(message as WrappedJoinRequest)) as WrappedJoinRequest; + super.copyWith((message) => updates(message as WrappedJoinRequest)) + as WrappedJoinRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4682,10 +5128,11 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { static WrappedJoinRequest create() => WrappedJoinRequest._(); @$core.override WrappedJoinRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static WrappedJoinRequest getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WrappedJoinRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static WrappedJoinRequest? _defaultInstance; @$pb.TagNumber(1) @@ -4727,17 +5174,22 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MediaSectionsRequirement', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MediaSectionsRequirement', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'numAudios', $pb.PbFieldType.OU3) ..a<$core.int>(2, _omitFieldNames ? '' : 'numVideos', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement clone() => MediaSectionsRequirement()..mergeFromMessage(this); + MediaSectionsRequirement clone() => + MediaSectionsRequirement()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement copyWith(void Function(MediaSectionsRequirement) updates) => - super.copyWith((message) => updates(message as MediaSectionsRequirement)) as MediaSectionsRequirement; + MediaSectionsRequirement copyWith( + void Function(MediaSectionsRequirement) updates) => + super.copyWith((message) => updates(message as MediaSectionsRequirement)) + as MediaSectionsRequirement; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4746,10 +5198,11 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { static MediaSectionsRequirement create() => MediaSectionsRequirement._(); @$core.override MediaSectionsRequirement createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static MediaSectionsRequirement getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MediaSectionsRequirement getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static MediaSectionsRequirement? _defaultInstance; @$pb.TagNumber(1) @@ -4771,5 +5224,7 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { void clearNumVideos() => $_clearField(2); } -const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = + $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_rtc.pbenum.dart b/lib/src/proto/livekit_rtc.pbenum.dart index d45ac2fd3..159f9a799 100644 --- a/lib/src/proto/livekit_rtc.pbenum.dart +++ b/lib/src/proto/livekit_rtc.pbenum.dart @@ -15,39 +15,50 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class SignalTarget extends $pb.ProtobufEnum { - static const SignalTarget PUBLISHER = SignalTarget._(0, _omitEnumNames ? '' : 'PUBLISHER'); - static const SignalTarget SUBSCRIBER = SignalTarget._(1, _omitEnumNames ? '' : 'SUBSCRIBER'); + static const SignalTarget PUBLISHER = + SignalTarget._(0, _omitEnumNames ? '' : 'PUBLISHER'); + static const SignalTarget SUBSCRIBER = + SignalTarget._(1, _omitEnumNames ? '' : 'SUBSCRIBER'); static const $core.List values = [ PUBLISHER, SUBSCRIBER, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static SignalTarget? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static SignalTarget? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const SignalTarget._(super.value, super.name); } class StreamState extends $pb.ProtobufEnum { - static const StreamState ACTIVE = StreamState._(0, _omitEnumNames ? '' : 'ACTIVE'); - static const StreamState PAUSED = StreamState._(1, _omitEnumNames ? '' : 'PAUSED'); + static const StreamState ACTIVE = + StreamState._(0, _omitEnumNames ? '' : 'ACTIVE'); + static const StreamState PAUSED = + StreamState._(1, _omitEnumNames ? '' : 'PAUSED'); static const $core.List values = [ ACTIVE, PAUSED, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static StreamState? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); + static StreamState? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const StreamState._(super.value, super.name); } class CandidateProtocol extends $pb.ProtobufEnum { - static const CandidateProtocol UDP = CandidateProtocol._(0, _omitEnumNames ? '' : 'UDP'); - static const CandidateProtocol TCP = CandidateProtocol._(1, _omitEnumNames ? '' : 'TCP'); - static const CandidateProtocol TLS = CandidateProtocol._(2, _omitEnumNames ? '' : 'TLS'); + static const CandidateProtocol UDP = + CandidateProtocol._(0, _omitEnumNames ? '' : 'UDP'); + static const CandidateProtocol TCP = + CandidateProtocol._(1, _omitEnumNames ? '' : 'TCP'); + static const CandidateProtocol TLS = + CandidateProtocol._(2, _omitEnumNames ? '' : 'TLS'); static const $core.List values = [ UDP, @@ -55,17 +66,22 @@ class CandidateProtocol extends $pb.ProtobufEnum { TLS, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static CandidateProtocol? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); + static CandidateProtocol? valueOf($core.int value) => + value < 0 || value >= _byValue.length ? null : _byValue[value]; const CandidateProtocol._(super.value, super.name); } /// indicates action clients should take on receiving this message class LeaveRequest_Action extends $pb.ProtobufEnum { - static const LeaveRequest_Action DISCONNECT = LeaveRequest_Action._(0, _omitEnumNames ? '' : 'DISCONNECT'); - static const LeaveRequest_Action RESUME = LeaveRequest_Action._(1, _omitEnumNames ? '' : 'RESUME'); - static const LeaveRequest_Action RECONNECT = LeaveRequest_Action._(2, _omitEnumNames ? '' : 'RECONNECT'); + static const LeaveRequest_Action DISCONNECT = + LeaveRequest_Action._(0, _omitEnumNames ? '' : 'DISCONNECT'); + static const LeaveRequest_Action RESUME = + LeaveRequest_Action._(1, _omitEnumNames ? '' : 'RESUME'); + static const LeaveRequest_Action RECONNECT = + LeaveRequest_Action._(2, _omitEnumNames ? '' : 'RECONNECT'); static const $core.List values = [ DISCONNECT, @@ -73,7 +89,8 @@ class LeaveRequest_Action extends $pb.ProtobufEnum { RECONNECT, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 2); static LeaveRequest_Action? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -81,18 +98,23 @@ class LeaveRequest_Action extends $pb.ProtobufEnum { } class RequestResponse_Reason extends $pb.ProtobufEnum { - static const RequestResponse_Reason OK = RequestResponse_Reason._(0, _omitEnumNames ? '' : 'OK'); - static const RequestResponse_Reason NOT_FOUND = RequestResponse_Reason._(1, _omitEnumNames ? '' : 'NOT_FOUND'); - static const RequestResponse_Reason NOT_ALLOWED = RequestResponse_Reason._(2, _omitEnumNames ? '' : 'NOT_ALLOWED'); + static const RequestResponse_Reason OK = + RequestResponse_Reason._(0, _omitEnumNames ? '' : 'OK'); + static const RequestResponse_Reason NOT_FOUND = + RequestResponse_Reason._(1, _omitEnumNames ? '' : 'NOT_FOUND'); + static const RequestResponse_Reason NOT_ALLOWED = + RequestResponse_Reason._(2, _omitEnumNames ? '' : 'NOT_ALLOWED'); static const RequestResponse_Reason LIMIT_EXCEEDED = RequestResponse_Reason._(3, _omitEnumNames ? '' : 'LIMIT_EXCEEDED'); - static const RequestResponse_Reason QUEUED = RequestResponse_Reason._(4, _omitEnumNames ? '' : 'QUEUED'); + static const RequestResponse_Reason QUEUED = + RequestResponse_Reason._(4, _omitEnumNames ? '' : 'QUEUED'); static const RequestResponse_Reason UNSUPPORTED_TYPE = RequestResponse_Reason._(5, _omitEnumNames ? '' : 'UNSUPPORTED_TYPE'); static const RequestResponse_Reason UNCLASSIFIED_ERROR = RequestResponse_Reason._(6, _omitEnumNames ? '' : 'UNCLASSIFIED_ERROR'); - static const $core.List values = [ + static const $core.List values = + [ OK, NOT_FOUND, NOT_ALLOWED, @@ -102,7 +124,8 @@ class RequestResponse_Reason extends $pb.ProtobufEnum { UNCLASSIFIED_ERROR, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 6); static RequestResponse_Reason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -110,19 +133,24 @@ class RequestResponse_Reason extends $pb.ProtobufEnum { } class WrappedJoinRequest_Compression extends $pb.ProtobufEnum { - static const WrappedJoinRequest_Compression NONE = WrappedJoinRequest_Compression._(0, _omitEnumNames ? '' : 'NONE'); - static const WrappedJoinRequest_Compression GZIP = WrappedJoinRequest_Compression._(1, _omitEnumNames ? '' : 'GZIP'); + static const WrappedJoinRequest_Compression NONE = + WrappedJoinRequest_Compression._(0, _omitEnumNames ? '' : 'NONE'); + static const WrappedJoinRequest_Compression GZIP = + WrappedJoinRequest_Compression._(1, _omitEnumNames ? '' : 'GZIP'); - static const $core.List values = [ + static const $core.List values = + [ NONE, GZIP, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = + $pb.ProtobufEnum.$_initByValueList(values, 1); static WrappedJoinRequest_Compression? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const WrappedJoinRequest_Compression._(super.value, super.name); } -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = + $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_rtc.pbjson.dart b/lib/src/proto/livekit_rtc.pbjson.dart index 910a17501..4ae9b340e 100644 --- a/lib/src/proto/livekit_rtc.pbjson.dart +++ b/lib/src/proto/livekit_rtc.pbjson.dart @@ -24,8 +24,8 @@ const SignalTarget$json = { }; /// Descriptor for `SignalTarget`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List signalTargetDescriptor = - $convert.base64Decode('CgxTaWduYWxUYXJnZXQSDQoJUFVCTElTSEVSEAASDgoKU1VCU0NSSUJFUhAB'); +final $typed_data.Uint8List signalTargetDescriptor = $convert.base64Decode( + 'CgxTaWduYWxUYXJnZXQSDQoJUFVCTElTSEVSEAASDgoKU1VCU0NSSUJFUhAB'); @$core.Deprecated('Use streamStateDescriptor instead') const StreamState$json = { @@ -37,8 +37,8 @@ const StreamState$json = { }; /// Descriptor for `StreamState`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List streamStateDescriptor = - $convert.base64Decode('CgtTdHJlYW1TdGF0ZRIKCgZBQ1RJVkUQABIKCgZQQVVTRUQQAQ=='); +final $typed_data.Uint8List streamStateDescriptor = $convert + .base64Decode('CgtTdHJlYW1TdGF0ZRIKCgZBQ1RJVkUQABIKCgZQQVVTRUQQAQ=='); @$core.Deprecated('Use candidateProtocolDescriptor instead') const CandidateProtocol$json = { @@ -51,21 +51,85 @@ const CandidateProtocol$json = { }; /// Descriptor for `CandidateProtocol`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List candidateProtocolDescriptor = - $convert.base64Decode('ChFDYW5kaWRhdGVQcm90b2NvbBIHCgNVRFAQABIHCgNUQ1AQARIHCgNUTFMQAg=='); +final $typed_data.Uint8List candidateProtocolDescriptor = $convert.base64Decode( + 'ChFDYW5kaWRhdGVQcm90b2NvbBIHCgNVRFAQABIHCgNUQ1AQARIHCgNUTFMQAg=='); @$core.Deprecated('Use signalRequestDescriptor instead') const SignalRequest$json = { '1': 'SignalRequest', '2': [ - {'1': 'offer', '3': 1, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'offer'}, - {'1': 'answer', '3': 2, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'answer'}, - {'1': 'trickle', '3': 3, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, - {'1': 'add_track', '3': 4, '4': 1, '5': 11, '6': '.livekit.AddTrackRequest', '9': 0, '10': 'addTrack'}, - {'1': 'mute', '3': 5, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, - {'1': 'subscription', '3': 6, '4': 1, '5': 11, '6': '.livekit.UpdateSubscription', '9': 0, '10': 'subscription'}, - {'1': 'track_setting', '3': 7, '4': 1, '5': 11, '6': '.livekit.UpdateTrackSettings', '9': 0, '10': 'trackSetting'}, - {'1': 'leave', '3': 8, '4': 1, '5': 11, '6': '.livekit.LeaveRequest', '9': 0, '10': 'leave'}, + { + '1': 'offer', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'offer' + }, + { + '1': 'answer', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'answer' + }, + { + '1': 'trickle', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.TrickleRequest', + '9': 0, + '10': 'trickle' + }, + { + '1': 'add_track', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.AddTrackRequest', + '9': 0, + '10': 'addTrack' + }, + { + '1': 'mute', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.MuteTrackRequest', + '9': 0, + '10': 'mute' + }, + { + '1': 'subscription', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.UpdateSubscription', + '9': 0, + '10': 'subscription' + }, + { + '1': 'track_setting', + '3': 7, + '4': 1, + '5': 11, + '6': '.livekit.UpdateTrackSettings', + '9': 0, + '10': 'trackSetting' + }, + { + '1': 'leave', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.LeaveRequest', + '9': 0, + '10': 'leave' + }, { '1': 'update_layers', '3': 10, @@ -85,8 +149,24 @@ const SignalRequest$json = { '9': 0, '10': 'subscriptionPermission' }, - {'1': 'sync_state', '3': 12, '4': 1, '5': 11, '6': '.livekit.SyncState', '9': 0, '10': 'syncState'}, - {'1': 'simulate', '3': 13, '4': 1, '5': 11, '6': '.livekit.SimulateScenario', '9': 0, '10': 'simulate'}, + { + '1': 'sync_state', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.SyncState', + '9': 0, + '10': 'syncState' + }, + { + '1': 'simulate', + '3': 13, + '4': 1, + '5': 11, + '6': '.livekit.SimulateScenario', + '9': 0, + '10': 'simulate' + }, {'1': 'ping', '3': 14, '4': 1, '5': 3, '9': 0, '10': 'ping'}, { '1': 'update_metadata', @@ -97,7 +177,15 @@ const SignalRequest$json = { '9': 0, '10': 'updateMetadata' }, - {'1': 'ping_req', '3': 16, '4': 1, '5': 11, '6': '.livekit.Ping', '9': 0, '10': 'pingReq'}, + { + '1': 'ping_req', + '3': 16, + '4': 1, + '5': 11, + '6': '.livekit.Ping', + '9': 0, + '10': 'pingReq' + }, { '1': 'update_audio_track', '3': 17, @@ -123,37 +211,77 @@ const SignalRequest$json = { }; /// Descriptor for `SignalRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List signalRequestDescriptor = - $convert.base64Decode('Cg1TaWduYWxSZXF1ZXN0EjMKBW9mZmVyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcH' - 'Rpb25IAFIFb2ZmZXISNQoGYW5zd2VyGAIgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRp' - 'b25IAFIGYW5zd2VyEjMKB3RyaWNrbGUYAyABKAsyFy5saXZla2l0LlRyaWNrbGVSZXF1ZXN0SA' - 'BSB3RyaWNrbGUSNwoJYWRkX3RyYWNrGAQgASgLMhgubGl2ZWtpdC5BZGRUcmFja1JlcXVlc3RI' - 'AFIIYWRkVHJhY2sSLwoEbXV0ZRgFIAEoCzIZLmxpdmVraXQuTXV0ZVRyYWNrUmVxdWVzdEgAUg' - 'RtdXRlEkEKDHN1YnNjcmlwdGlvbhgGIAEoCzIbLmxpdmVraXQuVXBkYXRlU3Vic2NyaXB0aW9u' - 'SABSDHN1YnNjcmlwdGlvbhJDCg10cmFja19zZXR0aW5nGAcgASgLMhwubGl2ZWtpdC5VcGRhdG' - 'VUcmFja1NldHRpbmdzSABSDHRyYWNrU2V0dGluZxItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQu' - 'TGVhdmVSZXF1ZXN0SABSBWxlYXZlEkUKDXVwZGF0ZV9sYXllcnMYCiABKAsyGi5saXZla2l0Ll' - 'VwZGF0ZVZpZGVvTGF5ZXJzQgIYAUgAUgx1cGRhdGVMYXllcnMSWgoXc3Vic2NyaXB0aW9uX3Bl' - 'cm1pc3Npb24YCyABKAsyHy5saXZla2l0LlN1YnNjcmlwdGlvblBlcm1pc3Npb25IAFIWc3Vic2' - 'NyaXB0aW9uUGVybWlzc2lvbhIzCgpzeW5jX3N0YXRlGAwgASgLMhIubGl2ZWtpdC5TeW5jU3Rh' - 'dGVIAFIJc3luY1N0YXRlEjcKCHNpbXVsYXRlGA0gASgLMhkubGl2ZWtpdC5TaW11bGF0ZVNjZW' - '5hcmlvSABSCHNpbXVsYXRlEhQKBHBpbmcYDiABKANIAFIEcGluZxJNCg91cGRhdGVfbWV0YWRh' - 'dGEYDyABKAsyIi5saXZla2l0LlVwZGF0ZVBhcnRpY2lwYW50TWV0YWRhdGFIAFIOdXBkYXRlTW' - 'V0YWRhdGESKgoIcGluZ19yZXEYECABKAsyDS5saXZla2l0LlBpbmdIAFIHcGluZ1JlcRJOChJ1' - 'cGRhdGVfYXVkaW9fdHJhY2sYESABKAsyHi5saXZla2l0LlVwZGF0ZUxvY2FsQXVkaW9UcmFja0' - 'gAUhB1cGRhdGVBdWRpb1RyYWNrEk4KEnVwZGF0ZV92aWRlb190cmFjaxgSIAEoCzIeLmxpdmVr' - 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2tCCQoHbWVzc2FnZQ' - '=='); +final $typed_data.Uint8List signalRequestDescriptor = $convert.base64Decode( + 'Cg1TaWduYWxSZXF1ZXN0EjMKBW9mZmVyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcH' + 'Rpb25IAFIFb2ZmZXISNQoGYW5zd2VyGAIgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRp' + 'b25IAFIGYW5zd2VyEjMKB3RyaWNrbGUYAyABKAsyFy5saXZla2l0LlRyaWNrbGVSZXF1ZXN0SA' + 'BSB3RyaWNrbGUSNwoJYWRkX3RyYWNrGAQgASgLMhgubGl2ZWtpdC5BZGRUcmFja1JlcXVlc3RI' + 'AFIIYWRkVHJhY2sSLwoEbXV0ZRgFIAEoCzIZLmxpdmVraXQuTXV0ZVRyYWNrUmVxdWVzdEgAUg' + 'RtdXRlEkEKDHN1YnNjcmlwdGlvbhgGIAEoCzIbLmxpdmVraXQuVXBkYXRlU3Vic2NyaXB0aW9u' + 'SABSDHN1YnNjcmlwdGlvbhJDCg10cmFja19zZXR0aW5nGAcgASgLMhwubGl2ZWtpdC5VcGRhdG' + 'VUcmFja1NldHRpbmdzSABSDHRyYWNrU2V0dGluZxItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQu' + 'TGVhdmVSZXF1ZXN0SABSBWxlYXZlEkUKDXVwZGF0ZV9sYXllcnMYCiABKAsyGi5saXZla2l0Ll' + 'VwZGF0ZVZpZGVvTGF5ZXJzQgIYAUgAUgx1cGRhdGVMYXllcnMSWgoXc3Vic2NyaXB0aW9uX3Bl' + 'cm1pc3Npb24YCyABKAsyHy5saXZla2l0LlN1YnNjcmlwdGlvblBlcm1pc3Npb25IAFIWc3Vic2' + 'NyaXB0aW9uUGVybWlzc2lvbhIzCgpzeW5jX3N0YXRlGAwgASgLMhIubGl2ZWtpdC5TeW5jU3Rh' + 'dGVIAFIJc3luY1N0YXRlEjcKCHNpbXVsYXRlGA0gASgLMhkubGl2ZWtpdC5TaW11bGF0ZVNjZW' + '5hcmlvSABSCHNpbXVsYXRlEhQKBHBpbmcYDiABKANIAFIEcGluZxJNCg91cGRhdGVfbWV0YWRh' + 'dGEYDyABKAsyIi5saXZla2l0LlVwZGF0ZVBhcnRpY2lwYW50TWV0YWRhdGFIAFIOdXBkYXRlTW' + 'V0YWRhdGESKgoIcGluZ19yZXEYECABKAsyDS5saXZla2l0LlBpbmdIAFIHcGluZ1JlcRJOChJ1' + 'cGRhdGVfYXVkaW9fdHJhY2sYESABKAsyHi5saXZla2l0LlVwZGF0ZUxvY2FsQXVkaW9UcmFja0' + 'gAUhB1cGRhdGVBdWRpb1RyYWNrEk4KEnVwZGF0ZV92aWRlb190cmFjaxgSIAEoCzIeLmxpdmVr' + 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2tCCQoHbWVzc2FnZQ' + '=='); @$core.Deprecated('Use signalResponseDescriptor instead') const SignalResponse$json = { '1': 'SignalResponse', '2': [ - {'1': 'join', '3': 1, '4': 1, '5': 11, '6': '.livekit.JoinResponse', '9': 0, '10': 'join'}, - {'1': 'answer', '3': 2, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'answer'}, - {'1': 'offer', '3': 3, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'offer'}, - {'1': 'trickle', '3': 4, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, - {'1': 'update', '3': 5, '4': 1, '5': 11, '6': '.livekit.ParticipantUpdate', '9': 0, '10': 'update'}, + { + '1': 'join', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.JoinResponse', + '9': 0, + '10': 'join' + }, + { + '1': 'answer', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'answer' + }, + { + '1': 'offer', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '9': 0, + '10': 'offer' + }, + { + '1': 'trickle', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.TrickleRequest', + '9': 0, + '10': 'trickle' + }, + { + '1': 'update', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantUpdate', + '9': 0, + '10': 'update' + }, { '1': 'track_published', '3': 6, @@ -163,8 +291,24 @@ const SignalResponse$json = { '9': 0, '10': 'trackPublished' }, - {'1': 'leave', '3': 8, '4': 1, '5': 11, '6': '.livekit.LeaveRequest', '9': 0, '10': 'leave'}, - {'1': 'mute', '3': 9, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, + { + '1': 'leave', + '3': 8, + '4': 1, + '5': 11, + '6': '.livekit.LeaveRequest', + '9': 0, + '10': 'leave' + }, + { + '1': 'mute', + '3': 9, + '4': 1, + '5': 11, + '6': '.livekit.MuteTrackRequest', + '9': 0, + '10': 'mute' + }, { '1': 'speakers_changed', '3': 10, @@ -174,7 +318,15 @@ const SignalResponse$json = { '9': 0, '10': 'speakersChanged' }, - {'1': 'room_update', '3': 11, '4': 1, '5': 11, '6': '.livekit.RoomUpdate', '9': 0, '10': 'roomUpdate'}, + { + '1': 'room_update', + '3': 11, + '4': 1, + '5': 11, + '6': '.livekit.RoomUpdate', + '9': 0, + '10': 'roomUpdate' + }, { '1': 'connection_quality', '3': 12, @@ -211,7 +363,14 @@ const SignalResponse$json = { '9': 0, '10': 'subscriptionPermissionUpdate' }, - {'1': 'refresh_token', '3': 16, '4': 1, '5': 9, '9': 0, '10': 'refreshToken'}, + { + '1': 'refresh_token', + '3': 16, + '4': 1, + '5': 9, + '9': 0, + '10': 'refreshToken' + }, { '1': 'track_unpublished', '3': 17, @@ -222,8 +381,24 @@ const SignalResponse$json = { '10': 'trackUnpublished' }, {'1': 'pong', '3': 18, '4': 1, '5': 3, '9': 0, '10': 'pong'}, - {'1': 'reconnect', '3': 19, '4': 1, '5': 11, '6': '.livekit.ReconnectResponse', '9': 0, '10': 'reconnect'}, - {'1': 'pong_resp', '3': 20, '4': 1, '5': 11, '6': '.livekit.Pong', '9': 0, '10': 'pongResp'}, + { + '1': 'reconnect', + '3': 19, + '4': 1, + '5': 11, + '6': '.livekit.ReconnectResponse', + '9': 0, + '10': 'reconnect' + }, + { + '1': 'pong_resp', + '3': 20, + '4': 1, + '5': 11, + '6': '.livekit.Pong', + '9': 0, + '10': 'pongResp' + }, { '1': 'subscription_response', '3': 21, @@ -251,7 +426,15 @@ const SignalResponse$json = { '9': 0, '10': 'trackSubscribed' }, - {'1': 'room_moved', '3': 24, '4': 1, '5': 11, '6': '.livekit.RoomMovedResponse', '9': 0, '10': 'roomMoved'}, + { + '1': 'room_moved', + '3': 24, + '4': 1, + '5': 11, + '6': '.livekit.RoomMovedResponse', + '9': 0, + '10': 'roomMoved' + }, { '1': 'media_sections_requirement', '3': 25, @@ -277,38 +460,38 @@ const SignalResponse$json = { }; /// Descriptor for `SignalResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List signalResponseDescriptor = - $convert.base64Decode('Cg5TaWduYWxSZXNwb25zZRIrCgRqb2luGAEgASgLMhUubGl2ZWtpdC5Kb2luUmVzcG9uc2VIAF' - 'IEam9pbhI1CgZhbnN3ZXIYAiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgZh' - 'bnN3ZXISMwoFb2ZmZXIYAyABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgVvZm' - 'ZlchIzCgd0cmlja2xlGAQgASgLMhcubGl2ZWtpdC5Ucmlja2xlUmVxdWVzdEgAUgd0cmlja2xl' - 'EjQKBnVwZGF0ZRgFIAEoCzIaLmxpdmVraXQuUGFydGljaXBhbnRVcGRhdGVIAFIGdXBkYXRlEk' - 'oKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIfLmxpdmVraXQuVHJhY2tQdWJsaXNoZWRSZXNwb25z' - 'ZUgAUg50cmFja1B1Ymxpc2hlZBItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQuTGVhdmVSZXF1ZX' - 'N0SABSBWxlYXZlEi8KBG11dGUYCSABKAsyGS5saXZla2l0Lk11dGVUcmFja1JlcXVlc3RIAFIE' - 'bXV0ZRJFChBzcGVha2Vyc19jaGFuZ2VkGAogASgLMhgubGl2ZWtpdC5TcGVha2Vyc0NoYW5nZW' - 'RIAFIPc3BlYWtlcnNDaGFuZ2VkEjYKC3Jvb21fdXBkYXRlGAsgASgLMhMubGl2ZWtpdC5Sb29t' - 'VXBkYXRlSABSCnJvb21VcGRhdGUSUQoSY29ubmVjdGlvbl9xdWFsaXR5GAwgASgLMiAubGl2ZW' - 'tpdC5Db25uZWN0aW9uUXVhbGl0eVVwZGF0ZUgAUhFjb25uZWN0aW9uUXVhbGl0eRJMChNzdHJl' - 'YW1fc3RhdGVfdXBkYXRlGA0gASgLMhoubGl2ZWtpdC5TdHJlYW1TdGF0ZVVwZGF0ZUgAUhFzdH' - 'JlYW1TdGF0ZVVwZGF0ZRJeChlzdWJzY3JpYmVkX3F1YWxpdHlfdXBkYXRlGA4gASgLMiAubGl2' - 'ZWtpdC5TdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZUgAUhdzdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZR' - 'JtCh5zdWJzY3JpcHRpb25fcGVybWlzc2lvbl91cGRhdGUYDyABKAsyJS5saXZla2l0LlN1YnNj' - 'cmlwdGlvblBlcm1pc3Npb25VcGRhdGVIAFIcc3Vic2NyaXB0aW9uUGVybWlzc2lvblVwZGF0ZR' - 'IlCg1yZWZyZXNoX3Rva2VuGBAgASgJSABSDHJlZnJlc2hUb2tlbhJQChF0cmFja191bnB1Ymxp' - 'c2hlZBgRIAEoCzIhLmxpdmVraXQuVHJhY2tVbnB1Ymxpc2hlZFJlc3BvbnNlSABSEHRyYWNrVW' - '5wdWJsaXNoZWQSFAoEcG9uZxgSIAEoA0gAUgRwb25nEjoKCXJlY29ubmVjdBgTIAEoCzIaLmxp' - 'dmVraXQuUmVjb25uZWN0UmVzcG9uc2VIAFIJcmVjb25uZWN0EiwKCXBvbmdfcmVzcBgUIAEoCz' - 'INLmxpdmVraXQuUG9uZ0gAUghwb25nUmVzcBJUChVzdWJzY3JpcHRpb25fcmVzcG9uc2UYFSAB' - 'KAsyHS5saXZla2l0LlN1YnNjcmlwdGlvblJlc3BvbnNlSABSFHN1YnNjcmlwdGlvblJlc3Bvbn' - 'NlEkUKEHJlcXVlc3RfcmVzcG9uc2UYFiABKAsyGC5saXZla2l0LlJlcXVlc3RSZXNwb25zZUgA' - 'Ug9yZXF1ZXN0UmVzcG9uc2USRQoQdHJhY2tfc3Vic2NyaWJlZBgXIAEoCzIYLmxpdmVraXQuVH' - 'JhY2tTdWJzY3JpYmVkSABSD3RyYWNrU3Vic2NyaWJlZBI7Cgpyb29tX21vdmVkGBggASgLMhou' - 'bGl2ZWtpdC5Sb29tTW92ZWRSZXNwb25zZUgAUglyb29tTW92ZWQSYQoabWVkaWFfc2VjdGlvbn' - 'NfcmVxdWlyZW1lbnQYGSABKAsyIS5saXZla2l0Lk1lZGlhU2VjdGlvbnNSZXF1aXJlbWVudEgA' - 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSaAodc3Vic2NyaWJlZF9hdWRpb19jb2RlY191cG' - 'RhdGUYGiABKAsyIy5saXZla2l0LlN1YnNjcmliZWRBdWRpb0NvZGVjVXBkYXRlSABSGnN1YnNj' - 'cmliZWRBdWRpb0NvZGVjVXBkYXRlQgkKB21lc3NhZ2U='); +final $typed_data.Uint8List signalResponseDescriptor = $convert.base64Decode( + 'Cg5TaWduYWxSZXNwb25zZRIrCgRqb2luGAEgASgLMhUubGl2ZWtpdC5Kb2luUmVzcG9uc2VIAF' + 'IEam9pbhI1CgZhbnN3ZXIYAiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgZh' + 'bnN3ZXISMwoFb2ZmZXIYAyABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgVvZm' + 'ZlchIzCgd0cmlja2xlGAQgASgLMhcubGl2ZWtpdC5Ucmlja2xlUmVxdWVzdEgAUgd0cmlja2xl' + 'EjQKBnVwZGF0ZRgFIAEoCzIaLmxpdmVraXQuUGFydGljaXBhbnRVcGRhdGVIAFIGdXBkYXRlEk' + 'oKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIfLmxpdmVraXQuVHJhY2tQdWJsaXNoZWRSZXNwb25z' + 'ZUgAUg50cmFja1B1Ymxpc2hlZBItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQuTGVhdmVSZXF1ZX' + 'N0SABSBWxlYXZlEi8KBG11dGUYCSABKAsyGS5saXZla2l0Lk11dGVUcmFja1JlcXVlc3RIAFIE' + 'bXV0ZRJFChBzcGVha2Vyc19jaGFuZ2VkGAogASgLMhgubGl2ZWtpdC5TcGVha2Vyc0NoYW5nZW' + 'RIAFIPc3BlYWtlcnNDaGFuZ2VkEjYKC3Jvb21fdXBkYXRlGAsgASgLMhMubGl2ZWtpdC5Sb29t' + 'VXBkYXRlSABSCnJvb21VcGRhdGUSUQoSY29ubmVjdGlvbl9xdWFsaXR5GAwgASgLMiAubGl2ZW' + 'tpdC5Db25uZWN0aW9uUXVhbGl0eVVwZGF0ZUgAUhFjb25uZWN0aW9uUXVhbGl0eRJMChNzdHJl' + 'YW1fc3RhdGVfdXBkYXRlGA0gASgLMhoubGl2ZWtpdC5TdHJlYW1TdGF0ZVVwZGF0ZUgAUhFzdH' + 'JlYW1TdGF0ZVVwZGF0ZRJeChlzdWJzY3JpYmVkX3F1YWxpdHlfdXBkYXRlGA4gASgLMiAubGl2' + 'ZWtpdC5TdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZUgAUhdzdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZR' + 'JtCh5zdWJzY3JpcHRpb25fcGVybWlzc2lvbl91cGRhdGUYDyABKAsyJS5saXZla2l0LlN1YnNj' + 'cmlwdGlvblBlcm1pc3Npb25VcGRhdGVIAFIcc3Vic2NyaXB0aW9uUGVybWlzc2lvblVwZGF0ZR' + 'IlCg1yZWZyZXNoX3Rva2VuGBAgASgJSABSDHJlZnJlc2hUb2tlbhJQChF0cmFja191bnB1Ymxp' + 'c2hlZBgRIAEoCzIhLmxpdmVraXQuVHJhY2tVbnB1Ymxpc2hlZFJlc3BvbnNlSABSEHRyYWNrVW' + '5wdWJsaXNoZWQSFAoEcG9uZxgSIAEoA0gAUgRwb25nEjoKCXJlY29ubmVjdBgTIAEoCzIaLmxp' + 'dmVraXQuUmVjb25uZWN0UmVzcG9uc2VIAFIJcmVjb25uZWN0EiwKCXBvbmdfcmVzcBgUIAEoCz' + 'INLmxpdmVraXQuUG9uZ0gAUghwb25nUmVzcBJUChVzdWJzY3JpcHRpb25fcmVzcG9uc2UYFSAB' + 'KAsyHS5saXZla2l0LlN1YnNjcmlwdGlvblJlc3BvbnNlSABSFHN1YnNjcmlwdGlvblJlc3Bvbn' + 'NlEkUKEHJlcXVlc3RfcmVzcG9uc2UYFiABKAsyGC5saXZla2l0LlJlcXVlc3RSZXNwb25zZUgA' + 'Ug9yZXF1ZXN0UmVzcG9uc2USRQoQdHJhY2tfc3Vic2NyaWJlZBgXIAEoCzIYLmxpdmVraXQuVH' + 'JhY2tTdWJzY3JpYmVkSABSD3RyYWNrU3Vic2NyaWJlZBI7Cgpyb29tX21vdmVkGBggASgLMhou' + 'bGl2ZWtpdC5Sb29tTW92ZWRSZXNwb25zZUgAUglyb29tTW92ZWQSYQoabWVkaWFfc2VjdGlvbn' + 'NfcmVxdWlyZW1lbnQYGSABKAsyIS5saXZla2l0Lk1lZGlhU2VjdGlvbnNSZXF1aXJlbWVudEgA' + 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSaAodc3Vic2NyaWJlZF9hdWRpb19jb2RlY191cG' + 'RhdGUYGiABKAsyIy5saXZla2l0LlN1YnNjcmliZWRBdWRpb0NvZGVjVXBkYXRlSABSGnN1YnNj' + 'cmliZWRBdWRpb0NvZGVjVXBkYXRlQgkKB21lc3NhZ2U='); @$core.Deprecated('Use simulcastCodecDescriptor instead') const SimulcastCodec$json = { @@ -316,17 +499,31 @@ const SimulcastCodec$json = { '2': [ {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, {'1': 'cid', '3': 2, '4': 1, '5': 9, '10': 'cid'}, - {'1': 'layers', '3': 4, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, - {'1': 'video_layer_mode', '3': 5, '4': 1, '5': 14, '6': '.livekit.VideoLayer.Mode', '10': 'videoLayerMode'}, + { + '1': 'layers', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, + { + '1': 'video_layer_mode', + '3': 5, + '4': 1, + '5': 14, + '6': '.livekit.VideoLayer.Mode', + '10': 'videoLayerMode' + }, ], }; /// Descriptor for `SimulcastCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulcastCodecDescriptor = - $convert.base64Decode('Cg5TaW11bGNhc3RDb2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSEAoDY2lkGAIgASgJUgNjaW' - 'QSKwoGbGF5ZXJzGAQgAygLMhMubGl2ZWtpdC5WaWRlb0xheWVyUgZsYXllcnMSQgoQdmlkZW9f' - 'bGF5ZXJfbW9kZRgFIAEoDjIYLmxpdmVraXQuVmlkZW9MYXllci5Nb2RlUg52aWRlb0xheWVyTW' - '9kZQ=='); +final $typed_data.Uint8List simulcastCodecDescriptor = $convert.base64Decode( + 'Cg5TaW11bGNhc3RDb2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSEAoDY2lkGAIgASgJUgNjaW' + 'QSKwoGbGF5ZXJzGAQgAygLMhMubGl2ZWtpdC5WaWRlb0xheWVyUgZsYXllcnMSQgoQdmlkZW9f' + 'bGF5ZXJfbW9kZRgFIAEoDjIYLmxpdmVraXQuVmlkZW9MYXllci5Nb2RlUg52aWRlb0xheWVyTW' + '9kZQ=='); @$core.Deprecated('Use addTrackRequestDescriptor instead') const AddTrackRequest$json = { @@ -334,7 +531,14 @@ const AddTrackRequest$json = { '2': [ {'1': 'cid', '3': 1, '4': 1, '5': 9, '10': 'cid'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.livekit.TrackType', '10': 'type'}, + { + '1': 'type', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.TrackType', + '10': 'type' + }, {'1': 'width', '3': 4, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 5, '4': 1, '5': 13, '10': 'height'}, {'1': 'muted', '3': 6, '4': 1, '5': 8, '10': 'muted'}, @@ -346,9 +550,30 @@ const AddTrackRequest$json = { '8': {'3': true}, '10': 'disableDtx', }, - {'1': 'source', '3': 8, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, - {'1': 'layers', '3': 9, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, - {'1': 'simulcast_codecs', '3': 10, '4': 3, '5': 11, '6': '.livekit.SimulcastCodec', '10': 'simulcastCodecs'}, + { + '1': 'source', + '3': 8, + '4': 1, + '5': 14, + '6': '.livekit.TrackSource', + '10': 'source' + }, + { + '1': 'layers', + '3': 9, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, + { + '1': 'simulcast_codecs', + '3': 10, + '4': 3, + '5': 11, + '6': '.livekit.SimulcastCodec', + '10': 'simulcastCodecs' + }, {'1': 'sid', '3': 11, '4': 1, '5': 9, '10': 'sid'}, { '1': 'stereo', @@ -359,7 +584,14 @@ const AddTrackRequest$json = { '10': 'stereo', }, {'1': 'disable_red', '3': 13, '4': 1, '5': 8, '10': 'disableRed'}, - {'1': 'encryption', '3': 14, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryption'}, + { + '1': 'encryption', + '3': 14, + '4': 1, + '5': 14, + '6': '.livekit.Encryption.Type', + '10': 'encryption' + }, {'1': 'stream', '3': 15, '4': 1, '5': 9, '10': 'stream'}, { '1': 'backup_codec_policy', @@ -369,40 +601,54 @@ const AddTrackRequest$json = { '6': '.livekit.BackupCodecPolicy', '10': 'backupCodecPolicy' }, - {'1': 'audio_features', '3': 17, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'audioFeatures'}, + { + '1': 'audio_features', + '3': 17, + '4': 3, + '5': 14, + '6': '.livekit.AudioTrackFeature', + '10': 'audioFeatures' + }, ], }; /// Descriptor for `AddTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTrackRequestDescriptor = - $convert.base64Decode('Cg9BZGRUcmFja1JlcXVlc3QSEAoDY2lkGAEgASgJUgNjaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' - 'ImCgR0eXBlGAMgASgOMhIubGl2ZWtpdC5UcmFja1R5cGVSBHR5cGUSFAoFd2lkdGgYBCABKA1S' - 'BXdpZHRoEhYKBmhlaWdodBgFIAEoDVIGaGVpZ2h0EhQKBW11dGVkGAYgASgIUgVtdXRlZBIjCg' - 'tkaXNhYmxlX2R0eBgHIAEoCEICGAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAggASgOMhQubGl2' - 'ZWtpdC5UcmFja1NvdXJjZVIGc291cmNlEisKBmxheWVycxgJIAMoCzITLmxpdmVraXQuVmlkZW' - '9MYXllclIGbGF5ZXJzEkIKEHNpbXVsY2FzdF9jb2RlY3MYCiADKAsyFy5saXZla2l0LlNpbXVs' - 'Y2FzdENvZGVjUg9zaW11bGNhc3RDb2RlY3MSEAoDc2lkGAsgASgJUgNzaWQSGgoGc3RlcmVvGA' - 'wgASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA0gASgIUgpkaXNhYmxlUmVkEjgKCmVu' - 'Y3J5cHRpb24YDiABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCg' - 'ZzdHJlYW0YDyABKAlSBnN0cmVhbRJKChNiYWNrdXBfY29kZWNfcG9saWN5GBAgASgOMhoubGl2' - 'ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3kSQQoOYXVkaW9fZmVhdH' - 'VyZXMYESADKA4yGi5saXZla2l0LkF1ZGlvVHJhY2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVz'); +final $typed_data.Uint8List addTrackRequestDescriptor = $convert.base64Decode( + 'Cg9BZGRUcmFja1JlcXVlc3QSEAoDY2lkGAEgASgJUgNjaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' + 'ImCgR0eXBlGAMgASgOMhIubGl2ZWtpdC5UcmFja1R5cGVSBHR5cGUSFAoFd2lkdGgYBCABKA1S' + 'BXdpZHRoEhYKBmhlaWdodBgFIAEoDVIGaGVpZ2h0EhQKBW11dGVkGAYgASgIUgVtdXRlZBIjCg' + 'tkaXNhYmxlX2R0eBgHIAEoCEICGAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAggASgOMhQubGl2' + 'ZWtpdC5UcmFja1NvdXJjZVIGc291cmNlEisKBmxheWVycxgJIAMoCzITLmxpdmVraXQuVmlkZW' + '9MYXllclIGbGF5ZXJzEkIKEHNpbXVsY2FzdF9jb2RlY3MYCiADKAsyFy5saXZla2l0LlNpbXVs' + 'Y2FzdENvZGVjUg9zaW11bGNhc3RDb2RlY3MSEAoDc2lkGAsgASgJUgNzaWQSGgoGc3RlcmVvGA' + 'wgASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA0gASgIUgpkaXNhYmxlUmVkEjgKCmVu' + 'Y3J5cHRpb24YDiABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCg' + 'ZzdHJlYW0YDyABKAlSBnN0cmVhbRJKChNiYWNrdXBfY29kZWNfcG9saWN5GBAgASgOMhoubGl2' + 'ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3kSQQoOYXVkaW9fZmVhdH' + 'VyZXMYESADKA4yGi5saXZla2l0LkF1ZGlvVHJhY2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVz'); @$core.Deprecated('Use trickleRequestDescriptor instead') const TrickleRequest$json = { '1': 'TrickleRequest', '2': [ {'1': 'candidateInit', '3': 1, '4': 1, '5': 9, '10': 'candidateInit'}, - {'1': 'target', '3': 2, '4': 1, '5': 14, '6': '.livekit.SignalTarget', '10': 'target'}, + { + '1': 'target', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.SignalTarget', + '10': 'target' + }, {'1': 'final', '3': 3, '4': 1, '5': 8, '10': 'final'}, ], }; /// Descriptor for `TrickleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trickleRequestDescriptor = - $convert.base64Decode('Cg5Ucmlja2xlUmVxdWVzdBIkCg1jYW5kaWRhdGVJbml0GAEgASgJUg1jYW5kaWRhdGVJbml0Ei' - '0KBnRhcmdldBgCIAEoDjIVLmxpdmVraXQuU2lnbmFsVGFyZ2V0UgZ0YXJnZXQSFAoFZmluYWwY' - 'AyABKAhSBWZpbmFs'); +final $typed_data.Uint8List trickleRequestDescriptor = $convert.base64Decode( + 'Cg5Ucmlja2xlUmVxdWVzdBIkCg1jYW5kaWRhdGVJbml0GAEgASgJUg1jYW5kaWRhdGVJbml0Ei' + '0KBnRhcmdldBgCIAEoDjIVLmxpdmVraXQuU2lnbmFsVGFyZ2V0UgZ0YXJnZXQSFAoFZmluYWwY' + 'AyABKAhSBWZpbmFs'); @$core.Deprecated('Use muteTrackRequestDescriptor instead') const MuteTrackRequest$json = { @@ -414,20 +660,47 @@ const MuteTrackRequest$json = { }; /// Descriptor for `MuteTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List muteTrackRequestDescriptor = - $convert.base64Decode('ChBNdXRlVHJhY2tSZXF1ZXN0EhAKA3NpZBgBIAEoCVIDc2lkEhQKBW11dGVkGAIgASgIUgVtdX' - 'RlZA=='); +final $typed_data.Uint8List muteTrackRequestDescriptor = $convert.base64Decode( + 'ChBNdXRlVHJhY2tSZXF1ZXN0EhAKA3NpZBgBIAEoCVIDc2lkEhQKBW11dGVkGAIgASgIUgVtdX' + 'RlZA=='); @$core.Deprecated('Use joinResponseDescriptor instead') const JoinResponse$json = { '1': 'JoinResponse', '2': [ {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.livekit.Room', '10': 'room'}, - {'1': 'participant', '3': 2, '4': 1, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participant'}, - {'1': 'other_participants', '3': 3, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'otherParticipants'}, + { + '1': 'participant', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'participant' + }, + { + '1': 'other_participants', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'otherParticipants' + }, {'1': 'server_version', '3': 4, '4': 1, '5': 9, '10': 'serverVersion'}, - {'1': 'ice_servers', '3': 5, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, - {'1': 'subscriber_primary', '3': 6, '4': 1, '5': 8, '10': 'subscriberPrimary'}, + { + '1': 'ice_servers', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.ICEServer', + '10': 'iceServers' + }, + { + '1': 'subscriber_primary', + '3': 6, + '4': 1, + '5': 8, + '10': 'subscriberPrimary' + }, {'1': 'alternative_url', '3': 7, '4': 1, '5': 9, '10': 'alternativeUrl'}, { '1': 'client_configuration', @@ -440,35 +713,56 @@ const JoinResponse$json = { {'1': 'server_region', '3': 9, '4': 1, '5': 9, '10': 'serverRegion'}, {'1': 'ping_timeout', '3': 10, '4': 1, '5': 5, '10': 'pingTimeout'}, {'1': 'ping_interval', '3': 11, '4': 1, '5': 5, '10': 'pingInterval'}, - {'1': 'server_info', '3': 12, '4': 1, '5': 11, '6': '.livekit.ServerInfo', '10': 'serverInfo'}, + { + '1': 'server_info', + '3': 12, + '4': 1, + '5': 11, + '6': '.livekit.ServerInfo', + '10': 'serverInfo' + }, {'1': 'sif_trailer', '3': 13, '4': 1, '5': 12, '10': 'sifTrailer'}, - {'1': 'enabled_publish_codecs', '3': 14, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledPublishCodecs'}, + { + '1': 'enabled_publish_codecs', + '3': 14, + '4': 3, + '5': 11, + '6': '.livekit.Codec', + '10': 'enabledPublishCodecs' + }, {'1': 'fast_publish', '3': 15, '4': 1, '5': 8, '10': 'fastPublish'}, ], }; /// Descriptor for `JoinResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List joinResponseDescriptor = - $convert.base64Decode('CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vbVIEcm9vbRI6CgtwYX' - 'J0aWNpcGFudBgCIAEoCzIYLmxpdmVraXQuUGFydGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJH' - 'ChJvdGhlcl9wYXJ0aWNpcGFudHMYAyADKAsyGC5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3' - 'RoZXJQYXJ0aWNpcGFudHMSJQoOc2VydmVyX3ZlcnNpb24YBCABKAlSDXNlcnZlclZlcnNpb24S' - 'MwoLaWNlX3NlcnZlcnMYBSADKAsyEi5saXZla2l0LklDRVNlcnZlclIKaWNlU2VydmVycxItCh' - 'JzdWJzY3JpYmVyX3ByaW1hcnkYBiABKAhSEXN1YnNjcmliZXJQcmltYXJ5EicKD2FsdGVybmF0' - 'aXZlX3VybBgHIAEoCVIOYWx0ZXJuYXRpdmVVcmwSTwoUY2xpZW50X2NvbmZpZ3VyYXRpb24YCC' - 'ABKAsyHC5saXZla2l0LkNsaWVudENvbmZpZ3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24S' - 'IwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9uEiEKDHBpbmdfdGltZW91dBgKIA' - 'EoBVILcGluZ1RpbWVvdXQSIwoNcGluZ19pbnRlcnZhbBgLIAEoBVIMcGluZ0ludGVydmFsEjQK' - 'C3NlcnZlcl9pbmZvGAwgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEh8KC3' - 'NpZl90cmFpbGVyGA0gASgMUgpzaWZUcmFpbGVyEkQKFmVuYWJsZWRfcHVibGlzaF9jb2RlY3MY' - 'DiADKAsyDi5saXZla2l0LkNvZGVjUhRlbmFibGVkUHVibGlzaENvZGVjcxIhCgxmYXN0X3B1Ym' - 'xpc2gYDyABKAhSC2Zhc3RQdWJsaXNo'); +final $typed_data.Uint8List joinResponseDescriptor = $convert.base64Decode( + 'CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vbVIEcm9vbRI6CgtwYX' + 'J0aWNpcGFudBgCIAEoCzIYLmxpdmVraXQuUGFydGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJH' + 'ChJvdGhlcl9wYXJ0aWNpcGFudHMYAyADKAsyGC5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3' + 'RoZXJQYXJ0aWNpcGFudHMSJQoOc2VydmVyX3ZlcnNpb24YBCABKAlSDXNlcnZlclZlcnNpb24S' + 'MwoLaWNlX3NlcnZlcnMYBSADKAsyEi5saXZla2l0LklDRVNlcnZlclIKaWNlU2VydmVycxItCh' + 'JzdWJzY3JpYmVyX3ByaW1hcnkYBiABKAhSEXN1YnNjcmliZXJQcmltYXJ5EicKD2FsdGVybmF0' + 'aXZlX3VybBgHIAEoCVIOYWx0ZXJuYXRpdmVVcmwSTwoUY2xpZW50X2NvbmZpZ3VyYXRpb24YCC' + 'ABKAsyHC5saXZla2l0LkNsaWVudENvbmZpZ3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24S' + 'IwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9uEiEKDHBpbmdfdGltZW91dBgKIA' + 'EoBVILcGluZ1RpbWVvdXQSIwoNcGluZ19pbnRlcnZhbBgLIAEoBVIMcGluZ0ludGVydmFsEjQK' + 'C3NlcnZlcl9pbmZvGAwgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEh8KC3' + 'NpZl90cmFpbGVyGA0gASgMUgpzaWZUcmFpbGVyEkQKFmVuYWJsZWRfcHVibGlzaF9jb2RlY3MY' + 'DiADKAsyDi5saXZla2l0LkNvZGVjUhRlbmFibGVkUHVibGlzaENvZGVjcxIhCgxmYXN0X3B1Ym' + 'xpc2gYDyABKAhSC2Zhc3RQdWJsaXNo'); @$core.Deprecated('Use reconnectResponseDescriptor instead') const ReconnectResponse$json = { '1': 'ReconnectResponse', '2': [ - {'1': 'ice_servers', '3': 1, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, + { + '1': 'ice_servers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ICEServer', + '10': 'iceServers' + }, { '1': 'client_configuration', '3': 2, @@ -477,31 +771,46 @@ const ReconnectResponse$json = { '6': '.livekit.ClientConfiguration', '10': 'clientConfiguration' }, - {'1': 'server_info', '3': 3, '4': 1, '5': 11, '6': '.livekit.ServerInfo', '10': 'serverInfo'}, + { + '1': 'server_info', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ServerInfo', + '10': 'serverInfo' + }, {'1': 'last_message_seq', '3': 4, '4': 1, '5': 13, '10': 'lastMessageSeq'}, ], }; /// Descriptor for `ReconnectResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List reconnectResponseDescriptor = - $convert.base64Decode('ChFSZWNvbm5lY3RSZXNwb25zZRIzCgtpY2Vfc2VydmVycxgBIAMoCzISLmxpdmVraXQuSUNFU2' - 'VydmVyUgppY2VTZXJ2ZXJzEk8KFGNsaWVudF9jb25maWd1cmF0aW9uGAIgASgLMhwubGl2ZWtp' - 'dC5DbGllbnRDb25maWd1cmF0aW9uUhNjbGllbnRDb25maWd1cmF0aW9uEjQKC3NlcnZlcl9pbm' - 'ZvGAMgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEigKEGxhc3RfbWVzc2Fn' - 'ZV9zZXEYBCABKA1SDmxhc3RNZXNzYWdlU2Vx'); +final $typed_data.Uint8List reconnectResponseDescriptor = $convert.base64Decode( + 'ChFSZWNvbm5lY3RSZXNwb25zZRIzCgtpY2Vfc2VydmVycxgBIAMoCzISLmxpdmVraXQuSUNFU2' + 'VydmVyUgppY2VTZXJ2ZXJzEk8KFGNsaWVudF9jb25maWd1cmF0aW9uGAIgASgLMhwubGl2ZWtp' + 'dC5DbGllbnRDb25maWd1cmF0aW9uUhNjbGllbnRDb25maWd1cmF0aW9uEjQKC3NlcnZlcl9pbm' + 'ZvGAMgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEigKEGxhc3RfbWVzc2Fn' + 'ZV9zZXEYBCABKA1SDmxhc3RNZXNzYWdlU2Vx'); @$core.Deprecated('Use trackPublishedResponseDescriptor instead') const TrackPublishedResponse$json = { '1': 'TrackPublishedResponse', '2': [ {'1': 'cid', '3': 1, '4': 1, '5': 9, '10': 'cid'}, - {'1': 'track', '3': 2, '4': 1, '5': 11, '6': '.livekit.TrackInfo', '10': 'track'}, + { + '1': 'track', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.TrackInfo', + '10': 'track' + }, ], }; /// Descriptor for `TrackPublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List trackPublishedResponseDescriptor = - $convert.base64Decode('ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' + $convert.base64Decode( + 'ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' 'gLMhIubGl2ZWtpdC5UcmFja0luZm9SBXRyYWNr'); @$core.Deprecated('Use trackUnpublishedResponseDescriptor instead') @@ -514,7 +823,8 @@ const TrackUnpublishedResponse$json = { /// Descriptor for `TrackUnpublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List trackUnpublishedResponseDescriptor = - $convert.base64Decode('ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' + $convert.base64Decode( + 'ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' '=='); @$core.Deprecated('Use sessionDescriptionDescriptor instead') @@ -528,22 +838,29 @@ const SessionDescription$json = { }; /// Descriptor for `SessionDescription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sessionDescriptionDescriptor = - $convert.base64Decode('ChJTZXNzaW9uRGVzY3JpcHRpb24SEgoEdHlwZRgBIAEoCVIEdHlwZRIQCgNzZHAYAiABKAlSA3' - 'NkcBIOCgJpZBgDIAEoDVICaWQ='); +final $typed_data.Uint8List sessionDescriptionDescriptor = $convert.base64Decode( + 'ChJTZXNzaW9uRGVzY3JpcHRpb24SEgoEdHlwZRgBIAEoCVIEdHlwZRIQCgNzZHAYAiABKAlSA3' + 'NkcBIOCgJpZBgDIAEoDVICaWQ='); @$core.Deprecated('Use participantUpdateDescriptor instead') const ParticipantUpdate$json = { '1': 'ParticipantUpdate', '2': [ - {'1': 'participants', '3': 1, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participants'}, + { + '1': 'participants', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'participants' + }, ], }; /// Descriptor for `ParticipantUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantUpdateDescriptor = - $convert.base64Decode('ChFQYXJ0aWNpcGFudFVwZGF0ZRI8CgxwYXJ0aWNpcGFudHMYASADKAsyGC5saXZla2l0LlBhcn' - 'RpY2lwYW50SW5mb1IMcGFydGljaXBhbnRz'); +final $typed_data.Uint8List participantUpdateDescriptor = $convert.base64Decode( + 'ChFQYXJ0aWNpcGFudFVwZGF0ZRI8CgxwYXJ0aWNpcGFudHMYASADKAsyGC5saXZla2l0LlBhcn' + 'RpY2lwYW50SW5mb1IMcGFydGljaXBhbnRz'); @$core.Deprecated('Use updateSubscriptionDescriptor instead') const UpdateSubscription$json = { @@ -551,15 +868,22 @@ const UpdateSubscription$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'subscribe', '3': 2, '4': 1, '5': 8, '10': 'subscribe'}, - {'1': 'participant_tracks', '3': 3, '4': 3, '5': 11, '6': '.livekit.ParticipantTracks', '10': 'participantTracks'}, + { + '1': 'participant_tracks', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantTracks', + '10': 'participantTracks' + }, ], }; /// Descriptor for `UpdateSubscription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateSubscriptionDescriptor = - $convert.base64Decode('ChJVcGRhdGVTdWJzY3JpcHRpb24SHQoKdHJhY2tfc2lkcxgBIAMoCVIJdHJhY2tTaWRzEhwKCX' - 'N1YnNjcmliZRgCIAEoCFIJc3Vic2NyaWJlEkkKEnBhcnRpY2lwYW50X3RyYWNrcxgDIAMoCzIa' - 'LmxpdmVraXQuUGFydGljaXBhbnRUcmFja3NSEXBhcnRpY2lwYW50VHJhY2tz'); +final $typed_data.Uint8List updateSubscriptionDescriptor = $convert.base64Decode( + 'ChJVcGRhdGVTdWJzY3JpcHRpb24SHQoKdHJhY2tfc2lkcxgBIAMoCVIJdHJhY2tTaWRzEhwKCX' + 'N1YnNjcmliZRgCIAEoCFIJc3Vic2NyaWJlEkkKEnBhcnRpY2lwYW50X3RyYWNrcxgDIAMoCzIa' + 'LmxpdmVraXQuUGFydGljaXBhbnRUcmFja3NSEXBhcnRpY2lwYW50VHJhY2tz'); @$core.Deprecated('Use updateTrackSettingsDescriptor instead') const UpdateTrackSettings$json = { @@ -567,7 +891,14 @@ const UpdateTrackSettings$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'disabled', '3': 3, '4': 1, '5': 8, '10': 'disabled'}, - {'1': 'quality', '3': 4, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 4, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'width', '3': 5, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 6, '4': 1, '5': 13, '10': 'height'}, {'1': 'fps', '3': 7, '4': 1, '5': 13, '10': 'fps'}, @@ -576,25 +907,32 @@ const UpdateTrackSettings$json = { }; /// Descriptor for `UpdateTrackSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateTrackSettingsDescriptor = - $convert.base64Decode('ChNVcGRhdGVUcmFja1NldHRpbmdzEh0KCnRyYWNrX3NpZHMYASADKAlSCXRyYWNrU2lkcxIaCg' - 'hkaXNhYmxlZBgDIAEoCFIIZGlzYWJsZWQSLwoHcXVhbGl0eRgEIAEoDjIVLmxpdmVraXQuVmlk' - 'ZW9RdWFsaXR5UgdxdWFsaXR5EhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA' - '1SBmhlaWdodBIQCgNmcHMYByABKA1SA2ZwcxIaCghwcmlvcml0eRgIIAEoDVIIcHJpb3JpdHk='); +final $typed_data.Uint8List updateTrackSettingsDescriptor = $convert.base64Decode( + 'ChNVcGRhdGVUcmFja1NldHRpbmdzEh0KCnRyYWNrX3NpZHMYASADKAlSCXRyYWNrU2lkcxIaCg' + 'hkaXNhYmxlZBgDIAEoCFIIZGlzYWJsZWQSLwoHcXVhbGl0eRgEIAEoDjIVLmxpdmVraXQuVmlk' + 'ZW9RdWFsaXR5UgdxdWFsaXR5EhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA' + '1SBmhlaWdodBIQCgNmcHMYByABKA1SA2ZwcxIaCghwcmlvcml0eRgIIAEoDVIIcHJpb3JpdHk='); @$core.Deprecated('Use updateLocalAudioTrackDescriptor instead') const UpdateLocalAudioTrack$json = { '1': 'UpdateLocalAudioTrack', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'features', '3': 2, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'features'}, + { + '1': 'features', + '3': 2, + '4': 3, + '5': 14, + '6': '.livekit.AudioTrackFeature', + '10': 'features' + }, ], }; /// Descriptor for `UpdateLocalAudioTrack`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocalAudioTrackDescriptor = - $convert.base64Decode('ChVVcGRhdGVMb2NhbEF1ZGlvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBI2Cg' - 'hmZWF0dXJlcxgCIAMoDjIaLmxpdmVraXQuQXVkaW9UcmFja0ZlYXR1cmVSCGZlYXR1cmVz'); +final $typed_data.Uint8List updateLocalAudioTrackDescriptor = $convert.base64Decode( + 'ChVVcGRhdGVMb2NhbEF1ZGlvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBI2Cg' + 'hmZWF0dXJlcxgCIAMoDjIaLmxpdmVraXQuQXVkaW9UcmFja0ZlYXR1cmVSCGZlYXR1cmVz'); @$core.Deprecated('Use updateLocalVideoTrackDescriptor instead') const UpdateLocalVideoTrack$json = { @@ -607,18 +945,39 @@ const UpdateLocalVideoTrack$json = { }; /// Descriptor for `UpdateLocalVideoTrack`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocalVideoTrackDescriptor = - $convert.base64Decode('ChVVcGRhdGVMb2NhbFZpZGVvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBIUCg' - 'V3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQ='); +final $typed_data.Uint8List updateLocalVideoTrackDescriptor = $convert.base64Decode( + 'ChVVcGRhdGVMb2NhbFZpZGVvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBIUCg' + 'V3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQ='); @$core.Deprecated('Use leaveRequestDescriptor instead') const LeaveRequest$json = { '1': 'LeaveRequest', '2': [ {'1': 'can_reconnect', '3': 1, '4': 1, '5': 8, '10': 'canReconnect'}, - {'1': 'reason', '3': 2, '4': 1, '5': 14, '6': '.livekit.DisconnectReason', '10': 'reason'}, - {'1': 'action', '3': 3, '4': 1, '5': 14, '6': '.livekit.LeaveRequest.Action', '10': 'action'}, - {'1': 'regions', '3': 4, '4': 1, '5': 11, '6': '.livekit.RegionSettings', '10': 'regions'}, + { + '1': 'reason', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.DisconnectReason', + '10': 'reason' + }, + { + '1': 'action', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.LeaveRequest.Action', + '10': 'action' + }, + { + '1': 'regions', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.RegionSettings', + '10': 'regions' + }, ], '4': [LeaveRequest_Action$json], }; @@ -634,27 +993,34 @@ const LeaveRequest_Action$json = { }; /// Descriptor for `LeaveRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List leaveRequestDescriptor = - $convert.base64Decode('CgxMZWF2ZVJlcXVlc3QSIwoNY2FuX3JlY29ubmVjdBgBIAEoCFIMY2FuUmVjb25uZWN0EjEKBn' - 'JlYXNvbhgCIAEoDjIZLmxpdmVraXQuRGlzY29ubmVjdFJlYXNvblIGcmVhc29uEjQKBmFjdGlv' - 'bhgDIAEoDjIcLmxpdmVraXQuTGVhdmVSZXF1ZXN0LkFjdGlvblIGYWN0aW9uEjEKB3JlZ2lvbn' - 'MYBCABKAsyFy5saXZla2l0LlJlZ2lvblNldHRpbmdzUgdyZWdpb25zIjMKBkFjdGlvbhIOCgpE' - 'SVNDT05ORUNUEAASCgoGUkVTVU1FEAESDQoJUkVDT05ORUNUEAI='); +final $typed_data.Uint8List leaveRequestDescriptor = $convert.base64Decode( + 'CgxMZWF2ZVJlcXVlc3QSIwoNY2FuX3JlY29ubmVjdBgBIAEoCFIMY2FuUmVjb25uZWN0EjEKBn' + 'JlYXNvbhgCIAEoDjIZLmxpdmVraXQuRGlzY29ubmVjdFJlYXNvblIGcmVhc29uEjQKBmFjdGlv' + 'bhgDIAEoDjIcLmxpdmVraXQuTGVhdmVSZXF1ZXN0LkFjdGlvblIGYWN0aW9uEjEKB3JlZ2lvbn' + 'MYBCABKAsyFy5saXZla2l0LlJlZ2lvblNldHRpbmdzUgdyZWdpb25zIjMKBkFjdGlvbhIOCgpE' + 'SVNDT05ORUNUEAASCgoGUkVTVU1FEAESDQoJUkVDT05ORUNUEAI='); @$core.Deprecated('Use updateVideoLayersDescriptor instead') const UpdateVideoLayers$json = { '1': 'UpdateVideoLayers', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, + { + '1': 'layers', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.VideoLayer', + '10': 'layers' + }, ], '7': {'3': true}, }; /// Descriptor for `UpdateVideoLayers`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateVideoLayersDescriptor = - $convert.base64Decode('ChFVcGRhdGVWaWRlb0xheWVycxIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEisKBmxheW' - 'VycxgCIAMoCzITLmxpdmVraXQuVmlkZW9MYXllclIGbGF5ZXJzOgIYAQ=='); +final $typed_data.Uint8List updateVideoLayersDescriptor = $convert.base64Decode( + 'ChFVcGRhdGVWaWRlb0xheWVycxIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEisKBmxheW' + 'VycxgCIAMoCzITLmxpdmVraXQuVmlkZW9MYXllclIGbGF5ZXJzOgIYAQ=='); @$core.Deprecated('Use updateParticipantMetadataDescriptor instead') const UpdateParticipantMetadata$json = { @@ -686,12 +1052,12 @@ const UpdateParticipantMetadata_AttributesEntry$json = { }; /// Descriptor for `UpdateParticipantMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateParticipantMetadataDescriptor = - $convert.base64Decode('ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' - 'ISCgRuYW1lGAIgASgJUgRuYW1lElIKCmF0dHJpYnV0ZXMYAyADKAsyMi5saXZla2l0LlVwZGF0' - 'ZVBhcnRpY2lwYW50TWV0YWRhdGEuQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEh0KCnJlcX' - 'Vlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEgASgJ' - 'UgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); +final $typed_data.Uint8List updateParticipantMetadataDescriptor = $convert.base64Decode( + 'ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' + 'ISCgRuYW1lGAIgASgJUgRuYW1lElIKCmF0dHJpYnV0ZXMYAyADKAsyMi5saXZla2l0LlVwZGF0' + 'ZVBhcnRpY2lwYW50TWV0YWRhdGEuQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEh0KCnJlcX' + 'Vlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEgASgJ' + 'UgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); @$core.Deprecated('Use iCEServerDescriptor instead') const ICEServer$json = { @@ -704,22 +1070,29 @@ const ICEServer$json = { }; /// Descriptor for `ICEServer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List iCEServerDescriptor = - $convert.base64Decode('CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' - '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); +final $typed_data.Uint8List iCEServerDescriptor = $convert.base64Decode( + 'CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' + '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); @$core.Deprecated('Use speakersChangedDescriptor instead') const SpeakersChanged$json = { '1': 'SpeakersChanged', '2': [ - {'1': 'speakers', '3': 1, '4': 3, '5': 11, '6': '.livekit.SpeakerInfo', '10': 'speakers'}, + { + '1': 'speakers', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.SpeakerInfo', + '10': 'speakers' + }, ], }; /// Descriptor for `SpeakersChanged`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List speakersChangedDescriptor = - $convert.base64Decode('Cg9TcGVha2Vyc0NoYW5nZWQSMAoIc3BlYWtlcnMYASADKAsyFC5saXZla2l0LlNwZWFrZXJJbm' - 'ZvUghzcGVha2Vycw=='); +final $typed_data.Uint8List speakersChangedDescriptor = $convert.base64Decode( + 'Cg9TcGVha2Vyc0NoYW5nZWQSMAoIc3BlYWtlcnMYASADKAsyFC5saXZla2l0LlNwZWFrZXJJbm' + 'ZvUghzcGVha2Vycw=='); @$core.Deprecated('Use roomUpdateDescriptor instead') const RoomUpdate$json = { @@ -730,36 +1103,51 @@ const RoomUpdate$json = { }; /// Descriptor for `RoomUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomUpdateDescriptor = - $convert.base64Decode('CgpSb29tVXBkYXRlEiEKBHJvb20YASABKAsyDS5saXZla2l0LlJvb21SBHJvb20='); +final $typed_data.Uint8List roomUpdateDescriptor = $convert.base64Decode( + 'CgpSb29tVXBkYXRlEiEKBHJvb20YASABKAsyDS5saXZla2l0LlJvb21SBHJvb20='); @$core.Deprecated('Use connectionQualityInfoDescriptor instead') const ConnectionQualityInfo$json = { '1': 'ConnectionQualityInfo', '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, - {'1': 'quality', '3': 2, '4': 1, '5': 14, '6': '.livekit.ConnectionQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.ConnectionQuality', + '10': 'quality' + }, {'1': 'score', '3': 3, '4': 1, '5': 2, '10': 'score'}, ], }; /// Descriptor for `ConnectionQualityInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List connectionQualityInfoDescriptor = - $convert.base64Decode('ChVDb25uZWN0aW9uUXVhbGl0eUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aW' - 'NpcGFudFNpZBI0CgdxdWFsaXR5GAIgASgOMhoubGl2ZWtpdC5Db25uZWN0aW9uUXVhbGl0eVIH' - 'cXVhbGl0eRIUCgVzY29yZRgDIAEoAlIFc2NvcmU='); +final $typed_data.Uint8List connectionQualityInfoDescriptor = $convert.base64Decode( + 'ChVDb25uZWN0aW9uUXVhbGl0eUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aW' + 'NpcGFudFNpZBI0CgdxdWFsaXR5GAIgASgOMhoubGl2ZWtpdC5Db25uZWN0aW9uUXVhbGl0eVIH' + 'cXVhbGl0eRIUCgVzY29yZRgDIAEoAlIFc2NvcmU='); @$core.Deprecated('Use connectionQualityUpdateDescriptor instead') const ConnectionQualityUpdate$json = { '1': 'ConnectionQualityUpdate', '2': [ - {'1': 'updates', '3': 1, '4': 3, '5': 11, '6': '.livekit.ConnectionQualityInfo', '10': 'updates'}, + { + '1': 'updates', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.ConnectionQualityInfo', + '10': 'updates' + }, ], }; /// Descriptor for `ConnectionQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List connectionQualityUpdateDescriptor = - $convert.base64Decode('ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' + $convert.base64Decode( + 'ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' '5uZWN0aW9uUXVhbGl0eUluZm9SB3VwZGF0ZXM='); @$core.Deprecated('Use streamStateInfoDescriptor instead') @@ -768,56 +1156,84 @@ const StreamStateInfo$json = { '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, {'1': 'track_sid', '3': 2, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.livekit.StreamState', '10': 'state'}, + { + '1': 'state', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.StreamState', + '10': 'state' + }, ], }; /// Descriptor for `StreamStateInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStateInfoDescriptor = - $convert.base64Decode('Cg9TdHJlYW1TdGF0ZUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' - 'NpZBIbCgl0cmFja19zaWQYAiABKAlSCHRyYWNrU2lkEioKBXN0YXRlGAMgASgOMhQubGl2ZWtp' - 'dC5TdHJlYW1TdGF0ZVIFc3RhdGU='); +final $typed_data.Uint8List streamStateInfoDescriptor = $convert.base64Decode( + 'Cg9TdHJlYW1TdGF0ZUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' + 'NpZBIbCgl0cmFja19zaWQYAiABKAlSCHRyYWNrU2lkEioKBXN0YXRlGAMgASgOMhQubGl2ZWtp' + 'dC5TdHJlYW1TdGF0ZVIFc3RhdGU='); @$core.Deprecated('Use streamStateUpdateDescriptor instead') const StreamStateUpdate$json = { '1': 'StreamStateUpdate', '2': [ - {'1': 'stream_states', '3': 1, '4': 3, '5': 11, '6': '.livekit.StreamStateInfo', '10': 'streamStates'}, + { + '1': 'stream_states', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.StreamStateInfo', + '10': 'streamStates' + }, ], }; /// Descriptor for `StreamStateUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStateUpdateDescriptor = - $convert.base64Decode('ChFTdHJlYW1TdGF0ZVVwZGF0ZRI9Cg1zdHJlYW1fc3RhdGVzGAEgAygLMhgubGl2ZWtpdC5TdH' - 'JlYW1TdGF0ZUluZm9SDHN0cmVhbVN0YXRlcw=='); +final $typed_data.Uint8List streamStateUpdateDescriptor = $convert.base64Decode( + 'ChFTdHJlYW1TdGF0ZVVwZGF0ZRI9Cg1zdHJlYW1fc3RhdGVzGAEgAygLMhgubGl2ZWtpdC5TdH' + 'JlYW1TdGF0ZUluZm9SDHN0cmVhbVN0YXRlcw=='); @$core.Deprecated('Use subscribedQualityDescriptor instead') const SubscribedQuality$json = { '1': 'SubscribedQuality', '2': [ - {'1': 'quality', '3': 1, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, + { + '1': 'quality', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.VideoQuality', + '10': 'quality' + }, {'1': 'enabled', '3': 2, '4': 1, '5': 8, '10': 'enabled'}, ], }; /// Descriptor for `SubscribedQuality`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityDescriptor = - $convert.base64Decode('ChFTdWJzY3JpYmVkUXVhbGl0eRIvCgdxdWFsaXR5GAEgASgOMhUubGl2ZWtpdC5WaWRlb1F1YW' - 'xpdHlSB3F1YWxpdHkSGAoHZW5hYmxlZBgCIAEoCFIHZW5hYmxlZA=='); +final $typed_data.Uint8List subscribedQualityDescriptor = $convert.base64Decode( + 'ChFTdWJzY3JpYmVkUXVhbGl0eRIvCgdxdWFsaXR5GAEgASgOMhUubGl2ZWtpdC5WaWRlb1F1YW' + 'xpdHlSB3F1YWxpdHkSGAoHZW5hYmxlZBgCIAEoCFIHZW5hYmxlZA=='); @$core.Deprecated('Use subscribedCodecDescriptor instead') const SubscribedCodec$json = { '1': 'SubscribedCodec', '2': [ {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, - {'1': 'qualities', '3': 2, '4': 3, '5': 11, '6': '.livekit.SubscribedQuality', '10': 'qualities'}, + { + '1': 'qualities', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.SubscribedQuality', + '10': 'qualities' + }, ], }; /// Descriptor for `SubscribedCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedCodecDescriptor = - $convert.base64Decode('Cg9TdWJzY3JpYmVkQ29kZWMSFAoFY29kZWMYASABKAlSBWNvZGVjEjgKCXF1YWxpdGllcxgCIA' - 'MoCzIaLmxpdmVraXQuU3Vic2NyaWJlZFF1YWxpdHlSCXF1YWxpdGllcw=='); +final $typed_data.Uint8List subscribedCodecDescriptor = $convert.base64Decode( + 'Cg9TdWJzY3JpYmVkQ29kZWMSFAoFY29kZWMYASABKAlSBWNvZGVjEjgKCXF1YWxpdGllcxgCIA' + 'MoCzIaLmxpdmVraXQuU3Vic2NyaWJlZFF1YWxpdHlSCXF1YWxpdGllcw=='); @$core.Deprecated('Use subscribedQualityUpdateDescriptor instead') const SubscribedQualityUpdate$json = { @@ -833,16 +1249,23 @@ const SubscribedQualityUpdate$json = { '8': {'3': true}, '10': 'subscribedQualities', }, - {'1': 'subscribed_codecs', '3': 3, '4': 3, '5': 11, '6': '.livekit.SubscribedCodec', '10': 'subscribedCodecs'}, + { + '1': 'subscribed_codecs', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.SubscribedCodec', + '10': 'subscribedCodecs' + }, ], }; /// Descriptor for `SubscribedQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityUpdateDescriptor = - $convert.base64Decode('ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' - 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' - 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' - '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); +final $typed_data.Uint8List subscribedQualityUpdateDescriptor = $convert.base64Decode( + 'ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' + 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' + 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' + '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); @$core.Deprecated('Use subscribedAudioCodecUpdateDescriptor instead') const SubscribedAudioCodecUpdate$json = { @@ -862,7 +1285,8 @@ const SubscribedAudioCodecUpdate$json = { /// Descriptor for `SubscribedAudioCodecUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List subscribedAudioCodecUpdateDescriptor = - $convert.base64Decode('ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' + $convert.base64Decode( + 'ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' 'lkElUKF3N1YnNjcmliZWRfYXVkaW9fY29kZWNzGAIgAygLMh0ubGl2ZWtpdC5TdWJzY3JpYmVk' 'QXVkaW9Db2RlY1IVc3Vic2NyaWJlZEF1ZGlvQ29kZWNz'); @@ -873,31 +1297,44 @@ const TrackPermission$json = { {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, {'1': 'all_tracks', '3': 2, '4': 1, '5': 8, '10': 'allTracks'}, {'1': 'track_sids', '3': 3, '4': 3, '5': 9, '10': 'trackSids'}, - {'1': 'participant_identity', '3': 4, '4': 1, '5': 9, '10': 'participantIdentity'}, + { + '1': 'participant_identity', + '3': 4, + '4': 1, + '5': 9, + '10': 'participantIdentity' + }, ], }; /// Descriptor for `TrackPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackPermissionDescriptor = - $convert.base64Decode('Cg9UcmFja1Blcm1pc3Npb24SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' - 'NpZBIdCgphbGxfdHJhY2tzGAIgASgIUglhbGxUcmFja3MSHQoKdHJhY2tfc2lkcxgDIAMoCVIJ' - 'dHJhY2tTaWRzEjEKFHBhcnRpY2lwYW50X2lkZW50aXR5GAQgASgJUhNwYXJ0aWNpcGFudElkZW' - '50aXR5'); +final $typed_data.Uint8List trackPermissionDescriptor = $convert.base64Decode( + 'Cg9UcmFja1Blcm1pc3Npb24SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' + 'NpZBIdCgphbGxfdHJhY2tzGAIgASgIUglhbGxUcmFja3MSHQoKdHJhY2tfc2lkcxgDIAMoCVIJ' + 'dHJhY2tTaWRzEjEKFHBhcnRpY2lwYW50X2lkZW50aXR5GAQgASgJUhNwYXJ0aWNpcGFudElkZW' + '50aXR5'); @$core.Deprecated('Use subscriptionPermissionDescriptor instead') const SubscriptionPermission$json = { '1': 'SubscriptionPermission', '2': [ {'1': 'all_participants', '3': 1, '4': 1, '5': 8, '10': 'allParticipants'}, - {'1': 'track_permissions', '3': 2, '4': 3, '5': 11, '6': '.livekit.TrackPermission', '10': 'trackPermissions'}, + { + '1': 'track_permissions', + '3': 2, + '4': 3, + '5': 11, + '6': '.livekit.TrackPermission', + '10': 'trackPermissions' + }, ], }; /// Descriptor for `SubscriptionPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionPermissionDescriptor = - $convert.base64Decode('ChZTdWJzY3JpcHRpb25QZXJtaXNzaW9uEikKEGFsbF9wYXJ0aWNpcGFudHMYASABKAhSD2FsbF' - 'BhcnRpY2lwYW50cxJFChF0cmFja19wZXJtaXNzaW9ucxgCIAMoCzIYLmxpdmVraXQuVHJhY2tQ' - 'ZXJtaXNzaW9uUhB0cmFja1Blcm1pc3Npb25z'); +final $typed_data.Uint8List subscriptionPermissionDescriptor = $convert.base64Decode( + 'ChZTdWJzY3JpcHRpb25QZXJtaXNzaW9uEikKEGFsbF9wYXJ0aWNpcGFudHMYASABKAhSD2FsbF' + 'BhcnRpY2lwYW50cxJFChF0cmFja19wZXJtaXNzaW9ucxgCIAMoCzIYLmxpdmVraXQuVHJhY2tQ' + 'ZXJtaXNzaW9uUhB0cmFja1Blcm1pc3Npb25z'); @$core.Deprecated('Use subscriptionPermissionUpdateDescriptor instead') const SubscriptionPermissionUpdate$json = { @@ -911,7 +1348,8 @@ const SubscriptionPermissionUpdate$json = { /// Descriptor for `SubscriptionPermissionUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List subscriptionPermissionUpdateDescriptor = - $convert.base64Decode('ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' + $convert.base64Decode( + 'ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' 'IOcGFydGljaXBhbnRTaWQSGwoJdHJhY2tfc2lkGAIgASgJUgh0cmFja1NpZBIYCgdhbGxvd2Vk' 'GAMgASgIUgdhbGxvd2Vk'); @@ -921,28 +1359,83 @@ const RoomMovedResponse$json = { '2': [ {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.livekit.Room', '10': 'room'}, {'1': 'token', '3': 2, '4': 1, '5': 9, '10': 'token'}, - {'1': 'participant', '3': 3, '4': 1, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participant'}, - {'1': 'other_participants', '3': 4, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'otherParticipants'}, + { + '1': 'participant', + '3': 3, + '4': 1, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'participant' + }, + { + '1': 'other_participants', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.ParticipantInfo', + '10': 'otherParticipants' + }, ], }; /// Descriptor for `RoomMovedResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomMovedResponseDescriptor = - $convert.base64Decode('ChFSb29tTW92ZWRSZXNwb25zZRIhCgRyb29tGAEgASgLMg0ubGl2ZWtpdC5Sb29tUgRyb29tEh' - 'QKBXRva2VuGAIgASgJUgV0b2tlbhI6CgtwYXJ0aWNpcGFudBgDIAEoCzIYLmxpdmVraXQuUGFy' - 'dGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJHChJvdGhlcl9wYXJ0aWNpcGFudHMYBCADKAsyGC' - '5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3RoZXJQYXJ0aWNpcGFudHM='); +final $typed_data.Uint8List roomMovedResponseDescriptor = $convert.base64Decode( + 'ChFSb29tTW92ZWRSZXNwb25zZRIhCgRyb29tGAEgASgLMg0ubGl2ZWtpdC5Sb29tUgRyb29tEh' + 'QKBXRva2VuGAIgASgJUgV0b2tlbhI6CgtwYXJ0aWNpcGFudBgDIAEoCzIYLmxpdmVraXQuUGFy' + 'dGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJHChJvdGhlcl9wYXJ0aWNpcGFudHMYBCADKAsyGC' + '5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3RoZXJQYXJ0aWNpcGFudHM='); @$core.Deprecated('Use syncStateDescriptor instead') const SyncState$json = { '1': 'SyncState', '2': [ - {'1': 'answer', '3': 1, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'answer'}, - {'1': 'subscription', '3': 2, '4': 1, '5': 11, '6': '.livekit.UpdateSubscription', '10': 'subscription'}, - {'1': 'publish_tracks', '3': 3, '4': 3, '5': 11, '6': '.livekit.TrackPublishedResponse', '10': 'publishTracks'}, - {'1': 'data_channels', '3': 4, '4': 3, '5': 11, '6': '.livekit.DataChannelInfo', '10': 'dataChannels'}, - {'1': 'offer', '3': 5, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'offer'}, - {'1': 'track_sids_disabled', '3': 6, '4': 3, '5': 9, '10': 'trackSidsDisabled'}, + { + '1': 'answer', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '10': 'answer' + }, + { + '1': 'subscription', + '3': 2, + '4': 1, + '5': 11, + '6': '.livekit.UpdateSubscription', + '10': 'subscription' + }, + { + '1': 'publish_tracks', + '3': 3, + '4': 3, + '5': 11, + '6': '.livekit.TrackPublishedResponse', + '10': 'publishTracks' + }, + { + '1': 'data_channels', + '3': 4, + '4': 3, + '5': 11, + '6': '.livekit.DataChannelInfo', + '10': 'dataChannels' + }, + { + '1': 'offer', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '10': 'offer' + }, + { + '1': 'track_sids_disabled', + '3': 6, + '4': 3, + '5': 9, + '10': 'trackSidsDisabled' + }, { '1': 'datachannel_receive_states', '3': 7, @@ -955,16 +1448,16 @@ const SyncState$json = { }; /// Descriptor for `SyncState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List syncStateDescriptor = - $convert.base64Decode('CglTeW5jU3RhdGUSMwoGYW5zd2VyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb2' - '5SBmFuc3dlchI/CgxzdWJzY3JpcHRpb24YAiABKAsyGy5saXZla2l0LlVwZGF0ZVN1YnNjcmlw' - 'dGlvblIMc3Vic2NyaXB0aW9uEkYKDnB1Ymxpc2hfdHJhY2tzGAMgAygLMh8ubGl2ZWtpdC5Ucm' - 'Fja1B1Ymxpc2hlZFJlc3BvbnNlUg1wdWJsaXNoVHJhY2tzEj0KDWRhdGFfY2hhbm5lbHMYBCAD' - 'KAsyGC5saXZla2l0LkRhdGFDaGFubmVsSW5mb1IMZGF0YUNoYW5uZWxzEjEKBW9mZmVyGAUgAS' - 'gLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb25SBW9mZmVyEi4KE3RyYWNrX3NpZHNfZGlz' - 'YWJsZWQYBiADKAlSEXRyYWNrU2lkc0Rpc2FibGVkEl4KGmRhdGFjaGFubmVsX3JlY2VpdmVfc3' - 'RhdGVzGAcgAygLMiAubGl2ZWtpdC5EYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZVIYZGF0YWNoYW5u' - 'ZWxSZWNlaXZlU3RhdGVz'); +final $typed_data.Uint8List syncStateDescriptor = $convert.base64Decode( + 'CglTeW5jU3RhdGUSMwoGYW5zd2VyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb2' + '5SBmFuc3dlchI/CgxzdWJzY3JpcHRpb24YAiABKAsyGy5saXZla2l0LlVwZGF0ZVN1YnNjcmlw' + 'dGlvblIMc3Vic2NyaXB0aW9uEkYKDnB1Ymxpc2hfdHJhY2tzGAMgAygLMh8ubGl2ZWtpdC5Ucm' + 'Fja1B1Ymxpc2hlZFJlc3BvbnNlUg1wdWJsaXNoVHJhY2tzEj0KDWRhdGFfY2hhbm5lbHMYBCAD' + 'KAsyGC5saXZla2l0LkRhdGFDaGFubmVsSW5mb1IMZGF0YUNoYW5uZWxzEjEKBW9mZmVyGAUgAS' + 'gLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb25SBW9mZmVyEi4KE3RyYWNrX3NpZHNfZGlz' + 'YWJsZWQYBiADKAlSEXRyYWNrU2lkc0Rpc2FibGVkEl4KGmRhdGFjaGFubmVsX3JlY2VpdmVfc3' + 'RhdGVzGAcgAygLMiAubGl2ZWtpdC5EYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZVIYZGF0YWNoYW5u' + 'ZWxSZWNlaXZlU3RhdGVz'); @$core.Deprecated('Use dataChannelReceiveStateDescriptor instead') const DataChannelReceiveState$json = { @@ -977,7 +1470,8 @@ const DataChannelReceiveState$json = { /// Descriptor for `DataChannelReceiveState`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List dataChannelReceiveStateDescriptor = - $convert.base64Decode('ChdEYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZRIjCg1wdWJsaXNoZXJfc2lkGAEgASgJUgxwdWJsaX' + $convert.base64Decode( + 'ChdEYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZRIjCg1wdWJsaXNoZXJfc2lkGAEgASgJUgxwdWJsaX' 'NoZXJTaWQSGQoIbGFzdF9zZXEYAiABKA1SB2xhc3RTZXE='); @$core.Deprecated('Use dataChannelInfoDescriptor instead') @@ -986,20 +1480,34 @@ const DataChannelInfo$json = { '2': [ {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, {'1': 'id', '3': 2, '4': 1, '5': 13, '10': 'id'}, - {'1': 'target', '3': 3, '4': 1, '5': 14, '6': '.livekit.SignalTarget', '10': 'target'}, + { + '1': 'target', + '3': 3, + '4': 1, + '5': 14, + '6': '.livekit.SignalTarget', + '10': 'target' + }, ], }; /// Descriptor for `DataChannelInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataChannelInfoDescriptor = - $convert.base64Decode('Cg9EYXRhQ2hhbm5lbEluZm8SFAoFbGFiZWwYASABKAlSBWxhYmVsEg4KAmlkGAIgASgNUgJpZB' - 'ItCgZ0YXJnZXQYAyABKA4yFS5saXZla2l0LlNpZ25hbFRhcmdldFIGdGFyZ2V0'); +final $typed_data.Uint8List dataChannelInfoDescriptor = $convert.base64Decode( + 'Cg9EYXRhQ2hhbm5lbEluZm8SFAoFbGFiZWwYASABKAlSBWxhYmVsEg4KAmlkGAIgASgNUgJpZB' + 'ItCgZ0YXJnZXQYAyABKA4yFS5saXZla2l0LlNpZ25hbFRhcmdldFIGdGFyZ2V0'); @$core.Deprecated('Use simulateScenarioDescriptor instead') const SimulateScenario$json = { '1': 'SimulateScenario', '2': [ - {'1': 'speaker_update', '3': 1, '4': 1, '5': 5, '9': 0, '10': 'speakerUpdate'}, + { + '1': 'speaker_update', + '3': 1, + '4': 1, + '5': 5, + '9': 0, + '10': 'speakerUpdate' + }, {'1': 'node_failure', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'nodeFailure'}, {'1': 'migration', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'migration'}, {'1': 'server_leave', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'serverLeave'}, @@ -1012,8 +1520,22 @@ const SimulateScenario$json = { '9': 0, '10': 'switchCandidateProtocol' }, - {'1': 'subscriber_bandwidth', '3': 6, '4': 1, '5': 3, '9': 0, '10': 'subscriberBandwidth'}, - {'1': 'disconnect_signal_on_resume', '3': 7, '4': 1, '5': 8, '9': 0, '10': 'disconnectSignalOnResume'}, + { + '1': 'subscriber_bandwidth', + '3': 6, + '4': 1, + '5': 3, + '9': 0, + '10': 'subscriberBandwidth' + }, + { + '1': 'disconnect_signal_on_resume', + '3': 7, + '4': 1, + '5': 8, + '9': 0, + '10': 'disconnectSignalOnResume' + }, { '1': 'disconnect_signal_on_resume_no_messages', '3': 8, @@ -1022,7 +1544,14 @@ const SimulateScenario$json = { '9': 0, '10': 'disconnectSignalOnResumeNoMessages' }, - {'1': 'leave_request_full_reconnect', '3': 9, '4': 1, '5': 8, '9': 0, '10': 'leaveRequestFullReconnect'}, + { + '1': 'leave_request_full_reconnect', + '3': 9, + '4': 1, + '5': 8, + '9': 0, + '10': 'leaveRequestFullReconnect' + }, ], '8': [ {'1': 'scenario'}, @@ -1030,17 +1559,17 @@ const SimulateScenario$json = { }; /// Descriptor for `SimulateScenario`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulateScenarioDescriptor = - $convert.base64Decode('ChBTaW11bGF0ZVNjZW5hcmlvEicKDnNwZWFrZXJfdXBkYXRlGAEgASgFSABSDXNwZWFrZXJVcG' - 'RhdGUSIwoMbm9kZV9mYWlsdXJlGAIgASgISABSC25vZGVGYWlsdXJlEh4KCW1pZ3JhdGlvbhgD' - 'IAEoCEgAUgltaWdyYXRpb24SIwoMc2VydmVyX2xlYXZlGAQgASgISABSC3NlcnZlckxlYXZlEl' - 'gKGXN3aXRjaF9jYW5kaWRhdGVfcHJvdG9jb2wYBSABKA4yGi5saXZla2l0LkNhbmRpZGF0ZVBy' - 'b3RvY29sSABSF3N3aXRjaENhbmRpZGF0ZVByb3RvY29sEjMKFHN1YnNjcmliZXJfYmFuZHdpZH' - 'RoGAYgASgDSABSE3N1YnNjcmliZXJCYW5kd2lkdGgSPwobZGlzY29ubmVjdF9zaWduYWxfb25f' - 'cmVzdW1lGAcgASgISABSGGRpc2Nvbm5lY3RTaWduYWxPblJlc3VtZRJVCidkaXNjb25uZWN0X3' - 'NpZ25hbF9vbl9yZXN1bWVfbm9fbWVzc2FnZXMYCCABKAhIAFIiZGlzY29ubmVjdFNpZ25hbE9u' - 'UmVzdW1lTm9NZXNzYWdlcxJBChxsZWF2ZV9yZXF1ZXN0X2Z1bGxfcmVjb25uZWN0GAkgASgISA' - 'BSGWxlYXZlUmVxdWVzdEZ1bGxSZWNvbm5lY3RCCgoIc2NlbmFyaW8='); +final $typed_data.Uint8List simulateScenarioDescriptor = $convert.base64Decode( + 'ChBTaW11bGF0ZVNjZW5hcmlvEicKDnNwZWFrZXJfdXBkYXRlGAEgASgFSABSDXNwZWFrZXJVcG' + 'RhdGUSIwoMbm9kZV9mYWlsdXJlGAIgASgISABSC25vZGVGYWlsdXJlEh4KCW1pZ3JhdGlvbhgD' + 'IAEoCEgAUgltaWdyYXRpb24SIwoMc2VydmVyX2xlYXZlGAQgASgISABSC3NlcnZlckxlYXZlEl' + 'gKGXN3aXRjaF9jYW5kaWRhdGVfcHJvdG9jb2wYBSABKA4yGi5saXZla2l0LkNhbmRpZGF0ZVBy' + 'b3RvY29sSABSF3N3aXRjaENhbmRpZGF0ZVByb3RvY29sEjMKFHN1YnNjcmliZXJfYmFuZHdpZH' + 'RoGAYgASgDSABSE3N1YnNjcmliZXJCYW5kd2lkdGgSPwobZGlzY29ubmVjdF9zaWduYWxfb25f' + 'cmVzdW1lGAcgASgISABSGGRpc2Nvbm5lY3RTaWduYWxPblJlc3VtZRJVCidkaXNjb25uZWN0X3' + 'NpZ25hbF9vbl9yZXN1bWVfbm9fbWVzc2FnZXMYCCABKAhIAFIiZGlzY29ubmVjdFNpZ25hbE9u' + 'UmVzdW1lTm9NZXNzYWdlcxJBChxsZWF2ZV9yZXF1ZXN0X2Z1bGxfcmVjb25uZWN0GAkgASgISA' + 'BSGWxlYXZlUmVxdWVzdEZ1bGxSZWNvbm5lY3RCCgoIc2NlbmFyaW8='); @$core.Deprecated('Use pingDescriptor instead') const Ping$json = { @@ -1052,35 +1581,48 @@ const Ping$json = { }; /// Descriptor for `Ping`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pingDescriptor = - $convert.base64Decode('CgRQaW5nEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEhAKA3J0dBgCIAEoA1IDcnR0'); +final $typed_data.Uint8List pingDescriptor = $convert.base64Decode( + 'CgRQaW5nEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEhAKA3J0dBgCIAEoA1IDcnR0'); @$core.Deprecated('Use pongDescriptor instead') const Pong$json = { '1': 'Pong', '2': [ - {'1': 'last_ping_timestamp', '3': 1, '4': 1, '5': 3, '10': 'lastPingTimestamp'}, + { + '1': 'last_ping_timestamp', + '3': 1, + '4': 1, + '5': 3, + '10': 'lastPingTimestamp' + }, {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, ], }; /// Descriptor for `Pong`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pongDescriptor = - $convert.base64Decode('CgRQb25nEi4KE2xhc3RfcGluZ190aW1lc3RhbXAYASABKANSEWxhc3RQaW5nVGltZXN0YW1wEh' - 'wKCXRpbWVzdGFtcBgCIAEoA1IJdGltZXN0YW1w'); +final $typed_data.Uint8List pongDescriptor = $convert.base64Decode( + 'CgRQb25nEi4KE2xhc3RfcGluZ190aW1lc3RhbXAYASABKANSEWxhc3RQaW5nVGltZXN0YW1wEh' + 'wKCXRpbWVzdGFtcBgCIAEoA1IJdGltZXN0YW1w'); @$core.Deprecated('Use regionSettingsDescriptor instead') const RegionSettings$json = { '1': 'RegionSettings', '2': [ - {'1': 'regions', '3': 1, '4': 3, '5': 11, '6': '.livekit.RegionInfo', '10': 'regions'}, + { + '1': 'regions', + '3': 1, + '4': 3, + '5': 11, + '6': '.livekit.RegionInfo', + '10': 'regions' + }, ], }; /// Descriptor for `RegionSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List regionSettingsDescriptor = - $convert.base64Decode('Cg5SZWdpb25TZXR0aW5ncxItCgdyZWdpb25zGAEgAygLMhMubGl2ZWtpdC5SZWdpb25JbmZvUg' - 'dyZWdpb25z'); +final $typed_data.Uint8List regionSettingsDescriptor = $convert.base64Decode( + 'Cg5SZWdpb25TZXR0aW5ncxItCgdyZWdpb25zGAEgAygLMhMubGl2ZWtpdC5SZWdpb25JbmZvUg' + 'dyZWdpb25z'); @$core.Deprecated('Use regionInfoDescriptor instead') const RegionInfo$json = { @@ -1093,34 +1635,72 @@ const RegionInfo$json = { }; /// Descriptor for `RegionInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List regionInfoDescriptor = - $convert.base64Decode('CgpSZWdpb25JbmZvEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9uEhAKA3VybBgCIAEoCVIDdXJsEh' - 'oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); +final $typed_data.Uint8List regionInfoDescriptor = $convert.base64Decode( + 'CgpSZWdpb25JbmZvEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9uEhAKA3VybBgCIAEoCVIDdXJsEh' + 'oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); @$core.Deprecated('Use subscriptionResponseDescriptor instead') const SubscriptionResponse$json = { '1': 'SubscriptionResponse', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - {'1': 'err', '3': 2, '4': 1, '5': 14, '6': '.livekit.SubscriptionError', '10': 'err'}, + { + '1': 'err', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.SubscriptionError', + '10': 'err' + }, ], }; /// Descriptor for `SubscriptionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionResponseDescriptor = - $convert.base64Decode('ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' - 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); +final $typed_data.Uint8List subscriptionResponseDescriptor = $convert.base64Decode( + 'ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' + 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); @$core.Deprecated('Use requestResponseDescriptor instead') const RequestResponse$json = { '1': 'RequestResponse', '2': [ {'1': 'request_id', '3': 1, '4': 1, '5': 13, '10': 'requestId'}, - {'1': 'reason', '3': 2, '4': 1, '5': 14, '6': '.livekit.RequestResponse.Reason', '10': 'reason'}, + { + '1': 'reason', + '3': 2, + '4': 1, + '5': 14, + '6': '.livekit.RequestResponse.Reason', + '10': 'reason' + }, {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, - {'1': 'trickle', '3': 4, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, - {'1': 'add_track', '3': 5, '4': 1, '5': 11, '6': '.livekit.AddTrackRequest', '9': 0, '10': 'addTrack'}, - {'1': 'mute', '3': 6, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, + { + '1': 'trickle', + '3': 4, + '4': 1, + '5': 11, + '6': '.livekit.TrickleRequest', + '9': 0, + '10': 'trickle' + }, + { + '1': 'add_track', + '3': 5, + '4': 1, + '5': 11, + '6': '.livekit.AddTrackRequest', + '9': 0, + '10': 'addTrack' + }, + { + '1': 'mute', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.MuteTrackRequest', + '9': 0, + '10': 'mute' + }, { '1': 'update_metadata', '3': 7, @@ -1170,20 +1750,20 @@ const RequestResponse_Reason$json = { }; /// Descriptor for `RequestResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestResponseDescriptor = - $convert.base64Decode('Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' - 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' - 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' - 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' - 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' - 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' - 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' - 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' - 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' - 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjayJ+CgZSZWFzb24SBgoCT0sQABINCglOT1Rf' - 'Rk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVFVUVEEA' - 'QSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGQgkKB3JlcXVl' - 'c3Q='); +final $typed_data.Uint8List requestResponseDescriptor = $convert.base64Decode( + 'Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' + 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' + 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' + 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' + 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' + 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' + 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' + 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' + 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' + 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjayJ+CgZSZWFzb24SBgoCT0sQABINCglOT1Rf' + 'Rk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVFVUVEEA' + 'QSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGQgkKB3JlcXVl' + 'c3Q='); @$core.Deprecated('Use trackSubscribedDescriptor instead') const TrackSubscribed$json = { @@ -1194,8 +1774,8 @@ const TrackSubscribed$json = { }; /// Descriptor for `TrackSubscribed`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackSubscribedDescriptor = - $convert.base64Decode('Cg9UcmFja1N1YnNjcmliZWQSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA=='); +final $typed_data.Uint8List trackSubscribedDescriptor = $convert.base64Decode( + 'Cg9UcmFja1N1YnNjcmliZWQSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA=='); @$core.Deprecated('Use connectionSettingsDescriptor instead') const ConnectionSettings$json = { @@ -1203,7 +1783,15 @@ const ConnectionSettings$json = { '2': [ {'1': 'auto_subscribe', '3': 1, '4': 1, '5': 8, '10': 'autoSubscribe'}, {'1': 'adaptive_stream', '3': 2, '4': 1, '5': 8, '10': 'adaptiveStream'}, - {'1': 'subscriber_allow_pause', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'subscriberAllowPause', '17': true}, + { + '1': 'subscriber_allow_pause', + '3': 3, + '4': 1, + '5': 8, + '9': 0, + '10': 'subscriberAllowPause', + '17': true + }, {'1': 'disable_ice_lite', '3': 4, '4': 1, '5': 8, '10': 'disableIceLite'}, ], '8': [ @@ -1212,18 +1800,25 @@ const ConnectionSettings$json = { }; /// Descriptor for `ConnectionSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List connectionSettingsDescriptor = - $convert.base64Decode('ChJDb25uZWN0aW9uU2V0dGluZ3MSJQoOYXV0b19zdWJzY3JpYmUYASABKAhSDWF1dG9TdWJzY3' - 'JpYmUSJwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIUg5hZGFwdGl2ZVN0cmVhbRI5ChZzdWJzY3Jp' - 'YmVyX2FsbG93X3BhdXNlGAMgASgISABSFHN1YnNjcmliZXJBbGxvd1BhdXNliAEBEigKEGRpc2' - 'FibGVfaWNlX2xpdGUYBCABKAhSDmRpc2FibGVJY2VMaXRlQhkKF19zdWJzY3JpYmVyX2FsbG93' - 'X3BhdXNl'); +final $typed_data.Uint8List connectionSettingsDescriptor = $convert.base64Decode( + 'ChJDb25uZWN0aW9uU2V0dGluZ3MSJQoOYXV0b19zdWJzY3JpYmUYASABKAhSDWF1dG9TdWJzY3' + 'JpYmUSJwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIUg5hZGFwdGl2ZVN0cmVhbRI5ChZzdWJzY3Jp' + 'YmVyX2FsbG93X3BhdXNlGAMgASgISABSFHN1YnNjcmliZXJBbGxvd1BhdXNliAEBEigKEGRpc2' + 'FibGVfaWNlX2xpdGUYBCABKAhSDmRpc2FibGVJY2VMaXRlQhkKF19zdWJzY3JpYmVyX2FsbG93' + 'X3BhdXNl'); @$core.Deprecated('Use joinRequestDescriptor instead') const JoinRequest$json = { '1': 'JoinRequest', '2': [ - {'1': 'client_info', '3': 1, '4': 1, '5': 11, '6': '.livekit.ClientInfo', '10': 'clientInfo'}, + { + '1': 'client_info', + '3': 1, + '4': 1, + '5': 11, + '6': '.livekit.ClientInfo', + '10': 'clientInfo' + }, { '1': 'connection_settings', '3': 2, @@ -1241,12 +1836,40 @@ const JoinRequest$json = { '6': '.livekit.JoinRequest.ParticipantAttributesEntry', '10': 'participantAttributes' }, - {'1': 'add_track_requests', '3': 5, '4': 3, '5': 11, '6': '.livekit.AddTrackRequest', '10': 'addTrackRequests'}, - {'1': 'publisher_offer', '3': 6, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'publisherOffer'}, + { + '1': 'add_track_requests', + '3': 5, + '4': 3, + '5': 11, + '6': '.livekit.AddTrackRequest', + '10': 'addTrackRequests' + }, + { + '1': 'publisher_offer', + '3': 6, + '4': 1, + '5': 11, + '6': '.livekit.SessionDescription', + '10': 'publisherOffer' + }, {'1': 'reconnect', '3': 7, '4': 1, '5': 8, '10': 'reconnect'}, - {'1': 'reconnect_reason', '3': 8, '4': 1, '5': 14, '6': '.livekit.ReconnectReason', '10': 'reconnectReason'}, + { + '1': 'reconnect_reason', + '3': 8, + '4': 1, + '5': 14, + '6': '.livekit.ReconnectReason', + '10': 'reconnectReason' + }, {'1': 'participant_sid', '3': 9, '4': 1, '5': 9, '10': 'participantSid'}, - {'1': 'sync_state', '3': 10, '4': 1, '5': 11, '6': '.livekit.SyncState', '10': 'syncState'}, + { + '1': 'sync_state', + '3': 10, + '4': 1, + '5': 11, + '6': '.livekit.SyncState', + '10': 'syncState' + }, ], '3': [JoinRequest_ParticipantAttributesEntry$json], }; @@ -1262,26 +1885,33 @@ const JoinRequest_ParticipantAttributesEntry$json = { }; /// Descriptor for `JoinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List joinRequestDescriptor = - $convert.base64Decode('CgtKb2luUmVxdWVzdBI0CgtjbGllbnRfaW5mbxgBIAEoCzITLmxpdmVraXQuQ2xpZW50SW5mb1' - 'IKY2xpZW50SW5mbxJMChNjb25uZWN0aW9uX3NldHRpbmdzGAIgASgLMhsubGl2ZWtpdC5Db25u' - 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxIaCghtZXRhZGF0YRgDIAEoCVIIbW' - 'V0YWRhdGESZgoWcGFydGljaXBhbnRfYXR0cmlidXRlcxgEIAMoCzIvLmxpdmVraXQuSm9pblJl' - 'cXVlc3QuUGFydGljaXBhbnRBdHRyaWJ1dGVzRW50cnlSFXBhcnRpY2lwYW50QXR0cmlidXRlcx' - 'JGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQ' - 'YWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJfb2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3' - 'Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZXISHAoJcmVjb25uZWN0GAcgASgIUglyZWNv' - 'bm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEoDjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc2' - '9uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaXBhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFu' - 'dFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZR' - 'pIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1' - 'ZRgCIAEoCVIFdmFsdWU6AjgB'); +final $typed_data.Uint8List joinRequestDescriptor = $convert.base64Decode( + 'CgtKb2luUmVxdWVzdBI0CgtjbGllbnRfaW5mbxgBIAEoCzITLmxpdmVraXQuQ2xpZW50SW5mb1' + 'IKY2xpZW50SW5mbxJMChNjb25uZWN0aW9uX3NldHRpbmdzGAIgASgLMhsubGl2ZWtpdC5Db25u' + 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxIaCghtZXRhZGF0YRgDIAEoCVIIbW' + 'V0YWRhdGESZgoWcGFydGljaXBhbnRfYXR0cmlidXRlcxgEIAMoCzIvLmxpdmVraXQuSm9pblJl' + 'cXVlc3QuUGFydGljaXBhbnRBdHRyaWJ1dGVzRW50cnlSFXBhcnRpY2lwYW50QXR0cmlidXRlcx' + 'JGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQ' + 'YWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJfb2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3' + 'Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZXISHAoJcmVjb25uZWN0GAcgASgIUglyZWNv' + 'bm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEoDjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc2' + '9uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaXBhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFu' + 'dFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZR' + 'pIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1' + 'ZRgCIAEoCVIFdmFsdWU6AjgB'); @$core.Deprecated('Use wrappedJoinRequestDescriptor instead') const WrappedJoinRequest$json = { '1': 'WrappedJoinRequest', '2': [ - {'1': 'compression', '3': 1, '4': 1, '5': 14, '6': '.livekit.WrappedJoinRequest.Compression', '10': 'compression'}, + { + '1': 'compression', + '3': 1, + '4': 1, + '5': 14, + '6': '.livekit.WrappedJoinRequest.Compression', + '10': 'compression' + }, {'1': 'join_request', '3': 2, '4': 1, '5': 12, '10': 'joinRequest'}, ], '4': [WrappedJoinRequest_Compression$json], @@ -1297,10 +1927,10 @@ const WrappedJoinRequest_Compression$json = { }; /// Descriptor for `WrappedJoinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wrappedJoinRequestDescriptor = - $convert.base64Decode('ChJXcmFwcGVkSm9pblJlcXVlc3QSSQoLY29tcHJlc3Npb24YASABKA4yJy5saXZla2l0LldyYX' - 'BwZWRKb2luUmVxdWVzdC5Db21wcmVzc2lvblILY29tcHJlc3Npb24SIQoMam9pbl9yZXF1ZXN0' - 'GAIgASgMUgtqb2luUmVxdWVzdCIhCgtDb21wcmVzc2lvbhIICgROT05FEAASCAoER1pJUBAB'); +final $typed_data.Uint8List wrappedJoinRequestDescriptor = $convert.base64Decode( + 'ChJXcmFwcGVkSm9pblJlcXVlc3QSSQoLY29tcHJlc3Npb24YASABKA4yJy5saXZla2l0LldyYX' + 'BwZWRKb2luUmVxdWVzdC5Db21wcmVzc2lvblILY29tcHJlc3Npb24SIQoMam9pbl9yZXF1ZXN0' + 'GAIgASgMUgtqb2luUmVxdWVzdCIhCgtDb21wcmVzc2lvbhIICgROT05FEAASCAoER1pJUBAB'); @$core.Deprecated('Use mediaSectionsRequirementDescriptor instead') const MediaSectionsRequirement$json = { @@ -1313,5 +1943,6 @@ const MediaSectionsRequirement$json = { /// Descriptor for `MediaSectionsRequirement`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List mediaSectionsRequirementDescriptor = - $convert.base64Decode('ChhNZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSHQoKbnVtX2F1ZGlvcxgBIAEoDVIJbnVtQXVkaW' + $convert.base64Decode( + 'ChhNZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSHQoKbnVtX2F1ZGlvcxgBIAEoDVIJbnVtQXVkaW' '9zEh0KCm51bV92aWRlb3MYAiABKA1SCW51bVZpZGVvcw=='); diff --git a/lib/src/publication/track_publication.dart b/lib/src/publication/track_publication.dart index eff2b2c7b..2836d424e 100644 --- a/lib/src/publication/track_publication.dart +++ b/lib/src/publication/track_publication.dart @@ -121,7 +121,8 @@ abstract class TrackPublication extends Disposable { void _attachTrackListener(T track) { // listen for Track's muted events final listener = track.createListener() - ..on((event) => _onTrackMuteUpdatedEvent(event)); + ..on( + (event) => _onTrackMuteUpdatedEvent(event)); // dispose listener when the track is disposed track.onDispose(() => listener.dispose()); } diff --git a/lib/src/track/local/audio.dart b/lib/src/track/local/audio.dart index d14ab864e..33d179e6c 100644 --- a/lib/src/track/local/audio.dart +++ b/lib/src/track/local/audio.dart @@ -63,7 +63,8 @@ class LocalAudioTrack extends LocalTrack if (stats != null && prevStats != null && sender != null) { final bitrate = computeBitrateForSenderStats(stats, prevStats); _currentBitrate = bitrate; - events.emit(AudioSenderStatsEvent(stats: stats, currentBitrate: bitrate)); + events + .emit(AudioSenderStatsEvent(stats: stats, currentBitrate: bitrate)); } prevStats = stats; diff --git a/lib/src/track/remote/audio.dart b/lib/src/track/remote/audio.dart index f691e709a..776090097 100644 --- a/lib/src/track/remote/audio.dart +++ b/lib/src/track/remote/audio.dart @@ -93,7 +93,8 @@ class RemoteAudioTrack extends RemoteTrack if (stats != null && prevStats != null && receiver != null) { final bitrate = computeBitrateForReceiverStats(stats, prevStats); _currentBitrate = bitrate; - events.emit(AudioReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); + events.emit( + AudioReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); } prevStats = stats; diff --git a/lib/src/track/remote/video.dart b/lib/src/track/remote/video.dart index 83401d506..e9241280b 100644 --- a/lib/src/track/remote/video.dart +++ b/lib/src/track/remote/video.dart @@ -56,7 +56,8 @@ class RemoteVideoTrack extends RemoteTrack with VideoTrack { if (stats != null && prevStats != null && receiver != null) { final bitrate = computeBitrateForReceiverStats(stats, prevStats); _currentBitrate = bitrate; - events.emit(VideoReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); + events.emit( + VideoReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); } prevStats = stats; diff --git a/lib/src/types/data_stream.dart b/lib/src/types/data_stream.dart index 6263697af..fb6ef5f70 100644 --- a/lib/src/types/data_stream.dart +++ b/lib/src/types/data_stream.dart @@ -173,7 +173,8 @@ enum TextStreamOperationType { delete, reaction; - static TextStreamOperationType? fromPBType(lk_models.DataStream_OperationType? type) { + static TextStreamOperationType? fromPBType( + lk_models.DataStream_OperationType? type) { if (type == null) return TextStreamOperationType.create; switch (type) { case lk_models.DataStream_OperationType.CREATE: diff --git a/lib/src/widgets/screen_select_dialog.dart b/lib/src/widgets/screen_select_dialog.dart index 6d8c08a5e..490f73956 100644 --- a/lib/src/widgets/screen_select_dialog.dart +++ b/lib/src/widgets/screen_select_dialog.dart @@ -152,7 +152,8 @@ class ScreenSelectDialog extends Dialog { Future _getSources() async { try { - final sources = await rtc.desktopCapturer.getSources(types: [_sourceType]); + final sources = + await rtc.desktopCapturer.getSources(types: [_sourceType]); for (var element in sources) { if (kDebugMode) { print( diff --git a/test/core/data_stream_test.dart b/test/core/data_stream_test.dart index e9eedfe75..4ff148d71 100644 --- a/test/core/data_stream_test.dart +++ b/test/core/data_stream_test.dart @@ -42,9 +42,11 @@ void main() { group('Stream Handler Registration', () { test('Register And Unregister Text And Byte Stream Handlers', () async { - room.registerTextStreamHandler('chat', (TextStreamReader reader, String participantIdentity) {}); + room.registerTextStreamHandler( + 'chat', (TextStreamReader reader, String participantIdentity) {}); - room.registerByteStreamHandler('file', (ByteStreamReader reader, String participantIdentity) {}); + room.registerByteStreamHandler( + 'file', (ByteStreamReader reader, String participantIdentity) {}); expect(room.textStreamHandlers.keys.first, 'chat'); @@ -60,7 +62,8 @@ void main() { group('Text Streaming', () { test('Send Basic Text Message', () async { - room.registerTextStreamHandler('chat', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received chat message from $participantIdentity: $text'); expect('some text !!!', text); @@ -75,9 +78,11 @@ void main() { test('Send Large Text Message With Progress Tracking', () async { final longText = 'a' * 100000; - room.registerTextStreamHandler('chat-long-text', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-long-text', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); - print('received chat message from $participantIdentity: long text length: ${text.length}'); + print( + 'received chat message from $participantIdentity: long text length: ${text.length}'); expect(longText, text); }); @@ -94,7 +99,8 @@ void main() { }); test('Stream Text With Multiple Chunks', () async { - room.registerTextStreamHandler('chat-stream', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-stream', + (TextStreamReader reader, String participantIdentity) async { reader.listen((chunk) { print( 'received chunk: ${chunk.content.length}, total: ${reader.info?.size}, progress: ${utf8.decode(chunk.content)}'); @@ -124,14 +130,16 @@ void main() { for (var file in files) { final randomFile = File(file); final random = Random(); - final bytes = List.generate(100000, (index) => random.nextInt(256)); + final bytes = + List.generate(100000, (index) => random.nextInt(256)); randomFile.writeAsBytesSync(bytes); } room.registerTextStreamHandler('chat-stream-with-files', (TextStreamReader reader, String participantIdentity) async { final receivedText = await reader.readAll(); - print('received chat message from $participantIdentity: long text length: ${receivedText.length}'); + print( + 'received chat message from $participantIdentity: long text length: ${receivedText.length}'); expect(longText, receivedText); }); @@ -170,19 +178,22 @@ void main() { final receivedMessages = []; for (var operationType in operationTypes) { - room.registerTextStreamHandler('chat-operations', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-operations', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); receivedMessages.add('${operationType}: ${text}'); print('received ${operationType} message: ${text}'); }); - final info = await room.localParticipant?.sendText('Test ${operationType}', - options: SendTextOptions( - topic: 'chat-operations', - )); + final info = + await room.localParticipant?.sendText('Test ${operationType}', + options: SendTextOptions( + topic: 'chat-operations', + )); // Test with streamText and different operation types - final stream = await room.localParticipant?.streamText(StreamTextOptions( + final stream = + await room.localParticipant?.streamText(StreamTextOptions( topic: 'chat-operations', type: operationType, version: operationType == TextStreamOperationType.update ? 2 : null, @@ -196,9 +207,14 @@ void main() { }); test('Text Stream With Attributes And Metadata', () async { - final testAttributes = {'userId': '12345', 'sessionId': 'abc123', 'priority': 'high'}; + final testAttributes = { + 'userId': '12345', + 'sessionId': 'abc123', + 'priority': 'high' + }; - room.registerTextStreamHandler('chat-metadata', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-metadata', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received message with text: ${text}'); print('received message attributes: ${reader.info?.attributes}'); @@ -212,11 +228,12 @@ void main() { expect(reader.info!.attributes['priority'], 'high'); }); - final info = await room.localParticipant?.sendText('Test message with metadata', - options: SendTextOptions( - topic: 'chat-metadata', - attributes: testAttributes, - )); + final info = + await room.localParticipant?.sendText('Test message with metadata', + options: SendTextOptions( + topic: 'chat-metadata', + attributes: testAttributes, + )); expect(info, isNotNull); }); @@ -224,7 +241,8 @@ void main() { const originalStreamId = 'original-stream-123'; const replyStreamId = 'reply-stream-456'; - room.registerTextStreamHandler('chat-replies', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-replies', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received reply message: ${text}'); expect(text, 'This is a reply to the original message'); @@ -248,7 +266,8 @@ void main() { }); test('Text Stream With AI Generated Flag', () async { - room.registerTextStreamHandler('chat-ai-generated', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-ai-generated', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received AI-generated message: ${text}'); expect(text, 'This message was generated by AI'); @@ -294,7 +313,8 @@ void main() { final bytes = List.generate(100000, (index) => random.nextInt(256)); randomFile.writeAsBytesSync(bytes); - room.registerByteStreamHandler('file', (ByteStreamReader reader, String participantIdentity) async { + room.registerByteStreamHandler('file', + (ByteStreamReader reader, String participantIdentity) async { final file = await reader.readAll(); final fileName = 'testfiles/copy-${reader.info!.name}'; print('received file from $participantIdentity: ${file.length}'); @@ -321,13 +341,16 @@ void main() { }); test('Stream Raw Bytes With UTF8 Content', () async { - room.registerByteStreamHandler('bytes-stream', (ByteStreamReader reader, String participantIdentity) async { + room.registerByteStreamHandler('bytes-stream', + (ByteStreamReader reader, String participantIdentity) async { final chunks = await reader.readAll(); final content = chunks.expand((element) => element).toList(); - print('bytes content = ${content}, \n string content = ${utf8.decode(content)}'); + print( + 'bytes content = ${content}, \n string content = ${utf8.decode(content)}'); }); - final stream = await room.localParticipant?.streamBytes(StreamBytesOptions( + final stream = + await room.localParticipant?.streamBytes(StreamBytesOptions( topic: 'bytes-stream', totalSize: 30, )); @@ -366,7 +389,8 @@ void main() { expect(content, expectedContent); }); - final stream = await room.localParticipant?.streamBytes(StreamBytesOptions( + final stream = + await room.localParticipant?.streamBytes(StreamBytesOptions( topic: 'files-with-metadata', name: testFileName, mimeType: testMimeType, @@ -386,7 +410,8 @@ void main() { var receivedCount = 0; const expectedCount = 3; - room.registerTextStreamHandler('concurrent-streams', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('concurrent-streams', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); receivedCount++; print('received concurrent message ${receivedCount}: ${text}'); @@ -396,7 +421,8 @@ void main() { final futures = []; for (int i = 0; i < expectedCount; i++) { futures.add(() async { - final stream = await room.localParticipant?.streamText(StreamTextOptions( + final stream = + await room.localParticipant?.streamText(StreamTextOptions( topic: 'concurrent-streams', streamId: 'stream-${i}', type: TextStreamOperationType.create, @@ -417,7 +443,8 @@ void main() { const chunkSize = 50000; // Larger than normal chunk size final largeData = 'x' * chunkSize; - room.registerTextStreamHandler('large-chunks', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('large-chunks', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received large text, length: ${text.length}'); expect(text.length, chunkSize); @@ -438,7 +465,8 @@ void main() { // Test comprehensive header data transmission final testCompleter = Completer(); - room.registerTextStreamHandler('header-validation', (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('header-validation', + (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('=== Header Validation Test ==='); print('Received text: ${text}'); From 5b6bf437e547f81e9f24786c0848cebff5a0877a Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Tue, 14 Oct 2025 11:48:09 +0200 Subject: [PATCH 13/16] chore: run import sorter --- lib/src/participant/local.dart | 3 ++- test/core/data_stream_test.dart | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/participant/local.dart b/lib/src/participant/local.dart index b3b9136ad..aa891fbd2 100644 --- a/lib/src/participant/local.dart +++ b/lib/src/participant/local.dart @@ -53,6 +53,8 @@ import '../types/other.dart'; import '../types/participant_permissions.dart'; import '../types/rpc.dart'; import '../types/video_dimensions.dart'; +import 'participant.dart'; + import '../utils.dart' show buildStreamId, @@ -60,7 +62,6 @@ import '../utils.dart' Utils, compareVersions, isSVCCodec; -import 'participant.dart'; /// Represents the current participant in the room. Instance of [LocalParticipant] is automatically /// created after successfully connecting to a [Room] and will be accessible from [Room.localParticipant]. diff --git a/test/core/data_stream_test.dart b/test/core/data_stream_test.dart index 4ff148d71..1873a8569 100644 --- a/test/core/data_stream_test.dart +++ b/test/core/data_stream_test.dart @@ -22,8 +22,8 @@ import 'dart:math'; import 'dart:typed_data'; import 'package:flutter_test/flutter_test.dart'; -import 'package:livekit_client/livekit_client.dart'; +import 'package:livekit_client/livekit_client.dart'; import '../mock/e2e_container.dart'; void main() { From b64701790bc4e3e22e0a3e79e08c14eff74eac6a Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Mon, 27 Oct 2025 11:55:10 +0100 Subject: [PATCH 14/16] chore: reformat --- lib/src/core/room.dart | 12 +- lib/src/participant/local.dart | 8 +- lib/src/participant/remote.dart | 3 +- .../proto/google/protobuf/timestamp.pb.dart | 18 +- lib/src/proto/livekit_metrics.pb.dart | 143 +- lib/src/proto/livekit_metrics.pbenum.dart | 103 +- lib/src/proto/livekit_metrics.pbjson.dart | 170 +- lib/src/proto/livekit_models.pb.dart | 1269 +++++-------- lib/src/proto/livekit_models.pbenum.dart | 402 ++--- lib/src/proto/livekit_models.pbjson.dart | 1600 +++++------------ lib/src/proto/livekit_rtc.pb.dart | 1417 +++++---------- lib/src/proto/livekit_rtc.pbenum.dart | 84 +- lib/src/proto/livekit_rtc.pbjson.dart | 1343 ++++---------- lib/src/publication/track_publication.dart | 3 +- lib/src/track/local/audio.dart | 3 +- lib/src/track/options.dart | 3 +- lib/src/track/remote/audio.dart | 3 +- lib/src/track/remote/video.dart | 3 +- lib/src/types/data_stream.dart | 3 +- lib/src/widgets/screen_select_dialog.dart | 3 +- test/core/data_stream_test.dart | 92 +- 21 files changed, 2063 insertions(+), 4622 deletions(-) diff --git a/lib/src/core/room.dart b/lib/src/core/room.dart index 1632b7d90..a574a37ac 100644 --- a/lib/src/core/room.dart +++ b/lib/src/core/room.dart @@ -422,8 +422,7 @@ class Room extends DisposableChangeNotifier with EventsEmittable { final bool audioEnabled = audio.enabled == true || audio.track != null; if (audioEnabled) { if (audio.track != null) { - await _localParticipant!.publishAudioTrack( - audio.track as LocalAudioTrack, + await _localParticipant!.publishAudioTrack(audio.track as LocalAudioTrack, publishOptions: roomOptions.defaultAudioPublishOptions); } else { await _localParticipant! @@ -435,8 +434,7 @@ class Room extends DisposableChangeNotifier with EventsEmittable { final bool videoEnabled = video.enabled == true || video.track != null; if (videoEnabled) { if (video.track != null) { - await _localParticipant!.publishVideoTrack( - video.track as LocalVideoTrack, + await _localParticipant!.publishVideoTrack(video.track as LocalVideoTrack, publishOptions: roomOptions.defaultVideoPublishOptions); } else { await _localParticipant! @@ -445,8 +443,7 @@ class Room extends DisposableChangeNotifier with EventsEmittable { } final screen = options.screen; - final bool screenEnabled = - screen.enabled == true || screen.track != null; + final bool screenEnabled = screen.enabled == true || screen.track != null; if (screenEnabled) { if (screen.track != null) { await _localParticipant!.publishVideoTrack(screen.track as LocalVideoTrack, @@ -1270,8 +1267,7 @@ extension DataStreamRoomMethods on Room { version: streamHeader.textHeader.hasVersion() ? streamHeader.textHeader.version : null, generated: streamHeader.textHeader.hasGenerated() ? streamHeader.textHeader.generated : false, operationType: streamHeader.textHeader.hasOperationType() - ? TextStreamOperationType.fromPBType( - streamHeader.textHeader.operationType) + ? TextStreamOperationType.fromPBType(streamHeader.textHeader.operationType) : null, ); diff --git a/lib/src/participant/local.dart b/lib/src/participant/local.dart index bb056e5b2..10fd177dd 100644 --- a/lib/src/participant/local.dart +++ b/lib/src/participant/local.dart @@ -55,13 +55,7 @@ import '../types/rpc.dart'; import '../types/video_dimensions.dart'; import 'participant.dart'; -import '../utils.dart' - show - buildStreamId, - mimeTypeToVideoCodecString, - Utils, - compareVersions, - isSVCCodec; +import '../utils.dart' show buildStreamId, mimeTypeToVideoCodecString, Utils, compareVersions, isSVCCodec; /// Represents the current participant in the room. Instance of [LocalParticipant] is automatically /// created after successfully connecting to a [Room] and will be accessible from [Room.localParticipant]. diff --git a/lib/src/participant/remote.dart b/lib/src/participant/remote.dart index b42b2e2f6..8efdee8e7 100644 --- a/lib/src/participant/remote.dart +++ b/lib/src/participant/remote.dart @@ -192,8 +192,7 @@ class RemoteParticipant extends Participant { final newPubs = {}; for (final trackInfo in info.tracks) { - final RemoteTrackPublication? pub = - getTrackPublicationBySid(trackInfo.sid); + final RemoteTrackPublication? pub = getTrackPublicationBySid(trackInfo.sid); if (pub == null) { final RemoteTrackPublication pub; if (trackInfo.type == lk_models.TrackType.VIDEO) { diff --git a/lib/src/proto/google/protobuf/timestamp.pb.dart b/lib/src/proto/google/protobuf/timestamp.pb.dart index 896559259..04d66d54b 100644 --- a/lib/src/proto/google/protobuf/timestamp.pb.dart +++ b/lib/src/proto/google/protobuf/timestamp.pb.dart @@ -137,14 +137,11 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { factory Timestamp.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Timestamp.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Timestamp.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Timestamp', - package: - const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Timestamp', + package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper) @@ -167,8 +164,7 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { Timestamp createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Timestamp getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Timestamp? _defaultInstance; /// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must @@ -207,7 +203,5 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { } } -const $core.bool _omitFieldNames = - $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = - $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_metrics.pb.dart b/lib/src/proto/livekit_metrics.pb.dart index 196cadad7..2641f394a 100644 --- a/lib/src/proto/livekit_metrics.pb.dart +++ b/lib/src/proto/livekit_metrics.pb.dart @@ -31,8 +31,7 @@ class MetricsBatch extends $pb.GeneratedMessage { }) { final result = create(); if (timestampMs != null) result.timestampMs = timestampMs; - if (normalizedTimestamp != null) - result.normalizedTimestamp = normalizedTimestamp; + if (normalizedTimestamp != null) result.normalizedTimestamp = normalizedTimestamp; if (strData != null) result.strData.addAll(strData); if (timeSeries != null) result.timeSeries.addAll(timeSeries); if (events != null) result.events.addAll(events); @@ -44,31 +43,24 @@ class MetricsBatch extends $pb.GeneratedMessage { factory MetricsBatch.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory MetricsBatch.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory MetricsBatch.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'MetricsBatch', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsBatch', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestampMs') - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', - subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) ..pPS(3, _omitFieldNames ? '' : 'strData') - ..pc( - 4, _omitFieldNames ? '' : 'timeSeries', $pb.PbFieldType.PM, + ..pc(4, _omitFieldNames ? '' : 'timeSeries', $pb.PbFieldType.PM, subBuilder: TimeSeriesMetric.create) - ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, - subBuilder: EventMetric.create) + ..pc(5, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: EventMetric.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricsBatch clone() => MetricsBatch()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricsBatch copyWith(void Function(MetricsBatch) updates) => - super.copyWith((message) => updates(message as MetricsBatch)) - as MetricsBatch; + super.copyWith((message) => updates(message as MetricsBatch)) as MetricsBatch; @$core.override $pb.BuilderInfo get info_ => _i; @@ -77,11 +69,9 @@ class MetricsBatch extends $pb.GeneratedMessage { static MetricsBatch create() => MetricsBatch._(); @$core.override MetricsBatch createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricsBatch getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MetricsBatch getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MetricsBatch? _defaultInstance; @$pb.TagNumber(1) @@ -130,8 +120,7 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { }) { final result = create(); if (label != null) result.label = label; - if (participantIdentity != null) - result.participantIdentity = participantIdentity; + if (participantIdentity != null) result.participantIdentity = participantIdentity; if (trackSid != null) result.trackSid = trackSid; if (samples != null) result.samples.addAll(samples); if (rid != null) result.rid = rid; @@ -147,16 +136,12 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TimeSeriesMetric', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimeSeriesMetric', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OU3) - ..a<$core.int>( - 2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $pb.PbFieldType.OU3) - ..pc(4, _omitFieldNames ? '' : 'samples', $pb.PbFieldType.PM, - subBuilder: MetricSample.create) + ..pc(4, _omitFieldNames ? '' : 'samples', $pb.PbFieldType.PM, subBuilder: MetricSample.create) ..a<$core.int>(5, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -164,8 +149,7 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { TimeSeriesMetric clone() => TimeSeriesMetric()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimeSeriesMetric copyWith(void Function(TimeSeriesMetric) updates) => - super.copyWith((message) => updates(message as TimeSeriesMetric)) - as TimeSeriesMetric; + super.copyWith((message) => updates(message as TimeSeriesMetric)) as TimeSeriesMetric; @$core.override $pb.BuilderInfo get info_ => _i; @@ -174,11 +158,10 @@ class TimeSeriesMetric extends $pb.GeneratedMessage { static TimeSeriesMetric create() => TimeSeriesMetric._(); @$core.override TimeSeriesMetric createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TimeSeriesMetric getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TimeSeriesMetric getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TimeSeriesMetric? _defaultInstance; /// Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index @@ -231,8 +214,7 @@ class MetricSample extends $pb.GeneratedMessage { }) { final result = create(); if (timestampMs != null) result.timestampMs = timestampMs; - if (normalizedTimestamp != null) - result.normalizedTimestamp = normalizedTimestamp; + if (normalizedTimestamp != null) result.normalizedTimestamp = normalizedTimestamp; if (value != null) result.value = value; return result; } @@ -242,17 +224,13 @@ class MetricSample extends $pb.GeneratedMessage { factory MetricSample.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory MetricSample.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory MetricSample.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'MetricSample', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricSample', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestampMs') - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', - subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'normalizedTimestamp', subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) ..hasRequiredFields = false; @@ -260,8 +238,7 @@ class MetricSample extends $pb.GeneratedMessage { MetricSample clone() => MetricSample()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MetricSample copyWith(void Function(MetricSample) updates) => - super.copyWith((message) => updates(message as MetricSample)) - as MetricSample; + super.copyWith((message) => updates(message as MetricSample)) as MetricSample; @$core.override $pb.BuilderInfo get info_ => _i; @@ -270,11 +247,9 @@ class MetricSample extends $pb.GeneratedMessage { static MetricSample create() => MetricSample._(); @$core.override MetricSample createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricSample getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MetricSample getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MetricSample? _defaultInstance; @$pb.TagNumber(1) @@ -321,15 +296,12 @@ class EventMetric extends $pb.GeneratedMessage { }) { final result = create(); if (label != null) result.label = label; - if (participantIdentity != null) - result.participantIdentity = participantIdentity; + if (participantIdentity != null) result.participantIdentity = participantIdentity; if (trackSid != null) result.trackSid = trackSid; if (startTimestampMs != null) result.startTimestampMs = startTimestampMs; if (endTimestampMs != null) result.endTimestampMs = endTimestampMs; - if (normalizedStartTimestamp != null) - result.normalizedStartTimestamp = normalizedStartTimestamp; - if (normalizedEndTimestamp != null) - result.normalizedEndTimestamp = normalizedEndTimestamp; + if (normalizedStartTimestamp != null) result.normalizedStartTimestamp = normalizedStartTimestamp; + if (normalizedEndTimestamp != null) result.normalizedEndTimestamp = normalizedEndTimestamp; if (metadata != null) result.metadata = metadata; if (rid != null) result.rid = rid; return result; @@ -340,24 +312,18 @@ class EventMetric extends $pb.GeneratedMessage { factory EventMetric.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory EventMetric.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory EventMetric.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'EventMetric', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EventMetric', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OU3) - ..a<$core.int>( - 2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'participantIdentity', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'trackSid', $pb.PbFieldType.OU3) ..aInt64(4, _omitFieldNames ? '' : 'startTimestampMs') ..aInt64(5, _omitFieldNames ? '' : 'endTimestampMs') - ..aOM<$0.Timestamp>(6, _omitFieldNames ? '' : 'normalizedStartTimestamp', - subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(7, _omitFieldNames ? '' : 'normalizedEndTimestamp', - subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(6, _omitFieldNames ? '' : 'normalizedStartTimestamp', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(7, _omitFieldNames ? '' : 'normalizedEndTimestamp', subBuilder: $0.Timestamp.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') ..a<$core.int>(9, _omitFieldNames ? '' : 'rid', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -366,8 +332,7 @@ class EventMetric extends $pb.GeneratedMessage { EventMetric clone() => EventMetric()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EventMetric copyWith(void Function(EventMetric) updates) => - super.copyWith((message) => updates(message as EventMetric)) - as EventMetric; + super.copyWith((message) => updates(message as EventMetric)) as EventMetric; @$core.override $pb.BuilderInfo get info_ => _i; @@ -378,8 +343,7 @@ class EventMetric extends $pb.GeneratedMessage { EventMetric createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EventMetric getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static EventMetric getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EventMetric? _defaultInstance; @$pb.TagNumber(1) @@ -475,8 +439,7 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { }) { final result = create(); if (roomId != null) result.roomId = roomId; - if (enableUserDataTraining != null) - result.enableUserDataTraining = enableUserDataTraining; + if (enableUserDataTraining != null) result.enableUserDataTraining = enableUserDataTraining; return result; } @@ -489,22 +452,17 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'MetricsRecordingHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsRecordingHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'roomId') ..aOB(2, _omitFieldNames ? '' : 'enableUserDataTraining') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsRecordingHeader clone() => - MetricsRecordingHeader()..mergeFromMessage(this); + MetricsRecordingHeader clone() => MetricsRecordingHeader()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MetricsRecordingHeader copyWith( - void Function(MetricsRecordingHeader) updates) => - super.copyWith((message) => updates(message as MetricsRecordingHeader)) - as MetricsRecordingHeader; + MetricsRecordingHeader copyWith(void Function(MetricsRecordingHeader) updates) => + super.copyWith((message) => updates(message as MetricsRecordingHeader)) as MetricsRecordingHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -513,11 +471,10 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { static MetricsRecordingHeader create() => MetricsRecordingHeader._(); @$core.override MetricsRecordingHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MetricsRecordingHeader getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MetricsRecordingHeader getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MetricsRecordingHeader? _defaultInstance; @$pb.TagNumber(1) @@ -539,7 +496,5 @@ class MetricsRecordingHeader extends $pb.GeneratedMessage { void clearEnableUserDataTraining() => $_clearField(2); } -const $core.bool _omitFieldNames = - $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = - $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_metrics.pbenum.dart b/lib/src/proto/livekit_metrics.pbenum.dart index 946b8468f..536bd1960 100644 --- a/lib/src/proto/livekit_metrics.pbenum.dart +++ b/lib/src/proto/livekit_metrics.pbenum.dart @@ -16,85 +16,42 @@ import 'package:protobuf/protobuf.dart' as $pb; /// index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) class MetricLabel extends $pb.ProtobufEnum { - static const MetricLabel AGENTS_LLM_TTFT = - MetricLabel._(0, _omitEnumNames ? '' : 'AGENTS_LLM_TTFT'); - static const MetricLabel AGENTS_STT_TTFT = - MetricLabel._(1, _omitEnumNames ? '' : 'AGENTS_STT_TTFT'); - static const MetricLabel AGENTS_TTS_TTFB = - MetricLabel._(2, _omitEnumNames ? '' : 'AGENTS_TTS_TTFB'); - static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = MetricLabel._( - 3, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT'); + static const MetricLabel AGENTS_LLM_TTFT = MetricLabel._(0, _omitEnumNames ? '' : 'AGENTS_LLM_TTFT'); + static const MetricLabel AGENTS_STT_TTFT = MetricLabel._(1, _omitEnumNames ? '' : 'AGENTS_STT_TTFT'); + static const MetricLabel AGENTS_TTS_TTFB = MetricLabel._(2, _omitEnumNames ? '' : 'AGENTS_TTS_TTFB'); + static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = + MetricLabel._(3, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT'); static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = - MetricLabel._( - 4, - _omitEnumNames - ? '' - : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION'); - static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = MetricLabel._( - 5, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT'); + MetricLabel._(4, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION'); + static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = + MetricLabel._(5, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT'); static const MetricLabel CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = - MetricLabel._( - 6, - _omitEnumNames - ? '' - : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION'); + MetricLabel._(6, _omitEnumNames ? '' : 'CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = - MetricLabel._( - 7, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES'); + MetricLabel._(7, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = - MetricLabel._( - 8, - _omitEnumNames - ? '' - : 'CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES'); + MetricLabel._(8, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = - MetricLabel._(9, - _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS'); + MetricLabel._(9, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = - MetricLabel._(10, - _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT'); + MetricLabel._(10, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT'); static const MetricLabel CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = - MetricLabel._( - 11, - _omitEnumNames - ? '' - : 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION'); + MetricLabel._(11, _omitEnumNames ? '' : 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION'); static const MetricLabel CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = - MetricLabel._( - 12, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY'); + MetricLabel._(12, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY'); static const MetricLabel CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = - MetricLabel._( - 13, - _omitEnumNames - ? '' - : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT'); - static const MetricLabel - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = - MetricLabel._( - 14, - _omitEnumNames - ? '' - : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH'); - static const MetricLabel - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = MetricLabel._( - 15, - _omitEnumNames - ? '' - : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU'); - static const MetricLabel - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = MetricLabel._( - 16, - _omitEnumNames - ? '' - : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER'); - static const MetricLabel PUBLISHER_RTT = - MetricLabel._(17, _omitEnumNames ? '' : 'PUBLISHER_RTT'); - static const MetricLabel SERVER_MESH_RTT = - MetricLabel._(18, _omitEnumNames ? '' : 'SERVER_MESH_RTT'); - static const MetricLabel SUBSCRIBER_RTT = - MetricLabel._(19, _omitEnumNames ? '' : 'SUBSCRIBER_RTT'); - static const MetricLabel METRIC_LABEL_PREDEFINED_MAX_VALUE = MetricLabel._( - 4096, _omitEnumNames ? '' : 'METRIC_LABEL_PREDEFINED_MAX_VALUE'); + MetricLabel._(13, _omitEnumNames ? '' : 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT'); + static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = + MetricLabel._(14, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH'); + static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = + MetricLabel._(15, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU'); + static const MetricLabel CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = + MetricLabel._(16, _omitEnumNames ? '' : 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER'); + static const MetricLabel PUBLISHER_RTT = MetricLabel._(17, _omitEnumNames ? '' : 'PUBLISHER_RTT'); + static const MetricLabel SERVER_MESH_RTT = MetricLabel._(18, _omitEnumNames ? '' : 'SERVER_MESH_RTT'); + static const MetricLabel SUBSCRIBER_RTT = MetricLabel._(19, _omitEnumNames ? '' : 'SUBSCRIBER_RTT'); + static const MetricLabel METRIC_LABEL_PREDEFINED_MAX_VALUE = + MetricLabel._(4096, _omitEnumNames ? '' : 'METRIC_LABEL_PREDEFINED_MAX_VALUE'); static const $core.List values = [ AGENTS_LLM_TTFT, @@ -120,12 +77,10 @@ class MetricLabel extends $pb.ProtobufEnum { METRIC_LABEL_PREDEFINED_MAX_VALUE, ]; - static final $core.Map<$core.int, MetricLabel> _byValue = - $pb.ProtobufEnum.initByValue(values); + static final $core.Map<$core.int, MetricLabel> _byValue = $pb.ProtobufEnum.initByValue(values); static MetricLabel? valueOf($core.int value) => _byValue[value]; const MetricLabel._(super.value, super.name); } -const $core.bool _omitEnumNames = - $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_metrics.pbjson.dart b/lib/src/proto/livekit_metrics.pbjson.dart index 58db1fa01..e10d725eb 100644 --- a/lib/src/proto/livekit_metrics.pbjson.dart +++ b/lib/src/proto/livekit_metrics.pbjson.dart @@ -32,10 +32,7 @@ const MetricLabel$json = { {'1': 'CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION', '2': 11}, {'1': 'CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY', '2': 12}, {'1': 'CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT', '2': 13}, - { - '1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH', - '2': 14 - }, + {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH', '2': 14}, {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU', '2': 15}, {'1': 'CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER', '2': 16}, {'1': 'PUBLISHER_RTT', '2': 17}, @@ -46,24 +43,24 @@ const MetricLabel$json = { }; /// Descriptor for `MetricLabel`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List metricLabelDescriptor = $convert.base64Decode( - 'CgtNZXRyaWNMYWJlbBITCg9BR0VOVFNfTExNX1RURlQQABITCg9BR0VOVFNfU1RUX1RURlQQAR' - 'ITCg9BR0VOVFNfVFRTX1RURkIQAhIoCiRDTElFTlRfVklERU9fU1VCU0NSSUJFUl9GUkVFWkVf' - 'Q09VTlQQAxIxCi1DTElFTlRfVklERU9fU1VCU0NSSUJFUl9UT1RBTF9GUkVFWkVfRFVSQVRJT0' - '4QBBInCiNDTElFTlRfVklERU9fU1VCU0NSSUJFUl9QQVVTRV9DT1VOVBAFEjEKLUNMSUVOVF9W' - 'SURFT19TVUJTQ1JJQkVSX1RPVEFMX1BBVVNFU19EVVJBVElPThAGEi0KKUNMSUVOVF9BVURJT1' - '9TVUJTQ1JJQkVSX0NPTkNFQUxFRF9TQU1QTEVTEAcSNAowQ0xJRU5UX0FVRElPX1NVQlNDUklC' - 'RVJfU0lMRU5UX0NPTkNFQUxFRF9TQU1QTEVTEAgSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRV' - 'JfQ09OQ0VBTE1FTlRfRVZFTlRTEAkSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfSU5URVJS' - 'VVBUSU9OX0NPVU5UEAoSNwozQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfVE9UQUxfSU5URVJSVV' - 'BUSU9OX0RVUkFUSU9OEAsSKQolQ0xJRU5UX1NVQlNDUklCRVJfSklUVEVSX0JVRkZFUl9ERUxB' - 'WRAMEjEKLUNMSUVOVF9TVUJTQ1JJQkVSX0pJVFRFUl9CVUZGRVJfRU1JVFRFRF9DT1VOVBANEk' - 'AKPENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0RVUkFUSU9OX0JB' - 'TkRXSURUSBAOEjoKNkNMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0' - 'RVUkFUSU9OX0NQVRAPEjwKOENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFU' - 'SU9OX0RVUkFUSU9OX09USEVSEBASEQoNUFVCTElTSEVSX1JUVBAREhMKD1NFUlZFUl9NRVNIX1' - 'JUVBASEhIKDlNVQlNDUklCRVJfUlRUEBMSJgohTUVUUklDX0xBQkVMX1BSRURFRklORURfTUFY' - 'X1ZBTFVFEIAg'); +final $typed_data.Uint8List metricLabelDescriptor = + $convert.base64Decode('CgtNZXRyaWNMYWJlbBITCg9BR0VOVFNfTExNX1RURlQQABITCg9BR0VOVFNfU1RUX1RURlQQAR' + 'ITCg9BR0VOVFNfVFRTX1RURkIQAhIoCiRDTElFTlRfVklERU9fU1VCU0NSSUJFUl9GUkVFWkVf' + 'Q09VTlQQAxIxCi1DTElFTlRfVklERU9fU1VCU0NSSUJFUl9UT1RBTF9GUkVFWkVfRFVSQVRJT0' + '4QBBInCiNDTElFTlRfVklERU9fU1VCU0NSSUJFUl9QQVVTRV9DT1VOVBAFEjEKLUNMSUVOVF9W' + 'SURFT19TVUJTQ1JJQkVSX1RPVEFMX1BBVVNFU19EVVJBVElPThAGEi0KKUNMSUVOVF9BVURJT1' + '9TVUJTQ1JJQkVSX0NPTkNFQUxFRF9TQU1QTEVTEAcSNAowQ0xJRU5UX0FVRElPX1NVQlNDUklC' + 'RVJfU0lMRU5UX0NPTkNFQUxFRF9TQU1QTEVTEAgSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRV' + 'JfQ09OQ0VBTE1FTlRfRVZFTlRTEAkSLgoqQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfSU5URVJS' + 'VVBUSU9OX0NPVU5UEAoSNwozQ0xJRU5UX0FVRElPX1NVQlNDUklCRVJfVE9UQUxfSU5URVJSVV' + 'BUSU9OX0RVUkFUSU9OEAsSKQolQ0xJRU5UX1NVQlNDUklCRVJfSklUVEVSX0JVRkZFUl9ERUxB' + 'WRAMEjEKLUNMSUVOVF9TVUJTQ1JJQkVSX0pJVFRFUl9CVUZGRVJfRU1JVFRFRF9DT1VOVBANEk' + 'AKPENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0RVUkFUSU9OX0JB' + 'TkRXSURUSBAOEjoKNkNMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFUSU9OX0' + 'RVUkFUSU9OX0NQVRAPEjwKOENMSUVOVF9WSURFT19QVUJMSVNIRVJfUVVBTElUWV9MSU1JVEFU' + 'SU9OX0RVUkFUSU9OX09USEVSEBASEQoNUFVCTElTSEVSX1JUVBAREhMKD1NFUlZFUl9NRVNIX1' + 'JUVBASEhIKDlNVQlNDUklCRVJfUlRUEBMSJgohTUVUUklDX0xBQkVMX1BSRURFRklORURfTUFY' + 'X1ZBTFVFEIAg'); @$core.Deprecated('Use metricsBatchDescriptor instead') const MetricsBatch$json = { @@ -79,64 +76,37 @@ const MetricsBatch$json = { '10': 'normalizedTimestamp' }, {'1': 'str_data', '3': 3, '4': 3, '5': 9, '10': 'strData'}, - { - '1': 'time_series', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.TimeSeriesMetric', - '10': 'timeSeries' - }, - { - '1': 'events', - '3': 5, - '4': 3, - '5': 11, - '6': '.livekit.EventMetric', - '10': 'events' - }, + {'1': 'time_series', '3': 4, '4': 3, '5': 11, '6': '.livekit.TimeSeriesMetric', '10': 'timeSeries'}, + {'1': 'events', '3': 5, '4': 3, '5': 11, '6': '.livekit.EventMetric', '10': 'events'}, ], }; /// Descriptor for `MetricsBatch`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricsBatchDescriptor = $convert.base64Decode( - 'CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' - 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' - 'cm1hbGl6ZWRUaW1lc3RhbXASGQoIc3RyX2RhdGEYAyADKAlSB3N0ckRhdGESOgoLdGltZV9zZX' - 'JpZXMYBCADKAsyGS5saXZla2l0LlRpbWVTZXJpZXNNZXRyaWNSCnRpbWVTZXJpZXMSLAoGZXZl' - 'bnRzGAUgAygLMhQubGl2ZWtpdC5FdmVudE1ldHJpY1IGZXZlbnRz'); +final $typed_data.Uint8List metricsBatchDescriptor = + $convert.base64Decode('CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' + 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' + 'cm1hbGl6ZWRUaW1lc3RhbXASGQoIc3RyX2RhdGEYAyADKAlSB3N0ckRhdGESOgoLdGltZV9zZX' + 'JpZXMYBCADKAsyGS5saXZla2l0LlRpbWVTZXJpZXNNZXRyaWNSCnRpbWVTZXJpZXMSLAoGZXZl' + 'bnRzGAUgAygLMhQubGl2ZWtpdC5FdmVudE1ldHJpY1IGZXZlbnRz'); @$core.Deprecated('Use timeSeriesMetricDescriptor instead') const TimeSeriesMetric$json = { '1': 'TimeSeriesMetric', '2': [ {'1': 'label', '3': 1, '4': 1, '5': 13, '10': 'label'}, - { - '1': 'participant_identity', - '3': 2, - '4': 1, - '5': 13, - '10': 'participantIdentity' - }, + {'1': 'participant_identity', '3': 2, '4': 1, '5': 13, '10': 'participantIdentity'}, {'1': 'track_sid', '3': 3, '4': 1, '5': 13, '10': 'trackSid'}, - { - '1': 'samples', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.MetricSample', - '10': 'samples' - }, + {'1': 'samples', '3': 4, '4': 3, '5': 11, '6': '.livekit.MetricSample', '10': 'samples'}, {'1': 'rid', '3': 5, '4': 1, '5': 13, '10': 'rid'}, ], }; /// Descriptor for `TimeSeriesMetric`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timeSeriesMetricDescriptor = $convert.base64Decode( - 'ChBUaW1lU2VyaWVzTWV0cmljEhQKBWxhYmVsGAEgASgNUgVsYWJlbBIxChRwYXJ0aWNpcGFudF' - '9pZGVudGl0eRgCIAEoDVITcGFydGljaXBhbnRJZGVudGl0eRIbCgl0cmFja19zaWQYAyABKA1S' - 'CHRyYWNrU2lkEi8KB3NhbXBsZXMYBCADKAsyFS5saXZla2l0Lk1ldHJpY1NhbXBsZVIHc2FtcG' - 'xlcxIQCgNyaWQYBSABKA1SA3JpZA=='); +final $typed_data.Uint8List timeSeriesMetricDescriptor = + $convert.base64Decode('ChBUaW1lU2VyaWVzTWV0cmljEhQKBWxhYmVsGAEgASgNUgVsYWJlbBIxChRwYXJ0aWNpcGFudF' + '9pZGVudGl0eRgCIAEoDVITcGFydGljaXBhbnRJZGVudGl0eRIbCgl0cmFja19zaWQYAyABKA1S' + 'CHRyYWNrU2lkEi8KB3NhbXBsZXMYBCADKAsyFS5saXZla2l0Lk1ldHJpY1NhbXBsZVIHc2FtcG' + 'xlcxIQCgNyaWQYBSABKA1SA3JpZA=='); @$core.Deprecated('Use metricSampleDescriptor instead') const MetricSample$json = { @@ -156,40 +126,20 @@ const MetricSample$json = { }; /// Descriptor for `MetricSample`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricSampleDescriptor = $convert.base64Decode( - 'CgxNZXRyaWNTYW1wbGUSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' - 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' - 'cm1hbGl6ZWRUaW1lc3RhbXASFAoFdmFsdWUYAyABKAJSBXZhbHVl'); +final $typed_data.Uint8List metricSampleDescriptor = + $convert.base64Decode('CgxNZXRyaWNTYW1wbGUSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3' + 'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSE25v' + 'cm1hbGl6ZWRUaW1lc3RhbXASFAoFdmFsdWUYAyABKAJSBXZhbHVl'); @$core.Deprecated('Use eventMetricDescriptor instead') const EventMetric$json = { '1': 'EventMetric', '2': [ {'1': 'label', '3': 1, '4': 1, '5': 13, '10': 'label'}, - { - '1': 'participant_identity', - '3': 2, - '4': 1, - '5': 13, - '10': 'participantIdentity' - }, + {'1': 'participant_identity', '3': 2, '4': 1, '5': 13, '10': 'participantIdentity'}, {'1': 'track_sid', '3': 3, '4': 1, '5': 13, '10': 'trackSid'}, - { - '1': 'start_timestamp_ms', - '3': 4, - '4': 1, - '5': 3, - '10': 'startTimestampMs' - }, - { - '1': 'end_timestamp_ms', - '3': 5, - '4': 1, - '5': 3, - '9': 0, - '10': 'endTimestampMs', - '17': true - }, + {'1': 'start_timestamp_ms', '3': 4, '4': 1, '5': 3, '10': 'startTimestampMs'}, + {'1': 'end_timestamp_ms', '3': 5, '4': 1, '5': 3, '9': 0, '10': 'endTimestampMs', '17': true}, { '1': 'normalized_start_timestamp', '3': 6, @@ -218,31 +168,23 @@ const EventMetric$json = { }; /// Descriptor for `EventMetric`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List eventMetricDescriptor = $convert.base64Decode( - 'CgtFdmVudE1ldHJpYxIUCgVsYWJlbBgBIAEoDVIFbGFiZWwSMQoUcGFydGljaXBhbnRfaWRlbn' - 'RpdHkYAiABKA1SE3BhcnRpY2lwYW50SWRlbnRpdHkSGwoJdHJhY2tfc2lkGAMgASgNUgh0cmFj' - 'a1NpZBIsChJzdGFydF90aW1lc3RhbXBfbXMYBCABKANSEHN0YXJ0VGltZXN0YW1wTXMSLQoQZW' - '5kX3RpbWVzdGFtcF9tcxgFIAEoA0gAUg5lbmRUaW1lc3RhbXBNc4gBARJYChpub3JtYWxpemVk' - 'X3N0YXJ0X3RpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSGG5vcm' - '1hbGl6ZWRTdGFydFRpbWVzdGFtcBJZChhub3JtYWxpemVkX2VuZF90aW1lc3RhbXAYByABKAsy' - 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAFSFm5vcm1hbGl6ZWRFbmRUaW1lc3RhbXCIAQ' - 'ESGgoIbWV0YWRhdGEYCCABKAlSCG1ldGFkYXRhEhAKA3JpZBgJIAEoDVIDcmlkQhMKEV9lbmRf' - 'dGltZXN0YW1wX21zQhsKGV9ub3JtYWxpemVkX2VuZF90aW1lc3RhbXA='); +final $typed_data.Uint8List eventMetricDescriptor = + $convert.base64Decode('CgtFdmVudE1ldHJpYxIUCgVsYWJlbBgBIAEoDVIFbGFiZWwSMQoUcGFydGljaXBhbnRfaWRlbn' + 'RpdHkYAiABKA1SE3BhcnRpY2lwYW50SWRlbnRpdHkSGwoJdHJhY2tfc2lkGAMgASgNUgh0cmFj' + 'a1NpZBIsChJzdGFydF90aW1lc3RhbXBfbXMYBCABKANSEHN0YXJ0VGltZXN0YW1wTXMSLQoQZW' + '5kX3RpbWVzdGFtcF9tcxgFIAEoA0gAUg5lbmRUaW1lc3RhbXBNc4gBARJYChpub3JtYWxpemVk' + 'X3N0YXJ0X3RpbWVzdGFtcBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSGG5vcm' + '1hbGl6ZWRTdGFydFRpbWVzdGFtcBJZChhub3JtYWxpemVkX2VuZF90aW1lc3RhbXAYByABKAsy' + 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAFSFm5vcm1hbGl6ZWRFbmRUaW1lc3RhbXCIAQ' + 'ESGgoIbWV0YWRhdGEYCCABKAlSCG1ldGFkYXRhEhAKA3JpZBgJIAEoDVIDcmlkQhMKEV9lbmRf' + 'dGltZXN0YW1wX21zQhsKGV9ub3JtYWxpemVkX2VuZF90aW1lc3RhbXA='); @$core.Deprecated('Use metricsRecordingHeaderDescriptor instead') const MetricsRecordingHeader$json = { '1': 'MetricsRecordingHeader', '2': [ {'1': 'room_id', '3': 1, '4': 1, '5': 9, '10': 'roomId'}, - { - '1': 'enable_user_data_training', - '3': 2, - '4': 1, - '5': 8, - '9': 0, - '10': 'enableUserDataTraining', - '17': true - }, + {'1': 'enable_user_data_training', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'enableUserDataTraining', '17': true}, ], '8': [ {'1': '_enable_user_data_training'}, @@ -250,7 +192,7 @@ const MetricsRecordingHeader$json = { }; /// Descriptor for `MetricsRecordingHeader`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metricsRecordingHeaderDescriptor = $convert.base64Decode( - 'ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBI+Chllbm' - 'FibGVfdXNlcl9kYXRhX3RyYWluaW5nGAIgASgISABSFmVuYWJsZVVzZXJEYXRhVHJhaW5pbmeI' - 'AQFCHAoaX2VuYWJsZV91c2VyX2RhdGFfdHJhaW5pbmc='); +final $typed_data.Uint8List metricsRecordingHeaderDescriptor = + $convert.base64Decode('ChZNZXRyaWNzUmVjb3JkaW5nSGVhZGVyEhcKB3Jvb21faWQYASABKAlSBnJvb21JZBI+Chllbm' + 'FibGVfdXNlcl9kYXRhX3RyYWluaW5nGAIgASgISABSFmVuYWJsZVVzZXJEYXRhVHJhaW5pbmeI' + 'AQFCHAoaX2VuYWJsZV91c2VyX2RhdGFfdHJhaW5pbmc='); diff --git a/lib/src/proto/livekit_models.pb.dart b/lib/src/proto/livekit_models.pb.dart index 1cfba035f..694e7e8dd 100644 --- a/lib/src/proto/livekit_models.pb.dart +++ b/lib/src/proto/livekit_models.pb.dart @@ -39,14 +39,11 @@ class Pagination extends $pb.GeneratedMessage { factory Pagination.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Pagination.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pagination.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Pagination', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pagination', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'afterId') ..a<$core.int>(2, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.O3) ..hasRequiredFields = false; @@ -66,8 +63,7 @@ class Pagination extends $pb.GeneratedMessage { Pagination createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Pagination getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static Pagination getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Pagination? _defaultInstance; @$pb.TagNumber(1) @@ -103,14 +99,11 @@ class TokenPagination extends $pb.GeneratedMessage { factory TokenPagination.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TokenPagination.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TokenPagination.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TokenPagination', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TokenPagination', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'token') ..hasRequiredFields = false; @@ -118,8 +111,7 @@ class TokenPagination extends $pb.GeneratedMessage { TokenPagination clone() => TokenPagination()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TokenPagination copyWith(void Function(TokenPagination) updates) => - super.copyWith((message) => updates(message as TokenPagination)) - as TokenPagination; + super.copyWith((message) => updates(message as TokenPagination)) as TokenPagination; @$core.override $pb.BuilderInfo get info_ => _i; @@ -128,11 +120,10 @@ class TokenPagination extends $pb.GeneratedMessage { static TokenPagination create() => TokenPagination._(); @$core.override TokenPagination createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TokenPagination getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TokenPagination getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TokenPagination? _defaultInstance; @$pb.TagNumber(1) @@ -166,14 +157,11 @@ class ListUpdate extends $pb.GeneratedMessage { factory ListUpdate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ListUpdate.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ListUpdate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ListUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'set') ..pPS(2, _omitFieldNames ? '' : 'add') ..pPS(3, _omitFieldNames ? '' : 'remove') @@ -195,8 +183,7 @@ class ListUpdate extends $pb.GeneratedMessage { ListUpdate createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ListUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ListUpdate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ListUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -255,45 +242,33 @@ class Room extends $pb.GeneratedMessage { Room._(); - factory Room.fromBuffer($core.List<$core.int> data, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Room.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Room.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Room.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Room', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Room', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'name') - ..a<$core.int>( - 3, _omitFieldNames ? '' : 'emptyTimeout', $pb.PbFieldType.OU3) - ..a<$core.int>( - 4, _omitFieldNames ? '' : 'maxParticipants', $pb.PbFieldType.OU3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'emptyTimeout', $pb.PbFieldType.OU3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'maxParticipants', $pb.PbFieldType.OU3) ..aInt64(5, _omitFieldNames ? '' : 'creationTime') ..aOS(6, _omitFieldNames ? '' : 'turnPassword') - ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, - subBuilder: Codec.create) + ..pc(7, _omitFieldNames ? '' : 'enabledCodecs', $pb.PbFieldType.PM, subBuilder: Codec.create) ..aOS(8, _omitFieldNames ? '' : 'metadata') - ..a<$core.int>( - 9, _omitFieldNames ? '' : 'numParticipants', $pb.PbFieldType.OU3) + ..a<$core.int>(9, _omitFieldNames ? '' : 'numParticipants', $pb.PbFieldType.OU3) ..aOB(10, _omitFieldNames ? '' : 'activeRecording') - ..a<$core.int>( - 11, _omitFieldNames ? '' : 'numPublishers', $pb.PbFieldType.OU3) - ..aOM(13, _omitFieldNames ? '' : 'version', - subBuilder: TimedVersion.create) - ..a<$core.int>( - 14, _omitFieldNames ? '' : 'departureTimeout', $pb.PbFieldType.OU3) + ..a<$core.int>(11, _omitFieldNames ? '' : 'numPublishers', $pb.PbFieldType.OU3) + ..aOM(13, _omitFieldNames ? '' : 'version', subBuilder: TimedVersion.create) + ..a<$core.int>(14, _omitFieldNames ? '' : 'departureTimeout', $pb.PbFieldType.OU3) ..aInt64(15, _omitFieldNames ? '' : 'creationTimeMs') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Room clone() => Room()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Room copyWith(void Function(Room) updates) => - super.copyWith((message) => updates(message as Room)) as Room; + Room copyWith(void Function(Room) updates) => super.copyWith((message) => updates(message as Room)) as Room; @$core.override $pb.BuilderInfo get info_ => _i; @@ -304,8 +279,7 @@ class Room extends $pb.GeneratedMessage { Room createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Room getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Room getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Room? _defaultInstance; @$pb.TagNumber(1) @@ -447,14 +421,11 @@ class Codec extends $pb.GeneratedMessage { factory Codec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Codec.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Codec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Codec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Codec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mime') ..aOS(2, _omitFieldNames ? '' : 'fmtpLine') ..hasRequiredFields = false; @@ -462,8 +433,7 @@ class Codec extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Codec clone() => Codec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Codec copyWith(void Function(Codec) updates) => - super.copyWith((message) => updates(message as Codec)) as Codec; + Codec copyWith(void Function(Codec) updates) => super.copyWith((message) => updates(message as Codec)) as Codec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -474,8 +444,7 @@ class Codec extends $pb.GeneratedMessage { Codec createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Codec getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Codec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Codec? _defaultInstance; @$pb.TagNumber(1) @@ -515,14 +484,11 @@ class PlayoutDelay extends $pb.GeneratedMessage { factory PlayoutDelay.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory PlayoutDelay.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory PlayoutDelay.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'PlayoutDelay', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlayoutDelay', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'enabled') ..a<$core.int>(2, _omitFieldNames ? '' : 'min', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'max', $pb.PbFieldType.OU3) @@ -532,8 +498,7 @@ class PlayoutDelay extends $pb.GeneratedMessage { PlayoutDelay clone() => PlayoutDelay()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') PlayoutDelay copyWith(void Function(PlayoutDelay) updates) => - super.copyWith((message) => updates(message as PlayoutDelay)) - as PlayoutDelay; + super.copyWith((message) => updates(message as PlayoutDelay)) as PlayoutDelay; @$core.override $pb.BuilderInfo get info_ => _i; @@ -542,11 +507,9 @@ class PlayoutDelay extends $pb.GeneratedMessage { static PlayoutDelay create() => PlayoutDelay._(); @$core.override PlayoutDelay createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PlayoutDelay getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static PlayoutDelay getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static PlayoutDelay? _defaultInstance; @$pb.TagNumber(1) @@ -595,12 +558,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { if (canPublishData != null) result.canPublishData = canPublishData; if (hidden != null) result.hidden = hidden; if (recorder != null) result.recorder = recorder; - if (canPublishSources != null) - result.canPublishSources.addAll(canPublishSources); + if (canPublishSources != null) result.canPublishSources.addAll(canPublishSources); if (canUpdateMetadata != null) result.canUpdateMetadata = canUpdateMetadata; if (agent != null) result.agent = agent; - if (canSubscribeMetrics != null) - result.canSubscribeMetrics = canSubscribeMetrics; + if (canSubscribeMetrics != null) result.canSubscribeMetrics = canSubscribeMetrics; return result; } @@ -613,33 +574,25 @@ class ParticipantPermission extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ParticipantPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canSubscribe') ..aOB(2, _omitFieldNames ? '' : 'canPublish') ..aOB(3, _omitFieldNames ? '' : 'canPublishData') ..aOB(7, _omitFieldNames ? '' : 'hidden') ..aOB(8, _omitFieldNames ? '' : 'recorder') - ..pc( - 9, _omitFieldNames ? '' : 'canPublishSources', $pb.PbFieldType.KE, - valueOf: TrackSource.valueOf, - enumValues: TrackSource.values, - defaultEnumValue: TrackSource.UNKNOWN) + ..pc(9, _omitFieldNames ? '' : 'canPublishSources', $pb.PbFieldType.KE, + valueOf: TrackSource.valueOf, enumValues: TrackSource.values, defaultEnumValue: TrackSource.UNKNOWN) ..aOB(10, _omitFieldNames ? '' : 'canUpdateMetadata') ..aOB(11, _omitFieldNames ? '' : 'agent') ..aOB(12, _omitFieldNames ? '' : 'canSubscribeMetrics') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantPermission clone() => - ParticipantPermission()..mergeFromMessage(this); + ParticipantPermission clone() => ParticipantPermission()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ParticipantPermission copyWith( - void Function(ParticipantPermission) updates) => - super.copyWith((message) => updates(message as ParticipantPermission)) - as ParticipantPermission; + ParticipantPermission copyWith(void Function(ParticipantPermission) updates) => + super.copyWith((message) => updates(message as ParticipantPermission)) as ParticipantPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -648,11 +601,10 @@ class ParticipantPermission extends $pb.GeneratedMessage { static ParticipantPermission create() => ParticipantPermission._(); @$core.override ParticipantPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantPermission getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantPermission getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ParticipantPermission? _defaultInstance; /// allow participant to subscribe to other tracks in the room @@ -794,33 +746,26 @@ class ParticipantInfo extends $pb.GeneratedMessage { factory ParticipantInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ParticipantInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ParticipantInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ParticipantInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOS(2, _omitFieldNames ? '' : 'identity') - ..e( - 3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, + ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_State.JOINING, valueOf: ParticipantInfo_State.valueOf, enumValues: ParticipantInfo_State.values) - ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, - subBuilder: TrackInfo.create) + ..pc(4, _omitFieldNames ? '' : 'tracks', $pb.PbFieldType.PM, subBuilder: TrackInfo.create) ..aOS(5, _omitFieldNames ? '' : 'metadata') ..aInt64(6, _omitFieldNames ? '' : 'joinedAt') ..aOS(9, _omitFieldNames ? '' : 'name') ..a<$core.int>(10, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) - ..aOM(11, _omitFieldNames ? '' : 'permission', - subBuilder: ParticipantPermission.create) + ..aOM(11, _omitFieldNames ? '' : 'permission', subBuilder: ParticipantPermission.create) ..aOS(12, _omitFieldNames ? '' : 'region') ..aOB(13, _omitFieldNames ? '' : 'isPublisher') - ..e( - 14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, + ..e(14, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: ParticipantInfo_Kind.STANDARD, valueOf: ParticipantInfo_Kind.valueOf, enumValues: ParticipantInfo_Kind.values) @@ -829,14 +774,12 @@ class ParticipantInfo extends $pb.GeneratedMessage { keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..e( - 16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, + ..e(16, _omitFieldNames ? '' : 'disconnectReason', $pb.PbFieldType.OE, defaultOrMaker: DisconnectReason.UNKNOWN_REASON, valueOf: DisconnectReason.valueOf, enumValues: DisconnectReason.values) ..aInt64(17, _omitFieldNames ? '' : 'joinedAtMs') - ..pc( - 18, _omitFieldNames ? '' : 'kindDetails', $pb.PbFieldType.KE, + ..pc(18, _omitFieldNames ? '' : 'kindDetails', $pb.PbFieldType.KE, valueOf: ParticipantInfo_KindDetail.valueOf, enumValues: ParticipantInfo_KindDetail.values, defaultEnumValue: ParticipantInfo_KindDetail.CLOUD_AGENT) @@ -846,8 +789,7 @@ class ParticipantInfo extends $pb.GeneratedMessage { ParticipantInfo clone() => ParticipantInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantInfo copyWith(void Function(ParticipantInfo) updates) => - super.copyWith((message) => updates(message as ParticipantInfo)) - as ParticipantInfo; + super.copyWith((message) => updates(message as ParticipantInfo)) as ParticipantInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -856,11 +798,10 @@ class ParticipantInfo extends $pb.GeneratedMessage { static ParticipantInfo create() => ParticipantInfo._(); @$core.override ParticipantInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ParticipantInfo? _defaultInstance; @$pb.TagNumber(1) @@ -1004,14 +945,11 @@ class Encryption extends $pb.GeneratedMessage { factory Encryption.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Encryption.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Encryption.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Encryption', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Encryption', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -1029,8 +967,7 @@ class Encryption extends $pb.GeneratedMessage { Encryption createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Encryption getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static Encryption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Encryption? _defaultInstance; } @@ -1062,17 +999,13 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SimulcastCodecInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodecInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mimeType') ..aOS(2, _omitFieldNames ? '' : 'mid') ..aOS(3, _omitFieldNames ? '' : 'cid') - ..pc(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, - subBuilder: VideoLayer.create) - ..e( - 5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, + ..pc(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) + ..e(5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, defaultOrMaker: VideoLayer_Mode.MODE_UNUSED, valueOf: VideoLayer_Mode.valueOf, enumValues: VideoLayer_Mode.values) @@ -1083,8 +1016,7 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { SimulcastCodecInfo clone() => SimulcastCodecInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulcastCodecInfo copyWith(void Function(SimulcastCodecInfo) updates) => - super.copyWith((message) => updates(message as SimulcastCodecInfo)) - as SimulcastCodecInfo; + super.copyWith((message) => updates(message as SimulcastCodecInfo)) as SimulcastCodecInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1093,11 +1025,10 @@ class SimulcastCodecInfo extends $pb.GeneratedMessage { static SimulcastCodecInfo create() => SimulcastCodecInfo._(); @$core.override SimulcastCodecInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulcastCodecInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SimulcastCodecInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SimulcastCodecInfo? _defaultInstance; @$pb.TagNumber(1) @@ -1164,8 +1095,7 @@ class TrackInfo extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') $core.bool? simulcast, @$core.Deprecated('This field is deprecated.') $core.bool? disableDtx, TrackSource? source, - @$core.Deprecated('This field is deprecated.') - $core.Iterable? layers, + @$core.Deprecated('This field is deprecated.') $core.Iterable? layers, $core.String? mimeType, $core.String? mid, $core.Iterable? codecs, @@ -1206,19 +1136,14 @@ class TrackInfo extends $pb.GeneratedMessage { factory TrackInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TrackInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, - defaultOrMaker: TrackType.AUDIO, - valueOf: TrackType.valueOf, - enumValues: TrackType.values) + defaultOrMaker: TrackType.AUDIO, valueOf: TrackType.valueOf, enumValues: TrackType.values) ..aOS(3, _omitFieldNames ? '' : 'name') ..aOB(4, _omitFieldNames ? '' : 'muted') ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) @@ -1226,33 +1151,23 @@ class TrackInfo extends $pb.GeneratedMessage { ..aOB(7, _omitFieldNames ? '' : 'simulcast') ..aOB(8, _omitFieldNames ? '' : 'disableDtx') ..e(9, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, - defaultOrMaker: TrackSource.UNKNOWN, - valueOf: TrackSource.valueOf, - enumValues: TrackSource.values) - ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, - subBuilder: VideoLayer.create) + defaultOrMaker: TrackSource.UNKNOWN, valueOf: TrackSource.valueOf, enumValues: TrackSource.values) + ..pc(10, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: VideoLayer.create) ..aOS(11, _omitFieldNames ? '' : 'mimeType') ..aOS(12, _omitFieldNames ? '' : 'mid') - ..pc( - 13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, + ..pc(13, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: SimulcastCodecInfo.create) ..aOB(14, _omitFieldNames ? '' : 'stereo') ..aOB(15, _omitFieldNames ? '' : 'disableRed') - ..e( - 16, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, - valueOf: Encryption_Type.valueOf, - enumValues: Encryption_Type.values) + ..e(16, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) ..aOS(17, _omitFieldNames ? '' : 'stream') - ..aOM(18, _omitFieldNames ? '' : 'version', - subBuilder: TimedVersion.create) - ..pc( - 19, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, + ..aOM(18, _omitFieldNames ? '' : 'version', subBuilder: TimedVersion.create) + ..pc(19, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, valueOf: AudioTrackFeature.valueOf, enumValues: AudioTrackFeature.values, defaultEnumValue: AudioTrackFeature.TF_STEREO) - ..e( - 20, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, + ..e(20, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, defaultOrMaker: BackupCodecPolicy.PREFER_REGRESSION, valueOf: BackupCodecPolicy.valueOf, enumValues: BackupCodecPolicy.values) @@ -1273,8 +1188,7 @@ class TrackInfo extends $pb.GeneratedMessage { TrackInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackInfo getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TrackInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrackInfo? _defaultInstance; @$pb.TagNumber(1) @@ -1498,18 +1412,13 @@ class VideoLayer extends $pb.GeneratedMessage { factory VideoLayer.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory VideoLayer.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory VideoLayer.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'VideoLayer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VideoLayer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: VideoQuality.LOW, - valueOf: VideoQuality.valueOf, - enumValues: VideoQuality.values) + defaultOrMaker: VideoQuality.LOW, valueOf: VideoQuality.valueOf, enumValues: VideoQuality.values) ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OU3) @@ -1533,8 +1442,7 @@ class VideoLayer extends $pb.GeneratedMessage { VideoLayer createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VideoLayer getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static VideoLayer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VideoLayer? _defaultInstance; /// for tracks with a single layer, this should be HIGH @@ -1646,10 +1554,8 @@ class DataPacket extends $pb.GeneratedMessage { if (kind != null) result.kind = kind; if (user != null) result.user = user; if (speaker != null) result.speaker = speaker; - if (participantIdentity != null) - result.participantIdentity = participantIdentity; - if (destinationIdentities != null) - result.destinationIdentities.addAll(destinationIdentities); + if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (destinationIdentities != null) result.destinationIdentities.addAll(destinationIdentities); if (sipDtmf != null) result.sipDtmf = sipDtmf; if (transcription != null) result.transcription = transcription; if (metrics != null) result.metrics = metrics; @@ -1671,8 +1577,7 @@ class DataPacket extends $pb.GeneratedMessage { factory DataPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataPacket.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static const $core.Map<$core.int, DataPacket_Value> _DataPacket_ValueByTag = { @@ -1691,45 +1596,28 @@ class DataPacket extends $pb.GeneratedMessage { 18: DataPacket_Value.encryptedPacket, 0: DataPacket_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18]) ..e(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, - defaultOrMaker: DataPacket_Kind.RELIABLE, - valueOf: DataPacket_Kind.valueOf, - enumValues: DataPacket_Kind.values) - ..aOM(2, _omitFieldNames ? '' : 'user', - subBuilder: UserPacket.create) - ..aOM(3, _omitFieldNames ? '' : 'speaker', - subBuilder: ActiveSpeakerUpdate.create) + defaultOrMaker: DataPacket_Kind.RELIABLE, valueOf: DataPacket_Kind.valueOf, enumValues: DataPacket_Kind.values) + ..aOM(2, _omitFieldNames ? '' : 'user', subBuilder: UserPacket.create) + ..aOM(3, _omitFieldNames ? '' : 'speaker', subBuilder: ActiveSpeakerUpdate.create) ..aOS(4, _omitFieldNames ? '' : 'participantIdentity') ..pPS(5, _omitFieldNames ? '' : 'destinationIdentities') - ..aOM(6, _omitFieldNames ? '' : 'sipDtmf', - subBuilder: SipDTMF.create) - ..aOM(7, _omitFieldNames ? '' : 'transcription', - subBuilder: Transcription.create) - ..aOM<$1.MetricsBatch>(8, _omitFieldNames ? '' : 'metrics', - subBuilder: $1.MetricsBatch.create) - ..aOM(9, _omitFieldNames ? '' : 'chatMessage', - subBuilder: ChatMessage.create) - ..aOM(10, _omitFieldNames ? '' : 'rpcRequest', - subBuilder: RpcRequest.create) - ..aOM(11, _omitFieldNames ? '' : 'rpcAck', - subBuilder: RpcAck.create) - ..aOM(12, _omitFieldNames ? '' : 'rpcResponse', - subBuilder: RpcResponse.create) - ..aOM(13, _omitFieldNames ? '' : 'streamHeader', - subBuilder: DataStream_Header.create) - ..aOM(14, _omitFieldNames ? '' : 'streamChunk', - subBuilder: DataStream_Chunk.create) - ..aOM(15, _omitFieldNames ? '' : 'streamTrailer', - subBuilder: DataStream_Trailer.create) + ..aOM(6, _omitFieldNames ? '' : 'sipDtmf', subBuilder: SipDTMF.create) + ..aOM(7, _omitFieldNames ? '' : 'transcription', subBuilder: Transcription.create) + ..aOM<$1.MetricsBatch>(8, _omitFieldNames ? '' : 'metrics', subBuilder: $1.MetricsBatch.create) + ..aOM(9, _omitFieldNames ? '' : 'chatMessage', subBuilder: ChatMessage.create) + ..aOM(10, _omitFieldNames ? '' : 'rpcRequest', subBuilder: RpcRequest.create) + ..aOM(11, _omitFieldNames ? '' : 'rpcAck', subBuilder: RpcAck.create) + ..aOM(12, _omitFieldNames ? '' : 'rpcResponse', subBuilder: RpcResponse.create) + ..aOM(13, _omitFieldNames ? '' : 'streamHeader', subBuilder: DataStream_Header.create) + ..aOM(14, _omitFieldNames ? '' : 'streamChunk', subBuilder: DataStream_Chunk.create) + ..aOM(15, _omitFieldNames ? '' : 'streamTrailer', subBuilder: DataStream_Trailer.create) ..a<$core.int>(16, _omitFieldNames ? '' : 'sequence', $pb.PbFieldType.OU3) ..aOS(17, _omitFieldNames ? '' : 'participantSid') - ..aOM(18, _omitFieldNames ? '' : 'encryptedPacket', - subBuilder: EncryptedPacket.create) + ..aOM(18, _omitFieldNames ? '' : 'encryptedPacket', subBuilder: EncryptedPacket.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -1747,8 +1635,7 @@ class DataPacket extends $pb.GeneratedMessage { DataPacket createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataPacket getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataPacket getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataPacket? _defaultInstance; DataPacket_Value whichValue() => _DataPacket_ValueByTag[$_whichOneof(0)]!; @@ -1970,32 +1857,23 @@ class EncryptedPacket extends $pb.GeneratedMessage { factory EncryptedPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory EncryptedPacket.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory EncryptedPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'EncryptedPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..e( - 1, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, - valueOf: Encryption_Type.valueOf, - enumValues: Encryption_Type.values) - ..a<$core.List<$core.int>>( - 2, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) + ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) ..a<$core.int>(3, _omitFieldNames ? '' : 'keyIndex', $pb.PbFieldType.OU3) - ..a<$core.List<$core.int>>( - 4, _omitFieldNames ? '' : 'encryptedValue', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'encryptedValue', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EncryptedPacket clone() => EncryptedPacket()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') EncryptedPacket copyWith(void Function(EncryptedPacket) updates) => - super.copyWith((message) => updates(message as EncryptedPacket)) - as EncryptedPacket; + super.copyWith((message) => updates(message as EncryptedPacket)) as EncryptedPacket; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2004,11 +1882,10 @@ class EncryptedPacket extends $pb.GeneratedMessage { static EncryptedPacket create() => EncryptedPacket._(); @$core.override EncryptedPacket createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EncryptedPacket getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static EncryptedPacket getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EncryptedPacket? _defaultInstance; @$pb.TagNumber(1) @@ -2092,8 +1969,7 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, EncryptedPacketPayload_Value> - _EncryptedPacketPayload_ValueByTag = { + static const $core.Map<$core.int, EncryptedPacketPayload_Value> _EncryptedPacketPayload_ValueByTag = { 1: EncryptedPacketPayload_Value.user, 3: EncryptedPacketPayload_Value.chatMessage, 4: EncryptedPacketPayload_Value.rpcRequest, @@ -2104,36 +1980,24 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { 9: EncryptedPacketPayload_Value.streamTrailer, 0: EncryptedPacketPayload_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'EncryptedPacketPayload', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPacketPayload', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [1, 3, 4, 5, 6, 7, 8, 9]) - ..aOM(1, _omitFieldNames ? '' : 'user', - subBuilder: UserPacket.create) - ..aOM(3, _omitFieldNames ? '' : 'chatMessage', - subBuilder: ChatMessage.create) - ..aOM(4, _omitFieldNames ? '' : 'rpcRequest', - subBuilder: RpcRequest.create) + ..aOM(1, _omitFieldNames ? '' : 'user', subBuilder: UserPacket.create) + ..aOM(3, _omitFieldNames ? '' : 'chatMessage', subBuilder: ChatMessage.create) + ..aOM(4, _omitFieldNames ? '' : 'rpcRequest', subBuilder: RpcRequest.create) ..aOM(5, _omitFieldNames ? '' : 'rpcAck', subBuilder: RpcAck.create) - ..aOM(6, _omitFieldNames ? '' : 'rpcResponse', - subBuilder: RpcResponse.create) - ..aOM(7, _omitFieldNames ? '' : 'streamHeader', - subBuilder: DataStream_Header.create) - ..aOM(8, _omitFieldNames ? '' : 'streamChunk', - subBuilder: DataStream_Chunk.create) - ..aOM(9, _omitFieldNames ? '' : 'streamTrailer', - subBuilder: DataStream_Trailer.create) + ..aOM(6, _omitFieldNames ? '' : 'rpcResponse', subBuilder: RpcResponse.create) + ..aOM(7, _omitFieldNames ? '' : 'streamHeader', subBuilder: DataStream_Header.create) + ..aOM(8, _omitFieldNames ? '' : 'streamChunk', subBuilder: DataStream_Chunk.create) + ..aOM(9, _omitFieldNames ? '' : 'streamTrailer', subBuilder: DataStream_Trailer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacketPayload clone() => - EncryptedPacketPayload()..mergeFromMessage(this); + EncryptedPacketPayload clone() => EncryptedPacketPayload()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - EncryptedPacketPayload copyWith( - void Function(EncryptedPacketPayload) updates) => - super.copyWith((message) => updates(message as EncryptedPacketPayload)) - as EncryptedPacketPayload; + EncryptedPacketPayload copyWith(void Function(EncryptedPacketPayload) updates) => + super.copyWith((message) => updates(message as EncryptedPacketPayload)) as EncryptedPacketPayload; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2142,15 +2006,13 @@ class EncryptedPacketPayload extends $pb.GeneratedMessage { static EncryptedPacketPayload create() => EncryptedPacketPayload._(); @$core.override EncryptedPacketPayload createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static EncryptedPacketPayload getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static EncryptedPacketPayload getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EncryptedPacketPayload? _defaultInstance; - EncryptedPacketPayload_Value whichValue() => - _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; + EncryptedPacketPayload_Value whichValue() => _EncryptedPacketPayload_ValueByTag[$_whichOneof(0)]!; void clearValue() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -2261,20 +2123,16 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ActiveSpeakerUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, - subBuilder: SpeakerInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActiveSpeakerUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ActiveSpeakerUpdate clone() => ActiveSpeakerUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ActiveSpeakerUpdate copyWith(void Function(ActiveSpeakerUpdate) updates) => - super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) - as ActiveSpeakerUpdate; + super.copyWith((message) => updates(message as ActiveSpeakerUpdate)) as ActiveSpeakerUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2283,11 +2141,10 @@ class ActiveSpeakerUpdate extends $pb.GeneratedMessage { static ActiveSpeakerUpdate create() => ActiveSpeakerUpdate._(); @$core.override ActiveSpeakerUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ActiveSpeakerUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ActiveSpeakerUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ActiveSpeakerUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2312,14 +2169,11 @@ class SpeakerInfo extends $pb.GeneratedMessage { factory SpeakerInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SpeakerInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SpeakerInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SpeakerInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakerInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..a<$core.double>(2, _omitFieldNames ? '' : 'level', $pb.PbFieldType.OF) ..aOB(3, _omitFieldNames ? '' : 'active') @@ -2329,8 +2183,7 @@ class SpeakerInfo extends $pb.GeneratedMessage { SpeakerInfo clone() => SpeakerInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakerInfo copyWith(void Function(SpeakerInfo) updates) => - super.copyWith((message) => updates(message as SpeakerInfo)) - as SpeakerInfo; + super.copyWith((message) => updates(message as SpeakerInfo)) as SpeakerInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2341,8 +2194,7 @@ class SpeakerInfo extends $pb.GeneratedMessage { SpeakerInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SpeakerInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SpeakerInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SpeakerInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2379,13 +2231,10 @@ class UserPacket extends $pb.GeneratedMessage { factory UserPacket({ @$core.Deprecated('This field is deprecated.') $core.String? participantSid, $core.List<$core.int>? payload, - @$core.Deprecated('This field is deprecated.') - $core.Iterable<$core.String>? destinationSids, + @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? destinationSids, $core.String? topic, - @$core.Deprecated('This field is deprecated.') - $core.String? participantIdentity, - @$core.Deprecated('This field is deprecated.') - $core.Iterable<$core.String>? destinationIdentities, + @$core.Deprecated('This field is deprecated.') $core.String? participantIdentity, + @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? destinationIdentities, $core.String? id, $fixnum.Int64? startTime, $fixnum.Int64? endTime, @@ -2396,10 +2245,8 @@ class UserPacket extends $pb.GeneratedMessage { if (payload != null) result.payload = payload; if (destinationSids != null) result.destinationSids.addAll(destinationSids); if (topic != null) result.topic = topic; - if (participantIdentity != null) - result.participantIdentity = participantIdentity; - if (destinationIdentities != null) - result.destinationIdentities.addAll(destinationIdentities); + if (participantIdentity != null) result.participantIdentity = participantIdentity; + if (destinationIdentities != null) result.destinationIdentities.addAll(destinationIdentities); if (id != null) result.id = id; if (startTime != null) result.startTime = startTime; if (endTime != null) result.endTime = endTime; @@ -2412,30 +2259,21 @@ class UserPacket extends $pb.GeneratedMessage { factory UserPacket.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UserPacket.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory UserPacket.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UserPacket', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserPacket', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..a<$core.List<$core.int>>( - 2, _omitFieldNames ? '' : 'payload', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'payload', $pb.PbFieldType.OY) ..pPS(3, _omitFieldNames ? '' : 'destinationSids') ..aOS(4, _omitFieldNames ? '' : 'topic') ..aOS(5, _omitFieldNames ? '' : 'participantIdentity') ..pPS(6, _omitFieldNames ? '' : 'destinationIdentities') ..aOS(8, _omitFieldNames ? '' : 'id') - ..a<$fixnum.Int64>( - 9, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 10, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>( - 11, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>(9, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(10, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -2453,8 +2291,7 @@ class UserPacket extends $pb.GeneratedMessage { UserPacket createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UserPacket getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UserPacket getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UserPacket? _defaultInstance; /// participant ID of user that sent the message @@ -2570,14 +2407,11 @@ class SipDTMF extends $pb.GeneratedMessage { factory SipDTMF.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SipDTMF.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SipDTMF.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SipDTMF', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SipDTMF', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..a<$core.int>(3, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(4, _omitFieldNames ? '' : 'digit') ..hasRequiredFields = false; @@ -2597,8 +2431,7 @@ class SipDTMF extends $pb.GeneratedMessage { SipDTMF createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SipDTMF getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SipDTMF getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SipDTMF? _defaultInstance; @$pb.TagNumber(3) @@ -2627,8 +2460,7 @@ class Transcription extends $pb.GeneratedMessage { $core.Iterable? segments, }) { final result = create(); - if (transcribedParticipantIdentity != null) - result.transcribedParticipantIdentity = transcribedParticipantIdentity; + if (transcribedParticipantIdentity != null) result.transcribedParticipantIdentity = transcribedParticipantIdentity; if (trackId != null) result.trackId = trackId; if (segments != null) result.segments.addAll(segments); return result; @@ -2639,18 +2471,14 @@ class Transcription extends $pb.GeneratedMessage { factory Transcription.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Transcription.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Transcription.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Transcription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transcription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(2, _omitFieldNames ? '' : 'transcribedParticipantIdentity') ..aOS(3, _omitFieldNames ? '' : 'trackId') - ..pc( - 4, _omitFieldNames ? '' : 'segments', $pb.PbFieldType.PM, + ..pc(4, _omitFieldNames ? '' : 'segments', $pb.PbFieldType.PM, subBuilder: TranscriptionSegment.create) ..hasRequiredFields = false; @@ -2658,8 +2486,7 @@ class Transcription extends $pb.GeneratedMessage { Transcription clone() => Transcription()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Transcription copyWith(void Function(Transcription) updates) => - super.copyWith((message) => updates(message as Transcription)) - as Transcription; + super.copyWith((message) => updates(message as Transcription)) as Transcription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2668,19 +2495,16 @@ class Transcription extends $pb.GeneratedMessage { static Transcription create() => Transcription._(); @$core.override Transcription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Transcription getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static Transcription getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Transcription? _defaultInstance; /// Participant that got its speech transcribed @$pb.TagNumber(2) $core.String get transcribedParticipantIdentity => $_getSZ(0); @$pb.TagNumber(2) - set transcribedParticipantIdentity($core.String value) => - $_setString(0, value); + set transcribedParticipantIdentity($core.String value) => $_setString(0, value); @$pb.TagNumber(2) $core.bool hasTranscribedParticipantIdentity() => $_has(0); @$pb.TagNumber(2) @@ -2727,28 +2551,21 @@ class TranscriptionSegment extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TranscriptionSegment', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranscriptionSegment', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'text') - ..a<$fixnum.Int64>( - 3, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'startTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'endTime', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(5, _omitFieldNames ? '' : 'final') ..aOS(6, _omitFieldNames ? '' : 'language') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TranscriptionSegment clone() => - TranscriptionSegment()..mergeFromMessage(this); + TranscriptionSegment clone() => TranscriptionSegment()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TranscriptionSegment copyWith(void Function(TranscriptionSegment) updates) => - super.copyWith((message) => updates(message as TranscriptionSegment)) - as TranscriptionSegment; + super.copyWith((message) => updates(message as TranscriptionSegment)) as TranscriptionSegment; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2757,11 +2574,10 @@ class TranscriptionSegment extends $pb.GeneratedMessage { static TranscriptionSegment create() => TranscriptionSegment._(); @$core.override TranscriptionSegment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TranscriptionSegment getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TranscriptionSegment getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TranscriptionSegment? _defaultInstance; @$pb.TagNumber(1) @@ -2843,14 +2659,11 @@ class ChatMessage extends $pb.GeneratedMessage { factory ChatMessage.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ChatMessage.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ChatMessage.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ChatMessage', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChatMessage', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..aInt64(3, _omitFieldNames ? '' : 'editTimestamp') @@ -2863,8 +2676,7 @@ class ChatMessage extends $pb.GeneratedMessage { ChatMessage clone() => ChatMessage()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ChatMessage copyWith(void Function(ChatMessage) updates) => - super.copyWith((message) => updates(message as ChatMessage)) - as ChatMessage; + super.copyWith((message) => updates(message as ChatMessage)) as ChatMessage; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2875,8 +2687,7 @@ class ChatMessage extends $pb.GeneratedMessage { ChatMessage createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ChatMessage getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ChatMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ChatMessage? _defaultInstance; @$pb.TagNumber(1) @@ -2956,19 +2767,15 @@ class RpcRequest extends $pb.GeneratedMessage { factory RpcRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcRequest.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RpcRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'method') ..aOS(3, _omitFieldNames ? '' : 'payload') - ..a<$core.int>( - 4, _omitFieldNames ? '' : 'responseTimeoutMs', $pb.PbFieldType.OU3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'responseTimeoutMs', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'version', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -2987,8 +2794,7 @@ class RpcRequest extends $pb.GeneratedMessage { RpcRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcRequest? _defaultInstance; @$pb.TagNumber(1) @@ -3051,22 +2857,18 @@ class RpcAck extends $pb.GeneratedMessage { factory RpcAck.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcAck.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcAck.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RpcAck', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcAck', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'requestId') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcAck clone() => RpcAck()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RpcAck copyWith(void Function(RpcAck) updates) => - super.copyWith((message) => updates(message as RpcAck)) as RpcAck; + RpcAck copyWith(void Function(RpcAck) updates) => super.copyWith((message) => updates(message as RpcAck)) as RpcAck; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3077,8 +2879,7 @@ class RpcAck extends $pb.GeneratedMessage { RpcAck createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcAck getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcAck getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcAck? _defaultInstance; @$pb.TagNumber(1) @@ -3111,33 +2912,27 @@ class RpcResponse extends $pb.GeneratedMessage { factory RpcResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcResponse.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RpcResponse_Value> _RpcResponse_ValueByTag = - { + static const $core.Map<$core.int, RpcResponse_Value> _RpcResponse_ValueByTag = { 2: RpcResponse_Value.payload, 3: RpcResponse_Value.error, 0: RpcResponse_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RpcResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [2, 3]) ..aOS(1, _omitFieldNames ? '' : 'requestId') ..aOS(2, _omitFieldNames ? '' : 'payload') - ..aOM(3, _omitFieldNames ? '' : 'error', - subBuilder: RpcError.create) + ..aOM(3, _omitFieldNames ? '' : 'error', subBuilder: RpcError.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcResponse clone() => RpcResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RpcResponse copyWith(void Function(RpcResponse) updates) => - super.copyWith((message) => updates(message as RpcResponse)) - as RpcResponse; + super.copyWith((message) => updates(message as RpcResponse)) as RpcResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3148,8 +2943,7 @@ class RpcResponse extends $pb.GeneratedMessage { RpcResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RpcResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcResponse? _defaultInstance; RpcResponse_Value whichValue() => _RpcResponse_ValueByTag[$_whichOneof(0)]!; @@ -3203,14 +2997,11 @@ class RpcError extends $pb.GeneratedMessage { factory RpcError.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RpcError.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RpcError.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RpcError', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RpcError', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'message') ..aOS(3, _omitFieldNames ? '' : 'data') @@ -3231,8 +3022,7 @@ class RpcError extends $pb.GeneratedMessage { RpcError createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RpcError getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RpcError getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RpcError? _defaultInstance; @$pb.TagNumber(1) @@ -3283,10 +3073,8 @@ class ParticipantTracks extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ParticipantTracks', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantTracks', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..pPS(2, _omitFieldNames ? '' : 'trackSids') ..hasRequiredFields = false; @@ -3295,8 +3083,7 @@ class ParticipantTracks extends $pb.GeneratedMessage { ParticipantTracks clone() => ParticipantTracks()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantTracks copyWith(void Function(ParticipantTracks) updates) => - super.copyWith((message) => updates(message as ParticipantTracks)) - as ParticipantTracks; + super.copyWith((message) => updates(message as ParticipantTracks)) as ParticipantTracks; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3305,11 +3092,10 @@ class ParticipantTracks extends $pb.GeneratedMessage { static ParticipantTracks create() => ParticipantTracks._(); @$core.override ParticipantTracks createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantTracks getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantTracks getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ParticipantTracks? _defaultInstance; /// participant ID of participant to whom the tracks belong @@ -3353,16 +3139,12 @@ class ServerInfo extends $pb.GeneratedMessage { factory ServerInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ServerInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ServerInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ServerInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..e( - 1, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServerInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: ServerInfo_Edition.Standard, valueOf: ServerInfo_Edition.valueOf, enumValues: ServerInfo_Edition.values) @@ -3371,8 +3153,7 @@ class ServerInfo extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'region') ..aOS(5, _omitFieldNames ? '' : 'nodeId') ..aOS(6, _omitFieldNames ? '' : 'debugInfo') - ..a<$core.int>( - 7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) + ..a<$core.int>(7, _omitFieldNames ? '' : 'agentProtocol', $pb.PbFieldType.O3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -3390,8 +3171,7 @@ class ServerInfo extends $pb.GeneratedMessage { ServerInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ServerInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ServerInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ServerInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3494,18 +3274,13 @@ class ClientInfo extends $pb.GeneratedMessage { factory ClientInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ClientInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ClientInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ClientInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'sdk', $pb.PbFieldType.OE, - defaultOrMaker: ClientInfo_SDK.UNKNOWN, - valueOf: ClientInfo_SDK.valueOf, - enumValues: ClientInfo_SDK.values) + defaultOrMaker: ClientInfo_SDK.UNKNOWN, valueOf: ClientInfo_SDK.valueOf, enumValues: ClientInfo_SDK.values) ..aOS(2, _omitFieldNames ? '' : 'version') ..a<$core.int>(3, _omitFieldNames ? '' : 'protocol', $pb.PbFieldType.O3) ..aOS(4, _omitFieldNames ? '' : 'os') @@ -3533,8 +3308,7 @@ class ClientInfo extends $pb.GeneratedMessage { ClientInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ClientInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ClientInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ClientInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3667,23 +3441,16 @@ class ClientConfiguration extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ClientConfiguration', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'video', - subBuilder: VideoConfiguration.create) - ..aOM(2, _omitFieldNames ? '' : 'screen', - subBuilder: VideoConfiguration.create) - ..e( - 3, _omitFieldNames ? '' : 'resumeConnection', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientConfiguration', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'video', subBuilder: VideoConfiguration.create) + ..aOM(2, _omitFieldNames ? '' : 'screen', subBuilder: VideoConfiguration.create) + ..e(3, _omitFieldNames ? '' : 'resumeConnection', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) - ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', - subBuilder: DisabledCodecs.create) - ..e( - 5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, + ..aOM(4, _omitFieldNames ? '' : 'disabledCodecs', subBuilder: DisabledCodecs.create) + ..e(5, _omitFieldNames ? '' : 'forceRelay', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) @@ -3693,8 +3460,7 @@ class ClientConfiguration extends $pb.GeneratedMessage { ClientConfiguration clone() => ClientConfiguration()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ClientConfiguration copyWith(void Function(ClientConfiguration) updates) => - super.copyWith((message) => updates(message as ClientConfiguration)) - as ClientConfiguration; + super.copyWith((message) => updates(message as ClientConfiguration)) as ClientConfiguration; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3703,11 +3469,10 @@ class ClientConfiguration extends $pb.GeneratedMessage { static ClientConfiguration create() => ClientConfiguration._(); @$core.override ClientConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ClientConfiguration getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ClientConfiguration getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ClientConfiguration? _defaultInstance; @$pb.TagNumber(1) @@ -3780,12 +3545,9 @@ class VideoConfiguration extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'VideoConfiguration', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..e( - 1, _omitFieldNames ? '' : 'hardwareEncoder', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VideoConfiguration', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'hardwareEncoder', $pb.PbFieldType.OE, defaultOrMaker: ClientConfigSetting.UNSET, valueOf: ClientConfigSetting.valueOf, enumValues: ClientConfigSetting.values) @@ -3795,8 +3557,7 @@ class VideoConfiguration extends $pb.GeneratedMessage { VideoConfiguration clone() => VideoConfiguration()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VideoConfiguration copyWith(void Function(VideoConfiguration) updates) => - super.copyWith((message) => updates(message as VideoConfiguration)) - as VideoConfiguration; + super.copyWith((message) => updates(message as VideoConfiguration)) as VideoConfiguration; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3805,11 +3566,10 @@ class VideoConfiguration extends $pb.GeneratedMessage { static VideoConfiguration create() => VideoConfiguration._(); @$core.override VideoConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VideoConfiguration getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static VideoConfiguration getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VideoConfiguration? _defaultInstance; @$pb.TagNumber(1) @@ -3838,26 +3598,20 @@ class DisabledCodecs extends $pb.GeneratedMessage { factory DisabledCodecs.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DisabledCodecs.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DisabledCodecs.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DisabledCodecs', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, - subBuilder: Codec.create) - ..pc(2, _omitFieldNames ? '' : 'publish', $pb.PbFieldType.PM, - subBuilder: Codec.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisabledCodecs', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'codecs', $pb.PbFieldType.PM, subBuilder: Codec.create) + ..pc(2, _omitFieldNames ? '' : 'publish', $pb.PbFieldType.PM, subBuilder: Codec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DisabledCodecs clone() => DisabledCodecs()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DisabledCodecs copyWith(void Function(DisabledCodecs) updates) => - super.copyWith((message) => updates(message as DisabledCodecs)) - as DisabledCodecs; + super.copyWith((message) => updates(message as DisabledCodecs)) as DisabledCodecs; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3866,11 +3620,9 @@ class DisabledCodecs extends $pb.GeneratedMessage { static DisabledCodecs create() => DisabledCodecs._(); @$core.override DisabledCodecs createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DisabledCodecs getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DisabledCodecs getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DisabledCodecs? _defaultInstance; /// disabled for both publish and subscribe @@ -3912,27 +3664,19 @@ class RTPDrift extends $pb.GeneratedMessage { factory RTPDrift.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPDrift.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPDrift.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RTPDrift', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', - subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', - subBuilder: $0.Timestamp.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPDrift', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>( - 4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'startTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'endTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'rtpClockTicks', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(7, _omitFieldNames ? '' : 'driftSamples') ..a<$core.double>(8, _omitFieldNames ? '' : 'driftMs', $pb.PbFieldType.OD) @@ -3954,8 +3698,7 @@ class RTPDrift extends $pb.GeneratedMessage { RTPDrift createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPDrift getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPDrift getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTPDrift? _defaultInstance; @$pb.TagNumber(1) @@ -4102,11 +3845,9 @@ class RTPStats extends $pb.GeneratedMessage { if (bitrate != null) result.bitrate = bitrate; if (packetsLost != null) result.packetsLost = packetsLost; if (packetLossRate != null) result.packetLossRate = packetLossRate; - if (packetLossPercentage != null) - result.packetLossPercentage = packetLossPercentage; + if (packetLossPercentage != null) result.packetLossPercentage = packetLossPercentage; if (packetsDuplicate != null) result.packetsDuplicate = packetsDuplicate; - if (packetDuplicateRate != null) - result.packetDuplicateRate = packetDuplicateRate; + if (packetDuplicateRate != null) result.packetDuplicateRate = packetDuplicateRate; if (bytesDuplicate != null) result.bytesDuplicate = bytesDuplicate; if (bitrateDuplicate != null) result.bitrateDuplicate = bitrateDuplicate; if (packetsPadding != null) result.packetsPadding = packetsPadding; @@ -4134,16 +3875,12 @@ class RTPStats extends $pb.GeneratedMessage { if (nackAcks != null) result.nackAcks = nackAcks; if (nackRepeated != null) result.nackRepeated = nackRepeated; if (headerBytes != null) result.headerBytes = headerBytes; - if (headerBytesDuplicate != null) - result.headerBytesDuplicate = headerBytesDuplicate; - if (headerBytesPadding != null) - result.headerBytesPadding = headerBytesPadding; + if (headerBytesDuplicate != null) result.headerBytesDuplicate = headerBytesDuplicate; + if (headerBytesPadding != null) result.headerBytesPadding = headerBytesPadding; if (packetDrift != null) result.packetDrift = packetDrift; if (ntpReportDrift != null) result.ntpReportDrift = ntpReportDrift; - if (rebasedReportDrift != null) - result.rebasedReportDrift = rebasedReportDrift; - if (receivedReportDrift != null) - result.receivedReportDrift = receivedReportDrift; + if (rebasedReportDrift != null) result.rebasedReportDrift = rebasedReportDrift; + if (receivedReportDrift != null) result.receivedReportDrift = receivedReportDrift; return result; } @@ -4152,57 +3889,36 @@ class RTPStats extends $pb.GeneratedMessage { factory RTPStats.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPStats.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPStats.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RTPStats', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', - subBuilder: $0.Timestamp.create) - ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', - subBuilder: $0.Timestamp.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPStats', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $0.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OD) ..a<$core.int>(4, _omitFieldNames ? '' : 'packets', $pb.PbFieldType.OU3) - ..a<$core.double>( - 5, _omitFieldNames ? '' : 'packetRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.double>(5, _omitFieldNames ? '' : 'packetRate', $pb.PbFieldType.OD) + ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$core.double>(7, _omitFieldNames ? '' : 'bitrate', $pb.PbFieldType.OD) ..a<$core.int>(8, _omitFieldNames ? '' : 'packetsLost', $pb.PbFieldType.OU3) - ..a<$core.double>( - 9, _omitFieldNames ? '' : 'packetLossRate', $pb.PbFieldType.OD) - ..a<$core.double>( - 10, _omitFieldNames ? '' : 'packetLossPercentage', $pb.PbFieldType.OF) - ..a<$core.int>( - 11, _omitFieldNames ? '' : 'packetsDuplicate', $pb.PbFieldType.OU3) - ..a<$core.double>( - 12, _omitFieldNames ? '' : 'packetDuplicateRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>( - 13, _omitFieldNames ? '' : 'bytesDuplicate', $pb.PbFieldType.OU6, + ..a<$core.double>(9, _omitFieldNames ? '' : 'packetLossRate', $pb.PbFieldType.OD) + ..a<$core.double>(10, _omitFieldNames ? '' : 'packetLossPercentage', $pb.PbFieldType.OF) + ..a<$core.int>(11, _omitFieldNames ? '' : 'packetsDuplicate', $pb.PbFieldType.OU3) + ..a<$core.double>(12, _omitFieldNames ? '' : 'packetDuplicateRate', $pb.PbFieldType.OD) + ..a<$fixnum.Int64>(13, _omitFieldNames ? '' : 'bytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>( - 14, _omitFieldNames ? '' : 'bitrateDuplicate', $pb.PbFieldType.OD) - ..a<$core.int>( - 15, _omitFieldNames ? '' : 'packetsPadding', $pb.PbFieldType.OU3) - ..a<$core.double>( - 16, _omitFieldNames ? '' : 'packetPaddingRate', $pb.PbFieldType.OD) - ..a<$fixnum.Int64>( - 17, _omitFieldNames ? '' : 'bytesPadding', $pb.PbFieldType.OU6, + ..a<$core.double>(14, _omitFieldNames ? '' : 'bitrateDuplicate', $pb.PbFieldType.OD) + ..a<$core.int>(15, _omitFieldNames ? '' : 'packetsPadding', $pb.PbFieldType.OU3) + ..a<$core.double>(16, _omitFieldNames ? '' : 'packetPaddingRate', $pb.PbFieldType.OD) + ..a<$fixnum.Int64>(17, _omitFieldNames ? '' : 'bytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>( - 18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) - ..a<$core.int>( - 19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) + ..a<$core.double>(18, _omitFieldNames ? '' : 'bitratePadding', $pb.PbFieldType.OD) + ..a<$core.int>(19, _omitFieldNames ? '' : 'packetsOutOfOrder', $pb.PbFieldType.OU3) ..a<$core.int>(20, _omitFieldNames ? '' : 'frames', $pb.PbFieldType.OU3) - ..a<$core.double>( - 21, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OD) - ..a<$core.double>( - 22, _omitFieldNames ? '' : 'jitterCurrent', $pb.PbFieldType.OD) - ..a<$core.double>( - 23, _omitFieldNames ? '' : 'jitterMax', $pb.PbFieldType.OD) + ..a<$core.double>(21, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OD) + ..a<$core.double>(22, _omitFieldNames ? '' : 'jitterCurrent', $pb.PbFieldType.OD) + ..a<$core.double>(23, _omitFieldNames ? '' : 'jitterMax', $pb.PbFieldType.OD) ..m<$core.int, $core.int>(24, _omitFieldNames ? '' : 'gapHistogram', entryClassName: 'RTPStats.GapHistogramEntry', keyFieldType: $pb.PbFieldType.O3, @@ -4211,40 +3927,27 @@ class RTPStats extends $pb.GeneratedMessage { ..a<$core.int>(25, _omitFieldNames ? '' : 'nacks', $pb.PbFieldType.OU3) ..a<$core.int>(26, _omitFieldNames ? '' : 'nackMisses', $pb.PbFieldType.OU3) ..a<$core.int>(27, _omitFieldNames ? '' : 'plis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', - subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(28, _omitFieldNames ? '' : 'lastPli', subBuilder: $0.Timestamp.create) ..a<$core.int>(29, _omitFieldNames ? '' : 'firs', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(30, _omitFieldNames ? '' : 'lastFir', - subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(30, _omitFieldNames ? '' : 'lastFir', subBuilder: $0.Timestamp.create) ..a<$core.int>(31, _omitFieldNames ? '' : 'rttCurrent', $pb.PbFieldType.OU3) ..a<$core.int>(32, _omitFieldNames ? '' : 'rttMax', $pb.PbFieldType.OU3) ..a<$core.int>(33, _omitFieldNames ? '' : 'keyFrames', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(34, _omitFieldNames ? '' : 'lastKeyFrame', - subBuilder: $0.Timestamp.create) - ..a<$core.int>( - 35, _omitFieldNames ? '' : 'layerLockPlis', $pb.PbFieldType.OU3) - ..aOM<$0.Timestamp>(36, _omitFieldNames ? '' : 'lastLayerLockPli', - subBuilder: $0.Timestamp.create) + ..aOM<$0.Timestamp>(34, _omitFieldNames ? '' : 'lastKeyFrame', subBuilder: $0.Timestamp.create) + ..a<$core.int>(35, _omitFieldNames ? '' : 'layerLockPlis', $pb.PbFieldType.OU3) + ..aOM<$0.Timestamp>(36, _omitFieldNames ? '' : 'lastLayerLockPli', subBuilder: $0.Timestamp.create) ..a<$core.int>(37, _omitFieldNames ? '' : 'nackAcks', $pb.PbFieldType.OU3) - ..a<$core.int>( - 38, _omitFieldNames ? '' : 'nackRepeated', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>( - 39, _omitFieldNames ? '' : 'headerBytes', $pb.PbFieldType.OU6, + ..a<$core.int>(38, _omitFieldNames ? '' : 'nackRepeated', $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>(39, _omitFieldNames ? '' : 'headerBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(40, _omitFieldNames ? '' : 'headerBytesDuplicate', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(41, _omitFieldNames ? '' : 'headerBytesPadding', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(44, _omitFieldNames ? '' : 'packetDrift', - subBuilder: RTPDrift.create) - ..aOM(45, _omitFieldNames ? '' : 'ntpReportDrift', - subBuilder: RTPDrift.create) - ..aOM(46, _omitFieldNames ? '' : 'rebasedReportDrift', - subBuilder: RTPDrift.create) - ..aOM(47, _omitFieldNames ? '' : 'receivedReportDrift', - subBuilder: RTPDrift.create) + ..aOM(44, _omitFieldNames ? '' : 'packetDrift', subBuilder: RTPDrift.create) + ..aOM(45, _omitFieldNames ? '' : 'ntpReportDrift', subBuilder: RTPDrift.create) + ..aOM(46, _omitFieldNames ? '' : 'rebasedReportDrift', subBuilder: RTPDrift.create) + ..aOM(47, _omitFieldNames ? '' : 'receivedReportDrift', subBuilder: RTPDrift.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -4262,8 +3965,7 @@ class RTPStats extends $pb.GeneratedMessage { RTPStats createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPStats getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RTPStats getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTPStats? _defaultInstance; @$pb.TagNumber(1) @@ -4716,33 +4418,24 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RTCPSenderReportState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..a<$core.int>( - 1, _omitFieldNames ? '' : 'rtpTimestamp', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>( - 2, _omitFieldNames ? '' : 'rtpTimestampExt', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTCPSenderReportState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'rtpTimestamp', $pb.PbFieldType.OU3) + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'rtpTimestampExt', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 3, _omitFieldNames ? '' : 'ntpTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'ntpTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aInt64(4, _omitFieldNames ? '' : 'at') ..aInt64(5, _omitFieldNames ? '' : 'atAdjusted') ..a<$core.int>(6, _omitFieldNames ? '' : 'packets', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'octets', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'octets', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTCPSenderReportState clone() => - RTCPSenderReportState()..mergeFromMessage(this); + RTCPSenderReportState clone() => RTCPSenderReportState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RTCPSenderReportState copyWith( - void Function(RTCPSenderReportState) updates) => - super.copyWith((message) => updates(message as RTCPSenderReportState)) - as RTCPSenderReportState; + RTCPSenderReportState copyWith(void Function(RTCPSenderReportState) updates) => + super.copyWith((message) => updates(message as RTCPSenderReportState)) as RTCPSenderReportState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4751,11 +4444,10 @@ class RTCPSenderReportState extends $pb.GeneratedMessage { static RTCPSenderReportState create() => RTCPSenderReportState._(); @$core.override RTCPSenderReportState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTCPSenderReportState getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RTCPSenderReportState getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTCPSenderReportState? _defaultInstance; @$pb.TagNumber(1) @@ -4837,16 +4529,13 @@ class RTPForwarderState extends $pb.GeneratedMessage { }) { final result = create(); if (started != null) result.started = started; - if (referenceLayerSpatial != null) - result.referenceLayerSpatial = referenceLayerSpatial; + if (referenceLayerSpatial != null) result.referenceLayerSpatial = referenceLayerSpatial; if (preStartTime != null) result.preStartTime = preStartTime; if (extFirstTimestamp != null) result.extFirstTimestamp = extFirstTimestamp; - if (dummyStartTimestampOffset != null) - result.dummyStartTimestampOffset = dummyStartTimestampOffset; + if (dummyStartTimestampOffset != null) result.dummyStartTimestampOffset = dummyStartTimestampOffset; if (rtpMunger != null) result.rtpMunger = rtpMunger; if (vp8Munger != null) result.vp8Munger = vp8Munger; - if (senderReportState != null) - result.senderReportState.addAll(senderReportState); + if (senderReportState != null) result.senderReportState.addAll(senderReportState); return result; } @@ -4859,32 +4548,23 @@ class RTPForwarderState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RTPForwarderState_CodecMunger> - _RTPForwarderState_CodecMungerByTag = { + static const $core.Map<$core.int, RTPForwarderState_CodecMunger> _RTPForwarderState_CodecMungerByTag = { 7: RTPForwarderState_CodecMunger.vp8Munger, 0: RTPForwarderState_CodecMunger.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RTPForwarderState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPForwarderState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [7]) ..aOB(1, _omitFieldNames ? '' : 'started') - ..a<$core.int>( - 2, _omitFieldNames ? '' : 'referenceLayerSpatial', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'referenceLayerSpatial', $pb.PbFieldType.O3) ..aInt64(3, _omitFieldNames ? '' : 'preStartTime') - ..a<$fixnum.Int64>( - 4, _omitFieldNames ? '' : 'extFirstTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'extFirstTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'dummyStartTimestampOffset', - $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'dummyStartTimestampOffset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM(6, _omitFieldNames ? '' : 'rtpMunger', - subBuilder: RTPMungerState.create) - ..aOM(7, _omitFieldNames ? '' : 'vp8Munger', - subBuilder: VP8MungerState.create) - ..pc( - 8, _omitFieldNames ? '' : 'senderReportState', $pb.PbFieldType.PM, + ..aOM(6, _omitFieldNames ? '' : 'rtpMunger', subBuilder: RTPMungerState.create) + ..aOM(7, _omitFieldNames ? '' : 'vp8Munger', subBuilder: VP8MungerState.create) + ..pc(8, _omitFieldNames ? '' : 'senderReportState', $pb.PbFieldType.PM, subBuilder: RTCPSenderReportState.create) ..hasRequiredFields = false; @@ -4892,8 +4572,7 @@ class RTPForwarderState extends $pb.GeneratedMessage { RTPForwarderState clone() => RTPForwarderState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPForwarderState copyWith(void Function(RTPForwarderState) updates) => - super.copyWith((message) => updates(message as RTPForwarderState)) - as RTPForwarderState; + super.copyWith((message) => updates(message as RTPForwarderState)) as RTPForwarderState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4902,15 +4581,13 @@ class RTPForwarderState extends $pb.GeneratedMessage { static RTPForwarderState create() => RTPForwarderState._(); @$core.override RTPForwarderState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPForwarderState getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RTPForwarderState getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTPForwarderState? _defaultInstance; - RTPForwarderState_CodecMunger whichCodecMunger() => - _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; + RTPForwarderState_CodecMunger whichCodecMunger() => _RTPForwarderState_CodecMungerByTag[$_whichOneof(0)]!; void clearCodecMunger() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4994,13 +4671,10 @@ class RTPMungerState extends $pb.GeneratedMessage { $core.bool? secondLastMarker, }) { final result = create(); - if (extLastSequenceNumber != null) - result.extLastSequenceNumber = extLastSequenceNumber; - if (extSecondLastSequenceNumber != null) - result.extSecondLastSequenceNumber = extSecondLastSequenceNumber; + if (extLastSequenceNumber != null) result.extLastSequenceNumber = extLastSequenceNumber; + if (extSecondLastSequenceNumber != null) result.extSecondLastSequenceNumber = extSecondLastSequenceNumber; if (extLastTimestamp != null) result.extLastTimestamp = extLastTimestamp; - if (extSecondLastTimestamp != null) - result.extSecondLastTimestamp = extSecondLastTimestamp; + if (extSecondLastTimestamp != null) result.extSecondLastTimestamp = extSecondLastTimestamp; if (lastMarker != null) result.lastMarker = lastMarker; if (secondLastMarker != null) result.secondLastMarker = secondLastMarker; return result; @@ -5011,25 +4685,18 @@ class RTPMungerState extends $pb.GeneratedMessage { factory RTPMungerState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RTPMungerState.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RTPMungerState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RTPMungerState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..a<$fixnum.Int64>( - 1, _omitFieldNames ? '' : 'extLastSequenceNumber', $pb.PbFieldType.OU6, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RTPMungerState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'extLastSequenceNumber', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'extSecondLastSequenceNumber', - $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'extSecondLastSequenceNumber', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 3, _omitFieldNames ? '' : 'extLastTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'extLastTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$fixnum.Int64>( - 4, _omitFieldNames ? '' : 'extSecondLastTimestamp', $pb.PbFieldType.OU6, + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'extSecondLastTimestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(5, _omitFieldNames ? '' : 'lastMarker') ..aOB(6, _omitFieldNames ? '' : 'secondLastMarker') @@ -5039,8 +4706,7 @@ class RTPMungerState extends $pb.GeneratedMessage { RTPMungerState clone() => RTPMungerState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RTPMungerState copyWith(void Function(RTPMungerState) updates) => - super.copyWith((message) => updates(message as RTPMungerState)) - as RTPMungerState; + super.copyWith((message) => updates(message as RTPMungerState)) as RTPMungerState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5049,11 +4715,9 @@ class RTPMungerState extends $pb.GeneratedMessage { static RTPMungerState create() => RTPMungerState._(); @$core.override RTPMungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RTPMungerState getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RTPMungerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RTPMungerState? _defaultInstance; @$pb.TagNumber(1) @@ -5137,19 +4801,14 @@ class VP8MungerState extends $pb.GeneratedMessage { factory VP8MungerState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory VP8MungerState.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory VP8MungerState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'VP8MungerState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..a<$core.int>( - 1, _omitFieldNames ? '' : 'extLastPictureId', $pb.PbFieldType.O3) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VP8MungerState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'extLastPictureId', $pb.PbFieldType.O3) ..aOB(2, _omitFieldNames ? '' : 'pictureIdUsed') - ..a<$core.int>( - 3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'lastTl0PicIdx', $pb.PbFieldType.OU3) ..aOB(4, _omitFieldNames ? '' : 'tl0PicIdxUsed') ..aOB(5, _omitFieldNames ? '' : 'tidUsed') ..a<$core.int>(6, _omitFieldNames ? '' : 'lastKeyIdx', $pb.PbFieldType.OU3) @@ -5160,8 +4819,7 @@ class VP8MungerState extends $pb.GeneratedMessage { VP8MungerState clone() => VP8MungerState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') VP8MungerState copyWith(void Function(VP8MungerState) updates) => - super.copyWith((message) => updates(message as VP8MungerState)) - as VP8MungerState; + super.copyWith((message) => updates(message as VP8MungerState)) as VP8MungerState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5170,11 +4828,9 @@ class VP8MungerState extends $pb.GeneratedMessage { static VP8MungerState create() => VP8MungerState._(); @$core.override VP8MungerState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static VP8MungerState getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static VP8MungerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static VP8MungerState? _defaultInstance; @$pb.TagNumber(1) @@ -5257,14 +4913,11 @@ class TimedVersion extends $pb.GeneratedMessage { factory TimedVersion.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TimedVersion.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TimedVersion.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TimedVersion', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimedVersion', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'unixMicro') ..a<$core.int>(2, _omitFieldNames ? '' : 'ticks', $pb.PbFieldType.O3) ..hasRequiredFields = false; @@ -5273,8 +4926,7 @@ class TimedVersion extends $pb.GeneratedMessage { TimedVersion clone() => TimedVersion()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TimedVersion copyWith(void Function(TimedVersion) updates) => - super.copyWith((message) => updates(message as TimedVersion)) - as TimedVersion; + super.copyWith((message) => updates(message as TimedVersion)) as TimedVersion; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5283,11 +4935,9 @@ class TimedVersion extends $pb.GeneratedMessage { static TimedVersion create() => TimedVersion._(); @$core.override TimedVersion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TimedVersion getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TimedVersion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TimedVersion? _defaultInstance; @$pb.TagNumber(1) @@ -5322,8 +4972,7 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { if (operationType != null) result.operationType = operationType; if (version != null) result.version = version; if (replyToStreamId != null) result.replyToStreamId = replyToStreamId; - if (attachedStreamIds != null) - result.attachedStreamIds.addAll(attachedStreamIds); + if (attachedStreamIds != null) result.attachedStreamIds.addAll(attachedStreamIds); if (generated != null) result.generated = generated; return result; } @@ -5337,12 +4986,9 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataStream.TextHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..e( - 1, _omitFieldNames ? '' : 'operationType', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.TextHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'operationType', $pb.PbFieldType.OE, defaultOrMaker: DataStream_OperationType.CREATE, valueOf: DataStream_OperationType.valueOf, enumValues: DataStream_OperationType.values) @@ -5353,13 +4999,10 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader clone() => - DataStream_TextHeader()..mergeFromMessage(this); + DataStream_TextHeader clone() => DataStream_TextHeader()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_TextHeader copyWith( - void Function(DataStream_TextHeader) updates) => - super.copyWith((message) => updates(message as DataStream_TextHeader)) - as DataStream_TextHeader; + DataStream_TextHeader copyWith(void Function(DataStream_TextHeader) updates) => + super.copyWith((message) => updates(message as DataStream_TextHeader)) as DataStream_TextHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5368,11 +5011,10 @@ class DataStream_TextHeader extends $pb.GeneratedMessage { static DataStream_TextHeader create() => DataStream_TextHeader._(); @$core.override DataStream_TextHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_TextHeader getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_TextHeader getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataStream_TextHeader? _defaultInstance; @$pb.TagNumber(1) @@ -5434,21 +5076,16 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataStream.ByteHeader', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.ByteHeader', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_ByteHeader clone() => - DataStream_ByteHeader()..mergeFromMessage(this); + DataStream_ByteHeader clone() => DataStream_ByteHeader()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataStream_ByteHeader copyWith( - void Function(DataStream_ByteHeader) updates) => - super.copyWith((message) => updates(message as DataStream_ByteHeader)) - as DataStream_ByteHeader; + DataStream_ByteHeader copyWith(void Function(DataStream_ByteHeader) updates) => + super.copyWith((message) => updates(message as DataStream_ByteHeader)) as DataStream_ByteHeader; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5457,11 +5094,10 @@ class DataStream_ByteHeader extends $pb.GeneratedMessage { static DataStream_ByteHeader create() => DataStream_ByteHeader._(); @$core.override DataStream_ByteHeader createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_ByteHeader getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_ByteHeader getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataStream_ByteHeader? _defaultInstance; @$pb.TagNumber(1) @@ -5484,8 +5120,7 @@ class DataStream_Header extends $pb.GeneratedMessage { $core.String? topic, $core.String? mimeType, $fixnum.Int64? totalLength, - @$core.Deprecated('This field is deprecated.') - Encryption_Type? encryptionType, + @$core.Deprecated('This field is deprecated.') Encryption_Type? encryptionType, $core.Iterable<$core.MapEntry<$core.String, $core.String>>? attributes, DataStream_TextHeader? textHeader, DataStream_ByteHeader? byteHeader, @@ -5512,46 +5147,35 @@ class DataStream_Header extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, DataStream_Header_ContentHeader> - _DataStream_Header_ContentHeaderByTag = { + static const $core.Map<$core.int, DataStream_Header_ContentHeader> _DataStream_Header_ContentHeaderByTag = { 9: DataStream_Header_ContentHeader.textHeader, 10: DataStream_Header_ContentHeader.byteHeader, 0: DataStream_Header_ContentHeader.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataStream.Header', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Header', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [9, 10]) ..aOS(1, _omitFieldNames ? '' : 'streamId') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..aOS(3, _omitFieldNames ? '' : 'topic') ..aOS(4, _omitFieldNames ? '' : 'mimeType') - ..a<$fixnum.Int64>( - 5, _omitFieldNames ? '' : 'totalLength', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..e( - 7, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, - defaultOrMaker: Encryption_Type.NONE, - valueOf: Encryption_Type.valueOf, - enumValues: Encryption_Type.values) + ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'totalLength', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..e(7, _omitFieldNames ? '' : 'encryptionType', $pb.PbFieldType.OE, + defaultOrMaker: Encryption_Type.NONE, valueOf: Encryption_Type.valueOf, enumValues: Encryption_Type.values) ..m<$core.String, $core.String>(8, _omitFieldNames ? '' : 'attributes', entryClassName: 'DataStream.Header.AttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..aOM(9, _omitFieldNames ? '' : 'textHeader', - subBuilder: DataStream_TextHeader.create) - ..aOM(10, _omitFieldNames ? '' : 'byteHeader', - subBuilder: DataStream_ByteHeader.create) + ..aOM(9, _omitFieldNames ? '' : 'textHeader', subBuilder: DataStream_TextHeader.create) + ..aOM(10, _omitFieldNames ? '' : 'byteHeader', subBuilder: DataStream_ByteHeader.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Header clone() => DataStream_Header()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Header copyWith(void Function(DataStream_Header) updates) => - super.copyWith((message) => updates(message as DataStream_Header)) - as DataStream_Header; + super.copyWith((message) => updates(message as DataStream_Header)) as DataStream_Header; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5560,15 +5184,13 @@ class DataStream_Header extends $pb.GeneratedMessage { static DataStream_Header create() => DataStream_Header._(); @$core.override DataStream_Header createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Header getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Header getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Header? _defaultInstance; - DataStream_Header_ContentHeader whichContentHeader() => - _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; + DataStream_Header_ContentHeader whichContentHeader() => _DataStream_Header_ContentHeaderByTag[$_whichOneof(0)]!; void clearContentHeader() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -5681,27 +5303,20 @@ class DataStream_Chunk extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataStream.Chunk', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Chunk', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'streamId') - ..a<$fixnum.Int64>( - 2, _omitFieldNames ? '' : 'chunkIndex', $pb.PbFieldType.OU6, - defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>( - 3, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'chunkIndex', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY) ..a<$core.int>(4, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3) - ..a<$core.List<$core.int>>( - 5, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'iv', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Chunk clone() => DataStream_Chunk()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Chunk copyWith(void Function(DataStream_Chunk) updates) => - super.copyWith((message) => updates(message as DataStream_Chunk)) - as DataStream_Chunk; + super.copyWith((message) => updates(message as DataStream_Chunk)) as DataStream_Chunk; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5710,11 +5325,10 @@ class DataStream_Chunk extends $pb.GeneratedMessage { static DataStream_Chunk create() => DataStream_Chunk._(); @$core.override DataStream_Chunk createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Chunk getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Chunk getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Chunk? _defaultInstance; @$pb.TagNumber(1) @@ -5789,10 +5403,8 @@ class DataStream_Trailer extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataStream.Trailer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream.Trailer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'streamId') ..aOS(2, _omitFieldNames ? '' : 'reason') ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'attributes', @@ -5806,8 +5418,7 @@ class DataStream_Trailer extends $pb.GeneratedMessage { DataStream_Trailer clone() => DataStream_Trailer()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataStream_Trailer copyWith(void Function(DataStream_Trailer) updates) => - super.copyWith((message) => updates(message as DataStream_Trailer)) - as DataStream_Trailer; + super.copyWith((message) => updates(message as DataStream_Trailer)) as DataStream_Trailer; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5816,11 +5427,10 @@ class DataStream_Trailer extends $pb.GeneratedMessage { static DataStream_Trailer create() => DataStream_Trailer._(); @$core.override DataStream_Trailer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream_Trailer getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataStream_Trailer getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataStream_Trailer? _defaultInstance; @$pb.TagNumber(1) @@ -5853,14 +5463,11 @@ class DataStream extends $pb.GeneratedMessage { factory DataStream.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataStream.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataStream.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataStream', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataStream', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -5878,8 +5485,7 @@ class DataStream extends $pb.GeneratedMessage { DataStream createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataStream getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataStream getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataStream? _defaultInstance; } @@ -5899,14 +5505,11 @@ class WebhookConfig extends $pb.GeneratedMessage { factory WebhookConfig.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory WebhookConfig.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory WebhookConfig.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'WebhookConfig', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WebhookConfig', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'url') ..aOS(2, _omitFieldNames ? '' : 'signingKey') ..hasRequiredFields = false; @@ -5915,8 +5518,7 @@ class WebhookConfig extends $pb.GeneratedMessage { WebhookConfig clone() => WebhookConfig()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WebhookConfig copyWith(void Function(WebhookConfig) updates) => - super.copyWith((message) => updates(message as WebhookConfig)) - as WebhookConfig; + super.copyWith((message) => updates(message as WebhookConfig)) as WebhookConfig; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5925,11 +5527,9 @@ class WebhookConfig extends $pb.GeneratedMessage { static WebhookConfig create() => WebhookConfig._(); @$core.override WebhookConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static WebhookConfig getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static WebhookConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static WebhookConfig? _defaultInstance; @$pb.TagNumber(1) @@ -5971,21 +5571,17 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscribedAudioCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedAudioCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodec clone() => - SubscribedAudioCodec()..mergeFromMessage(this); + SubscribedAudioCodec clone() => SubscribedAudioCodec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedAudioCodec copyWith(void Function(SubscribedAudioCodec) updates) => - super.copyWith((message) => updates(message as SubscribedAudioCodec)) - as SubscribedAudioCodec; + super.copyWith((message) => updates(message as SubscribedAudioCodec)) as SubscribedAudioCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5994,11 +5590,10 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { static SubscribedAudioCodec create() => SubscribedAudioCodec._(); @$core.override SubscribedAudioCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedAudioCodec getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedAudioCodec getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscribedAudioCodec? _defaultInstance; @$pb.TagNumber(1) @@ -6020,7 +5615,5 @@ class SubscribedAudioCodec extends $pb.GeneratedMessage { void clearEnabled() => $_clearField(2); } -const $core.bool _omitFieldNames = - $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = - $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_models.pbenum.dart b/lib/src/proto/livekit_models.pbenum.dart index bbc207c8a..469e1149b 100644 --- a/lib/src/proto/livekit_models.pbenum.dart +++ b/lib/src/proto/livekit_models.pbenum.dart @@ -15,12 +15,10 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class AudioCodec extends $pb.ProtobufEnum { - static const AudioCodec DEFAULT_AC = - AudioCodec._(0, _omitEnumNames ? '' : 'DEFAULT_AC'); + static const AudioCodec DEFAULT_AC = AudioCodec._(0, _omitEnumNames ? '' : 'DEFAULT_AC'); static const AudioCodec OPUS = AudioCodec._(1, _omitEnumNames ? '' : 'OPUS'); static const AudioCodec AAC = AudioCodec._(2, _omitEnumNames ? '' : 'AAC'); - static const AudioCodec AC_MP3 = - AudioCodec._(3, _omitEnumNames ? '' : 'AC_MP3'); + static const AudioCodec AC_MP3 = AudioCodec._(3, _omitEnumNames ? '' : 'AC_MP3'); static const $core.List values = [ DEFAULT_AC, @@ -29,23 +27,17 @@ class AudioCodec extends $pb.ProtobufEnum { AC_MP3, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); - static AudioCodec? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static AudioCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const AudioCodec._(super.value, super.name); } class VideoCodec extends $pb.ProtobufEnum { - static const VideoCodec DEFAULT_VC = - VideoCodec._(0, _omitEnumNames ? '' : 'DEFAULT_VC'); - static const VideoCodec H264_BASELINE = - VideoCodec._(1, _omitEnumNames ? '' : 'H264_BASELINE'); - static const VideoCodec H264_MAIN = - VideoCodec._(2, _omitEnumNames ? '' : 'H264_MAIN'); - static const VideoCodec H264_HIGH = - VideoCodec._(3, _omitEnumNames ? '' : 'H264_HIGH'); + static const VideoCodec DEFAULT_VC = VideoCodec._(0, _omitEnumNames ? '' : 'DEFAULT_VC'); + static const VideoCodec H264_BASELINE = VideoCodec._(1, _omitEnumNames ? '' : 'H264_BASELINE'); + static const VideoCodec H264_MAIN = VideoCodec._(2, _omitEnumNames ? '' : 'H264_MAIN'); + static const VideoCodec H264_HIGH = VideoCodec._(3, _omitEnumNames ? '' : 'H264_HIGH'); static const VideoCodec VP8 = VideoCodec._(4, _omitEnumNames ? '' : 'VP8'); static const $core.List values = [ @@ -56,29 +48,23 @@ class VideoCodec extends $pb.ProtobufEnum { VP8, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 4); - static VideoCodec? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); + static VideoCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoCodec._(super.value, super.name); } class ImageCodec extends $pb.ProtobufEnum { - static const ImageCodec IC_DEFAULT = - ImageCodec._(0, _omitEnumNames ? '' : 'IC_DEFAULT'); - static const ImageCodec IC_JPEG = - ImageCodec._(1, _omitEnumNames ? '' : 'IC_JPEG'); + static const ImageCodec IC_DEFAULT = ImageCodec._(0, _omitEnumNames ? '' : 'IC_DEFAULT'); + static const ImageCodec IC_JPEG = ImageCodec._(1, _omitEnumNames ? '' : 'IC_JPEG'); static const $core.List values = [ IC_DEFAULT, IC_JPEG, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); - static ImageCodec? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static ImageCodec? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const ImageCodec._(super.value, super.name); } @@ -87,16 +73,13 @@ class ImageCodec extends $pb.ProtobufEnum { class BackupCodecPolicy extends $pb.ProtobufEnum { /// default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec, /// the sfu will try to regress codec if possible but not assured. - static const BackupCodecPolicy PREFER_REGRESSION = - BackupCodecPolicy._(0, _omitEnumNames ? '' : 'PREFER_REGRESSION'); + static const BackupCodecPolicy PREFER_REGRESSION = BackupCodecPolicy._(0, _omitEnumNames ? '' : 'PREFER_REGRESSION'); /// encoding/send the primary and backup codec simultaneously - static const BackupCodecPolicy SIMULCAST = - BackupCodecPolicy._(1, _omitEnumNames ? '' : 'SIMULCAST'); + static const BackupCodecPolicy SIMULCAST = BackupCodecPolicy._(1, _omitEnumNames ? '' : 'SIMULCAST'); /// force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power - static const BackupCodecPolicy REGRESSION = - BackupCodecPolicy._(2, _omitEnumNames ? '' : 'REGRESSION'); + static const BackupCodecPolicy REGRESSION = BackupCodecPolicy._(2, _omitEnumNames ? '' : 'REGRESSION'); static const $core.List values = [ PREFER_REGRESSION, @@ -104,10 +87,8 @@ class BackupCodecPolicy extends $pb.ProtobufEnum { REGRESSION, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - static BackupCodecPolicy? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static BackupCodecPolicy? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const BackupCodecPolicy._(super.value, super.name); } @@ -123,25 +104,18 @@ class TrackType extends $pb.ProtobufEnum { DATA, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - static TrackType? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static TrackType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const TrackType._(super.value, super.name); } class TrackSource extends $pb.ProtobufEnum { - static const TrackSource UNKNOWN = - TrackSource._(0, _omitEnumNames ? '' : 'UNKNOWN'); - static const TrackSource CAMERA = - TrackSource._(1, _omitEnumNames ? '' : 'CAMERA'); - static const TrackSource MICROPHONE = - TrackSource._(2, _omitEnumNames ? '' : 'MICROPHONE'); - static const TrackSource SCREEN_SHARE = - TrackSource._(3, _omitEnumNames ? '' : 'SCREEN_SHARE'); - static const TrackSource SCREEN_SHARE_AUDIO = - TrackSource._(4, _omitEnumNames ? '' : 'SCREEN_SHARE_AUDIO'); + static const TrackSource UNKNOWN = TrackSource._(0, _omitEnumNames ? '' : 'UNKNOWN'); + static const TrackSource CAMERA = TrackSource._(1, _omitEnumNames ? '' : 'CAMERA'); + static const TrackSource MICROPHONE = TrackSource._(2, _omitEnumNames ? '' : 'MICROPHONE'); + static const TrackSource SCREEN_SHARE = TrackSource._(3, _omitEnumNames ? '' : 'SCREEN_SHARE'); + static const TrackSource SCREEN_SHARE_AUDIO = TrackSource._(4, _omitEnumNames ? '' : 'SCREEN_SHARE_AUDIO'); static const $core.List values = [ UNKNOWN, @@ -151,23 +125,17 @@ class TrackSource extends $pb.ProtobufEnum { SCREEN_SHARE_AUDIO, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 4); - static TrackSource? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); + static TrackSource? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const TrackSource._(super.value, super.name); } class VideoQuality extends $pb.ProtobufEnum { - static const VideoQuality LOW = - VideoQuality._(0, _omitEnumNames ? '' : 'LOW'); - static const VideoQuality MEDIUM = - VideoQuality._(1, _omitEnumNames ? '' : 'MEDIUM'); - static const VideoQuality HIGH = - VideoQuality._(2, _omitEnumNames ? '' : 'HIGH'); - static const VideoQuality OFF = - VideoQuality._(3, _omitEnumNames ? '' : 'OFF'); + static const VideoQuality LOW = VideoQuality._(0, _omitEnumNames ? '' : 'LOW'); + static const VideoQuality MEDIUM = VideoQuality._(1, _omitEnumNames ? '' : 'MEDIUM'); + static const VideoQuality HIGH = VideoQuality._(2, _omitEnumNames ? '' : 'HIGH'); + static const VideoQuality OFF = VideoQuality._(3, _omitEnumNames ? '' : 'OFF'); static const $core.List values = [ LOW, @@ -176,23 +144,17 @@ class VideoQuality extends $pb.ProtobufEnum { OFF, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); - static VideoQuality? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static VideoQuality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoQuality._(super.value, super.name); } class ConnectionQuality extends $pb.ProtobufEnum { - static const ConnectionQuality POOR = - ConnectionQuality._(0, _omitEnumNames ? '' : 'POOR'); - static const ConnectionQuality GOOD = - ConnectionQuality._(1, _omitEnumNames ? '' : 'GOOD'); - static const ConnectionQuality EXCELLENT = - ConnectionQuality._(2, _omitEnumNames ? '' : 'EXCELLENT'); - static const ConnectionQuality LOST = - ConnectionQuality._(3, _omitEnumNames ? '' : 'LOST'); + static const ConnectionQuality POOR = ConnectionQuality._(0, _omitEnumNames ? '' : 'POOR'); + static const ConnectionQuality GOOD = ConnectionQuality._(1, _omitEnumNames ? '' : 'GOOD'); + static const ConnectionQuality EXCELLENT = ConnectionQuality._(2, _omitEnumNames ? '' : 'EXCELLENT'); + static const ConnectionQuality LOST = ConnectionQuality._(3, _omitEnumNames ? '' : 'LOST'); static const $core.List values = [ POOR, @@ -201,21 +163,16 @@ class ConnectionQuality extends $pb.ProtobufEnum { LOST, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); - static ConnectionQuality? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static ConnectionQuality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const ConnectionQuality._(super.value, super.name); } class ClientConfigSetting extends $pb.ProtobufEnum { - static const ClientConfigSetting UNSET = - ClientConfigSetting._(0, _omitEnumNames ? '' : 'UNSET'); - static const ClientConfigSetting DISABLED = - ClientConfigSetting._(1, _omitEnumNames ? '' : 'DISABLED'); - static const ClientConfigSetting ENABLED = - ClientConfigSetting._(2, _omitEnumNames ? '' : 'ENABLED'); + static const ClientConfigSetting UNSET = ClientConfigSetting._(0, _omitEnumNames ? '' : 'UNSET'); + static const ClientConfigSetting DISABLED = ClientConfigSetting._(1, _omitEnumNames ? '' : 'DISABLED'); + static const ClientConfigSetting ENABLED = ClientConfigSetting._(2, _omitEnumNames ? '' : 'ENABLED'); static const $core.List values = [ UNSET, @@ -223,8 +180,7 @@ class ClientConfigSetting extends $pb.ProtobufEnum { ENABLED, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); static ClientConfigSetting? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -232,68 +188,53 @@ class ClientConfigSetting extends $pb.ProtobufEnum { } class DisconnectReason extends $pb.ProtobufEnum { - static const DisconnectReason UNKNOWN_REASON = - DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); + static const DisconnectReason UNKNOWN_REASON = DisconnectReason._(0, _omitEnumNames ? '' : 'UNKNOWN_REASON'); /// the client initiated the disconnect - static const DisconnectReason CLIENT_INITIATED = - DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); + static const DisconnectReason CLIENT_INITIATED = DisconnectReason._(1, _omitEnumNames ? '' : 'CLIENT_INITIATED'); /// another participant with the same identity has joined the room - static const DisconnectReason DUPLICATE_IDENTITY = - DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); + static const DisconnectReason DUPLICATE_IDENTITY = DisconnectReason._(2, _omitEnumNames ? '' : 'DUPLICATE_IDENTITY'); /// the server instance is shutting down - static const DisconnectReason SERVER_SHUTDOWN = - DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); + static const DisconnectReason SERVER_SHUTDOWN = DisconnectReason._(3, _omitEnumNames ? '' : 'SERVER_SHUTDOWN'); /// RoomService.RemoveParticipant was called static const DisconnectReason PARTICIPANT_REMOVED = DisconnectReason._(4, _omitEnumNames ? '' : 'PARTICIPANT_REMOVED'); /// RoomService.DeleteRoom was called - static const DisconnectReason ROOM_DELETED = - DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); + static const DisconnectReason ROOM_DELETED = DisconnectReason._(5, _omitEnumNames ? '' : 'ROOM_DELETED'); /// the client is attempting to resume a session, but server is not aware of it - static const DisconnectReason STATE_MISMATCH = - DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); + static const DisconnectReason STATE_MISMATCH = DisconnectReason._(6, _omitEnumNames ? '' : 'STATE_MISMATCH'); /// client was unable to connect fully - static const DisconnectReason JOIN_FAILURE = - DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); + static const DisconnectReason JOIN_FAILURE = DisconnectReason._(7, _omitEnumNames ? '' : 'JOIN_FAILURE'); /// Cloud-only, the server requested Participant to migrate the connection elsewhere - static const DisconnectReason MIGRATION = - DisconnectReason._(8, _omitEnumNames ? '' : 'MIGRATION'); + static const DisconnectReason MIGRATION = DisconnectReason._(8, _omitEnumNames ? '' : 'MIGRATION'); /// the signal websocket was closed unexpectedly - static const DisconnectReason SIGNAL_CLOSE = - DisconnectReason._(9, _omitEnumNames ? '' : 'SIGNAL_CLOSE'); + static const DisconnectReason SIGNAL_CLOSE = DisconnectReason._(9, _omitEnumNames ? '' : 'SIGNAL_CLOSE'); /// the room was closed, due to all Standard and Ingress participants having left - static const DisconnectReason ROOM_CLOSED = - DisconnectReason._(10, _omitEnumNames ? '' : 'ROOM_CLOSED'); + static const DisconnectReason ROOM_CLOSED = DisconnectReason._(10, _omitEnumNames ? '' : 'ROOM_CLOSED'); /// SIP callee did not respond in time - static const DisconnectReason USER_UNAVAILABLE = - DisconnectReason._(11, _omitEnumNames ? '' : 'USER_UNAVAILABLE'); + static const DisconnectReason USER_UNAVAILABLE = DisconnectReason._(11, _omitEnumNames ? '' : 'USER_UNAVAILABLE'); /// SIP callee rejected the call (busy) - static const DisconnectReason USER_REJECTED = - DisconnectReason._(12, _omitEnumNames ? '' : 'USER_REJECTED'); + static const DisconnectReason USER_REJECTED = DisconnectReason._(12, _omitEnumNames ? '' : 'USER_REJECTED'); /// SIP protocol failure or unexpected response - static const DisconnectReason SIP_TRUNK_FAILURE = - DisconnectReason._(13, _omitEnumNames ? '' : 'SIP_TRUNK_FAILURE'); + static const DisconnectReason SIP_TRUNK_FAILURE = DisconnectReason._(13, _omitEnumNames ? '' : 'SIP_TRUNK_FAILURE'); /// server timed out a participant session - static const DisconnectReason CONNECTION_TIMEOUT = - DisconnectReason._(14, _omitEnumNames ? '' : 'CONNECTION_TIMEOUT'); + static const DisconnectReason CONNECTION_TIMEOUT = DisconnectReason._(14, _omitEnumNames ? '' : 'CONNECTION_TIMEOUT'); /// media stream failure or media timeout - static const DisconnectReason MEDIA_FAILURE = - DisconnectReason._(15, _omitEnumNames ? '' : 'MEDIA_FAILURE'); + static const DisconnectReason MEDIA_FAILURE = DisconnectReason._(15, _omitEnumNames ? '' : 'MEDIA_FAILURE'); static const $core.List values = [ UNKNOWN_REASON, @@ -314,25 +255,20 @@ class DisconnectReason extends $pb.ProtobufEnum { MEDIA_FAILURE, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 15); - static DisconnectReason? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 15); + static DisconnectReason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const DisconnectReason._(super.value, super.name); } class ReconnectReason extends $pb.ProtobufEnum { - static const ReconnectReason RR_UNKNOWN = - ReconnectReason._(0, _omitEnumNames ? '' : 'RR_UNKNOWN'); + static const ReconnectReason RR_UNKNOWN = ReconnectReason._(0, _omitEnumNames ? '' : 'RR_UNKNOWN'); static const ReconnectReason RR_SIGNAL_DISCONNECTED = ReconnectReason._(1, _omitEnumNames ? '' : 'RR_SIGNAL_DISCONNECTED'); - static const ReconnectReason RR_PUBLISHER_FAILED = - ReconnectReason._(2, _omitEnumNames ? '' : 'RR_PUBLISHER_FAILED'); + static const ReconnectReason RR_PUBLISHER_FAILED = ReconnectReason._(2, _omitEnumNames ? '' : 'RR_PUBLISHER_FAILED'); static const ReconnectReason RR_SUBSCRIBER_FAILED = ReconnectReason._(3, _omitEnumNames ? '' : 'RR_SUBSCRIBER_FAILED'); - static const ReconnectReason RR_SWITCH_CANDIDATE = - ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); + static const ReconnectReason RR_SWITCH_CANDIDATE = ReconnectReason._(4, _omitEnumNames ? '' : 'RR_SWITCH_CANDIDATE'); static const $core.List values = [ RR_UNKNOWN, @@ -342,21 +278,17 @@ class ReconnectReason extends $pb.ProtobufEnum { RR_SWITCH_CANDIDATE, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 4); - static ReconnectReason? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); + static ReconnectReason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const ReconnectReason._(super.value, super.name); } class SubscriptionError extends $pb.ProtobufEnum { - static const SubscriptionError SE_UNKNOWN = - SubscriptionError._(0, _omitEnumNames ? '' : 'SE_UNKNOWN'); + static const SubscriptionError SE_UNKNOWN = SubscriptionError._(0, _omitEnumNames ? '' : 'SE_UNKNOWN'); static const SubscriptionError SE_CODEC_UNSUPPORTED = SubscriptionError._(1, _omitEnumNames ? '' : 'SE_CODEC_UNSUPPORTED'); - static const SubscriptionError SE_TRACK_NOTFOUND = - SubscriptionError._(2, _omitEnumNames ? '' : 'SE_TRACK_NOTFOUND'); + static const SubscriptionError SE_TRACK_NOTFOUND = SubscriptionError._(2, _omitEnumNames ? '' : 'SE_TRACK_NOTFOUND'); static const $core.List values = [ SE_UNKNOWN, @@ -364,19 +296,15 @@ class SubscriptionError extends $pb.ProtobufEnum { SE_TRACK_NOTFOUND, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - static SubscriptionError? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static SubscriptionError? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const SubscriptionError._(super.value, super.name); } class AudioTrackFeature extends $pb.ProtobufEnum { - static const AudioTrackFeature TF_STEREO = - AudioTrackFeature._(0, _omitEnumNames ? '' : 'TF_STEREO'); - static const AudioTrackFeature TF_NO_DTX = - AudioTrackFeature._(1, _omitEnumNames ? '' : 'TF_NO_DTX'); + static const AudioTrackFeature TF_STEREO = AudioTrackFeature._(0, _omitEnumNames ? '' : 'TF_STEREO'); + static const AudioTrackFeature TF_NO_DTX = AudioTrackFeature._(1, _omitEnumNames ? '' : 'TF_NO_DTX'); static const AudioTrackFeature TF_AUTO_GAIN_CONTROL = AudioTrackFeature._(2, _omitEnumNames ? '' : 'TF_AUTO_GAIN_CONTROL'); static const AudioTrackFeature TF_ECHO_CANCELLATION = @@ -384,8 +312,7 @@ class AudioTrackFeature extends $pb.ProtobufEnum { static const AudioTrackFeature TF_NOISE_SUPPRESSION = AudioTrackFeature._(4, _omitEnumNames ? '' : 'TF_NOISE_SUPPRESSION'); static const AudioTrackFeature TF_ENHANCED_NOISE_CANCELLATION = - AudioTrackFeature._( - 5, _omitEnumNames ? '' : 'TF_ENHANCED_NOISE_CANCELLATION'); + AudioTrackFeature._(5, _omitEnumNames ? '' : 'TF_ENHANCED_NOISE_CANCELLATION'); static const AudioTrackFeature TF_PRECONNECT_BUFFER = AudioTrackFeature._(6, _omitEnumNames ? '' : 'TF_PRECONNECT_BUFFER'); @@ -399,41 +326,33 @@ class AudioTrackFeature extends $pb.ProtobufEnum { TF_PRECONNECT_BUFFER, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 6); - static AudioTrackFeature? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); + static AudioTrackFeature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const AudioTrackFeature._(super.value, super.name); } class ParticipantInfo_State extends $pb.ProtobufEnum { /// websocket' connected, but not offered yet - static const ParticipantInfo_State JOINING = - ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); + static const ParticipantInfo_State JOINING = ParticipantInfo_State._(0, _omitEnumNames ? '' : 'JOINING'); /// server received client offer - static const ParticipantInfo_State JOINED = - ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); + static const ParticipantInfo_State JOINED = ParticipantInfo_State._(1, _omitEnumNames ? '' : 'JOINED'); /// ICE connectivity established - static const ParticipantInfo_State ACTIVE = - ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); + static const ParticipantInfo_State ACTIVE = ParticipantInfo_State._(2, _omitEnumNames ? '' : 'ACTIVE'); /// WS disconnected - static const ParticipantInfo_State DISCONNECTED = - ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); + static const ParticipantInfo_State DISCONNECTED = ParticipantInfo_State._(3, _omitEnumNames ? '' : 'DISCONNECTED'); - static const $core.List values = - [ + static const $core.List values = [ JOINING, JOINED, ACTIVE, DISCONNECTED, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); static ParticipantInfo_State? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -442,24 +361,19 @@ class ParticipantInfo_State extends $pb.ProtobufEnum { class ParticipantInfo_Kind extends $pb.ProtobufEnum { /// standard participants, e.g. web clients - static const ParticipantInfo_Kind STANDARD = - ParticipantInfo_Kind._(0, _omitEnumNames ? '' : 'STANDARD'); + static const ParticipantInfo_Kind STANDARD = ParticipantInfo_Kind._(0, _omitEnumNames ? '' : 'STANDARD'); /// only ingests streams - static const ParticipantInfo_Kind INGRESS = - ParticipantInfo_Kind._(1, _omitEnumNames ? '' : 'INGRESS'); + static const ParticipantInfo_Kind INGRESS = ParticipantInfo_Kind._(1, _omitEnumNames ? '' : 'INGRESS'); /// only consumes streams - static const ParticipantInfo_Kind EGRESS = - ParticipantInfo_Kind._(2, _omitEnumNames ? '' : 'EGRESS'); + static const ParticipantInfo_Kind EGRESS = ParticipantInfo_Kind._(2, _omitEnumNames ? '' : 'EGRESS'); /// SIP participants - static const ParticipantInfo_Kind SIP = - ParticipantInfo_Kind._(3, _omitEnumNames ? '' : 'SIP'); + static const ParticipantInfo_Kind SIP = ParticipantInfo_Kind._(3, _omitEnumNames ? '' : 'SIP'); /// LiveKit agents - static const ParticipantInfo_Kind AGENT = - ParticipantInfo_Kind._(4, _omitEnumNames ? '' : 'AGENT'); + static const ParticipantInfo_Kind AGENT = ParticipantInfo_Kind._(4, _omitEnumNames ? '' : 'AGENT'); static const $core.List values = [ STANDARD, @@ -469,8 +383,7 @@ class ParticipantInfo_Kind extends $pb.ProtobufEnum { AGENT, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 4); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); static ParticipantInfo_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -483,14 +396,12 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { static const ParticipantInfo_KindDetail FORWARDED = ParticipantInfo_KindDetail._(1, _omitEnumNames ? '' : 'FORWARDED'); - static const $core.List values = - [ + static const $core.List values = [ CLOUD_AGENT, FORWARDED, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); static ParticipantInfo_KindDetail? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -498,12 +409,9 @@ class ParticipantInfo_KindDetail extends $pb.ProtobufEnum { } class Encryption_Type extends $pb.ProtobufEnum { - static const Encryption_Type NONE = - Encryption_Type._(0, _omitEnumNames ? '' : 'NONE'); - static const Encryption_Type GCM = - Encryption_Type._(1, _omitEnumNames ? '' : 'GCM'); - static const Encryption_Type CUSTOM = - Encryption_Type._(2, _omitEnumNames ? '' : 'CUSTOM'); + static const Encryption_Type NONE = Encryption_Type._(0, _omitEnumNames ? '' : 'NONE'); + static const Encryption_Type GCM = Encryption_Type._(1, _omitEnumNames ? '' : 'GCM'); + static const Encryption_Type CUSTOM = Encryption_Type._(2, _omitEnumNames ? '' : 'CUSTOM'); static const $core.List values = [ NONE, @@ -511,28 +419,20 @@ class Encryption_Type extends $pb.ProtobufEnum { CUSTOM, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - static Encryption_Type? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static Encryption_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const Encryption_Type._(super.value, super.name); } class VideoLayer_Mode extends $pb.ProtobufEnum { - static const VideoLayer_Mode MODE_UNUSED = - VideoLayer_Mode._(0, _omitEnumNames ? '' : 'MODE_UNUSED'); - static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM = VideoLayer_Mode._( - 1, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM'); + static const VideoLayer_Mode MODE_UNUSED = VideoLayer_Mode._(0, _omitEnumNames ? '' : 'MODE_UNUSED'); + static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM = + VideoLayer_Mode._(1, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM'); static const VideoLayer_Mode MULTIPLE_SPATIAL_LAYERS_PER_STREAM = - VideoLayer_Mode._( - 2, _omitEnumNames ? '' : 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM'); + VideoLayer_Mode._(2, _omitEnumNames ? '' : 'MULTIPLE_SPATIAL_LAYERS_PER_STREAM'); static const VideoLayer_Mode ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = - VideoLayer_Mode._( - 3, - _omitEnumNames - ? '' - : 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR'); + VideoLayer_Mode._(3, _omitEnumNames ? '' : 'ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR'); static const $core.List values = [ MODE_UNUSED, @@ -541,83 +441,58 @@ class VideoLayer_Mode extends $pb.ProtobufEnum { ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); - static VideoLayer_Mode? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static VideoLayer_Mode? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const VideoLayer_Mode._(super.value, super.name); } class DataPacket_Kind extends $pb.ProtobufEnum { - static const DataPacket_Kind RELIABLE = - DataPacket_Kind._(0, _omitEnumNames ? '' : 'RELIABLE'); - static const DataPacket_Kind LOSSY = - DataPacket_Kind._(1, _omitEnumNames ? '' : 'LOSSY'); + static const DataPacket_Kind RELIABLE = DataPacket_Kind._(0, _omitEnumNames ? '' : 'RELIABLE'); + static const DataPacket_Kind LOSSY = DataPacket_Kind._(1, _omitEnumNames ? '' : 'LOSSY'); static const $core.List values = [ RELIABLE, LOSSY, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); - static DataPacket_Kind? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static DataPacket_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const DataPacket_Kind._(super.value, super.name); } class ServerInfo_Edition extends $pb.ProtobufEnum { - static const ServerInfo_Edition Standard = - ServerInfo_Edition._(0, _omitEnumNames ? '' : 'Standard'); - static const ServerInfo_Edition Cloud = - ServerInfo_Edition._(1, _omitEnumNames ? '' : 'Cloud'); + static const ServerInfo_Edition Standard = ServerInfo_Edition._(0, _omitEnumNames ? '' : 'Standard'); + static const ServerInfo_Edition Cloud = ServerInfo_Edition._(1, _omitEnumNames ? '' : 'Cloud'); static const $core.List values = [ Standard, Cloud, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); - static ServerInfo_Edition? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static ServerInfo_Edition? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const ServerInfo_Edition._(super.value, super.name); } class ClientInfo_SDK extends $pb.ProtobufEnum { - static const ClientInfo_SDK UNKNOWN = - ClientInfo_SDK._(0, _omitEnumNames ? '' : 'UNKNOWN'); - static const ClientInfo_SDK JS = - ClientInfo_SDK._(1, _omitEnumNames ? '' : 'JS'); - static const ClientInfo_SDK SWIFT = - ClientInfo_SDK._(2, _omitEnumNames ? '' : 'SWIFT'); - static const ClientInfo_SDK ANDROID = - ClientInfo_SDK._(3, _omitEnumNames ? '' : 'ANDROID'); - static const ClientInfo_SDK FLUTTER = - ClientInfo_SDK._(4, _omitEnumNames ? '' : 'FLUTTER'); - static const ClientInfo_SDK GO = - ClientInfo_SDK._(5, _omitEnumNames ? '' : 'GO'); - static const ClientInfo_SDK UNITY = - ClientInfo_SDK._(6, _omitEnumNames ? '' : 'UNITY'); - static const ClientInfo_SDK REACT_NATIVE = - ClientInfo_SDK._(7, _omitEnumNames ? '' : 'REACT_NATIVE'); - static const ClientInfo_SDK RUST = - ClientInfo_SDK._(8, _omitEnumNames ? '' : 'RUST'); - static const ClientInfo_SDK PYTHON = - ClientInfo_SDK._(9, _omitEnumNames ? '' : 'PYTHON'); - static const ClientInfo_SDK CPP = - ClientInfo_SDK._(10, _omitEnumNames ? '' : 'CPP'); - static const ClientInfo_SDK UNITY_WEB = - ClientInfo_SDK._(11, _omitEnumNames ? '' : 'UNITY_WEB'); - static const ClientInfo_SDK NODE = - ClientInfo_SDK._(12, _omitEnumNames ? '' : 'NODE'); - static const ClientInfo_SDK UNREAL = - ClientInfo_SDK._(13, _omitEnumNames ? '' : 'UNREAL'); - static const ClientInfo_SDK ESP32 = - ClientInfo_SDK._(14, _omitEnumNames ? '' : 'ESP32'); + static const ClientInfo_SDK UNKNOWN = ClientInfo_SDK._(0, _omitEnumNames ? '' : 'UNKNOWN'); + static const ClientInfo_SDK JS = ClientInfo_SDK._(1, _omitEnumNames ? '' : 'JS'); + static const ClientInfo_SDK SWIFT = ClientInfo_SDK._(2, _omitEnumNames ? '' : 'SWIFT'); + static const ClientInfo_SDK ANDROID = ClientInfo_SDK._(3, _omitEnumNames ? '' : 'ANDROID'); + static const ClientInfo_SDK FLUTTER = ClientInfo_SDK._(4, _omitEnumNames ? '' : 'FLUTTER'); + static const ClientInfo_SDK GO = ClientInfo_SDK._(5, _omitEnumNames ? '' : 'GO'); + static const ClientInfo_SDK UNITY = ClientInfo_SDK._(6, _omitEnumNames ? '' : 'UNITY'); + static const ClientInfo_SDK REACT_NATIVE = ClientInfo_SDK._(7, _omitEnumNames ? '' : 'REACT_NATIVE'); + static const ClientInfo_SDK RUST = ClientInfo_SDK._(8, _omitEnumNames ? '' : 'RUST'); + static const ClientInfo_SDK PYTHON = ClientInfo_SDK._(9, _omitEnumNames ? '' : 'PYTHON'); + static const ClientInfo_SDK CPP = ClientInfo_SDK._(10, _omitEnumNames ? '' : 'CPP'); + static const ClientInfo_SDK UNITY_WEB = ClientInfo_SDK._(11, _omitEnumNames ? '' : 'UNITY_WEB'); + static const ClientInfo_SDK NODE = ClientInfo_SDK._(12, _omitEnumNames ? '' : 'NODE'); + static const ClientInfo_SDK UNREAL = ClientInfo_SDK._(13, _omitEnumNames ? '' : 'UNREAL'); + static const ClientInfo_SDK ESP32 = ClientInfo_SDK._(14, _omitEnumNames ? '' : 'ESP32'); static const $core.List values = [ UNKNOWN, @@ -637,40 +512,31 @@ class ClientInfo_SDK extends $pb.ProtobufEnum { ESP32, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 14); - static ClientInfo_SDK? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 14); + static ClientInfo_SDK? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const ClientInfo_SDK._(super.value, super.name); } /// enum for operation types (specific to TextHeader) class DataStream_OperationType extends $pb.ProtobufEnum { - static const DataStream_OperationType CREATE = - DataStream_OperationType._(0, _omitEnumNames ? '' : 'CREATE'); - static const DataStream_OperationType UPDATE = - DataStream_OperationType._(1, _omitEnumNames ? '' : 'UPDATE'); - static const DataStream_OperationType DELETE = - DataStream_OperationType._(2, _omitEnumNames ? '' : 'DELETE'); - static const DataStream_OperationType REACTION = - DataStream_OperationType._(3, _omitEnumNames ? '' : 'REACTION'); - - static const $core.List values = - [ + static const DataStream_OperationType CREATE = DataStream_OperationType._(0, _omitEnumNames ? '' : 'CREATE'); + static const DataStream_OperationType UPDATE = DataStream_OperationType._(1, _omitEnumNames ? '' : 'UPDATE'); + static const DataStream_OperationType DELETE = DataStream_OperationType._(2, _omitEnumNames ? '' : 'DELETE'); + static const DataStream_OperationType REACTION = DataStream_OperationType._(3, _omitEnumNames ? '' : 'REACTION'); + + static const $core.List values = [ CREATE, UPDATE, DELETE, REACTION, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 3); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); static DataStream_OperationType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const DataStream_OperationType._(super.value, super.name); } -const $core.bool _omitEnumNames = - $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_models.pbjson.dart b/lib/src/proto/livekit_models.pbjson.dart index 4f663606a..0b7bd06ea 100644 --- a/lib/src/proto/livekit_models.pbjson.dart +++ b/lib/src/proto/livekit_models.pbjson.dart @@ -26,9 +26,9 @@ const AudioCodec$json = { }; /// Descriptor for `AudioCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioCodecDescriptor = $convert.base64Decode( - 'CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' - 'AzEAM='); +final $typed_data.Uint8List audioCodecDescriptor = + $convert.base64Decode('CgpBdWRpb0NvZGVjEg4KCkRFRkFVTFRfQUMQABIICgRPUFVTEAESBwoDQUFDEAISCgoGQUNfTV' + 'AzEAM='); @$core.Deprecated('Use videoCodecDescriptor instead') const VideoCodec$json = { @@ -43,9 +43,9 @@ const VideoCodec$json = { }; /// Descriptor for `VideoCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List videoCodecDescriptor = $convert.base64Decode( - 'CgpWaWRlb0NvZGVjEg4KCkRFRkFVTFRfVkMQABIRCg1IMjY0X0JBU0VMSU5FEAESDQoJSDI2NF' - '9NQUlOEAISDQoJSDI2NF9ISUdIEAMSBwoDVlA4EAQ='); +final $typed_data.Uint8List videoCodecDescriptor = + $convert.base64Decode('CgpWaWRlb0NvZGVjEg4KCkRFRkFVTFRfVkMQABIRCg1IMjY0X0JBU0VMSU5FEAESDQoJSDI2NF' + '9NQUlOEAISDQoJSDI2NF9ISUdIEAMSBwoDVlA4EAQ='); @$core.Deprecated('Use imageCodecDescriptor instead') const ImageCodec$json = { @@ -57,8 +57,8 @@ const ImageCodec$json = { }; /// Descriptor for `ImageCodec`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List imageCodecDescriptor = $convert - .base64Decode('CgpJbWFnZUNvZGVjEg4KCklDX0RFRkFVTFQQABILCgdJQ19KUEVHEAE='); +final $typed_data.Uint8List imageCodecDescriptor = + $convert.base64Decode('CgpJbWFnZUNvZGVjEg4KCklDX0RFRkFVTFQQABILCgdJQ19KUEVHEAE='); @$core.Deprecated('Use backupCodecPolicyDescriptor instead') const BackupCodecPolicy$json = { @@ -71,9 +71,9 @@ const BackupCodecPolicy$json = { }; /// Descriptor for `BackupCodecPolicy`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List backupCodecPolicyDescriptor = $convert.base64Decode( - 'ChFCYWNrdXBDb2RlY1BvbGljeRIVChFQUkVGRVJfUkVHUkVTU0lPThAAEg0KCVNJTVVMQ0FTVB' - 'ABEg4KClJFR1JFU1NJT04QAg=='); +final $typed_data.Uint8List backupCodecPolicyDescriptor = + $convert.base64Decode('ChFCYWNrdXBDb2RlY1BvbGljeRIVChFQUkVGRVJfUkVHUkVTU0lPThAAEg0KCVNJTVVMQ0FTVB' + 'ABEg4KClJFR1JFU1NJT04QAg=='); @$core.Deprecated('Use trackTypeDescriptor instead') const TrackType$json = { @@ -86,8 +86,8 @@ const TrackType$json = { }; /// Descriptor for `TrackType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trackTypeDescriptor = $convert.base64Decode( - 'CglUcmFja1R5cGUSCQoFQVVESU8QABIJCgVWSURFTxABEggKBERBVEEQAg=='); +final $typed_data.Uint8List trackTypeDescriptor = + $convert.base64Decode('CglUcmFja1R5cGUSCQoFQVVESU8QABIJCgVWSURFTxABEggKBERBVEEQAg=='); @$core.Deprecated('Use trackSourceDescriptor instead') const TrackSource$json = { @@ -102,9 +102,9 @@ const TrackSource$json = { }; /// Descriptor for `TrackSource`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trackSourceDescriptor = $convert.base64Decode( - 'CgtUcmFja1NvdXJjZRILCgdVTktOT1dOEAASCgoGQ0FNRVJBEAESDgoKTUlDUk9QSE9ORRACEh' - 'AKDFNDUkVFTl9TSEFSRRADEhYKElNDUkVFTl9TSEFSRV9BVURJTxAE'); +final $typed_data.Uint8List trackSourceDescriptor = + $convert.base64Decode('CgtUcmFja1NvdXJjZRILCgdVTktOT1dOEAASCgoGQ0FNRVJBEAESDgoKTUlDUk9QSE9ORRACEh' + 'AKDFNDUkVFTl9TSEFSRRADEhYKElNDUkVFTl9TSEFSRV9BVURJTxAE'); @$core.Deprecated('Use videoQualityDescriptor instead') const VideoQuality$json = { @@ -118,8 +118,8 @@ const VideoQuality$json = { }; /// Descriptor for `VideoQuality`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List videoQualityDescriptor = $convert.base64Decode( - 'CgxWaWRlb1F1YWxpdHkSBwoDTE9XEAASCgoGTUVESVVNEAESCAoESElHSBACEgcKA09GRhAD'); +final $typed_data.Uint8List videoQualityDescriptor = + $convert.base64Decode('CgxWaWRlb1F1YWxpdHkSBwoDTE9XEAASCgoGTUVESVVNEAESCAoESElHSBACEgcKA09GRhAD'); @$core.Deprecated('Use connectionQualityDescriptor instead') const ConnectionQuality$json = { @@ -133,9 +133,9 @@ const ConnectionQuality$json = { }; /// Descriptor for `ConnectionQuality`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List connectionQualityDescriptor = $convert.base64Decode( - 'ChFDb25uZWN0aW9uUXVhbGl0eRIICgRQT09SEAASCAoER09PRBABEg0KCUVYQ0VMTEVOVBACEg' - 'gKBExPU1QQAw=='); +final $typed_data.Uint8List connectionQualityDescriptor = + $convert.base64Decode('ChFDb25uZWN0aW9uUXVhbGl0eRIICgRQT09SEAASCAoER09PRBABEg0KCUVYQ0VMTEVOVBACEg' + 'gKBExPU1QQAw=='); @$core.Deprecated('Use clientConfigSettingDescriptor instead') const ClientConfigSetting$json = { @@ -148,9 +148,9 @@ const ClientConfigSetting$json = { }; /// Descriptor for `ClientConfigSetting`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List clientConfigSettingDescriptor = $convert.base64Decode( - 'ChNDbGllbnRDb25maWdTZXR0aW5nEgkKBVVOU0VUEAASDAoIRElTQUJMRUQQARILCgdFTkFCTE' - 'VEEAI='); +final $typed_data.Uint8List clientConfigSettingDescriptor = + $convert.base64Decode('ChNDbGllbnRDb25maWdTZXR0aW5nEgkKBVVOU0VUEAASDAoIRElTQUJMRUQQARILCgdFTkFCTE' + 'VEEAI='); @$core.Deprecated('Use disconnectReasonDescriptor instead') const DisconnectReason$json = { @@ -176,14 +176,14 @@ const DisconnectReason$json = { }; /// Descriptor for `DisconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List disconnectReasonDescriptor = $convert.base64Decode( - 'ChBEaXNjb25uZWN0UmVhc29uEhIKDlVOS05PV05fUkVBU09OEAASFAoQQ0xJRU5UX0lOSVRJQV' - 'RFRBABEhYKEkRVUExJQ0FURV9JREVOVElUWRACEhMKD1NFUlZFUl9TSFVURE9XThADEhcKE1BB' - 'UlRJQ0lQQU5UX1JFTU9WRUQQBBIQCgxST09NX0RFTEVURUQQBRISCg5TVEFURV9NSVNNQVRDSB' - 'AGEhAKDEpPSU5fRkFJTFVSRRAHEg0KCU1JR1JBVElPThAIEhAKDFNJR05BTF9DTE9TRRAJEg8K' - 'C1JPT01fQ0xPU0VEEAoSFAoQVVNFUl9VTkFWQUlMQUJMRRALEhEKDVVTRVJfUkVKRUNURUQQDB' - 'IVChFTSVBfVFJVTktfRkFJTFVSRRANEhYKEkNPTk5FQ1RJT05fVElNRU9VVBAOEhEKDU1FRElB' - 'X0ZBSUxVUkUQDw=='); +final $typed_data.Uint8List disconnectReasonDescriptor = + $convert.base64Decode('ChBEaXNjb25uZWN0UmVhc29uEhIKDlVOS05PV05fUkVBU09OEAASFAoQQ0xJRU5UX0lOSVRJQV' + 'RFRBABEhYKEkRVUExJQ0FURV9JREVOVElUWRACEhMKD1NFUlZFUl9TSFVURE9XThADEhcKE1BB' + 'UlRJQ0lQQU5UX1JFTU9WRUQQBBIQCgxST09NX0RFTEVURUQQBRISCg5TVEFURV9NSVNNQVRDSB' + 'AGEhAKDEpPSU5fRkFJTFVSRRAHEg0KCU1JR1JBVElPThAIEhAKDFNJR05BTF9DTE9TRRAJEg8K' + 'C1JPT01fQ0xPU0VEEAoSFAoQVVNFUl9VTkFWQUlMQUJMRRALEhEKDVVTRVJfUkVKRUNURUQQDB' + 'IVChFTSVBfVFJVTktfRkFJTFVSRRANEhYKEkNPTk5FQ1RJT05fVElNRU9VVBAOEhEKDU1FRElB' + 'X0ZBSUxVUkUQDw=='); @$core.Deprecated('Use reconnectReasonDescriptor instead') const ReconnectReason$json = { @@ -198,10 +198,10 @@ const ReconnectReason$json = { }; /// Descriptor for `ReconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List reconnectReasonDescriptor = $convert.base64Decode( - 'Cg9SZWNvbm5lY3RSZWFzb24SDgoKUlJfVU5LTk9XThAAEhoKFlJSX1NJR05BTF9ESVNDT05ORU' - 'NURUQQARIXChNSUl9QVUJMSVNIRVJfRkFJTEVEEAISGAoUUlJfU1VCU0NSSUJFUl9GQUlMRUQQ' - 'AxIXChNSUl9TV0lUQ0hfQ0FORElEQVRFEAQ='); +final $typed_data.Uint8List reconnectReasonDescriptor = + $convert.base64Decode('Cg9SZWNvbm5lY3RSZWFzb24SDgoKUlJfVU5LTk9XThAAEhoKFlJSX1NJR05BTF9ESVNDT05ORU' + 'NURUQQARIXChNSUl9QVUJMSVNIRVJfRkFJTEVEEAISGAoUUlJfU1VCU0NSSUJFUl9GQUlMRUQQ' + 'AxIXChNSUl9TV0lUQ0hfQ0FORElEQVRFEAQ='); @$core.Deprecated('Use subscriptionErrorDescriptor instead') const SubscriptionError$json = { @@ -214,9 +214,9 @@ const SubscriptionError$json = { }; /// Descriptor for `SubscriptionError`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List subscriptionErrorDescriptor = $convert.base64Decode( - 'ChFTdWJzY3JpcHRpb25FcnJvchIOCgpTRV9VTktOT1dOEAASGAoUU0VfQ09ERUNfVU5TVVBQT1' - 'JURUQQARIVChFTRV9UUkFDS19OT1RGT1VORBAC'); +final $typed_data.Uint8List subscriptionErrorDescriptor = + $convert.base64Decode('ChFTdWJzY3JpcHRpb25FcnJvchIOCgpTRV9VTktOT1dOEAASGAoUU0VfQ09ERUNfVU5TVVBQT1' + 'JURUQQARIVChFTRV9UUkFDS19OT1RGT1VORBAC'); @$core.Deprecated('Use audioTrackFeatureDescriptor instead') const AudioTrackFeature$json = { @@ -233,11 +233,11 @@ const AudioTrackFeature$json = { }; /// Descriptor for `AudioTrackFeature`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List audioTrackFeatureDescriptor = $convert.base64Decode( - 'ChFBdWRpb1RyYWNrRmVhdHVyZRINCglURl9TVEVSRU8QABINCglURl9OT19EVFgQARIYChRURl' - '9BVVRPX0dBSU5fQ09OVFJPTBACEhgKFFRGX0VDSE9fQ0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9J' - 'U0VfU1VQUFJFU1NJT04QBBIiCh5URl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYCh' - 'RURl9QUkVDT05ORUNUX0JVRkZFUhAG'); +final $typed_data.Uint8List audioTrackFeatureDescriptor = + $convert.base64Decode('ChFBdWRpb1RyYWNrRmVhdHVyZRINCglURl9TVEVSRU8QABINCglURl9OT19EVFgQARIYChRURl' + '9BVVRPX0dBSU5fQ09OVFJPTBACEhgKFFRGX0VDSE9fQ0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9J' + 'U0VfU1VQUFJFU1NJT04QBBIiCh5URl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYCh' + 'RURl9QUkVDT05ORUNUX0JVRkZFUhAG'); @$core.Deprecated('Use paginationDescriptor instead') const Pagination$json = { @@ -249,9 +249,9 @@ const Pagination$json = { }; /// Descriptor for `Pagination`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List paginationDescriptor = $convert.base64Decode( - 'CgpQYWdpbmF0aW9uEhkKCGFmdGVyX2lkGAEgASgJUgdhZnRlcklkEhQKBWxpbWl0GAIgASgFUg' - 'VsaW1pdA=='); +final $typed_data.Uint8List paginationDescriptor = + $convert.base64Decode('CgpQYWdpbmF0aW9uEhkKCGFmdGVyX2lkGAEgASgJUgdhZnRlcklkEhQKBWxpbWl0GAIgASgFUg' + 'VsaW1pdA=='); @$core.Deprecated('Use tokenPaginationDescriptor instead') const TokenPagination$json = { @@ -262,8 +262,8 @@ const TokenPagination$json = { }; /// Descriptor for `TokenPagination`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tokenPaginationDescriptor = $convert - .base64Decode('Cg9Ub2tlblBhZ2luYXRpb24SFAoFdG9rZW4YASABKAlSBXRva2Vu'); +final $typed_data.Uint8List tokenPaginationDescriptor = + $convert.base64Decode('Cg9Ub2tlblBhZ2luYXRpb24SFAoFdG9rZW4YASABKAlSBXRva2Vu'); @$core.Deprecated('Use listUpdateDescriptor instead') const ListUpdate$json = { @@ -277,9 +277,9 @@ const ListUpdate$json = { }; /// Descriptor for `ListUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listUpdateDescriptor = $convert.base64Decode( - 'CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' - '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); +final $typed_data.Uint8List listUpdateDescriptor = + $convert.base64Decode('CgpMaXN0VXBkYXRlEhAKA3NldBgBIAMoCVIDc2V0EhAKA2FkZBgCIAMoCVIDYWRkEhYKBnJlbW' + '92ZRgDIAMoCVIGcmVtb3ZlEhQKBWNsZWFyGAQgASgIUgVjbGVhcg=='); @$core.Deprecated('Use roomDescriptor instead') const Room$json = { @@ -288,52 +288,32 @@ const Room$json = { {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'empty_timeout', '3': 3, '4': 1, '5': 13, '10': 'emptyTimeout'}, - { - '1': 'departure_timeout', - '3': 14, - '4': 1, - '5': 13, - '10': 'departureTimeout' - }, + {'1': 'departure_timeout', '3': 14, '4': 1, '5': 13, '10': 'departureTimeout'}, {'1': 'max_participants', '3': 4, '4': 1, '5': 13, '10': 'maxParticipants'}, {'1': 'creation_time', '3': 5, '4': 1, '5': 3, '10': 'creationTime'}, {'1': 'creation_time_ms', '3': 15, '4': 1, '5': 3, '10': 'creationTimeMs'}, {'1': 'turn_password', '3': 6, '4': 1, '5': 9, '10': 'turnPassword'}, - { - '1': 'enabled_codecs', - '3': 7, - '4': 3, - '5': 11, - '6': '.livekit.Codec', - '10': 'enabledCodecs' - }, + {'1': 'enabled_codecs', '3': 7, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledCodecs'}, {'1': 'metadata', '3': 8, '4': 1, '5': 9, '10': 'metadata'}, {'1': 'num_participants', '3': 9, '4': 1, '5': 13, '10': 'numParticipants'}, {'1': 'num_publishers', '3': 11, '4': 1, '5': 13, '10': 'numPublishers'}, {'1': 'active_recording', '3': 10, '4': 1, '5': 8, '10': 'activeRecording'}, - { - '1': 'version', - '3': 13, - '4': 1, - '5': 11, - '6': '.livekit.TimedVersion', - '10': 'version' - }, + {'1': 'version', '3': 13, '4': 1, '5': 11, '6': '.livekit.TimedVersion', '10': 'version'}, ], }; /// Descriptor for `Room`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomDescriptor = $convert.base64Decode( - 'CgRSb29tEhAKA3NpZBgBIAEoCVIDc2lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIwoNZW1wdHlfdG' - 'ltZW91dBgDIAEoDVIMZW1wdHlUaW1lb3V0EisKEWRlcGFydHVyZV90aW1lb3V0GA4gASgNUhBk' - 'ZXBhcnR1cmVUaW1lb3V0EikKEG1heF9wYXJ0aWNpcGFudHMYBCABKA1SD21heFBhcnRpY2lwYW' - '50cxIjCg1jcmVhdGlvbl90aW1lGAUgASgDUgxjcmVhdGlvblRpbWUSKAoQY3JlYXRpb25fdGlt' - 'ZV9tcxgPIAEoA1IOY3JlYXRpb25UaW1lTXMSIwoNdHVybl9wYXNzd29yZBgGIAEoCVIMdHVybl' - 'Bhc3N3b3JkEjUKDmVuYWJsZWRfY29kZWNzGAcgAygLMg4ubGl2ZWtpdC5Db2RlY1INZW5hYmxl' - 'ZENvZGVjcxIaCghtZXRhZGF0YRgIIAEoCVIIbWV0YWRhdGESKQoQbnVtX3BhcnRpY2lwYW50cx' - 'gJIAEoDVIPbnVtUGFydGljaXBhbnRzEiUKDm51bV9wdWJsaXNoZXJzGAsgASgNUg1udW1QdWJs' - 'aXNoZXJzEikKEGFjdGl2ZV9yZWNvcmRpbmcYCiABKAhSD2FjdGl2ZVJlY29yZGluZxIvCgd2ZX' - 'JzaW9uGA0gASgLMhUubGl2ZWtpdC5UaW1lZFZlcnNpb25SB3ZlcnNpb24='); +final $typed_data.Uint8List roomDescriptor = + $convert.base64Decode('CgRSb29tEhAKA3NpZBgBIAEoCVIDc2lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIwoNZW1wdHlfdG' + 'ltZW91dBgDIAEoDVIMZW1wdHlUaW1lb3V0EisKEWRlcGFydHVyZV90aW1lb3V0GA4gASgNUhBk' + 'ZXBhcnR1cmVUaW1lb3V0EikKEG1heF9wYXJ0aWNpcGFudHMYBCABKA1SD21heFBhcnRpY2lwYW' + '50cxIjCg1jcmVhdGlvbl90aW1lGAUgASgDUgxjcmVhdGlvblRpbWUSKAoQY3JlYXRpb25fdGlt' + 'ZV9tcxgPIAEoA1IOY3JlYXRpb25UaW1lTXMSIwoNdHVybl9wYXNzd29yZBgGIAEoCVIMdHVybl' + 'Bhc3N3b3JkEjUKDmVuYWJsZWRfY29kZWNzGAcgAygLMg4ubGl2ZWtpdC5Db2RlY1INZW5hYmxl' + 'ZENvZGVjcxIaCghtZXRhZGF0YRgIIAEoCVIIbWV0YWRhdGESKQoQbnVtX3BhcnRpY2lwYW50cx' + 'gJIAEoDVIPbnVtUGFydGljaXBhbnRzEiUKDm51bV9wdWJsaXNoZXJzGAsgASgNUg1udW1QdWJs' + 'aXNoZXJzEikKEGFjdGl2ZV9yZWNvcmRpbmcYCiABKAhSD2FjdGl2ZVJlY29yZGluZxIvCgd2ZX' + 'JzaW9uGA0gASgLMhUubGl2ZWtpdC5UaW1lZFZlcnNpb25SB3ZlcnNpb24='); @$core.Deprecated('Use codecDescriptor instead') const Codec$json = { @@ -345,9 +325,9 @@ const Codec$json = { }; /// Descriptor for `Codec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List codecDescriptor = $convert.base64Decode( - 'CgVDb2RlYxISCgRtaW1lGAEgASgJUgRtaW1lEhsKCWZtdHBfbGluZRgCIAEoCVIIZm10cExpbm' - 'U='); +final $typed_data.Uint8List codecDescriptor = + $convert.base64Decode('CgVDb2RlYxISCgRtaW1lGAEgASgJUgRtaW1lEhsKCWZtdHBfbGluZRgCIAEoCVIIZm10cExpbm' + 'U='); @$core.Deprecated('Use playoutDelayDescriptor instead') const PlayoutDelay$json = { @@ -360,9 +340,9 @@ const PlayoutDelay$json = { }; /// Descriptor for `PlayoutDelay`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List playoutDelayDescriptor = $convert.base64Decode( - 'CgxQbGF5b3V0RGVsYXkSGAoHZW5hYmxlZBgBIAEoCFIHZW5hYmxlZBIQCgNtaW4YAiABKA1SA2' - '1pbhIQCgNtYXgYAyABKA1SA21heA=='); +final $typed_data.Uint8List playoutDelayDescriptor = + $convert.base64Decode('CgxQbGF5b3V0RGVsYXkSGAoHZW5hYmxlZBgBIAEoCFIHZW5hYmxlZBIQCgNtaW4YAiABKA1SA2' + '1pbhIQCgNtYXgYAyABKA1SA21heA=='); @$core.Deprecated('Use participantPermissionDescriptor instead') const ParticipantPermission$json = { @@ -371,14 +351,7 @@ const ParticipantPermission$json = { {'1': 'can_subscribe', '3': 1, '4': 1, '5': 8, '10': 'canSubscribe'}, {'1': 'can_publish', '3': 2, '4': 1, '5': 8, '10': 'canPublish'}, {'1': 'can_publish_data', '3': 3, '4': 1, '5': 8, '10': 'canPublishData'}, - { - '1': 'can_publish_sources', - '3': 9, - '4': 3, - '5': 14, - '6': '.livekit.TrackSource', - '10': 'canPublishSources' - }, + {'1': 'can_publish_sources', '3': 9, '4': 3, '5': 14, '6': '.livekit.TrackSource', '10': 'canPublishSources'}, {'1': 'hidden', '3': 7, '4': 1, '5': 8, '10': 'hidden'}, { '1': 'recorder', @@ -388,13 +361,7 @@ const ParticipantPermission$json = { '8': {'3': true}, '10': 'recorder', }, - { - '1': 'can_update_metadata', - '3': 10, - '4': 1, - '5': 8, - '10': 'canUpdateMetadata' - }, + {'1': 'can_update_metadata', '3': 10, '4': 1, '5': 8, '10': 'canUpdateMetadata'}, { '1': 'agent', '3': 11, @@ -403,25 +370,19 @@ const ParticipantPermission$json = { '8': {'3': true}, '10': 'agent', }, - { - '1': 'can_subscribe_metrics', - '3': 12, - '4': 1, - '5': 8, - '10': 'canSubscribeMetrics' - }, + {'1': 'can_subscribe_metrics', '3': 12, '4': 1, '5': 8, '10': 'canSubscribeMetrics'}, ], }; /// Descriptor for `ParticipantPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantPermissionDescriptor = $convert.base64Decode( - 'ChVQYXJ0aWNpcGFudFBlcm1pc3Npb24SIwoNY2FuX3N1YnNjcmliZRgBIAEoCFIMY2FuU3Vic2' - 'NyaWJlEh8KC2Nhbl9wdWJsaXNoGAIgASgIUgpjYW5QdWJsaXNoEigKEGNhbl9wdWJsaXNoX2Rh' - 'dGEYAyABKAhSDmNhblB1Ymxpc2hEYXRhEkQKE2Nhbl9wdWJsaXNoX3NvdXJjZXMYCSADKA4yFC' - '5saXZla2l0LlRyYWNrU291cmNlUhFjYW5QdWJsaXNoU291cmNlcxIWCgZoaWRkZW4YByABKAhS' - 'BmhpZGRlbhIeCghyZWNvcmRlchgIIAEoCEICGAFSCHJlY29yZGVyEi4KE2Nhbl91cGRhdGVfbW' - 'V0YWRhdGEYCiABKAhSEWNhblVwZGF0ZU1ldGFkYXRhEhgKBWFnZW50GAsgASgIQgIYAVIFYWdl' - 'bnQSMgoVY2FuX3N1YnNjcmliZV9tZXRyaWNzGAwgASgIUhNjYW5TdWJzY3JpYmVNZXRyaWNz'); +final $typed_data.Uint8List participantPermissionDescriptor = + $convert.base64Decode('ChVQYXJ0aWNpcGFudFBlcm1pc3Npb24SIwoNY2FuX3N1YnNjcmliZRgBIAEoCFIMY2FuU3Vic2' + 'NyaWJlEh8KC2Nhbl9wdWJsaXNoGAIgASgIUgpjYW5QdWJsaXNoEigKEGNhbl9wdWJsaXNoX2Rh' + 'dGEYAyABKAhSDmNhblB1Ymxpc2hEYXRhEkQKE2Nhbl9wdWJsaXNoX3NvdXJjZXMYCSADKA4yFC' + '5saXZla2l0LlRyYWNrU291cmNlUhFjYW5QdWJsaXNoU291cmNlcxIWCgZoaWRkZW4YByABKAhS' + 'BmhpZGRlbhIeCghyZWNvcmRlchgIIAEoCEICGAFSCHJlY29yZGVyEi4KE2Nhbl91cGRhdGVfbW' + 'V0YWRhdGEYCiABKAhSEWNhblVwZGF0ZU1ldGFkYXRhEhgKBWFnZW50GAsgASgIQgIYAVIFYWdl' + 'bnQSMgoVY2FuX3N1YnNjcmliZV9tZXRyaWNzGAwgASgIUhNjYW5TdWJzY3JpYmVNZXRyaWNz'); @$core.Deprecated('Use participantInfoDescriptor instead') const ParticipantInfo$json = { @@ -429,76 +390,23 @@ const ParticipantInfo$json = { '2': [ {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, {'1': 'identity', '3': 2, '4': 1, '5': 9, '10': 'identity'}, - { - '1': 'state', - '3': 3, - '4': 1, - '5': 14, - '6': '.livekit.ParticipantInfo.State', - '10': 'state' - }, - { - '1': 'tracks', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.TrackInfo', - '10': 'tracks' - }, + {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.livekit.ParticipantInfo.State', '10': 'state'}, + {'1': 'tracks', '3': 4, '4': 3, '5': 11, '6': '.livekit.TrackInfo', '10': 'tracks'}, {'1': 'metadata', '3': 5, '4': 1, '5': 9, '10': 'metadata'}, {'1': 'joined_at', '3': 6, '4': 1, '5': 3, '10': 'joinedAt'}, {'1': 'joined_at_ms', '3': 17, '4': 1, '5': 3, '10': 'joinedAtMs'}, {'1': 'name', '3': 9, '4': 1, '5': 9, '10': 'name'}, {'1': 'version', '3': 10, '4': 1, '5': 13, '10': 'version'}, - { - '1': 'permission', - '3': 11, - '4': 1, - '5': 11, - '6': '.livekit.ParticipantPermission', - '10': 'permission' - }, + {'1': 'permission', '3': 11, '4': 1, '5': 11, '6': '.livekit.ParticipantPermission', '10': 'permission'}, {'1': 'region', '3': 12, '4': 1, '5': 9, '10': 'region'}, {'1': 'is_publisher', '3': 13, '4': 1, '5': 8, '10': 'isPublisher'}, - { - '1': 'kind', - '3': 14, - '4': 1, - '5': 14, - '6': '.livekit.ParticipantInfo.Kind', - '10': 'kind' - }, - { - '1': 'attributes', - '3': 15, - '4': 3, - '5': 11, - '6': '.livekit.ParticipantInfo.AttributesEntry', - '10': 'attributes' - }, - { - '1': 'disconnect_reason', - '3': 16, - '4': 1, - '5': 14, - '6': '.livekit.DisconnectReason', - '10': 'disconnectReason' - }, - { - '1': 'kind_details', - '3': 18, - '4': 3, - '5': 14, - '6': '.livekit.ParticipantInfo.KindDetail', - '10': 'kindDetails' - }, + {'1': 'kind', '3': 14, '4': 1, '5': 14, '6': '.livekit.ParticipantInfo.Kind', '10': 'kind'}, + {'1': 'attributes', '3': 15, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo.AttributesEntry', '10': 'attributes'}, + {'1': 'disconnect_reason', '3': 16, '4': 1, '5': 14, '6': '.livekit.DisconnectReason', '10': 'disconnectReason'}, + {'1': 'kind_details', '3': 18, '4': 3, '5': 14, '6': '.livekit.ParticipantInfo.KindDetail', '10': 'kindDetails'}, ], '3': [ParticipantInfo_AttributesEntry$json], - '4': [ - ParticipantInfo_State$json, - ParticipantInfo_Kind$json, - ParticipantInfo_KindDetail$json - ], + '4': [ParticipantInfo_State$json, ParticipantInfo_Kind$json, ParticipantInfo_KindDetail$json], }; @$core.Deprecated('Use participantInfoDescriptor instead') @@ -544,24 +452,24 @@ const ParticipantInfo_KindDetail$json = { }; /// Descriptor for `ParticipantInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantInfoDescriptor = $convert.base64Decode( - 'Cg9QYXJ0aWNpcGFudEluZm8SEAoDc2lkGAEgASgJUgNzaWQSGgoIaWRlbnRpdHkYAiABKAlSCG' - 'lkZW50aXR5EjQKBXN0YXRlGAMgASgOMh4ubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uU3RhdGVS' - 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSGgoIbW' - 'V0YWRhdGEYBSABKAlSCG1ldGFkYXRhEhsKCWpvaW5lZF9hdBgGIAEoA1IIam9pbmVkQXQSIAoM' - 'am9pbmVkX2F0X21zGBEgASgDUgpqb2luZWRBdE1zEhIKBG5hbWUYCSABKAlSBG5hbWUSGAoHdm' - 'Vyc2lvbhgKIAEoDVIHdmVyc2lvbhI+CgpwZXJtaXNzaW9uGAsgASgLMh4ubGl2ZWtpdC5QYXJ0' - 'aWNpcGFudFBlcm1pc3Npb25SCnBlcm1pc3Npb24SFgoGcmVnaW9uGAwgASgJUgZyZWdpb24SIQ' - 'oMaXNfcHVibGlzaGVyGA0gASgIUgtpc1B1Ymxpc2hlchIxCgRraW5kGA4gASgOMh0ubGl2ZWtp' - 'dC5QYXJ0aWNpcGFudEluZm8uS2luZFIEa2luZBJICgphdHRyaWJ1dGVzGA8gAygLMigubGl2ZW' - 'tpdC5QYXJ0aWNpcGFudEluZm8uQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEkYKEWRpc2Nv' - 'bm5lY3RfcmVhc29uGBAgASgOMhkubGl2ZWtpdC5EaXNjb25uZWN0UmVhc29uUhBkaXNjb25uZW' - 'N0UmVhc29uEkYKDGtpbmRfZGV0YWlscxgSIAMoDjIjLmxpdmVraXQuUGFydGljaXBhbnRJbmZv' - 'LktpbmREZXRhaWxSC2tpbmREZXRhaWxzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKA' - 'lSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBIj4KBVN0YXRlEgsKB0pPSU5JTkcQABIK' - 'CgZKT0lORUQQARIKCgZBQ1RJVkUQAhIQCgxESVNDT05ORUNURUQQAyJBCgRLaW5kEgwKCFNUQU' - '5EQVJEEAASCwoHSU5HUkVTUxABEgoKBkVHUkVTUxACEgcKA1NJUBADEgkKBUFHRU5UEAQiLAoK' - 'S2luZERldGFpbBIPCgtDTE9VRF9BR0VOVBAAEg0KCUZPUldBUkRFRBAB'); +final $typed_data.Uint8List participantInfoDescriptor = + $convert.base64Decode('Cg9QYXJ0aWNpcGFudEluZm8SEAoDc2lkGAEgASgJUgNzaWQSGgoIaWRlbnRpdHkYAiABKAlSCG' + 'lkZW50aXR5EjQKBXN0YXRlGAMgASgOMh4ubGl2ZWtpdC5QYXJ0aWNpcGFudEluZm8uU3RhdGVS' + 'BXN0YXRlEioKBnRyYWNrcxgEIAMoCzISLmxpdmVraXQuVHJhY2tJbmZvUgZ0cmFja3MSGgoIbW' + 'V0YWRhdGEYBSABKAlSCG1ldGFkYXRhEhsKCWpvaW5lZF9hdBgGIAEoA1IIam9pbmVkQXQSIAoM' + 'am9pbmVkX2F0X21zGBEgASgDUgpqb2luZWRBdE1zEhIKBG5hbWUYCSABKAlSBG5hbWUSGAoHdm' + 'Vyc2lvbhgKIAEoDVIHdmVyc2lvbhI+CgpwZXJtaXNzaW9uGAsgASgLMh4ubGl2ZWtpdC5QYXJ0' + 'aWNpcGFudFBlcm1pc3Npb25SCnBlcm1pc3Npb24SFgoGcmVnaW9uGAwgASgJUgZyZWdpb24SIQ' + 'oMaXNfcHVibGlzaGVyGA0gASgIUgtpc1B1Ymxpc2hlchIxCgRraW5kGA4gASgOMh0ubGl2ZWtp' + 'dC5QYXJ0aWNpcGFudEluZm8uS2luZFIEa2luZBJICgphdHRyaWJ1dGVzGA8gAygLMigubGl2ZW' + 'tpdC5QYXJ0aWNpcGFudEluZm8uQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEkYKEWRpc2Nv' + 'bm5lY3RfcmVhc29uGBAgASgOMhkubGl2ZWtpdC5EaXNjb25uZWN0UmVhc29uUhBkaXNjb25uZW' + 'N0UmVhc29uEkYKDGtpbmRfZGV0YWlscxgSIAMoDjIjLmxpdmVraXQuUGFydGljaXBhbnRJbmZv' + 'LktpbmREZXRhaWxSC2tpbmREZXRhaWxzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKA' + 'lSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBIj4KBVN0YXRlEgsKB0pPSU5JTkcQABIK' + 'CgZKT0lORUQQARIKCgZBQ1RJVkUQAhIQCgxESVNDT05ORUNURUQQAyJBCgRLaW5kEgwKCFNUQU' + '5EQVJEEAASCwoHSU5HUkVTUxABEgoKBkVHUkVTUxACEgcKA1NJUBADEgkKBUFHRU5UEAQiLAoK' + 'S2luZERldGFpbBIPCgtDTE9VRF9BR0VOVBAAEg0KCUZPUldBUkRFRBAB'); @$core.Deprecated('Use encryptionDescriptor instead') const Encryption$json = { @@ -580,8 +488,8 @@ const Encryption_Type$json = { }; /// Descriptor for `Encryption`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptionDescriptor = $convert.base64Decode( - 'CgpFbmNyeXB0aW9uIiUKBFR5cGUSCAoETk9ORRAAEgcKA0dDTRABEgoKBkNVU1RPTRAC'); +final $typed_data.Uint8List encryptionDescriptor = + $convert.base64Decode('CgpFbmNyeXB0aW9uIiUKBFR5cGUSCAoETk9ORRAAEgcKA0dDTRABEgoKBkNVU1RPTRAC'); @$core.Deprecated('Use simulcastCodecInfoDescriptor instead') const SimulcastCodecInfo$json = { @@ -590,47 +498,26 @@ const SimulcastCodecInfo$json = { {'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'}, {'1': 'mid', '3': 2, '4': 1, '5': 9, '10': 'mid'}, {'1': 'cid', '3': 3, '4': 1, '5': 9, '10': 'cid'}, - { - '1': 'layers', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.VideoLayer', - '10': 'layers' - }, - { - '1': 'video_layer_mode', - '3': 5, - '4': 1, - '5': 14, - '6': '.livekit.VideoLayer.Mode', - '10': 'videoLayerMode' - }, + {'1': 'layers', '3': 4, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, + {'1': 'video_layer_mode', '3': 5, '4': 1, '5': 14, '6': '.livekit.VideoLayer.Mode', '10': 'videoLayerMode'}, {'1': 'sdp_cid', '3': 6, '4': 1, '5': 9, '10': 'sdpCid'}, ], }; /// Descriptor for `SimulcastCodecInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulcastCodecInfoDescriptor = $convert.base64Decode( - 'ChJTaW11bGNhc3RDb2RlY0luZm8SGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIQCgNtaW' - 'QYAiABKAlSA21pZBIQCgNjaWQYAyABKAlSA2NpZBIrCgZsYXllcnMYBCADKAsyEy5saXZla2l0' - 'LlZpZGVvTGF5ZXJSBmxheWVycxJCChB2aWRlb19sYXllcl9tb2RlGAUgASgOMhgubGl2ZWtpdC' - '5WaWRlb0xheWVyLk1vZGVSDnZpZGVvTGF5ZXJNb2RlEhcKB3NkcF9jaWQYBiABKAlSBnNkcENp' - 'ZA=='); +final $typed_data.Uint8List simulcastCodecInfoDescriptor = + $convert.base64Decode('ChJTaW11bGNhc3RDb2RlY0luZm8SGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIQCgNtaW' + 'QYAiABKAlSA21pZBIQCgNjaWQYAyABKAlSA2NpZBIrCgZsYXllcnMYBCADKAsyEy5saXZla2l0' + 'LlZpZGVvTGF5ZXJSBmxheWVycxJCChB2aWRlb19sYXllcl9tb2RlGAUgASgOMhgubGl2ZWtpdC' + '5WaWRlb0xheWVyLk1vZGVSDnZpZGVvTGF5ZXJNb2RlEhcKB3NkcF9jaWQYBiABKAlSBnNkcENp' + 'ZA=='); @$core.Deprecated('Use trackInfoDescriptor instead') const TrackInfo$json = { '1': 'TrackInfo', '2': [ {'1': 'sid', '3': 1, '4': 1, '5': 9, '10': 'sid'}, - { - '1': 'type', - '3': 2, - '4': 1, - '5': 14, - '6': '.livekit.TrackType', - '10': 'type' - }, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.livekit.TrackType', '10': 'type'}, {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, {'1': 'muted', '3': 4, '4': 1, '5': 8, '10': 'muted'}, { @@ -665,14 +552,7 @@ const TrackInfo$json = { '8': {'3': true}, '10': 'disableDtx', }, - { - '1': 'source', - '3': 9, - '4': 1, - '5': 14, - '6': '.livekit.TrackSource', - '10': 'source' - }, + {'1': 'source', '3': 9, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, { '1': 'layers', '3': 10, @@ -684,14 +564,7 @@ const TrackInfo$json = { }, {'1': 'mime_type', '3': 11, '4': 1, '5': 9, '10': 'mimeType'}, {'1': 'mid', '3': 12, '4': 1, '5': 9, '10': 'mid'}, - { - '1': 'codecs', - '3': 13, - '4': 3, - '5': 11, - '6': '.livekit.SimulcastCodecInfo', - '10': 'codecs' - }, + {'1': 'codecs', '3': 13, '4': 3, '5': 11, '6': '.livekit.SimulcastCodecInfo', '10': 'codecs'}, { '1': 'stereo', '3': 14, @@ -701,31 +574,10 @@ const TrackInfo$json = { '10': 'stereo', }, {'1': 'disable_red', '3': 15, '4': 1, '5': 8, '10': 'disableRed'}, - { - '1': 'encryption', - '3': 16, - '4': 1, - '5': 14, - '6': '.livekit.Encryption.Type', - '10': 'encryption' - }, + {'1': 'encryption', '3': 16, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryption'}, {'1': 'stream', '3': 17, '4': 1, '5': 9, '10': 'stream'}, - { - '1': 'version', - '3': 18, - '4': 1, - '5': 11, - '6': '.livekit.TimedVersion', - '10': 'version' - }, - { - '1': 'audio_features', - '3': 19, - '4': 3, - '5': 14, - '6': '.livekit.AudioTrackFeature', - '10': 'audioFeatures' - }, + {'1': 'version', '3': 18, '4': 1, '5': 11, '6': '.livekit.TimedVersion', '10': 'version'}, + {'1': 'audio_features', '3': 19, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'audioFeatures'}, { '1': 'backup_codec_policy', '3': 20, @@ -738,34 +590,27 @@ const TrackInfo$json = { }; /// Descriptor for `TrackInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackInfoDescriptor = $convert.base64Decode( - 'CglUcmFja0luZm8SEAoDc2lkGAEgASgJUgNzaWQSJgoEdHlwZRgCIAEoDjISLmxpdmVraXQuVH' - 'JhY2tUeXBlUgR0eXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSFAoFbXV0ZWQYBCABKAhSBW11dGVk' - 'EhgKBXdpZHRoGAUgASgNQgIYAVIFd2lkdGgSGgoGaGVpZ2h0GAYgASgNQgIYAVIGaGVpZ2h0Ei' - 'AKCXNpbXVsY2FzdBgHIAEoCEICGAFSCXNpbXVsY2FzdBIjCgtkaXNhYmxlX2R0eBgIIAEoCEIC' - 'GAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAkgASgOMhQubGl2ZWtpdC5UcmFja1NvdXJjZVIGc2' - '91cmNlEi8KBmxheWVycxgKIAMoCzITLmxpdmVraXQuVmlkZW9MYXllckICGAFSBmxheWVycxIb' - 'CgltaW1lX3R5cGUYCyABKAlSCG1pbWVUeXBlEhAKA21pZBgMIAEoCVIDbWlkEjMKBmNvZGVjcx' - 'gNIAMoCzIbLmxpdmVraXQuU2ltdWxjYXN0Q29kZWNJbmZvUgZjb2RlY3MSGgoGc3RlcmVvGA4g' - 'ASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA8gASgIUgpkaXNhYmxlUmVkEjgKCmVuY3' - 'J5cHRpb24YECABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCgZz' - 'dHJlYW0YESABKAlSBnN0cmVhbRIvCgd2ZXJzaW9uGBIgASgLMhUubGl2ZWtpdC5UaW1lZFZlcn' - 'Npb25SB3ZlcnNpb24SQQoOYXVkaW9fZmVhdHVyZXMYEyADKA4yGi5saXZla2l0LkF1ZGlvVHJh' - 'Y2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVzEkoKE2JhY2t1cF9jb2RlY19wb2xpY3kYFCABKA4yGi' - '5saXZla2l0LkJhY2t1cENvZGVjUG9saWN5UhFiYWNrdXBDb2RlY1BvbGljeQ=='); +final $typed_data.Uint8List trackInfoDescriptor = + $convert.base64Decode('CglUcmFja0luZm8SEAoDc2lkGAEgASgJUgNzaWQSJgoEdHlwZRgCIAEoDjISLmxpdmVraXQuVH' + 'JhY2tUeXBlUgR0eXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSFAoFbXV0ZWQYBCABKAhSBW11dGVk' + 'EhgKBXdpZHRoGAUgASgNQgIYAVIFd2lkdGgSGgoGaGVpZ2h0GAYgASgNQgIYAVIGaGVpZ2h0Ei' + 'AKCXNpbXVsY2FzdBgHIAEoCEICGAFSCXNpbXVsY2FzdBIjCgtkaXNhYmxlX2R0eBgIIAEoCEIC' + 'GAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAkgASgOMhQubGl2ZWtpdC5UcmFja1NvdXJjZVIGc2' + '91cmNlEi8KBmxheWVycxgKIAMoCzITLmxpdmVraXQuVmlkZW9MYXllckICGAFSBmxheWVycxIb' + 'CgltaW1lX3R5cGUYCyABKAlSCG1pbWVUeXBlEhAKA21pZBgMIAEoCVIDbWlkEjMKBmNvZGVjcx' + 'gNIAMoCzIbLmxpdmVraXQuU2ltdWxjYXN0Q29kZWNJbmZvUgZjb2RlY3MSGgoGc3RlcmVvGA4g' + 'ASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA8gASgIUgpkaXNhYmxlUmVkEjgKCmVuY3' + 'J5cHRpb24YECABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCgZz' + 'dHJlYW0YESABKAlSBnN0cmVhbRIvCgd2ZXJzaW9uGBIgASgLMhUubGl2ZWtpdC5UaW1lZFZlcn' + 'Npb25SB3ZlcnNpb24SQQoOYXVkaW9fZmVhdHVyZXMYEyADKA4yGi5saXZla2l0LkF1ZGlvVHJh' + 'Y2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVzEkoKE2JhY2t1cF9jb2RlY19wb2xpY3kYFCABKA4yGi' + '5saXZla2l0LkJhY2t1cENvZGVjUG9saWN5UhFiYWNrdXBDb2RlY1BvbGljeQ=='); @$core.Deprecated('Use videoLayerDescriptor instead') const VideoLayer$json = { '1': 'VideoLayer', '2': [ - { - '1': 'quality', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.VideoQuality', - '10': 'quality' - }, + {'1': 'quality', '3': 1, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, {'1': 'width', '3': 2, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 3, '4': 1, '5': 13, '10': 'height'}, {'1': 'bitrate', '3': 4, '4': 1, '5': 13, '10': 'bitrate'}, @@ -788,14 +633,14 @@ const VideoLayer_Mode$json = { }; /// Descriptor for `VideoLayer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoLayerDescriptor = $convert.base64Decode( - 'CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' - 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' - 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' - 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCKWAQoETW9kZRIPCgtN' - 'T0RFX1VOVVNFRBAAEiAKHE9ORV9TUEFUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSV' - 'BMRV9TUEFUSUFMX0xBWUVSU19QRVJfU1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVS' - 'X1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1BfU1IQAw=='); +final $typed_data.Uint8List videoLayerDescriptor = + $convert.base64Decode('CgpWaWRlb0xheWVyEi8KB3F1YWxpdHkYASABKA4yFS5saXZla2l0LlZpZGVvUXVhbGl0eVIHcX' + 'VhbGl0eRIUCgV3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQSGAoH' + 'Yml0cmF0ZRgEIAEoDVIHYml0cmF0ZRISCgRzc3JjGAUgASgNUgRzc3JjEiMKDXNwYXRpYWxfbG' + 'F5ZXIYBiABKAVSDHNwYXRpYWxMYXllchIQCgNyaWQYByABKAlSA3JpZCKWAQoETW9kZRIPCgtN' + 'T0RFX1VOVVNFRBAAEiAKHE9ORV9TUEFUSUFMX0xBWUVSX1BFUl9TVFJFQU0QARImCiJNVUxUSV' + 'BMRV9TUEFUSUFMX0xBWUVSU19QRVJfU1RSRUFNEAISMwovT05FX1NQQVRJQUxfTEFZRVJfUEVS' + 'X1NUUkVBTV9JTkNPTVBMRVRFX1JUQ1BfU1IQAw=='); @$core.Deprecated('Use dataPacketDescriptor instead') const DataPacket$json = { @@ -810,29 +655,9 @@ const DataPacket$json = { '8': {'3': true}, '10': 'kind', }, - { - '1': 'participant_identity', - '3': 4, - '4': 1, - '5': 9, - '10': 'participantIdentity' - }, - { - '1': 'destination_identities', - '3': 5, - '4': 3, - '5': 9, - '10': 'destinationIdentities' - }, - { - '1': 'user', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.UserPacket', - '9': 0, - '10': 'user' - }, + {'1': 'participant_identity', '3': 4, '4': 1, '5': 9, '10': 'participantIdentity'}, + {'1': 'destination_identities', '3': 5, '4': 3, '5': 9, '10': 'destinationIdentities'}, + {'1': 'user', '3': 2, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, { '1': 'speaker', '3': 3, @@ -843,87 +668,15 @@ const DataPacket$json = { '9': 0, '10': 'speaker', }, - { - '1': 'sip_dtmf', - '3': 6, - '4': 1, - '5': 11, - '6': '.livekit.SipDTMF', - '9': 0, - '10': 'sipDtmf' - }, - { - '1': 'transcription', - '3': 7, - '4': 1, - '5': 11, - '6': '.livekit.Transcription', - '9': 0, - '10': 'transcription' - }, - { - '1': 'metrics', - '3': 8, - '4': 1, - '5': 11, - '6': '.livekit.MetricsBatch', - '9': 0, - '10': 'metrics' - }, - { - '1': 'chat_message', - '3': 9, - '4': 1, - '5': 11, - '6': '.livekit.ChatMessage', - '9': 0, - '10': 'chatMessage' - }, - { - '1': 'rpc_request', - '3': 10, - '4': 1, - '5': 11, - '6': '.livekit.RpcRequest', - '9': 0, - '10': 'rpcRequest' - }, - { - '1': 'rpc_ack', - '3': 11, - '4': 1, - '5': 11, - '6': '.livekit.RpcAck', - '9': 0, - '10': 'rpcAck' - }, - { - '1': 'rpc_response', - '3': 12, - '4': 1, - '5': 11, - '6': '.livekit.RpcResponse', - '9': 0, - '10': 'rpcResponse' - }, - { - '1': 'stream_header', - '3': 13, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.Header', - '9': 0, - '10': 'streamHeader' - }, - { - '1': 'stream_chunk', - '3': 14, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.Chunk', - '9': 0, - '10': 'streamChunk' - }, + {'1': 'sip_dtmf', '3': 6, '4': 1, '5': 11, '6': '.livekit.SipDTMF', '9': 0, '10': 'sipDtmf'}, + {'1': 'transcription', '3': 7, '4': 1, '5': 11, '6': '.livekit.Transcription', '9': 0, '10': 'transcription'}, + {'1': 'metrics', '3': 8, '4': 1, '5': 11, '6': '.livekit.MetricsBatch', '9': 0, '10': 'metrics'}, + {'1': 'chat_message', '3': 9, '4': 1, '5': 11, '6': '.livekit.ChatMessage', '9': 0, '10': 'chatMessage'}, + {'1': 'rpc_request', '3': 10, '4': 1, '5': 11, '6': '.livekit.RpcRequest', '9': 0, '10': 'rpcRequest'}, + {'1': 'rpc_ack', '3': 11, '4': 1, '5': 11, '6': '.livekit.RpcAck', '9': 0, '10': 'rpcAck'}, + {'1': 'rpc_response', '3': 12, '4': 1, '5': 11, '6': '.livekit.RpcResponse', '9': 0, '10': 'rpcResponse'}, + {'1': 'stream_header', '3': 13, '4': 1, '5': 11, '6': '.livekit.DataStream.Header', '9': 0, '10': 'streamHeader'}, + {'1': 'stream_chunk', '3': 14, '4': 1, '5': 11, '6': '.livekit.DataStream.Chunk', '9': 0, '10': 'streamChunk'}, { '1': 'stream_trailer', '3': 15, @@ -961,39 +714,32 @@ const DataPacket_Kind$json = { }; /// Descriptor for `DataPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataPacketDescriptor = $convert.base64Decode( - 'CgpEYXRhUGFja2V0EjAKBGtpbmQYASABKA4yGC5saXZla2l0LkRhdGFQYWNrZXQuS2luZEICGA' - 'FSBGtpbmQSMQoUcGFydGljaXBhbnRfaWRlbnRpdHkYBCABKAlSE3BhcnRpY2lwYW50SWRlbnRp' - 'dHkSNQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgFIAMoCVIVZGVzdGluYXRpb25JZGVudGl0aW' - 'VzEikKBHVzZXIYAiABKAsyEy5saXZla2l0LlVzZXJQYWNrZXRIAFIEdXNlchI8CgdzcGVha2Vy' - 'GAMgASgLMhwubGl2ZWtpdC5BY3RpdmVTcGVha2VyVXBkYXRlQgIYAUgAUgdzcGVha2VyEi0KCH' - 'NpcF9kdG1mGAYgASgLMhAubGl2ZWtpdC5TaXBEVE1GSABSB3NpcER0bWYSPgoNdHJhbnNjcmlw' - 'dGlvbhgHIAEoCzIWLmxpdmVraXQuVHJhbnNjcmlwdGlvbkgAUg10cmFuc2NyaXB0aW9uEjEKB2' - '1ldHJpY3MYCCABKAsyFS5saXZla2l0Lk1ldHJpY3NCYXRjaEgAUgdtZXRyaWNzEjkKDGNoYXRf' - 'bWVzc2FnZRgJIAEoCzIULmxpdmVraXQuQ2hhdE1lc3NhZ2VIAFILY2hhdE1lc3NhZ2USNgoLcn' - 'BjX3JlcXVlc3QYCiABKAsyEy5saXZla2l0LlJwY1JlcXVlc3RIAFIKcnBjUmVxdWVzdBIqCgdy' - 'cGNfYWNrGAsgASgLMg8ubGl2ZWtpdC5ScGNBY2tIAFIGcnBjQWNrEjkKDHJwY19yZXNwb25zZR' - 'gMIAEoCzIULmxpdmVraXQuUnBjUmVzcG9uc2VIAFILcnBjUmVzcG9uc2USQQoNc3RyZWFtX2hl' - 'YWRlchgNIAEoCzIaLmxpdmVraXQuRGF0YVN0cmVhbS5IZWFkZXJIAFIMc3RyZWFtSGVhZGVyEj' - '4KDHN0cmVhbV9jaHVuaxgOIAEoCzIZLmxpdmVraXQuRGF0YVN0cmVhbS5DaHVua0gAUgtzdHJl' - 'YW1DaHVuaxJECg5zdHJlYW1fdHJhaWxlchgPIAEoCzIbLmxpdmVraXQuRGF0YVN0cmVhbS5Ucm' - 'FpbGVySABSDXN0cmVhbVRyYWlsZXISRQoQZW5jcnlwdGVkX3BhY2tldBgSIAEoCzIYLmxpdmVr' - 'aXQuRW5jcnlwdGVkUGFja2V0SABSD2VuY3J5cHRlZFBhY2tldBIaCghzZXF1ZW5jZRgQIAEoDV' - 'IIc2VxdWVuY2USJwoPcGFydGljaXBhbnRfc2lkGBEgASgJUg5wYXJ0aWNpcGFudFNpZCIfCgRL' - 'aW5kEgwKCFJFTElBQkxFEAASCQoFTE9TU1kQAUIHCgV2YWx1ZQ=='); +final $typed_data.Uint8List dataPacketDescriptor = + $convert.base64Decode('CgpEYXRhUGFja2V0EjAKBGtpbmQYASABKA4yGC5saXZla2l0LkRhdGFQYWNrZXQuS2luZEICGA' + 'FSBGtpbmQSMQoUcGFydGljaXBhbnRfaWRlbnRpdHkYBCABKAlSE3BhcnRpY2lwYW50SWRlbnRp' + 'dHkSNQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgFIAMoCVIVZGVzdGluYXRpb25JZGVudGl0aW' + 'VzEikKBHVzZXIYAiABKAsyEy5saXZla2l0LlVzZXJQYWNrZXRIAFIEdXNlchI8CgdzcGVha2Vy' + 'GAMgASgLMhwubGl2ZWtpdC5BY3RpdmVTcGVha2VyVXBkYXRlQgIYAUgAUgdzcGVha2VyEi0KCH' + 'NpcF9kdG1mGAYgASgLMhAubGl2ZWtpdC5TaXBEVE1GSABSB3NpcER0bWYSPgoNdHJhbnNjcmlw' + 'dGlvbhgHIAEoCzIWLmxpdmVraXQuVHJhbnNjcmlwdGlvbkgAUg10cmFuc2NyaXB0aW9uEjEKB2' + '1ldHJpY3MYCCABKAsyFS5saXZla2l0Lk1ldHJpY3NCYXRjaEgAUgdtZXRyaWNzEjkKDGNoYXRf' + 'bWVzc2FnZRgJIAEoCzIULmxpdmVraXQuQ2hhdE1lc3NhZ2VIAFILY2hhdE1lc3NhZ2USNgoLcn' + 'BjX3JlcXVlc3QYCiABKAsyEy5saXZla2l0LlJwY1JlcXVlc3RIAFIKcnBjUmVxdWVzdBIqCgdy' + 'cGNfYWNrGAsgASgLMg8ubGl2ZWtpdC5ScGNBY2tIAFIGcnBjQWNrEjkKDHJwY19yZXNwb25zZR' + 'gMIAEoCzIULmxpdmVraXQuUnBjUmVzcG9uc2VIAFILcnBjUmVzcG9uc2USQQoNc3RyZWFtX2hl' + 'YWRlchgNIAEoCzIaLmxpdmVraXQuRGF0YVN0cmVhbS5IZWFkZXJIAFIMc3RyZWFtSGVhZGVyEj' + '4KDHN0cmVhbV9jaHVuaxgOIAEoCzIZLmxpdmVraXQuRGF0YVN0cmVhbS5DaHVua0gAUgtzdHJl' + 'YW1DaHVuaxJECg5zdHJlYW1fdHJhaWxlchgPIAEoCzIbLmxpdmVraXQuRGF0YVN0cmVhbS5Ucm' + 'FpbGVySABSDXN0cmVhbVRyYWlsZXISRQoQZW5jcnlwdGVkX3BhY2tldBgSIAEoCzIYLmxpdmVr' + 'aXQuRW5jcnlwdGVkUGFja2V0SABSD2VuY3J5cHRlZFBhY2tldBIaCghzZXF1ZW5jZRgQIAEoDV' + 'IIc2VxdWVuY2USJwoPcGFydGljaXBhbnRfc2lkGBEgASgJUg5wYXJ0aWNpcGFudFNpZCIfCgRL' + 'aW5kEgwKCFJFTElBQkxFEAASCQoFTE9TU1kQAUIHCgV2YWx1ZQ=='); @$core.Deprecated('Use encryptedPacketDescriptor instead') const EncryptedPacket$json = { '1': 'EncryptedPacket', '2': [ - { - '1': 'encryption_type', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.Encryption.Type', - '10': 'encryptionType' - }, + {'1': 'encryption_type', '3': 1, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryptionType'}, {'1': 'iv', '3': 2, '4': 1, '5': 12, '10': 'iv'}, {'1': 'key_index', '3': 3, '4': 1, '5': 13, '10': 'keyIndex'}, {'1': 'encrypted_value', '3': 4, '4': 1, '5': 12, '10': 'encryptedValue'}, @@ -1001,88 +747,24 @@ const EncryptedPacket$json = { }; /// Descriptor for `EncryptedPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptedPacketDescriptor = $convert.base64Decode( - 'Cg9FbmNyeXB0ZWRQYWNrZXQSQQoPZW5jcnlwdGlvbl90eXBlGAEgASgOMhgubGl2ZWtpdC5Fbm' - 'NyeXB0aW9uLlR5cGVSDmVuY3J5cHRpb25UeXBlEg4KAml2GAIgASgMUgJpdhIbCglrZXlfaW5k' - 'ZXgYAyABKA1SCGtleUluZGV4EicKD2VuY3J5cHRlZF92YWx1ZRgEIAEoDFIOZW5jcnlwdGVkVm' - 'FsdWU='); +final $typed_data.Uint8List encryptedPacketDescriptor = + $convert.base64Decode('Cg9FbmNyeXB0ZWRQYWNrZXQSQQoPZW5jcnlwdGlvbl90eXBlGAEgASgOMhgubGl2ZWtpdC5Fbm' + 'NyeXB0aW9uLlR5cGVSDmVuY3J5cHRpb25UeXBlEg4KAml2GAIgASgMUgJpdhIbCglrZXlfaW5k' + 'ZXgYAyABKA1SCGtleUluZGV4EicKD2VuY3J5cHRlZF92YWx1ZRgEIAEoDFIOZW5jcnlwdGVkVm' + 'FsdWU='); @$core.Deprecated('Use encryptedPacketPayloadDescriptor instead') const EncryptedPacketPayload$json = { '1': 'EncryptedPacketPayload', '2': [ - { - '1': 'user', - '3': 1, - '4': 1, - '5': 11, - '6': '.livekit.UserPacket', - '9': 0, - '10': 'user' - }, - { - '1': 'chat_message', - '3': 3, - '4': 1, - '5': 11, - '6': '.livekit.ChatMessage', - '9': 0, - '10': 'chatMessage' - }, - { - '1': 'rpc_request', - '3': 4, - '4': 1, - '5': 11, - '6': '.livekit.RpcRequest', - '9': 0, - '10': 'rpcRequest' - }, - { - '1': 'rpc_ack', - '3': 5, - '4': 1, - '5': 11, - '6': '.livekit.RpcAck', - '9': 0, - '10': 'rpcAck' - }, - { - '1': 'rpc_response', - '3': 6, - '4': 1, - '5': 11, - '6': '.livekit.RpcResponse', - '9': 0, - '10': 'rpcResponse' - }, - { - '1': 'stream_header', - '3': 7, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.Header', - '9': 0, - '10': 'streamHeader' - }, - { - '1': 'stream_chunk', - '3': 8, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.Chunk', - '9': 0, - '10': 'streamChunk' - }, - { - '1': 'stream_trailer', - '3': 9, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.Trailer', - '9': 0, - '10': 'streamTrailer' - }, + {'1': 'user', '3': 1, '4': 1, '5': 11, '6': '.livekit.UserPacket', '9': 0, '10': 'user'}, + {'1': 'chat_message', '3': 3, '4': 1, '5': 11, '6': '.livekit.ChatMessage', '9': 0, '10': 'chatMessage'}, + {'1': 'rpc_request', '3': 4, '4': 1, '5': 11, '6': '.livekit.RpcRequest', '9': 0, '10': 'rpcRequest'}, + {'1': 'rpc_ack', '3': 5, '4': 1, '5': 11, '6': '.livekit.RpcAck', '9': 0, '10': 'rpcAck'}, + {'1': 'rpc_response', '3': 6, '4': 1, '5': 11, '6': '.livekit.RpcResponse', '9': 0, '10': 'rpcResponse'}, + {'1': 'stream_header', '3': 7, '4': 1, '5': 11, '6': '.livekit.DataStream.Header', '9': 0, '10': 'streamHeader'}, + {'1': 'stream_chunk', '3': 8, '4': 1, '5': 11, '6': '.livekit.DataStream.Chunk', '9': 0, '10': 'streamChunk'}, + {'1': 'stream_trailer', '3': 9, '4': 1, '5': 11, '6': '.livekit.DataStream.Trailer', '9': 0, '10': 'streamTrailer'}, ], '8': [ {'1': 'value'}, @@ -1090,37 +772,30 @@ const EncryptedPacketPayload$json = { }; /// Descriptor for `EncryptedPacketPayload`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List encryptedPacketPayloadDescriptor = $convert.base64Decode( - 'ChZFbmNyeXB0ZWRQYWNrZXRQYXlsb2FkEikKBHVzZXIYASABKAsyEy5saXZla2l0LlVzZXJQYW' - 'NrZXRIAFIEdXNlchI5CgxjaGF0X21lc3NhZ2UYAyABKAsyFC5saXZla2l0LkNoYXRNZXNzYWdl' - 'SABSC2NoYXRNZXNzYWdlEjYKC3JwY19yZXF1ZXN0GAQgASgLMhMubGl2ZWtpdC5ScGNSZXF1ZX' - 'N0SABSCnJwY1JlcXVlc3QSKgoHcnBjX2FjaxgFIAEoCzIPLmxpdmVraXQuUnBjQWNrSABSBnJw' - 'Y0FjaxI5CgxycGNfcmVzcG9uc2UYBiABKAsyFC5saXZla2l0LlJwY1Jlc3BvbnNlSABSC3JwY1' - 'Jlc3BvbnNlEkEKDXN0cmVhbV9oZWFkZXIYByABKAsyGi5saXZla2l0LkRhdGFTdHJlYW0uSGVh' - 'ZGVySABSDHN0cmVhbUhlYWRlchI+CgxzdHJlYW1fY2h1bmsYCCABKAsyGS5saXZla2l0LkRhdG' - 'FTdHJlYW0uQ2h1bmtIAFILc3RyZWFtQ2h1bmsSRAoOc3RyZWFtX3RyYWlsZXIYCSABKAsyGy5s' - 'aXZla2l0LkRhdGFTdHJlYW0uVHJhaWxlckgAUg1zdHJlYW1UcmFpbGVyQgcKBXZhbHVl'); +final $typed_data.Uint8List encryptedPacketPayloadDescriptor = + $convert.base64Decode('ChZFbmNyeXB0ZWRQYWNrZXRQYXlsb2FkEikKBHVzZXIYASABKAsyEy5saXZla2l0LlVzZXJQYW' + 'NrZXRIAFIEdXNlchI5CgxjaGF0X21lc3NhZ2UYAyABKAsyFC5saXZla2l0LkNoYXRNZXNzYWdl' + 'SABSC2NoYXRNZXNzYWdlEjYKC3JwY19yZXF1ZXN0GAQgASgLMhMubGl2ZWtpdC5ScGNSZXF1ZX' + 'N0SABSCnJwY1JlcXVlc3QSKgoHcnBjX2FjaxgFIAEoCzIPLmxpdmVraXQuUnBjQWNrSABSBnJw' + 'Y0FjaxI5CgxycGNfcmVzcG9uc2UYBiABKAsyFC5saXZla2l0LlJwY1Jlc3BvbnNlSABSC3JwY1' + 'Jlc3BvbnNlEkEKDXN0cmVhbV9oZWFkZXIYByABKAsyGi5saXZla2l0LkRhdGFTdHJlYW0uSGVh' + 'ZGVySABSDHN0cmVhbUhlYWRlchI+CgxzdHJlYW1fY2h1bmsYCCABKAsyGS5saXZla2l0LkRhdG' + 'FTdHJlYW0uQ2h1bmtIAFILc3RyZWFtQ2h1bmsSRAoOc3RyZWFtX3RyYWlsZXIYCSABKAsyGy5s' + 'aXZla2l0LkRhdGFTdHJlYW0uVHJhaWxlckgAUg1zdHJlYW1UcmFpbGVyQgcKBXZhbHVl'); @$core.Deprecated('Use activeSpeakerUpdateDescriptor instead') const ActiveSpeakerUpdate$json = { '1': 'ActiveSpeakerUpdate', '2': [ - { - '1': 'speakers', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.SpeakerInfo', - '10': 'speakers' - }, + {'1': 'speakers', '3': 1, '4': 3, '5': 11, '6': '.livekit.SpeakerInfo', '10': 'speakers'}, ], '7': {'3': true}, }; /// Descriptor for `ActiveSpeakerUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List activeSpeakerUpdateDescriptor = $convert.base64Decode( - 'ChNBY3RpdmVTcGVha2VyVXBkYXRlEjAKCHNwZWFrZXJzGAEgAygLMhQubGl2ZWtpdC5TcGVha2' - 'VySW5mb1IIc3BlYWtlcnM6AhgB'); +final $typed_data.Uint8List activeSpeakerUpdateDescriptor = + $convert.base64Decode('ChNBY3RpdmVTcGVha2VyVXBkYXRlEjAKCHNwZWFrZXJzGAEgAygLMhQubGl2ZWtpdC5TcGVha2' + 'VySW5mb1IIc3BlYWtlcnM6AhgB'); @$core.Deprecated('Use speakerInfoDescriptor instead') const SpeakerInfo$json = { @@ -1133,9 +808,9 @@ const SpeakerInfo$json = { }; /// Descriptor for `SpeakerInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List speakerInfoDescriptor = $convert.base64Decode( - 'CgtTcGVha2VySW5mbxIQCgNzaWQYASABKAlSA3NpZBIUCgVsZXZlbBgCIAEoAlIFbGV2ZWwSFg' - 'oGYWN0aXZlGAMgASgIUgZhY3RpdmU='); +final $typed_data.Uint8List speakerInfoDescriptor = + $convert.base64Decode('CgtTcGVha2VySW5mbxIQCgNzaWQYASABKAlSA3NpZBIUCgVsZXZlbBgCIAEoAlIFbGV2ZWwSFg' + 'oGYWN0aXZlGAMgASgIUgZhY3RpdmU='); @$core.Deprecated('Use userPacketDescriptor instead') const UserPacket$json = { @@ -1176,24 +851,8 @@ const UserPacket$json = { }, {'1': 'topic', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'topic', '17': true}, {'1': 'id', '3': 8, '4': 1, '5': 9, '9': 1, '10': 'id', '17': true}, - { - '1': 'start_time', - '3': 9, - '4': 1, - '5': 4, - '9': 2, - '10': 'startTime', - '17': true - }, - { - '1': 'end_time', - '3': 10, - '4': 1, - '5': 4, - '9': 3, - '10': 'endTime', - '17': true - }, + {'1': 'start_time', '3': 9, '4': 1, '5': 4, '9': 2, '10': 'startTime', '17': true}, + {'1': 'end_time', '3': 10, '4': 1, '5': 4, '9': 3, '10': 'endTime', '17': true}, {'1': 'nonce', '3': 11, '4': 1, '5': 12, '10': 'nonce'}, ], '8': [ @@ -1205,15 +864,15 @@ const UserPacket$json = { }; /// Descriptor for `UserPacket`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List userPacketDescriptor = $convert.base64Decode( - 'CgpVc2VyUGFja2V0EisKD3BhcnRpY2lwYW50X3NpZBgBIAEoCUICGAFSDnBhcnRpY2lwYW50U2' - 'lkEjUKFHBhcnRpY2lwYW50X2lkZW50aXR5GAUgASgJQgIYAVITcGFydGljaXBhbnRJZGVudGl0' - 'eRIYCgdwYXlsb2FkGAIgASgMUgdwYXlsb2FkEi0KEGRlc3RpbmF0aW9uX3NpZHMYAyADKAlCAh' - 'gBUg9kZXN0aW5hdGlvblNpZHMSOQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgGIAMoCUICGAFS' - 'FWRlc3RpbmF0aW9uSWRlbnRpdGllcxIZCgV0b3BpYxgEIAEoCUgAUgV0b3BpY4gBARITCgJpZB' - 'gIIAEoCUgBUgJpZIgBARIiCgpzdGFydF90aW1lGAkgASgESAJSCXN0YXJ0VGltZYgBARIeCghl' - 'bmRfdGltZRgKIAEoBEgDUgdlbmRUaW1liAEBEhQKBW5vbmNlGAsgASgMUgVub25jZUIICgZfdG' - '9waWNCBQoDX2lkQg0KC19zdGFydF90aW1lQgsKCV9lbmRfdGltZQ=='); +final $typed_data.Uint8List userPacketDescriptor = + $convert.base64Decode('CgpVc2VyUGFja2V0EisKD3BhcnRpY2lwYW50X3NpZBgBIAEoCUICGAFSDnBhcnRpY2lwYW50U2' + 'lkEjUKFHBhcnRpY2lwYW50X2lkZW50aXR5GAUgASgJQgIYAVITcGFydGljaXBhbnRJZGVudGl0' + 'eRIYCgdwYXlsb2FkGAIgASgMUgdwYXlsb2FkEi0KEGRlc3RpbmF0aW9uX3NpZHMYAyADKAlCAh' + 'gBUg9kZXN0aW5hdGlvblNpZHMSOQoWZGVzdGluYXRpb25faWRlbnRpdGllcxgGIAMoCUICGAFS' + 'FWRlc3RpbmF0aW9uSWRlbnRpdGllcxIZCgV0b3BpYxgEIAEoCUgAUgV0b3BpY4gBARITCgJpZB' + 'gIIAEoCUgBUgJpZIgBARIiCgpzdGFydF90aW1lGAkgASgESAJSCXN0YXJ0VGltZYgBARIeCghl' + 'bmRfdGltZRgKIAEoBEgDUgdlbmRUaW1liAEBEhQKBW5vbmNlGAsgASgMUgVub25jZUIICgZfdG' + '9waWNCBQoDX2lkQg0KC19zdGFydF90aW1lQgsKCV9lbmRfdGltZQ=='); @$core.Deprecated('Use sipDTMFDescriptor instead') const SipDTMF$json = { @@ -1225,38 +884,25 @@ const SipDTMF$json = { }; /// Descriptor for `SipDTMF`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sipDTMFDescriptor = $convert.base64Decode( - 'CgdTaXBEVE1GEhIKBGNvZGUYAyABKA1SBGNvZGUSFAoFZGlnaXQYBCABKAlSBWRpZ2l0'); +final $typed_data.Uint8List sipDTMFDescriptor = + $convert.base64Decode('CgdTaXBEVE1GEhIKBGNvZGUYAyABKA1SBGNvZGUSFAoFZGlnaXQYBCABKAlSBWRpZ2l0'); @$core.Deprecated('Use transcriptionDescriptor instead') const Transcription$json = { '1': 'Transcription', '2': [ - { - '1': 'transcribed_participant_identity', - '3': 2, - '4': 1, - '5': 9, - '10': 'transcribedParticipantIdentity' - }, + {'1': 'transcribed_participant_identity', '3': 2, '4': 1, '5': 9, '10': 'transcribedParticipantIdentity'}, {'1': 'track_id', '3': 3, '4': 1, '5': 9, '10': 'trackId'}, - { - '1': 'segments', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.TranscriptionSegment', - '10': 'segments' - }, + {'1': 'segments', '3': 4, '4': 3, '5': 11, '6': '.livekit.TranscriptionSegment', '10': 'segments'}, ], }; /// Descriptor for `Transcription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transcriptionDescriptor = $convert.base64Decode( - 'Cg1UcmFuc2NyaXB0aW9uEkgKIHRyYW5zY3JpYmVkX3BhcnRpY2lwYW50X2lkZW50aXR5GAIgAS' - 'gJUh50cmFuc2NyaWJlZFBhcnRpY2lwYW50SWRlbnRpdHkSGQoIdHJhY2tfaWQYAyABKAlSB3Ry' - 'YWNrSWQSOQoIc2VnbWVudHMYBCADKAsyHS5saXZla2l0LlRyYW5zY3JpcHRpb25TZWdtZW50Ug' - 'hzZWdtZW50cw=='); +final $typed_data.Uint8List transcriptionDescriptor = + $convert.base64Decode('Cg1UcmFuc2NyaXB0aW9uEkgKIHRyYW5zY3JpYmVkX3BhcnRpY2lwYW50X2lkZW50aXR5GAIgAS' + 'gJUh50cmFuc2NyaWJlZFBhcnRpY2lwYW50SWRlbnRpdHkSGQoIdHJhY2tfaWQYAyABKAlSB3Ry' + 'YWNrSWQSOQoIc2VnbWVudHMYBCADKAsyHS5saXZla2l0LlRyYW5zY3JpcHRpb25TZWdtZW50Ug' + 'hzZWdtZW50cw=='); @$core.Deprecated('Use transcriptionSegmentDescriptor instead') const TranscriptionSegment$json = { @@ -1272,11 +918,11 @@ const TranscriptionSegment$json = { }; /// Descriptor for `TranscriptionSegment`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transcriptionSegmentDescriptor = $convert.base64Decode( - 'ChRUcmFuc2NyaXB0aW9uU2VnbWVudBIOCgJpZBgBIAEoCVICaWQSEgoEdGV4dBgCIAEoCVIEdG' - 'V4dBIdCgpzdGFydF90aW1lGAMgASgEUglzdGFydFRpbWUSGQoIZW5kX3RpbWUYBCABKARSB2Vu' - 'ZFRpbWUSFAoFZmluYWwYBSABKAhSBWZpbmFsEhoKCGxhbmd1YWdlGAYgASgJUghsYW5ndWFnZQ' - '=='); +final $typed_data.Uint8List transcriptionSegmentDescriptor = + $convert.base64Decode('ChRUcmFuc2NyaXB0aW9uU2VnbWVudBIOCgJpZBgBIAEoCVICaWQSEgoEdGV4dBgCIAEoCVIEdG' + 'V4dBIdCgpzdGFydF90aW1lGAMgASgEUglzdGFydFRpbWUSGQoIZW5kX3RpbWUYBCABKARSB2Vu' + 'ZFRpbWUSFAoFZmluYWwYBSABKAhSBWZpbmFsEhoKCGxhbmd1YWdlGAYgASgJUghsYW5ndWFnZQ' + '=='); @$core.Deprecated('Use chatMessageDescriptor instead') const ChatMessage$json = { @@ -1284,15 +930,7 @@ const ChatMessage$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, - { - '1': 'edit_timestamp', - '3': 3, - '4': 1, - '5': 3, - '9': 0, - '10': 'editTimestamp', - '17': true - }, + {'1': 'edit_timestamp', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'editTimestamp', '17': true}, {'1': 'message', '3': 4, '4': 1, '5': 9, '10': 'message'}, {'1': 'deleted', '3': 5, '4': 1, '5': 8, '10': 'deleted'}, {'1': 'generated', '3': 6, '4': 1, '5': 8, '10': 'generated'}, @@ -1303,11 +941,11 @@ const ChatMessage$json = { }; /// Descriptor for `ChatMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List chatMessageDescriptor = $convert.base64Decode( - 'CgtDaGF0TWVzc2FnZRIOCgJpZBgBIAEoCVICaWQSHAoJdGltZXN0YW1wGAIgASgDUgl0aW1lc3' - 'RhbXASKgoOZWRpdF90aW1lc3RhbXAYAyABKANIAFINZWRpdFRpbWVzdGFtcIgBARIYCgdtZXNz' - 'YWdlGAQgASgJUgdtZXNzYWdlEhgKB2RlbGV0ZWQYBSABKAhSB2RlbGV0ZWQSHAoJZ2VuZXJhdG' - 'VkGAYgASgIUglnZW5lcmF0ZWRCEQoPX2VkaXRfdGltZXN0YW1w'); +final $typed_data.Uint8List chatMessageDescriptor = + $convert.base64Decode('CgtDaGF0TWVzc2FnZRIOCgJpZBgBIAEoCVICaWQSHAoJdGltZXN0YW1wGAIgASgDUgl0aW1lc3' + 'RhbXASKgoOZWRpdF90aW1lc3RhbXAYAyABKANIAFINZWRpdFRpbWVzdGFtcIgBARIYCgdtZXNz' + 'YWdlGAQgASgJUgdtZXNzYWdlEhgKB2RlbGV0ZWQYBSABKAhSB2RlbGV0ZWQSHAoJZ2VuZXJhdG' + 'VkGAYgASgIUglnZW5lcmF0ZWRCEQoPX2VkaXRfdGltZXN0YW1w'); @$core.Deprecated('Use rpcRequestDescriptor instead') const RpcRequest$json = { @@ -1316,22 +954,16 @@ const RpcRequest$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'method', '3': 2, '4': 1, '5': 9, '10': 'method'}, {'1': 'payload', '3': 3, '4': 1, '5': 9, '10': 'payload'}, - { - '1': 'response_timeout_ms', - '3': 4, - '4': 1, - '5': 13, - '10': 'responseTimeoutMs' - }, + {'1': 'response_timeout_ms', '3': 4, '4': 1, '5': 13, '10': 'responseTimeoutMs'}, {'1': 'version', '3': 5, '4': 1, '5': 13, '10': 'version'}, ], }; /// Descriptor for `RpcRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcRequestDescriptor = $convert.base64Decode( - 'CgpScGNSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZBIYCg' - 'dwYXlsb2FkGAMgASgJUgdwYXlsb2FkEi4KE3Jlc3BvbnNlX3RpbWVvdXRfbXMYBCABKA1SEXJl' - 'c3BvbnNlVGltZW91dE1zEhgKB3ZlcnNpb24YBSABKA1SB3ZlcnNpb24='); +final $typed_data.Uint8List rpcRequestDescriptor = + $convert.base64Decode('CgpScGNSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZBIYCg' + 'dwYXlsb2FkGAMgASgJUgdwYXlsb2FkEi4KE3Jlc3BvbnNlX3RpbWVvdXRfbXMYBCABKA1SEXJl' + 'c3BvbnNlVGltZW91dE1zEhgKB3ZlcnNpb24YBSABKA1SB3ZlcnNpb24='); @$core.Deprecated('Use rpcAckDescriptor instead') const RpcAck$json = { @@ -1342,8 +974,8 @@ const RpcAck$json = { }; /// Descriptor for `RpcAck`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcAckDescriptor = $convert - .base64Decode('CgZScGNBY2sSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElk'); +final $typed_data.Uint8List rpcAckDescriptor = + $convert.base64Decode('CgZScGNBY2sSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElk'); @$core.Deprecated('Use rpcResponseDescriptor instead') const RpcResponse$json = { @@ -1351,15 +983,7 @@ const RpcResponse$json = { '2': [ {'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'}, {'1': 'payload', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'payload'}, - { - '1': 'error', - '3': 3, - '4': 1, - '5': 11, - '6': '.livekit.RpcError', - '9': 0, - '10': 'error' - }, + {'1': 'error', '3': 3, '4': 1, '5': 11, '6': '.livekit.RpcError', '9': 0, '10': 'error'}, ], '8': [ {'1': 'value'}, @@ -1367,10 +991,10 @@ const RpcResponse$json = { }; /// Descriptor for `RpcResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcResponseDescriptor = $convert.base64Decode( - 'CgtScGNSZXNwb25zZRIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSGgoHcGF5bG9hZB' - 'gCIAEoCUgAUgdwYXlsb2FkEikKBWVycm9yGAMgASgLMhEubGl2ZWtpdC5ScGNFcnJvckgAUgVl' - 'cnJvckIHCgV2YWx1ZQ=='); +final $typed_data.Uint8List rpcResponseDescriptor = + $convert.base64Decode('CgtScGNSZXNwb25zZRIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSGgoHcGF5bG9hZB' + 'gCIAEoCUgAUgdwYXlsb2FkEikKBWVycm9yGAMgASgLMhEubGl2ZWtpdC5ScGNFcnJvckgAUgVl' + 'cnJvckIHCgV2YWx1ZQ=='); @$core.Deprecated('Use rpcErrorDescriptor instead') const RpcError$json = { @@ -1383,9 +1007,9 @@ const RpcError$json = { }; /// Descriptor for `RpcError`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rpcErrorDescriptor = $convert.base64Decode( - 'CghScGNFcnJvchISCgRjb2RlGAEgASgNUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2' - 'USEgoEZGF0YRgDIAEoCVIEZGF0YQ=='); +final $typed_data.Uint8List rpcErrorDescriptor = + $convert.base64Decode('CghScGNFcnJvchISCgRjb2RlGAEgASgNUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2' + 'USEgoEZGF0YRgDIAEoCVIEZGF0YQ=='); @$core.Deprecated('Use participantTracksDescriptor instead') const ParticipantTracks$json = { @@ -1397,22 +1021,15 @@ const ParticipantTracks$json = { }; /// Descriptor for `ParticipantTracks`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantTracksDescriptor = $convert.base64Decode( - 'ChFQYXJ0aWNpcGFudFRyYWNrcxInCg9wYXJ0aWNpcGFudF9zaWQYASABKAlSDnBhcnRpY2lwYW' - '50U2lkEh0KCnRyYWNrX3NpZHMYAiADKAlSCXRyYWNrU2lkcw=='); +final $typed_data.Uint8List participantTracksDescriptor = + $convert.base64Decode('ChFQYXJ0aWNpcGFudFRyYWNrcxInCg9wYXJ0aWNpcGFudF9zaWQYASABKAlSDnBhcnRpY2lwYW' + '50U2lkEh0KCnRyYWNrX3NpZHMYAiADKAlSCXRyYWNrU2lkcw=='); @$core.Deprecated('Use serverInfoDescriptor instead') const ServerInfo$json = { '1': 'ServerInfo', '2': [ - { - '1': 'edition', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.ServerInfo.Edition', - '10': 'edition' - }, + {'1': 'edition', '3': 1, '4': 1, '5': 14, '6': '.livekit.ServerInfo.Edition', '10': 'edition'}, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'protocol', '3': 3, '4': 1, '5': 5, '10': 'protocol'}, {'1': 'region', '3': 4, '4': 1, '5': 9, '10': 'region'}, @@ -1433,25 +1050,18 @@ const ServerInfo_Edition$json = { }; /// Descriptor for `ServerInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serverInfoDescriptor = $convert.base64Decode( - 'CgpTZXJ2ZXJJbmZvEjUKB2VkaXRpb24YASABKA4yGy5saXZla2l0LlNlcnZlckluZm8uRWRpdG' - 'lvblIHZWRpdGlvbhIYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgF' - 'Ughwcm90b2NvbBIWCgZyZWdpb24YBCABKAlSBnJlZ2lvbhIXCgdub2RlX2lkGAUgASgJUgZub2' - 'RlSWQSHQoKZGVidWdfaW5mbxgGIAEoCVIJZGVidWdJbmZvEiUKDmFnZW50X3Byb3RvY29sGAcg' - 'ASgFUg1hZ2VudFByb3RvY29sIiIKB0VkaXRpb24SDAoIU3RhbmRhcmQQABIJCgVDbG91ZBAB'); +final $typed_data.Uint8List serverInfoDescriptor = + $convert.base64Decode('CgpTZXJ2ZXJJbmZvEjUKB2VkaXRpb24YASABKA4yGy5saXZla2l0LlNlcnZlckluZm8uRWRpdG' + 'lvblIHZWRpdGlvbhIYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgF' + 'Ughwcm90b2NvbBIWCgZyZWdpb24YBCABKAlSBnJlZ2lvbhIXCgdub2RlX2lkGAUgASgJUgZub2' + 'RlSWQSHQoKZGVidWdfaW5mbxgGIAEoCVIJZGVidWdJbmZvEiUKDmFnZW50X3Byb3RvY29sGAcg' + 'ASgFUg1hZ2VudFByb3RvY29sIiIKB0VkaXRpb24SDAoIU3RhbmRhcmQQABIJCgVDbG91ZBAB'); @$core.Deprecated('Use clientInfoDescriptor instead') const ClientInfo$json = { '1': 'ClientInfo', '2': [ - { - '1': 'sdk', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.ClientInfo.SDK', - '10': 'sdk' - }, + {'1': 'sdk', '3': 1, '4': 1, '5': 14, '6': '.livekit.ClientInfo.SDK', '10': 'sdk'}, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'protocol', '3': 3, '4': 1, '5': 5, '10': 'protocol'}, {'1': 'os', '3': 4, '4': 1, '5': 9, '10': 'os'}, @@ -1489,142 +1099,72 @@ const ClientInfo_SDK$json = { }; /// Descriptor for `ClientInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientInfoDescriptor = $convert.base64Decode( - 'CgpDbGllbnRJbmZvEikKA3NkaxgBIAEoDjIXLmxpdmVraXQuQ2xpZW50SW5mby5TREtSA3Nkax' - 'IYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgFUghwcm90b2NvbBIO' - 'CgJvcxgEIAEoCVICb3MSHQoKb3NfdmVyc2lvbhgFIAEoCVIJb3NWZXJzaW9uEiEKDGRldmljZV' - '9tb2RlbBgGIAEoCVILZGV2aWNlTW9kZWwSGAoHYnJvd3NlchgHIAEoCVIHYnJvd3NlchInCg9i' - 'cm93c2VyX3ZlcnNpb24YCCABKAlSDmJyb3dzZXJWZXJzaW9uEhgKB2FkZHJlc3MYCSABKAlSB2' - 'FkZHJlc3MSGAoHbmV0d29yaxgKIAEoCVIHbmV0d29yaxIdCgpvdGhlcl9zZGtzGAsgASgJUglv' - 'dGhlclNka3MiswEKA1NESxILCgdVTktOT1dOEAASBgoCSlMQARIJCgVTV0lGVBACEgsKB0FORF' - 'JPSUQQAxILCgdGTFVUVEVSEAQSBgoCR08QBRIJCgVVTklUWRAGEhAKDFJFQUNUX05BVElWRRAH' - 'EggKBFJVU1QQCBIKCgZQWVRIT04QCRIHCgNDUFAQChINCglVTklUWV9XRUIQCxIICgROT0RFEA' - 'wSCgoGVU5SRUFMEA0SCQoFRVNQMzIQDg=='); +final $typed_data.Uint8List clientInfoDescriptor = + $convert.base64Decode('CgpDbGllbnRJbmZvEikKA3NkaxgBIAEoDjIXLmxpdmVraXQuQ2xpZW50SW5mby5TREtSA3Nkax' + 'IYCgd2ZXJzaW9uGAIgASgJUgd2ZXJzaW9uEhoKCHByb3RvY29sGAMgASgFUghwcm90b2NvbBIO' + 'CgJvcxgEIAEoCVICb3MSHQoKb3NfdmVyc2lvbhgFIAEoCVIJb3NWZXJzaW9uEiEKDGRldmljZV' + '9tb2RlbBgGIAEoCVILZGV2aWNlTW9kZWwSGAoHYnJvd3NlchgHIAEoCVIHYnJvd3NlchInCg9i' + 'cm93c2VyX3ZlcnNpb24YCCABKAlSDmJyb3dzZXJWZXJzaW9uEhgKB2FkZHJlc3MYCSABKAlSB2' + 'FkZHJlc3MSGAoHbmV0d29yaxgKIAEoCVIHbmV0d29yaxIdCgpvdGhlcl9zZGtzGAsgASgJUglv' + 'dGhlclNka3MiswEKA1NESxILCgdVTktOT1dOEAASBgoCSlMQARIJCgVTV0lGVBACEgsKB0FORF' + 'JPSUQQAxILCgdGTFVUVEVSEAQSBgoCR08QBRIJCgVVTklUWRAGEhAKDFJFQUNUX05BVElWRRAH' + 'EggKBFJVU1QQCBIKCgZQWVRIT04QCRIHCgNDUFAQChINCglVTklUWV9XRUIQCxIICgROT0RFEA' + 'wSCgoGVU5SRUFMEA0SCQoFRVNQMzIQDg=='); @$core.Deprecated('Use clientConfigurationDescriptor instead') const ClientConfiguration$json = { '1': 'ClientConfiguration', '2': [ - { - '1': 'video', - '3': 1, - '4': 1, - '5': 11, - '6': '.livekit.VideoConfiguration', - '10': 'video' - }, - { - '1': 'screen', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.VideoConfiguration', - '10': 'screen' - }, - { - '1': 'resume_connection', - '3': 3, - '4': 1, - '5': 14, - '6': '.livekit.ClientConfigSetting', - '10': 'resumeConnection' - }, - { - '1': 'disabled_codecs', - '3': 4, - '4': 1, - '5': 11, - '6': '.livekit.DisabledCodecs', - '10': 'disabledCodecs' - }, - { - '1': 'force_relay', - '3': 5, - '4': 1, - '5': 14, - '6': '.livekit.ClientConfigSetting', - '10': 'forceRelay' - }, + {'1': 'video', '3': 1, '4': 1, '5': 11, '6': '.livekit.VideoConfiguration', '10': 'video'}, + {'1': 'screen', '3': 2, '4': 1, '5': 11, '6': '.livekit.VideoConfiguration', '10': 'screen'}, + {'1': 'resume_connection', '3': 3, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'resumeConnection'}, + {'1': 'disabled_codecs', '3': 4, '4': 1, '5': 11, '6': '.livekit.DisabledCodecs', '10': 'disabledCodecs'}, + {'1': 'force_relay', '3': 5, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'forceRelay'}, ], }; /// Descriptor for `ClientConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientConfigurationDescriptor = $convert.base64Decode( - 'ChNDbGllbnRDb25maWd1cmF0aW9uEjEKBXZpZGVvGAEgASgLMhsubGl2ZWtpdC5WaWRlb0Nvbm' - 'ZpZ3VyYXRpb25SBXZpZGVvEjMKBnNjcmVlbhgCIAEoCzIbLmxpdmVraXQuVmlkZW9Db25maWd1' - 'cmF0aW9uUgZzY3JlZW4SSQoRcmVzdW1lX2Nvbm5lY3Rpb24YAyABKA4yHC5saXZla2l0LkNsaW' - 'VudENvbmZpZ1NldHRpbmdSEHJlc3VtZUNvbm5lY3Rpb24SQAoPZGlzYWJsZWRfY29kZWNzGAQg' - 'ASgLMhcubGl2ZWtpdC5EaXNhYmxlZENvZGVjc1IOZGlzYWJsZWRDb2RlY3MSPQoLZm9yY2Vfcm' - 'VsYXkYBSABKA4yHC5saXZla2l0LkNsaWVudENvbmZpZ1NldHRpbmdSCmZvcmNlUmVsYXk='); +final $typed_data.Uint8List clientConfigurationDescriptor = + $convert.base64Decode('ChNDbGllbnRDb25maWd1cmF0aW9uEjEKBXZpZGVvGAEgASgLMhsubGl2ZWtpdC5WaWRlb0Nvbm' + 'ZpZ3VyYXRpb25SBXZpZGVvEjMKBnNjcmVlbhgCIAEoCzIbLmxpdmVraXQuVmlkZW9Db25maWd1' + 'cmF0aW9uUgZzY3JlZW4SSQoRcmVzdW1lX2Nvbm5lY3Rpb24YAyABKA4yHC5saXZla2l0LkNsaW' + 'VudENvbmZpZ1NldHRpbmdSEHJlc3VtZUNvbm5lY3Rpb24SQAoPZGlzYWJsZWRfY29kZWNzGAQg' + 'ASgLMhcubGl2ZWtpdC5EaXNhYmxlZENvZGVjc1IOZGlzYWJsZWRDb2RlY3MSPQoLZm9yY2Vfcm' + 'VsYXkYBSABKA4yHC5saXZla2l0LkNsaWVudENvbmZpZ1NldHRpbmdSCmZvcmNlUmVsYXk='); @$core.Deprecated('Use videoConfigurationDescriptor instead') const VideoConfiguration$json = { '1': 'VideoConfiguration', '2': [ - { - '1': 'hardware_encoder', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.ClientConfigSetting', - '10': 'hardwareEncoder' - }, + {'1': 'hardware_encoder', '3': 1, '4': 1, '5': 14, '6': '.livekit.ClientConfigSetting', '10': 'hardwareEncoder'}, ], }; /// Descriptor for `VideoConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List videoConfigurationDescriptor = $convert.base64Decode( - 'ChJWaWRlb0NvbmZpZ3VyYXRpb24SRwoQaGFyZHdhcmVfZW5jb2RlchgBIAEoDjIcLmxpdmVraX' - 'QuQ2xpZW50Q29uZmlnU2V0dGluZ1IPaGFyZHdhcmVFbmNvZGVy'); +final $typed_data.Uint8List videoConfigurationDescriptor = + $convert.base64Decode('ChJWaWRlb0NvbmZpZ3VyYXRpb24SRwoQaGFyZHdhcmVfZW5jb2RlchgBIAEoDjIcLmxpdmVraX' + 'QuQ2xpZW50Q29uZmlnU2V0dGluZ1IPaGFyZHdhcmVFbmNvZGVy'); @$core.Deprecated('Use disabledCodecsDescriptor instead') const DisabledCodecs$json = { '1': 'DisabledCodecs', '2': [ - { - '1': 'codecs', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.Codec', - '10': 'codecs' - }, - { - '1': 'publish', - '3': 2, - '4': 3, - '5': 11, - '6': '.livekit.Codec', - '10': 'publish' - }, + {'1': 'codecs', '3': 1, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'codecs'}, + {'1': 'publish', '3': 2, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'publish'}, ], }; /// Descriptor for `DisabledCodecs`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disabledCodecsDescriptor = $convert.base64Decode( - 'Cg5EaXNhYmxlZENvZGVjcxImCgZjb2RlY3MYASADKAsyDi5saXZla2l0LkNvZGVjUgZjb2RlY3' - 'MSKAoHcHVibGlzaBgCIAMoCzIOLmxpdmVraXQuQ29kZWNSB3B1Ymxpc2g='); +final $typed_data.Uint8List disabledCodecsDescriptor = + $convert.base64Decode('Cg5EaXNhYmxlZENvZGVjcxImCgZjb2RlY3MYASADKAsyDi5saXZla2l0LkNvZGVjUgZjb2RlY3' + 'MSKAoHcHVibGlzaBgCIAMoCzIOLmxpdmVraXQuQ29kZWNSB3B1Ymxpc2g='); @$core.Deprecated('Use rTPDriftDescriptor instead') const RTPDrift$json = { '1': 'RTPDrift', '2': [ - { - '1': 'start_time', - '3': 1, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'startTime' - }, - { - '1': 'end_time', - '3': 2, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'endTime' - }, + {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, + {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, {'1': 'duration', '3': 3, '4': 1, '5': 1, '10': 'duration'}, {'1': 'start_timestamp', '3': 4, '4': 1, '5': 4, '10': 'startTimestamp'}, {'1': 'end_timestamp', '3': 5, '4': 1, '5': 4, '10': 'endTimestamp'}, @@ -1636,35 +1176,21 @@ const RTPDrift$json = { }; /// Descriptor for `RTPDrift`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPDriftDescriptor = $convert.base64Decode( - 'CghSVFBEcmlmdBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SJwoPc3RhcnRfdGltZX' - 'N0YW1wGAQgASgEUg5zdGFydFRpbWVzdGFtcBIjCg1lbmRfdGltZXN0YW1wGAUgASgEUgxlbmRU' - 'aW1lc3RhbXASJgoPcnRwX2Nsb2NrX3RpY2tzGAYgASgEUg1ydHBDbG9ja1RpY2tzEiMKDWRyaW' - 'Z0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' - 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); +final $typed_data.Uint8List rTPDriftDescriptor = + $convert.base64Decode('CghSVFBEcmlmdBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' + 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' + 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SJwoPc3RhcnRfdGltZX' + 'N0YW1wGAQgASgEUg5zdGFydFRpbWVzdGFtcBIjCg1lbmRfdGltZXN0YW1wGAUgASgEUgxlbmRU' + 'aW1lc3RhbXASJgoPcnRwX2Nsb2NrX3RpY2tzGAYgASgEUg1ydHBDbG9ja1RpY2tzEiMKDWRyaW' + 'Z0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' + 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); @$core.Deprecated('Use rTPStatsDescriptor instead') const RTPStats$json = { '1': 'RTPStats', '2': [ - { - '1': 'start_time', - '3': 1, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'startTime' - }, - { - '1': 'end_time', - '3': 2, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'endTime' - }, + {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, + {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, {'1': 'duration', '3': 3, '4': 1, '5': 1, '10': 'duration'}, {'1': 'packets', '3': 4, '4': 1, '5': 13, '10': 'packets'}, {'1': 'packet_rate', '3': 5, '4': 1, '5': 1, '10': 'packetRate'}, @@ -1673,152 +1199,41 @@ const RTPStats$json = { {'1': 'bitrate', '3': 7, '4': 1, '5': 1, '10': 'bitrate'}, {'1': 'packets_lost', '3': 8, '4': 1, '5': 13, '10': 'packetsLost'}, {'1': 'packet_loss_rate', '3': 9, '4': 1, '5': 1, '10': 'packetLossRate'}, - { - '1': 'packet_loss_percentage', - '3': 10, - '4': 1, - '5': 2, - '10': 'packetLossPercentage' - }, - { - '1': 'packets_duplicate', - '3': 11, - '4': 1, - '5': 13, - '10': 'packetsDuplicate' - }, - { - '1': 'packet_duplicate_rate', - '3': 12, - '4': 1, - '5': 1, - '10': 'packetDuplicateRate' - }, + {'1': 'packet_loss_percentage', '3': 10, '4': 1, '5': 2, '10': 'packetLossPercentage'}, + {'1': 'packets_duplicate', '3': 11, '4': 1, '5': 13, '10': 'packetsDuplicate'}, + {'1': 'packet_duplicate_rate', '3': 12, '4': 1, '5': 1, '10': 'packetDuplicateRate'}, {'1': 'bytes_duplicate', '3': 13, '4': 1, '5': 4, '10': 'bytesDuplicate'}, - { - '1': 'header_bytes_duplicate', - '3': 40, - '4': 1, - '5': 4, - '10': 'headerBytesDuplicate' - }, - { - '1': 'bitrate_duplicate', - '3': 14, - '4': 1, - '5': 1, - '10': 'bitrateDuplicate' - }, + {'1': 'header_bytes_duplicate', '3': 40, '4': 1, '5': 4, '10': 'headerBytesDuplicate'}, + {'1': 'bitrate_duplicate', '3': 14, '4': 1, '5': 1, '10': 'bitrateDuplicate'}, {'1': 'packets_padding', '3': 15, '4': 1, '5': 13, '10': 'packetsPadding'}, - { - '1': 'packet_padding_rate', - '3': 16, - '4': 1, - '5': 1, - '10': 'packetPaddingRate' - }, + {'1': 'packet_padding_rate', '3': 16, '4': 1, '5': 1, '10': 'packetPaddingRate'}, {'1': 'bytes_padding', '3': 17, '4': 1, '5': 4, '10': 'bytesPadding'}, - { - '1': 'header_bytes_padding', - '3': 41, - '4': 1, - '5': 4, - '10': 'headerBytesPadding' - }, + {'1': 'header_bytes_padding', '3': 41, '4': 1, '5': 4, '10': 'headerBytesPadding'}, {'1': 'bitrate_padding', '3': 18, '4': 1, '5': 1, '10': 'bitratePadding'}, - { - '1': 'packets_out_of_order', - '3': 19, - '4': 1, - '5': 13, - '10': 'packetsOutOfOrder' - }, + {'1': 'packets_out_of_order', '3': 19, '4': 1, '5': 13, '10': 'packetsOutOfOrder'}, {'1': 'frames', '3': 20, '4': 1, '5': 13, '10': 'frames'}, {'1': 'frame_rate', '3': 21, '4': 1, '5': 1, '10': 'frameRate'}, {'1': 'jitter_current', '3': 22, '4': 1, '5': 1, '10': 'jitterCurrent'}, {'1': 'jitter_max', '3': 23, '4': 1, '5': 1, '10': 'jitterMax'}, - { - '1': 'gap_histogram', - '3': 24, - '4': 3, - '5': 11, - '6': '.livekit.RTPStats.GapHistogramEntry', - '10': 'gapHistogram' - }, + {'1': 'gap_histogram', '3': 24, '4': 3, '5': 11, '6': '.livekit.RTPStats.GapHistogramEntry', '10': 'gapHistogram'}, {'1': 'nacks', '3': 25, '4': 1, '5': 13, '10': 'nacks'}, {'1': 'nack_acks', '3': 37, '4': 1, '5': 13, '10': 'nackAcks'}, {'1': 'nack_misses', '3': 26, '4': 1, '5': 13, '10': 'nackMisses'}, {'1': 'nack_repeated', '3': 38, '4': 1, '5': 13, '10': 'nackRepeated'}, {'1': 'plis', '3': 27, '4': 1, '5': 13, '10': 'plis'}, - { - '1': 'last_pli', - '3': 28, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'lastPli' - }, + {'1': 'last_pli', '3': 28, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastPli'}, {'1': 'firs', '3': 29, '4': 1, '5': 13, '10': 'firs'}, - { - '1': 'last_fir', - '3': 30, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'lastFir' - }, + {'1': 'last_fir', '3': 30, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastFir'}, {'1': 'rtt_current', '3': 31, '4': 1, '5': 13, '10': 'rttCurrent'}, {'1': 'rtt_max', '3': 32, '4': 1, '5': 13, '10': 'rttMax'}, {'1': 'key_frames', '3': 33, '4': 1, '5': 13, '10': 'keyFrames'}, - { - '1': 'last_key_frame', - '3': 34, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'lastKeyFrame' - }, + {'1': 'last_key_frame', '3': 34, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastKeyFrame'}, {'1': 'layer_lock_plis', '3': 35, '4': 1, '5': 13, '10': 'layerLockPlis'}, - { - '1': 'last_layer_lock_pli', - '3': 36, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '10': 'lastLayerLockPli' - }, - { - '1': 'packet_drift', - '3': 44, - '4': 1, - '5': 11, - '6': '.livekit.RTPDrift', - '10': 'packetDrift' - }, - { - '1': 'ntp_report_drift', - '3': 45, - '4': 1, - '5': 11, - '6': '.livekit.RTPDrift', - '10': 'ntpReportDrift' - }, - { - '1': 'rebased_report_drift', - '3': 46, - '4': 1, - '5': 11, - '6': '.livekit.RTPDrift', - '10': 'rebasedReportDrift' - }, - { - '1': 'received_report_drift', - '3': 47, - '4': 1, - '5': 11, - '6': '.livekit.RTPDrift', - '10': 'receivedReportDrift' - }, + {'1': 'last_layer_lock_pli', '3': 36, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastLayerLockPli'}, + {'1': 'packet_drift', '3': 44, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'packetDrift'}, + {'1': 'ntp_report_drift', '3': 45, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'ntpReportDrift'}, + {'1': 'rebased_report_drift', '3': 46, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'rebasedReportDrift'}, + {'1': 'received_report_drift', '3': 47, '4': 1, '5': 11, '6': '.livekit.RTPDrift', '10': 'receivedReportDrift'}, ], '3': [RTPStats_GapHistogramEntry$json], }; @@ -1834,43 +1249,43 @@ const RTPStats_GapHistogramEntry$json = { }; /// Descriptor for `RTPStats`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPStatsDescriptor = $convert.base64Decode( - 'CghSVFBTdGF0cxI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SGAoHcGFja2V0cxgEIA' - 'EoDVIHcGFja2V0cxIfCgtwYWNrZXRfcmF0ZRgFIAEoAVIKcGFja2V0UmF0ZRIUCgVieXRlcxgG' - 'IAEoBFIFYnl0ZXMSIQoMaGVhZGVyX2J5dGVzGCcgASgEUgtoZWFkZXJCeXRlcxIYCgdiaXRyYX' - 'RlGAcgASgBUgdiaXRyYXRlEiEKDHBhY2tldHNfbG9zdBgIIAEoDVILcGFja2V0c0xvc3QSKAoQ' - 'cGFja2V0X2xvc3NfcmF0ZRgJIAEoAVIOcGFja2V0TG9zc1JhdGUSNAoWcGFja2V0X2xvc3NfcG' - 'VyY2VudGFnZRgKIAEoAlIUcGFja2V0TG9zc1BlcmNlbnRhZ2USKwoRcGFja2V0c19kdXBsaWNh' - 'dGUYCyABKA1SEHBhY2tldHNEdXBsaWNhdGUSMgoVcGFja2V0X2R1cGxpY2F0ZV9yYXRlGAwgAS' - 'gBUhNwYWNrZXREdXBsaWNhdGVSYXRlEicKD2J5dGVzX2R1cGxpY2F0ZRgNIAEoBFIOYnl0ZXNE' - 'dXBsaWNhdGUSNAoWaGVhZGVyX2J5dGVzX2R1cGxpY2F0ZRgoIAEoBFIUaGVhZGVyQnl0ZXNEdX' - 'BsaWNhdGUSKwoRYml0cmF0ZV9kdXBsaWNhdGUYDiABKAFSEGJpdHJhdGVEdXBsaWNhdGUSJwoP' - 'cGFja2V0c19wYWRkaW5nGA8gASgNUg5wYWNrZXRzUGFkZGluZxIuChNwYWNrZXRfcGFkZGluZ1' - '9yYXRlGBAgASgBUhFwYWNrZXRQYWRkaW5nUmF0ZRIjCg1ieXRlc19wYWRkaW5nGBEgASgEUgxi' - 'eXRlc1BhZGRpbmcSMAoUaGVhZGVyX2J5dGVzX3BhZGRpbmcYKSABKARSEmhlYWRlckJ5dGVzUG' - 'FkZGluZxInCg9iaXRyYXRlX3BhZGRpbmcYEiABKAFSDmJpdHJhdGVQYWRkaW5nEi8KFHBhY2tl' - 'dHNfb3V0X29mX29yZGVyGBMgASgNUhFwYWNrZXRzT3V0T2ZPcmRlchIWCgZmcmFtZXMYFCABKA' - '1SBmZyYW1lcxIdCgpmcmFtZV9yYXRlGBUgASgBUglmcmFtZVJhdGUSJQoOaml0dGVyX2N1cnJl' - 'bnQYFiABKAFSDWppdHRlckN1cnJlbnQSHQoKaml0dGVyX21heBgXIAEoAVIJaml0dGVyTWF4Ek' - 'gKDWdhcF9oaXN0b2dyYW0YGCADKAsyIy5saXZla2l0LlJUUFN0YXRzLkdhcEhpc3RvZ3JhbUVu' - 'dHJ5UgxnYXBIaXN0b2dyYW0SFAoFbmFja3MYGSABKA1SBW5hY2tzEhsKCW5hY2tfYWNrcxglIA' - 'EoDVIIbmFja0Fja3MSHwoLbmFja19taXNzZXMYGiABKA1SCm5hY2tNaXNzZXMSIwoNbmFja19y' - 'ZXBlYXRlZBgmIAEoDVIMbmFja1JlcGVhdGVkEhIKBHBsaXMYGyABKA1SBHBsaXMSNQoIbGFzdF' - '9wbGkYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdsYXN0UGxpEhIKBGZpcnMY' - 'HSABKA1SBGZpcnMSNQoIbGFzdF9maXIYHiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW' - '1wUgdsYXN0RmlyEh8KC3J0dF9jdXJyZW50GB8gASgNUgpydHRDdXJyZW50EhcKB3J0dF9tYXgY' - 'ICABKA1SBnJ0dE1heBIdCgprZXlfZnJhbWVzGCEgASgNUglrZXlGcmFtZXMSQAoObGFzdF9rZX' - 'lfZnJhbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgxsYXN0S2V5RnJhbWUS' - 'JgoPbGF5ZXJfbG9ja19wbGlzGCMgASgNUg1sYXllckxvY2tQbGlzEkkKE2xhc3RfbGF5ZXJfbG' - '9ja19wbGkYJCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYXN0TGF5ZXJMb2Nr' - 'UGxpEjQKDHBhY2tldF9kcmlmdBgsIAEoCzIRLmxpdmVraXQuUlRQRHJpZnRSC3BhY2tldERyaW' - 'Z0EjsKEG50cF9yZXBvcnRfZHJpZnQYLSABKAsyES5saXZla2l0LlJUUERyaWZ0Ug5udHBSZXBv' - 'cnREcmlmdBJDChRyZWJhc2VkX3JlcG9ydF9kcmlmdBguIAEoCzIRLmxpdmVraXQuUlRQRHJpZn' - 'RSEnJlYmFzZWRSZXBvcnREcmlmdBJFChVyZWNlaXZlZF9yZXBvcnRfZHJpZnQYLyABKAsyES5s' - 'aXZla2l0LlJUUERyaWZ0UhNyZWNlaXZlZFJlcG9ydERyaWZ0Gj8KEUdhcEhpc3RvZ3JhbUVudH' - 'J5EhAKA2tleRgBIAEoBVIDa2V5EhQKBXZhbHVlGAIgASgNUgV2YWx1ZToCOAE='); +final $typed_data.Uint8List rTPStatsDescriptor = + $convert.base64Decode('CghSVFBTdGF0cxI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' + 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' + 'dGFtcFIHZW5kVGltZRIaCghkdXJhdGlvbhgDIAEoAVIIZHVyYXRpb24SGAoHcGFja2V0cxgEIA' + 'EoDVIHcGFja2V0cxIfCgtwYWNrZXRfcmF0ZRgFIAEoAVIKcGFja2V0UmF0ZRIUCgVieXRlcxgG' + 'IAEoBFIFYnl0ZXMSIQoMaGVhZGVyX2J5dGVzGCcgASgEUgtoZWFkZXJCeXRlcxIYCgdiaXRyYX' + 'RlGAcgASgBUgdiaXRyYXRlEiEKDHBhY2tldHNfbG9zdBgIIAEoDVILcGFja2V0c0xvc3QSKAoQ' + 'cGFja2V0X2xvc3NfcmF0ZRgJIAEoAVIOcGFja2V0TG9zc1JhdGUSNAoWcGFja2V0X2xvc3NfcG' + 'VyY2VudGFnZRgKIAEoAlIUcGFja2V0TG9zc1BlcmNlbnRhZ2USKwoRcGFja2V0c19kdXBsaWNh' + 'dGUYCyABKA1SEHBhY2tldHNEdXBsaWNhdGUSMgoVcGFja2V0X2R1cGxpY2F0ZV9yYXRlGAwgAS' + 'gBUhNwYWNrZXREdXBsaWNhdGVSYXRlEicKD2J5dGVzX2R1cGxpY2F0ZRgNIAEoBFIOYnl0ZXNE' + 'dXBsaWNhdGUSNAoWaGVhZGVyX2J5dGVzX2R1cGxpY2F0ZRgoIAEoBFIUaGVhZGVyQnl0ZXNEdX' + 'BsaWNhdGUSKwoRYml0cmF0ZV9kdXBsaWNhdGUYDiABKAFSEGJpdHJhdGVEdXBsaWNhdGUSJwoP' + 'cGFja2V0c19wYWRkaW5nGA8gASgNUg5wYWNrZXRzUGFkZGluZxIuChNwYWNrZXRfcGFkZGluZ1' + '9yYXRlGBAgASgBUhFwYWNrZXRQYWRkaW5nUmF0ZRIjCg1ieXRlc19wYWRkaW5nGBEgASgEUgxi' + 'eXRlc1BhZGRpbmcSMAoUaGVhZGVyX2J5dGVzX3BhZGRpbmcYKSABKARSEmhlYWRlckJ5dGVzUG' + 'FkZGluZxInCg9iaXRyYXRlX3BhZGRpbmcYEiABKAFSDmJpdHJhdGVQYWRkaW5nEi8KFHBhY2tl' + 'dHNfb3V0X29mX29yZGVyGBMgASgNUhFwYWNrZXRzT3V0T2ZPcmRlchIWCgZmcmFtZXMYFCABKA' + '1SBmZyYW1lcxIdCgpmcmFtZV9yYXRlGBUgASgBUglmcmFtZVJhdGUSJQoOaml0dGVyX2N1cnJl' + 'bnQYFiABKAFSDWppdHRlckN1cnJlbnQSHQoKaml0dGVyX21heBgXIAEoAVIJaml0dGVyTWF4Ek' + 'gKDWdhcF9oaXN0b2dyYW0YGCADKAsyIy5saXZla2l0LlJUUFN0YXRzLkdhcEhpc3RvZ3JhbUVu' + 'dHJ5UgxnYXBIaXN0b2dyYW0SFAoFbmFja3MYGSABKA1SBW5hY2tzEhsKCW5hY2tfYWNrcxglIA' + 'EoDVIIbmFja0Fja3MSHwoLbmFja19taXNzZXMYGiABKA1SCm5hY2tNaXNzZXMSIwoNbmFja19y' + 'ZXBlYXRlZBgmIAEoDVIMbmFja1JlcGVhdGVkEhIKBHBsaXMYGyABKA1SBHBsaXMSNQoIbGFzdF' + '9wbGkYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdsYXN0UGxpEhIKBGZpcnMY' + 'HSABKA1SBGZpcnMSNQoIbGFzdF9maXIYHiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW' + '1wUgdsYXN0RmlyEh8KC3J0dF9jdXJyZW50GB8gASgNUgpydHRDdXJyZW50EhcKB3J0dF9tYXgY' + 'ICABKA1SBnJ0dE1heBIdCgprZXlfZnJhbWVzGCEgASgNUglrZXlGcmFtZXMSQAoObGFzdF9rZX' + 'lfZnJhbWUYIiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgxsYXN0S2V5RnJhbWUS' + 'JgoPbGF5ZXJfbG9ja19wbGlzGCMgASgNUg1sYXllckxvY2tQbGlzEkkKE2xhc3RfbGF5ZXJfbG' + '9ja19wbGkYJCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYXN0TGF5ZXJMb2Nr' + 'UGxpEjQKDHBhY2tldF9kcmlmdBgsIAEoCzIRLmxpdmVraXQuUlRQRHJpZnRSC3BhY2tldERyaW' + 'Z0EjsKEG50cF9yZXBvcnRfZHJpZnQYLSABKAsyES5saXZla2l0LlJUUERyaWZ0Ug5udHBSZXBv' + 'cnREcmlmdBJDChRyZWJhc2VkX3JlcG9ydF9kcmlmdBguIAEoCzIRLmxpdmVraXQuUlRQRHJpZn' + 'RSEnJlYmFzZWRSZXBvcnREcmlmdBJFChVyZWNlaXZlZF9yZXBvcnRfZHJpZnQYLyABKAsyES5s' + 'aXZla2l0LlJUUERyaWZ0UhNyZWNlaXZlZFJlcG9ydERyaWZ0Gj8KEUdhcEhpc3RvZ3JhbUVudH' + 'J5EhAKA2tleRgBIAEoBVIDa2V5EhQKBXZhbHVlGAIgASgNUgV2YWx1ZToCOAE='); @$core.Deprecated('Use rTCPSenderReportStateDescriptor instead') const RTCPSenderReportState$json = { @@ -1887,57 +1302,24 @@ const RTCPSenderReportState$json = { }; /// Descriptor for `RTCPSenderReportState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTCPSenderReportStateDescriptor = $convert.base64Decode( - 'ChVSVENQU2VuZGVyUmVwb3J0U3RhdGUSIwoNcnRwX3RpbWVzdGFtcBgBIAEoDVIMcnRwVGltZX' - 'N0YW1wEioKEXJ0cF90aW1lc3RhbXBfZXh0GAIgASgEUg9ydHBUaW1lc3RhbXBFeHQSIwoNbnRw' - 'X3RpbWVzdGFtcBgDIAEoBFIMbnRwVGltZXN0YW1wEg4KAmF0GAQgASgDUgJhdBIfCgthdF9hZG' - 'p1c3RlZBgFIAEoA1IKYXRBZGp1c3RlZBIYCgdwYWNrZXRzGAYgASgNUgdwYWNrZXRzEhYKBm9j' - 'dGV0cxgHIAEoBFIGb2N0ZXRz'); +final $typed_data.Uint8List rTCPSenderReportStateDescriptor = + $convert.base64Decode('ChVSVENQU2VuZGVyUmVwb3J0U3RhdGUSIwoNcnRwX3RpbWVzdGFtcBgBIAEoDVIMcnRwVGltZX' + 'N0YW1wEioKEXJ0cF90aW1lc3RhbXBfZXh0GAIgASgEUg9ydHBUaW1lc3RhbXBFeHQSIwoNbnRw' + 'X3RpbWVzdGFtcBgDIAEoBFIMbnRwVGltZXN0YW1wEg4KAmF0GAQgASgDUgJhdBIfCgthdF9hZG' + 'p1c3RlZBgFIAEoA1IKYXRBZGp1c3RlZBIYCgdwYWNrZXRzGAYgASgNUgdwYWNrZXRzEhYKBm9j' + 'dGV0cxgHIAEoBFIGb2N0ZXRz'); @$core.Deprecated('Use rTPForwarderStateDescriptor instead') const RTPForwarderState$json = { '1': 'RTPForwarderState', '2': [ {'1': 'started', '3': 1, '4': 1, '5': 8, '10': 'started'}, - { - '1': 'reference_layer_spatial', - '3': 2, - '4': 1, - '5': 5, - '10': 'referenceLayerSpatial' - }, + {'1': 'reference_layer_spatial', '3': 2, '4': 1, '5': 5, '10': 'referenceLayerSpatial'}, {'1': 'pre_start_time', '3': 3, '4': 1, '5': 3, '10': 'preStartTime'}, - { - '1': 'ext_first_timestamp', - '3': 4, - '4': 1, - '5': 4, - '10': 'extFirstTimestamp' - }, - { - '1': 'dummy_start_timestamp_offset', - '3': 5, - '4': 1, - '5': 4, - '10': 'dummyStartTimestampOffset' - }, - { - '1': 'rtp_munger', - '3': 6, - '4': 1, - '5': 11, - '6': '.livekit.RTPMungerState', - '10': 'rtpMunger' - }, - { - '1': 'vp8_munger', - '3': 7, - '4': 1, - '5': 11, - '6': '.livekit.VP8MungerState', - '9': 0, - '10': 'vp8Munger' - }, + {'1': 'ext_first_timestamp', '3': 4, '4': 1, '5': 4, '10': 'extFirstTimestamp'}, + {'1': 'dummy_start_timestamp_offset', '3': 5, '4': 1, '5': 4, '10': 'dummyStartTimestampOffset'}, + {'1': 'rtp_munger', '3': 6, '4': 1, '5': 11, '6': '.livekit.RTPMungerState', '10': 'rtpMunger'}, + {'1': 'vp8_munger', '3': 7, '4': 1, '5': 11, '6': '.livekit.VP8MungerState', '9': 0, '10': 'vp8Munger'}, { '1': 'sender_report_state', '3': 8, @@ -1953,80 +1335,44 @@ const RTPForwarderState$json = { }; /// Descriptor for `RTPForwarderState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPForwarderStateDescriptor = $convert.base64Decode( - 'ChFSVFBGb3J3YXJkZXJTdGF0ZRIYCgdzdGFydGVkGAEgASgIUgdzdGFydGVkEjYKF3JlZmVyZW' - '5jZV9sYXllcl9zcGF0aWFsGAIgASgFUhVyZWZlcmVuY2VMYXllclNwYXRpYWwSJAoOcHJlX3N0' - 'YXJ0X3RpbWUYAyABKANSDHByZVN0YXJ0VGltZRIuChNleHRfZmlyc3RfdGltZXN0YW1wGAQgAS' - 'gEUhFleHRGaXJzdFRpbWVzdGFtcBI/ChxkdW1teV9zdGFydF90aW1lc3RhbXBfb2Zmc2V0GAUg' - 'ASgEUhlkdW1teVN0YXJ0VGltZXN0YW1wT2Zmc2V0EjYKCnJ0cF9tdW5nZXIYBiABKAsyFy5saX' - 'Zla2l0LlJUUE11bmdlclN0YXRlUglydHBNdW5nZXISOAoKdnA4X211bmdlchgHIAEoCzIXLmxp' - 'dmVraXQuVlA4TXVuZ2VyU3RhdGVIAFIJdnA4TXVuZ2VyEk4KE3NlbmRlcl9yZXBvcnRfc3RhdG' - 'UYCCADKAsyHi5saXZla2l0LlJUQ1BTZW5kZXJSZXBvcnRTdGF0ZVIRc2VuZGVyUmVwb3J0U3Rh' - 'dGVCDgoMY29kZWNfbXVuZ2Vy'); +final $typed_data.Uint8List rTPForwarderStateDescriptor = + $convert.base64Decode('ChFSVFBGb3J3YXJkZXJTdGF0ZRIYCgdzdGFydGVkGAEgASgIUgdzdGFydGVkEjYKF3JlZmVyZW' + '5jZV9sYXllcl9zcGF0aWFsGAIgASgFUhVyZWZlcmVuY2VMYXllclNwYXRpYWwSJAoOcHJlX3N0' + 'YXJ0X3RpbWUYAyABKANSDHByZVN0YXJ0VGltZRIuChNleHRfZmlyc3RfdGltZXN0YW1wGAQgAS' + 'gEUhFleHRGaXJzdFRpbWVzdGFtcBI/ChxkdW1teV9zdGFydF90aW1lc3RhbXBfb2Zmc2V0GAUg' + 'ASgEUhlkdW1teVN0YXJ0VGltZXN0YW1wT2Zmc2V0EjYKCnJ0cF9tdW5nZXIYBiABKAsyFy5saX' + 'Zla2l0LlJUUE11bmdlclN0YXRlUglydHBNdW5nZXISOAoKdnA4X211bmdlchgHIAEoCzIXLmxp' + 'dmVraXQuVlA4TXVuZ2VyU3RhdGVIAFIJdnA4TXVuZ2VyEk4KE3NlbmRlcl9yZXBvcnRfc3RhdG' + 'UYCCADKAsyHi5saXZla2l0LlJUQ1BTZW5kZXJSZXBvcnRTdGF0ZVIRc2VuZGVyUmVwb3J0U3Rh' + 'dGVCDgoMY29kZWNfbXVuZ2Vy'); @$core.Deprecated('Use rTPMungerStateDescriptor instead') const RTPMungerState$json = { '1': 'RTPMungerState', '2': [ - { - '1': 'ext_last_sequence_number', - '3': 1, - '4': 1, - '5': 4, - '10': 'extLastSequenceNumber' - }, - { - '1': 'ext_second_last_sequence_number', - '3': 2, - '4': 1, - '5': 4, - '10': 'extSecondLastSequenceNumber' - }, - { - '1': 'ext_last_timestamp', - '3': 3, - '4': 1, - '5': 4, - '10': 'extLastTimestamp' - }, - { - '1': 'ext_second_last_timestamp', - '3': 4, - '4': 1, - '5': 4, - '10': 'extSecondLastTimestamp' - }, + {'1': 'ext_last_sequence_number', '3': 1, '4': 1, '5': 4, '10': 'extLastSequenceNumber'}, + {'1': 'ext_second_last_sequence_number', '3': 2, '4': 1, '5': 4, '10': 'extSecondLastSequenceNumber'}, + {'1': 'ext_last_timestamp', '3': 3, '4': 1, '5': 4, '10': 'extLastTimestamp'}, + {'1': 'ext_second_last_timestamp', '3': 4, '4': 1, '5': 4, '10': 'extSecondLastTimestamp'}, {'1': 'last_marker', '3': 5, '4': 1, '5': 8, '10': 'lastMarker'}, - { - '1': 'second_last_marker', - '3': 6, - '4': 1, - '5': 8, - '10': 'secondLastMarker' - }, + {'1': 'second_last_marker', '3': 6, '4': 1, '5': 8, '10': 'secondLastMarker'}, ], }; /// Descriptor for `RTPMungerState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rTPMungerStateDescriptor = $convert.base64Decode( - 'Cg5SVFBNdW5nZXJTdGF0ZRI3ChhleHRfbGFzdF9zZXF1ZW5jZV9udW1iZXIYASABKARSFWV4dE' - 'xhc3RTZXF1ZW5jZU51bWJlchJECh9leHRfc2Vjb25kX2xhc3Rfc2VxdWVuY2VfbnVtYmVyGAIg' - 'ASgEUhtleHRTZWNvbmRMYXN0U2VxdWVuY2VOdW1iZXISLAoSZXh0X2xhc3RfdGltZXN0YW1wGA' - 'MgASgEUhBleHRMYXN0VGltZXN0YW1wEjkKGWV4dF9zZWNvbmRfbGFzdF90aW1lc3RhbXAYBCAB' - 'KARSFmV4dFNlY29uZExhc3RUaW1lc3RhbXASHwoLbGFzdF9tYXJrZXIYBSABKAhSCmxhc3RNYX' - 'JrZXISLAoSc2Vjb25kX2xhc3RfbWFya2VyGAYgASgIUhBzZWNvbmRMYXN0TWFya2Vy'); +final $typed_data.Uint8List rTPMungerStateDescriptor = + $convert.base64Decode('Cg5SVFBNdW5nZXJTdGF0ZRI3ChhleHRfbGFzdF9zZXF1ZW5jZV9udW1iZXIYASABKARSFWV4dE' + 'xhc3RTZXF1ZW5jZU51bWJlchJECh9leHRfc2Vjb25kX2xhc3Rfc2VxdWVuY2VfbnVtYmVyGAIg' + 'ASgEUhtleHRTZWNvbmRMYXN0U2VxdWVuY2VOdW1iZXISLAoSZXh0X2xhc3RfdGltZXN0YW1wGA' + 'MgASgEUhBleHRMYXN0VGltZXN0YW1wEjkKGWV4dF9zZWNvbmRfbGFzdF90aW1lc3RhbXAYBCAB' + 'KARSFmV4dFNlY29uZExhc3RUaW1lc3RhbXASHwoLbGFzdF9tYXJrZXIYBSABKAhSCmxhc3RNYX' + 'JrZXISLAoSc2Vjb25kX2xhc3RfbWFya2VyGAYgASgIUhBzZWNvbmRMYXN0TWFya2Vy'); @$core.Deprecated('Use vP8MungerStateDescriptor instead') const VP8MungerState$json = { '1': 'VP8MungerState', '2': [ - { - '1': 'ext_last_picture_id', - '3': 1, - '4': 1, - '5': 5, - '10': 'extLastPictureId' - }, + {'1': 'ext_last_picture_id', '3': 1, '4': 1, '5': 5, '10': 'extLastPictureId'}, {'1': 'picture_id_used', '3': 2, '4': 1, '5': 8, '10': 'pictureIdUsed'}, {'1': 'last_tl0_pic_idx', '3': 3, '4': 1, '5': 13, '10': 'lastTl0PicIdx'}, {'1': 'tl0_pic_idx_used', '3': 4, '4': 1, '5': 8, '10': 'tl0PicIdxUsed'}, @@ -2037,13 +1383,13 @@ const VP8MungerState$json = { }; /// Descriptor for `VP8MungerState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List vP8MungerStateDescriptor = $convert.base64Decode( - 'Cg5WUDhNdW5nZXJTdGF0ZRItChNleHRfbGFzdF9waWN0dXJlX2lkGAEgASgFUhBleHRMYXN0UG' - 'ljdHVyZUlkEiYKD3BpY3R1cmVfaWRfdXNlZBgCIAEoCFINcGljdHVyZUlkVXNlZBInChBsYXN0' - 'X3RsMF9waWNfaWR4GAMgASgNUg1sYXN0VGwwUGljSWR4EicKEHRsMF9waWNfaWR4X3VzZWQYBC' - 'ABKAhSDXRsMFBpY0lkeFVzZWQSGQoIdGlkX3VzZWQYBSABKAhSB3RpZFVzZWQSIAoMbGFzdF9r' - 'ZXlfaWR4GAYgASgNUgpsYXN0S2V5SWR4EiAKDGtleV9pZHhfdXNlZBgHIAEoCFIKa2V5SWR4VX' - 'NlZA=='); +final $typed_data.Uint8List vP8MungerStateDescriptor = + $convert.base64Decode('Cg5WUDhNdW5nZXJTdGF0ZRItChNleHRfbGFzdF9waWN0dXJlX2lkGAEgASgFUhBleHRMYXN0UG' + 'ljdHVyZUlkEiYKD3BpY3R1cmVfaWRfdXNlZBgCIAEoCFINcGljdHVyZUlkVXNlZBInChBsYXN0' + 'X3RsMF9waWNfaWR4GAMgASgNUg1sYXN0VGwwUGljSWR4EicKEHRsMF9waWNfaWR4X3VzZWQYBC' + 'ABKAhSDXRsMFBpY0lkeFVzZWQSGQoIdGlkX3VzZWQYBSABKAhSB3RpZFVzZWQSIAoMbGFzdF9r' + 'ZXlfaWR4GAYgASgNUgpsYXN0S2V5SWR4EiAKDGtleV9pZHhfdXNlZBgHIAEoCFIKa2V5SWR4VX' + 'NlZA=='); @$core.Deprecated('Use timedVersionDescriptor instead') const TimedVersion$json = { @@ -2055,9 +1401,9 @@ const TimedVersion$json = { }; /// Descriptor for `TimedVersion`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timedVersionDescriptor = $convert.base64Decode( - 'CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' - 'IgASgFUgV0aWNrcw=='); +final $typed_data.Uint8List timedVersionDescriptor = + $convert.base64Decode('CgxUaW1lZFZlcnNpb24SHQoKdW5peF9taWNybxgBIAEoA1IJdW5peE1pY3JvEhQKBXRpY2tzGA' + 'IgASgFUgV0aWNrcw=='); @$core.Deprecated('Use dataStreamDescriptor instead') const DataStream$json = { @@ -2076,29 +1422,10 @@ const DataStream$json = { const DataStream_TextHeader$json = { '1': 'TextHeader', '2': [ - { - '1': 'operation_type', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.DataStream.OperationType', - '10': 'operationType' - }, + {'1': 'operation_type', '3': 1, '4': 1, '5': 14, '6': '.livekit.DataStream.OperationType', '10': 'operationType'}, {'1': 'version', '3': 2, '4': 1, '5': 5, '10': 'version'}, - { - '1': 'reply_to_stream_id', - '3': 3, - '4': 1, - '5': 9, - '10': 'replyToStreamId' - }, - { - '1': 'attached_stream_ids', - '3': 4, - '4': 3, - '5': 9, - '10': 'attachedStreamIds' - }, + {'1': 'reply_to_stream_id', '3': 3, '4': 1, '5': 9, '10': 'replyToStreamId'}, + {'1': 'attached_stream_ids', '3': 4, '4': 3, '5': 9, '10': 'attachedStreamIds'}, {'1': 'generated', '3': 5, '4': 1, '5': 8, '10': 'generated'}, ], }; @@ -2119,15 +1446,7 @@ const DataStream_Header$json = { {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, {'1': 'topic', '3': 3, '4': 1, '5': 9, '10': 'topic'}, {'1': 'mime_type', '3': 4, '4': 1, '5': 9, '10': 'mimeType'}, - { - '1': 'total_length', - '3': 5, - '4': 1, - '5': 4, - '9': 1, - '10': 'totalLength', - '17': true - }, + {'1': 'total_length', '3': 5, '4': 1, '5': 4, '9': 1, '10': 'totalLength', '17': true}, { '1': 'encryption_type', '3': 7, @@ -2137,32 +1456,9 @@ const DataStream_Header$json = { '8': {'3': true}, '10': 'encryptionType', }, - { - '1': 'attributes', - '3': 8, - '4': 3, - '5': 11, - '6': '.livekit.DataStream.Header.AttributesEntry', - '10': 'attributes' - }, - { - '1': 'text_header', - '3': 9, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.TextHeader', - '9': 0, - '10': 'textHeader' - }, - { - '1': 'byte_header', - '3': 10, - '4': 1, - '5': 11, - '6': '.livekit.DataStream.ByteHeader', - '9': 0, - '10': 'byteHeader' - }, + {'1': 'attributes', '3': 8, '4': 3, '5': 11, '6': '.livekit.DataStream.Header.AttributesEntry', '10': 'attributes'}, + {'1': 'text_header', '3': 9, '4': 1, '5': 11, '6': '.livekit.DataStream.TextHeader', '9': 0, '10': 'textHeader'}, + {'1': 'byte_header', '3': 10, '4': 1, '5': 11, '6': '.livekit.DataStream.ByteHeader', '9': 0, '10': 'byteHeader'}, ], '3': [DataStream_Header_AttributesEntry$json], '8': [ @@ -2245,30 +1541,30 @@ const DataStream_OperationType$json = { }; /// Descriptor for `DataStream`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataStreamDescriptor = $convert.base64Decode( - 'CgpEYXRhU3RyZWFtGusBCgpUZXh0SGVhZGVyEkgKDm9wZXJhdGlvbl90eXBlGAEgASgOMiEubG' - 'l2ZWtpdC5EYXRhU3RyZWFtLk9wZXJhdGlvblR5cGVSDW9wZXJhdGlvblR5cGUSGAoHdmVyc2lv' - 'bhgCIAEoBVIHdmVyc2lvbhIrChJyZXBseV90b19zdHJlYW1faWQYAyABKAlSD3JlcGx5VG9TdH' - 'JlYW1JZBIuChNhdHRhY2hlZF9zdHJlYW1faWRzGAQgAygJUhFhdHRhY2hlZFN0cmVhbUlkcxIc' - 'CglnZW5lcmF0ZWQYBSABKAhSCWdlbmVyYXRlZBogCgpCeXRlSGVhZGVyEhIKBG5hbWUYASABKA' - 'lSBG5hbWUamQQKBkhlYWRlchIbCglzdHJlYW1faWQYASABKAlSCHN0cmVhbUlkEhwKCXRpbWVz' - 'dGFtcBgCIAEoA1IJdGltZXN0YW1wEhQKBXRvcGljGAMgASgJUgV0b3BpYxIbCgltaW1lX3R5cG' - 'UYBCABKAlSCG1pbWVUeXBlEiYKDHRvdGFsX2xlbmd0aBgFIAEoBEgBUgt0b3RhbExlbmd0aIgB' - 'ARJFCg9lbmNyeXB0aW9uX3R5cGUYByABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZUICGA' - 'FSDmVuY3J5cHRpb25UeXBlEkoKCmF0dHJpYnV0ZXMYCCADKAsyKi5saXZla2l0LkRhdGFTdHJl' - 'YW0uSGVhZGVyLkF0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxJBCgt0ZXh0X2hlYWRlchgJIA' - 'EoCzIeLmxpdmVraXQuRGF0YVN0cmVhbS5UZXh0SGVhZGVySABSCnRleHRIZWFkZXISQQoLYnl0' - 'ZV9oZWFkZXIYCiABKAsyHi5saXZla2l0LkRhdGFTdHJlYW0uQnl0ZUhlYWRlckgAUgpieXRlSG' - 'VhZGVyGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo' - 'CVIFdmFsdWU6AjgBQhAKDmNvbnRlbnRfaGVhZGVyQg8KDV90b3RhbF9sZW5ndGgamQEKBUNodW' - '5rEhsKCXN0cmVhbV9pZBgBIAEoCVIIc3RyZWFtSWQSHwoLY2h1bmtfaW5kZXgYAiABKARSCmNo' - 'dW5rSW5kZXgSGAoHY29udGVudBgDIAEoDFIHY29udGVudBIYCgd2ZXJzaW9uGAQgASgFUgd2ZX' - 'JzaW9uEhcKAml2GAUgASgMQgIYAUgAUgJpdogBAUIFCgNfaXYaygEKB1RyYWlsZXISGwoJc3Ry' - 'ZWFtX2lkGAEgASgJUghzdHJlYW1JZBIWCgZyZWFzb24YAiABKAlSBnJlYXNvbhJLCgphdHRyaW' - 'J1dGVzGAMgAygLMisubGl2ZWtpdC5EYXRhU3RyZWFtLlRyYWlsZXIuQXR0cmlidXRlc0VudHJ5' - 'UgphdHRyaWJ1dGVzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YW' - 'x1ZRgCIAEoCVIFdmFsdWU6AjgBIkEKDU9wZXJhdGlvblR5cGUSCgoGQ1JFQVRFEAASCgoGVVBE' - 'QVRFEAESCgoGREVMRVRFEAISDAoIUkVBQ1RJT04QAw=='); +final $typed_data.Uint8List dataStreamDescriptor = + $convert.base64Decode('CgpEYXRhU3RyZWFtGusBCgpUZXh0SGVhZGVyEkgKDm9wZXJhdGlvbl90eXBlGAEgASgOMiEubG' + 'l2ZWtpdC5EYXRhU3RyZWFtLk9wZXJhdGlvblR5cGVSDW9wZXJhdGlvblR5cGUSGAoHdmVyc2lv' + 'bhgCIAEoBVIHdmVyc2lvbhIrChJyZXBseV90b19zdHJlYW1faWQYAyABKAlSD3JlcGx5VG9TdH' + 'JlYW1JZBIuChNhdHRhY2hlZF9zdHJlYW1faWRzGAQgAygJUhFhdHRhY2hlZFN0cmVhbUlkcxIc' + 'CglnZW5lcmF0ZWQYBSABKAhSCWdlbmVyYXRlZBogCgpCeXRlSGVhZGVyEhIKBG5hbWUYASABKA' + 'lSBG5hbWUamQQKBkhlYWRlchIbCglzdHJlYW1faWQYASABKAlSCHN0cmVhbUlkEhwKCXRpbWVz' + 'dGFtcBgCIAEoA1IJdGltZXN0YW1wEhQKBXRvcGljGAMgASgJUgV0b3BpYxIbCgltaW1lX3R5cG' + 'UYBCABKAlSCG1pbWVUeXBlEiYKDHRvdGFsX2xlbmd0aBgFIAEoBEgBUgt0b3RhbExlbmd0aIgB' + 'ARJFCg9lbmNyeXB0aW9uX3R5cGUYByABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZUICGA' + 'FSDmVuY3J5cHRpb25UeXBlEkoKCmF0dHJpYnV0ZXMYCCADKAsyKi5saXZla2l0LkRhdGFTdHJl' + 'YW0uSGVhZGVyLkF0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxJBCgt0ZXh0X2hlYWRlchgJIA' + 'EoCzIeLmxpdmVraXQuRGF0YVN0cmVhbS5UZXh0SGVhZGVySABSCnRleHRIZWFkZXISQQoLYnl0' + 'ZV9oZWFkZXIYCiABKAsyHi5saXZla2l0LkRhdGFTdHJlYW0uQnl0ZUhlYWRlckgAUgpieXRlSG' + 'VhZGVyGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo' + 'CVIFdmFsdWU6AjgBQhAKDmNvbnRlbnRfaGVhZGVyQg8KDV90b3RhbF9sZW5ndGgamQEKBUNodW' + '5rEhsKCXN0cmVhbV9pZBgBIAEoCVIIc3RyZWFtSWQSHwoLY2h1bmtfaW5kZXgYAiABKARSCmNo' + 'dW5rSW5kZXgSGAoHY29udGVudBgDIAEoDFIHY29udGVudBIYCgd2ZXJzaW9uGAQgASgFUgd2ZX' + 'JzaW9uEhcKAml2GAUgASgMQgIYAUgAUgJpdogBAUIFCgNfaXYaygEKB1RyYWlsZXISGwoJc3Ry' + 'ZWFtX2lkGAEgASgJUghzdHJlYW1JZBIWCgZyZWFzb24YAiABKAlSBnJlYXNvbhJLCgphdHRyaW' + 'J1dGVzGAMgAygLMisubGl2ZWtpdC5EYXRhU3RyZWFtLlRyYWlsZXIuQXR0cmlidXRlc0VudHJ5' + 'UgphdHRyaWJ1dGVzGj0KD0F0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YW' + 'x1ZRgCIAEoCVIFdmFsdWU6AjgBIkEKDU9wZXJhdGlvblR5cGUSCgoGQ1JFQVRFEAASCgoGVVBE' + 'QVRFEAESCgoGREVMRVRFEAISDAoIUkVBQ1RJT04QAw=='); @$core.Deprecated('Use webhookConfigDescriptor instead') const WebhookConfig$json = { @@ -2280,9 +1576,9 @@ const WebhookConfig$json = { }; /// Descriptor for `WebhookConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List webhookConfigDescriptor = $convert.base64Decode( - 'Cg1XZWJob29rQ29uZmlnEhAKA3VybBgBIAEoCVIDdXJsEh8KC3NpZ25pbmdfa2V5GAIgASgJUg' - 'pzaWduaW5nS2V5'); +final $typed_data.Uint8List webhookConfigDescriptor = + $convert.base64Decode('Cg1XZWJob29rQ29uZmlnEhAKA3VybBgBIAEoCVIDdXJsEh8KC3NpZ25pbmdfa2V5GAIgASgJUg' + 'pzaWduaW5nS2V5'); @$core.Deprecated('Use subscribedAudioCodecDescriptor instead') const SubscribedAudioCodec$json = { @@ -2294,6 +1590,6 @@ const SubscribedAudioCodec$json = { }; /// Descriptor for `SubscribedAudioCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedAudioCodecDescriptor = $convert.base64Decode( - 'ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' - 'gCIAEoCFIHZW5hYmxlZA=='); +final $typed_data.Uint8List subscribedAudioCodecDescriptor = + $convert.base64Decode('ChRTdWJzY3JpYmVkQXVkaW9Db2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSGAoHZW5hYmxlZB' + 'gCIAEoCFIHZW5hYmxlZA=='); diff --git a/lib/src/proto/livekit_rtc.pb.dart b/lib/src/proto/livekit_rtc.pb.dart index 3e862bfbd..40049d6e1 100644 --- a/lib/src/proto/livekit_rtc.pb.dart +++ b/lib/src/proto/livekit_rtc.pb.dart @@ -53,8 +53,7 @@ class SignalRequest extends $pb.GeneratedMessage { UpdateSubscription? subscription, UpdateTrackSettings? trackSetting, LeaveRequest? leave, - @$core.Deprecated('This field is deprecated.') - UpdateVideoLayers? updateLayers, + @$core.Deprecated('This field is deprecated.') UpdateVideoLayers? updateLayers, SubscriptionPermission? subscriptionPermission, SyncState? syncState, SimulateScenario? simulate, @@ -74,8 +73,7 @@ class SignalRequest extends $pb.GeneratedMessage { if (trackSetting != null) result.trackSetting = trackSetting; if (leave != null) result.leave = leave; if (updateLayers != null) result.updateLayers = updateLayers; - if (subscriptionPermission != null) - result.subscriptionPermission = subscriptionPermission; + if (subscriptionPermission != null) result.subscriptionPermission = subscriptionPermission; if (syncState != null) result.syncState = syncState; if (simulate != null) result.simulate = simulate; if (ping != null) result.ping = ping; @@ -91,12 +89,10 @@ class SignalRequest extends $pb.GeneratedMessage { factory SignalRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SignalRequest.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SignalRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SignalRequest_Message> - _SignalRequest_MessageByTag = { + static const $core.Map<$core.int, SignalRequest_Message> _SignalRequest_MessageByTag = { 1: SignalRequest_Message.offer, 2: SignalRequest_Message.answer, 3: SignalRequest_Message.trickle, @@ -116,39 +112,24 @@ class SignalRequest extends $pb.GeneratedMessage { 18: SignalRequest_Message.updateVideoTrack, 0: SignalRequest_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SignalRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignalRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18]) - ..aOM(1, _omitFieldNames ? '' : 'offer', - subBuilder: SessionDescription.create) - ..aOM(2, _omitFieldNames ? '' : 'answer', - subBuilder: SessionDescription.create) - ..aOM(3, _omitFieldNames ? '' : 'trickle', - subBuilder: TrickleRequest.create) - ..aOM(4, _omitFieldNames ? '' : 'addTrack', - subBuilder: AddTrackRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'mute', - subBuilder: MuteTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'subscription', - subBuilder: UpdateSubscription.create) - ..aOM(7, _omitFieldNames ? '' : 'trackSetting', - subBuilder: UpdateTrackSettings.create) - ..aOM(8, _omitFieldNames ? '' : 'leave', - subBuilder: LeaveRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'updateLayers', - subBuilder: UpdateVideoLayers.create) - ..aOM( - 11, _omitFieldNames ? '' : 'subscriptionPermission', + ..aOM(1, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) + ..aOM(2, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) + ..aOM(3, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) + ..aOM(4, _omitFieldNames ? '' : 'addTrack', subBuilder: AddTrackRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'subscription', subBuilder: UpdateSubscription.create) + ..aOM(7, _omitFieldNames ? '' : 'trackSetting', subBuilder: UpdateTrackSettings.create) + ..aOM(8, _omitFieldNames ? '' : 'leave', subBuilder: LeaveRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'updateLayers', subBuilder: UpdateVideoLayers.create) + ..aOM(11, _omitFieldNames ? '' : 'subscriptionPermission', subBuilder: SubscriptionPermission.create) - ..aOM(12, _omitFieldNames ? '' : 'syncState', - subBuilder: SyncState.create) - ..aOM(13, _omitFieldNames ? '' : 'simulate', - subBuilder: SimulateScenario.create) + ..aOM(12, _omitFieldNames ? '' : 'syncState', subBuilder: SyncState.create) + ..aOM(13, _omitFieldNames ? '' : 'simulate', subBuilder: SimulateScenario.create) ..aInt64(14, _omitFieldNames ? '' : 'ping') - ..aOM( - 15, _omitFieldNames ? '' : 'updateMetadata', + ..aOM(15, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) ..aOM(16, _omitFieldNames ? '' : 'pingReq', subBuilder: Ping.create) ..aOM(17, _omitFieldNames ? '' : 'updateAudioTrack', @@ -161,8 +142,7 @@ class SignalRequest extends $pb.GeneratedMessage { SignalRequest clone() => SignalRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalRequest copyWith(void Function(SignalRequest) updates) => - super.copyWith((message) => updates(message as SignalRequest)) - as SignalRequest; + super.copyWith((message) => updates(message as SignalRequest)) as SignalRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -171,15 +151,12 @@ class SignalRequest extends $pb.GeneratedMessage { static SignalRequest create() => SignalRequest._(); @$core.override SignalRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SignalRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SignalRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SignalRequest? _defaultInstance; - SignalRequest_Message whichMessage() => - _SignalRequest_MessageByTag[$_whichOneof(0)]!; + SignalRequest_Message whichMessage() => _SignalRequest_MessageByTag[$_whichOneof(0)]!; void clearMessage() => $_clearField($_whichOneof(0)); /// participant offer for publisher @@ -297,8 +274,7 @@ class SignalRequest extends $pb.GeneratedMessage { @$pb.TagNumber(11) SubscriptionPermission get subscriptionPermission => $_getN(9); @$pb.TagNumber(11) - set subscriptionPermission(SubscriptionPermission value) => - $_setField(11, value); + set subscriptionPermission(SubscriptionPermission value) => $_setField(11, value); @$pb.TagNumber(11) $core.bool hasSubscriptionPermission() => $_has(9); @$pb.TagNumber(11) @@ -459,24 +435,19 @@ class SignalResponse extends $pb.GeneratedMessage { if (roomUpdate != null) result.roomUpdate = roomUpdate; if (connectionQuality != null) result.connectionQuality = connectionQuality; if (streamStateUpdate != null) result.streamStateUpdate = streamStateUpdate; - if (subscribedQualityUpdate != null) - result.subscribedQualityUpdate = subscribedQualityUpdate; - if (subscriptionPermissionUpdate != null) - result.subscriptionPermissionUpdate = subscriptionPermissionUpdate; + if (subscribedQualityUpdate != null) result.subscribedQualityUpdate = subscribedQualityUpdate; + if (subscriptionPermissionUpdate != null) result.subscriptionPermissionUpdate = subscriptionPermissionUpdate; if (refreshToken != null) result.refreshToken = refreshToken; if (trackUnpublished != null) result.trackUnpublished = trackUnpublished; if (pong != null) result.pong = pong; if (reconnect != null) result.reconnect = reconnect; if (pongResp != null) result.pongResp = pongResp; - if (subscriptionResponse != null) - result.subscriptionResponse = subscriptionResponse; + if (subscriptionResponse != null) result.subscriptionResponse = subscriptionResponse; if (requestResponse != null) result.requestResponse = requestResponse; if (trackSubscribed != null) result.trackSubscribed = trackSubscribed; if (roomMoved != null) result.roomMoved = roomMoved; - if (mediaSectionsRequirement != null) - result.mediaSectionsRequirement = mediaSectionsRequirement; - if (subscribedAudioCodecUpdate != null) - result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; + if (mediaSectionsRequirement != null) result.mediaSectionsRequirement = mediaSectionsRequirement; + if (subscribedAudioCodecUpdate != null) result.subscribedAudioCodecUpdate = subscribedAudioCodecUpdate; return result; } @@ -485,12 +456,10 @@ class SignalResponse extends $pb.GeneratedMessage { factory SignalResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SignalResponse.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SignalResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SignalResponse_Message> - _SignalResponse_MessageByTag = { + static const $core.Map<$core.int, SignalResponse_Message> _SignalResponse_MessageByTag = { 1: SignalResponse_Message.join, 2: SignalResponse_Message.answer, 3: SignalResponse_Message.offer, @@ -518,90 +487,40 @@ class SignalResponse extends $pb.GeneratedMessage { 26: SignalResponse_Message.subscribedAudioCodecUpdate, 0: SignalResponse_Message.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SignalResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..oo(0, [ - 1, - 2, - 3, - 4, - 5, - 6, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26 - ]) - ..aOM(1, _omitFieldNames ? '' : 'join', - subBuilder: JoinResponse.create) - ..aOM(2, _omitFieldNames ? '' : 'answer', - subBuilder: SessionDescription.create) - ..aOM(3, _omitFieldNames ? '' : 'offer', - subBuilder: SessionDescription.create) - ..aOM(4, _omitFieldNames ? '' : 'trickle', - subBuilder: TrickleRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'update', - subBuilder: ParticipantUpdate.create) - ..aOM(6, _omitFieldNames ? '' : 'trackPublished', - subBuilder: TrackPublishedResponse.create) - ..aOM(8, _omitFieldNames ? '' : 'leave', - subBuilder: LeaveRequest.create) - ..aOM(9, _omitFieldNames ? '' : 'mute', - subBuilder: MuteTrackRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'speakersChanged', - subBuilder: SpeakersChanged.create) - ..aOM(11, _omitFieldNames ? '' : 'roomUpdate', - subBuilder: RoomUpdate.create) - ..aOM( - 12, _omitFieldNames ? '' : 'connectionQuality', + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignalResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]) + ..aOM(1, _omitFieldNames ? '' : 'join', subBuilder: JoinResponse.create) + ..aOM(2, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) + ..aOM(3, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) + ..aOM(4, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'update', subBuilder: ParticipantUpdate.create) + ..aOM(6, _omitFieldNames ? '' : 'trackPublished', subBuilder: TrackPublishedResponse.create) + ..aOM(8, _omitFieldNames ? '' : 'leave', subBuilder: LeaveRequest.create) + ..aOM(9, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'speakersChanged', subBuilder: SpeakersChanged.create) + ..aOM(11, _omitFieldNames ? '' : 'roomUpdate', subBuilder: RoomUpdate.create) + ..aOM(12, _omitFieldNames ? '' : 'connectionQuality', subBuilder: ConnectionQualityUpdate.create) - ..aOM(13, _omitFieldNames ? '' : 'streamStateUpdate', - subBuilder: StreamStateUpdate.create) - ..aOM( - 14, _omitFieldNames ? '' : 'subscribedQualityUpdate', + ..aOM(13, _omitFieldNames ? '' : 'streamStateUpdate', subBuilder: StreamStateUpdate.create) + ..aOM(14, _omitFieldNames ? '' : 'subscribedQualityUpdate', subBuilder: SubscribedQualityUpdate.create) - ..aOM( - 15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', + ..aOM(15, _omitFieldNames ? '' : 'subscriptionPermissionUpdate', subBuilder: SubscriptionPermissionUpdate.create) ..aOS(16, _omitFieldNames ? '' : 'refreshToken') - ..aOM( - 17, _omitFieldNames ? '' : 'trackUnpublished', + ..aOM(17, _omitFieldNames ? '' : 'trackUnpublished', subBuilder: TrackUnpublishedResponse.create) ..aInt64(18, _omitFieldNames ? '' : 'pong') - ..aOM(19, _omitFieldNames ? '' : 'reconnect', - subBuilder: ReconnectResponse.create) + ..aOM(19, _omitFieldNames ? '' : 'reconnect', subBuilder: ReconnectResponse.create) ..aOM(20, _omitFieldNames ? '' : 'pongResp', subBuilder: Pong.create) - ..aOM( - 21, _omitFieldNames ? '' : 'subscriptionResponse', + ..aOM(21, _omitFieldNames ? '' : 'subscriptionResponse', subBuilder: SubscriptionResponse.create) - ..aOM(22, _omitFieldNames ? '' : 'requestResponse', - subBuilder: RequestResponse.create) - ..aOM(23, _omitFieldNames ? '' : 'trackSubscribed', - subBuilder: TrackSubscribed.create) - ..aOM(24, _omitFieldNames ? '' : 'roomMoved', - subBuilder: RoomMovedResponse.create) - ..aOM( - 25, _omitFieldNames ? '' : 'mediaSectionsRequirement', + ..aOM(22, _omitFieldNames ? '' : 'requestResponse', subBuilder: RequestResponse.create) + ..aOM(23, _omitFieldNames ? '' : 'trackSubscribed', subBuilder: TrackSubscribed.create) + ..aOM(24, _omitFieldNames ? '' : 'roomMoved', subBuilder: RoomMovedResponse.create) + ..aOM(25, _omitFieldNames ? '' : 'mediaSectionsRequirement', subBuilder: MediaSectionsRequirement.create) - ..aOM( - 26, _omitFieldNames ? '' : 'subscribedAudioCodecUpdate', + ..aOM(26, _omitFieldNames ? '' : 'subscribedAudioCodecUpdate', subBuilder: SubscribedAudioCodecUpdate.create) ..hasRequiredFields = false; @@ -609,8 +528,7 @@ class SignalResponse extends $pb.GeneratedMessage { SignalResponse clone() => SignalResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SignalResponse copyWith(void Function(SignalResponse) updates) => - super.copyWith((message) => updates(message as SignalResponse)) - as SignalResponse; + super.copyWith((message) => updates(message as SignalResponse)) as SignalResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -619,15 +537,12 @@ class SignalResponse extends $pb.GeneratedMessage { static SignalResponse create() => SignalResponse._(); @$core.override SignalResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SignalResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SignalResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SignalResponse? _defaultInstance; - SignalResponse_Message whichMessage() => - _SignalResponse_MessageByTag[$_whichOneof(0)]!; + SignalResponse_Message whichMessage() => _SignalResponse_MessageByTag[$_whichOneof(0)]!; void clearMessage() => $_clearField($_whichOneof(0)); /// sent when join is accepted @@ -779,8 +694,7 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(14) SubscribedQualityUpdate get subscribedQualityUpdate => $_getN(12); @$pb.TagNumber(14) - set subscribedQualityUpdate(SubscribedQualityUpdate value) => - $_setField(14, value); + set subscribedQualityUpdate(SubscribedQualityUpdate value) => $_setField(14, value); @$pb.TagNumber(14) $core.bool hasSubscribedQualityUpdate() => $_has(12); @$pb.TagNumber(14) @@ -792,15 +706,13 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(15) SubscriptionPermissionUpdate get subscriptionPermissionUpdate => $_getN(13); @$pb.TagNumber(15) - set subscriptionPermissionUpdate(SubscriptionPermissionUpdate value) => - $_setField(15, value); + set subscriptionPermissionUpdate(SubscriptionPermissionUpdate value) => $_setField(15, value); @$pb.TagNumber(15) $core.bool hasSubscriptionPermissionUpdate() => $_has(13); @$pb.TagNumber(15) void clearSubscriptionPermissionUpdate() => $_clearField(15); @$pb.TagNumber(15) - SubscriptionPermissionUpdate ensureSubscriptionPermissionUpdate() => - $_ensure(13); + SubscriptionPermissionUpdate ensureSubscriptionPermissionUpdate() => $_ensure(13); /// update the token the client was using, to prevent an active client from using an expired token @$pb.TagNumber(16) @@ -910,8 +822,7 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(25) MediaSectionsRequirement get mediaSectionsRequirement => $_getN(23); @$pb.TagNumber(25) - set mediaSectionsRequirement(MediaSectionsRequirement value) => - $_setField(25, value); + set mediaSectionsRequirement(MediaSectionsRequirement value) => $_setField(25, value); @$pb.TagNumber(25) $core.bool hasMediaSectionsRequirement() => $_has(23); @$pb.TagNumber(25) @@ -923,8 +834,7 @@ class SignalResponse extends $pb.GeneratedMessage { @$pb.TagNumber(26) SubscribedAudioCodecUpdate get subscribedAudioCodecUpdate => $_getN(24); @$pb.TagNumber(26) - set subscribedAudioCodecUpdate(SubscribedAudioCodecUpdate value) => - $_setField(26, value); + set subscribedAudioCodecUpdate(SubscribedAudioCodecUpdate value) => $_setField(26, value); @$pb.TagNumber(26) $core.bool hasSubscribedAudioCodecUpdate() => $_has(24); @$pb.TagNumber(26) @@ -953,20 +863,15 @@ class SimulcastCodec extends $pb.GeneratedMessage { factory SimulcastCodec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SimulcastCodec.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SimulcastCodec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SimulcastCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulcastCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') ..aOS(2, _omitFieldNames ? '' : 'cid') - ..pc<$2.VideoLayer>(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, - subBuilder: $2.VideoLayer.create) - ..e<$2.VideoLayer_Mode>( - 5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, + ..pc<$2.VideoLayer>(4, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) + ..e<$2.VideoLayer_Mode>(5, _omitFieldNames ? '' : 'videoLayerMode', $pb.PbFieldType.OE, defaultOrMaker: $2.VideoLayer_Mode.MODE_UNUSED, valueOf: $2.VideoLayer_Mode.valueOf, enumValues: $2.VideoLayer_Mode.values) @@ -976,8 +881,7 @@ class SimulcastCodec extends $pb.GeneratedMessage { SimulcastCodec clone() => SimulcastCodec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulcastCodec copyWith(void Function(SimulcastCodec) updates) => - super.copyWith((message) => updates(message as SimulcastCodec)) - as SimulcastCodec; + super.copyWith((message) => updates(message as SimulcastCodec)) as SimulcastCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -986,11 +890,9 @@ class SimulcastCodec extends $pb.GeneratedMessage { static SimulcastCodec create() => SimulcastCodec._(); @$core.override SimulcastCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulcastCodec getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SimulcastCodec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SimulcastCodec? _defaultInstance; @$pb.TagNumber(1) @@ -1070,49 +972,37 @@ class AddTrackRequest extends $pb.GeneratedMessage { factory AddTrackRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AddTrackRequest.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory AddTrackRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'AddTrackRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') ..aOS(2, _omitFieldNames ? '' : 'name') ..e<$2.TrackType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, - defaultOrMaker: $2.TrackType.AUDIO, - valueOf: $2.TrackType.valueOf, - enumValues: $2.TrackType.values) + defaultOrMaker: $2.TrackType.AUDIO, valueOf: $2.TrackType.valueOf, enumValues: $2.TrackType.values) ..a<$core.int>(4, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..aOB(6, _omitFieldNames ? '' : 'muted') ..aOB(7, _omitFieldNames ? '' : 'disableDtx') ..e<$2.TrackSource>(8, _omitFieldNames ? '' : 'source', $pb.PbFieldType.OE, - defaultOrMaker: $2.TrackSource.UNKNOWN, - valueOf: $2.TrackSource.valueOf, - enumValues: $2.TrackSource.values) - ..pc<$2.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, - subBuilder: $2.VideoLayer.create) - ..pc( - 10, _omitFieldNames ? '' : 'simulcastCodecs', $pb.PbFieldType.PM, + defaultOrMaker: $2.TrackSource.UNKNOWN, valueOf: $2.TrackSource.valueOf, enumValues: $2.TrackSource.values) + ..pc<$2.VideoLayer>(9, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) + ..pc(10, _omitFieldNames ? '' : 'simulcastCodecs', $pb.PbFieldType.PM, subBuilder: SimulcastCodec.create) ..aOS(11, _omitFieldNames ? '' : 'sid') ..aOB(12, _omitFieldNames ? '' : 'stereo') ..aOB(13, _omitFieldNames ? '' : 'disableRed') - ..e<$2.Encryption_Type>( - 14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, + ..e<$2.Encryption_Type>(14, _omitFieldNames ? '' : 'encryption', $pb.PbFieldType.OE, defaultOrMaker: $2.Encryption_Type.NONE, valueOf: $2.Encryption_Type.valueOf, enumValues: $2.Encryption_Type.values) ..aOS(15, _omitFieldNames ? '' : 'stream') - ..e<$2.BackupCodecPolicy>( - 16, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, + ..e<$2.BackupCodecPolicy>(16, _omitFieldNames ? '' : 'backupCodecPolicy', $pb.PbFieldType.OE, defaultOrMaker: $2.BackupCodecPolicy.PREFER_REGRESSION, valueOf: $2.BackupCodecPolicy.valueOf, enumValues: $2.BackupCodecPolicy.values) - ..pc<$2.AudioTrackFeature>( - 17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, + ..pc<$2.AudioTrackFeature>(17, _omitFieldNames ? '' : 'audioFeatures', $pb.PbFieldType.KE, valueOf: $2.AudioTrackFeature.valueOf, enumValues: $2.AudioTrackFeature.values, defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) @@ -1122,8 +1012,7 @@ class AddTrackRequest extends $pb.GeneratedMessage { AddTrackRequest clone() => AddTrackRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') AddTrackRequest copyWith(void Function(AddTrackRequest) updates) => - super.copyWith((message) => updates(message as AddTrackRequest)) - as AddTrackRequest; + super.copyWith((message) => updates(message as AddTrackRequest)) as AddTrackRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1132,11 +1021,10 @@ class AddTrackRequest extends $pb.GeneratedMessage { static AddTrackRequest create() => AddTrackRequest._(); @$core.override AddTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static AddTrackRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static AddTrackRequest getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AddTrackRequest? _defaultInstance; /// client ID of track, to match it when RTC track is received @@ -1308,19 +1196,14 @@ class TrickleRequest extends $pb.GeneratedMessage { factory TrickleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrickleRequest.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrickleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TrickleRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrickleRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'candidateInit', protoName: 'candidateInit') ..e(2, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, - defaultOrMaker: SignalTarget.PUBLISHER, - valueOf: SignalTarget.valueOf, - enumValues: SignalTarget.values) + defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) ..aOB(3, _omitFieldNames ? '' : 'final') ..hasRequiredFields = false; @@ -1328,8 +1211,7 @@ class TrickleRequest extends $pb.GeneratedMessage { TrickleRequest clone() => TrickleRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrickleRequest copyWith(void Function(TrickleRequest) updates) => - super.copyWith((message) => updates(message as TrickleRequest)) - as TrickleRequest; + super.copyWith((message) => updates(message as TrickleRequest)) as TrickleRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1338,11 +1220,9 @@ class TrickleRequest extends $pb.GeneratedMessage { static TrickleRequest create() => TrickleRequest._(); @$core.override TrickleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrickleRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TrickleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrickleRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1393,10 +1273,8 @@ class MuteTrackRequest extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'MuteTrackRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MuteTrackRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'sid') ..aOB(2, _omitFieldNames ? '' : 'muted') ..hasRequiredFields = false; @@ -1405,8 +1283,7 @@ class MuteTrackRequest extends $pb.GeneratedMessage { MuteTrackRequest clone() => MuteTrackRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') MuteTrackRequest copyWith(void Function(MuteTrackRequest) updates) => - super.copyWith((message) => updates(message as MuteTrackRequest)) - as MuteTrackRequest; + super.copyWith((message) => updates(message as MuteTrackRequest)) as MuteTrackRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1415,11 +1292,10 @@ class MuteTrackRequest extends $pb.GeneratedMessage { static MuteTrackRequest create() => MuteTrackRequest._(); @$core.override MuteTrackRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MuteTrackRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MuteTrackRequest getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MuteTrackRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1462,21 +1338,18 @@ class JoinResponse extends $pb.GeneratedMessage { final result = create(); if (room != null) result.room = room; if (participant != null) result.participant = participant; - if (otherParticipants != null) - result.otherParticipants.addAll(otherParticipants); + if (otherParticipants != null) result.otherParticipants.addAll(otherParticipants); if (serverVersion != null) result.serverVersion = serverVersion; if (iceServers != null) result.iceServers.addAll(iceServers); if (subscriberPrimary != null) result.subscriberPrimary = subscriberPrimary; if (alternativeUrl != null) result.alternativeUrl = alternativeUrl; - if (clientConfiguration != null) - result.clientConfiguration = clientConfiguration; + if (clientConfiguration != null) result.clientConfiguration = clientConfiguration; if (serverRegion != null) result.serverRegion = serverRegion; if (pingTimeout != null) result.pingTimeout = pingTimeout; if (pingInterval != null) result.pingInterval = pingInterval; if (serverInfo != null) result.serverInfo = serverInfo; if (sifTrailer != null) result.sifTrailer = sifTrailer; - if (enabledPublishCodecs != null) - result.enabledPublishCodecs.addAll(enabledPublishCodecs); + if (enabledPublishCodecs != null) result.enabledPublishCodecs.addAll(enabledPublishCodecs); if (fastPublish != null) result.fastPublish = fastPublish; return result; } @@ -1486,39 +1359,27 @@ class JoinResponse extends $pb.GeneratedMessage { factory JoinResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory JoinResponse.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory JoinResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'JoinResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) - ..aOM<$2.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', - subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>( - 3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, + ..aOM<$2.ParticipantInfo>(2, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) + ..pc<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..aOS(4, _omitFieldNames ? '' : 'serverVersion') - ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, - subBuilder: ICEServer.create) + ..pc(5, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) ..aOB(6, _omitFieldNames ? '' : 'subscriberPrimary') ..aOS(7, _omitFieldNames ? '' : 'alternativeUrl') - ..aOM<$2.ClientConfiguration>( - 8, _omitFieldNames ? '' : 'clientConfiguration', + ..aOM<$2.ClientConfiguration>(8, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $2.ClientConfiguration.create) ..aOS(9, _omitFieldNames ? '' : 'serverRegion') ..a<$core.int>(10, _omitFieldNames ? '' : 'pingTimeout', $pb.PbFieldType.O3) - ..a<$core.int>( - 11, _omitFieldNames ? '' : 'pingInterval', $pb.PbFieldType.O3) - ..aOM<$2.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', - subBuilder: $2.ServerInfo.create) - ..a<$core.List<$core.int>>( - 13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) - ..pc<$2.Codec>( - 14, _omitFieldNames ? '' : 'enabledPublishCodecs', $pb.PbFieldType.PM, - subBuilder: $2.Codec.create) + ..a<$core.int>(11, _omitFieldNames ? '' : 'pingInterval', $pb.PbFieldType.O3) + ..aOM<$2.ServerInfo>(12, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) + ..a<$core.List<$core.int>>(13, _omitFieldNames ? '' : 'sifTrailer', $pb.PbFieldType.OY) + ..pc<$2.Codec>(14, _omitFieldNames ? '' : 'enabledPublishCodecs', $pb.PbFieldType.PM, subBuilder: $2.Codec.create) ..aOB(15, _omitFieldNames ? '' : 'fastPublish') ..hasRequiredFields = false; @@ -1526,8 +1387,7 @@ class JoinResponse extends $pb.GeneratedMessage { JoinResponse clone() => JoinResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinResponse copyWith(void Function(JoinResponse) updates) => - super.copyWith((message) => updates(message as JoinResponse)) - as JoinResponse; + super.copyWith((message) => updates(message as JoinResponse)) as JoinResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1536,11 +1396,9 @@ class JoinResponse extends $pb.GeneratedMessage { static JoinResponse create() => JoinResponse._(); @$core.override JoinResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static JoinResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static JoinResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static JoinResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1685,8 +1543,7 @@ class ReconnectResponse extends $pb.GeneratedMessage { }) { final result = create(); if (iceServers != null) result.iceServers.addAll(iceServers); - if (clientConfiguration != null) - result.clientConfiguration = clientConfiguration; + if (clientConfiguration != null) result.clientConfiguration = clientConfiguration; if (serverInfo != null) result.serverInfo = serverInfo; if (lastMessageSeq != null) result.lastMessageSeq = lastMessageSeq; return result; @@ -1701,27 +1558,20 @@ class ReconnectResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ReconnectResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, - subBuilder: ICEServer.create) - ..aOM<$2.ClientConfiguration>( - 2, _omitFieldNames ? '' : 'clientConfiguration', + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconnectResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'iceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) + ..aOM<$2.ClientConfiguration>(2, _omitFieldNames ? '' : 'clientConfiguration', subBuilder: $2.ClientConfiguration.create) - ..aOM<$2.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', - subBuilder: $2.ServerInfo.create) - ..a<$core.int>( - 4, _omitFieldNames ? '' : 'lastMessageSeq', $pb.PbFieldType.OU3) + ..aOM<$2.ServerInfo>(3, _omitFieldNames ? '' : 'serverInfo', subBuilder: $2.ServerInfo.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'lastMessageSeq', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ReconnectResponse clone() => ReconnectResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ReconnectResponse copyWith(void Function(ReconnectResponse) updates) => - super.copyWith((message) => updates(message as ReconnectResponse)) - as ReconnectResponse; + super.copyWith((message) => updates(message as ReconnectResponse)) as ReconnectResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1730,11 +1580,10 @@ class ReconnectResponse extends $pb.GeneratedMessage { static ReconnectResponse create() => ReconnectResponse._(); @$core.override ReconnectResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ReconnectResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ReconnectResponse getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ReconnectResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1793,23 +1642,17 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TrackPublishedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'cid') - ..aOM<$2.TrackInfo>(2, _omitFieldNames ? '' : 'track', - subBuilder: $2.TrackInfo.create) + ..aOM<$2.TrackInfo>(2, _omitFieldNames ? '' : 'track', subBuilder: $2.TrackInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse clone() => - TrackPublishedResponse()..mergeFromMessage(this); + TrackPublishedResponse clone() => TrackPublishedResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackPublishedResponse copyWith( - void Function(TrackPublishedResponse) updates) => - super.copyWith((message) => updates(message as TrackPublishedResponse)) - as TrackPublishedResponse; + TrackPublishedResponse copyWith(void Function(TrackPublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackPublishedResponse)) as TrackPublishedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1818,11 +1661,10 @@ class TrackPublishedResponse extends $pb.GeneratedMessage { static TrackPublishedResponse create() => TrackPublishedResponse._(); @$core.override TrackPublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackPublishedResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TrackPublishedResponse getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrackPublishedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1864,21 +1706,16 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TrackUnpublishedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackUnpublishedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackUnpublishedResponse clone() => - TrackUnpublishedResponse()..mergeFromMessage(this); + TrackUnpublishedResponse clone() => TrackUnpublishedResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - TrackUnpublishedResponse copyWith( - void Function(TrackUnpublishedResponse) updates) => - super.copyWith((message) => updates(message as TrackUnpublishedResponse)) - as TrackUnpublishedResponse; + TrackUnpublishedResponse copyWith(void Function(TrackUnpublishedResponse) updates) => + super.copyWith((message) => updates(message as TrackUnpublishedResponse)) as TrackUnpublishedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1887,11 +1724,10 @@ class TrackUnpublishedResponse extends $pb.GeneratedMessage { static TrackUnpublishedResponse create() => TrackUnpublishedResponse._(); @$core.override TrackUnpublishedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackUnpublishedResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TrackUnpublishedResponse getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrackUnpublishedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1926,10 +1762,8 @@ class SessionDescription extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SessionDescription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionDescription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'type') ..aOS(2, _omitFieldNames ? '' : 'sdp') ..a<$core.int>(3, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) @@ -1939,8 +1773,7 @@ class SessionDescription extends $pb.GeneratedMessage { SessionDescription clone() => SessionDescription()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SessionDescription copyWith(void Function(SessionDescription) updates) => - super.copyWith((message) => updates(message as SessionDescription)) - as SessionDescription; + super.copyWith((message) => updates(message as SessionDescription)) as SessionDescription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -1949,11 +1782,10 @@ class SessionDescription extends $pb.GeneratedMessage { static SessionDescription create() => SessionDescription._(); @$core.override SessionDescription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SessionDescription getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SessionDescription getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SessionDescription? _defaultInstance; @$pb.TagNumber(1) @@ -2002,12 +1834,9 @@ class ParticipantUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ParticipantUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc<$2.ParticipantInfo>( - 1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParticipantUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc<$2.ParticipantInfo>(1, _omitFieldNames ? '' : 'participants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..hasRequiredFields = false; @@ -2015,8 +1844,7 @@ class ParticipantUpdate extends $pb.GeneratedMessage { ParticipantUpdate clone() => ParticipantUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ParticipantUpdate copyWith(void Function(ParticipantUpdate) updates) => - super.copyWith((message) => updates(message as ParticipantUpdate)) - as ParticipantUpdate; + super.copyWith((message) => updates(message as ParticipantUpdate)) as ParticipantUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2025,11 +1853,10 @@ class ParticipantUpdate extends $pb.GeneratedMessage { static ParticipantUpdate create() => ParticipantUpdate._(); @$core.override ParticipantUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ParticipantUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ParticipantUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ParticipantUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2045,8 +1872,7 @@ class UpdateSubscription extends $pb.GeneratedMessage { final result = create(); if (trackSids != null) result.trackSids.addAll(trackSids); if (subscribe != null) result.subscribe = subscribe; - if (participantTracks != null) - result.participantTracks.addAll(participantTracks); + if (participantTracks != null) result.participantTracks.addAll(participantTracks); return result; } @@ -2059,14 +1885,11 @@ class UpdateSubscription extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UpdateSubscription', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubscription', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'trackSids') ..aOB(2, _omitFieldNames ? '' : 'subscribe') - ..pc<$2.ParticipantTracks>( - 3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, + ..pc<$2.ParticipantTracks>(3, _omitFieldNames ? '' : 'participantTracks', $pb.PbFieldType.PM, subBuilder: $2.ParticipantTracks.create) ..hasRequiredFields = false; @@ -2074,8 +1897,7 @@ class UpdateSubscription extends $pb.GeneratedMessage { UpdateSubscription clone() => UpdateSubscription()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateSubscription copyWith(void Function(UpdateSubscription) updates) => - super.copyWith((message) => updates(message as UpdateSubscription)) - as UpdateSubscription; + super.copyWith((message) => updates(message as UpdateSubscription)) as UpdateSubscription; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2084,11 +1906,10 @@ class UpdateSubscription extends $pb.GeneratedMessage { static UpdateSubscription create() => UpdateSubscription._(); @$core.override UpdateSubscription createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateSubscription getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UpdateSubscription getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UpdateSubscription? _defaultInstance; @$pb.TagNumber(1) @@ -2137,17 +1958,12 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UpdateTrackSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTrackSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'trackSids') ..aOB(3, _omitFieldNames ? '' : 'disabled') - ..e<$2.VideoQuality>( - 4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoQuality.LOW, - valueOf: $2.VideoQuality.valueOf, - enumValues: $2.VideoQuality.values) + ..e<$2.VideoQuality>(4, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) ..a<$core.int>(5, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(6, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..a<$core.int>(7, _omitFieldNames ? '' : 'fps', $pb.PbFieldType.OU3) @@ -2158,8 +1974,7 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { UpdateTrackSettings clone() => UpdateTrackSettings()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateTrackSettings copyWith(void Function(UpdateTrackSettings) updates) => - super.copyWith((message) => updates(message as UpdateTrackSettings)) - as UpdateTrackSettings; + super.copyWith((message) => updates(message as UpdateTrackSettings)) as UpdateTrackSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2168,11 +1983,10 @@ class UpdateTrackSettings extends $pb.GeneratedMessage { static UpdateTrackSettings create() => UpdateTrackSettings._(); @$core.override UpdateTrackSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateTrackSettings getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UpdateTrackSettings getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UpdateTrackSettings? _defaultInstance; @$pb.TagNumber(1) @@ -2264,26 +2078,20 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UpdateLocalAudioTrack', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocalAudioTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.AudioTrackFeature>( - 2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, + ..pc<$2.AudioTrackFeature>(2, _omitFieldNames ? '' : 'features', $pb.PbFieldType.KE, valueOf: $2.AudioTrackFeature.valueOf, enumValues: $2.AudioTrackFeature.values, defaultEnumValue: $2.AudioTrackFeature.TF_STEREO) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack clone() => - UpdateLocalAudioTrack()..mergeFromMessage(this); + UpdateLocalAudioTrack clone() => UpdateLocalAudioTrack()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalAudioTrack copyWith( - void Function(UpdateLocalAudioTrack) updates) => - super.copyWith((message) => updates(message as UpdateLocalAudioTrack)) - as UpdateLocalAudioTrack; + UpdateLocalAudioTrack copyWith(void Function(UpdateLocalAudioTrack) updates) => + super.copyWith((message) => updates(message as UpdateLocalAudioTrack)) as UpdateLocalAudioTrack; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2292,11 +2100,10 @@ class UpdateLocalAudioTrack extends $pb.GeneratedMessage { static UpdateLocalAudioTrack create() => UpdateLocalAudioTrack._(); @$core.override UpdateLocalAudioTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateLocalAudioTrack getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UpdateLocalAudioTrack getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UpdateLocalAudioTrack? _defaultInstance; @$pb.TagNumber(1) @@ -2334,23 +2141,18 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UpdateLocalVideoTrack', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocalVideoTrack', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack clone() => - UpdateLocalVideoTrack()..mergeFromMessage(this); + UpdateLocalVideoTrack clone() => UpdateLocalVideoTrack()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateLocalVideoTrack copyWith( - void Function(UpdateLocalVideoTrack) updates) => - super.copyWith((message) => updates(message as UpdateLocalVideoTrack)) - as UpdateLocalVideoTrack; + UpdateLocalVideoTrack copyWith(void Function(UpdateLocalVideoTrack) updates) => + super.copyWith((message) => updates(message as UpdateLocalVideoTrack)) as UpdateLocalVideoTrack; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2359,11 +2161,10 @@ class UpdateLocalVideoTrack extends $pb.GeneratedMessage { static UpdateLocalVideoTrack create() => UpdateLocalVideoTrack._(); @$core.override UpdateLocalVideoTrack createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateLocalVideoTrack getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UpdateLocalVideoTrack getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UpdateLocalVideoTrack? _defaultInstance; @$pb.TagNumber(1) @@ -2414,35 +2215,28 @@ class LeaveRequest extends $pb.GeneratedMessage { factory LeaveRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory LeaveRequest.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory LeaveRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'LeaveRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LeaveRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'canReconnect') - ..e<$2.DisconnectReason>( - 2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, + ..e<$2.DisconnectReason>(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, defaultOrMaker: $2.DisconnectReason.UNKNOWN_REASON, valueOf: $2.DisconnectReason.valueOf, enumValues: $2.DisconnectReason.values) - ..e( - 3, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE, + ..e(3, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE, defaultOrMaker: LeaveRequest_Action.DISCONNECT, valueOf: LeaveRequest_Action.valueOf, enumValues: LeaveRequest_Action.values) - ..aOM(4, _omitFieldNames ? '' : 'regions', - subBuilder: RegionSettings.create) + ..aOM(4, _omitFieldNames ? '' : 'regions', subBuilder: RegionSettings.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') LeaveRequest clone() => LeaveRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') LeaveRequest copyWith(void Function(LeaveRequest) updates) => - super.copyWith((message) => updates(message as LeaveRequest)) - as LeaveRequest; + super.copyWith((message) => updates(message as LeaveRequest)) as LeaveRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2451,11 +2245,9 @@ class LeaveRequest extends $pb.GeneratedMessage { static LeaveRequest create() => LeaveRequest._(); @$core.override LeaveRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static LeaveRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static LeaveRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static LeaveRequest? _defaultInstance; /// sent when server initiates the disconnect due to server-restart @@ -2522,21 +2314,17 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UpdateVideoLayers', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateVideoLayers', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, - subBuilder: $2.VideoLayer.create) + ..pc<$2.VideoLayer>(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: $2.VideoLayer.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateVideoLayers clone() => UpdateVideoLayers()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') UpdateVideoLayers copyWith(void Function(UpdateVideoLayers) updates) => - super.copyWith((message) => updates(message as UpdateVideoLayers)) - as UpdateVideoLayers; + super.copyWith((message) => updates(message as UpdateVideoLayers)) as UpdateVideoLayers; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2545,11 +2333,10 @@ class UpdateVideoLayers extends $pb.GeneratedMessage { static UpdateVideoLayers create() => UpdateVideoLayers._(); @$core.override UpdateVideoLayers createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateVideoLayers getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UpdateVideoLayers getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UpdateVideoLayers? _defaultInstance; @$pb.TagNumber(1) @@ -2589,10 +2376,8 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'UpdateParticipantMetadata', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateParticipantMetadata', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'metadata') ..aOS(2, _omitFieldNames ? '' : 'name') ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'attributes', @@ -2604,13 +2389,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata clone() => - UpdateParticipantMetadata()..mergeFromMessage(this); + UpdateParticipantMetadata clone() => UpdateParticipantMetadata()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateParticipantMetadata copyWith( - void Function(UpdateParticipantMetadata) updates) => - super.copyWith((message) => updates(message as UpdateParticipantMetadata)) - as UpdateParticipantMetadata; + UpdateParticipantMetadata copyWith(void Function(UpdateParticipantMetadata) updates) => + super.copyWith((message) => updates(message as UpdateParticipantMetadata)) as UpdateParticipantMetadata; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2619,11 +2401,10 @@ class UpdateParticipantMetadata extends $pb.GeneratedMessage { static UpdateParticipantMetadata create() => UpdateParticipantMetadata._(); @$core.override UpdateParticipantMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateParticipantMetadata getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static UpdateParticipantMetadata getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UpdateParticipantMetadata? _defaultInstance; @$pb.TagNumber(1) @@ -2677,14 +2458,11 @@ class ICEServer extends $pb.GeneratedMessage { factory ICEServer.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ICEServer.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory ICEServer.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ICEServer', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ICEServer', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'urls') ..aOS(2, _omitFieldNames ? '' : 'username') ..aOS(3, _omitFieldNames ? '' : 'credential') @@ -2705,8 +2483,7 @@ class ICEServer extends $pb.GeneratedMessage { ICEServer createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ICEServer getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ICEServer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ICEServer? _defaultInstance; @$pb.TagNumber(1) @@ -2745,25 +2522,19 @@ class SpeakersChanged extends $pb.GeneratedMessage { factory SpeakersChanged.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SpeakersChanged.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SpeakersChanged.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SpeakersChanged', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc<$2.SpeakerInfo>( - 1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, - subBuilder: $2.SpeakerInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpeakersChanged', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc<$2.SpeakerInfo>(1, _omitFieldNames ? '' : 'speakers', $pb.PbFieldType.PM, subBuilder: $2.SpeakerInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakersChanged clone() => SpeakersChanged()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SpeakersChanged copyWith(void Function(SpeakersChanged) updates) => - super.copyWith((message) => updates(message as SpeakersChanged)) - as SpeakersChanged; + super.copyWith((message) => updates(message as SpeakersChanged)) as SpeakersChanged; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2772,11 +2543,10 @@ class SpeakersChanged extends $pb.GeneratedMessage { static SpeakersChanged create() => SpeakersChanged._(); @$core.override SpeakersChanged createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SpeakersChanged getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SpeakersChanged getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SpeakersChanged? _defaultInstance; @$pb.TagNumber(1) @@ -2797,14 +2567,11 @@ class RoomUpdate extends $pb.GeneratedMessage { factory RoomUpdate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RoomUpdate.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RoomUpdate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RoomUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) ..hasRequiredFields = false; @@ -2823,8 +2590,7 @@ class RoomUpdate extends $pb.GeneratedMessage { RoomUpdate createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RoomUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RoomUpdate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RoomUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2861,13 +2627,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ConnectionQualityInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') - ..e<$2.ConnectionQuality>( - 2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + ..e<$2.ConnectionQuality>(2, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, defaultOrMaker: $2.ConnectionQuality.POOR, valueOf: $2.ConnectionQuality.valueOf, enumValues: $2.ConnectionQuality.values) @@ -2875,13 +2638,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo clone() => - ConnectionQualityInfo()..mergeFromMessage(this); + ConnectionQualityInfo clone() => ConnectionQualityInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityInfo copyWith( - void Function(ConnectionQualityInfo) updates) => - super.copyWith((message) => updates(message as ConnectionQualityInfo)) - as ConnectionQualityInfo; + ConnectionQualityInfo copyWith(void Function(ConnectionQualityInfo) updates) => + super.copyWith((message) => updates(message as ConnectionQualityInfo)) as ConnectionQualityInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2890,11 +2650,10 @@ class ConnectionQualityInfo extends $pb.GeneratedMessage { static ConnectionQualityInfo create() => ConnectionQualityInfo._(); @$core.override ConnectionQualityInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionQualityInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionQualityInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ConnectionQualityInfo? _defaultInstance; @$pb.TagNumber(1) @@ -2943,23 +2702,17 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ConnectionQualityUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc( - 1, _omitFieldNames ? '' : 'updates', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionQualityUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'updates', $pb.PbFieldType.PM, subBuilder: ConnectionQualityInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate clone() => - ConnectionQualityUpdate()..mergeFromMessage(this); + ConnectionQualityUpdate clone() => ConnectionQualityUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ConnectionQualityUpdate copyWith( - void Function(ConnectionQualityUpdate) updates) => - super.copyWith((message) => updates(message as ConnectionQualityUpdate)) - as ConnectionQualityUpdate; + ConnectionQualityUpdate copyWith(void Function(ConnectionQualityUpdate) updates) => + super.copyWith((message) => updates(message as ConnectionQualityUpdate)) as ConnectionQualityUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -2968,11 +2721,10 @@ class ConnectionQualityUpdate extends $pb.GeneratedMessage { static ConnectionQualityUpdate create() => ConnectionQualityUpdate._(); @$core.override ConnectionQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionQualityUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionQualityUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ConnectionQualityUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -2997,28 +2749,22 @@ class StreamStateInfo extends $pb.GeneratedMessage { factory StreamStateInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory StreamStateInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory StreamStateInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'StreamStateInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOS(2, _omitFieldNames ? '' : 'trackSid') ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, - defaultOrMaker: StreamState.ACTIVE, - valueOf: StreamState.valueOf, - enumValues: StreamState.values) + defaultOrMaker: StreamState.ACTIVE, valueOf: StreamState.valueOf, enumValues: StreamState.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateInfo clone() => StreamStateInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateInfo copyWith(void Function(StreamStateInfo) updates) => - super.copyWith((message) => updates(message as StreamStateInfo)) - as StreamStateInfo; + super.copyWith((message) => updates(message as StreamStateInfo)) as StreamStateInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3027,11 +2773,10 @@ class StreamStateInfo extends $pb.GeneratedMessage { static StreamStateInfo create() => StreamStateInfo._(); @$core.override StreamStateInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamStateInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static StreamStateInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static StreamStateInfo? _defaultInstance; @$pb.TagNumber(1) @@ -3080,12 +2825,9 @@ class StreamStateUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'StreamStateUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc( - 1, _omitFieldNames ? '' : 'streamStates', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStateUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'streamStates', $pb.PbFieldType.PM, subBuilder: StreamStateInfo.create) ..hasRequiredFields = false; @@ -3093,8 +2835,7 @@ class StreamStateUpdate extends $pb.GeneratedMessage { StreamStateUpdate clone() => StreamStateUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') StreamStateUpdate copyWith(void Function(StreamStateUpdate) updates) => - super.copyWith((message) => updates(message as StreamStateUpdate)) - as StreamStateUpdate; + super.copyWith((message) => updates(message as StreamStateUpdate)) as StreamStateUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3103,11 +2844,10 @@ class StreamStateUpdate extends $pb.GeneratedMessage { static StreamStateUpdate create() => StreamStateUpdate._(); @$core.override StreamStateUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamStateUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static StreamStateUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static StreamStateUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3134,15 +2874,10 @@ class SubscribedQuality extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscribedQuality', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..e<$2.VideoQuality>( - 1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, - defaultOrMaker: $2.VideoQuality.LOW, - valueOf: $2.VideoQuality.valueOf, - enumValues: $2.VideoQuality.values) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQuality', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..e<$2.VideoQuality>(1, _omitFieldNames ? '' : 'quality', $pb.PbFieldType.OE, + defaultOrMaker: $2.VideoQuality.LOW, valueOf: $2.VideoQuality.valueOf, enumValues: $2.VideoQuality.values) ..aOB(2, _omitFieldNames ? '' : 'enabled') ..hasRequiredFields = false; @@ -3150,8 +2885,7 @@ class SubscribedQuality extends $pb.GeneratedMessage { SubscribedQuality clone() => SubscribedQuality()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedQuality copyWith(void Function(SubscribedQuality) updates) => - super.copyWith((message) => updates(message as SubscribedQuality)) - as SubscribedQuality; + super.copyWith((message) => updates(message as SubscribedQuality)) as SubscribedQuality; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3160,11 +2894,10 @@ class SubscribedQuality extends $pb.GeneratedMessage { static SubscribedQuality create() => SubscribedQuality._(); @$core.override SubscribedQuality createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedQuality getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedQuality getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscribedQuality? _defaultInstance; @$pb.TagNumber(1) @@ -3202,17 +2935,13 @@ class SubscribedCodec extends $pb.GeneratedMessage { factory SubscribedCodec.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SubscribedCodec.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SubscribedCodec.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscribedCodec', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedCodec', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'codec') - ..pc( - 2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, + ..pc(2, _omitFieldNames ? '' : 'qualities', $pb.PbFieldType.PM, subBuilder: SubscribedQuality.create) ..hasRequiredFields = false; @@ -3220,8 +2949,7 @@ class SubscribedCodec extends $pb.GeneratedMessage { SubscribedCodec clone() => SubscribedCodec()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscribedCodec copyWith(void Function(SubscribedCodec) updates) => - super.copyWith((message) => updates(message as SubscribedCodec)) - as SubscribedCodec; + super.copyWith((message) => updates(message as SubscribedCodec)) as SubscribedCodec; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3230,11 +2958,10 @@ class SubscribedCodec extends $pb.GeneratedMessage { static SubscribedCodec create() => SubscribedCodec._(); @$core.override SubscribedCodec createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedCodec getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedCodec getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscribedCodec? _defaultInstance; @$pb.TagNumber(1) @@ -3253,16 +2980,13 @@ class SubscribedCodec extends $pb.GeneratedMessage { class SubscribedQualityUpdate extends $pb.GeneratedMessage { factory SubscribedQualityUpdate({ $core.String? trackSid, - @$core.Deprecated('This field is deprecated.') - $core.Iterable? subscribedQualities, + @$core.Deprecated('This field is deprecated.') $core.Iterable? subscribedQualities, $core.Iterable? subscribedCodecs, }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; - if (subscribedQualities != null) - result.subscribedQualities.addAll(subscribedQualities); - if (subscribedCodecs != null) - result.subscribedCodecs.addAll(subscribedCodecs); + if (subscribedQualities != null) result.subscribedQualities.addAll(subscribedQualities); + if (subscribedCodecs != null) result.subscribedCodecs.addAll(subscribedCodecs); return result; } @@ -3275,27 +2999,20 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscribedQualityUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedQualityUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc( - 2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, + ..pc(2, _omitFieldNames ? '' : 'subscribedQualities', $pb.PbFieldType.PM, subBuilder: SubscribedQuality.create) - ..pc( - 3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, + ..pc(3, _omitFieldNames ? '' : 'subscribedCodecs', $pb.PbFieldType.PM, subBuilder: SubscribedCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate clone() => - SubscribedQualityUpdate()..mergeFromMessage(this); + SubscribedQualityUpdate clone() => SubscribedQualityUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedQualityUpdate copyWith( - void Function(SubscribedQualityUpdate) updates) => - super.copyWith((message) => updates(message as SubscribedQualityUpdate)) - as SubscribedQualityUpdate; + SubscribedQualityUpdate copyWith(void Function(SubscribedQualityUpdate) updates) => + super.copyWith((message) => updates(message as SubscribedQualityUpdate)) as SubscribedQualityUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3304,11 +3021,10 @@ class SubscribedQualityUpdate extends $pb.GeneratedMessage { static SubscribedQualityUpdate create() => SubscribedQualityUpdate._(); @$core.override SubscribedQualityUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedQualityUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedQualityUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscribedQualityUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3335,8 +3051,7 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { }) { final result = create(); if (trackSid != null) result.trackSid = trackSid; - if (subscribedAudioCodecs != null) - result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); + if (subscribedAudioCodecs != null) result.subscribedAudioCodecs.addAll(subscribedAudioCodecs); return result; } @@ -3349,25 +3064,18 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscribedAudioCodecUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribedAudioCodecUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..pc<$2.SubscribedAudioCodec>( - 2, _omitFieldNames ? '' : 'subscribedAudioCodecs', $pb.PbFieldType.PM, + ..pc<$2.SubscribedAudioCodec>(2, _omitFieldNames ? '' : 'subscribedAudioCodecs', $pb.PbFieldType.PM, subBuilder: $2.SubscribedAudioCodec.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodecUpdate clone() => - SubscribedAudioCodecUpdate()..mergeFromMessage(this); + SubscribedAudioCodecUpdate clone() => SubscribedAudioCodecUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscribedAudioCodecUpdate copyWith( - void Function(SubscribedAudioCodecUpdate) updates) => - super.copyWith( - (message) => updates(message as SubscribedAudioCodecUpdate)) - as SubscribedAudioCodecUpdate; + SubscribedAudioCodecUpdate copyWith(void Function(SubscribedAudioCodecUpdate) updates) => + super.copyWith((message) => updates(message as SubscribedAudioCodecUpdate)) as SubscribedAudioCodecUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3376,11 +3084,10 @@ class SubscribedAudioCodecUpdate extends $pb.GeneratedMessage { static SubscribedAudioCodecUpdate create() => SubscribedAudioCodecUpdate._(); @$core.override SubscribedAudioCodecUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribedAudioCodecUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscribedAudioCodecUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscribedAudioCodecUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3407,8 +3114,7 @@ class TrackPermission extends $pb.GeneratedMessage { if (participantSid != null) result.participantSid = participantSid; if (allTracks != null) result.allTracks = allTracks; if (trackSids != null) result.trackSids.addAll(trackSids); - if (participantIdentity != null) - result.participantIdentity = participantIdentity; + if (participantIdentity != null) result.participantIdentity = participantIdentity; return result; } @@ -3417,14 +3123,11 @@ class TrackPermission extends $pb.GeneratedMessage { factory TrackPermission.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackPermission.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackPermission.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TrackPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOB(2, _omitFieldNames ? '' : 'allTracks') ..pPS(3, _omitFieldNames ? '' : 'trackSids') @@ -3435,8 +3138,7 @@ class TrackPermission extends $pb.GeneratedMessage { TrackPermission clone() => TrackPermission()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackPermission copyWith(void Function(TrackPermission) updates) => - super.copyWith((message) => updates(message as TrackPermission)) - as TrackPermission; + super.copyWith((message) => updates(message as TrackPermission)) as TrackPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3445,11 +3147,10 @@ class TrackPermission extends $pb.GeneratedMessage { static TrackPermission create() => TrackPermission._(); @$core.override TrackPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackPermission getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TrackPermission getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrackPermission? _defaultInstance; /// permission could be granted either by participant sid or identity @@ -3491,8 +3192,7 @@ class SubscriptionPermission extends $pb.GeneratedMessage { }) { final result = create(); if (allParticipants != null) result.allParticipants = allParticipants; - if (trackPermissions != null) - result.trackPermissions.addAll(trackPermissions); + if (trackPermissions != null) result.trackPermissions.addAll(trackPermissions); return result; } @@ -3505,24 +3205,18 @@ class SubscriptionPermission extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscriptionPermission', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermission', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allParticipants') - ..pc( - 2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, + ..pc(2, _omitFieldNames ? '' : 'trackPermissions', $pb.PbFieldType.PM, subBuilder: TrackPermission.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission clone() => - SubscriptionPermission()..mergeFromMessage(this); + SubscriptionPermission clone() => SubscriptionPermission()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermission copyWith( - void Function(SubscriptionPermission) updates) => - super.copyWith((message) => updates(message as SubscriptionPermission)) - as SubscriptionPermission; + SubscriptionPermission copyWith(void Function(SubscriptionPermission) updates) => + super.copyWith((message) => updates(message as SubscriptionPermission)) as SubscriptionPermission; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3531,11 +3225,10 @@ class SubscriptionPermission extends $pb.GeneratedMessage { static SubscriptionPermission create() => SubscriptionPermission._(); @$core.override SubscriptionPermission createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionPermission getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionPermission getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionPermission? _defaultInstance; @$pb.TagNumber(1) @@ -3573,38 +3266,30 @@ class SubscriptionPermissionUpdate extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscriptionPermissionUpdate', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionPermissionUpdate', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'participantSid') ..aOS(2, _omitFieldNames ? '' : 'trackSid') ..aOB(3, _omitFieldNames ? '' : 'allowed') ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermissionUpdate clone() => - SubscriptionPermissionUpdate()..mergeFromMessage(this); + SubscriptionPermissionUpdate clone() => SubscriptionPermissionUpdate()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionPermissionUpdate copyWith( - void Function(SubscriptionPermissionUpdate) updates) => - super.copyWith( - (message) => updates(message as SubscriptionPermissionUpdate)) - as SubscriptionPermissionUpdate; + SubscriptionPermissionUpdate copyWith(void Function(SubscriptionPermissionUpdate) updates) => + super.copyWith((message) => updates(message as SubscriptionPermissionUpdate)) as SubscriptionPermissionUpdate; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate create() => - SubscriptionPermissionUpdate._(); + static SubscriptionPermissionUpdate create() => SubscriptionPermissionUpdate._(); @$core.override SubscriptionPermissionUpdate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionPermissionUpdate getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionPermissionUpdate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionPermissionUpdate? _defaultInstance; @$pb.TagNumber(1) @@ -3646,8 +3331,7 @@ class RoomMovedResponse extends $pb.GeneratedMessage { if (room != null) result.room = room; if (token != null) result.token = token; if (participant != null) result.participant = participant; - if (otherParticipants != null) - result.otherParticipants.addAll(otherParticipants); + if (otherParticipants != null) result.otherParticipants.addAll(otherParticipants); return result; } @@ -3660,16 +3344,12 @@ class RoomMovedResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RoomMovedResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoomMovedResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOM<$2.Room>(1, _omitFieldNames ? '' : 'room', subBuilder: $2.Room.create) ..aOS(2, _omitFieldNames ? '' : 'token') - ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', - subBuilder: $2.ParticipantInfo.create) - ..pc<$2.ParticipantInfo>( - 4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, + ..aOM<$2.ParticipantInfo>(3, _omitFieldNames ? '' : 'participant', subBuilder: $2.ParticipantInfo.create) + ..pc<$2.ParticipantInfo>(4, _omitFieldNames ? '' : 'otherParticipants', $pb.PbFieldType.PM, subBuilder: $2.ParticipantInfo.create) ..hasRequiredFields = false; @@ -3677,8 +3357,7 @@ class RoomMovedResponse extends $pb.GeneratedMessage { RoomMovedResponse clone() => RoomMovedResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RoomMovedResponse copyWith(void Function(RoomMovedResponse) updates) => - super.copyWith((message) => updates(message as RoomMovedResponse)) - as RoomMovedResponse; + super.copyWith((message) => updates(message as RoomMovedResponse)) as RoomMovedResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3687,11 +3366,10 @@ class RoomMovedResponse extends $pb.GeneratedMessage { static RoomMovedResponse create() => RoomMovedResponse._(); @$core.override RoomMovedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RoomMovedResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RoomMovedResponse getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RoomMovedResponse? _defaultInstance; /// information about the new room @@ -3747,10 +3425,8 @@ class SyncState extends $pb.GeneratedMessage { if (publishTracks != null) result.publishTracks.addAll(publishTracks); if (dataChannels != null) result.dataChannels.addAll(dataChannels); if (offer != null) result.offer = offer; - if (trackSidsDisabled != null) - result.trackSidsDisabled.addAll(trackSidsDisabled); - if (datachannelReceiveStates != null) - result.datachannelReceiveStates.addAll(datachannelReceiveStates); + if (trackSidsDisabled != null) result.trackSidsDisabled.addAll(trackSidsDisabled); + if (datachannelReceiveStates != null) result.datachannelReceiveStates.addAll(datachannelReceiveStates); return result; } @@ -3759,29 +3435,20 @@ class SyncState extends $pb.GeneratedMessage { factory SyncState.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SyncState.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory SyncState.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SyncState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'answer', - subBuilder: SessionDescription.create) - ..aOM(2, _omitFieldNames ? '' : 'subscription', - subBuilder: UpdateSubscription.create) - ..pc( - 3, _omitFieldNames ? '' : 'publishTracks', $pb.PbFieldType.PM, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SyncState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'answer', subBuilder: SessionDescription.create) + ..aOM(2, _omitFieldNames ? '' : 'subscription', subBuilder: UpdateSubscription.create) + ..pc(3, _omitFieldNames ? '' : 'publishTracks', $pb.PbFieldType.PM, subBuilder: TrackPublishedResponse.create) - ..pc( - 4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, + ..pc(4, _omitFieldNames ? '' : 'dataChannels', $pb.PbFieldType.PM, subBuilder: DataChannelInfo.create) - ..aOM(5, _omitFieldNames ? '' : 'offer', - subBuilder: SessionDescription.create) + ..aOM(5, _omitFieldNames ? '' : 'offer', subBuilder: SessionDescription.create) ..pPS(6, _omitFieldNames ? '' : 'trackSidsDisabled') - ..pc(7, - _omitFieldNames ? '' : 'datachannelReceiveStates', $pb.PbFieldType.PM, + ..pc(7, _omitFieldNames ? '' : 'datachannelReceiveStates', $pb.PbFieldType.PM, subBuilder: DataChannelReceiveState.create) ..hasRequiredFields = false; @@ -3800,8 +3467,7 @@ class SyncState extends $pb.GeneratedMessage { SyncState createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SyncState getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SyncState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SyncState? _defaultInstance; /// last subscribe/publish answer before reconnecting @@ -3853,8 +3519,7 @@ class SyncState extends $pb.GeneratedMessage { $pb.PbList<$core.String> get trackSidsDisabled => $_getList(5); @$pb.TagNumber(7) - $pb.PbList get datachannelReceiveStates => - $_getList(6); + $pb.PbList get datachannelReceiveStates => $_getList(6); } class DataChannelReceiveState extends $pb.GeneratedMessage { @@ -3877,22 +3542,17 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataChannelReceiveState', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelReceiveState', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'publisherSid') ..a<$core.int>(2, _omitFieldNames ? '' : 'lastSeq', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState clone() => - DataChannelReceiveState()..mergeFromMessage(this); + DataChannelReceiveState clone() => DataChannelReceiveState()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - DataChannelReceiveState copyWith( - void Function(DataChannelReceiveState) updates) => - super.copyWith((message) => updates(message as DataChannelReceiveState)) - as DataChannelReceiveState; + DataChannelReceiveState copyWith(void Function(DataChannelReceiveState) updates) => + super.copyWith((message) => updates(message as DataChannelReceiveState)) as DataChannelReceiveState; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3901,11 +3561,10 @@ class DataChannelReceiveState extends $pb.GeneratedMessage { static DataChannelReceiveState create() => DataChannelReceiveState._(); @$core.override DataChannelReceiveState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataChannelReceiveState getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataChannelReceiveState getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataChannelReceiveState? _defaultInstance; @$pb.TagNumber(1) @@ -3945,28 +3604,22 @@ class DataChannelInfo extends $pb.GeneratedMessage { factory DataChannelInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory DataChannelInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory DataChannelInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'DataChannelInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataChannelInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'label') ..a<$core.int>(2, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..e(3, _omitFieldNames ? '' : 'target', $pb.PbFieldType.OE, - defaultOrMaker: SignalTarget.PUBLISHER, - valueOf: SignalTarget.valueOf, - enumValues: SignalTarget.values) + defaultOrMaker: SignalTarget.PUBLISHER, valueOf: SignalTarget.valueOf, enumValues: SignalTarget.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataChannelInfo clone() => DataChannelInfo()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') DataChannelInfo copyWith(void Function(DataChannelInfo) updates) => - super.copyWith((message) => updates(message as DataChannelInfo)) - as DataChannelInfo; + super.copyWith((message) => updates(message as DataChannelInfo)) as DataChannelInfo; @$core.override $pb.BuilderInfo get info_ => _i; @@ -3975,11 +3628,10 @@ class DataChannelInfo extends $pb.GeneratedMessage { static DataChannelInfo create() => DataChannelInfo._(); @$core.override DataChannelInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static DataChannelInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static DataChannelInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DataChannelInfo? _defaultInstance; @$pb.TagNumber(1) @@ -4040,17 +3692,12 @@ class SimulateScenario extends $pb.GeneratedMessage { if (nodeFailure != null) result.nodeFailure = nodeFailure; if (migration != null) result.migration = migration; if (serverLeave != null) result.serverLeave = serverLeave; - if (switchCandidateProtocol != null) - result.switchCandidateProtocol = switchCandidateProtocol; - if (subscriberBandwidth != null) - result.subscriberBandwidth = subscriberBandwidth; - if (disconnectSignalOnResume != null) - result.disconnectSignalOnResume = disconnectSignalOnResume; + if (switchCandidateProtocol != null) result.switchCandidateProtocol = switchCandidateProtocol; + if (subscriberBandwidth != null) result.subscriberBandwidth = subscriberBandwidth; + if (disconnectSignalOnResume != null) result.disconnectSignalOnResume = disconnectSignalOnResume; if (disconnectSignalOnResumeNoMessages != null) - result.disconnectSignalOnResumeNoMessages = - disconnectSignalOnResumeNoMessages; - if (leaveRequestFullReconnect != null) - result.leaveRequestFullReconnect = leaveRequestFullReconnect; + result.disconnectSignalOnResumeNoMessages = disconnectSignalOnResumeNoMessages; + if (leaveRequestFullReconnect != null) result.leaveRequestFullReconnect = leaveRequestFullReconnect; return result; } @@ -4063,8 +3710,7 @@ class SimulateScenario extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, SimulateScenario_Scenario> - _SimulateScenario_ScenarioByTag = { + static const $core.Map<$core.int, SimulateScenario_Scenario> _SimulateScenario_ScenarioByTag = { 1: SimulateScenario_Scenario.speakerUpdate, 2: SimulateScenario_Scenario.nodeFailure, 3: SimulateScenario_Scenario.migration, @@ -4076,21 +3722,15 @@ class SimulateScenario extends $pb.GeneratedMessage { 9: SimulateScenario_Scenario.leaveRequestFullReconnect, 0: SimulateScenario_Scenario.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SimulateScenario', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimulateScenario', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9]) - ..a<$core.int>( - 1, _omitFieldNames ? '' : 'speakerUpdate', $pb.PbFieldType.O3) + ..a<$core.int>(1, _omitFieldNames ? '' : 'speakerUpdate', $pb.PbFieldType.O3) ..aOB(2, _omitFieldNames ? '' : 'nodeFailure') ..aOB(3, _omitFieldNames ? '' : 'migration') ..aOB(4, _omitFieldNames ? '' : 'serverLeave') - ..e( - 5, _omitFieldNames ? '' : 'switchCandidateProtocol', $pb.PbFieldType.OE, - defaultOrMaker: CandidateProtocol.UDP, - valueOf: CandidateProtocol.valueOf, - enumValues: CandidateProtocol.values) + ..e(5, _omitFieldNames ? '' : 'switchCandidateProtocol', $pb.PbFieldType.OE, + defaultOrMaker: CandidateProtocol.UDP, valueOf: CandidateProtocol.valueOf, enumValues: CandidateProtocol.values) ..aInt64(6, _omitFieldNames ? '' : 'subscriberBandwidth') ..aOB(7, _omitFieldNames ? '' : 'disconnectSignalOnResume') ..aOB(8, _omitFieldNames ? '' : 'disconnectSignalOnResumeNoMessages') @@ -4101,8 +3741,7 @@ class SimulateScenario extends $pb.GeneratedMessage { SimulateScenario clone() => SimulateScenario()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SimulateScenario copyWith(void Function(SimulateScenario) updates) => - super.copyWith((message) => updates(message as SimulateScenario)) - as SimulateScenario; + super.copyWith((message) => updates(message as SimulateScenario)) as SimulateScenario; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4111,15 +3750,13 @@ class SimulateScenario extends $pb.GeneratedMessage { static SimulateScenario create() => SimulateScenario._(); @$core.override SimulateScenario createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SimulateScenario getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SimulateScenario getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SimulateScenario? _defaultInstance; - SimulateScenario_Scenario whichScenario() => - _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; + SimulateScenario_Scenario whichScenario() => _SimulateScenario_ScenarioByTag[$_whichOneof(0)]!; void clearScenario() => $_clearField($_whichOneof(0)); /// simulate N seconds of speaker activity @@ -4197,8 +3834,7 @@ class SimulateScenario extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get disconnectSignalOnResumeNoMessages => $_getBF(7); @$pb.TagNumber(8) - set disconnectSignalOnResumeNoMessages($core.bool value) => - $_setBool(7, value); + set disconnectSignalOnResumeNoMessages($core.bool value) => $_setBool(7, value); @$pb.TagNumber(8) $core.bool hasDisconnectSignalOnResumeNoMessages() => $_has(7); @$pb.TagNumber(8) @@ -4228,17 +3864,13 @@ class Ping extends $pb.GeneratedMessage { Ping._(); - factory Ping.fromBuffer($core.List<$core.int> data, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Ping.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Ping.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Ping.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Ping', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Ping', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'timestamp') ..aInt64(2, _omitFieldNames ? '' : 'rtt') ..hasRequiredFields = false; @@ -4246,8 +3878,7 @@ class Ping extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Ping clone() => Ping()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Ping copyWith(void Function(Ping) updates) => - super.copyWith((message) => updates(message as Ping)) as Ping; + Ping copyWith(void Function(Ping) updates) => super.copyWith((message) => updates(message as Ping)) as Ping; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4258,8 +3889,7 @@ class Ping extends $pb.GeneratedMessage { Ping createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Ping getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Ping getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Ping? _defaultInstance; @$pb.TagNumber(1) @@ -4295,17 +3925,13 @@ class Pong extends $pb.GeneratedMessage { Pong._(); - factory Pong.fromBuffer($core.List<$core.int> data, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pong.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory Pong.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory Pong.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'Pong', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pong', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'lastPingTimestamp') ..aInt64(2, _omitFieldNames ? '' : 'timestamp') ..hasRequiredFields = false; @@ -4313,8 +3939,7 @@ class Pong extends $pb.GeneratedMessage { @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Pong clone() => Pong()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - Pong copyWith(void Function(Pong) updates) => - super.copyWith((message) => updates(message as Pong)) as Pong; + Pong copyWith(void Function(Pong) updates) => super.copyWith((message) => updates(message as Pong)) as Pong; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4325,8 +3950,7 @@ class Pong extends $pb.GeneratedMessage { Pong createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Pong getDefault() => - _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Pong getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Pong? _defaultInstance; /// timestamp field of last received ping request @@ -4363,24 +3987,19 @@ class RegionSettings extends $pb.GeneratedMessage { factory RegionSettings.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RegionSettings.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RegionSettings.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RegionSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.PM, - subBuilder: RegionInfo.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'regions', $pb.PbFieldType.PM, subBuilder: RegionInfo.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionSettings clone() => RegionSettings()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RegionSettings copyWith(void Function(RegionSettings) updates) => - super.copyWith((message) => updates(message as RegionSettings)) - as RegionSettings; + super.copyWith((message) => updates(message as RegionSettings)) as RegionSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4389,11 +4008,9 @@ class RegionSettings extends $pb.GeneratedMessage { static RegionSettings create() => RegionSettings._(); @$core.override RegionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RegionSettings getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RegionSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RegionSettings? _defaultInstance; @$pb.TagNumber(1) @@ -4418,14 +4035,11 @@ class RegionInfo extends $pb.GeneratedMessage { factory RegionInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RegionInfo.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RegionInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RegionInfo', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegionInfo', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'region') ..aOS(2, _omitFieldNames ? '' : 'url') ..aInt64(3, _omitFieldNames ? '' : 'distance') @@ -4446,8 +4060,7 @@ class RegionInfo extends $pb.GeneratedMessage { RegionInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RegionInfo getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RegionInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RegionInfo? _defaultInstance; @$pb.TagNumber(1) @@ -4498,25 +4111,20 @@ class SubscriptionResponse extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'SubscriptionResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') - ..e<$2.SubscriptionError>( - 2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, + ..e<$2.SubscriptionError>(2, _omitFieldNames ? '' : 'err', $pb.PbFieldType.OE, defaultOrMaker: $2.SubscriptionError.SE_UNKNOWN, valueOf: $2.SubscriptionError.valueOf, enumValues: $2.SubscriptionError.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SubscriptionResponse clone() => - SubscriptionResponse()..mergeFromMessage(this); + SubscriptionResponse clone() => SubscriptionResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') SubscriptionResponse copyWith(void Function(SubscriptionResponse) updates) => - super.copyWith((message) => updates(message as SubscriptionResponse)) - as SubscriptionResponse; + super.copyWith((message) => updates(message as SubscriptionResponse)) as SubscriptionResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4525,11 +4133,10 @@ class SubscriptionResponse extends $pb.GeneratedMessage { static SubscriptionResponse create() => SubscriptionResponse._(); @$core.override SubscriptionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscriptionResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static SubscriptionResponse getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SubscriptionResponse? _defaultInstance; @$pb.TagNumber(1) @@ -4551,15 +4158,7 @@ class SubscriptionResponse extends $pb.GeneratedMessage { void clearErr() => $_clearField(2); } -enum RequestResponse_Request { - trickle, - addTrack, - mute, - updateMetadata, - updateAudioTrack, - updateVideoTrack, - notSet -} +enum RequestResponse_Request { trickle, addTrack, mute, updateMetadata, updateAudioTrack, updateVideoTrack, notSet } class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse({ @@ -4591,12 +4190,10 @@ class RequestResponse extends $pb.GeneratedMessage { factory RequestResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RequestResponse.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory RequestResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static const $core.Map<$core.int, RequestResponse_Request> - _RequestResponse_RequestByTag = { + static const $core.Map<$core.int, RequestResponse_Request> _RequestResponse_RequestByTag = { 4: RequestResponse_Request.trickle, 5: RequestResponse_Request.addTrack, 6: RequestResponse_Request.mute, @@ -4605,38 +4202,29 @@ class RequestResponse extends $pb.GeneratedMessage { 9: RequestResponse_Request.updateVideoTrack, 0: RequestResponse_Request.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'RequestResponse', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestResponse', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..oo(0, [4, 5, 6, 7, 8, 9]) ..a<$core.int>(1, _omitFieldNames ? '' : 'requestId', $pb.PbFieldType.OU3) - ..e( - 2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, + ..e(2, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE, defaultOrMaker: RequestResponse_Reason.OK, valueOf: RequestResponse_Reason.valueOf, enumValues: RequestResponse_Reason.values) ..aOS(3, _omitFieldNames ? '' : 'message') - ..aOM(4, _omitFieldNames ? '' : 'trickle', - subBuilder: TrickleRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'addTrack', - subBuilder: AddTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'mute', - subBuilder: MuteTrackRequest.create) + ..aOM(4, _omitFieldNames ? '' : 'trickle', subBuilder: TrickleRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'addTrack', subBuilder: AddTrackRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'mute', subBuilder: MuteTrackRequest.create) ..aOM(7, _omitFieldNames ? '' : 'updateMetadata', subBuilder: UpdateParticipantMetadata.create) - ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', - subBuilder: UpdateLocalAudioTrack.create) - ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', - subBuilder: UpdateLocalVideoTrack.create) + ..aOM(8, _omitFieldNames ? '' : 'updateAudioTrack', subBuilder: UpdateLocalAudioTrack.create) + ..aOM(9, _omitFieldNames ? '' : 'updateVideoTrack', subBuilder: UpdateLocalVideoTrack.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RequestResponse clone() => RequestResponse()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') RequestResponse copyWith(void Function(RequestResponse) updates) => - super.copyWith((message) => updates(message as RequestResponse)) - as RequestResponse; + super.copyWith((message) => updates(message as RequestResponse)) as RequestResponse; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4645,15 +4233,13 @@ class RequestResponse extends $pb.GeneratedMessage { static RequestResponse create() => RequestResponse._(); @$core.override RequestResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RequestResponse getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static RequestResponse getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RequestResponse? _defaultInstance; - RequestResponse_Request whichRequest() => - _RequestResponse_RequestByTag[$_whichOneof(0)]!; + RequestResponse_Request whichRequest() => _RequestResponse_RequestByTag[$_whichOneof(0)]!; void clearRequest() => $_clearField($_whichOneof(0)); @$pb.TagNumber(1) @@ -4764,14 +4350,11 @@ class TrackSubscribed extends $pb.GeneratedMessage { factory TrackSubscribed.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory TrackSubscribed.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory TrackSubscribed.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'TrackSubscribed', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackSubscribed', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'trackSid') ..hasRequiredFields = false; @@ -4779,8 +4362,7 @@ class TrackSubscribed extends $pb.GeneratedMessage { TrackSubscribed clone() => TrackSubscribed()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') TrackSubscribed copyWith(void Function(TrackSubscribed) updates) => - super.copyWith((message) => updates(message as TrackSubscribed)) - as TrackSubscribed; + super.copyWith((message) => updates(message as TrackSubscribed)) as TrackSubscribed; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4789,11 +4371,10 @@ class TrackSubscribed extends $pb.GeneratedMessage { static TrackSubscribed create() => TrackSubscribed._(); @$core.override TrackSubscribed createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static TrackSubscribed getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static TrackSubscribed getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TrackSubscribed? _defaultInstance; @$pb.TagNumber(1) @@ -4816,8 +4397,7 @@ class ConnectionSettings extends $pb.GeneratedMessage { final result = create(); if (autoSubscribe != null) result.autoSubscribe = autoSubscribe; if (adaptiveStream != null) result.adaptiveStream = adaptiveStream; - if (subscriberAllowPause != null) - result.subscriberAllowPause = subscriberAllowPause; + if (subscriberAllowPause != null) result.subscriberAllowPause = subscriberAllowPause; if (disableIceLite != null) result.disableIceLite = disableIceLite; return result; } @@ -4831,10 +4411,8 @@ class ConnectionSettings extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'ConnectionSettings', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectionSettings', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'autoSubscribe') ..aOB(2, _omitFieldNames ? '' : 'adaptiveStream') ..aOB(3, _omitFieldNames ? '' : 'subscriberAllowPause') @@ -4845,8 +4423,7 @@ class ConnectionSettings extends $pb.GeneratedMessage { ConnectionSettings clone() => ConnectionSettings()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') ConnectionSettings copyWith(void Function(ConnectionSettings) updates) => - super.copyWith((message) => updates(message as ConnectionSettings)) - as ConnectionSettings; + super.copyWith((message) => updates(message as ConnectionSettings)) as ConnectionSettings; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4855,11 +4432,10 @@ class ConnectionSettings extends $pb.GeneratedMessage { static ConnectionSettings create() => ConnectionSettings._(); @$core.override ConnectionSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectionSettings getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static ConnectionSettings getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ConnectionSettings? _defaultInstance; @$pb.TagNumber(1) @@ -4904,8 +4480,7 @@ class JoinRequest extends $pb.GeneratedMessage { $2.ClientInfo? clientInfo, ConnectionSettings? connectionSettings, $core.String? metadata, - $core.Iterable<$core.MapEntry<$core.String, $core.String>>? - participantAttributes, + $core.Iterable<$core.MapEntry<$core.String, $core.String>>? participantAttributes, $core.Iterable? addTrackRequests, SessionDescription? publisherOffer, $core.bool? reconnect, @@ -4915,13 +4490,10 @@ class JoinRequest extends $pb.GeneratedMessage { }) { final result = create(); if (clientInfo != null) result.clientInfo = clientInfo; - if (connectionSettings != null) - result.connectionSettings = connectionSettings; + if (connectionSettings != null) result.connectionSettings = connectionSettings; if (metadata != null) result.metadata = metadata; - if (participantAttributes != null) - result.participantAttributes.addEntries(participantAttributes); - if (addTrackRequests != null) - result.addTrackRequests.addAll(addTrackRequests); + if (participantAttributes != null) result.participantAttributes.addEntries(participantAttributes); + if (addTrackRequests != null) result.addTrackRequests.addAll(addTrackRequests); if (publisherOffer != null) result.publisherOffer = publisherOffer; if (reconnect != null) result.reconnect = reconnect; if (reconnectReason != null) result.reconnectReason = reconnectReason; @@ -4935,47 +4507,36 @@ class JoinRequest extends $pb.GeneratedMessage { factory JoinRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory JoinRequest.fromJson($core.String json, - [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => + factory JoinRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'JoinRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..aOM<$2.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', - subBuilder: $2.ClientInfo.create) - ..aOM(2, _omitFieldNames ? '' : 'connectionSettings', - subBuilder: ConnectionSettings.create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JoinRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..aOM<$2.ClientInfo>(1, _omitFieldNames ? '' : 'clientInfo', subBuilder: $2.ClientInfo.create) + ..aOM(2, _omitFieldNames ? '' : 'connectionSettings', subBuilder: ConnectionSettings.create) ..aOS(3, _omitFieldNames ? '' : 'metadata') - ..m<$core.String, $core.String>( - 4, _omitFieldNames ? '' : 'participantAttributes', + ..m<$core.String, $core.String>(4, _omitFieldNames ? '' : 'participantAttributes', entryClassName: 'JoinRequest.ParticipantAttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('livekit')) - ..pc( - 5, _omitFieldNames ? '' : 'addTrackRequests', $pb.PbFieldType.PM, + ..pc(5, _omitFieldNames ? '' : 'addTrackRequests', $pb.PbFieldType.PM, subBuilder: AddTrackRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'publisherOffer', - subBuilder: SessionDescription.create) + ..aOM(6, _omitFieldNames ? '' : 'publisherOffer', subBuilder: SessionDescription.create) ..aOB(7, _omitFieldNames ? '' : 'reconnect') - ..e<$2.ReconnectReason>( - 8, _omitFieldNames ? '' : 'reconnectReason', $pb.PbFieldType.OE, + ..e<$2.ReconnectReason>(8, _omitFieldNames ? '' : 'reconnectReason', $pb.PbFieldType.OE, defaultOrMaker: $2.ReconnectReason.RR_UNKNOWN, valueOf: $2.ReconnectReason.valueOf, enumValues: $2.ReconnectReason.values) ..aOS(9, _omitFieldNames ? '' : 'participantSid') - ..aOM(10, _omitFieldNames ? '' : 'syncState', - subBuilder: SyncState.create) + ..aOM(10, _omitFieldNames ? '' : 'syncState', subBuilder: SyncState.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinRequest clone() => JoinRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') JoinRequest copyWith(void Function(JoinRequest) updates) => - super.copyWith((message) => updates(message as JoinRequest)) - as JoinRequest; + super.copyWith((message) => updates(message as JoinRequest)) as JoinRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -4986,8 +4547,7 @@ class JoinRequest extends $pb.GeneratedMessage { JoinRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static JoinRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static JoinRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static JoinRequest? _defaultInstance; @$pb.TagNumber(1) @@ -5025,8 +4585,7 @@ class JoinRequest extends $pb.GeneratedMessage { /// will overwrite if the same key is in the token /// will not delete keys from token if there is a key collision and this sets that key to empty value @$pb.TagNumber(4) - $pb.PbMap<$core.String, $core.String> get participantAttributes => - $_getMap(3); + $pb.PbMap<$core.String, $core.String> get participantAttributes => $_getMap(3); @$pb.TagNumber(5) $pb.PbList get addTrackRequests => $_getList(4); @@ -5101,25 +4660,20 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'WrappedJoinRequest', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) - ..e( - 1, _omitFieldNames ? '' : 'compression', $pb.PbFieldType.OE, + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WrappedJoinRequest', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'compression', $pb.PbFieldType.OE, defaultOrMaker: WrappedJoinRequest_Compression.NONE, valueOf: WrappedJoinRequest_Compression.valueOf, enumValues: WrappedJoinRequest_Compression.values) - ..a<$core.List<$core.int>>( - 2, _omitFieldNames ? '' : 'joinRequest', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'joinRequest', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WrappedJoinRequest clone() => WrappedJoinRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') WrappedJoinRequest copyWith(void Function(WrappedJoinRequest) updates) => - super.copyWith((message) => updates(message as WrappedJoinRequest)) - as WrappedJoinRequest; + super.copyWith((message) => updates(message as WrappedJoinRequest)) as WrappedJoinRequest; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5128,11 +4682,10 @@ class WrappedJoinRequest extends $pb.GeneratedMessage { static WrappedJoinRequest create() => WrappedJoinRequest._(); @$core.override WrappedJoinRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static WrappedJoinRequest getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static WrappedJoinRequest getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static WrappedJoinRequest? _defaultInstance; @$pb.TagNumber(1) @@ -5174,22 +4727,17 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo( - _omitMessageNames ? '' : 'MediaSectionsRequirement', - package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), - createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MediaSectionsRequirement', + package: const $pb.PackageName(_omitMessageNames ? '' : 'livekit'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'numAudios', $pb.PbFieldType.OU3) ..a<$core.int>(2, _omitFieldNames ? '' : 'numVideos', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement clone() => - MediaSectionsRequirement()..mergeFromMessage(this); + MediaSectionsRequirement clone() => MediaSectionsRequirement()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - MediaSectionsRequirement copyWith( - void Function(MediaSectionsRequirement) updates) => - super.copyWith((message) => updates(message as MediaSectionsRequirement)) - as MediaSectionsRequirement; + MediaSectionsRequirement copyWith(void Function(MediaSectionsRequirement) updates) => + super.copyWith((message) => updates(message as MediaSectionsRequirement)) as MediaSectionsRequirement; @$core.override $pb.BuilderInfo get info_ => _i; @@ -5198,11 +4746,10 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { static MediaSectionsRequirement create() => MediaSectionsRequirement._(); @$core.override MediaSectionsRequirement createEmptyInstance() => create(); - static $pb.PbList createRepeated() => - $pb.PbList(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static MediaSectionsRequirement getDefault() => _defaultInstance ??= - $pb.GeneratedMessage.$_defaultFor(create); + static MediaSectionsRequirement getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MediaSectionsRequirement? _defaultInstance; @$pb.TagNumber(1) @@ -5224,7 +4771,5 @@ class MediaSectionsRequirement extends $pb.GeneratedMessage { void clearNumVideos() => $_clearField(2); } -const $core.bool _omitFieldNames = - $core.bool.fromEnvironment('protobuf.omit_field_names'); -const $core.bool _omitMessageNames = - $core.bool.fromEnvironment('protobuf.omit_message_names'); +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/proto/livekit_rtc.pbenum.dart b/lib/src/proto/livekit_rtc.pbenum.dart index 159f9a799..d45ac2fd3 100644 --- a/lib/src/proto/livekit_rtc.pbenum.dart +++ b/lib/src/proto/livekit_rtc.pbenum.dart @@ -15,50 +15,39 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; class SignalTarget extends $pb.ProtobufEnum { - static const SignalTarget PUBLISHER = - SignalTarget._(0, _omitEnumNames ? '' : 'PUBLISHER'); - static const SignalTarget SUBSCRIBER = - SignalTarget._(1, _omitEnumNames ? '' : 'SUBSCRIBER'); + static const SignalTarget PUBLISHER = SignalTarget._(0, _omitEnumNames ? '' : 'PUBLISHER'); + static const SignalTarget SUBSCRIBER = SignalTarget._(1, _omitEnumNames ? '' : 'SUBSCRIBER'); static const $core.List values = [ PUBLISHER, SUBSCRIBER, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); - static SignalTarget? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static SignalTarget? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const SignalTarget._(super.value, super.name); } class StreamState extends $pb.ProtobufEnum { - static const StreamState ACTIVE = - StreamState._(0, _omitEnumNames ? '' : 'ACTIVE'); - static const StreamState PAUSED = - StreamState._(1, _omitEnumNames ? '' : 'PAUSED'); + static const StreamState ACTIVE = StreamState._(0, _omitEnumNames ? '' : 'ACTIVE'); + static const StreamState PAUSED = StreamState._(1, _omitEnumNames ? '' : 'PAUSED'); static const $core.List values = [ ACTIVE, PAUSED, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); - static StreamState? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); + static StreamState? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const StreamState._(super.value, super.name); } class CandidateProtocol extends $pb.ProtobufEnum { - static const CandidateProtocol UDP = - CandidateProtocol._(0, _omitEnumNames ? '' : 'UDP'); - static const CandidateProtocol TCP = - CandidateProtocol._(1, _omitEnumNames ? '' : 'TCP'); - static const CandidateProtocol TLS = - CandidateProtocol._(2, _omitEnumNames ? '' : 'TLS'); + static const CandidateProtocol UDP = CandidateProtocol._(0, _omitEnumNames ? '' : 'UDP'); + static const CandidateProtocol TCP = CandidateProtocol._(1, _omitEnumNames ? '' : 'TCP'); + static const CandidateProtocol TLS = CandidateProtocol._(2, _omitEnumNames ? '' : 'TLS'); static const $core.List values = [ UDP, @@ -66,22 +55,17 @@ class CandidateProtocol extends $pb.ProtobufEnum { TLS, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); - static CandidateProtocol? valueOf($core.int value) => - value < 0 || value >= _byValue.length ? null : _byValue[value]; + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static CandidateProtocol? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const CandidateProtocol._(super.value, super.name); } /// indicates action clients should take on receiving this message class LeaveRequest_Action extends $pb.ProtobufEnum { - static const LeaveRequest_Action DISCONNECT = - LeaveRequest_Action._(0, _omitEnumNames ? '' : 'DISCONNECT'); - static const LeaveRequest_Action RESUME = - LeaveRequest_Action._(1, _omitEnumNames ? '' : 'RESUME'); - static const LeaveRequest_Action RECONNECT = - LeaveRequest_Action._(2, _omitEnumNames ? '' : 'RECONNECT'); + static const LeaveRequest_Action DISCONNECT = LeaveRequest_Action._(0, _omitEnumNames ? '' : 'DISCONNECT'); + static const LeaveRequest_Action RESUME = LeaveRequest_Action._(1, _omitEnumNames ? '' : 'RESUME'); + static const LeaveRequest_Action RECONNECT = LeaveRequest_Action._(2, _omitEnumNames ? '' : 'RECONNECT'); static const $core.List values = [ DISCONNECT, @@ -89,8 +73,7 @@ class LeaveRequest_Action extends $pb.ProtobufEnum { RECONNECT, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 2); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); static LeaveRequest_Action? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -98,23 +81,18 @@ class LeaveRequest_Action extends $pb.ProtobufEnum { } class RequestResponse_Reason extends $pb.ProtobufEnum { - static const RequestResponse_Reason OK = - RequestResponse_Reason._(0, _omitEnumNames ? '' : 'OK'); - static const RequestResponse_Reason NOT_FOUND = - RequestResponse_Reason._(1, _omitEnumNames ? '' : 'NOT_FOUND'); - static const RequestResponse_Reason NOT_ALLOWED = - RequestResponse_Reason._(2, _omitEnumNames ? '' : 'NOT_ALLOWED'); + static const RequestResponse_Reason OK = RequestResponse_Reason._(0, _omitEnumNames ? '' : 'OK'); + static const RequestResponse_Reason NOT_FOUND = RequestResponse_Reason._(1, _omitEnumNames ? '' : 'NOT_FOUND'); + static const RequestResponse_Reason NOT_ALLOWED = RequestResponse_Reason._(2, _omitEnumNames ? '' : 'NOT_ALLOWED'); static const RequestResponse_Reason LIMIT_EXCEEDED = RequestResponse_Reason._(3, _omitEnumNames ? '' : 'LIMIT_EXCEEDED'); - static const RequestResponse_Reason QUEUED = - RequestResponse_Reason._(4, _omitEnumNames ? '' : 'QUEUED'); + static const RequestResponse_Reason QUEUED = RequestResponse_Reason._(4, _omitEnumNames ? '' : 'QUEUED'); static const RequestResponse_Reason UNSUPPORTED_TYPE = RequestResponse_Reason._(5, _omitEnumNames ? '' : 'UNSUPPORTED_TYPE'); static const RequestResponse_Reason UNCLASSIFIED_ERROR = RequestResponse_Reason._(6, _omitEnumNames ? '' : 'UNCLASSIFIED_ERROR'); - static const $core.List values = - [ + static const $core.List values = [ OK, NOT_FOUND, NOT_ALLOWED, @@ -124,8 +102,7 @@ class RequestResponse_Reason extends $pb.ProtobufEnum { UNCLASSIFIED_ERROR, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 6); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); static RequestResponse_Reason? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; @@ -133,24 +110,19 @@ class RequestResponse_Reason extends $pb.ProtobufEnum { } class WrappedJoinRequest_Compression extends $pb.ProtobufEnum { - static const WrappedJoinRequest_Compression NONE = - WrappedJoinRequest_Compression._(0, _omitEnumNames ? '' : 'NONE'); - static const WrappedJoinRequest_Compression GZIP = - WrappedJoinRequest_Compression._(1, _omitEnumNames ? '' : 'GZIP'); + static const WrappedJoinRequest_Compression NONE = WrappedJoinRequest_Compression._(0, _omitEnumNames ? '' : 'NONE'); + static const WrappedJoinRequest_Compression GZIP = WrappedJoinRequest_Compression._(1, _omitEnumNames ? '' : 'GZIP'); - static const $core.List values = - [ + static const $core.List values = [ NONE, GZIP, ]; - static final $core.List _byValue = - $pb.ProtobufEnum.$_initByValueList(values, 1); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); static WrappedJoinRequest_Compression? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const WrappedJoinRequest_Compression._(super.value, super.name); } -const $core.bool _omitEnumNames = - $core.bool.fromEnvironment('protobuf.omit_enum_names'); +const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/proto/livekit_rtc.pbjson.dart b/lib/src/proto/livekit_rtc.pbjson.dart index 4ae9b340e..910a17501 100644 --- a/lib/src/proto/livekit_rtc.pbjson.dart +++ b/lib/src/proto/livekit_rtc.pbjson.dart @@ -24,8 +24,8 @@ const SignalTarget$json = { }; /// Descriptor for `SignalTarget`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List signalTargetDescriptor = $convert.base64Decode( - 'CgxTaWduYWxUYXJnZXQSDQoJUFVCTElTSEVSEAASDgoKU1VCU0NSSUJFUhAB'); +final $typed_data.Uint8List signalTargetDescriptor = + $convert.base64Decode('CgxTaWduYWxUYXJnZXQSDQoJUFVCTElTSEVSEAASDgoKU1VCU0NSSUJFUhAB'); @$core.Deprecated('Use streamStateDescriptor instead') const StreamState$json = { @@ -37,8 +37,8 @@ const StreamState$json = { }; /// Descriptor for `StreamState`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List streamStateDescriptor = $convert - .base64Decode('CgtTdHJlYW1TdGF0ZRIKCgZBQ1RJVkUQABIKCgZQQVVTRUQQAQ=='); +final $typed_data.Uint8List streamStateDescriptor = + $convert.base64Decode('CgtTdHJlYW1TdGF0ZRIKCgZBQ1RJVkUQABIKCgZQQVVTRUQQAQ=='); @$core.Deprecated('Use candidateProtocolDescriptor instead') const CandidateProtocol$json = { @@ -51,85 +51,21 @@ const CandidateProtocol$json = { }; /// Descriptor for `CandidateProtocol`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List candidateProtocolDescriptor = $convert.base64Decode( - 'ChFDYW5kaWRhdGVQcm90b2NvbBIHCgNVRFAQABIHCgNUQ1AQARIHCgNUTFMQAg=='); +final $typed_data.Uint8List candidateProtocolDescriptor = + $convert.base64Decode('ChFDYW5kaWRhdGVQcm90b2NvbBIHCgNVRFAQABIHCgNUQ1AQARIHCgNUTFMQAg=='); @$core.Deprecated('Use signalRequestDescriptor instead') const SignalRequest$json = { '1': 'SignalRequest', '2': [ - { - '1': 'offer', - '3': 1, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '9': 0, - '10': 'offer' - }, - { - '1': 'answer', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '9': 0, - '10': 'answer' - }, - { - '1': 'trickle', - '3': 3, - '4': 1, - '5': 11, - '6': '.livekit.TrickleRequest', - '9': 0, - '10': 'trickle' - }, - { - '1': 'add_track', - '3': 4, - '4': 1, - '5': 11, - '6': '.livekit.AddTrackRequest', - '9': 0, - '10': 'addTrack' - }, - { - '1': 'mute', - '3': 5, - '4': 1, - '5': 11, - '6': '.livekit.MuteTrackRequest', - '9': 0, - '10': 'mute' - }, - { - '1': 'subscription', - '3': 6, - '4': 1, - '5': 11, - '6': '.livekit.UpdateSubscription', - '9': 0, - '10': 'subscription' - }, - { - '1': 'track_setting', - '3': 7, - '4': 1, - '5': 11, - '6': '.livekit.UpdateTrackSettings', - '9': 0, - '10': 'trackSetting' - }, - { - '1': 'leave', - '3': 8, - '4': 1, - '5': 11, - '6': '.livekit.LeaveRequest', - '9': 0, - '10': 'leave' - }, + {'1': 'offer', '3': 1, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'offer'}, + {'1': 'answer', '3': 2, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'answer'}, + {'1': 'trickle', '3': 3, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, + {'1': 'add_track', '3': 4, '4': 1, '5': 11, '6': '.livekit.AddTrackRequest', '9': 0, '10': 'addTrack'}, + {'1': 'mute', '3': 5, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, + {'1': 'subscription', '3': 6, '4': 1, '5': 11, '6': '.livekit.UpdateSubscription', '9': 0, '10': 'subscription'}, + {'1': 'track_setting', '3': 7, '4': 1, '5': 11, '6': '.livekit.UpdateTrackSettings', '9': 0, '10': 'trackSetting'}, + {'1': 'leave', '3': 8, '4': 1, '5': 11, '6': '.livekit.LeaveRequest', '9': 0, '10': 'leave'}, { '1': 'update_layers', '3': 10, @@ -149,24 +85,8 @@ const SignalRequest$json = { '9': 0, '10': 'subscriptionPermission' }, - { - '1': 'sync_state', - '3': 12, - '4': 1, - '5': 11, - '6': '.livekit.SyncState', - '9': 0, - '10': 'syncState' - }, - { - '1': 'simulate', - '3': 13, - '4': 1, - '5': 11, - '6': '.livekit.SimulateScenario', - '9': 0, - '10': 'simulate' - }, + {'1': 'sync_state', '3': 12, '4': 1, '5': 11, '6': '.livekit.SyncState', '9': 0, '10': 'syncState'}, + {'1': 'simulate', '3': 13, '4': 1, '5': 11, '6': '.livekit.SimulateScenario', '9': 0, '10': 'simulate'}, {'1': 'ping', '3': 14, '4': 1, '5': 3, '9': 0, '10': 'ping'}, { '1': 'update_metadata', @@ -177,15 +97,7 @@ const SignalRequest$json = { '9': 0, '10': 'updateMetadata' }, - { - '1': 'ping_req', - '3': 16, - '4': 1, - '5': 11, - '6': '.livekit.Ping', - '9': 0, - '10': 'pingReq' - }, + {'1': 'ping_req', '3': 16, '4': 1, '5': 11, '6': '.livekit.Ping', '9': 0, '10': 'pingReq'}, { '1': 'update_audio_track', '3': 17, @@ -211,77 +123,37 @@ const SignalRequest$json = { }; /// Descriptor for `SignalRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List signalRequestDescriptor = $convert.base64Decode( - 'Cg1TaWduYWxSZXF1ZXN0EjMKBW9mZmVyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcH' - 'Rpb25IAFIFb2ZmZXISNQoGYW5zd2VyGAIgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRp' - 'b25IAFIGYW5zd2VyEjMKB3RyaWNrbGUYAyABKAsyFy5saXZla2l0LlRyaWNrbGVSZXF1ZXN0SA' - 'BSB3RyaWNrbGUSNwoJYWRkX3RyYWNrGAQgASgLMhgubGl2ZWtpdC5BZGRUcmFja1JlcXVlc3RI' - 'AFIIYWRkVHJhY2sSLwoEbXV0ZRgFIAEoCzIZLmxpdmVraXQuTXV0ZVRyYWNrUmVxdWVzdEgAUg' - 'RtdXRlEkEKDHN1YnNjcmlwdGlvbhgGIAEoCzIbLmxpdmVraXQuVXBkYXRlU3Vic2NyaXB0aW9u' - 'SABSDHN1YnNjcmlwdGlvbhJDCg10cmFja19zZXR0aW5nGAcgASgLMhwubGl2ZWtpdC5VcGRhdG' - 'VUcmFja1NldHRpbmdzSABSDHRyYWNrU2V0dGluZxItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQu' - 'TGVhdmVSZXF1ZXN0SABSBWxlYXZlEkUKDXVwZGF0ZV9sYXllcnMYCiABKAsyGi5saXZla2l0Ll' - 'VwZGF0ZVZpZGVvTGF5ZXJzQgIYAUgAUgx1cGRhdGVMYXllcnMSWgoXc3Vic2NyaXB0aW9uX3Bl' - 'cm1pc3Npb24YCyABKAsyHy5saXZla2l0LlN1YnNjcmlwdGlvblBlcm1pc3Npb25IAFIWc3Vic2' - 'NyaXB0aW9uUGVybWlzc2lvbhIzCgpzeW5jX3N0YXRlGAwgASgLMhIubGl2ZWtpdC5TeW5jU3Rh' - 'dGVIAFIJc3luY1N0YXRlEjcKCHNpbXVsYXRlGA0gASgLMhkubGl2ZWtpdC5TaW11bGF0ZVNjZW' - '5hcmlvSABSCHNpbXVsYXRlEhQKBHBpbmcYDiABKANIAFIEcGluZxJNCg91cGRhdGVfbWV0YWRh' - 'dGEYDyABKAsyIi5saXZla2l0LlVwZGF0ZVBhcnRpY2lwYW50TWV0YWRhdGFIAFIOdXBkYXRlTW' - 'V0YWRhdGESKgoIcGluZ19yZXEYECABKAsyDS5saXZla2l0LlBpbmdIAFIHcGluZ1JlcRJOChJ1' - 'cGRhdGVfYXVkaW9fdHJhY2sYESABKAsyHi5saXZla2l0LlVwZGF0ZUxvY2FsQXVkaW9UcmFja0' - 'gAUhB1cGRhdGVBdWRpb1RyYWNrEk4KEnVwZGF0ZV92aWRlb190cmFjaxgSIAEoCzIeLmxpdmVr' - 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2tCCQoHbWVzc2FnZQ' - '=='); +final $typed_data.Uint8List signalRequestDescriptor = + $convert.base64Decode('Cg1TaWduYWxSZXF1ZXN0EjMKBW9mZmVyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcH' + 'Rpb25IAFIFb2ZmZXISNQoGYW5zd2VyGAIgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRp' + 'b25IAFIGYW5zd2VyEjMKB3RyaWNrbGUYAyABKAsyFy5saXZla2l0LlRyaWNrbGVSZXF1ZXN0SA' + 'BSB3RyaWNrbGUSNwoJYWRkX3RyYWNrGAQgASgLMhgubGl2ZWtpdC5BZGRUcmFja1JlcXVlc3RI' + 'AFIIYWRkVHJhY2sSLwoEbXV0ZRgFIAEoCzIZLmxpdmVraXQuTXV0ZVRyYWNrUmVxdWVzdEgAUg' + 'RtdXRlEkEKDHN1YnNjcmlwdGlvbhgGIAEoCzIbLmxpdmVraXQuVXBkYXRlU3Vic2NyaXB0aW9u' + 'SABSDHN1YnNjcmlwdGlvbhJDCg10cmFja19zZXR0aW5nGAcgASgLMhwubGl2ZWtpdC5VcGRhdG' + 'VUcmFja1NldHRpbmdzSABSDHRyYWNrU2V0dGluZxItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQu' + 'TGVhdmVSZXF1ZXN0SABSBWxlYXZlEkUKDXVwZGF0ZV9sYXllcnMYCiABKAsyGi5saXZla2l0Ll' + 'VwZGF0ZVZpZGVvTGF5ZXJzQgIYAUgAUgx1cGRhdGVMYXllcnMSWgoXc3Vic2NyaXB0aW9uX3Bl' + 'cm1pc3Npb24YCyABKAsyHy5saXZla2l0LlN1YnNjcmlwdGlvblBlcm1pc3Npb25IAFIWc3Vic2' + 'NyaXB0aW9uUGVybWlzc2lvbhIzCgpzeW5jX3N0YXRlGAwgASgLMhIubGl2ZWtpdC5TeW5jU3Rh' + 'dGVIAFIJc3luY1N0YXRlEjcKCHNpbXVsYXRlGA0gASgLMhkubGl2ZWtpdC5TaW11bGF0ZVNjZW' + '5hcmlvSABSCHNpbXVsYXRlEhQKBHBpbmcYDiABKANIAFIEcGluZxJNCg91cGRhdGVfbWV0YWRh' + 'dGEYDyABKAsyIi5saXZla2l0LlVwZGF0ZVBhcnRpY2lwYW50TWV0YWRhdGFIAFIOdXBkYXRlTW' + 'V0YWRhdGESKgoIcGluZ19yZXEYECABKAsyDS5saXZla2l0LlBpbmdIAFIHcGluZ1JlcRJOChJ1' + 'cGRhdGVfYXVkaW9fdHJhY2sYESABKAsyHi5saXZla2l0LlVwZGF0ZUxvY2FsQXVkaW9UcmFja0' + 'gAUhB1cGRhdGVBdWRpb1RyYWNrEk4KEnVwZGF0ZV92aWRlb190cmFjaxgSIAEoCzIeLmxpdmVr' + 'aXQuVXBkYXRlTG9jYWxWaWRlb1RyYWNrSABSEHVwZGF0ZVZpZGVvVHJhY2tCCQoHbWVzc2FnZQ' + '=='); @$core.Deprecated('Use signalResponseDescriptor instead') const SignalResponse$json = { '1': 'SignalResponse', '2': [ - { - '1': 'join', - '3': 1, - '4': 1, - '5': 11, - '6': '.livekit.JoinResponse', - '9': 0, - '10': 'join' - }, - { - '1': 'answer', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '9': 0, - '10': 'answer' - }, - { - '1': 'offer', - '3': 3, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '9': 0, - '10': 'offer' - }, - { - '1': 'trickle', - '3': 4, - '4': 1, - '5': 11, - '6': '.livekit.TrickleRequest', - '9': 0, - '10': 'trickle' - }, - { - '1': 'update', - '3': 5, - '4': 1, - '5': 11, - '6': '.livekit.ParticipantUpdate', - '9': 0, - '10': 'update' - }, + {'1': 'join', '3': 1, '4': 1, '5': 11, '6': '.livekit.JoinResponse', '9': 0, '10': 'join'}, + {'1': 'answer', '3': 2, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'answer'}, + {'1': 'offer', '3': 3, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '9': 0, '10': 'offer'}, + {'1': 'trickle', '3': 4, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, + {'1': 'update', '3': 5, '4': 1, '5': 11, '6': '.livekit.ParticipantUpdate', '9': 0, '10': 'update'}, { '1': 'track_published', '3': 6, @@ -291,24 +163,8 @@ const SignalResponse$json = { '9': 0, '10': 'trackPublished' }, - { - '1': 'leave', - '3': 8, - '4': 1, - '5': 11, - '6': '.livekit.LeaveRequest', - '9': 0, - '10': 'leave' - }, - { - '1': 'mute', - '3': 9, - '4': 1, - '5': 11, - '6': '.livekit.MuteTrackRequest', - '9': 0, - '10': 'mute' - }, + {'1': 'leave', '3': 8, '4': 1, '5': 11, '6': '.livekit.LeaveRequest', '9': 0, '10': 'leave'}, + {'1': 'mute', '3': 9, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, { '1': 'speakers_changed', '3': 10, @@ -318,15 +174,7 @@ const SignalResponse$json = { '9': 0, '10': 'speakersChanged' }, - { - '1': 'room_update', - '3': 11, - '4': 1, - '5': 11, - '6': '.livekit.RoomUpdate', - '9': 0, - '10': 'roomUpdate' - }, + {'1': 'room_update', '3': 11, '4': 1, '5': 11, '6': '.livekit.RoomUpdate', '9': 0, '10': 'roomUpdate'}, { '1': 'connection_quality', '3': 12, @@ -363,14 +211,7 @@ const SignalResponse$json = { '9': 0, '10': 'subscriptionPermissionUpdate' }, - { - '1': 'refresh_token', - '3': 16, - '4': 1, - '5': 9, - '9': 0, - '10': 'refreshToken' - }, + {'1': 'refresh_token', '3': 16, '4': 1, '5': 9, '9': 0, '10': 'refreshToken'}, { '1': 'track_unpublished', '3': 17, @@ -381,24 +222,8 @@ const SignalResponse$json = { '10': 'trackUnpublished' }, {'1': 'pong', '3': 18, '4': 1, '5': 3, '9': 0, '10': 'pong'}, - { - '1': 'reconnect', - '3': 19, - '4': 1, - '5': 11, - '6': '.livekit.ReconnectResponse', - '9': 0, - '10': 'reconnect' - }, - { - '1': 'pong_resp', - '3': 20, - '4': 1, - '5': 11, - '6': '.livekit.Pong', - '9': 0, - '10': 'pongResp' - }, + {'1': 'reconnect', '3': 19, '4': 1, '5': 11, '6': '.livekit.ReconnectResponse', '9': 0, '10': 'reconnect'}, + {'1': 'pong_resp', '3': 20, '4': 1, '5': 11, '6': '.livekit.Pong', '9': 0, '10': 'pongResp'}, { '1': 'subscription_response', '3': 21, @@ -426,15 +251,7 @@ const SignalResponse$json = { '9': 0, '10': 'trackSubscribed' }, - { - '1': 'room_moved', - '3': 24, - '4': 1, - '5': 11, - '6': '.livekit.RoomMovedResponse', - '9': 0, - '10': 'roomMoved' - }, + {'1': 'room_moved', '3': 24, '4': 1, '5': 11, '6': '.livekit.RoomMovedResponse', '9': 0, '10': 'roomMoved'}, { '1': 'media_sections_requirement', '3': 25, @@ -460,38 +277,38 @@ const SignalResponse$json = { }; /// Descriptor for `SignalResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List signalResponseDescriptor = $convert.base64Decode( - 'Cg5TaWduYWxSZXNwb25zZRIrCgRqb2luGAEgASgLMhUubGl2ZWtpdC5Kb2luUmVzcG9uc2VIAF' - 'IEam9pbhI1CgZhbnN3ZXIYAiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgZh' - 'bnN3ZXISMwoFb2ZmZXIYAyABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgVvZm' - 'ZlchIzCgd0cmlja2xlGAQgASgLMhcubGl2ZWtpdC5Ucmlja2xlUmVxdWVzdEgAUgd0cmlja2xl' - 'EjQKBnVwZGF0ZRgFIAEoCzIaLmxpdmVraXQuUGFydGljaXBhbnRVcGRhdGVIAFIGdXBkYXRlEk' - 'oKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIfLmxpdmVraXQuVHJhY2tQdWJsaXNoZWRSZXNwb25z' - 'ZUgAUg50cmFja1B1Ymxpc2hlZBItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQuTGVhdmVSZXF1ZX' - 'N0SABSBWxlYXZlEi8KBG11dGUYCSABKAsyGS5saXZla2l0Lk11dGVUcmFja1JlcXVlc3RIAFIE' - 'bXV0ZRJFChBzcGVha2Vyc19jaGFuZ2VkGAogASgLMhgubGl2ZWtpdC5TcGVha2Vyc0NoYW5nZW' - 'RIAFIPc3BlYWtlcnNDaGFuZ2VkEjYKC3Jvb21fdXBkYXRlGAsgASgLMhMubGl2ZWtpdC5Sb29t' - 'VXBkYXRlSABSCnJvb21VcGRhdGUSUQoSY29ubmVjdGlvbl9xdWFsaXR5GAwgASgLMiAubGl2ZW' - 'tpdC5Db25uZWN0aW9uUXVhbGl0eVVwZGF0ZUgAUhFjb25uZWN0aW9uUXVhbGl0eRJMChNzdHJl' - 'YW1fc3RhdGVfdXBkYXRlGA0gASgLMhoubGl2ZWtpdC5TdHJlYW1TdGF0ZVVwZGF0ZUgAUhFzdH' - 'JlYW1TdGF0ZVVwZGF0ZRJeChlzdWJzY3JpYmVkX3F1YWxpdHlfdXBkYXRlGA4gASgLMiAubGl2' - 'ZWtpdC5TdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZUgAUhdzdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZR' - 'JtCh5zdWJzY3JpcHRpb25fcGVybWlzc2lvbl91cGRhdGUYDyABKAsyJS5saXZla2l0LlN1YnNj' - 'cmlwdGlvblBlcm1pc3Npb25VcGRhdGVIAFIcc3Vic2NyaXB0aW9uUGVybWlzc2lvblVwZGF0ZR' - 'IlCg1yZWZyZXNoX3Rva2VuGBAgASgJSABSDHJlZnJlc2hUb2tlbhJQChF0cmFja191bnB1Ymxp' - 'c2hlZBgRIAEoCzIhLmxpdmVraXQuVHJhY2tVbnB1Ymxpc2hlZFJlc3BvbnNlSABSEHRyYWNrVW' - '5wdWJsaXNoZWQSFAoEcG9uZxgSIAEoA0gAUgRwb25nEjoKCXJlY29ubmVjdBgTIAEoCzIaLmxp' - 'dmVraXQuUmVjb25uZWN0UmVzcG9uc2VIAFIJcmVjb25uZWN0EiwKCXBvbmdfcmVzcBgUIAEoCz' - 'INLmxpdmVraXQuUG9uZ0gAUghwb25nUmVzcBJUChVzdWJzY3JpcHRpb25fcmVzcG9uc2UYFSAB' - 'KAsyHS5saXZla2l0LlN1YnNjcmlwdGlvblJlc3BvbnNlSABSFHN1YnNjcmlwdGlvblJlc3Bvbn' - 'NlEkUKEHJlcXVlc3RfcmVzcG9uc2UYFiABKAsyGC5saXZla2l0LlJlcXVlc3RSZXNwb25zZUgA' - 'Ug9yZXF1ZXN0UmVzcG9uc2USRQoQdHJhY2tfc3Vic2NyaWJlZBgXIAEoCzIYLmxpdmVraXQuVH' - 'JhY2tTdWJzY3JpYmVkSABSD3RyYWNrU3Vic2NyaWJlZBI7Cgpyb29tX21vdmVkGBggASgLMhou' - 'bGl2ZWtpdC5Sb29tTW92ZWRSZXNwb25zZUgAUglyb29tTW92ZWQSYQoabWVkaWFfc2VjdGlvbn' - 'NfcmVxdWlyZW1lbnQYGSABKAsyIS5saXZla2l0Lk1lZGlhU2VjdGlvbnNSZXF1aXJlbWVudEgA' - 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSaAodc3Vic2NyaWJlZF9hdWRpb19jb2RlY191cG' - 'RhdGUYGiABKAsyIy5saXZla2l0LlN1YnNjcmliZWRBdWRpb0NvZGVjVXBkYXRlSABSGnN1YnNj' - 'cmliZWRBdWRpb0NvZGVjVXBkYXRlQgkKB21lc3NhZ2U='); +final $typed_data.Uint8List signalResponseDescriptor = + $convert.base64Decode('Cg5TaWduYWxSZXNwb25zZRIrCgRqb2luGAEgASgLMhUubGl2ZWtpdC5Kb2luUmVzcG9uc2VIAF' + 'IEam9pbhI1CgZhbnN3ZXIYAiABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgZh' + 'bnN3ZXISMwoFb2ZmZXIYAyABKAsyGy5saXZla2l0LlNlc3Npb25EZXNjcmlwdGlvbkgAUgVvZm' + 'ZlchIzCgd0cmlja2xlGAQgASgLMhcubGl2ZWtpdC5Ucmlja2xlUmVxdWVzdEgAUgd0cmlja2xl' + 'EjQKBnVwZGF0ZRgFIAEoCzIaLmxpdmVraXQuUGFydGljaXBhbnRVcGRhdGVIAFIGdXBkYXRlEk' + 'oKD3RyYWNrX3B1Ymxpc2hlZBgGIAEoCzIfLmxpdmVraXQuVHJhY2tQdWJsaXNoZWRSZXNwb25z' + 'ZUgAUg50cmFja1B1Ymxpc2hlZBItCgVsZWF2ZRgIIAEoCzIVLmxpdmVraXQuTGVhdmVSZXF1ZX' + 'N0SABSBWxlYXZlEi8KBG11dGUYCSABKAsyGS5saXZla2l0Lk11dGVUcmFja1JlcXVlc3RIAFIE' + 'bXV0ZRJFChBzcGVha2Vyc19jaGFuZ2VkGAogASgLMhgubGl2ZWtpdC5TcGVha2Vyc0NoYW5nZW' + 'RIAFIPc3BlYWtlcnNDaGFuZ2VkEjYKC3Jvb21fdXBkYXRlGAsgASgLMhMubGl2ZWtpdC5Sb29t' + 'VXBkYXRlSABSCnJvb21VcGRhdGUSUQoSY29ubmVjdGlvbl9xdWFsaXR5GAwgASgLMiAubGl2ZW' + 'tpdC5Db25uZWN0aW9uUXVhbGl0eVVwZGF0ZUgAUhFjb25uZWN0aW9uUXVhbGl0eRJMChNzdHJl' + 'YW1fc3RhdGVfdXBkYXRlGA0gASgLMhoubGl2ZWtpdC5TdHJlYW1TdGF0ZVVwZGF0ZUgAUhFzdH' + 'JlYW1TdGF0ZVVwZGF0ZRJeChlzdWJzY3JpYmVkX3F1YWxpdHlfdXBkYXRlGA4gASgLMiAubGl2' + 'ZWtpdC5TdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZUgAUhdzdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZR' + 'JtCh5zdWJzY3JpcHRpb25fcGVybWlzc2lvbl91cGRhdGUYDyABKAsyJS5saXZla2l0LlN1YnNj' + 'cmlwdGlvblBlcm1pc3Npb25VcGRhdGVIAFIcc3Vic2NyaXB0aW9uUGVybWlzc2lvblVwZGF0ZR' + 'IlCg1yZWZyZXNoX3Rva2VuGBAgASgJSABSDHJlZnJlc2hUb2tlbhJQChF0cmFja191bnB1Ymxp' + 'c2hlZBgRIAEoCzIhLmxpdmVraXQuVHJhY2tVbnB1Ymxpc2hlZFJlc3BvbnNlSABSEHRyYWNrVW' + '5wdWJsaXNoZWQSFAoEcG9uZxgSIAEoA0gAUgRwb25nEjoKCXJlY29ubmVjdBgTIAEoCzIaLmxp' + 'dmVraXQuUmVjb25uZWN0UmVzcG9uc2VIAFIJcmVjb25uZWN0EiwKCXBvbmdfcmVzcBgUIAEoCz' + 'INLmxpdmVraXQuUG9uZ0gAUghwb25nUmVzcBJUChVzdWJzY3JpcHRpb25fcmVzcG9uc2UYFSAB' + 'KAsyHS5saXZla2l0LlN1YnNjcmlwdGlvblJlc3BvbnNlSABSFHN1YnNjcmlwdGlvblJlc3Bvbn' + 'NlEkUKEHJlcXVlc3RfcmVzcG9uc2UYFiABKAsyGC5saXZla2l0LlJlcXVlc3RSZXNwb25zZUgA' + 'Ug9yZXF1ZXN0UmVzcG9uc2USRQoQdHJhY2tfc3Vic2NyaWJlZBgXIAEoCzIYLmxpdmVraXQuVH' + 'JhY2tTdWJzY3JpYmVkSABSD3RyYWNrU3Vic2NyaWJlZBI7Cgpyb29tX21vdmVkGBggASgLMhou' + 'bGl2ZWtpdC5Sb29tTW92ZWRSZXNwb25zZUgAUglyb29tTW92ZWQSYQoabWVkaWFfc2VjdGlvbn' + 'NfcmVxdWlyZW1lbnQYGSABKAsyIS5saXZla2l0Lk1lZGlhU2VjdGlvbnNSZXF1aXJlbWVudEgA' + 'UhhtZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSaAodc3Vic2NyaWJlZF9hdWRpb19jb2RlY191cG' + 'RhdGUYGiABKAsyIy5saXZla2l0LlN1YnNjcmliZWRBdWRpb0NvZGVjVXBkYXRlSABSGnN1YnNj' + 'cmliZWRBdWRpb0NvZGVjVXBkYXRlQgkKB21lc3NhZ2U='); @$core.Deprecated('Use simulcastCodecDescriptor instead') const SimulcastCodec$json = { @@ -499,31 +316,17 @@ const SimulcastCodec$json = { '2': [ {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, {'1': 'cid', '3': 2, '4': 1, '5': 9, '10': 'cid'}, - { - '1': 'layers', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.VideoLayer', - '10': 'layers' - }, - { - '1': 'video_layer_mode', - '3': 5, - '4': 1, - '5': 14, - '6': '.livekit.VideoLayer.Mode', - '10': 'videoLayerMode' - }, + {'1': 'layers', '3': 4, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, + {'1': 'video_layer_mode', '3': 5, '4': 1, '5': 14, '6': '.livekit.VideoLayer.Mode', '10': 'videoLayerMode'}, ], }; /// Descriptor for `SimulcastCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulcastCodecDescriptor = $convert.base64Decode( - 'Cg5TaW11bGNhc3RDb2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSEAoDY2lkGAIgASgJUgNjaW' - 'QSKwoGbGF5ZXJzGAQgAygLMhMubGl2ZWtpdC5WaWRlb0xheWVyUgZsYXllcnMSQgoQdmlkZW9f' - 'bGF5ZXJfbW9kZRgFIAEoDjIYLmxpdmVraXQuVmlkZW9MYXllci5Nb2RlUg52aWRlb0xheWVyTW' - '9kZQ=='); +final $typed_data.Uint8List simulcastCodecDescriptor = + $convert.base64Decode('Cg5TaW11bGNhc3RDb2RlYxIUCgVjb2RlYxgBIAEoCVIFY29kZWMSEAoDY2lkGAIgASgJUgNjaW' + 'QSKwoGbGF5ZXJzGAQgAygLMhMubGl2ZWtpdC5WaWRlb0xheWVyUgZsYXllcnMSQgoQdmlkZW9f' + 'bGF5ZXJfbW9kZRgFIAEoDjIYLmxpdmVraXQuVmlkZW9MYXllci5Nb2RlUg52aWRlb0xheWVyTW' + '9kZQ=='); @$core.Deprecated('Use addTrackRequestDescriptor instead') const AddTrackRequest$json = { @@ -531,14 +334,7 @@ const AddTrackRequest$json = { '2': [ {'1': 'cid', '3': 1, '4': 1, '5': 9, '10': 'cid'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - { - '1': 'type', - '3': 3, - '4': 1, - '5': 14, - '6': '.livekit.TrackType', - '10': 'type' - }, + {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.livekit.TrackType', '10': 'type'}, {'1': 'width', '3': 4, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 5, '4': 1, '5': 13, '10': 'height'}, {'1': 'muted', '3': 6, '4': 1, '5': 8, '10': 'muted'}, @@ -550,30 +346,9 @@ const AddTrackRequest$json = { '8': {'3': true}, '10': 'disableDtx', }, - { - '1': 'source', - '3': 8, - '4': 1, - '5': 14, - '6': '.livekit.TrackSource', - '10': 'source' - }, - { - '1': 'layers', - '3': 9, - '4': 3, - '5': 11, - '6': '.livekit.VideoLayer', - '10': 'layers' - }, - { - '1': 'simulcast_codecs', - '3': 10, - '4': 3, - '5': 11, - '6': '.livekit.SimulcastCodec', - '10': 'simulcastCodecs' - }, + {'1': 'source', '3': 8, '4': 1, '5': 14, '6': '.livekit.TrackSource', '10': 'source'}, + {'1': 'layers', '3': 9, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, + {'1': 'simulcast_codecs', '3': 10, '4': 3, '5': 11, '6': '.livekit.SimulcastCodec', '10': 'simulcastCodecs'}, {'1': 'sid', '3': 11, '4': 1, '5': 9, '10': 'sid'}, { '1': 'stereo', @@ -584,14 +359,7 @@ const AddTrackRequest$json = { '10': 'stereo', }, {'1': 'disable_red', '3': 13, '4': 1, '5': 8, '10': 'disableRed'}, - { - '1': 'encryption', - '3': 14, - '4': 1, - '5': 14, - '6': '.livekit.Encryption.Type', - '10': 'encryption' - }, + {'1': 'encryption', '3': 14, '4': 1, '5': 14, '6': '.livekit.Encryption.Type', '10': 'encryption'}, {'1': 'stream', '3': 15, '4': 1, '5': 9, '10': 'stream'}, { '1': 'backup_codec_policy', @@ -601,54 +369,40 @@ const AddTrackRequest$json = { '6': '.livekit.BackupCodecPolicy', '10': 'backupCodecPolicy' }, - { - '1': 'audio_features', - '3': 17, - '4': 3, - '5': 14, - '6': '.livekit.AudioTrackFeature', - '10': 'audioFeatures' - }, + {'1': 'audio_features', '3': 17, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'audioFeatures'}, ], }; /// Descriptor for `AddTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTrackRequestDescriptor = $convert.base64Decode( - 'Cg9BZGRUcmFja1JlcXVlc3QSEAoDY2lkGAEgASgJUgNjaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' - 'ImCgR0eXBlGAMgASgOMhIubGl2ZWtpdC5UcmFja1R5cGVSBHR5cGUSFAoFd2lkdGgYBCABKA1S' - 'BXdpZHRoEhYKBmhlaWdodBgFIAEoDVIGaGVpZ2h0EhQKBW11dGVkGAYgASgIUgVtdXRlZBIjCg' - 'tkaXNhYmxlX2R0eBgHIAEoCEICGAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAggASgOMhQubGl2' - 'ZWtpdC5UcmFja1NvdXJjZVIGc291cmNlEisKBmxheWVycxgJIAMoCzITLmxpdmVraXQuVmlkZW' - '9MYXllclIGbGF5ZXJzEkIKEHNpbXVsY2FzdF9jb2RlY3MYCiADKAsyFy5saXZla2l0LlNpbXVs' - 'Y2FzdENvZGVjUg9zaW11bGNhc3RDb2RlY3MSEAoDc2lkGAsgASgJUgNzaWQSGgoGc3RlcmVvGA' - 'wgASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA0gASgIUgpkaXNhYmxlUmVkEjgKCmVu' - 'Y3J5cHRpb24YDiABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCg' - 'ZzdHJlYW0YDyABKAlSBnN0cmVhbRJKChNiYWNrdXBfY29kZWNfcG9saWN5GBAgASgOMhoubGl2' - 'ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3kSQQoOYXVkaW9fZmVhdH' - 'VyZXMYESADKA4yGi5saXZla2l0LkF1ZGlvVHJhY2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVz'); +final $typed_data.Uint8List addTrackRequestDescriptor = + $convert.base64Decode('Cg9BZGRUcmFja1JlcXVlc3QSEAoDY2lkGAEgASgJUgNjaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' + 'ImCgR0eXBlGAMgASgOMhIubGl2ZWtpdC5UcmFja1R5cGVSBHR5cGUSFAoFd2lkdGgYBCABKA1S' + 'BXdpZHRoEhYKBmhlaWdodBgFIAEoDVIGaGVpZ2h0EhQKBW11dGVkGAYgASgIUgVtdXRlZBIjCg' + 'tkaXNhYmxlX2R0eBgHIAEoCEICGAFSCmRpc2FibGVEdHgSLAoGc291cmNlGAggASgOMhQubGl2' + 'ZWtpdC5UcmFja1NvdXJjZVIGc291cmNlEisKBmxheWVycxgJIAMoCzITLmxpdmVraXQuVmlkZW' + '9MYXllclIGbGF5ZXJzEkIKEHNpbXVsY2FzdF9jb2RlY3MYCiADKAsyFy5saXZla2l0LlNpbXVs' + 'Y2FzdENvZGVjUg9zaW11bGNhc3RDb2RlY3MSEAoDc2lkGAsgASgJUgNzaWQSGgoGc3RlcmVvGA' + 'wgASgIQgIYAVIGc3RlcmVvEh8KC2Rpc2FibGVfcmVkGA0gASgIUgpkaXNhYmxlUmVkEjgKCmVu' + 'Y3J5cHRpb24YDiABKA4yGC5saXZla2l0LkVuY3J5cHRpb24uVHlwZVIKZW5jcnlwdGlvbhIWCg' + 'ZzdHJlYW0YDyABKAlSBnN0cmVhbRJKChNiYWNrdXBfY29kZWNfcG9saWN5GBAgASgOMhoubGl2' + 'ZWtpdC5CYWNrdXBDb2RlY1BvbGljeVIRYmFja3VwQ29kZWNQb2xpY3kSQQoOYXVkaW9fZmVhdH' + 'VyZXMYESADKA4yGi5saXZla2l0LkF1ZGlvVHJhY2tGZWF0dXJlUg1hdWRpb0ZlYXR1cmVz'); @$core.Deprecated('Use trickleRequestDescriptor instead') const TrickleRequest$json = { '1': 'TrickleRequest', '2': [ {'1': 'candidateInit', '3': 1, '4': 1, '5': 9, '10': 'candidateInit'}, - { - '1': 'target', - '3': 2, - '4': 1, - '5': 14, - '6': '.livekit.SignalTarget', - '10': 'target' - }, + {'1': 'target', '3': 2, '4': 1, '5': 14, '6': '.livekit.SignalTarget', '10': 'target'}, {'1': 'final', '3': 3, '4': 1, '5': 8, '10': 'final'}, ], }; /// Descriptor for `TrickleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trickleRequestDescriptor = $convert.base64Decode( - 'Cg5Ucmlja2xlUmVxdWVzdBIkCg1jYW5kaWRhdGVJbml0GAEgASgJUg1jYW5kaWRhdGVJbml0Ei' - '0KBnRhcmdldBgCIAEoDjIVLmxpdmVraXQuU2lnbmFsVGFyZ2V0UgZ0YXJnZXQSFAoFZmluYWwY' - 'AyABKAhSBWZpbmFs'); +final $typed_data.Uint8List trickleRequestDescriptor = + $convert.base64Decode('Cg5Ucmlja2xlUmVxdWVzdBIkCg1jYW5kaWRhdGVJbml0GAEgASgJUg1jYW5kaWRhdGVJbml0Ei' + '0KBnRhcmdldBgCIAEoDjIVLmxpdmVraXQuU2lnbmFsVGFyZ2V0UgZ0YXJnZXQSFAoFZmluYWwY' + 'AyABKAhSBWZpbmFs'); @$core.Deprecated('Use muteTrackRequestDescriptor instead') const MuteTrackRequest$json = { @@ -660,47 +414,20 @@ const MuteTrackRequest$json = { }; /// Descriptor for `MuteTrackRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List muteTrackRequestDescriptor = $convert.base64Decode( - 'ChBNdXRlVHJhY2tSZXF1ZXN0EhAKA3NpZBgBIAEoCVIDc2lkEhQKBW11dGVkGAIgASgIUgVtdX' - 'RlZA=='); +final $typed_data.Uint8List muteTrackRequestDescriptor = + $convert.base64Decode('ChBNdXRlVHJhY2tSZXF1ZXN0EhAKA3NpZBgBIAEoCVIDc2lkEhQKBW11dGVkGAIgASgIUgVtdX' + 'RlZA=='); @$core.Deprecated('Use joinResponseDescriptor instead') const JoinResponse$json = { '1': 'JoinResponse', '2': [ {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.livekit.Room', '10': 'room'}, - { - '1': 'participant', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.ParticipantInfo', - '10': 'participant' - }, - { - '1': 'other_participants', - '3': 3, - '4': 3, - '5': 11, - '6': '.livekit.ParticipantInfo', - '10': 'otherParticipants' - }, + {'1': 'participant', '3': 2, '4': 1, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participant'}, + {'1': 'other_participants', '3': 3, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'otherParticipants'}, {'1': 'server_version', '3': 4, '4': 1, '5': 9, '10': 'serverVersion'}, - { - '1': 'ice_servers', - '3': 5, - '4': 3, - '5': 11, - '6': '.livekit.ICEServer', - '10': 'iceServers' - }, - { - '1': 'subscriber_primary', - '3': 6, - '4': 1, - '5': 8, - '10': 'subscriberPrimary' - }, + {'1': 'ice_servers', '3': 5, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, + {'1': 'subscriber_primary', '3': 6, '4': 1, '5': 8, '10': 'subscriberPrimary'}, {'1': 'alternative_url', '3': 7, '4': 1, '5': 9, '10': 'alternativeUrl'}, { '1': 'client_configuration', @@ -713,56 +440,35 @@ const JoinResponse$json = { {'1': 'server_region', '3': 9, '4': 1, '5': 9, '10': 'serverRegion'}, {'1': 'ping_timeout', '3': 10, '4': 1, '5': 5, '10': 'pingTimeout'}, {'1': 'ping_interval', '3': 11, '4': 1, '5': 5, '10': 'pingInterval'}, - { - '1': 'server_info', - '3': 12, - '4': 1, - '5': 11, - '6': '.livekit.ServerInfo', - '10': 'serverInfo' - }, + {'1': 'server_info', '3': 12, '4': 1, '5': 11, '6': '.livekit.ServerInfo', '10': 'serverInfo'}, {'1': 'sif_trailer', '3': 13, '4': 1, '5': 12, '10': 'sifTrailer'}, - { - '1': 'enabled_publish_codecs', - '3': 14, - '4': 3, - '5': 11, - '6': '.livekit.Codec', - '10': 'enabledPublishCodecs' - }, + {'1': 'enabled_publish_codecs', '3': 14, '4': 3, '5': 11, '6': '.livekit.Codec', '10': 'enabledPublishCodecs'}, {'1': 'fast_publish', '3': 15, '4': 1, '5': 8, '10': 'fastPublish'}, ], }; /// Descriptor for `JoinResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List joinResponseDescriptor = $convert.base64Decode( - 'CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vbVIEcm9vbRI6CgtwYX' - 'J0aWNpcGFudBgCIAEoCzIYLmxpdmVraXQuUGFydGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJH' - 'ChJvdGhlcl9wYXJ0aWNpcGFudHMYAyADKAsyGC5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3' - 'RoZXJQYXJ0aWNpcGFudHMSJQoOc2VydmVyX3ZlcnNpb24YBCABKAlSDXNlcnZlclZlcnNpb24S' - 'MwoLaWNlX3NlcnZlcnMYBSADKAsyEi5saXZla2l0LklDRVNlcnZlclIKaWNlU2VydmVycxItCh' - 'JzdWJzY3JpYmVyX3ByaW1hcnkYBiABKAhSEXN1YnNjcmliZXJQcmltYXJ5EicKD2FsdGVybmF0' - 'aXZlX3VybBgHIAEoCVIOYWx0ZXJuYXRpdmVVcmwSTwoUY2xpZW50X2NvbmZpZ3VyYXRpb24YCC' - 'ABKAsyHC5saXZla2l0LkNsaWVudENvbmZpZ3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24S' - 'IwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9uEiEKDHBpbmdfdGltZW91dBgKIA' - 'EoBVILcGluZ1RpbWVvdXQSIwoNcGluZ19pbnRlcnZhbBgLIAEoBVIMcGluZ0ludGVydmFsEjQK' - 'C3NlcnZlcl9pbmZvGAwgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEh8KC3' - 'NpZl90cmFpbGVyGA0gASgMUgpzaWZUcmFpbGVyEkQKFmVuYWJsZWRfcHVibGlzaF9jb2RlY3MY' - 'DiADKAsyDi5saXZla2l0LkNvZGVjUhRlbmFibGVkUHVibGlzaENvZGVjcxIhCgxmYXN0X3B1Ym' - 'xpc2gYDyABKAhSC2Zhc3RQdWJsaXNo'); +final $typed_data.Uint8List joinResponseDescriptor = + $convert.base64Decode('CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vbVIEcm9vbRI6CgtwYX' + 'J0aWNpcGFudBgCIAEoCzIYLmxpdmVraXQuUGFydGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJH' + 'ChJvdGhlcl9wYXJ0aWNpcGFudHMYAyADKAsyGC5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3' + 'RoZXJQYXJ0aWNpcGFudHMSJQoOc2VydmVyX3ZlcnNpb24YBCABKAlSDXNlcnZlclZlcnNpb24S' + 'MwoLaWNlX3NlcnZlcnMYBSADKAsyEi5saXZla2l0LklDRVNlcnZlclIKaWNlU2VydmVycxItCh' + 'JzdWJzY3JpYmVyX3ByaW1hcnkYBiABKAhSEXN1YnNjcmliZXJQcmltYXJ5EicKD2FsdGVybmF0' + 'aXZlX3VybBgHIAEoCVIOYWx0ZXJuYXRpdmVVcmwSTwoUY2xpZW50X2NvbmZpZ3VyYXRpb24YCC' + 'ABKAsyHC5saXZla2l0LkNsaWVudENvbmZpZ3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24S' + 'IwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9uEiEKDHBpbmdfdGltZW91dBgKIA' + 'EoBVILcGluZ1RpbWVvdXQSIwoNcGluZ19pbnRlcnZhbBgLIAEoBVIMcGluZ0ludGVydmFsEjQK' + 'C3NlcnZlcl9pbmZvGAwgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEh8KC3' + 'NpZl90cmFpbGVyGA0gASgMUgpzaWZUcmFpbGVyEkQKFmVuYWJsZWRfcHVibGlzaF9jb2RlY3MY' + 'DiADKAsyDi5saXZla2l0LkNvZGVjUhRlbmFibGVkUHVibGlzaENvZGVjcxIhCgxmYXN0X3B1Ym' + 'xpc2gYDyABKAhSC2Zhc3RQdWJsaXNo'); @$core.Deprecated('Use reconnectResponseDescriptor instead') const ReconnectResponse$json = { '1': 'ReconnectResponse', '2': [ - { - '1': 'ice_servers', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.ICEServer', - '10': 'iceServers' - }, + {'1': 'ice_servers', '3': 1, '4': 3, '5': 11, '6': '.livekit.ICEServer', '10': 'iceServers'}, { '1': 'client_configuration', '3': 2, @@ -771,46 +477,31 @@ const ReconnectResponse$json = { '6': '.livekit.ClientConfiguration', '10': 'clientConfiguration' }, - { - '1': 'server_info', - '3': 3, - '4': 1, - '5': 11, - '6': '.livekit.ServerInfo', - '10': 'serverInfo' - }, + {'1': 'server_info', '3': 3, '4': 1, '5': 11, '6': '.livekit.ServerInfo', '10': 'serverInfo'}, {'1': 'last_message_seq', '3': 4, '4': 1, '5': 13, '10': 'lastMessageSeq'}, ], }; /// Descriptor for `ReconnectResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List reconnectResponseDescriptor = $convert.base64Decode( - 'ChFSZWNvbm5lY3RSZXNwb25zZRIzCgtpY2Vfc2VydmVycxgBIAMoCzISLmxpdmVraXQuSUNFU2' - 'VydmVyUgppY2VTZXJ2ZXJzEk8KFGNsaWVudF9jb25maWd1cmF0aW9uGAIgASgLMhwubGl2ZWtp' - 'dC5DbGllbnRDb25maWd1cmF0aW9uUhNjbGllbnRDb25maWd1cmF0aW9uEjQKC3NlcnZlcl9pbm' - 'ZvGAMgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEigKEGxhc3RfbWVzc2Fn' - 'ZV9zZXEYBCABKA1SDmxhc3RNZXNzYWdlU2Vx'); +final $typed_data.Uint8List reconnectResponseDescriptor = + $convert.base64Decode('ChFSZWNvbm5lY3RSZXNwb25zZRIzCgtpY2Vfc2VydmVycxgBIAMoCzISLmxpdmVraXQuSUNFU2' + 'VydmVyUgppY2VTZXJ2ZXJzEk8KFGNsaWVudF9jb25maWd1cmF0aW9uGAIgASgLMhwubGl2ZWtp' + 'dC5DbGllbnRDb25maWd1cmF0aW9uUhNjbGllbnRDb25maWd1cmF0aW9uEjQKC3NlcnZlcl9pbm' + 'ZvGAMgASgLMhMubGl2ZWtpdC5TZXJ2ZXJJbmZvUgpzZXJ2ZXJJbmZvEigKEGxhc3RfbWVzc2Fn' + 'ZV9zZXEYBCABKA1SDmxhc3RNZXNzYWdlU2Vx'); @$core.Deprecated('Use trackPublishedResponseDescriptor instead') const TrackPublishedResponse$json = { '1': 'TrackPublishedResponse', '2': [ {'1': 'cid', '3': 1, '4': 1, '5': 9, '10': 'cid'}, - { - '1': 'track', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.TrackInfo', - '10': 'track' - }, + {'1': 'track', '3': 2, '4': 1, '5': 11, '6': '.livekit.TrackInfo', '10': 'track'}, ], }; /// Descriptor for `TrackPublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List trackPublishedResponseDescriptor = - $convert.base64Decode( - 'ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' + $convert.base64Decode('ChZUcmFja1B1Ymxpc2hlZFJlc3BvbnNlEhAKA2NpZBgBIAEoCVIDY2lkEigKBXRyYWNrGAIgAS' 'gLMhIubGl2ZWtpdC5UcmFja0luZm9SBXRyYWNr'); @$core.Deprecated('Use trackUnpublishedResponseDescriptor instead') @@ -823,8 +514,7 @@ const TrackUnpublishedResponse$json = { /// Descriptor for `TrackUnpublishedResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List trackUnpublishedResponseDescriptor = - $convert.base64Decode( - 'ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' + $convert.base64Decode('ChhUcmFja1VucHVibGlzaGVkUmVzcG9uc2USGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA' '=='); @$core.Deprecated('Use sessionDescriptionDescriptor instead') @@ -838,29 +528,22 @@ const SessionDescription$json = { }; /// Descriptor for `SessionDescription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sessionDescriptionDescriptor = $convert.base64Decode( - 'ChJTZXNzaW9uRGVzY3JpcHRpb24SEgoEdHlwZRgBIAEoCVIEdHlwZRIQCgNzZHAYAiABKAlSA3' - 'NkcBIOCgJpZBgDIAEoDVICaWQ='); +final $typed_data.Uint8List sessionDescriptionDescriptor = + $convert.base64Decode('ChJTZXNzaW9uRGVzY3JpcHRpb24SEgoEdHlwZRgBIAEoCVIEdHlwZRIQCgNzZHAYAiABKAlSA3' + 'NkcBIOCgJpZBgDIAEoDVICaWQ='); @$core.Deprecated('Use participantUpdateDescriptor instead') const ParticipantUpdate$json = { '1': 'ParticipantUpdate', '2': [ - { - '1': 'participants', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.ParticipantInfo', - '10': 'participants' - }, + {'1': 'participants', '3': 1, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participants'}, ], }; /// Descriptor for `ParticipantUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List participantUpdateDescriptor = $convert.base64Decode( - 'ChFQYXJ0aWNpcGFudFVwZGF0ZRI8CgxwYXJ0aWNpcGFudHMYASADKAsyGC5saXZla2l0LlBhcn' - 'RpY2lwYW50SW5mb1IMcGFydGljaXBhbnRz'); +final $typed_data.Uint8List participantUpdateDescriptor = + $convert.base64Decode('ChFQYXJ0aWNpcGFudFVwZGF0ZRI8CgxwYXJ0aWNpcGFudHMYASADKAsyGC5saXZla2l0LlBhcn' + 'RpY2lwYW50SW5mb1IMcGFydGljaXBhbnRz'); @$core.Deprecated('Use updateSubscriptionDescriptor instead') const UpdateSubscription$json = { @@ -868,22 +551,15 @@ const UpdateSubscription$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'subscribe', '3': 2, '4': 1, '5': 8, '10': 'subscribe'}, - { - '1': 'participant_tracks', - '3': 3, - '4': 3, - '5': 11, - '6': '.livekit.ParticipantTracks', - '10': 'participantTracks' - }, + {'1': 'participant_tracks', '3': 3, '4': 3, '5': 11, '6': '.livekit.ParticipantTracks', '10': 'participantTracks'}, ], }; /// Descriptor for `UpdateSubscription`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateSubscriptionDescriptor = $convert.base64Decode( - 'ChJVcGRhdGVTdWJzY3JpcHRpb24SHQoKdHJhY2tfc2lkcxgBIAMoCVIJdHJhY2tTaWRzEhwKCX' - 'N1YnNjcmliZRgCIAEoCFIJc3Vic2NyaWJlEkkKEnBhcnRpY2lwYW50X3RyYWNrcxgDIAMoCzIa' - 'LmxpdmVraXQuUGFydGljaXBhbnRUcmFja3NSEXBhcnRpY2lwYW50VHJhY2tz'); +final $typed_data.Uint8List updateSubscriptionDescriptor = + $convert.base64Decode('ChJVcGRhdGVTdWJzY3JpcHRpb24SHQoKdHJhY2tfc2lkcxgBIAMoCVIJdHJhY2tTaWRzEhwKCX' + 'N1YnNjcmliZRgCIAEoCFIJc3Vic2NyaWJlEkkKEnBhcnRpY2lwYW50X3RyYWNrcxgDIAMoCzIa' + 'LmxpdmVraXQuUGFydGljaXBhbnRUcmFja3NSEXBhcnRpY2lwYW50VHJhY2tz'); @$core.Deprecated('Use updateTrackSettingsDescriptor instead') const UpdateTrackSettings$json = { @@ -891,14 +567,7 @@ const UpdateTrackSettings$json = { '2': [ {'1': 'track_sids', '3': 1, '4': 3, '5': 9, '10': 'trackSids'}, {'1': 'disabled', '3': 3, '4': 1, '5': 8, '10': 'disabled'}, - { - '1': 'quality', - '3': 4, - '4': 1, - '5': 14, - '6': '.livekit.VideoQuality', - '10': 'quality' - }, + {'1': 'quality', '3': 4, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, {'1': 'width', '3': 5, '4': 1, '5': 13, '10': 'width'}, {'1': 'height', '3': 6, '4': 1, '5': 13, '10': 'height'}, {'1': 'fps', '3': 7, '4': 1, '5': 13, '10': 'fps'}, @@ -907,32 +576,25 @@ const UpdateTrackSettings$json = { }; /// Descriptor for `UpdateTrackSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateTrackSettingsDescriptor = $convert.base64Decode( - 'ChNVcGRhdGVUcmFja1NldHRpbmdzEh0KCnRyYWNrX3NpZHMYASADKAlSCXRyYWNrU2lkcxIaCg' - 'hkaXNhYmxlZBgDIAEoCFIIZGlzYWJsZWQSLwoHcXVhbGl0eRgEIAEoDjIVLmxpdmVraXQuVmlk' - 'ZW9RdWFsaXR5UgdxdWFsaXR5EhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA' - '1SBmhlaWdodBIQCgNmcHMYByABKA1SA2ZwcxIaCghwcmlvcml0eRgIIAEoDVIIcHJpb3JpdHk='); +final $typed_data.Uint8List updateTrackSettingsDescriptor = + $convert.base64Decode('ChNVcGRhdGVUcmFja1NldHRpbmdzEh0KCnRyYWNrX3NpZHMYASADKAlSCXRyYWNrU2lkcxIaCg' + 'hkaXNhYmxlZBgDIAEoCFIIZGlzYWJsZWQSLwoHcXVhbGl0eRgEIAEoDjIVLmxpdmVraXQuVmlk' + 'ZW9RdWFsaXR5UgdxdWFsaXR5EhQKBXdpZHRoGAUgASgNUgV3aWR0aBIWCgZoZWlnaHQYBiABKA' + '1SBmhlaWdodBIQCgNmcHMYByABKA1SA2ZwcxIaCghwcmlvcml0eRgIIAEoDVIIcHJpb3JpdHk='); @$core.Deprecated('Use updateLocalAudioTrackDescriptor instead') const UpdateLocalAudioTrack$json = { '1': 'UpdateLocalAudioTrack', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - { - '1': 'features', - '3': 2, - '4': 3, - '5': 14, - '6': '.livekit.AudioTrackFeature', - '10': 'features' - }, + {'1': 'features', '3': 2, '4': 3, '5': 14, '6': '.livekit.AudioTrackFeature', '10': 'features'}, ], }; /// Descriptor for `UpdateLocalAudioTrack`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocalAudioTrackDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVMb2NhbEF1ZGlvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBI2Cg' - 'hmZWF0dXJlcxgCIAMoDjIaLmxpdmVraXQuQXVkaW9UcmFja0ZlYXR1cmVSCGZlYXR1cmVz'); +final $typed_data.Uint8List updateLocalAudioTrackDescriptor = + $convert.base64Decode('ChVVcGRhdGVMb2NhbEF1ZGlvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBI2Cg' + 'hmZWF0dXJlcxgCIAMoDjIaLmxpdmVraXQuQXVkaW9UcmFja0ZlYXR1cmVSCGZlYXR1cmVz'); @$core.Deprecated('Use updateLocalVideoTrackDescriptor instead') const UpdateLocalVideoTrack$json = { @@ -945,39 +607,18 @@ const UpdateLocalVideoTrack$json = { }; /// Descriptor for `UpdateLocalVideoTrack`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocalVideoTrackDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVMb2NhbFZpZGVvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBIUCg' - 'V3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQ='); +final $typed_data.Uint8List updateLocalVideoTrackDescriptor = + $convert.base64Decode('ChVVcGRhdGVMb2NhbFZpZGVvVHJhY2sSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZBIUCg' + 'V3aWR0aBgCIAEoDVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgNUgZoZWlnaHQ='); @$core.Deprecated('Use leaveRequestDescriptor instead') const LeaveRequest$json = { '1': 'LeaveRequest', '2': [ {'1': 'can_reconnect', '3': 1, '4': 1, '5': 8, '10': 'canReconnect'}, - { - '1': 'reason', - '3': 2, - '4': 1, - '5': 14, - '6': '.livekit.DisconnectReason', - '10': 'reason' - }, - { - '1': 'action', - '3': 3, - '4': 1, - '5': 14, - '6': '.livekit.LeaveRequest.Action', - '10': 'action' - }, - { - '1': 'regions', - '3': 4, - '4': 1, - '5': 11, - '6': '.livekit.RegionSettings', - '10': 'regions' - }, + {'1': 'reason', '3': 2, '4': 1, '5': 14, '6': '.livekit.DisconnectReason', '10': 'reason'}, + {'1': 'action', '3': 3, '4': 1, '5': 14, '6': '.livekit.LeaveRequest.Action', '10': 'action'}, + {'1': 'regions', '3': 4, '4': 1, '5': 11, '6': '.livekit.RegionSettings', '10': 'regions'}, ], '4': [LeaveRequest_Action$json], }; @@ -993,34 +634,27 @@ const LeaveRequest_Action$json = { }; /// Descriptor for `LeaveRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List leaveRequestDescriptor = $convert.base64Decode( - 'CgxMZWF2ZVJlcXVlc3QSIwoNY2FuX3JlY29ubmVjdBgBIAEoCFIMY2FuUmVjb25uZWN0EjEKBn' - 'JlYXNvbhgCIAEoDjIZLmxpdmVraXQuRGlzY29ubmVjdFJlYXNvblIGcmVhc29uEjQKBmFjdGlv' - 'bhgDIAEoDjIcLmxpdmVraXQuTGVhdmVSZXF1ZXN0LkFjdGlvblIGYWN0aW9uEjEKB3JlZ2lvbn' - 'MYBCABKAsyFy5saXZla2l0LlJlZ2lvblNldHRpbmdzUgdyZWdpb25zIjMKBkFjdGlvbhIOCgpE' - 'SVNDT05ORUNUEAASCgoGUkVTVU1FEAESDQoJUkVDT05ORUNUEAI='); +final $typed_data.Uint8List leaveRequestDescriptor = + $convert.base64Decode('CgxMZWF2ZVJlcXVlc3QSIwoNY2FuX3JlY29ubmVjdBgBIAEoCFIMY2FuUmVjb25uZWN0EjEKBn' + 'JlYXNvbhgCIAEoDjIZLmxpdmVraXQuRGlzY29ubmVjdFJlYXNvblIGcmVhc29uEjQKBmFjdGlv' + 'bhgDIAEoDjIcLmxpdmVraXQuTGVhdmVSZXF1ZXN0LkFjdGlvblIGYWN0aW9uEjEKB3JlZ2lvbn' + 'MYBCABKAsyFy5saXZla2l0LlJlZ2lvblNldHRpbmdzUgdyZWdpb25zIjMKBkFjdGlvbhIOCgpE' + 'SVNDT05ORUNUEAASCgoGUkVTVU1FEAESDQoJUkVDT05ORUNUEAI='); @$core.Deprecated('Use updateVideoLayersDescriptor instead') const UpdateVideoLayers$json = { '1': 'UpdateVideoLayers', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - { - '1': 'layers', - '3': 2, - '4': 3, - '5': 11, - '6': '.livekit.VideoLayer', - '10': 'layers' - }, + {'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.livekit.VideoLayer', '10': 'layers'}, ], '7': {'3': true}, }; /// Descriptor for `UpdateVideoLayers`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateVideoLayersDescriptor = $convert.base64Decode( - 'ChFVcGRhdGVWaWRlb0xheWVycxIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEisKBmxheW' - 'VycxgCIAMoCzITLmxpdmVraXQuVmlkZW9MYXllclIGbGF5ZXJzOgIYAQ=='); +final $typed_data.Uint8List updateVideoLayersDescriptor = + $convert.base64Decode('ChFVcGRhdGVWaWRlb0xheWVycxIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEisKBmxheW' + 'VycxgCIAMoCzITLmxpdmVraXQuVmlkZW9MYXllclIGbGF5ZXJzOgIYAQ=='); @$core.Deprecated('Use updateParticipantMetadataDescriptor instead') const UpdateParticipantMetadata$json = { @@ -1052,12 +686,12 @@ const UpdateParticipantMetadata_AttributesEntry$json = { }; /// Descriptor for `UpdateParticipantMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateParticipantMetadataDescriptor = $convert.base64Decode( - 'ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' - 'ISCgRuYW1lGAIgASgJUgRuYW1lElIKCmF0dHJpYnV0ZXMYAyADKAsyMi5saXZla2l0LlVwZGF0' - 'ZVBhcnRpY2lwYW50TWV0YWRhdGEuQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEh0KCnJlcX' - 'Vlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEgASgJ' - 'UgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); +final $typed_data.Uint8List updateParticipantMetadataDescriptor = + $convert.base64Decode('ChlVcGRhdGVQYXJ0aWNpcGFudE1ldGFkYXRhEhoKCG1ldGFkYXRhGAEgASgJUghtZXRhZGF0YR' + 'ISCgRuYW1lGAIgASgJUgRuYW1lElIKCmF0dHJpYnV0ZXMYAyADKAsyMi5saXZla2l0LlVwZGF0' + 'ZVBhcnRpY2lwYW50TWV0YWRhdGEuQXR0cmlidXRlc0VudHJ5UgphdHRyaWJ1dGVzEh0KCnJlcX' + 'Vlc3RfaWQYBCABKA1SCXJlcXVlc3RJZBo9Cg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEgASgJ' + 'UgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AQ=='); @$core.Deprecated('Use iCEServerDescriptor instead') const ICEServer$json = { @@ -1070,29 +704,22 @@ const ICEServer$json = { }; /// Descriptor for `ICEServer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List iCEServerDescriptor = $convert.base64Decode( - 'CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' - '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); +final $typed_data.Uint8List iCEServerDescriptor = + $convert.base64Decode('CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' + '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); @$core.Deprecated('Use speakersChangedDescriptor instead') const SpeakersChanged$json = { '1': 'SpeakersChanged', '2': [ - { - '1': 'speakers', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.SpeakerInfo', - '10': 'speakers' - }, + {'1': 'speakers', '3': 1, '4': 3, '5': 11, '6': '.livekit.SpeakerInfo', '10': 'speakers'}, ], }; /// Descriptor for `SpeakersChanged`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List speakersChangedDescriptor = $convert.base64Decode( - 'Cg9TcGVha2Vyc0NoYW5nZWQSMAoIc3BlYWtlcnMYASADKAsyFC5saXZla2l0LlNwZWFrZXJJbm' - 'ZvUghzcGVha2Vycw=='); +final $typed_data.Uint8List speakersChangedDescriptor = + $convert.base64Decode('Cg9TcGVha2Vyc0NoYW5nZWQSMAoIc3BlYWtlcnMYASADKAsyFC5saXZla2l0LlNwZWFrZXJJbm' + 'ZvUghzcGVha2Vycw=='); @$core.Deprecated('Use roomUpdateDescriptor instead') const RoomUpdate$json = { @@ -1103,51 +730,36 @@ const RoomUpdate$json = { }; /// Descriptor for `RoomUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomUpdateDescriptor = $convert.base64Decode( - 'CgpSb29tVXBkYXRlEiEKBHJvb20YASABKAsyDS5saXZla2l0LlJvb21SBHJvb20='); +final $typed_data.Uint8List roomUpdateDescriptor = + $convert.base64Decode('CgpSb29tVXBkYXRlEiEKBHJvb20YASABKAsyDS5saXZla2l0LlJvb21SBHJvb20='); @$core.Deprecated('Use connectionQualityInfoDescriptor instead') const ConnectionQualityInfo$json = { '1': 'ConnectionQualityInfo', '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, - { - '1': 'quality', - '3': 2, - '4': 1, - '5': 14, - '6': '.livekit.ConnectionQuality', - '10': 'quality' - }, + {'1': 'quality', '3': 2, '4': 1, '5': 14, '6': '.livekit.ConnectionQuality', '10': 'quality'}, {'1': 'score', '3': 3, '4': 1, '5': 2, '10': 'score'}, ], }; /// Descriptor for `ConnectionQualityInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List connectionQualityInfoDescriptor = $convert.base64Decode( - 'ChVDb25uZWN0aW9uUXVhbGl0eUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aW' - 'NpcGFudFNpZBI0CgdxdWFsaXR5GAIgASgOMhoubGl2ZWtpdC5Db25uZWN0aW9uUXVhbGl0eVIH' - 'cXVhbGl0eRIUCgVzY29yZRgDIAEoAlIFc2NvcmU='); +final $typed_data.Uint8List connectionQualityInfoDescriptor = + $convert.base64Decode('ChVDb25uZWN0aW9uUXVhbGl0eUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aW' + 'NpcGFudFNpZBI0CgdxdWFsaXR5GAIgASgOMhoubGl2ZWtpdC5Db25uZWN0aW9uUXVhbGl0eVIH' + 'cXVhbGl0eRIUCgVzY29yZRgDIAEoAlIFc2NvcmU='); @$core.Deprecated('Use connectionQualityUpdateDescriptor instead') const ConnectionQualityUpdate$json = { '1': 'ConnectionQualityUpdate', '2': [ - { - '1': 'updates', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.ConnectionQualityInfo', - '10': 'updates' - }, + {'1': 'updates', '3': 1, '4': 3, '5': 11, '6': '.livekit.ConnectionQualityInfo', '10': 'updates'}, ], }; /// Descriptor for `ConnectionQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List connectionQualityUpdateDescriptor = - $convert.base64Decode( - 'ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' + $convert.base64Decode('ChdDb25uZWN0aW9uUXVhbGl0eVVwZGF0ZRI4Cgd1cGRhdGVzGAEgAygLMh4ubGl2ZWtpdC5Db2' '5uZWN0aW9uUXVhbGl0eUluZm9SB3VwZGF0ZXM='); @$core.Deprecated('Use streamStateInfoDescriptor instead') @@ -1156,84 +768,56 @@ const StreamStateInfo$json = { '2': [ {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, {'1': 'track_sid', '3': 2, '4': 1, '5': 9, '10': 'trackSid'}, - { - '1': 'state', - '3': 3, - '4': 1, - '5': 14, - '6': '.livekit.StreamState', - '10': 'state' - }, + {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.livekit.StreamState', '10': 'state'}, ], }; /// Descriptor for `StreamStateInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStateInfoDescriptor = $convert.base64Decode( - 'Cg9TdHJlYW1TdGF0ZUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' - 'NpZBIbCgl0cmFja19zaWQYAiABKAlSCHRyYWNrU2lkEioKBXN0YXRlGAMgASgOMhQubGl2ZWtp' - 'dC5TdHJlYW1TdGF0ZVIFc3RhdGU='); +final $typed_data.Uint8List streamStateInfoDescriptor = + $convert.base64Decode('Cg9TdHJlYW1TdGF0ZUluZm8SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' + 'NpZBIbCgl0cmFja19zaWQYAiABKAlSCHRyYWNrU2lkEioKBXN0YXRlGAMgASgOMhQubGl2ZWtp' + 'dC5TdHJlYW1TdGF0ZVIFc3RhdGU='); @$core.Deprecated('Use streamStateUpdateDescriptor instead') const StreamStateUpdate$json = { '1': 'StreamStateUpdate', '2': [ - { - '1': 'stream_states', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.StreamStateInfo', - '10': 'streamStates' - }, + {'1': 'stream_states', '3': 1, '4': 3, '5': 11, '6': '.livekit.StreamStateInfo', '10': 'streamStates'}, ], }; /// Descriptor for `StreamStateUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStateUpdateDescriptor = $convert.base64Decode( - 'ChFTdHJlYW1TdGF0ZVVwZGF0ZRI9Cg1zdHJlYW1fc3RhdGVzGAEgAygLMhgubGl2ZWtpdC5TdH' - 'JlYW1TdGF0ZUluZm9SDHN0cmVhbVN0YXRlcw=='); +final $typed_data.Uint8List streamStateUpdateDescriptor = + $convert.base64Decode('ChFTdHJlYW1TdGF0ZVVwZGF0ZRI9Cg1zdHJlYW1fc3RhdGVzGAEgAygLMhgubGl2ZWtpdC5TdH' + 'JlYW1TdGF0ZUluZm9SDHN0cmVhbVN0YXRlcw=='); @$core.Deprecated('Use subscribedQualityDescriptor instead') const SubscribedQuality$json = { '1': 'SubscribedQuality', '2': [ - { - '1': 'quality', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.VideoQuality', - '10': 'quality' - }, + {'1': 'quality', '3': 1, '4': 1, '5': 14, '6': '.livekit.VideoQuality', '10': 'quality'}, {'1': 'enabled', '3': 2, '4': 1, '5': 8, '10': 'enabled'}, ], }; /// Descriptor for `SubscribedQuality`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityDescriptor = $convert.base64Decode( - 'ChFTdWJzY3JpYmVkUXVhbGl0eRIvCgdxdWFsaXR5GAEgASgOMhUubGl2ZWtpdC5WaWRlb1F1YW' - 'xpdHlSB3F1YWxpdHkSGAoHZW5hYmxlZBgCIAEoCFIHZW5hYmxlZA=='); +final $typed_data.Uint8List subscribedQualityDescriptor = + $convert.base64Decode('ChFTdWJzY3JpYmVkUXVhbGl0eRIvCgdxdWFsaXR5GAEgASgOMhUubGl2ZWtpdC5WaWRlb1F1YW' + 'xpdHlSB3F1YWxpdHkSGAoHZW5hYmxlZBgCIAEoCFIHZW5hYmxlZA=='); @$core.Deprecated('Use subscribedCodecDescriptor instead') const SubscribedCodec$json = { '1': 'SubscribedCodec', '2': [ {'1': 'codec', '3': 1, '4': 1, '5': 9, '10': 'codec'}, - { - '1': 'qualities', - '3': 2, - '4': 3, - '5': 11, - '6': '.livekit.SubscribedQuality', - '10': 'qualities' - }, + {'1': 'qualities', '3': 2, '4': 3, '5': 11, '6': '.livekit.SubscribedQuality', '10': 'qualities'}, ], }; /// Descriptor for `SubscribedCodec`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedCodecDescriptor = $convert.base64Decode( - 'Cg9TdWJzY3JpYmVkQ29kZWMSFAoFY29kZWMYASABKAlSBWNvZGVjEjgKCXF1YWxpdGllcxgCIA' - 'MoCzIaLmxpdmVraXQuU3Vic2NyaWJlZFF1YWxpdHlSCXF1YWxpdGllcw=='); +final $typed_data.Uint8List subscribedCodecDescriptor = + $convert.base64Decode('Cg9TdWJzY3JpYmVkQ29kZWMSFAoFY29kZWMYASABKAlSBWNvZGVjEjgKCXF1YWxpdGllcxgCIA' + 'MoCzIaLmxpdmVraXQuU3Vic2NyaWJlZFF1YWxpdHlSCXF1YWxpdGllcw=='); @$core.Deprecated('Use subscribedQualityUpdateDescriptor instead') const SubscribedQualityUpdate$json = { @@ -1249,23 +833,16 @@ const SubscribedQualityUpdate$json = { '8': {'3': true}, '10': 'subscribedQualities', }, - { - '1': 'subscribed_codecs', - '3': 3, - '4': 3, - '5': 11, - '6': '.livekit.SubscribedCodec', - '10': 'subscribedCodecs' - }, + {'1': 'subscribed_codecs', '3': 3, '4': 3, '5': 11, '6': '.livekit.SubscribedCodec', '10': 'subscribedCodecs'}, ], }; /// Descriptor for `SubscribedQualityUpdate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribedQualityUpdateDescriptor = $convert.base64Decode( - 'ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' - 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' - 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' - '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); +final $typed_data.Uint8List subscribedQualityUpdateDescriptor = + $convert.base64Decode('ChdTdWJzY3JpYmVkUXVhbGl0eVVwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEl' + 'EKFHN1YnNjcmliZWRfcXVhbGl0aWVzGAIgAygLMhoubGl2ZWtpdC5TdWJzY3JpYmVkUXVhbGl0' + 'eUICGAFSE3N1YnNjcmliZWRRdWFsaXRpZXMSRQoRc3Vic2NyaWJlZF9jb2RlY3MYAyADKAsyGC' + '5saXZla2l0LlN1YnNjcmliZWRDb2RlY1IQc3Vic2NyaWJlZENvZGVjcw=='); @$core.Deprecated('Use subscribedAudioCodecUpdateDescriptor instead') const SubscribedAudioCodecUpdate$json = { @@ -1285,8 +862,7 @@ const SubscribedAudioCodecUpdate$json = { /// Descriptor for `SubscribedAudioCodecUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List subscribedAudioCodecUpdateDescriptor = - $convert.base64Decode( - 'ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' + $convert.base64Decode('ChpTdWJzY3JpYmVkQXVkaW9Db2RlY1VwZGF0ZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2' 'lkElUKF3N1YnNjcmliZWRfYXVkaW9fY29kZWNzGAIgAygLMh0ubGl2ZWtpdC5TdWJzY3JpYmVk' 'QXVkaW9Db2RlY1IVc3Vic2NyaWJlZEF1ZGlvQ29kZWNz'); @@ -1297,44 +873,31 @@ const TrackPermission$json = { {'1': 'participant_sid', '3': 1, '4': 1, '5': 9, '10': 'participantSid'}, {'1': 'all_tracks', '3': 2, '4': 1, '5': 8, '10': 'allTracks'}, {'1': 'track_sids', '3': 3, '4': 3, '5': 9, '10': 'trackSids'}, - { - '1': 'participant_identity', - '3': 4, - '4': 1, - '5': 9, - '10': 'participantIdentity' - }, + {'1': 'participant_identity', '3': 4, '4': 1, '5': 9, '10': 'participantIdentity'}, ], }; /// Descriptor for `TrackPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackPermissionDescriptor = $convert.base64Decode( - 'Cg9UcmFja1Blcm1pc3Npb24SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' - 'NpZBIdCgphbGxfdHJhY2tzGAIgASgIUglhbGxUcmFja3MSHQoKdHJhY2tfc2lkcxgDIAMoCVIJ' - 'dHJhY2tTaWRzEjEKFHBhcnRpY2lwYW50X2lkZW50aXR5GAQgASgJUhNwYXJ0aWNpcGFudElkZW' - '50aXR5'); +final $typed_data.Uint8List trackPermissionDescriptor = + $convert.base64Decode('Cg9UcmFja1Blcm1pc3Npb24SJwoPcGFydGljaXBhbnRfc2lkGAEgASgJUg5wYXJ0aWNpcGFudF' + 'NpZBIdCgphbGxfdHJhY2tzGAIgASgIUglhbGxUcmFja3MSHQoKdHJhY2tfc2lkcxgDIAMoCVIJ' + 'dHJhY2tTaWRzEjEKFHBhcnRpY2lwYW50X2lkZW50aXR5GAQgASgJUhNwYXJ0aWNpcGFudElkZW' + '50aXR5'); @$core.Deprecated('Use subscriptionPermissionDescriptor instead') const SubscriptionPermission$json = { '1': 'SubscriptionPermission', '2': [ {'1': 'all_participants', '3': 1, '4': 1, '5': 8, '10': 'allParticipants'}, - { - '1': 'track_permissions', - '3': 2, - '4': 3, - '5': 11, - '6': '.livekit.TrackPermission', - '10': 'trackPermissions' - }, + {'1': 'track_permissions', '3': 2, '4': 3, '5': 11, '6': '.livekit.TrackPermission', '10': 'trackPermissions'}, ], }; /// Descriptor for `SubscriptionPermission`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionPermissionDescriptor = $convert.base64Decode( - 'ChZTdWJzY3JpcHRpb25QZXJtaXNzaW9uEikKEGFsbF9wYXJ0aWNpcGFudHMYASABKAhSD2FsbF' - 'BhcnRpY2lwYW50cxJFChF0cmFja19wZXJtaXNzaW9ucxgCIAMoCzIYLmxpdmVraXQuVHJhY2tQ' - 'ZXJtaXNzaW9uUhB0cmFja1Blcm1pc3Npb25z'); +final $typed_data.Uint8List subscriptionPermissionDescriptor = + $convert.base64Decode('ChZTdWJzY3JpcHRpb25QZXJtaXNzaW9uEikKEGFsbF9wYXJ0aWNpcGFudHMYASABKAhSD2FsbF' + 'BhcnRpY2lwYW50cxJFChF0cmFja19wZXJtaXNzaW9ucxgCIAMoCzIYLmxpdmVraXQuVHJhY2tQ' + 'ZXJtaXNzaW9uUhB0cmFja1Blcm1pc3Npb25z'); @$core.Deprecated('Use subscriptionPermissionUpdateDescriptor instead') const SubscriptionPermissionUpdate$json = { @@ -1348,8 +911,7 @@ const SubscriptionPermissionUpdate$json = { /// Descriptor for `SubscriptionPermissionUpdate`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List subscriptionPermissionUpdateDescriptor = - $convert.base64Decode( - 'ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' + $convert.base64Decode('ChxTdWJzY3JpcHRpb25QZXJtaXNzaW9uVXBkYXRlEicKD3BhcnRpY2lwYW50X3NpZBgBIAEoCV' 'IOcGFydGljaXBhbnRTaWQSGwoJdHJhY2tfc2lkGAIgASgJUgh0cmFja1NpZBIYCgdhbGxvd2Vk' 'GAMgASgIUgdhbGxvd2Vk'); @@ -1359,83 +921,28 @@ const RoomMovedResponse$json = { '2': [ {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.livekit.Room', '10': 'room'}, {'1': 'token', '3': 2, '4': 1, '5': 9, '10': 'token'}, - { - '1': 'participant', - '3': 3, - '4': 1, - '5': 11, - '6': '.livekit.ParticipantInfo', - '10': 'participant' - }, - { - '1': 'other_participants', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.ParticipantInfo', - '10': 'otherParticipants' - }, + {'1': 'participant', '3': 3, '4': 1, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'participant'}, + {'1': 'other_participants', '3': 4, '4': 3, '5': 11, '6': '.livekit.ParticipantInfo', '10': 'otherParticipants'}, ], }; /// Descriptor for `RoomMovedResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roomMovedResponseDescriptor = $convert.base64Decode( - 'ChFSb29tTW92ZWRSZXNwb25zZRIhCgRyb29tGAEgASgLMg0ubGl2ZWtpdC5Sb29tUgRyb29tEh' - 'QKBXRva2VuGAIgASgJUgV0b2tlbhI6CgtwYXJ0aWNpcGFudBgDIAEoCzIYLmxpdmVraXQuUGFy' - 'dGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJHChJvdGhlcl9wYXJ0aWNpcGFudHMYBCADKAsyGC' - '5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3RoZXJQYXJ0aWNpcGFudHM='); +final $typed_data.Uint8List roomMovedResponseDescriptor = + $convert.base64Decode('ChFSb29tTW92ZWRSZXNwb25zZRIhCgRyb29tGAEgASgLMg0ubGl2ZWtpdC5Sb29tUgRyb29tEh' + 'QKBXRva2VuGAIgASgJUgV0b2tlbhI6CgtwYXJ0aWNpcGFudBgDIAEoCzIYLmxpdmVraXQuUGFy' + 'dGljaXBhbnRJbmZvUgtwYXJ0aWNpcGFudBJHChJvdGhlcl9wYXJ0aWNpcGFudHMYBCADKAsyGC' + '5saXZla2l0LlBhcnRpY2lwYW50SW5mb1IRb3RoZXJQYXJ0aWNpcGFudHM='); @$core.Deprecated('Use syncStateDescriptor instead') const SyncState$json = { '1': 'SyncState', '2': [ - { - '1': 'answer', - '3': 1, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '10': 'answer' - }, - { - '1': 'subscription', - '3': 2, - '4': 1, - '5': 11, - '6': '.livekit.UpdateSubscription', - '10': 'subscription' - }, - { - '1': 'publish_tracks', - '3': 3, - '4': 3, - '5': 11, - '6': '.livekit.TrackPublishedResponse', - '10': 'publishTracks' - }, - { - '1': 'data_channels', - '3': 4, - '4': 3, - '5': 11, - '6': '.livekit.DataChannelInfo', - '10': 'dataChannels' - }, - { - '1': 'offer', - '3': 5, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '10': 'offer' - }, - { - '1': 'track_sids_disabled', - '3': 6, - '4': 3, - '5': 9, - '10': 'trackSidsDisabled' - }, + {'1': 'answer', '3': 1, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'answer'}, + {'1': 'subscription', '3': 2, '4': 1, '5': 11, '6': '.livekit.UpdateSubscription', '10': 'subscription'}, + {'1': 'publish_tracks', '3': 3, '4': 3, '5': 11, '6': '.livekit.TrackPublishedResponse', '10': 'publishTracks'}, + {'1': 'data_channels', '3': 4, '4': 3, '5': 11, '6': '.livekit.DataChannelInfo', '10': 'dataChannels'}, + {'1': 'offer', '3': 5, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'offer'}, + {'1': 'track_sids_disabled', '3': 6, '4': 3, '5': 9, '10': 'trackSidsDisabled'}, { '1': 'datachannel_receive_states', '3': 7, @@ -1448,16 +955,16 @@ const SyncState$json = { }; /// Descriptor for `SyncState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List syncStateDescriptor = $convert.base64Decode( - 'CglTeW5jU3RhdGUSMwoGYW5zd2VyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb2' - '5SBmFuc3dlchI/CgxzdWJzY3JpcHRpb24YAiABKAsyGy5saXZla2l0LlVwZGF0ZVN1YnNjcmlw' - 'dGlvblIMc3Vic2NyaXB0aW9uEkYKDnB1Ymxpc2hfdHJhY2tzGAMgAygLMh8ubGl2ZWtpdC5Ucm' - 'Fja1B1Ymxpc2hlZFJlc3BvbnNlUg1wdWJsaXNoVHJhY2tzEj0KDWRhdGFfY2hhbm5lbHMYBCAD' - 'KAsyGC5saXZla2l0LkRhdGFDaGFubmVsSW5mb1IMZGF0YUNoYW5uZWxzEjEKBW9mZmVyGAUgAS' - 'gLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb25SBW9mZmVyEi4KE3RyYWNrX3NpZHNfZGlz' - 'YWJsZWQYBiADKAlSEXRyYWNrU2lkc0Rpc2FibGVkEl4KGmRhdGFjaGFubmVsX3JlY2VpdmVfc3' - 'RhdGVzGAcgAygLMiAubGl2ZWtpdC5EYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZVIYZGF0YWNoYW5u' - 'ZWxSZWNlaXZlU3RhdGVz'); +final $typed_data.Uint8List syncStateDescriptor = + $convert.base64Decode('CglTeW5jU3RhdGUSMwoGYW5zd2VyGAEgASgLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb2' + '5SBmFuc3dlchI/CgxzdWJzY3JpcHRpb24YAiABKAsyGy5saXZla2l0LlVwZGF0ZVN1YnNjcmlw' + 'dGlvblIMc3Vic2NyaXB0aW9uEkYKDnB1Ymxpc2hfdHJhY2tzGAMgAygLMh8ubGl2ZWtpdC5Ucm' + 'Fja1B1Ymxpc2hlZFJlc3BvbnNlUg1wdWJsaXNoVHJhY2tzEj0KDWRhdGFfY2hhbm5lbHMYBCAD' + 'KAsyGC5saXZla2l0LkRhdGFDaGFubmVsSW5mb1IMZGF0YUNoYW5uZWxzEjEKBW9mZmVyGAUgAS' + 'gLMhsubGl2ZWtpdC5TZXNzaW9uRGVzY3JpcHRpb25SBW9mZmVyEi4KE3RyYWNrX3NpZHNfZGlz' + 'YWJsZWQYBiADKAlSEXRyYWNrU2lkc0Rpc2FibGVkEl4KGmRhdGFjaGFubmVsX3JlY2VpdmVfc3' + 'RhdGVzGAcgAygLMiAubGl2ZWtpdC5EYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZVIYZGF0YWNoYW5u' + 'ZWxSZWNlaXZlU3RhdGVz'); @$core.Deprecated('Use dataChannelReceiveStateDescriptor instead') const DataChannelReceiveState$json = { @@ -1470,8 +977,7 @@ const DataChannelReceiveState$json = { /// Descriptor for `DataChannelReceiveState`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List dataChannelReceiveStateDescriptor = - $convert.base64Decode( - 'ChdEYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZRIjCg1wdWJsaXNoZXJfc2lkGAEgASgJUgxwdWJsaX' + $convert.base64Decode('ChdEYXRhQ2hhbm5lbFJlY2VpdmVTdGF0ZRIjCg1wdWJsaXNoZXJfc2lkGAEgASgJUgxwdWJsaX' 'NoZXJTaWQSGQoIbGFzdF9zZXEYAiABKA1SB2xhc3RTZXE='); @$core.Deprecated('Use dataChannelInfoDescriptor instead') @@ -1480,34 +986,20 @@ const DataChannelInfo$json = { '2': [ {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, {'1': 'id', '3': 2, '4': 1, '5': 13, '10': 'id'}, - { - '1': 'target', - '3': 3, - '4': 1, - '5': 14, - '6': '.livekit.SignalTarget', - '10': 'target' - }, + {'1': 'target', '3': 3, '4': 1, '5': 14, '6': '.livekit.SignalTarget', '10': 'target'}, ], }; /// Descriptor for `DataChannelInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataChannelInfoDescriptor = $convert.base64Decode( - 'Cg9EYXRhQ2hhbm5lbEluZm8SFAoFbGFiZWwYASABKAlSBWxhYmVsEg4KAmlkGAIgASgNUgJpZB' - 'ItCgZ0YXJnZXQYAyABKA4yFS5saXZla2l0LlNpZ25hbFRhcmdldFIGdGFyZ2V0'); +final $typed_data.Uint8List dataChannelInfoDescriptor = + $convert.base64Decode('Cg9EYXRhQ2hhbm5lbEluZm8SFAoFbGFiZWwYASABKAlSBWxhYmVsEg4KAmlkGAIgASgNUgJpZB' + 'ItCgZ0YXJnZXQYAyABKA4yFS5saXZla2l0LlNpZ25hbFRhcmdldFIGdGFyZ2V0'); @$core.Deprecated('Use simulateScenarioDescriptor instead') const SimulateScenario$json = { '1': 'SimulateScenario', '2': [ - { - '1': 'speaker_update', - '3': 1, - '4': 1, - '5': 5, - '9': 0, - '10': 'speakerUpdate' - }, + {'1': 'speaker_update', '3': 1, '4': 1, '5': 5, '9': 0, '10': 'speakerUpdate'}, {'1': 'node_failure', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'nodeFailure'}, {'1': 'migration', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'migration'}, {'1': 'server_leave', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'serverLeave'}, @@ -1520,22 +1012,8 @@ const SimulateScenario$json = { '9': 0, '10': 'switchCandidateProtocol' }, - { - '1': 'subscriber_bandwidth', - '3': 6, - '4': 1, - '5': 3, - '9': 0, - '10': 'subscriberBandwidth' - }, - { - '1': 'disconnect_signal_on_resume', - '3': 7, - '4': 1, - '5': 8, - '9': 0, - '10': 'disconnectSignalOnResume' - }, + {'1': 'subscriber_bandwidth', '3': 6, '4': 1, '5': 3, '9': 0, '10': 'subscriberBandwidth'}, + {'1': 'disconnect_signal_on_resume', '3': 7, '4': 1, '5': 8, '9': 0, '10': 'disconnectSignalOnResume'}, { '1': 'disconnect_signal_on_resume_no_messages', '3': 8, @@ -1544,14 +1022,7 @@ const SimulateScenario$json = { '9': 0, '10': 'disconnectSignalOnResumeNoMessages' }, - { - '1': 'leave_request_full_reconnect', - '3': 9, - '4': 1, - '5': 8, - '9': 0, - '10': 'leaveRequestFullReconnect' - }, + {'1': 'leave_request_full_reconnect', '3': 9, '4': 1, '5': 8, '9': 0, '10': 'leaveRequestFullReconnect'}, ], '8': [ {'1': 'scenario'}, @@ -1559,17 +1030,17 @@ const SimulateScenario$json = { }; /// Descriptor for `SimulateScenario`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List simulateScenarioDescriptor = $convert.base64Decode( - 'ChBTaW11bGF0ZVNjZW5hcmlvEicKDnNwZWFrZXJfdXBkYXRlGAEgASgFSABSDXNwZWFrZXJVcG' - 'RhdGUSIwoMbm9kZV9mYWlsdXJlGAIgASgISABSC25vZGVGYWlsdXJlEh4KCW1pZ3JhdGlvbhgD' - 'IAEoCEgAUgltaWdyYXRpb24SIwoMc2VydmVyX2xlYXZlGAQgASgISABSC3NlcnZlckxlYXZlEl' - 'gKGXN3aXRjaF9jYW5kaWRhdGVfcHJvdG9jb2wYBSABKA4yGi5saXZla2l0LkNhbmRpZGF0ZVBy' - 'b3RvY29sSABSF3N3aXRjaENhbmRpZGF0ZVByb3RvY29sEjMKFHN1YnNjcmliZXJfYmFuZHdpZH' - 'RoGAYgASgDSABSE3N1YnNjcmliZXJCYW5kd2lkdGgSPwobZGlzY29ubmVjdF9zaWduYWxfb25f' - 'cmVzdW1lGAcgASgISABSGGRpc2Nvbm5lY3RTaWduYWxPblJlc3VtZRJVCidkaXNjb25uZWN0X3' - 'NpZ25hbF9vbl9yZXN1bWVfbm9fbWVzc2FnZXMYCCABKAhIAFIiZGlzY29ubmVjdFNpZ25hbE9u' - 'UmVzdW1lTm9NZXNzYWdlcxJBChxsZWF2ZV9yZXF1ZXN0X2Z1bGxfcmVjb25uZWN0GAkgASgISA' - 'BSGWxlYXZlUmVxdWVzdEZ1bGxSZWNvbm5lY3RCCgoIc2NlbmFyaW8='); +final $typed_data.Uint8List simulateScenarioDescriptor = + $convert.base64Decode('ChBTaW11bGF0ZVNjZW5hcmlvEicKDnNwZWFrZXJfdXBkYXRlGAEgASgFSABSDXNwZWFrZXJVcG' + 'RhdGUSIwoMbm9kZV9mYWlsdXJlGAIgASgISABSC25vZGVGYWlsdXJlEh4KCW1pZ3JhdGlvbhgD' + 'IAEoCEgAUgltaWdyYXRpb24SIwoMc2VydmVyX2xlYXZlGAQgASgISABSC3NlcnZlckxlYXZlEl' + 'gKGXN3aXRjaF9jYW5kaWRhdGVfcHJvdG9jb2wYBSABKA4yGi5saXZla2l0LkNhbmRpZGF0ZVBy' + 'b3RvY29sSABSF3N3aXRjaENhbmRpZGF0ZVByb3RvY29sEjMKFHN1YnNjcmliZXJfYmFuZHdpZH' + 'RoGAYgASgDSABSE3N1YnNjcmliZXJCYW5kd2lkdGgSPwobZGlzY29ubmVjdF9zaWduYWxfb25f' + 'cmVzdW1lGAcgASgISABSGGRpc2Nvbm5lY3RTaWduYWxPblJlc3VtZRJVCidkaXNjb25uZWN0X3' + 'NpZ25hbF9vbl9yZXN1bWVfbm9fbWVzc2FnZXMYCCABKAhIAFIiZGlzY29ubmVjdFNpZ25hbE9u' + 'UmVzdW1lTm9NZXNzYWdlcxJBChxsZWF2ZV9yZXF1ZXN0X2Z1bGxfcmVjb25uZWN0GAkgASgISA' + 'BSGWxlYXZlUmVxdWVzdEZ1bGxSZWNvbm5lY3RCCgoIc2NlbmFyaW8='); @$core.Deprecated('Use pingDescriptor instead') const Ping$json = { @@ -1581,48 +1052,35 @@ const Ping$json = { }; /// Descriptor for `Ping`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pingDescriptor = $convert.base64Decode( - 'CgRQaW5nEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEhAKA3J0dBgCIAEoA1IDcnR0'); +final $typed_data.Uint8List pingDescriptor = + $convert.base64Decode('CgRQaW5nEhwKCXRpbWVzdGFtcBgBIAEoA1IJdGltZXN0YW1wEhAKA3J0dBgCIAEoA1IDcnR0'); @$core.Deprecated('Use pongDescriptor instead') const Pong$json = { '1': 'Pong', '2': [ - { - '1': 'last_ping_timestamp', - '3': 1, - '4': 1, - '5': 3, - '10': 'lastPingTimestamp' - }, + {'1': 'last_ping_timestamp', '3': 1, '4': 1, '5': 3, '10': 'lastPingTimestamp'}, {'1': 'timestamp', '3': 2, '4': 1, '5': 3, '10': 'timestamp'}, ], }; /// Descriptor for `Pong`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pongDescriptor = $convert.base64Decode( - 'CgRQb25nEi4KE2xhc3RfcGluZ190aW1lc3RhbXAYASABKANSEWxhc3RQaW5nVGltZXN0YW1wEh' - 'wKCXRpbWVzdGFtcBgCIAEoA1IJdGltZXN0YW1w'); +final $typed_data.Uint8List pongDescriptor = + $convert.base64Decode('CgRQb25nEi4KE2xhc3RfcGluZ190aW1lc3RhbXAYASABKANSEWxhc3RQaW5nVGltZXN0YW1wEh' + 'wKCXRpbWVzdGFtcBgCIAEoA1IJdGltZXN0YW1w'); @$core.Deprecated('Use regionSettingsDescriptor instead') const RegionSettings$json = { '1': 'RegionSettings', '2': [ - { - '1': 'regions', - '3': 1, - '4': 3, - '5': 11, - '6': '.livekit.RegionInfo', - '10': 'regions' - }, + {'1': 'regions', '3': 1, '4': 3, '5': 11, '6': '.livekit.RegionInfo', '10': 'regions'}, ], }; /// Descriptor for `RegionSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List regionSettingsDescriptor = $convert.base64Decode( - 'Cg5SZWdpb25TZXR0aW5ncxItCgdyZWdpb25zGAEgAygLMhMubGl2ZWtpdC5SZWdpb25JbmZvUg' - 'dyZWdpb25z'); +final $typed_data.Uint8List regionSettingsDescriptor = + $convert.base64Decode('Cg5SZWdpb25TZXR0aW5ncxItCgdyZWdpb25zGAEgAygLMhMubGl2ZWtpdC5SZWdpb25JbmZvUg' + 'dyZWdpb25z'); @$core.Deprecated('Use regionInfoDescriptor instead') const RegionInfo$json = { @@ -1635,72 +1093,34 @@ const RegionInfo$json = { }; /// Descriptor for `RegionInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List regionInfoDescriptor = $convert.base64Decode( - 'CgpSZWdpb25JbmZvEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9uEhAKA3VybBgCIAEoCVIDdXJsEh' - 'oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); +final $typed_data.Uint8List regionInfoDescriptor = + $convert.base64Decode('CgpSZWdpb25JbmZvEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9uEhAKA3VybBgCIAEoCVIDdXJsEh' + 'oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); @$core.Deprecated('Use subscriptionResponseDescriptor instead') const SubscriptionResponse$json = { '1': 'SubscriptionResponse', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, - { - '1': 'err', - '3': 2, - '4': 1, - '5': 14, - '6': '.livekit.SubscriptionError', - '10': 'err' - }, + {'1': 'err', '3': 2, '4': 1, '5': 14, '6': '.livekit.SubscriptionError', '10': 'err'}, ], }; /// Descriptor for `SubscriptionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscriptionResponseDescriptor = $convert.base64Decode( - 'ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' - 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); +final $typed_data.Uint8List subscriptionResponseDescriptor = + $convert.base64Decode('ChRTdWJzY3JpcHRpb25SZXNwb25zZRIbCgl0cmFja19zaWQYASABKAlSCHRyYWNrU2lkEiwKA2' + 'VychgCIAEoDjIaLmxpdmVraXQuU3Vic2NyaXB0aW9uRXJyb3JSA2Vycg=='); @$core.Deprecated('Use requestResponseDescriptor instead') const RequestResponse$json = { '1': 'RequestResponse', '2': [ {'1': 'request_id', '3': 1, '4': 1, '5': 13, '10': 'requestId'}, - { - '1': 'reason', - '3': 2, - '4': 1, - '5': 14, - '6': '.livekit.RequestResponse.Reason', - '10': 'reason' - }, + {'1': 'reason', '3': 2, '4': 1, '5': 14, '6': '.livekit.RequestResponse.Reason', '10': 'reason'}, {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, - { - '1': 'trickle', - '3': 4, - '4': 1, - '5': 11, - '6': '.livekit.TrickleRequest', - '9': 0, - '10': 'trickle' - }, - { - '1': 'add_track', - '3': 5, - '4': 1, - '5': 11, - '6': '.livekit.AddTrackRequest', - '9': 0, - '10': 'addTrack' - }, - { - '1': 'mute', - '3': 6, - '4': 1, - '5': 11, - '6': '.livekit.MuteTrackRequest', - '9': 0, - '10': 'mute' - }, + {'1': 'trickle', '3': 4, '4': 1, '5': 11, '6': '.livekit.TrickleRequest', '9': 0, '10': 'trickle'}, + {'1': 'add_track', '3': 5, '4': 1, '5': 11, '6': '.livekit.AddTrackRequest', '9': 0, '10': 'addTrack'}, + {'1': 'mute', '3': 6, '4': 1, '5': 11, '6': '.livekit.MuteTrackRequest', '9': 0, '10': 'mute'}, { '1': 'update_metadata', '3': 7, @@ -1750,20 +1170,20 @@ const RequestResponse_Reason$json = { }; /// Descriptor for `RequestResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestResponseDescriptor = $convert.base64Decode( - 'Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' - 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' - 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' - 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' - 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' - 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' - 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' - 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' - 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' - 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjayJ+CgZSZWFzb24SBgoCT0sQABINCglOT1Rf' - 'Rk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVFVUVEEA' - 'QSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGQgkKB3JlcXVl' - 'c3Q='); +final $typed_data.Uint8List requestResponseDescriptor = + $convert.base64Decode('Cg9SZXF1ZXN0UmVzcG9uc2USHQoKcmVxdWVzdF9pZBgBIAEoDVIJcmVxdWVzdElkEjcKBnJlYX' + 'NvbhgCIAEoDjIfLmxpdmVraXQuUmVxdWVzdFJlc3BvbnNlLlJlYXNvblIGcmVhc29uEhgKB21l' + 'c3NhZ2UYAyABKAlSB21lc3NhZ2USMwoHdHJpY2tsZRgEIAEoCzIXLmxpdmVraXQuVHJpY2tsZV' + 'JlcXVlc3RIAFIHdHJpY2tsZRI3CglhZGRfdHJhY2sYBSABKAsyGC5saXZla2l0LkFkZFRyYWNr' + 'UmVxdWVzdEgAUghhZGRUcmFjaxIvCgRtdXRlGAYgASgLMhkubGl2ZWtpdC5NdXRlVHJhY2tSZX' + 'F1ZXN0SABSBG11dGUSTQoPdXBkYXRlX21ldGFkYXRhGAcgASgLMiIubGl2ZWtpdC5VcGRhdGVQ' + 'YXJ0aWNpcGFudE1ldGFkYXRhSABSDnVwZGF0ZU1ldGFkYXRhEk4KEnVwZGF0ZV9hdWRpb190cm' + 'FjaxgIIAEoCzIeLmxpdmVraXQuVXBkYXRlTG9jYWxBdWRpb1RyYWNrSABSEHVwZGF0ZUF1ZGlv' + 'VHJhY2sSTgoSdXBkYXRlX3ZpZGVvX3RyYWNrGAkgASgLMh4ubGl2ZWtpdC5VcGRhdGVMb2NhbF' + 'ZpZGVvVHJhY2tIAFIQdXBkYXRlVmlkZW9UcmFjayJ+CgZSZWFzb24SBgoCT0sQABINCglOT1Rf' + 'Rk9VTkQQARIPCgtOT1RfQUxMT1dFRBACEhIKDkxJTUlUX0VYQ0VFREVEEAMSCgoGUVVFVUVEEA' + 'QSFAoQVU5TVVBQT1JURURfVFlQRRAFEhYKElVOQ0xBU1NJRklFRF9FUlJPUhAGQgkKB3JlcXVl' + 'c3Q='); @$core.Deprecated('Use trackSubscribedDescriptor instead') const TrackSubscribed$json = { @@ -1774,8 +1194,8 @@ const TrackSubscribed$json = { }; /// Descriptor for `TrackSubscribed`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trackSubscribedDescriptor = $convert.base64Decode( - 'Cg9UcmFja1N1YnNjcmliZWQSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA=='); +final $typed_data.Uint8List trackSubscribedDescriptor = + $convert.base64Decode('Cg9UcmFja1N1YnNjcmliZWQSGwoJdHJhY2tfc2lkGAEgASgJUgh0cmFja1NpZA=='); @$core.Deprecated('Use connectionSettingsDescriptor instead') const ConnectionSettings$json = { @@ -1783,15 +1203,7 @@ const ConnectionSettings$json = { '2': [ {'1': 'auto_subscribe', '3': 1, '4': 1, '5': 8, '10': 'autoSubscribe'}, {'1': 'adaptive_stream', '3': 2, '4': 1, '5': 8, '10': 'adaptiveStream'}, - { - '1': 'subscriber_allow_pause', - '3': 3, - '4': 1, - '5': 8, - '9': 0, - '10': 'subscriberAllowPause', - '17': true - }, + {'1': 'subscriber_allow_pause', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'subscriberAllowPause', '17': true}, {'1': 'disable_ice_lite', '3': 4, '4': 1, '5': 8, '10': 'disableIceLite'}, ], '8': [ @@ -1800,25 +1212,18 @@ const ConnectionSettings$json = { }; /// Descriptor for `ConnectionSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List connectionSettingsDescriptor = $convert.base64Decode( - 'ChJDb25uZWN0aW9uU2V0dGluZ3MSJQoOYXV0b19zdWJzY3JpYmUYASABKAhSDWF1dG9TdWJzY3' - 'JpYmUSJwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIUg5hZGFwdGl2ZVN0cmVhbRI5ChZzdWJzY3Jp' - 'YmVyX2FsbG93X3BhdXNlGAMgASgISABSFHN1YnNjcmliZXJBbGxvd1BhdXNliAEBEigKEGRpc2' - 'FibGVfaWNlX2xpdGUYBCABKAhSDmRpc2FibGVJY2VMaXRlQhkKF19zdWJzY3JpYmVyX2FsbG93' - 'X3BhdXNl'); +final $typed_data.Uint8List connectionSettingsDescriptor = + $convert.base64Decode('ChJDb25uZWN0aW9uU2V0dGluZ3MSJQoOYXV0b19zdWJzY3JpYmUYASABKAhSDWF1dG9TdWJzY3' + 'JpYmUSJwoPYWRhcHRpdmVfc3RyZWFtGAIgASgIUg5hZGFwdGl2ZVN0cmVhbRI5ChZzdWJzY3Jp' + 'YmVyX2FsbG93X3BhdXNlGAMgASgISABSFHN1YnNjcmliZXJBbGxvd1BhdXNliAEBEigKEGRpc2' + 'FibGVfaWNlX2xpdGUYBCABKAhSDmRpc2FibGVJY2VMaXRlQhkKF19zdWJzY3JpYmVyX2FsbG93' + 'X3BhdXNl'); @$core.Deprecated('Use joinRequestDescriptor instead') const JoinRequest$json = { '1': 'JoinRequest', '2': [ - { - '1': 'client_info', - '3': 1, - '4': 1, - '5': 11, - '6': '.livekit.ClientInfo', - '10': 'clientInfo' - }, + {'1': 'client_info', '3': 1, '4': 1, '5': 11, '6': '.livekit.ClientInfo', '10': 'clientInfo'}, { '1': 'connection_settings', '3': 2, @@ -1836,40 +1241,12 @@ const JoinRequest$json = { '6': '.livekit.JoinRequest.ParticipantAttributesEntry', '10': 'participantAttributes' }, - { - '1': 'add_track_requests', - '3': 5, - '4': 3, - '5': 11, - '6': '.livekit.AddTrackRequest', - '10': 'addTrackRequests' - }, - { - '1': 'publisher_offer', - '3': 6, - '4': 1, - '5': 11, - '6': '.livekit.SessionDescription', - '10': 'publisherOffer' - }, + {'1': 'add_track_requests', '3': 5, '4': 3, '5': 11, '6': '.livekit.AddTrackRequest', '10': 'addTrackRequests'}, + {'1': 'publisher_offer', '3': 6, '4': 1, '5': 11, '6': '.livekit.SessionDescription', '10': 'publisherOffer'}, {'1': 'reconnect', '3': 7, '4': 1, '5': 8, '10': 'reconnect'}, - { - '1': 'reconnect_reason', - '3': 8, - '4': 1, - '5': 14, - '6': '.livekit.ReconnectReason', - '10': 'reconnectReason' - }, + {'1': 'reconnect_reason', '3': 8, '4': 1, '5': 14, '6': '.livekit.ReconnectReason', '10': 'reconnectReason'}, {'1': 'participant_sid', '3': 9, '4': 1, '5': 9, '10': 'participantSid'}, - { - '1': 'sync_state', - '3': 10, - '4': 1, - '5': 11, - '6': '.livekit.SyncState', - '10': 'syncState' - }, + {'1': 'sync_state', '3': 10, '4': 1, '5': 11, '6': '.livekit.SyncState', '10': 'syncState'}, ], '3': [JoinRequest_ParticipantAttributesEntry$json], }; @@ -1885,33 +1262,26 @@ const JoinRequest_ParticipantAttributesEntry$json = { }; /// Descriptor for `JoinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List joinRequestDescriptor = $convert.base64Decode( - 'CgtKb2luUmVxdWVzdBI0CgtjbGllbnRfaW5mbxgBIAEoCzITLmxpdmVraXQuQ2xpZW50SW5mb1' - 'IKY2xpZW50SW5mbxJMChNjb25uZWN0aW9uX3NldHRpbmdzGAIgASgLMhsubGl2ZWtpdC5Db25u' - 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxIaCghtZXRhZGF0YRgDIAEoCVIIbW' - 'V0YWRhdGESZgoWcGFydGljaXBhbnRfYXR0cmlidXRlcxgEIAMoCzIvLmxpdmVraXQuSm9pblJl' - 'cXVlc3QuUGFydGljaXBhbnRBdHRyaWJ1dGVzRW50cnlSFXBhcnRpY2lwYW50QXR0cmlidXRlcx' - 'JGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQ' - 'YWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJfb2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3' - 'Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZXISHAoJcmVjb25uZWN0GAcgASgIUglyZWNv' - 'bm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEoDjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc2' - '9uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaXBhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFu' - 'dFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZR' - 'pIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1' - 'ZRgCIAEoCVIFdmFsdWU6AjgB'); +final $typed_data.Uint8List joinRequestDescriptor = + $convert.base64Decode('CgtKb2luUmVxdWVzdBI0CgtjbGllbnRfaW5mbxgBIAEoCzITLmxpdmVraXQuQ2xpZW50SW5mb1' + 'IKY2xpZW50SW5mbxJMChNjb25uZWN0aW9uX3NldHRpbmdzGAIgASgLMhsubGl2ZWtpdC5Db25u' + 'ZWN0aW9uU2V0dGluZ3NSEmNvbm5lY3Rpb25TZXR0aW5ncxIaCghtZXRhZGF0YRgDIAEoCVIIbW' + 'V0YWRhdGESZgoWcGFydGljaXBhbnRfYXR0cmlidXRlcxgEIAMoCzIvLmxpdmVraXQuSm9pblJl' + 'cXVlc3QuUGFydGljaXBhbnRBdHRyaWJ1dGVzRW50cnlSFXBhcnRpY2lwYW50QXR0cmlidXRlcx' + 'JGChJhZGRfdHJhY2tfcmVxdWVzdHMYBSADKAsyGC5saXZla2l0LkFkZFRyYWNrUmVxdWVzdFIQ' + 'YWRkVHJhY2tSZXF1ZXN0cxJECg9wdWJsaXNoZXJfb2ZmZXIYBiABKAsyGy5saXZla2l0LlNlc3' + 'Npb25EZXNjcmlwdGlvblIOcHVibGlzaGVyT2ZmZXISHAoJcmVjb25uZWN0GAcgASgIUglyZWNv' + 'bm5lY3QSQwoQcmVjb25uZWN0X3JlYXNvbhgIIAEoDjIYLmxpdmVraXQuUmVjb25uZWN0UmVhc2' + '9uUg9yZWNvbm5lY3RSZWFzb24SJwoPcGFydGljaXBhbnRfc2lkGAkgASgJUg5wYXJ0aWNpcGFu' + 'dFNpZBIxCgpzeW5jX3N0YXRlGAogASgLMhIubGl2ZWtpdC5TeW5jU3RhdGVSCXN5bmNTdGF0ZR' + 'pIChpQYXJ0aWNpcGFudEF0dHJpYnV0ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1' + 'ZRgCIAEoCVIFdmFsdWU6AjgB'); @$core.Deprecated('Use wrappedJoinRequestDescriptor instead') const WrappedJoinRequest$json = { '1': 'WrappedJoinRequest', '2': [ - { - '1': 'compression', - '3': 1, - '4': 1, - '5': 14, - '6': '.livekit.WrappedJoinRequest.Compression', - '10': 'compression' - }, + {'1': 'compression', '3': 1, '4': 1, '5': 14, '6': '.livekit.WrappedJoinRequest.Compression', '10': 'compression'}, {'1': 'join_request', '3': 2, '4': 1, '5': 12, '10': 'joinRequest'}, ], '4': [WrappedJoinRequest_Compression$json], @@ -1927,10 +1297,10 @@ const WrappedJoinRequest_Compression$json = { }; /// Descriptor for `WrappedJoinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wrappedJoinRequestDescriptor = $convert.base64Decode( - 'ChJXcmFwcGVkSm9pblJlcXVlc3QSSQoLY29tcHJlc3Npb24YASABKA4yJy5saXZla2l0LldyYX' - 'BwZWRKb2luUmVxdWVzdC5Db21wcmVzc2lvblILY29tcHJlc3Npb24SIQoMam9pbl9yZXF1ZXN0' - 'GAIgASgMUgtqb2luUmVxdWVzdCIhCgtDb21wcmVzc2lvbhIICgROT05FEAASCAoER1pJUBAB'); +final $typed_data.Uint8List wrappedJoinRequestDescriptor = + $convert.base64Decode('ChJXcmFwcGVkSm9pblJlcXVlc3QSSQoLY29tcHJlc3Npb24YASABKA4yJy5saXZla2l0LldyYX' + 'BwZWRKb2luUmVxdWVzdC5Db21wcmVzc2lvblILY29tcHJlc3Npb24SIQoMam9pbl9yZXF1ZXN0' + 'GAIgASgMUgtqb2luUmVxdWVzdCIhCgtDb21wcmVzc2lvbhIICgROT05FEAASCAoER1pJUBAB'); @$core.Deprecated('Use mediaSectionsRequirementDescriptor instead') const MediaSectionsRequirement$json = { @@ -1943,6 +1313,5 @@ const MediaSectionsRequirement$json = { /// Descriptor for `MediaSectionsRequirement`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List mediaSectionsRequirementDescriptor = - $convert.base64Decode( - 'ChhNZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSHQoKbnVtX2F1ZGlvcxgBIAEoDVIJbnVtQXVkaW' + $convert.base64Decode('ChhNZWRpYVNlY3Rpb25zUmVxdWlyZW1lbnQSHQoKbnVtX2F1ZGlvcxgBIAEoDVIJbnVtQXVkaW' '9zEh0KCm51bV92aWRlb3MYAiABKA1SCW51bVZpZGVvcw=='); diff --git a/lib/src/publication/track_publication.dart b/lib/src/publication/track_publication.dart index 858d2084e..febd7801a 100644 --- a/lib/src/publication/track_publication.dart +++ b/lib/src/publication/track_publication.dart @@ -119,8 +119,7 @@ abstract class TrackPublication extends Disposable { void _attachTrackListener(T track) { // listen for Track's muted events final listener = track.createListener() - ..on( - (event) => _onTrackMuteUpdatedEvent(event)); + ..on((event) => _onTrackMuteUpdatedEvent(event)); // dispose listener when the track is disposed track.onDispose(() => listener.dispose()); } diff --git a/lib/src/track/local/audio.dart b/lib/src/track/local/audio.dart index 571847f4c..e3675a340 100644 --- a/lib/src/track/local/audio.dart +++ b/lib/src/track/local/audio.dart @@ -62,8 +62,7 @@ class LocalAudioTrack extends LocalTrack with AudioTrack, LocalAudioManagementMi if (stats != null && prevStats != null && sender != null) { final bitrate = computeBitrateForSenderStats(stats, prevStats); _currentBitrate = bitrate; - events - .emit(AudioSenderStatsEvent(stats: stats, currentBitrate: bitrate)); + events.emit(AudioSenderStatsEvent(stats: stats, currentBitrate: bitrate)); } prevStats = stats; diff --git a/lib/src/track/options.dart b/lib/src/track/options.dart index fa9164bb0..bc3451267 100644 --- a/lib/src/track/options.dart +++ b/lib/src/track/options.dart @@ -125,8 +125,7 @@ class CameraCaptureOptions extends VideoCaptureOptions { deviceId: deviceId ?? this.deviceId, maxFrameRate: maxFrameRate ?? this.maxFrameRate, params: params ?? this.params, - stopCameraCaptureOnMute: - stopCameraCaptureOnMute ?? this.stopCameraCaptureOnMute, + stopCameraCaptureOnMute: stopCameraCaptureOnMute ?? this.stopCameraCaptureOnMute, processor: processor ?? this.processor, ); } diff --git a/lib/src/track/remote/audio.dart b/lib/src/track/remote/audio.dart index 71137e42f..dd217f096 100644 --- a/lib/src/track/remote/audio.dart +++ b/lib/src/track/remote/audio.dart @@ -89,8 +89,7 @@ class RemoteAudioTrack extends RemoteTrack with AudioTrack, RemoteAudioManagemen if (stats != null && prevStats != null && receiver != null) { final bitrate = computeBitrateForReceiverStats(stats, prevStats); _currentBitrate = bitrate; - events.emit( - AudioReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); + events.emit(AudioReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); } prevStats = stats; diff --git a/lib/src/track/remote/video.dart b/lib/src/track/remote/video.dart index 17d1bf84e..fbb8f72df 100644 --- a/lib/src/track/remote/video.dart +++ b/lib/src/track/remote/video.dart @@ -55,8 +55,7 @@ class RemoteVideoTrack extends RemoteTrack with VideoTrack { if (stats != null && prevStats != null && receiver != null) { final bitrate = computeBitrateForReceiverStats(stats, prevStats); _currentBitrate = bitrate; - events.emit( - VideoReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); + events.emit(VideoReceiverStatsEvent(stats: stats, currentBitrate: bitrate)); } prevStats = stats; diff --git a/lib/src/types/data_stream.dart b/lib/src/types/data_stream.dart index ccec20c7c..583c212aa 100644 --- a/lib/src/types/data_stream.dart +++ b/lib/src/types/data_stream.dart @@ -173,8 +173,7 @@ enum TextStreamOperationType { delete, reaction; - static TextStreamOperationType? fromPBType( - lk_models.DataStream_OperationType? type) { + static TextStreamOperationType? fromPBType(lk_models.DataStream_OperationType? type) { if (type == null) return TextStreamOperationType.create; switch (type) { case lk_models.DataStream_OperationType.CREATE: diff --git a/lib/src/widgets/screen_select_dialog.dart b/lib/src/widgets/screen_select_dialog.dart index 1b36842a2..01b742bbb 100644 --- a/lib/src/widgets/screen_select_dialog.dart +++ b/lib/src/widgets/screen_select_dialog.dart @@ -138,8 +138,7 @@ class ScreenSelectDialog extends Dialog { Future _getSources() async { try { - final sources = - await rtc.desktopCapturer.getSources(types: [_sourceType]); + final sources = await rtc.desktopCapturer.getSources(types: [_sourceType]); for (var element in sources) { if (kDebugMode) { print('name: ${element.name}, id: ${element.id}, type: ${element.type}'); diff --git a/test/core/data_stream_test.dart b/test/core/data_stream_test.dart index 1873a8569..97dcf2e30 100644 --- a/test/core/data_stream_test.dart +++ b/test/core/data_stream_test.dart @@ -42,11 +42,9 @@ void main() { group('Stream Handler Registration', () { test('Register And Unregister Text And Byte Stream Handlers', () async { - room.registerTextStreamHandler( - 'chat', (TextStreamReader reader, String participantIdentity) {}); + room.registerTextStreamHandler('chat', (TextStreamReader reader, String participantIdentity) {}); - room.registerByteStreamHandler( - 'file', (ByteStreamReader reader, String participantIdentity) {}); + room.registerByteStreamHandler('file', (ByteStreamReader reader, String participantIdentity) {}); expect(room.textStreamHandlers.keys.first, 'chat'); @@ -62,8 +60,7 @@ void main() { group('Text Streaming', () { test('Send Basic Text Message', () async { - room.registerTextStreamHandler('chat', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received chat message from $participantIdentity: $text'); expect('some text !!!', text); @@ -78,11 +75,9 @@ void main() { test('Send Large Text Message With Progress Tracking', () async { final longText = 'a' * 100000; - room.registerTextStreamHandler('chat-long-text', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-long-text', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); - print( - 'received chat message from $participantIdentity: long text length: ${text.length}'); + print('received chat message from $participantIdentity: long text length: ${text.length}'); expect(longText, text); }); @@ -99,8 +94,7 @@ void main() { }); test('Stream Text With Multiple Chunks', () async { - room.registerTextStreamHandler('chat-stream', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-stream', (TextStreamReader reader, String participantIdentity) async { reader.listen((chunk) { print( 'received chunk: ${chunk.content.length}, total: ${reader.info?.size}, progress: ${utf8.decode(chunk.content)}'); @@ -130,16 +124,14 @@ void main() { for (var file in files) { final randomFile = File(file); final random = Random(); - final bytes = - List.generate(100000, (index) => random.nextInt(256)); + final bytes = List.generate(100000, (index) => random.nextInt(256)); randomFile.writeAsBytesSync(bytes); } room.registerTextStreamHandler('chat-stream-with-files', (TextStreamReader reader, String participantIdentity) async { final receivedText = await reader.readAll(); - print( - 'received chat message from $participantIdentity: long text length: ${receivedText.length}'); + print('received chat message from $participantIdentity: long text length: ${receivedText.length}'); expect(longText, receivedText); }); @@ -178,22 +170,19 @@ void main() { final receivedMessages = []; for (var operationType in operationTypes) { - room.registerTextStreamHandler('chat-operations', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-operations', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); receivedMessages.add('${operationType}: ${text}'); print('received ${operationType} message: ${text}'); }); - final info = - await room.localParticipant?.sendText('Test ${operationType}', - options: SendTextOptions( - topic: 'chat-operations', - )); + final info = await room.localParticipant?.sendText('Test ${operationType}', + options: SendTextOptions( + topic: 'chat-operations', + )); // Test with streamText and different operation types - final stream = - await room.localParticipant?.streamText(StreamTextOptions( + final stream = await room.localParticipant?.streamText(StreamTextOptions( topic: 'chat-operations', type: operationType, version: operationType == TextStreamOperationType.update ? 2 : null, @@ -207,14 +196,9 @@ void main() { }); test('Text Stream With Attributes And Metadata', () async { - final testAttributes = { - 'userId': '12345', - 'sessionId': 'abc123', - 'priority': 'high' - }; + final testAttributes = {'userId': '12345', 'sessionId': 'abc123', 'priority': 'high'}; - room.registerTextStreamHandler('chat-metadata', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-metadata', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received message with text: ${text}'); print('received message attributes: ${reader.info?.attributes}'); @@ -228,12 +212,11 @@ void main() { expect(reader.info!.attributes['priority'], 'high'); }); - final info = - await room.localParticipant?.sendText('Test message with metadata', - options: SendTextOptions( - topic: 'chat-metadata', - attributes: testAttributes, - )); + final info = await room.localParticipant?.sendText('Test message with metadata', + options: SendTextOptions( + topic: 'chat-metadata', + attributes: testAttributes, + )); expect(info, isNotNull); }); @@ -241,8 +224,7 @@ void main() { const originalStreamId = 'original-stream-123'; const replyStreamId = 'reply-stream-456'; - room.registerTextStreamHandler('chat-replies', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-replies', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received reply message: ${text}'); expect(text, 'This is a reply to the original message'); @@ -266,8 +248,7 @@ void main() { }); test('Text Stream With AI Generated Flag', () async { - room.registerTextStreamHandler('chat-ai-generated', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('chat-ai-generated', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received AI-generated message: ${text}'); expect(text, 'This message was generated by AI'); @@ -313,8 +294,7 @@ void main() { final bytes = List.generate(100000, (index) => random.nextInt(256)); randomFile.writeAsBytesSync(bytes); - room.registerByteStreamHandler('file', - (ByteStreamReader reader, String participantIdentity) async { + room.registerByteStreamHandler('file', (ByteStreamReader reader, String participantIdentity) async { final file = await reader.readAll(); final fileName = 'testfiles/copy-${reader.info!.name}'; print('received file from $participantIdentity: ${file.length}'); @@ -341,16 +321,13 @@ void main() { }); test('Stream Raw Bytes With UTF8 Content', () async { - room.registerByteStreamHandler('bytes-stream', - (ByteStreamReader reader, String participantIdentity) async { + room.registerByteStreamHandler('bytes-stream', (ByteStreamReader reader, String participantIdentity) async { final chunks = await reader.readAll(); final content = chunks.expand((element) => element).toList(); - print( - 'bytes content = ${content}, \n string content = ${utf8.decode(content)}'); + print('bytes content = ${content}, \n string content = ${utf8.decode(content)}'); }); - final stream = - await room.localParticipant?.streamBytes(StreamBytesOptions( + final stream = await room.localParticipant?.streamBytes(StreamBytesOptions( topic: 'bytes-stream', totalSize: 30, )); @@ -389,8 +366,7 @@ void main() { expect(content, expectedContent); }); - final stream = - await room.localParticipant?.streamBytes(StreamBytesOptions( + final stream = await room.localParticipant?.streamBytes(StreamBytesOptions( topic: 'files-with-metadata', name: testFileName, mimeType: testMimeType, @@ -410,8 +386,7 @@ void main() { var receivedCount = 0; const expectedCount = 3; - room.registerTextStreamHandler('concurrent-streams', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('concurrent-streams', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); receivedCount++; print('received concurrent message ${receivedCount}: ${text}'); @@ -421,8 +396,7 @@ void main() { final futures = []; for (int i = 0; i < expectedCount; i++) { futures.add(() async { - final stream = - await room.localParticipant?.streamText(StreamTextOptions( + final stream = await room.localParticipant?.streamText(StreamTextOptions( topic: 'concurrent-streams', streamId: 'stream-${i}', type: TextStreamOperationType.create, @@ -443,8 +417,7 @@ void main() { const chunkSize = 50000; // Larger than normal chunk size final largeData = 'x' * chunkSize; - room.registerTextStreamHandler('large-chunks', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('large-chunks', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('received large text, length: ${text.length}'); expect(text.length, chunkSize); @@ -465,8 +438,7 @@ void main() { // Test comprehensive header data transmission final testCompleter = Completer(); - room.registerTextStreamHandler('header-validation', - (TextStreamReader reader, String participantIdentity) async { + room.registerTextStreamHandler('header-validation', (TextStreamReader reader, String participantIdentity) async { final text = await reader.readAll(); print('=== Header Validation Test ==='); print('Received text: ${text}'); From 0f2048745e2af6167aa1e3dcbf5b0426271dce34 Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Mon, 27 Oct 2025 11:55:47 +0100 Subject: [PATCH 15/16] chore: run import sorter --- lib/src/participant/local.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/participant/local.dart b/lib/src/participant/local.dart index 10fd177dd..8142c51c9 100644 --- a/lib/src/participant/local.dart +++ b/lib/src/participant/local.dart @@ -53,9 +53,8 @@ import '../types/other.dart'; import '../types/participant_permissions.dart'; import '../types/rpc.dart'; import '../types/video_dimensions.dart'; -import 'participant.dart'; - import '../utils.dart' show buildStreamId, mimeTypeToVideoCodecString, Utils, compareVersions, isSVCCodec; +import 'participant.dart'; /// Represents the current participant in the room. Instance of [LocalParticipant] is automatically /// created after successfully connecting to a [Room] and will be accessible from [Room.localParticipant]. From 76bafa45fb8ec59e7a73a65bff099004381438fa Mon Sep 17 00:00:00 2001 From: Tobias Ollmann Date: Mon, 27 Oct 2025 12:00:05 +0100 Subject: [PATCH 16/16] fix: remove unused import --- lib/src/track/local/local.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/src/track/local/local.dart b/lib/src/track/local/local.dart index 3153b2771..fd8ab0fa6 100644 --- a/lib/src/track/local/local.dart +++ b/lib/src/track/local/local.dart @@ -30,7 +30,6 @@ import '../../support/platform.dart'; import '../../types/other.dart'; import '../options.dart'; import '../processor.dart'; -import '../processor_native.dart' if (dart.library.js_interop) '../processor_web.dart'; import '../remote/audio.dart'; import '../remote/video.dart'; import '../track.dart';