From 52537a7f983f949e2af6ce41f9150bef18ec2a8a Mon Sep 17 00:00:00 2001 From: Anunay Maheshwari Date: Thu, 18 Dec 2025 15:38:35 +0530 Subject: [PATCH 1/2] feat(participant): expose kind detail --- .../livekit/rtc/_proto/audio_frame_pb2.py | 16 +- .../livekit/rtc/_proto/audio_frame_pb2.pyi | 206 +++---- .../livekit/rtc/_proto/data_stream_pb2.py | 24 +- .../livekit/rtc/_proto/data_stream_pb2.pyi | 246 ++++---- livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi | 146 ++--- livekit-rtc/livekit/rtc/_proto/ffi_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi | 48 +- livekit-rtc/livekit/rtc/_proto/handle_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi | 8 +- .../livekit/rtc/_proto/participant_pb2.py | 40 +- .../livekit/rtc/_proto/participant_pb2.pyi | 45 +- livekit-rtc/livekit/rtc/_proto/room_pb2.py | 24 +- livekit-rtc/livekit/rtc/_proto/room_pb2.pyi | 532 +++++++++--------- livekit-rtc/livekit/rtc/_proto/rpc_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi | 36 +- livekit-rtc/livekit/rtc/_proto/stats_pb2.py | 18 +- livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi | 326 +++++------ livekit-rtc/livekit/rtc/_proto/track_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/track_pb2.pyi | 86 +-- .../rtc/_proto/track_publication_pb2.py | 16 +- .../rtc/_proto/track_publication_pb2.pyi | 18 +- .../livekit/rtc/_proto/video_frame_pb2.py | 16 +- .../livekit/rtc/_proto/video_frame_pb2.pyi | 152 ++--- livekit-rtc/livekit/rtc/participant.py | 5 + livekit-rtc/rust-sdks | 2 +- 26 files changed, 1126 insertions(+), 964 deletions(-) diff --git a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py index 0c7c5a8c..049ddd0a 100644 --- a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: audio_frame.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'audio_frame.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,8 +31,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'audio_frame_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_SOXRESAMPLERDATATYPE']._serialized_start=4418 _globals['_SOXRESAMPLERDATATYPE']._serialized_end=4492 diff --git a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi index 74188b3d..d78de1bc 100644 --- a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi @@ -49,7 +49,7 @@ class SoxResamplerDataType(_SoxResamplerDataType, metaclass=_SoxResamplerDataTyp SOXR_DATATYPE_INT16I: SoxResamplerDataType.ValueType # 0 """TODO(theomonnom): support other datatypes (shouldn't really be needed)""" SOXR_DATATYPE_INT16S: SoxResamplerDataType.ValueType # 1 -global___SoxResamplerDataType = SoxResamplerDataType +Global___SoxResamplerDataType: typing_extensions.TypeAlias = SoxResamplerDataType class _SoxQualityRecipe: ValueType = typing.NewType("ValueType", builtins.int) @@ -70,7 +70,7 @@ SOXR_QUALITY_LOW: SoxQualityRecipe.ValueType # 1 SOXR_QUALITY_MEDIUM: SoxQualityRecipe.ValueType # 2 SOXR_QUALITY_HIGH: SoxQualityRecipe.ValueType # 3 SOXR_QUALITY_VERYHIGH: SoxQualityRecipe.ValueType # 4 -global___SoxQualityRecipe = SoxQualityRecipe +Global___SoxQualityRecipe: typing_extensions.TypeAlias = SoxQualityRecipe class _SoxFlagBits: ValueType = typing.NewType("ValueType", builtins.int) @@ -105,7 +105,7 @@ SOXR_DOUBLE_PRECISION: SoxFlagBits.ValueType # 4 """1 << 4""" SOXR_VR: SoxFlagBits.ValueType # 5 """1 << 5""" -global___SoxFlagBits = SoxFlagBits +Global___SoxFlagBits: typing_extensions.TypeAlias = SoxFlagBits class _AudioStreamType: ValueType = typing.NewType("ValueType", builtins.int) @@ -123,7 +123,7 @@ class AudioStreamType(_AudioStreamType, metaclass=_AudioStreamTypeEnumTypeWrappe AUDIO_STREAM_NATIVE: AudioStreamType.ValueType # 0 AUDIO_STREAM_HTML: AudioStreamType.ValueType # 1 -global___AudioStreamType = AudioStreamType +Global___AudioStreamType: typing_extensions.TypeAlias = AudioStreamType class _AudioSourceType: ValueType = typing.NewType("ValueType", builtins.int) @@ -136,7 +136,7 @@ class _AudioSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper class AudioSourceType(_AudioSourceType, metaclass=_AudioSourceTypeEnumTypeWrapper): ... AUDIO_SOURCE_NATIVE: AudioSourceType.ValueType # 0 -global___AudioSourceType = AudioSourceType +Global___AudioSourceType: typing_extensions.TypeAlias = AudioSourceType @typing.final class NewAudioStreamRequest(google.protobuf.message.Message): @@ -154,7 +154,7 @@ class NewAudioStreamRequest(google.protobuf.message.Message): AUDIO_FILTER_OPTIONS_FIELD_NUMBER: builtins.int FRAME_SIZE_MS_FIELD_NUMBER: builtins.int track_handle: builtins.int - type: global___AudioStreamType.ValueType + type: Global___AudioStreamType.ValueType sample_rate: builtins.int num_channels: builtins.int audio_filter_module_id: builtins.str @@ -165,7 +165,7 @@ class NewAudioStreamRequest(google.protobuf.message.Message): self, *, track_handle: builtins.int | None = ..., - type: global___AudioStreamType.ValueType | None = ..., + type: Global___AudioStreamType.ValueType | None = ..., sample_rate: builtins.int | None = ..., num_channels: builtins.int | None = ..., audio_filter_module_id: builtins.str | None = ..., @@ -175,7 +175,7 @@ class NewAudioStreamRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "track_handle", b"track_handle", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "track_handle", b"track_handle", "type", b"type"]) -> None: ... -global___NewAudioStreamRequest = NewAudioStreamRequest +Global___NewAudioStreamRequest: typing_extensions.TypeAlias = NewAudioStreamRequest @typing.final class NewAudioStreamResponse(google.protobuf.message.Message): @@ -183,16 +183,16 @@ class NewAudioStreamResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> global___OwnedAudioStream: ... + def stream(self) -> Global___OwnedAudioStream: ... def __init__( self, *, - stream: global___OwnedAudioStream | None = ..., + stream: Global___OwnedAudioStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -global___NewAudioStreamResponse = NewAudioStreamResponse +Global___NewAudioStreamResponse: typing_extensions.TypeAlias = NewAudioStreamResponse @typing.final class AudioStreamFromParticipantRequest(google.protobuf.message.Message): @@ -207,7 +207,7 @@ class AudioStreamFromParticipantRequest(google.protobuf.message.Message): AUDIO_FILTER_OPTIONS_FIELD_NUMBER: builtins.int FRAME_SIZE_MS_FIELD_NUMBER: builtins.int participant_handle: builtins.int - type: global___AudioStreamType.ValueType + type: Global___AudioStreamType.ValueType track_source: track_pb2.TrackSource.ValueType sample_rate: builtins.int num_channels: builtins.int @@ -218,7 +218,7 @@ class AudioStreamFromParticipantRequest(google.protobuf.message.Message): self, *, participant_handle: builtins.int | None = ..., - type: global___AudioStreamType.ValueType | None = ..., + type: Global___AudioStreamType.ValueType | None = ..., track_source: track_pb2.TrackSource.ValueType | None = ..., sample_rate: builtins.int | None = ..., num_channels: builtins.int | None = ..., @@ -229,7 +229,7 @@ class AudioStreamFromParticipantRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "participant_handle", b"participant_handle", "sample_rate", b"sample_rate", "track_source", b"track_source", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "participant_handle", b"participant_handle", "sample_rate", b"sample_rate", "track_source", b"track_source", "type", b"type"]) -> None: ... -global___AudioStreamFromParticipantRequest = AudioStreamFromParticipantRequest +Global___AudioStreamFromParticipantRequest: typing_extensions.TypeAlias = AudioStreamFromParticipantRequest @typing.final class AudioStreamFromParticipantResponse(google.protobuf.message.Message): @@ -237,16 +237,16 @@ class AudioStreamFromParticipantResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> global___OwnedAudioStream: ... + def stream(self) -> Global___OwnedAudioStream: ... def __init__( self, *, - stream: global___OwnedAudioStream | None = ..., + stream: Global___OwnedAudioStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -global___AudioStreamFromParticipantResponse = AudioStreamFromParticipantResponse +Global___AudioStreamFromParticipantResponse: typing_extensions.TypeAlias = AudioStreamFromParticipantResponse @typing.final class NewAudioSourceRequest(google.protobuf.message.Message): @@ -259,17 +259,17 @@ class NewAudioSourceRequest(google.protobuf.message.Message): SAMPLE_RATE_FIELD_NUMBER: builtins.int NUM_CHANNELS_FIELD_NUMBER: builtins.int QUEUE_SIZE_MS_FIELD_NUMBER: builtins.int - type: global___AudioSourceType.ValueType + type: Global___AudioSourceType.ValueType sample_rate: builtins.int num_channels: builtins.int queue_size_ms: builtins.int @property - def options(self) -> global___AudioSourceOptions: ... + def options(self) -> Global___AudioSourceOptions: ... def __init__( self, *, - type: global___AudioSourceType.ValueType | None = ..., - options: global___AudioSourceOptions | None = ..., + type: Global___AudioSourceType.ValueType | None = ..., + options: Global___AudioSourceOptions | None = ..., sample_rate: builtins.int | None = ..., num_channels: builtins.int | None = ..., queue_size_ms: builtins.int | None = ..., @@ -277,7 +277,7 @@ class NewAudioSourceRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["num_channels", b"num_channels", "options", b"options", "queue_size_ms", b"queue_size_ms", "sample_rate", b"sample_rate", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["num_channels", b"num_channels", "options", b"options", "queue_size_ms", b"queue_size_ms", "sample_rate", b"sample_rate", "type", b"type"]) -> None: ... -global___NewAudioSourceRequest = NewAudioSourceRequest +Global___NewAudioSourceRequest: typing_extensions.TypeAlias = NewAudioSourceRequest @typing.final class NewAudioSourceResponse(google.protobuf.message.Message): @@ -285,16 +285,16 @@ class NewAudioSourceResponse(google.protobuf.message.Message): SOURCE_FIELD_NUMBER: builtins.int @property - def source(self) -> global___OwnedAudioSource: ... + def source(self) -> Global___OwnedAudioSource: ... def __init__( self, *, - source: global___OwnedAudioSource | None = ..., + source: Global___OwnedAudioSource | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["source", b"source"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["source", b"source"]) -> None: ... -global___NewAudioSourceResponse = NewAudioSourceResponse +Global___NewAudioSourceResponse: typing_extensions.TypeAlias = NewAudioSourceResponse @typing.final class CaptureAudioFrameRequest(google.protobuf.message.Message): @@ -308,17 +308,17 @@ class CaptureAudioFrameRequest(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int source_handle: builtins.int @property - def buffer(self) -> global___AudioFrameBufferInfo: ... + def buffer(self) -> Global___AudioFrameBufferInfo: ... def __init__( self, *, source_handle: builtins.int | None = ..., - buffer: global___AudioFrameBufferInfo | None = ..., + buffer: Global___AudioFrameBufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "source_handle", b"source_handle"]) -> None: ... -global___CaptureAudioFrameRequest = CaptureAudioFrameRequest +Global___CaptureAudioFrameRequest: typing_extensions.TypeAlias = CaptureAudioFrameRequest @typing.final class CaptureAudioFrameResponse(google.protobuf.message.Message): @@ -334,7 +334,7 @@ class CaptureAudioFrameResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___CaptureAudioFrameResponse = CaptureAudioFrameResponse +Global___CaptureAudioFrameResponse: typing_extensions.TypeAlias = CaptureAudioFrameResponse @typing.final class CaptureAudioFrameCallback(google.protobuf.message.Message): @@ -353,7 +353,7 @@ class CaptureAudioFrameCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___CaptureAudioFrameCallback = CaptureAudioFrameCallback +Global___CaptureAudioFrameCallback: typing_extensions.TypeAlias = CaptureAudioFrameCallback @typing.final class ClearAudioBufferRequest(google.protobuf.message.Message): @@ -369,7 +369,7 @@ class ClearAudioBufferRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["source_handle", b"source_handle"]) -> None: ... -global___ClearAudioBufferRequest = ClearAudioBufferRequest +Global___ClearAudioBufferRequest: typing_extensions.TypeAlias = ClearAudioBufferRequest @typing.final class ClearAudioBufferResponse(google.protobuf.message.Message): @@ -379,7 +379,7 @@ class ClearAudioBufferResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ClearAudioBufferResponse = ClearAudioBufferResponse +Global___ClearAudioBufferResponse: typing_extensions.TypeAlias = ClearAudioBufferResponse @typing.final class NewAudioResamplerRequest(google.protobuf.message.Message): @@ -391,7 +391,7 @@ class NewAudioResamplerRequest(google.protobuf.message.Message): self, ) -> None: ... -global___NewAudioResamplerRequest = NewAudioResamplerRequest +Global___NewAudioResamplerRequest: typing_extensions.TypeAlias = NewAudioResamplerRequest @typing.final class NewAudioResamplerResponse(google.protobuf.message.Message): @@ -399,16 +399,16 @@ class NewAudioResamplerResponse(google.protobuf.message.Message): RESAMPLER_FIELD_NUMBER: builtins.int @property - def resampler(self) -> global___OwnedAudioResampler: ... + def resampler(self) -> Global___OwnedAudioResampler: ... def __init__( self, *, - resampler: global___OwnedAudioResampler | None = ..., + resampler: Global___OwnedAudioResampler | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["resampler", b"resampler"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["resampler", b"resampler"]) -> None: ... -global___NewAudioResamplerResponse = NewAudioResamplerResponse +Global___NewAudioResamplerResponse: typing_extensions.TypeAlias = NewAudioResamplerResponse @typing.final class RemixAndResampleRequest(google.protobuf.message.Message): @@ -424,19 +424,19 @@ class RemixAndResampleRequest(google.protobuf.message.Message): num_channels: builtins.int sample_rate: builtins.int @property - def buffer(self) -> global___AudioFrameBufferInfo: ... + def buffer(self) -> Global___AudioFrameBufferInfo: ... def __init__( self, *, resampler_handle: builtins.int | None = ..., - buffer: global___AudioFrameBufferInfo | None = ..., + buffer: Global___AudioFrameBufferInfo | None = ..., num_channels: builtins.int | None = ..., sample_rate: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "num_channels", b"num_channels", "resampler_handle", b"resampler_handle", "sample_rate", b"sample_rate"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "num_channels", b"num_channels", "resampler_handle", b"resampler_handle", "sample_rate", b"sample_rate"]) -> None: ... -global___RemixAndResampleRequest = RemixAndResampleRequest +Global___RemixAndResampleRequest: typing_extensions.TypeAlias = RemixAndResampleRequest @typing.final class RemixAndResampleResponse(google.protobuf.message.Message): @@ -444,16 +444,16 @@ class RemixAndResampleResponse(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int @property - def buffer(self) -> global___OwnedAudioFrameBuffer: ... + def buffer(self) -> Global___OwnedAudioFrameBuffer: ... def __init__( self, *, - buffer: global___OwnedAudioFrameBuffer | None = ..., + buffer: Global___OwnedAudioFrameBuffer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer"]) -> None: ... -global___RemixAndResampleResponse = RemixAndResampleResponse +Global___RemixAndResampleResponse: typing_extensions.TypeAlias = RemixAndResampleResponse @typing.final class NewApmRequest(google.protobuf.message.Message): @@ -480,7 +480,7 @@ class NewApmRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["echo_canceller_enabled", b"echo_canceller_enabled", "gain_controller_enabled", b"gain_controller_enabled", "high_pass_filter_enabled", b"high_pass_filter_enabled", "noise_suppression_enabled", b"noise_suppression_enabled"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["echo_canceller_enabled", b"echo_canceller_enabled", "gain_controller_enabled", b"gain_controller_enabled", "high_pass_filter_enabled", b"high_pass_filter_enabled", "noise_suppression_enabled", b"noise_suppression_enabled"]) -> None: ... -global___NewApmRequest = NewApmRequest +Global___NewApmRequest: typing_extensions.TypeAlias = NewApmRequest @typing.final class NewApmResponse(google.protobuf.message.Message): @@ -488,16 +488,16 @@ class NewApmResponse(google.protobuf.message.Message): APM_FIELD_NUMBER: builtins.int @property - def apm(self) -> global___OwnedApm: ... + def apm(self) -> Global___OwnedApm: ... def __init__( self, *, - apm: global___OwnedApm | None = ..., + apm: Global___OwnedApm | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["apm", b"apm"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm", b"apm"]) -> None: ... -global___NewApmResponse = NewApmResponse +Global___NewApmResponse: typing_extensions.TypeAlias = NewApmResponse @typing.final class ApmProcessStreamRequest(google.protobuf.message.Message): @@ -527,7 +527,7 @@ class ApmProcessStreamRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> None: ... -global___ApmProcessStreamRequest = ApmProcessStreamRequest +Global___ApmProcessStreamRequest: typing_extensions.TypeAlias = ApmProcessStreamRequest @typing.final class ApmProcessStreamResponse(google.protobuf.message.Message): @@ -543,7 +543,7 @@ class ApmProcessStreamResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___ApmProcessStreamResponse = ApmProcessStreamResponse +Global___ApmProcessStreamResponse: typing_extensions.TypeAlias = ApmProcessStreamResponse @typing.final class ApmProcessReverseStreamRequest(google.protobuf.message.Message): @@ -573,7 +573,7 @@ class ApmProcessReverseStreamRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> None: ... -global___ApmProcessReverseStreamRequest = ApmProcessReverseStreamRequest +Global___ApmProcessReverseStreamRequest: typing_extensions.TypeAlias = ApmProcessReverseStreamRequest @typing.final class ApmProcessReverseStreamResponse(google.protobuf.message.Message): @@ -589,7 +589,7 @@ class ApmProcessReverseStreamResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___ApmProcessReverseStreamResponse = ApmProcessReverseStreamResponse +Global___ApmProcessReverseStreamResponse: typing_extensions.TypeAlias = ApmProcessReverseStreamResponse @typing.final class ApmSetStreamDelayRequest(google.protobuf.message.Message): @@ -608,7 +608,7 @@ class ApmSetStreamDelayRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "delay_ms", b"delay_ms"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "delay_ms", b"delay_ms"]) -> None: ... -global___ApmSetStreamDelayRequest = ApmSetStreamDelayRequest +Global___ApmSetStreamDelayRequest: typing_extensions.TypeAlias = ApmSetStreamDelayRequest @typing.final class ApmSetStreamDelayResponse(google.protobuf.message.Message): @@ -624,7 +624,7 @@ class ApmSetStreamDelayResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___ApmSetStreamDelayResponse = ApmSetStreamDelayResponse +Global___ApmSetStreamDelayResponse: typing_extensions.TypeAlias = ApmSetStreamDelayResponse @typing.final class NewSoxResamplerRequest(google.protobuf.message.Message): @@ -642,9 +642,9 @@ class NewSoxResamplerRequest(google.protobuf.message.Message): input_rate: builtins.float output_rate: builtins.float num_channels: builtins.int - input_data_type: global___SoxResamplerDataType.ValueType - output_data_type: global___SoxResamplerDataType.ValueType - quality_recipe: global___SoxQualityRecipe.ValueType + input_data_type: Global___SoxResamplerDataType.ValueType + output_data_type: Global___SoxResamplerDataType.ValueType + quality_recipe: Global___SoxQualityRecipe.ValueType flags: builtins.int def __init__( self, @@ -652,15 +652,15 @@ class NewSoxResamplerRequest(google.protobuf.message.Message): input_rate: builtins.float | None = ..., output_rate: builtins.float | None = ..., num_channels: builtins.int | None = ..., - input_data_type: global___SoxResamplerDataType.ValueType | None = ..., - output_data_type: global___SoxResamplerDataType.ValueType | None = ..., - quality_recipe: global___SoxQualityRecipe.ValueType | None = ..., + input_data_type: Global___SoxResamplerDataType.ValueType | None = ..., + output_data_type: Global___SoxResamplerDataType.ValueType | None = ..., + quality_recipe: Global___SoxQualityRecipe.ValueType | None = ..., flags: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["flags", b"flags", "input_data_type", b"input_data_type", "input_rate", b"input_rate", "num_channels", b"num_channels", "output_data_type", b"output_data_type", "output_rate", b"output_rate", "quality_recipe", b"quality_recipe"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["flags", b"flags", "input_data_type", b"input_data_type", "input_rate", b"input_rate", "num_channels", b"num_channels", "output_data_type", b"output_data_type", "output_rate", b"output_rate", "quality_recipe", b"quality_recipe"]) -> None: ... -global___NewSoxResamplerRequest = NewSoxResamplerRequest +Global___NewSoxResamplerRequest: typing_extensions.TypeAlias = NewSoxResamplerRequest @typing.final class NewSoxResamplerResponse(google.protobuf.message.Message): @@ -670,18 +670,18 @@ class NewSoxResamplerResponse(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int error: builtins.str @property - def resampler(self) -> global___OwnedSoxResampler: ... + def resampler(self) -> Global___OwnedSoxResampler: ... def __init__( self, *, - resampler: global___OwnedSoxResampler | None = ..., + resampler: Global___OwnedSoxResampler | None = ..., error: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error", "message", b"message", "resampler", b"resampler"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "message", b"message", "resampler", b"resampler"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["resampler", "error"] | None: ... -global___NewSoxResamplerResponse = NewSoxResamplerResponse +Global___NewSoxResamplerResponse: typing_extensions.TypeAlias = NewSoxResamplerResponse @typing.final class PushSoxResamplerRequest(google.protobuf.message.Message): @@ -705,7 +705,7 @@ class PushSoxResamplerRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "resampler_handle", b"resampler_handle", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "resampler_handle", b"resampler_handle", "size", b"size"]) -> None: ... -global___PushSoxResamplerRequest = PushSoxResamplerRequest +Global___PushSoxResamplerRequest: typing_extensions.TypeAlias = PushSoxResamplerRequest @typing.final class PushSoxResamplerResponse(google.protobuf.message.Message): @@ -729,7 +729,7 @@ class PushSoxResamplerResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> None: ... -global___PushSoxResamplerResponse = PushSoxResamplerResponse +Global___PushSoxResamplerResponse: typing_extensions.TypeAlias = PushSoxResamplerResponse @typing.final class FlushSoxResamplerRequest(google.protobuf.message.Message): @@ -745,7 +745,7 @@ class FlushSoxResamplerRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["resampler_handle", b"resampler_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["resampler_handle", b"resampler_handle"]) -> None: ... -global___FlushSoxResamplerRequest = FlushSoxResamplerRequest +Global___FlushSoxResamplerRequest: typing_extensions.TypeAlias = FlushSoxResamplerRequest @typing.final class FlushSoxResamplerResponse(google.protobuf.message.Message): @@ -769,7 +769,7 @@ class FlushSoxResamplerResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> None: ... -global___FlushSoxResamplerResponse = FlushSoxResamplerResponse +Global___FlushSoxResamplerResponse: typing_extensions.TypeAlias = FlushSoxResamplerResponse @typing.final class AudioFrameBufferInfo(google.protobuf.message.Message): @@ -799,7 +799,7 @@ class AudioFrameBufferInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "samples_per_channel", b"samples_per_channel"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "samples_per_channel", b"samples_per_channel"]) -> None: ... -global___AudioFrameBufferInfo = AudioFrameBufferInfo +Global___AudioFrameBufferInfo: typing_extensions.TypeAlias = AudioFrameBufferInfo @typing.final class OwnedAudioFrameBuffer(google.protobuf.message.Message): @@ -810,33 +810,33 @@ class OwnedAudioFrameBuffer(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___AudioFrameBufferInfo: ... + def info(self) -> Global___AudioFrameBufferInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___AudioFrameBufferInfo | None = ..., + info: Global___AudioFrameBufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedAudioFrameBuffer = OwnedAudioFrameBuffer +Global___OwnedAudioFrameBuffer: typing_extensions.TypeAlias = OwnedAudioFrameBuffer @typing.final class AudioStreamInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: global___AudioStreamType.ValueType + type: Global___AudioStreamType.ValueType def __init__( self, *, - type: global___AudioStreamType.ValueType | None = ..., + type: Global___AudioStreamType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -global___AudioStreamInfo = AudioStreamInfo +Global___AudioStreamInfo: typing_extensions.TypeAlias = AudioStreamInfo @typing.final class OwnedAudioStream(google.protobuf.message.Message): @@ -847,17 +847,17 @@ class OwnedAudioStream(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___AudioStreamInfo: ... + def info(self) -> Global___AudioStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___AudioStreamInfo | None = ..., + info: Global___AudioStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedAudioStream = OwnedAudioStream +Global___OwnedAudioStream: typing_extensions.TypeAlias = OwnedAudioStream @typing.final class AudioStreamEvent(google.protobuf.message.Message): @@ -868,21 +868,21 @@ class AudioStreamEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int stream_handle: builtins.int @property - def frame_received(self) -> global___AudioFrameReceived: ... + def frame_received(self) -> Global___AudioFrameReceived: ... @property - def eos(self) -> global___AudioStreamEOS: ... + def eos(self) -> Global___AudioStreamEOS: ... def __init__( self, *, stream_handle: builtins.int | None = ..., - frame_received: global___AudioFrameReceived | None = ..., - eos: global___AudioStreamEOS | None = ..., + frame_received: Global___AudioFrameReceived | None = ..., + eos: Global___AudioStreamEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["frame_received", "eos"] | None: ... -global___AudioStreamEvent = AudioStreamEvent +Global___AudioStreamEvent: typing_extensions.TypeAlias = AudioStreamEvent @typing.final class AudioFrameReceived(google.protobuf.message.Message): @@ -890,16 +890,16 @@ class AudioFrameReceived(google.protobuf.message.Message): FRAME_FIELD_NUMBER: builtins.int @property - def frame(self) -> global___OwnedAudioFrameBuffer: ... + def frame(self) -> Global___OwnedAudioFrameBuffer: ... def __init__( self, *, - frame: global___OwnedAudioFrameBuffer | None = ..., + frame: Global___OwnedAudioFrameBuffer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["frame", b"frame"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["frame", b"frame"]) -> None: ... -global___AudioFrameReceived = AudioFrameReceived +Global___AudioFrameReceived: typing_extensions.TypeAlias = AudioFrameReceived @typing.final class AudioStreamEOS(google.protobuf.message.Message): @@ -909,7 +909,7 @@ class AudioStreamEOS(google.protobuf.message.Message): self, ) -> None: ... -global___AudioStreamEOS = AudioStreamEOS +Global___AudioStreamEOS: typing_extensions.TypeAlias = AudioStreamEOS @typing.final class AudioSourceOptions(google.protobuf.message.Message): @@ -935,23 +935,23 @@ class AudioSourceOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["auto_gain_control", b"auto_gain_control", "echo_cancellation", b"echo_cancellation", "noise_suppression", b"noise_suppression"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["auto_gain_control", b"auto_gain_control", "echo_cancellation", b"echo_cancellation", "noise_suppression", b"noise_suppression"]) -> None: ... -global___AudioSourceOptions = AudioSourceOptions +Global___AudioSourceOptions: typing_extensions.TypeAlias = AudioSourceOptions @typing.final class AudioSourceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: global___AudioSourceType.ValueType + type: Global___AudioSourceType.ValueType def __init__( self, *, - type: global___AudioSourceType.ValueType | None = ..., + type: Global___AudioSourceType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -global___AudioSourceInfo = AudioSourceInfo +Global___AudioSourceInfo: typing_extensions.TypeAlias = AudioSourceInfo @typing.final class OwnedAudioSource(google.protobuf.message.Message): @@ -962,17 +962,17 @@ class OwnedAudioSource(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___AudioSourceInfo: ... + def info(self) -> Global___AudioSourceInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___AudioSourceInfo | None = ..., + info: Global___AudioSourceInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedAudioSource = OwnedAudioSource +Global___OwnedAudioSource: typing_extensions.TypeAlias = OwnedAudioSource @typing.final class AudioResamplerInfo(google.protobuf.message.Message): @@ -986,7 +986,7 @@ class AudioResamplerInfo(google.protobuf.message.Message): self, ) -> None: ... -global___AudioResamplerInfo = AudioResamplerInfo +Global___AudioResamplerInfo: typing_extensions.TypeAlias = AudioResamplerInfo @typing.final class OwnedAudioResampler(google.protobuf.message.Message): @@ -997,17 +997,17 @@ class OwnedAudioResampler(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___AudioResamplerInfo: ... + def info(self) -> Global___AudioResamplerInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___AudioResamplerInfo | None = ..., + info: Global___AudioResamplerInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedAudioResampler = OwnedAudioResampler +Global___OwnedAudioResampler: typing_extensions.TypeAlias = OwnedAudioResampler @typing.final class OwnedApm(google.protobuf.message.Message): @@ -1028,7 +1028,7 @@ class OwnedApm(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["handle", b"handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle"]) -> None: ... -global___OwnedApm = OwnedApm +Global___OwnedApm: typing_extensions.TypeAlias = OwnedApm @typing.final class SoxResamplerInfo(google.protobuf.message.Message): @@ -1042,7 +1042,7 @@ class SoxResamplerInfo(google.protobuf.message.Message): self, ) -> None: ... -global___SoxResamplerInfo = SoxResamplerInfo +Global___SoxResamplerInfo: typing_extensions.TypeAlias = SoxResamplerInfo @typing.final class OwnedSoxResampler(google.protobuf.message.Message): @@ -1053,17 +1053,17 @@ class OwnedSoxResampler(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___SoxResamplerInfo: ... + def info(self) -> Global___SoxResamplerInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___SoxResamplerInfo | None = ..., + info: Global___SoxResamplerInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedSoxResampler = OwnedSoxResampler +Global___OwnedSoxResampler: typing_extensions.TypeAlias = OwnedSoxResampler @typing.final class LoadAudioFilterPluginRequest(google.protobuf.message.Message): @@ -1092,7 +1092,7 @@ class LoadAudioFilterPluginRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["module_id", b"module_id", "plugin_path", b"plugin_path"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["dependencies", b"dependencies", "module_id", b"module_id", "plugin_path", b"plugin_path"]) -> None: ... -global___LoadAudioFilterPluginRequest = LoadAudioFilterPluginRequest +Global___LoadAudioFilterPluginRequest: typing_extensions.TypeAlias = LoadAudioFilterPluginRequest @typing.final class LoadAudioFilterPluginResponse(google.protobuf.message.Message): @@ -1108,4 +1108,4 @@ class LoadAudioFilterPluginResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___LoadAudioFilterPluginResponse = LoadAudioFilterPluginResponse +Global___LoadAudioFilterPluginResponse: typing_extensions.TypeAlias = LoadAudioFilterPluginResponse diff --git a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py index f1f854e2..256fe348 100644 --- a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: data_stream.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'data_stream.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,16 +31,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'data_stream_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._options = None + _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._loaded_options = None _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._options = None + _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._loaded_options = None _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._options = None + _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._loaded_options = None _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._options = None + _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._loaded_options = None _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._serialized_options = b'8\001' _globals['_OWNEDTEXTSTREAMREADER']._serialized_start=62 _globals['_OWNEDTEXTSTREAMREADER']._serialized_end=177 diff --git a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi index 7771be01..a1cdeb60 100644 --- a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi @@ -48,17 +48,17 @@ class OwnedTextStreamReader(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___TextStreamInfo: ... + def info(self) -> Global___TextStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___TextStreamInfo | None = ..., + info: Global___TextStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedTextStreamReader = OwnedTextStreamReader +Global___OwnedTextStreamReader: typing_extensions.TypeAlias = OwnedTextStreamReader @typing.final class TextStreamReaderReadIncrementalRequest(google.protobuf.message.Message): @@ -76,7 +76,7 @@ class TextStreamReaderReadIncrementalRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -global___TextStreamReaderReadIncrementalRequest = TextStreamReaderReadIncrementalRequest +Global___TextStreamReaderReadIncrementalRequest: typing_extensions.TypeAlias = TextStreamReaderReadIncrementalRequest @typing.final class TextStreamReaderReadIncrementalResponse(google.protobuf.message.Message): @@ -86,7 +86,7 @@ class TextStreamReaderReadIncrementalResponse(google.protobuf.message.Message): self, ) -> None: ... -global___TextStreamReaderReadIncrementalResponse = TextStreamReaderReadIncrementalResponse +Global___TextStreamReaderReadIncrementalResponse: typing_extensions.TypeAlias = TextStreamReaderReadIncrementalResponse @typing.final class TextStreamReaderReadAllRequest(google.protobuf.message.Message): @@ -104,7 +104,7 @@ class TextStreamReaderReadAllRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -global___TextStreamReaderReadAllRequest = TextStreamReaderReadAllRequest +Global___TextStreamReaderReadAllRequest: typing_extensions.TypeAlias = TextStreamReaderReadAllRequest @typing.final class TextStreamReaderReadAllResponse(google.protobuf.message.Message): @@ -120,7 +120,7 @@ class TextStreamReaderReadAllResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___TextStreamReaderReadAllResponse = TextStreamReaderReadAllResponse +Global___TextStreamReaderReadAllResponse: typing_extensions.TypeAlias = TextStreamReaderReadAllResponse @typing.final class TextStreamReaderReadAllCallback(google.protobuf.message.Message): @@ -132,19 +132,19 @@ class TextStreamReaderReadAllCallback(google.protobuf.message.Message): async_id: builtins.int content: builtins.str @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., content: builtins.str | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["content", "error"] | None: ... -global___TextStreamReaderReadAllCallback = TextStreamReaderReadAllCallback +Global___TextStreamReaderReadAllCallback: typing_extensions.TypeAlias = TextStreamReaderReadAllCallback @typing.final class TextStreamReaderEvent(google.protobuf.message.Message): @@ -155,21 +155,21 @@ class TextStreamReaderEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int reader_handle: builtins.int @property - def chunk_received(self) -> global___TextStreamReaderChunkReceived: ... + def chunk_received(self) -> Global___TextStreamReaderChunkReceived: ... @property - def eos(self) -> global___TextStreamReaderEOS: ... + def eos(self) -> Global___TextStreamReaderEOS: ... def __init__( self, *, reader_handle: builtins.int | None = ..., - chunk_received: global___TextStreamReaderChunkReceived | None = ..., - eos: global___TextStreamReaderEOS | None = ..., + chunk_received: Global___TextStreamReaderChunkReceived | None = ..., + eos: Global___TextStreamReaderEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["detail", b"detail"]) -> typing.Literal["chunk_received", "eos"] | None: ... -global___TextStreamReaderEvent = TextStreamReaderEvent +Global___TextStreamReaderEvent: typing_extensions.TypeAlias = TextStreamReaderEvent @typing.final class TextStreamReaderChunkReceived(google.protobuf.message.Message): @@ -185,7 +185,7 @@ class TextStreamReaderChunkReceived(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["content", b"content"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["content", b"content"]) -> None: ... -global___TextStreamReaderChunkReceived = TextStreamReaderChunkReceived +Global___TextStreamReaderChunkReceived: typing_extensions.TypeAlias = TextStreamReaderChunkReceived @typing.final class TextStreamReaderEOS(google.protobuf.message.Message): @@ -193,16 +193,16 @@ class TextStreamReaderEOS(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___TextStreamReaderEOS = TextStreamReaderEOS +Global___TextStreamReaderEOS: typing_extensions.TypeAlias = TextStreamReaderEOS @typing.final class OwnedByteStreamReader(google.protobuf.message.Message): @@ -218,17 +218,17 @@ class OwnedByteStreamReader(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___ByteStreamInfo: ... + def info(self) -> Global___ByteStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___ByteStreamInfo | None = ..., + info: Global___ByteStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedByteStreamReader = OwnedByteStreamReader +Global___OwnedByteStreamReader: typing_extensions.TypeAlias = OwnedByteStreamReader @typing.final class ByteStreamReaderReadIncrementalRequest(google.protobuf.message.Message): @@ -246,7 +246,7 @@ class ByteStreamReaderReadIncrementalRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -global___ByteStreamReaderReadIncrementalRequest = ByteStreamReaderReadIncrementalRequest +Global___ByteStreamReaderReadIncrementalRequest: typing_extensions.TypeAlias = ByteStreamReaderReadIncrementalRequest @typing.final class ByteStreamReaderReadIncrementalResponse(google.protobuf.message.Message): @@ -256,7 +256,7 @@ class ByteStreamReaderReadIncrementalResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ByteStreamReaderReadIncrementalResponse = ByteStreamReaderReadIncrementalResponse +Global___ByteStreamReaderReadIncrementalResponse: typing_extensions.TypeAlias = ByteStreamReaderReadIncrementalResponse @typing.final class ByteStreamReaderReadAllRequest(google.protobuf.message.Message): @@ -274,7 +274,7 @@ class ByteStreamReaderReadAllRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -global___ByteStreamReaderReadAllRequest = ByteStreamReaderReadAllRequest +Global___ByteStreamReaderReadAllRequest: typing_extensions.TypeAlias = ByteStreamReaderReadAllRequest @typing.final class ByteStreamReaderReadAllResponse(google.protobuf.message.Message): @@ -290,7 +290,7 @@ class ByteStreamReaderReadAllResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___ByteStreamReaderReadAllResponse = ByteStreamReaderReadAllResponse +Global___ByteStreamReaderReadAllResponse: typing_extensions.TypeAlias = ByteStreamReaderReadAllResponse @typing.final class ByteStreamReaderReadAllCallback(google.protobuf.message.Message): @@ -302,19 +302,19 @@ class ByteStreamReaderReadAllCallback(google.protobuf.message.Message): async_id: builtins.int content: builtins.bytes @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., content: builtins.bytes | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["content", "error"] | None: ... -global___ByteStreamReaderReadAllCallback = ByteStreamReaderReadAllCallback +Global___ByteStreamReaderReadAllCallback: typing_extensions.TypeAlias = ByteStreamReaderReadAllCallback @typing.final class ByteStreamReaderWriteToFileRequest(google.protobuf.message.Message): @@ -345,7 +345,7 @@ class ByteStreamReaderWriteToFileRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["directory", b"directory", "name_override", b"name_override", "reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["directory", b"directory", "name_override", b"name_override", "reader_handle", b"reader_handle"]) -> None: ... -global___ByteStreamReaderWriteToFileRequest = ByteStreamReaderWriteToFileRequest +Global___ByteStreamReaderWriteToFileRequest: typing_extensions.TypeAlias = ByteStreamReaderWriteToFileRequest @typing.final class ByteStreamReaderWriteToFileResponse(google.protobuf.message.Message): @@ -361,7 +361,7 @@ class ByteStreamReaderWriteToFileResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___ByteStreamReaderWriteToFileResponse = ByteStreamReaderWriteToFileResponse +Global___ByteStreamReaderWriteToFileResponse: typing_extensions.TypeAlias = ByteStreamReaderWriteToFileResponse @typing.final class ByteStreamReaderWriteToFileCallback(google.protobuf.message.Message): @@ -374,19 +374,19 @@ class ByteStreamReaderWriteToFileCallback(google.protobuf.message.Message): file_path: builtins.str """Path the file was written to.""" @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., file_path: builtins.str | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "file_path", b"file_path", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "file_path", b"file_path", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["file_path", "error"] | None: ... -global___ByteStreamReaderWriteToFileCallback = ByteStreamReaderWriteToFileCallback +Global___ByteStreamReaderWriteToFileCallback: typing_extensions.TypeAlias = ByteStreamReaderWriteToFileCallback @typing.final class ByteStreamReaderEvent(google.protobuf.message.Message): @@ -397,21 +397,21 @@ class ByteStreamReaderEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int reader_handle: builtins.int @property - def chunk_received(self) -> global___ByteStreamReaderChunkReceived: ... + def chunk_received(self) -> Global___ByteStreamReaderChunkReceived: ... @property - def eos(self) -> global___ByteStreamReaderEOS: ... + def eos(self) -> Global___ByteStreamReaderEOS: ... def __init__( self, *, reader_handle: builtins.int | None = ..., - chunk_received: global___ByteStreamReaderChunkReceived | None = ..., - eos: global___ByteStreamReaderEOS | None = ..., + chunk_received: Global___ByteStreamReaderChunkReceived | None = ..., + eos: Global___ByteStreamReaderEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["detail", b"detail"]) -> typing.Literal["chunk_received", "eos"] | None: ... -global___ByteStreamReaderEvent = ByteStreamReaderEvent +Global___ByteStreamReaderEvent: typing_extensions.TypeAlias = ByteStreamReaderEvent @typing.final class ByteStreamReaderChunkReceived(google.protobuf.message.Message): @@ -427,7 +427,7 @@ class ByteStreamReaderChunkReceived(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["content", b"content"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["content", b"content"]) -> None: ... -global___ByteStreamReaderChunkReceived = ByteStreamReaderChunkReceived +Global___ByteStreamReaderChunkReceived: typing_extensions.TypeAlias = ByteStreamReaderChunkReceived @typing.final class ByteStreamReaderEOS(google.protobuf.message.Message): @@ -435,16 +435,16 @@ class ByteStreamReaderEOS(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___ByteStreamReaderEOS = ByteStreamReaderEOS +Global___ByteStreamReaderEOS: typing_extensions.TypeAlias = ByteStreamReaderEOS @typing.final class StreamSendFileRequest(google.protobuf.message.Message): @@ -462,18 +462,18 @@ class StreamSendFileRequest(google.protobuf.message.Message): file_path: builtins.str """Path of the file to send (must be readable by the current process).""" @property - def options(self) -> global___StreamByteOptions: ... + def options(self) -> Global___StreamByteOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: global___StreamByteOptions | None = ..., + options: Global___StreamByteOptions | None = ..., file_path: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["file_path", b"file_path", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["file_path", b"file_path", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -global___StreamSendFileRequest = StreamSendFileRequest +Global___StreamSendFileRequest: typing_extensions.TypeAlias = StreamSendFileRequest @typing.final class StreamSendFileResponse(google.protobuf.message.Message): @@ -489,7 +489,7 @@ class StreamSendFileResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___StreamSendFileResponse = StreamSendFileResponse +Global___StreamSendFileResponse: typing_extensions.TypeAlias = StreamSendFileResponse @typing.final class StreamSendFileCallback(google.protobuf.message.Message): @@ -500,21 +500,21 @@ class StreamSendFileCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def info(self) -> global___ByteStreamInfo: ... + def info(self) -> Global___ByteStreamInfo: ... @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - info: global___ByteStreamInfo | None = ..., - error: global___StreamError | None = ..., + info: Global___ByteStreamInfo | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["info", "error"] | None: ... -global___StreamSendFileCallback = StreamSendFileCallback +Global___StreamSendFileCallback: typing_extensions.TypeAlias = StreamSendFileCallback @typing.final class StreamSendBytesRequest(google.protobuf.message.Message): @@ -532,18 +532,18 @@ class StreamSendBytesRequest(google.protobuf.message.Message): bytes: builtins.bytes """Bytes to send.""" @property - def options(self) -> global___StreamByteOptions: ... + def options(self) -> Global___StreamByteOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: global___StreamByteOptions | None = ..., + options: Global___StreamByteOptions | None = ..., bytes: builtins.bytes | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["bytes", b"bytes", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -global___StreamSendBytesRequest = StreamSendBytesRequest +Global___StreamSendBytesRequest: typing_extensions.TypeAlias = StreamSendBytesRequest @typing.final class StreamSendBytesResponse(google.protobuf.message.Message): @@ -559,7 +559,7 @@ class StreamSendBytesResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___StreamSendBytesResponse = StreamSendBytesResponse +Global___StreamSendBytesResponse: typing_extensions.TypeAlias = StreamSendBytesResponse @typing.final class StreamSendBytesCallback(google.protobuf.message.Message): @@ -570,21 +570,21 @@ class StreamSendBytesCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def info(self) -> global___ByteStreamInfo: ... + def info(self) -> Global___ByteStreamInfo: ... @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - info: global___ByteStreamInfo | None = ..., - error: global___StreamError | None = ..., + info: Global___ByteStreamInfo | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["info", "error"] | None: ... -global___StreamSendBytesCallback = StreamSendBytesCallback +Global___StreamSendBytesCallback: typing_extensions.TypeAlias = StreamSendBytesCallback @typing.final class StreamSendTextRequest(google.protobuf.message.Message): @@ -602,18 +602,18 @@ class StreamSendTextRequest(google.protobuf.message.Message): text: builtins.str """Text to send.""" @property - def options(self) -> global___StreamTextOptions: ... + def options(self) -> Global___StreamTextOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: global___StreamTextOptions | None = ..., + options: Global___StreamTextOptions | None = ..., text: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "text", b"text"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "text", b"text"]) -> None: ... -global___StreamSendTextRequest = StreamSendTextRequest +Global___StreamSendTextRequest: typing_extensions.TypeAlias = StreamSendTextRequest @typing.final class StreamSendTextResponse(google.protobuf.message.Message): @@ -629,7 +629,7 @@ class StreamSendTextResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___StreamSendTextResponse = StreamSendTextResponse +Global___StreamSendTextResponse: typing_extensions.TypeAlias = StreamSendTextResponse @typing.final class StreamSendTextCallback(google.protobuf.message.Message): @@ -640,21 +640,21 @@ class StreamSendTextCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def info(self) -> global___TextStreamInfo: ... + def info(self) -> Global___TextStreamInfo: ... @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - info: global___TextStreamInfo | None = ..., - error: global___StreamError | None = ..., + info: Global___TextStreamInfo | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["info", "error"] | None: ... -global___StreamSendTextCallback = StreamSendTextCallback +Global___StreamSendTextCallback: typing_extensions.TypeAlias = StreamSendTextCallback @typing.final class OwnedByteStreamWriter(google.protobuf.message.Message): @@ -667,17 +667,17 @@ class OwnedByteStreamWriter(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___ByteStreamInfo: ... + def info(self) -> Global___ByteStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___ByteStreamInfo | None = ..., + info: Global___ByteStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedByteStreamWriter = OwnedByteStreamWriter +Global___OwnedByteStreamWriter: typing_extensions.TypeAlias = OwnedByteStreamWriter @typing.final class ByteStreamOpenRequest(google.protobuf.message.Message): @@ -691,19 +691,19 @@ class ByteStreamOpenRequest(google.protobuf.message.Message): OPTIONS_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int @property - def options(self) -> global___StreamByteOptions: + def options(self) -> Global___StreamByteOptions: """Options to use for opening the stream.""" def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: global___StreamByteOptions | None = ..., + options: Global___StreamByteOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -global___ByteStreamOpenRequest = ByteStreamOpenRequest +Global___ByteStreamOpenRequest: typing_extensions.TypeAlias = ByteStreamOpenRequest @typing.final class ByteStreamOpenResponse(google.protobuf.message.Message): @@ -719,7 +719,7 @@ class ByteStreamOpenResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___ByteStreamOpenResponse = ByteStreamOpenResponse +Global___ByteStreamOpenResponse: typing_extensions.TypeAlias = ByteStreamOpenResponse @typing.final class ByteStreamOpenCallback(google.protobuf.message.Message): @@ -730,21 +730,21 @@ class ByteStreamOpenCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def writer(self) -> global___OwnedByteStreamWriter: ... + def writer(self) -> Global___OwnedByteStreamWriter: ... @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - writer: global___OwnedByteStreamWriter | None = ..., - error: global___StreamError | None = ..., + writer: Global___OwnedByteStreamWriter | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["writer", "error"] | None: ... -global___ByteStreamOpenCallback = ByteStreamOpenCallback +Global___ByteStreamOpenCallback: typing_extensions.TypeAlias = ByteStreamOpenCallback @typing.final class ByteStreamWriterWriteRequest(google.protobuf.message.Message): @@ -765,7 +765,7 @@ class ByteStreamWriterWriteRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["bytes", b"bytes", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "writer_handle", b"writer_handle"]) -> None: ... -global___ByteStreamWriterWriteRequest = ByteStreamWriterWriteRequest +Global___ByteStreamWriterWriteRequest: typing_extensions.TypeAlias = ByteStreamWriterWriteRequest @typing.final class ByteStreamWriterWriteResponse(google.protobuf.message.Message): @@ -781,7 +781,7 @@ class ByteStreamWriterWriteResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___ByteStreamWriterWriteResponse = ByteStreamWriterWriteResponse +Global___ByteStreamWriterWriteResponse: typing_extensions.TypeAlias = ByteStreamWriterWriteResponse @typing.final class ByteStreamWriterWriteCallback(google.protobuf.message.Message): @@ -791,17 +791,17 @@ class ByteStreamWriterWriteCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___ByteStreamWriterWriteCallback = ByteStreamWriterWriteCallback +Global___ByteStreamWriterWriteCallback: typing_extensions.TypeAlias = ByteStreamWriterWriteCallback @typing.final class ByteStreamWriterCloseRequest(google.protobuf.message.Message): @@ -822,7 +822,7 @@ class ByteStreamWriterCloseRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> None: ... -global___ByteStreamWriterCloseRequest = ByteStreamWriterCloseRequest +Global___ByteStreamWriterCloseRequest: typing_extensions.TypeAlias = ByteStreamWriterCloseRequest @typing.final class ByteStreamWriterCloseResponse(google.protobuf.message.Message): @@ -838,7 +838,7 @@ class ByteStreamWriterCloseResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___ByteStreamWriterCloseResponse = ByteStreamWriterCloseResponse +Global___ByteStreamWriterCloseResponse: typing_extensions.TypeAlias = ByteStreamWriterCloseResponse @typing.final class ByteStreamWriterCloseCallback(google.protobuf.message.Message): @@ -848,17 +848,17 @@ class ByteStreamWriterCloseCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___ByteStreamWriterCloseCallback = ByteStreamWriterCloseCallback +Global___ByteStreamWriterCloseCallback: typing_extensions.TypeAlias = ByteStreamWriterCloseCallback @typing.final class OwnedTextStreamWriter(google.protobuf.message.Message): @@ -871,17 +871,17 @@ class OwnedTextStreamWriter(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___TextStreamInfo: ... + def info(self) -> Global___TextStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___TextStreamInfo | None = ..., + info: Global___TextStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedTextStreamWriter = OwnedTextStreamWriter +Global___OwnedTextStreamWriter: typing_extensions.TypeAlias = OwnedTextStreamWriter @typing.final class TextStreamOpenRequest(google.protobuf.message.Message): @@ -895,19 +895,19 @@ class TextStreamOpenRequest(google.protobuf.message.Message): OPTIONS_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int @property - def options(self) -> global___StreamTextOptions: + def options(self) -> Global___StreamTextOptions: """Options to use for opening the stream.""" def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: global___StreamTextOptions | None = ..., + options: Global___StreamTextOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -global___TextStreamOpenRequest = TextStreamOpenRequest +Global___TextStreamOpenRequest: typing_extensions.TypeAlias = TextStreamOpenRequest @typing.final class TextStreamOpenResponse(google.protobuf.message.Message): @@ -923,7 +923,7 @@ class TextStreamOpenResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___TextStreamOpenResponse = TextStreamOpenResponse +Global___TextStreamOpenResponse: typing_extensions.TypeAlias = TextStreamOpenResponse @typing.final class TextStreamOpenCallback(google.protobuf.message.Message): @@ -934,21 +934,21 @@ class TextStreamOpenCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def writer(self) -> global___OwnedTextStreamWriter: ... + def writer(self) -> Global___OwnedTextStreamWriter: ... @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - writer: global___OwnedTextStreamWriter | None = ..., - error: global___StreamError | None = ..., + writer: Global___OwnedTextStreamWriter | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["writer", "error"] | None: ... -global___TextStreamOpenCallback = TextStreamOpenCallback +Global___TextStreamOpenCallback: typing_extensions.TypeAlias = TextStreamOpenCallback @typing.final class TextStreamWriterWriteRequest(google.protobuf.message.Message): @@ -969,7 +969,7 @@ class TextStreamWriterWriteRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["text", b"text", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["text", b"text", "writer_handle", b"writer_handle"]) -> None: ... -global___TextStreamWriterWriteRequest = TextStreamWriterWriteRequest +Global___TextStreamWriterWriteRequest: typing_extensions.TypeAlias = TextStreamWriterWriteRequest @typing.final class TextStreamWriterWriteResponse(google.protobuf.message.Message): @@ -985,7 +985,7 @@ class TextStreamWriterWriteResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___TextStreamWriterWriteResponse = TextStreamWriterWriteResponse +Global___TextStreamWriterWriteResponse: typing_extensions.TypeAlias = TextStreamWriterWriteResponse @typing.final class TextStreamWriterWriteCallback(google.protobuf.message.Message): @@ -995,17 +995,17 @@ class TextStreamWriterWriteCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___TextStreamWriterWriteCallback = TextStreamWriterWriteCallback +Global___TextStreamWriterWriteCallback: typing_extensions.TypeAlias = TextStreamWriterWriteCallback @typing.final class TextStreamWriterCloseRequest(google.protobuf.message.Message): @@ -1026,7 +1026,7 @@ class TextStreamWriterCloseRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> None: ... -global___TextStreamWriterCloseRequest = TextStreamWriterCloseRequest +Global___TextStreamWriterCloseRequest: typing_extensions.TypeAlias = TextStreamWriterCloseRequest @typing.final class TextStreamWriterCloseResponse(google.protobuf.message.Message): @@ -1042,7 +1042,7 @@ class TextStreamWriterCloseResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___TextStreamWriterCloseResponse = TextStreamWriterCloseResponse +Global___TextStreamWriterCloseResponse: typing_extensions.TypeAlias = TextStreamWriterCloseResponse @typing.final class TextStreamWriterCloseCallback(google.protobuf.message.Message): @@ -1052,17 +1052,17 @@ class TextStreamWriterCloseCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> global___StreamError: ... + def error(self) -> Global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: global___StreamError | None = ..., + error: Global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___TextStreamWriterCloseCallback = TextStreamWriterCloseCallback +Global___TextStreamWriterCloseCallback: typing_extensions.TypeAlias = TextStreamWriterCloseCallback @typing.final class TextStreamInfo(google.protobuf.message.Message): @@ -1126,7 +1126,7 @@ class TextStreamInfo(google.protobuf.message.Message): topic: builtins.str total_length: builtins.int """only populated for finite streams, if it's a stream of unknown size this stays empty""" - operation_type: global___TextStreamInfo.OperationType.ValueType + operation_type: Global___TextStreamInfo.OperationType.ValueType version: builtins.int """Optional: Version for updates/edits""" reply_to_stream_id: builtins.str @@ -1151,7 +1151,7 @@ class TextStreamInfo(google.protobuf.message.Message): topic: builtins.str | None = ..., total_length: builtins.int | None = ..., attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - operation_type: global___TextStreamInfo.OperationType.ValueType | None = ..., + operation_type: Global___TextStreamInfo.OperationType.ValueType | None = ..., version: builtins.int | None = ..., reply_to_stream_id: builtins.str | None = ..., attached_stream_ids: collections.abc.Iterable[builtins.str] | None = ..., @@ -1161,7 +1161,7 @@ class TextStreamInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "generated", b"generated", "mime_type", b"mime_type", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length", "version", b"version"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attached_stream_ids", b"attached_stream_ids", "attributes", b"attributes", "encryption_type", b"encryption_type", "generated", b"generated", "mime_type", b"mime_type", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length", "version", b"version"]) -> None: ... -global___TextStreamInfo = TextStreamInfo +Global___TextStreamInfo: typing_extensions.TypeAlias = TextStreamInfo @typing.final class ByteStreamInfo(google.protobuf.message.Message): @@ -1221,7 +1221,7 @@ class ByteStreamInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "mime_type", b"mime_type", "name", b"name", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "encryption_type", b"encryption_type", "mime_type", b"mime_type", "name", b"name", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> None: ... -global___ByteStreamInfo = ByteStreamInfo +Global___ByteStreamInfo: typing_extensions.TypeAlias = ByteStreamInfo @typing.final class StreamTextOptions(google.protobuf.message.Message): @@ -1255,7 +1255,7 @@ class StreamTextOptions(google.protobuf.message.Message): GENERATED_FIELD_NUMBER: builtins.int topic: builtins.str id: builtins.str - operation_type: global___TextStreamInfo.OperationType.ValueType + operation_type: Global___TextStreamInfo.OperationType.ValueType version: builtins.int reply_to_stream_id: builtins.str generated: builtins.bool @@ -1272,7 +1272,7 @@ class StreamTextOptions(google.protobuf.message.Message): attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., id: builtins.str | None = ..., - operation_type: global___TextStreamInfo.OperationType.ValueType | None = ..., + operation_type: Global___TextStreamInfo.OperationType.ValueType | None = ..., version: builtins.int | None = ..., reply_to_stream_id: builtins.str | None = ..., attached_stream_ids: collections.abc.Iterable[builtins.str] | None = ..., @@ -1281,7 +1281,7 @@ class StreamTextOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["generated", b"generated", "id", b"id", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "topic", b"topic", "version", b"version"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attached_stream_ids", b"attached_stream_ids", "attributes", b"attributes", "destination_identities", b"destination_identities", "generated", b"generated", "id", b"id", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "topic", b"topic", "version", b"version"]) -> None: ... -global___StreamTextOptions = StreamTextOptions +Global___StreamTextOptions: typing_extensions.TypeAlias = StreamTextOptions @typing.final class StreamByteOptions(google.protobuf.message.Message): @@ -1334,7 +1334,7 @@ class StreamByteOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id", "mime_type", b"mime_type", "name", b"name", "topic", b"topic", "total_length", b"total_length"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "destination_identities", b"destination_identities", "id", b"id", "mime_type", b"mime_type", "name", b"name", "topic", b"topic", "total_length", b"total_length"]) -> None: ... -global___StreamByteOptions = StreamByteOptions +Global___StreamByteOptions: typing_extensions.TypeAlias = StreamByteOptions @typing.final class StreamError(google.protobuf.message.Message): @@ -1353,4 +1353,4 @@ class StreamError(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["description", b"description"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["description", b"description"]) -> None: ... -global___StreamError = StreamError +Global___StreamError: typing_extensions.TypeAlias = StreamError diff --git a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py index 0b5f8554..7db50ccb 100644 --- a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: e2ee.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'e2ee.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'e2ee_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_ENCRYPTIONTYPE']._serialized_start=2856 _globals['_ENCRYPTIONTYPE']._serialized_end=2903 diff --git a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi index c20ecbee..8e7d6b0a 100644 --- a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi @@ -48,7 +48,7 @@ class EncryptionType(_EncryptionType, metaclass=_EncryptionTypeEnumTypeWrapper): NONE: EncryptionType.ValueType # 0 GCM: EncryptionType.ValueType # 1 CUSTOM: EncryptionType.ValueType # 2 -global___EncryptionType = EncryptionType +Global___EncryptionType: typing_extensions.TypeAlias = EncryptionType class _EncryptionState: ValueType = typing.NewType("ValueType", builtins.int) @@ -73,7 +73,7 @@ DECRYPTION_FAILED: EncryptionState.ValueType # 3 MISSING_KEY: EncryptionState.ValueType # 4 KEY_RATCHETED: EncryptionState.ValueType # 5 INTERNAL_ERROR: EncryptionState.ValueType # 6 -global___EncryptionState = EncryptionState +Global___EncryptionState: typing_extensions.TypeAlias = EncryptionState @typing.final class FrameCryptor(google.protobuf.message.Message): @@ -98,7 +98,7 @@ class FrameCryptor(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___FrameCryptor = FrameCryptor +Global___FrameCryptor: typing_extensions.TypeAlias = FrameCryptor @typing.final class KeyProviderOptions(google.protobuf.message.Message): @@ -125,7 +125,7 @@ class KeyProviderOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["failure_tolerance", b"failure_tolerance", "ratchet_salt", b"ratchet_salt", "ratchet_window_size", b"ratchet_window_size", "shared_key", b"shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["failure_tolerance", b"failure_tolerance", "ratchet_salt", b"ratchet_salt", "ratchet_window_size", b"ratchet_window_size", "shared_key", b"shared_key"]) -> None: ... -global___KeyProviderOptions = KeyProviderOptions +Global___KeyProviderOptions: typing_extensions.TypeAlias = KeyProviderOptions @typing.final class E2eeOptions(google.protobuf.message.Message): @@ -133,19 +133,19 @@ class E2eeOptions(google.protobuf.message.Message): ENCRYPTION_TYPE_FIELD_NUMBER: builtins.int KEY_PROVIDER_OPTIONS_FIELD_NUMBER: builtins.int - encryption_type: global___EncryptionType.ValueType + encryption_type: Global___EncryptionType.ValueType @property - def key_provider_options(self) -> global___KeyProviderOptions: ... + def key_provider_options(self) -> Global___KeyProviderOptions: ... def __init__( self, *, - encryption_type: global___EncryptionType.ValueType | None = ..., - key_provider_options: global___KeyProviderOptions | None = ..., + encryption_type: Global___EncryptionType.ValueType | None = ..., + key_provider_options: Global___KeyProviderOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "key_provider_options", b"key_provider_options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "key_provider_options", b"key_provider_options"]) -> None: ... -global___E2eeOptions = E2eeOptions +Global___E2eeOptions: typing_extensions.TypeAlias = E2eeOptions @typing.final class E2eeManagerSetEnabledRequest(google.protobuf.message.Message): @@ -161,7 +161,7 @@ class E2eeManagerSetEnabledRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ... -global___E2eeManagerSetEnabledRequest = E2eeManagerSetEnabledRequest +Global___E2eeManagerSetEnabledRequest: typing_extensions.TypeAlias = E2eeManagerSetEnabledRequest @typing.final class E2eeManagerSetEnabledResponse(google.protobuf.message.Message): @@ -171,7 +171,7 @@ class E2eeManagerSetEnabledResponse(google.protobuf.message.Message): self, ) -> None: ... -global___E2eeManagerSetEnabledResponse = E2eeManagerSetEnabledResponse +Global___E2eeManagerSetEnabledResponse: typing_extensions.TypeAlias = E2eeManagerSetEnabledResponse @typing.final class E2eeManagerGetFrameCryptorsRequest(google.protobuf.message.Message): @@ -181,7 +181,7 @@ class E2eeManagerGetFrameCryptorsRequest(google.protobuf.message.Message): self, ) -> None: ... -global___E2eeManagerGetFrameCryptorsRequest = E2eeManagerGetFrameCryptorsRequest +Global___E2eeManagerGetFrameCryptorsRequest: typing_extensions.TypeAlias = E2eeManagerGetFrameCryptorsRequest @typing.final class E2eeManagerGetFrameCryptorsResponse(google.protobuf.message.Message): @@ -189,15 +189,15 @@ class E2eeManagerGetFrameCryptorsResponse(google.protobuf.message.Message): FRAME_CRYPTORS_FIELD_NUMBER: builtins.int @property - def frame_cryptors(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FrameCryptor]: ... + def frame_cryptors(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___FrameCryptor]: ... def __init__( self, *, - frame_cryptors: collections.abc.Iterable[global___FrameCryptor] | None = ..., + frame_cryptors: collections.abc.Iterable[Global___FrameCryptor] | None = ..., ) -> None: ... def ClearField(self, field_name: typing.Literal["frame_cryptors", b"frame_cryptors"]) -> None: ... -global___E2eeManagerGetFrameCryptorsResponse = E2eeManagerGetFrameCryptorsResponse +Global___E2eeManagerGetFrameCryptorsResponse: typing_extensions.TypeAlias = E2eeManagerGetFrameCryptorsResponse @typing.final class FrameCryptorSetEnabledRequest(google.protobuf.message.Message): @@ -219,7 +219,7 @@ class FrameCryptorSetEnabledRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___FrameCryptorSetEnabledRequest = FrameCryptorSetEnabledRequest +Global___FrameCryptorSetEnabledRequest: typing_extensions.TypeAlias = FrameCryptorSetEnabledRequest @typing.final class FrameCryptorSetEnabledResponse(google.protobuf.message.Message): @@ -229,7 +229,7 @@ class FrameCryptorSetEnabledResponse(google.protobuf.message.Message): self, ) -> None: ... -global___FrameCryptorSetEnabledResponse = FrameCryptorSetEnabledResponse +Global___FrameCryptorSetEnabledResponse: typing_extensions.TypeAlias = FrameCryptorSetEnabledResponse @typing.final class FrameCryptorSetKeyIndexRequest(google.protobuf.message.Message): @@ -251,7 +251,7 @@ class FrameCryptorSetKeyIndexRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___FrameCryptorSetKeyIndexRequest = FrameCryptorSetKeyIndexRequest +Global___FrameCryptorSetKeyIndexRequest: typing_extensions.TypeAlias = FrameCryptorSetKeyIndexRequest @typing.final class FrameCryptorSetKeyIndexResponse(google.protobuf.message.Message): @@ -261,7 +261,7 @@ class FrameCryptorSetKeyIndexResponse(google.protobuf.message.Message): self, ) -> None: ... -global___FrameCryptorSetKeyIndexResponse = FrameCryptorSetKeyIndexResponse +Global___FrameCryptorSetKeyIndexResponse: typing_extensions.TypeAlias = FrameCryptorSetKeyIndexResponse @typing.final class SetSharedKeyRequest(google.protobuf.message.Message): @@ -280,7 +280,7 @@ class SetSharedKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "shared_key", b"shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "shared_key", b"shared_key"]) -> None: ... -global___SetSharedKeyRequest = SetSharedKeyRequest +Global___SetSharedKeyRequest: typing_extensions.TypeAlias = SetSharedKeyRequest @typing.final class SetSharedKeyResponse(google.protobuf.message.Message): @@ -290,7 +290,7 @@ class SetSharedKeyResponse(google.protobuf.message.Message): self, ) -> None: ... -global___SetSharedKeyResponse = SetSharedKeyResponse +Global___SetSharedKeyResponse: typing_extensions.TypeAlias = SetSharedKeyResponse @typing.final class RatchetSharedKeyRequest(google.protobuf.message.Message): @@ -306,7 +306,7 @@ class RatchetSharedKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index"]) -> None: ... -global___RatchetSharedKeyRequest = RatchetSharedKeyRequest +Global___RatchetSharedKeyRequest: typing_extensions.TypeAlias = RatchetSharedKeyRequest @typing.final class RatchetSharedKeyResponse(google.protobuf.message.Message): @@ -322,7 +322,7 @@ class RatchetSharedKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["new_key", b"new_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["new_key", b"new_key"]) -> None: ... -global___RatchetSharedKeyResponse = RatchetSharedKeyResponse +Global___RatchetSharedKeyResponse: typing_extensions.TypeAlias = RatchetSharedKeyResponse @typing.final class GetSharedKeyRequest(google.protobuf.message.Message): @@ -338,7 +338,7 @@ class GetSharedKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index"]) -> None: ... -global___GetSharedKeyRequest = GetSharedKeyRequest +Global___GetSharedKeyRequest: typing_extensions.TypeAlias = GetSharedKeyRequest @typing.final class GetSharedKeyResponse(google.protobuf.message.Message): @@ -354,7 +354,7 @@ class GetSharedKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key"]) -> None: ... -global___GetSharedKeyResponse = GetSharedKeyResponse +Global___GetSharedKeyResponse: typing_extensions.TypeAlias = GetSharedKeyResponse @typing.final class SetKeyRequest(google.protobuf.message.Message): @@ -376,7 +376,7 @@ class SetKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key", "key_index", b"key_index", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key", "key_index", b"key_index", "participant_identity", b"participant_identity"]) -> None: ... -global___SetKeyRequest = SetKeyRequest +Global___SetKeyRequest: typing_extensions.TypeAlias = SetKeyRequest @typing.final class SetKeyResponse(google.protobuf.message.Message): @@ -386,7 +386,7 @@ class SetKeyResponse(google.protobuf.message.Message): self, ) -> None: ... -global___SetKeyResponse = SetKeyResponse +Global___SetKeyResponse: typing_extensions.TypeAlias = SetKeyResponse @typing.final class RatchetKeyRequest(google.protobuf.message.Message): @@ -405,7 +405,7 @@ class RatchetKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> None: ... -global___RatchetKeyRequest = RatchetKeyRequest +Global___RatchetKeyRequest: typing_extensions.TypeAlias = RatchetKeyRequest @typing.final class RatchetKeyResponse(google.protobuf.message.Message): @@ -421,7 +421,7 @@ class RatchetKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["new_key", b"new_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["new_key", b"new_key"]) -> None: ... -global___RatchetKeyResponse = RatchetKeyResponse +Global___RatchetKeyResponse: typing_extensions.TypeAlias = RatchetKeyResponse @typing.final class GetKeyRequest(google.protobuf.message.Message): @@ -440,7 +440,7 @@ class GetKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> None: ... -global___GetKeyRequest = GetKeyRequest +Global___GetKeyRequest: typing_extensions.TypeAlias = GetKeyRequest @typing.final class GetKeyResponse(google.protobuf.message.Message): @@ -456,7 +456,7 @@ class GetKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key"]) -> None: ... -global___GetKeyResponse = GetKeyResponse +Global___GetKeyResponse: typing_extensions.TypeAlias = GetKeyResponse @typing.final class E2eeRequest(google.protobuf.message.Message): @@ -475,45 +475,45 @@ class E2eeRequest(google.protobuf.message.Message): GET_KEY_FIELD_NUMBER: builtins.int room_handle: builtins.int @property - def manager_set_enabled(self) -> global___E2eeManagerSetEnabledRequest: ... + def manager_set_enabled(self) -> Global___E2eeManagerSetEnabledRequest: ... @property - def manager_get_frame_cryptors(self) -> global___E2eeManagerGetFrameCryptorsRequest: ... + def manager_get_frame_cryptors(self) -> Global___E2eeManagerGetFrameCryptorsRequest: ... @property - def cryptor_set_enabled(self) -> global___FrameCryptorSetEnabledRequest: ... + def cryptor_set_enabled(self) -> Global___FrameCryptorSetEnabledRequest: ... @property - def cryptor_set_key_index(self) -> global___FrameCryptorSetKeyIndexRequest: ... + def cryptor_set_key_index(self) -> Global___FrameCryptorSetKeyIndexRequest: ... @property - def set_shared_key(self) -> global___SetSharedKeyRequest: ... + def set_shared_key(self) -> Global___SetSharedKeyRequest: ... @property - def ratchet_shared_key(self) -> global___RatchetSharedKeyRequest: ... + def ratchet_shared_key(self) -> Global___RatchetSharedKeyRequest: ... @property - def get_shared_key(self) -> global___GetSharedKeyRequest: ... + def get_shared_key(self) -> Global___GetSharedKeyRequest: ... @property - def set_key(self) -> global___SetKeyRequest: ... + def set_key(self) -> Global___SetKeyRequest: ... @property - def ratchet_key(self) -> global___RatchetKeyRequest: ... + def ratchet_key(self) -> Global___RatchetKeyRequest: ... @property - def get_key(self) -> global___GetKeyRequest: ... + def get_key(self) -> Global___GetKeyRequest: ... def __init__( self, *, room_handle: builtins.int | None = ..., - manager_set_enabled: global___E2eeManagerSetEnabledRequest | None = ..., - manager_get_frame_cryptors: global___E2eeManagerGetFrameCryptorsRequest | None = ..., - cryptor_set_enabled: global___FrameCryptorSetEnabledRequest | None = ..., - cryptor_set_key_index: global___FrameCryptorSetKeyIndexRequest | None = ..., - set_shared_key: global___SetSharedKeyRequest | None = ..., - ratchet_shared_key: global___RatchetSharedKeyRequest | None = ..., - get_shared_key: global___GetSharedKeyRequest | None = ..., - set_key: global___SetKeyRequest | None = ..., - ratchet_key: global___RatchetKeyRequest | None = ..., - get_key: global___GetKeyRequest | None = ..., + manager_set_enabled: Global___E2eeManagerSetEnabledRequest | None = ..., + manager_get_frame_cryptors: Global___E2eeManagerGetFrameCryptorsRequest | None = ..., + cryptor_set_enabled: Global___FrameCryptorSetEnabledRequest | None = ..., + cryptor_set_key_index: Global___FrameCryptorSetKeyIndexRequest | None = ..., + set_shared_key: Global___SetSharedKeyRequest | None = ..., + ratchet_shared_key: Global___RatchetSharedKeyRequest | None = ..., + get_shared_key: Global___GetSharedKeyRequest | None = ..., + set_key: Global___SetKeyRequest | None = ..., + ratchet_key: Global___RatchetKeyRequest | None = ..., + get_key: Global___GetKeyRequest | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "room_handle", b"room_handle", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "room_handle", b"room_handle", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["manager_set_enabled", "manager_get_frame_cryptors", "cryptor_set_enabled", "cryptor_set_key_index", "set_shared_key", "ratchet_shared_key", "get_shared_key", "set_key", "ratchet_key", "get_key"] | None: ... -global___E2eeRequest = E2eeRequest +Global___E2eeRequest: typing_extensions.TypeAlias = E2eeRequest @typing.final class E2eeResponse(google.protobuf.message.Message): @@ -530,41 +530,41 @@ class E2eeResponse(google.protobuf.message.Message): RATCHET_KEY_FIELD_NUMBER: builtins.int GET_KEY_FIELD_NUMBER: builtins.int @property - def manager_set_enabled(self) -> global___E2eeManagerSetEnabledResponse: ... + def manager_set_enabled(self) -> Global___E2eeManagerSetEnabledResponse: ... @property - def manager_get_frame_cryptors(self) -> global___E2eeManagerGetFrameCryptorsResponse: ... + def manager_get_frame_cryptors(self) -> Global___E2eeManagerGetFrameCryptorsResponse: ... @property - def cryptor_set_enabled(self) -> global___FrameCryptorSetEnabledResponse: ... + def cryptor_set_enabled(self) -> Global___FrameCryptorSetEnabledResponse: ... @property - def cryptor_set_key_index(self) -> global___FrameCryptorSetKeyIndexResponse: ... + def cryptor_set_key_index(self) -> Global___FrameCryptorSetKeyIndexResponse: ... @property - def set_shared_key(self) -> global___SetSharedKeyResponse: ... + def set_shared_key(self) -> Global___SetSharedKeyResponse: ... @property - def ratchet_shared_key(self) -> global___RatchetSharedKeyResponse: ... + def ratchet_shared_key(self) -> Global___RatchetSharedKeyResponse: ... @property - def get_shared_key(self) -> global___GetSharedKeyResponse: ... + def get_shared_key(self) -> Global___GetSharedKeyResponse: ... @property - def set_key(self) -> global___SetKeyResponse: ... + def set_key(self) -> Global___SetKeyResponse: ... @property - def ratchet_key(self) -> global___RatchetKeyResponse: ... + def ratchet_key(self) -> Global___RatchetKeyResponse: ... @property - def get_key(self) -> global___GetKeyResponse: ... + def get_key(self) -> Global___GetKeyResponse: ... def __init__( self, *, - manager_set_enabled: global___E2eeManagerSetEnabledResponse | None = ..., - manager_get_frame_cryptors: global___E2eeManagerGetFrameCryptorsResponse | None = ..., - cryptor_set_enabled: global___FrameCryptorSetEnabledResponse | None = ..., - cryptor_set_key_index: global___FrameCryptorSetKeyIndexResponse | None = ..., - set_shared_key: global___SetSharedKeyResponse | None = ..., - ratchet_shared_key: global___RatchetSharedKeyResponse | None = ..., - get_shared_key: global___GetSharedKeyResponse | None = ..., - set_key: global___SetKeyResponse | None = ..., - ratchet_key: global___RatchetKeyResponse | None = ..., - get_key: global___GetKeyResponse | None = ..., + manager_set_enabled: Global___E2eeManagerSetEnabledResponse | None = ..., + manager_get_frame_cryptors: Global___E2eeManagerGetFrameCryptorsResponse | None = ..., + cryptor_set_enabled: Global___FrameCryptorSetEnabledResponse | None = ..., + cryptor_set_key_index: Global___FrameCryptorSetKeyIndexResponse | None = ..., + set_shared_key: Global___SetSharedKeyResponse | None = ..., + ratchet_shared_key: Global___RatchetSharedKeyResponse | None = ..., + get_shared_key: Global___GetSharedKeyResponse | None = ..., + set_key: Global___SetKeyResponse | None = ..., + ratchet_key: Global___RatchetKeyResponse | None = ..., + get_key: Global___GetKeyResponse | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["manager_set_enabled", "manager_get_frame_cryptors", "cryptor_set_enabled", "cryptor_set_key_index", "set_shared_key", "ratchet_shared_key", "get_shared_key", "set_key", "ratchet_key", "get_key"] | None: ... -global___E2eeResponse = E2eeResponse +Global___E2eeResponse: typing_extensions.TypeAlias = E2eeResponse diff --git a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py index a48d684f..dec63fea 100644 --- a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: ffi.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'ffi.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,8 +37,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ffi_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_LOGLEVEL']._serialized_start=12859 _globals['_LOGLEVEL']._serialized_end=12942 diff --git a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi index e9ab7705..1a1bddcb 100644 --- a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi @@ -59,7 +59,7 @@ LOG_WARN: LogLevel.ValueType # 1 LOG_INFO: LogLevel.ValueType # 2 LOG_DEBUG: LogLevel.ValueType # 3 LOG_TRACE: LogLevel.ValueType # 4 -global___LogLevel = LogLevel +Global___LogLevel: typing_extensions.TypeAlias = LogLevel @typing.final class FfiRequest(google.protobuf.message.Message): @@ -163,7 +163,7 @@ class FfiRequest(google.protobuf.message.Message): SEND_BYTES_FIELD_NUMBER: builtins.int SET_REMOTE_TRACK_PUBLICATION_QUALITY_FIELD_NUMBER: builtins.int @property - def dispose(self) -> global___DisposeRequest: ... + def dispose(self) -> Global___DisposeRequest: ... @property def connect(self) -> room_pb2.ConnectRequest: """Room""" @@ -319,7 +319,7 @@ class FfiRequest(google.protobuf.message.Message): def __init__( self, *, - dispose: global___DisposeRequest | None = ..., + dispose: Global___DisposeRequest | None = ..., connect: room_pb2.ConnectRequest | None = ..., disconnect: room_pb2.DisconnectRequest | None = ..., publish_track: room_pb2.PublishTrackRequest | None = ..., @@ -391,7 +391,7 @@ class FfiRequest(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["apm_process_reverse_stream", b"apm_process_reverse_stream", "apm_process_stream", b"apm_process_stream", "apm_set_stream_delay", b"apm_set_stream_delay", "audio_stream_from_participant", b"audio_stream_from_participant", "byte_read_all", b"byte_read_all", "byte_read_incremental", b"byte_read_incremental", "byte_stream_close", b"byte_stream_close", "byte_stream_open", b"byte_stream_open", "byte_stream_write", b"byte_stream_write", "byte_write_to_file", b"byte_write_to_file", "capture_audio_frame", b"capture_audio_frame", "capture_video_frame", b"capture_video_frame", "clear_audio_buffer", b"clear_audio_buffer", "connect", b"connect", "create_audio_track", b"create_audio_track", "create_video_track", b"create_video_track", "disconnect", b"disconnect", "dispose", b"dispose", "e2ee", b"e2ee", "edit_chat_message", b"edit_chat_message", "enable_remote_track", b"enable_remote_track", "enable_remote_track_publication", b"enable_remote_track_publication", "flush_sox_resampler", b"flush_sox_resampler", "get_session_stats", b"get_session_stats", "get_stats", b"get_stats", "load_audio_filter_plugin", b"load_audio_filter_plugin", "local_track_mute", b"local_track_mute", "message", b"message", "new_apm", b"new_apm", "new_audio_resampler", b"new_audio_resampler", "new_audio_source", b"new_audio_source", "new_audio_stream", b"new_audio_stream", "new_sox_resampler", b"new_sox_resampler", "new_video_source", b"new_video_source", "new_video_stream", b"new_video_stream", "perform_rpc", b"perform_rpc", "publish_data", b"publish_data", "publish_sip_dtmf", b"publish_sip_dtmf", "publish_track", b"publish_track", "publish_transcription", b"publish_transcription", "push_sox_resampler", b"push_sox_resampler", "register_rpc_method", b"register_rpc_method", "remix_and_resample", b"remix_and_resample", "rpc_method_invocation_response", b"rpc_method_invocation_response", "send_bytes", b"send_bytes", "send_chat_message", b"send_chat_message", "send_file", b"send_file", "send_stream_chunk", b"send_stream_chunk", "send_stream_header", b"send_stream_header", "send_stream_trailer", b"send_stream_trailer", "send_text", b"send_text", "set_data_channel_buffered_amount_low_threshold", b"set_data_channel_buffered_amount_low_threshold", "set_local_attributes", b"set_local_attributes", "set_local_metadata", b"set_local_metadata", "set_local_name", b"set_local_name", "set_remote_track_publication_quality", b"set_remote_track_publication_quality", "set_subscribed", b"set_subscribed", "set_track_subscription_permissions", b"set_track_subscription_permissions", "text_read_all", b"text_read_all", "text_read_incremental", b"text_read_incremental", "text_stream_close", b"text_stream_close", "text_stream_open", b"text_stream_open", "text_stream_write", b"text_stream_write", "unpublish_track", b"unpublish_track", "unregister_rpc_method", b"unregister_rpc_method", "update_remote_track_publication_dimension", b"update_remote_track_publication_dimension", "video_convert", b"video_convert", "video_stream_from_participant", b"video_stream_from_participant"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["dispose", "connect", "disconnect", "publish_track", "unpublish_track", "publish_data", "set_subscribed", "set_local_metadata", "set_local_name", "set_local_attributes", "get_session_stats", "publish_transcription", "publish_sip_dtmf", "create_video_track", "create_audio_track", "local_track_mute", "enable_remote_track", "get_stats", "set_track_subscription_permissions", "new_video_stream", "new_video_source", "capture_video_frame", "video_convert", "video_stream_from_participant", "new_audio_stream", "new_audio_source", "capture_audio_frame", "clear_audio_buffer", "new_audio_resampler", "remix_and_resample", "e2ee", "audio_stream_from_participant", "new_sox_resampler", "push_sox_resampler", "flush_sox_resampler", "send_chat_message", "edit_chat_message", "perform_rpc", "register_rpc_method", "unregister_rpc_method", "rpc_method_invocation_response", "enable_remote_track_publication", "update_remote_track_publication_dimension", "send_stream_header", "send_stream_chunk", "send_stream_trailer", "set_data_channel_buffered_amount_low_threshold", "load_audio_filter_plugin", "new_apm", "apm_process_stream", "apm_process_reverse_stream", "apm_set_stream_delay", "byte_read_incremental", "byte_read_all", "byte_write_to_file", "text_read_incremental", "text_read_all", "send_file", "send_text", "byte_stream_open", "byte_stream_write", "byte_stream_close", "text_stream_open", "text_stream_write", "text_stream_close", "send_bytes", "set_remote_track_publication_quality"] | None: ... -global___FfiRequest = FfiRequest +Global___FfiRequest: typing_extensions.TypeAlias = FfiRequest @typing.final class FfiResponse(google.protobuf.message.Message): @@ -466,7 +466,7 @@ class FfiResponse(google.protobuf.message.Message): SEND_BYTES_FIELD_NUMBER: builtins.int SET_REMOTE_TRACK_PUBLICATION_QUALITY_FIELD_NUMBER: builtins.int @property - def dispose(self) -> global___DisposeResponse: ... + def dispose(self) -> Global___DisposeResponse: ... @property def connect(self) -> room_pb2.ConnectResponse: """Room""" @@ -620,7 +620,7 @@ class FfiResponse(google.protobuf.message.Message): def __init__( self, *, - dispose: global___DisposeResponse | None = ..., + dispose: Global___DisposeResponse | None = ..., connect: room_pb2.ConnectResponse | None = ..., disconnect: room_pb2.DisconnectResponse | None = ..., publish_track: room_pb2.PublishTrackResponse | None = ..., @@ -691,7 +691,7 @@ class FfiResponse(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["apm_process_reverse_stream", b"apm_process_reverse_stream", "apm_process_stream", b"apm_process_stream", "apm_set_stream_delay", b"apm_set_stream_delay", "audio_stream_from_participant", b"audio_stream_from_participant", "byte_read_all", b"byte_read_all", "byte_read_incremental", b"byte_read_incremental", "byte_stream_close", b"byte_stream_close", "byte_stream_open", b"byte_stream_open", "byte_stream_write", b"byte_stream_write", "byte_write_to_file", b"byte_write_to_file", "capture_audio_frame", b"capture_audio_frame", "capture_video_frame", b"capture_video_frame", "clear_audio_buffer", b"clear_audio_buffer", "connect", b"connect", "create_audio_track", b"create_audio_track", "create_video_track", b"create_video_track", "disconnect", b"disconnect", "dispose", b"dispose", "e2ee", b"e2ee", "enable_remote_track", b"enable_remote_track", "enable_remote_track_publication", b"enable_remote_track_publication", "flush_sox_resampler", b"flush_sox_resampler", "get_session_stats", b"get_session_stats", "get_stats", b"get_stats", "load_audio_filter_plugin", b"load_audio_filter_plugin", "local_track_mute", b"local_track_mute", "message", b"message", "new_apm", b"new_apm", "new_audio_resampler", b"new_audio_resampler", "new_audio_source", b"new_audio_source", "new_audio_stream", b"new_audio_stream", "new_sox_resampler", b"new_sox_resampler", "new_video_source", b"new_video_source", "new_video_stream", b"new_video_stream", "perform_rpc", b"perform_rpc", "publish_data", b"publish_data", "publish_sip_dtmf", b"publish_sip_dtmf", "publish_track", b"publish_track", "publish_transcription", b"publish_transcription", "push_sox_resampler", b"push_sox_resampler", "register_rpc_method", b"register_rpc_method", "remix_and_resample", b"remix_and_resample", "rpc_method_invocation_response", b"rpc_method_invocation_response", "send_bytes", b"send_bytes", "send_chat_message", b"send_chat_message", "send_file", b"send_file", "send_stream_chunk", b"send_stream_chunk", "send_stream_header", b"send_stream_header", "send_stream_trailer", b"send_stream_trailer", "send_text", b"send_text", "set_data_channel_buffered_amount_low_threshold", b"set_data_channel_buffered_amount_low_threshold", "set_local_attributes", b"set_local_attributes", "set_local_metadata", b"set_local_metadata", "set_local_name", b"set_local_name", "set_remote_track_publication_quality", b"set_remote_track_publication_quality", "set_subscribed", b"set_subscribed", "set_track_subscription_permissions", b"set_track_subscription_permissions", "text_read_all", b"text_read_all", "text_read_incremental", b"text_read_incremental", "text_stream_close", b"text_stream_close", "text_stream_open", b"text_stream_open", "text_stream_write", b"text_stream_write", "unpublish_track", b"unpublish_track", "unregister_rpc_method", b"unregister_rpc_method", "update_remote_track_publication_dimension", b"update_remote_track_publication_dimension", "video_convert", b"video_convert", "video_stream_from_participant", b"video_stream_from_participant"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["dispose", "connect", "disconnect", "publish_track", "unpublish_track", "publish_data", "set_subscribed", "set_local_metadata", "set_local_name", "set_local_attributes", "get_session_stats", "publish_transcription", "publish_sip_dtmf", "create_video_track", "create_audio_track", "local_track_mute", "enable_remote_track", "get_stats", "set_track_subscription_permissions", "new_video_stream", "new_video_source", "capture_video_frame", "video_convert", "video_stream_from_participant", "new_audio_stream", "new_audio_source", "capture_audio_frame", "clear_audio_buffer", "new_audio_resampler", "remix_and_resample", "audio_stream_from_participant", "e2ee", "new_sox_resampler", "push_sox_resampler", "flush_sox_resampler", "send_chat_message", "perform_rpc", "register_rpc_method", "unregister_rpc_method", "rpc_method_invocation_response", "enable_remote_track_publication", "update_remote_track_publication_dimension", "send_stream_header", "send_stream_chunk", "send_stream_trailer", "set_data_channel_buffered_amount_low_threshold", "load_audio_filter_plugin", "new_apm", "apm_process_stream", "apm_process_reverse_stream", "apm_set_stream_delay", "byte_read_incremental", "byte_read_all", "byte_write_to_file", "text_read_incremental", "text_read_all", "send_file", "send_text", "byte_stream_open", "byte_stream_write", "byte_stream_close", "text_stream_open", "text_stream_write", "text_stream_close", "send_bytes", "set_remote_track_publication_quality"] | None: ... -global___FfiResponse = FfiResponse +Global___FfiResponse: typing_extensions.TypeAlias = FfiResponse @typing.final class FfiEvent(google.protobuf.message.Message): @@ -755,7 +755,7 @@ class FfiEvent(google.protobuf.message.Message): @property def disconnect(self) -> room_pb2.DisconnectCallback: ... @property - def dispose(self) -> global___DisposeCallback: ... + def dispose(self) -> Global___DisposeCallback: ... @property def publish_track(self) -> room_pb2.PublishTrackCallback: ... @property @@ -775,11 +775,11 @@ class FfiEvent(google.protobuf.message.Message): @property def get_stats(self) -> track_pb2.GetStatsCallback: ... @property - def logs(self) -> global___LogBatch: ... + def logs(self) -> Global___LogBatch: ... @property def get_session_stats(self) -> room_pb2.GetSessionStatsCallback: ... @property - def panic(self) -> global___Panic: ... + def panic(self) -> Global___Panic: ... @property def publish_sip_dtmf(self) -> room_pb2.PublishSipDtmfCallback: ... @property @@ -835,7 +835,7 @@ class FfiEvent(google.protobuf.message.Message): audio_stream_event: audio_frame_pb2.AudioStreamEvent | None = ..., connect: room_pb2.ConnectCallback | None = ..., disconnect: room_pb2.DisconnectCallback | None = ..., - dispose: global___DisposeCallback | None = ..., + dispose: Global___DisposeCallback | None = ..., publish_track: room_pb2.PublishTrackCallback | None = ..., unpublish_track: room_pb2.UnpublishTrackCallback | None = ..., publish_data: room_pb2.PublishDataCallback | None = ..., @@ -845,9 +845,9 @@ class FfiEvent(google.protobuf.message.Message): set_local_name: room_pb2.SetLocalNameCallback | None = ..., set_local_attributes: room_pb2.SetLocalAttributesCallback | None = ..., get_stats: track_pb2.GetStatsCallback | None = ..., - logs: global___LogBatch | None = ..., + logs: Global___LogBatch | None = ..., get_session_stats: room_pb2.GetSessionStatsCallback | None = ..., - panic: global___Panic | None = ..., + panic: Global___Panic | None = ..., publish_sip_dtmf: room_pb2.PublishSipDtmfCallback | None = ..., chat_message: room_pb2.SendChatMessageCallback | None = ..., perform_rpc: rpc_pb2.PerformRpcCallback | None = ..., @@ -874,7 +874,7 @@ class FfiEvent(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["audio_stream_event", b"audio_stream_event", "byte_stream_open", b"byte_stream_open", "byte_stream_reader_event", b"byte_stream_reader_event", "byte_stream_reader_read_all", b"byte_stream_reader_read_all", "byte_stream_reader_write_to_file", b"byte_stream_reader_write_to_file", "byte_stream_writer_close", b"byte_stream_writer_close", "byte_stream_writer_write", b"byte_stream_writer_write", "capture_audio_frame", b"capture_audio_frame", "chat_message", b"chat_message", "connect", b"connect", "disconnect", b"disconnect", "dispose", b"dispose", "get_session_stats", b"get_session_stats", "get_stats", b"get_stats", "logs", b"logs", "message", b"message", "panic", b"panic", "perform_rpc", b"perform_rpc", "publish_data", b"publish_data", "publish_sip_dtmf", b"publish_sip_dtmf", "publish_track", b"publish_track", "publish_transcription", b"publish_transcription", "room_event", b"room_event", "rpc_method_invocation", b"rpc_method_invocation", "send_bytes", b"send_bytes", "send_file", b"send_file", "send_stream_chunk", b"send_stream_chunk", "send_stream_header", b"send_stream_header", "send_stream_trailer", b"send_stream_trailer", "send_text", b"send_text", "set_local_attributes", b"set_local_attributes", "set_local_metadata", b"set_local_metadata", "set_local_name", b"set_local_name", "text_stream_open", b"text_stream_open", "text_stream_reader_event", b"text_stream_reader_event", "text_stream_reader_read_all", b"text_stream_reader_read_all", "text_stream_writer_close", b"text_stream_writer_close", "text_stream_writer_write", b"text_stream_writer_write", "track_event", b"track_event", "unpublish_track", b"unpublish_track", "video_stream_event", b"video_stream_event"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["room_event", "track_event", "video_stream_event", "audio_stream_event", "connect", "disconnect", "dispose", "publish_track", "unpublish_track", "publish_data", "publish_transcription", "capture_audio_frame", "set_local_metadata", "set_local_name", "set_local_attributes", "get_stats", "logs", "get_session_stats", "panic", "publish_sip_dtmf", "chat_message", "perform_rpc", "rpc_method_invocation", "send_stream_header", "send_stream_chunk", "send_stream_trailer", "byte_stream_reader_event", "byte_stream_reader_read_all", "byte_stream_reader_write_to_file", "byte_stream_open", "byte_stream_writer_write", "byte_stream_writer_close", "send_file", "text_stream_reader_event", "text_stream_reader_read_all", "text_stream_open", "text_stream_writer_write", "text_stream_writer_close", "send_text", "send_bytes"] | None: ... -global___FfiEvent = FfiEvent +Global___FfiEvent: typing_extensions.TypeAlias = FfiEvent @typing.final class DisposeRequest(google.protobuf.message.Message): @@ -892,7 +892,7 @@ class DisposeRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async", b"async"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async", b"async"]) -> None: ... -global___DisposeRequest = DisposeRequest +Global___DisposeRequest: typing_extensions.TypeAlias = DisposeRequest @typing.final class DisposeResponse(google.protobuf.message.Message): @@ -909,7 +909,7 @@ class DisposeResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___DisposeResponse = DisposeResponse +Global___DisposeResponse: typing_extensions.TypeAlias = DisposeResponse @typing.final class DisposeCallback(google.protobuf.message.Message): @@ -925,7 +925,7 @@ class DisposeCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___DisposeCallback = DisposeCallback +Global___DisposeCallback: typing_extensions.TypeAlias = DisposeCallback @typing.final class LogRecord(google.protobuf.message.Message): @@ -937,7 +937,7 @@ class LogRecord(google.protobuf.message.Message): FILE_FIELD_NUMBER: builtins.int LINE_FIELD_NUMBER: builtins.int MESSAGE_FIELD_NUMBER: builtins.int - level: global___LogLevel.ValueType + level: Global___LogLevel.ValueType target: builtins.str """e.g "livekit", "libwebrtc", "tokio-tungstenite", etc...""" module_path: builtins.str @@ -947,7 +947,7 @@ class LogRecord(google.protobuf.message.Message): def __init__( self, *, - level: global___LogLevel.ValueType | None = ..., + level: Global___LogLevel.ValueType | None = ..., target: builtins.str | None = ..., module_path: builtins.str | None = ..., file: builtins.str | None = ..., @@ -957,7 +957,7 @@ class LogRecord(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["file", b"file", "level", b"level", "line", b"line", "message", b"message", "module_path", b"module_path", "target", b"target"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["file", b"file", "level", b"level", "line", b"line", "message", b"message", "module_path", b"module_path", "target", b"target"]) -> None: ... -global___LogRecord = LogRecord +Global___LogRecord: typing_extensions.TypeAlias = LogRecord @typing.final class LogBatch(google.protobuf.message.Message): @@ -965,15 +965,15 @@ class LogBatch(google.protobuf.message.Message): RECORDS_FIELD_NUMBER: builtins.int @property - def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogRecord]: ... + def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___LogRecord]: ... def __init__( self, *, - records: collections.abc.Iterable[global___LogRecord] | None = ..., + records: collections.abc.Iterable[Global___LogRecord] | None = ..., ) -> None: ... def ClearField(self, field_name: typing.Literal["records", b"records"]) -> None: ... -global___LogBatch = LogBatch +Global___LogBatch: typing_extensions.TypeAlias = LogBatch @typing.final class Panic(google.protobuf.message.Message): @@ -989,4 +989,4 @@ class Panic(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ... -global___Panic = Panic +Global___Panic: typing_extensions.TypeAlias = Panic diff --git a/livekit-rtc/livekit/rtc/_proto/handle_pb2.py b/livekit-rtc/livekit/rtc/_proto/handle_pb2.py index 2ae2db78..ee00e56b 100644 --- a/livekit-rtc/livekit/rtc/_proto/handle_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/handle_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: handle.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'handle.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'handle_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_FFIOWNEDHANDLE']._serialized_start=31 _globals['_FFIOWNEDHANDLE']._serialized_end=59 diff --git a/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi index d433a6c2..96bb20e3 100644 --- a/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi @@ -19,8 +19,14 @@ limitations under the License. import builtins import google.protobuf.descriptor import google.protobuf.message +import sys import typing +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + DESCRIPTOR: google.protobuf.descriptor.FileDescriptor @typing.final @@ -48,4 +54,4 @@ class FfiOwnedHandle(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ... -global___FfiOwnedHandle = FfiOwnedHandle +Global___FfiOwnedHandle: typing_extensions.TypeAlias = FfiOwnedHandle diff --git a/livekit-rtc/livekit/rtc/_proto/participant_pb2.py b/livekit-rtc/livekit/rtc/_proto/participant_pb2.py index f34ab20c..ee84eb64 100644 --- a/livekit-rtc/livekit/rtc/_proto/participant_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/participant_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: participant.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'participant.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,24 +25,26 @@ from . import handle_pb2 as handle__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11participant.proto\x12\rlivekit.proto\x1a\x0chandle.proto\"\xb1\x02\n\x0fParticipantInfo\x12\x0b\n\x03sid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x10\n\x08identity\x18\x03 \x02(\t\x12\x10\n\x08metadata\x18\x04 \x02(\t\x12\x42\n\nattributes\x18\x05 \x03(\x0b\x32..livekit.proto.ParticipantInfo.AttributesEntry\x12,\n\x04kind\x18\x06 \x02(\x0e\x32\x1e.livekit.proto.ParticipantKind\x12:\n\x11\x64isconnect_reason\x18\x07 \x02(\x0e\x32\x1f.livekit.proto.DisconnectReason\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x10OwnedParticipant\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12,\n\x04info\x18\x02 \x02(\x0b\x32\x1e.livekit.proto.ParticipantInfo*\xc1\x01\n\x0fParticipantKind\x12\x1d\n\x19PARTICIPANT_KIND_STANDARD\x10\x00\x12\x1c\n\x18PARTICIPANT_KIND_INGRESS\x10\x01\x12\x1b\n\x17PARTICIPANT_KIND_EGRESS\x10\x02\x12\x18\n\x14PARTICIPANT_KIND_SIP\x10\x03\x12\x1a\n\x16PARTICIPANT_KIND_AGENT\x10\x04\x12\x1e\n\x1aPARTICIPANT_KIND_CONNECTOR\x10\x05*\xd7\x02\n\x10\x44isconnectReason\x12\x12\n\x0eUNKNOWN_REASON\x10\x00\x12\x14\n\x10\x43LIENT_INITIATED\x10\x01\x12\x16\n\x12\x44UPLICATE_IDENTITY\x10\x02\x12\x13\n\x0fSERVER_SHUTDOWN\x10\x03\x12\x17\n\x13PARTICIPANT_REMOVED\x10\x04\x12\x10\n\x0cROOM_DELETED\x10\x05\x12\x12\n\x0eSTATE_MISMATCH\x10\x06\x12\x10\n\x0cJOIN_FAILURE\x10\x07\x12\r\n\tMIGRATION\x10\x08\x12\x10\n\x0cSIGNAL_CLOSE\x10\t\x12\x0f\n\x0bROOM_CLOSED\x10\n\x12\x14\n\x10USER_UNAVAILABLE\x10\x0b\x12\x11\n\rUSER_REJECTED\x10\x0c\x12\x15\n\x11SIP_TRUNK_FAILURE\x10\r\x12\x16\n\x12\x43ONNECTION_TIMEOUT\x10\x0e\x12\x11\n\rMEDIA_FAILURE\x10\x0f\x42\x10\xaa\x02\rLiveKit.Proto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11participant.proto\x12\rlivekit.proto\x1a\x0chandle.proto\"\xed\x02\n\x0fParticipantInfo\x12\x0b\n\x03sid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x10\n\x08identity\x18\x03 \x02(\t\x12\x10\n\x08metadata\x18\x04 \x02(\t\x12\x42\n\nattributes\x18\x05 \x03(\x0b\x32..livekit.proto.ParticipantInfo.AttributesEntry\x12,\n\x04kind\x18\x06 \x02(\x0e\x32\x1e.livekit.proto.ParticipantKind\x12:\n\x11\x64isconnect_reason\x18\x07 \x02(\x0e\x32\x1f.livekit.proto.DisconnectReason\x12:\n\x0ckind_details\x18\x08 \x03(\x0e\x32$.livekit.proto.ParticipantKindDetail\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x10OwnedParticipant\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12,\n\x04info\x18\x02 \x02(\x0b\x32\x1e.livekit.proto.ParticipantInfo*\xc1\x01\n\x0fParticipantKind\x12\x1d\n\x19PARTICIPANT_KIND_STANDARD\x10\x00\x12\x1c\n\x18PARTICIPANT_KIND_INGRESS\x10\x01\x12\x1b\n\x17PARTICIPANT_KIND_EGRESS\x10\x02\x12\x18\n\x14PARTICIPANT_KIND_SIP\x10\x03\x12\x1a\n\x16PARTICIPANT_KIND_AGENT\x10\x04\x12\x1e\n\x1aPARTICIPANT_KIND_CONNECTOR\x10\x05*\xc5\x01\n\x15ParticipantKindDetail\x12\'\n#PARTICIPANT_KIND_DETAIL_CLOUD_AGENT\x10\x00\x12%\n!PARTICIPANT_KIND_DETAIL_FORWARDED\x10\x01\x12.\n*PARTICIPANT_KIND_DETAIL_CONNECTOR_WHATSAPP\x10\x02\x12,\n(PARTICIPANT_KIND_DETAIL_CONNECTOR_TWILIO\x10\x03*\xd7\x02\n\x10\x44isconnectReason\x12\x12\n\x0eUNKNOWN_REASON\x10\x00\x12\x14\n\x10\x43LIENT_INITIATED\x10\x01\x12\x16\n\x12\x44UPLICATE_IDENTITY\x10\x02\x12\x13\n\x0fSERVER_SHUTDOWN\x10\x03\x12\x17\n\x13PARTICIPANT_REMOVED\x10\x04\x12\x10\n\x0cROOM_DELETED\x10\x05\x12\x12\n\x0eSTATE_MISMATCH\x10\x06\x12\x10\n\x0cJOIN_FAILURE\x10\x07\x12\r\n\tMIGRATION\x10\x08\x12\x10\n\x0cSIGNAL_CLOSE\x10\t\x12\x0f\n\x0bROOM_CLOSED\x10\n\x12\x14\n\x10USER_UNAVAILABLE\x10\x0b\x12\x11\n\rUSER_REJECTED\x10\x0c\x12\x15\n\x11SIP_TRUNK_FAILURE\x10\r\x12\x16\n\x12\x43ONNECTION_TIMEOUT\x10\x0e\x12\x11\n\rMEDIA_FAILURE\x10\x0f\x42\x10\xaa\x02\rLiveKit.Proto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'participant_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._options = None + _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._loaded_options = None _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_PARTICIPANTKIND']._serialized_start=472 - _globals['_PARTICIPANTKIND']._serialized_end=665 - _globals['_DISCONNECTREASON']._serialized_start=668 - _globals['_DISCONNECTREASON']._serialized_end=1011 + _globals['_PARTICIPANTKIND']._serialized_start=532 + _globals['_PARTICIPANTKIND']._serialized_end=725 + _globals['_PARTICIPANTKINDDETAIL']._serialized_start=728 + _globals['_PARTICIPANTKINDDETAIL']._serialized_end=925 + _globals['_DISCONNECTREASON']._serialized_start=928 + _globals['_DISCONNECTREASON']._serialized_end=1271 _globals['_PARTICIPANTINFO']._serialized_start=51 - _globals['_PARTICIPANTINFO']._serialized_end=356 - _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_start=307 - _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_end=356 - _globals['_OWNEDPARTICIPANT']._serialized_start=358 - _globals['_OWNEDPARTICIPANT']._serialized_end=469 + _globals['_PARTICIPANTINFO']._serialized_end=416 + _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_start=367 + _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_end=416 + _globals['_OWNEDPARTICIPANT']._serialized_start=418 + _globals['_OWNEDPARTICIPANT']._serialized_end=529 # @@protoc_insertion_point(module_scope) diff --git a/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi index 8ba94b21..2e1544e7 100644 --- a/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi @@ -54,7 +54,26 @@ PARTICIPANT_KIND_EGRESS: ParticipantKind.ValueType # 2 PARTICIPANT_KIND_SIP: ParticipantKind.ValueType # 3 PARTICIPANT_KIND_AGENT: ParticipantKind.ValueType # 4 PARTICIPANT_KIND_CONNECTOR: ParticipantKind.ValueType # 5 -global___ParticipantKind = ParticipantKind +Global___ParticipantKind: typing_extensions.TypeAlias = ParticipantKind + +class _ParticipantKindDetail: + ValueType = typing.NewType("ValueType", builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _ParticipantKindDetailEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ParticipantKindDetail.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + PARTICIPANT_KIND_DETAIL_CLOUD_AGENT: _ParticipantKindDetail.ValueType # 0 + PARTICIPANT_KIND_DETAIL_FORWARDED: _ParticipantKindDetail.ValueType # 1 + PARTICIPANT_KIND_DETAIL_CONNECTOR_WHATSAPP: _ParticipantKindDetail.ValueType # 2 + PARTICIPANT_KIND_DETAIL_CONNECTOR_TWILIO: _ParticipantKindDetail.ValueType # 3 + +class ParticipantKindDetail(_ParticipantKindDetail, metaclass=_ParticipantKindDetailEnumTypeWrapper): ... + +PARTICIPANT_KIND_DETAIL_CLOUD_AGENT: ParticipantKindDetail.ValueType # 0 +PARTICIPANT_KIND_DETAIL_FORWARDED: ParticipantKindDetail.ValueType # 1 +PARTICIPANT_KIND_DETAIL_CONNECTOR_WHATSAPP: ParticipantKindDetail.ValueType # 2 +PARTICIPANT_KIND_DETAIL_CONNECTOR_TWILIO: ParticipantKindDetail.ValueType # 3 +Global___ParticipantKindDetail: typing_extensions.TypeAlias = ParticipantKindDetail class _DisconnectReason: ValueType = typing.NewType("ValueType", builtins.int) @@ -123,7 +142,7 @@ SIP_TRUNK_FAILURE: DisconnectReason.ValueType # 13 """SIP protocol failure or unexpected response""" CONNECTION_TIMEOUT: DisconnectReason.ValueType # 14 MEDIA_FAILURE: DisconnectReason.ValueType # 15 -global___DisconnectReason = DisconnectReason +Global___DisconnectReason: typing_extensions.TypeAlias = DisconnectReason @typing.final class ParticipantInfo(google.protobuf.message.Message): @@ -153,14 +172,17 @@ class ParticipantInfo(google.protobuf.message.Message): ATTRIBUTES_FIELD_NUMBER: builtins.int KIND_FIELD_NUMBER: builtins.int DISCONNECT_REASON_FIELD_NUMBER: builtins.int + KIND_DETAILS_FIELD_NUMBER: builtins.int sid: builtins.str name: builtins.str identity: builtins.str metadata: builtins.str - kind: global___ParticipantKind.ValueType - disconnect_reason: global___DisconnectReason.ValueType + kind: Global___ParticipantKind.ValueType + disconnect_reason: Global___DisconnectReason.ValueType @property def attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + @property + def kind_details(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[Global___ParticipantKindDetail.ValueType]: ... def __init__( self, *, @@ -169,13 +191,14 @@ class ParticipantInfo(google.protobuf.message.Message): identity: builtins.str | None = ..., metadata: builtins.str | None = ..., attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - kind: global___ParticipantKind.ValueType | None = ..., - disconnect_reason: global___DisconnectReason.ValueType | None = ..., + kind: Global___ParticipantKind.ValueType | None = ..., + disconnect_reason: Global___DisconnectReason.ValueType | None = ..., + kind_details: collections.abc.Iterable[Global___ParticipantKindDetail.ValueType] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "identity", b"identity", "kind", b"kind", "metadata", b"metadata", "name", b"name", "sid", b"sid"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "disconnect_reason", b"disconnect_reason", "identity", b"identity", "kind", b"kind", "metadata", b"metadata", "name", b"name", "sid", b"sid"]) -> None: ... + def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "disconnect_reason", b"disconnect_reason", "identity", b"identity", "kind", b"kind", "kind_details", b"kind_details", "metadata", b"metadata", "name", b"name", "sid", b"sid"]) -> None: ... -global___ParticipantInfo = ParticipantInfo +Global___ParticipantInfo: typing_extensions.TypeAlias = ParticipantInfo @typing.final class OwnedParticipant(google.protobuf.message.Message): @@ -186,14 +209,14 @@ class OwnedParticipant(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___ParticipantInfo: ... + def info(self) -> Global___ParticipantInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___ParticipantInfo | None = ..., + info: Global___ParticipantInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedParticipant = OwnedParticipant +Global___OwnedParticipant: typing_extensions.TypeAlias = OwnedParticipant diff --git a/livekit-rtc/livekit/rtc/_proto/room_pb2.py b/livekit-rtc/livekit/rtc/_proto/room_pb2.py index 5bf06771..ee6e0cc2 100644 --- a/livekit-rtc/livekit/rtc/_proto/room_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/room_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: room.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'room.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -26,16 +36,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'room_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_PUBLISHDATAREQUEST'].fields_by_name['destination_sids']._options = None + _globals['_PUBLISHDATAREQUEST'].fields_by_name['destination_sids']._loaded_options = None _globals['_PUBLISHDATAREQUEST'].fields_by_name['destination_sids']._serialized_options = b'\030\001' - _globals['_ROOMOPTIONS'].fields_by_name['e2ee']._options = None + _globals['_ROOMOPTIONS'].fields_by_name['e2ee']._loaded_options = None _globals['_ROOMOPTIONS'].fields_by_name['e2ee']._serialized_options = b'\030\001' - _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._options = None + _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._loaded_options = None _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._options = None + _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._loaded_options = None _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._serialized_options = b'8\001' _globals['_ICETRANSPORTTYPE']._serialized_start=13172 _globals['_ICETRANSPORTTYPE']._serialized_end=13252 diff --git a/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi index 09b875e5..fb7d61f3 100644 --- a/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi @@ -54,7 +54,7 @@ class IceTransportType(_IceTransportType, metaclass=_IceTransportTypeEnumTypeWra TRANSPORT_RELAY: IceTransportType.ValueType # 0 TRANSPORT_NOHOST: IceTransportType.ValueType # 1 TRANSPORT_ALL: IceTransportType.ValueType # 2 -global___IceTransportType = IceTransportType +Global___IceTransportType: typing_extensions.TypeAlias = IceTransportType class _ContinualGatheringPolicy: ValueType = typing.NewType("ValueType", builtins.int) @@ -69,7 +69,7 @@ class ContinualGatheringPolicy(_ContinualGatheringPolicy, metaclass=_ContinualGa GATHER_ONCE: ContinualGatheringPolicy.ValueType # 0 GATHER_CONTINUALLY: ContinualGatheringPolicy.ValueType # 1 -global___ContinualGatheringPolicy = ContinualGatheringPolicy +Global___ContinualGatheringPolicy: typing_extensions.TypeAlias = ContinualGatheringPolicy class _ConnectionQuality: ValueType = typing.NewType("ValueType", builtins.int) @@ -91,7 +91,7 @@ QUALITY_POOR: ConnectionQuality.ValueType # 0 QUALITY_GOOD: ConnectionQuality.ValueType # 1 QUALITY_EXCELLENT: ConnectionQuality.ValueType # 2 QUALITY_LOST: ConnectionQuality.ValueType # 3 -global___ConnectionQuality = ConnectionQuality +Global___ConnectionQuality: typing_extensions.TypeAlias = ConnectionQuality class _ConnectionState: ValueType = typing.NewType("ValueType", builtins.int) @@ -108,7 +108,7 @@ class ConnectionState(_ConnectionState, metaclass=_ConnectionStateEnumTypeWrappe CONN_DISCONNECTED: ConnectionState.ValueType # 0 CONN_CONNECTED: ConnectionState.ValueType # 1 CONN_RECONNECTING: ConnectionState.ValueType # 2 -global___ConnectionState = ConnectionState +Global___ConnectionState: typing_extensions.TypeAlias = ConnectionState class _DataPacketKind: ValueType = typing.NewType("ValueType", builtins.int) @@ -123,7 +123,7 @@ class DataPacketKind(_DataPacketKind, metaclass=_DataPacketKindEnumTypeWrapper): KIND_LOSSY: DataPacketKind.ValueType # 0 KIND_RELIABLE: DataPacketKind.ValueType # 1 -global___DataPacketKind = DataPacketKind +Global___DataPacketKind: typing_extensions.TypeAlias = DataPacketKind @typing.final class ConnectRequest(google.protobuf.message.Message): @@ -137,18 +137,18 @@ class ConnectRequest(google.protobuf.message.Message): url: builtins.str token: builtins.str @property - def options(self) -> global___RoomOptions: ... + def options(self) -> Global___RoomOptions: ... def __init__( self, *, url: builtins.str | None = ..., token: builtins.str | None = ..., - options: global___RoomOptions | None = ..., + options: Global___RoomOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["options", b"options", "token", b"token", "url", b"url"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["options", b"options", "token", b"token", "url", b"url"]) -> None: ... -global___ConnectRequest = ConnectRequest +Global___ConnectRequest: typing_extensions.TypeAlias = ConnectRequest @typing.final class ConnectResponse(google.protobuf.message.Message): @@ -164,7 +164,7 @@ class ConnectResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___ConnectResponse = ConnectResponse +Global___ConnectResponse: typing_extensions.TypeAlias = ConnectResponse @typing.final class ConnectCallback(google.protobuf.message.Message): @@ -201,17 +201,17 @@ class ConnectCallback(google.protobuf.message.Message): LOCAL_PARTICIPANT_FIELD_NUMBER: builtins.int PARTICIPANTS_FIELD_NUMBER: builtins.int @property - def room(self) -> global___OwnedRoom: ... + def room(self) -> Global___OwnedRoom: ... @property def local_participant(self) -> participant_pb2.OwnedParticipant: ... @property - def participants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectCallback.ParticipantWithTracks]: ... + def participants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___ConnectCallback.ParticipantWithTracks]: ... def __init__( self, *, - room: global___OwnedRoom | None = ..., + room: Global___OwnedRoom | None = ..., local_participant: participant_pb2.OwnedParticipant | None = ..., - participants: collections.abc.Iterable[global___ConnectCallback.ParticipantWithTracks] | None = ..., + participants: collections.abc.Iterable[Global___ConnectCallback.ParticipantWithTracks] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant", b"local_participant", "room", b"room"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant", b"local_participant", "participants", b"participants", "room", b"room"]) -> None: ... @@ -222,19 +222,19 @@ class ConnectCallback(google.protobuf.message.Message): async_id: builtins.int error: builtins.str @property - def result(self) -> global___ConnectCallback.Result: ... + def result(self) -> Global___ConnectCallback.Result: ... def __init__( self, *, async_id: builtins.int | None = ..., error: builtins.str | None = ..., - result: global___ConnectCallback.Result | None = ..., + result: Global___ConnectCallback.Result | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "result"] | None: ... -global___ConnectCallback = ConnectCallback +Global___ConnectCallback: typing_extensions.TypeAlias = ConnectCallback @typing.final class DisconnectRequest(google.protobuf.message.Message): @@ -252,7 +252,7 @@ class DisconnectRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> None: ... -global___DisconnectRequest = DisconnectRequest +Global___DisconnectRequest: typing_extensions.TypeAlias = DisconnectRequest @typing.final class DisconnectResponse(google.protobuf.message.Message): @@ -268,7 +268,7 @@ class DisconnectResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___DisconnectResponse = DisconnectResponse +Global___DisconnectResponse: typing_extensions.TypeAlias = DisconnectResponse @typing.final class DisconnectCallback(google.protobuf.message.Message): @@ -284,7 +284,7 @@ class DisconnectCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___DisconnectCallback = DisconnectCallback +Global___DisconnectCallback: typing_extensions.TypeAlias = DisconnectCallback @typing.final class PublishTrackRequest(google.protobuf.message.Message): @@ -298,18 +298,18 @@ class PublishTrackRequest(google.protobuf.message.Message): local_participant_handle: builtins.int track_handle: builtins.int @property - def options(self) -> global___TrackPublishOptions: ... + def options(self) -> Global___TrackPublishOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., track_handle: builtins.int | None = ..., - options: global___TrackPublishOptions | None = ..., + options: Global___TrackPublishOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "track_handle", b"track_handle"]) -> None: ... -global___PublishTrackRequest = PublishTrackRequest +Global___PublishTrackRequest: typing_extensions.TypeAlias = PublishTrackRequest @typing.final class PublishTrackResponse(google.protobuf.message.Message): @@ -325,7 +325,7 @@ class PublishTrackResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___PublishTrackResponse = PublishTrackResponse +Global___PublishTrackResponse: typing_extensions.TypeAlias = PublishTrackResponse @typing.final class PublishTrackCallback(google.protobuf.message.Message): @@ -349,7 +349,7 @@ class PublishTrackCallback(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "publication", b"publication"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "publication"] | None: ... -global___PublishTrackCallback = PublishTrackCallback +Global___PublishTrackCallback: typing_extensions.TypeAlias = PublishTrackCallback @typing.final class UnpublishTrackRequest(google.protobuf.message.Message): @@ -373,7 +373,7 @@ class UnpublishTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "stop_on_unpublish", b"stop_on_unpublish", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "stop_on_unpublish", b"stop_on_unpublish", "track_sid", b"track_sid"]) -> None: ... -global___UnpublishTrackRequest = UnpublishTrackRequest +Global___UnpublishTrackRequest: typing_extensions.TypeAlias = UnpublishTrackRequest @typing.final class UnpublishTrackResponse(google.protobuf.message.Message): @@ -389,7 +389,7 @@ class UnpublishTrackResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___UnpublishTrackResponse = UnpublishTrackResponse +Global___UnpublishTrackResponse: typing_extensions.TypeAlias = UnpublishTrackResponse @typing.final class UnpublishTrackCallback(google.protobuf.message.Message): @@ -408,7 +408,7 @@ class UnpublishTrackCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___UnpublishTrackCallback = UnpublishTrackCallback +Global___UnpublishTrackCallback: typing_extensions.TypeAlias = UnpublishTrackCallback @typing.final class PublishDataRequest(google.protobuf.message.Message): @@ -446,7 +446,7 @@ class PublishDataRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr", "local_participant_handle", b"local_participant_handle", "reliable", b"reliable", "topic", b"topic"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr", "destination_identities", b"destination_identities", "destination_sids", b"destination_sids", "local_participant_handle", b"local_participant_handle", "reliable", b"reliable", "topic", b"topic"]) -> None: ... -global___PublishDataRequest = PublishDataRequest +Global___PublishDataRequest: typing_extensions.TypeAlias = PublishDataRequest @typing.final class PublishDataResponse(google.protobuf.message.Message): @@ -462,7 +462,7 @@ class PublishDataResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___PublishDataResponse = PublishDataResponse +Global___PublishDataResponse: typing_extensions.TypeAlias = PublishDataResponse @typing.final class PublishDataCallback(google.protobuf.message.Message): @@ -481,7 +481,7 @@ class PublishDataCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___PublishDataCallback = PublishDataCallback +Global___PublishDataCallback: typing_extensions.TypeAlias = PublishDataCallback @typing.final class PublishTranscriptionRequest(google.protobuf.message.Message): @@ -497,19 +497,19 @@ class PublishTranscriptionRequest(google.protobuf.message.Message): participant_identity: builtins.str track_id: builtins.str @property - def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TranscriptionSegment]: ... + def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___TranscriptionSegment]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., participant_identity: builtins.str | None = ..., track_id: builtins.str | None = ..., - segments: collections.abc.Iterable[global___TranscriptionSegment] | None = ..., + segments: collections.abc.Iterable[Global___TranscriptionSegment] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "participant_identity", b"participant_identity", "track_id", b"track_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "participant_identity", b"participant_identity", "segments", b"segments", "track_id", b"track_id"]) -> None: ... -global___PublishTranscriptionRequest = PublishTranscriptionRequest +Global___PublishTranscriptionRequest: typing_extensions.TypeAlias = PublishTranscriptionRequest @typing.final class PublishTranscriptionResponse(google.protobuf.message.Message): @@ -525,7 +525,7 @@ class PublishTranscriptionResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___PublishTranscriptionResponse = PublishTranscriptionResponse +Global___PublishTranscriptionResponse: typing_extensions.TypeAlias = PublishTranscriptionResponse @typing.final class PublishTranscriptionCallback(google.protobuf.message.Message): @@ -544,7 +544,7 @@ class PublishTranscriptionCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___PublishTranscriptionCallback = PublishTranscriptionCallback +Global___PublishTranscriptionCallback: typing_extensions.TypeAlias = PublishTranscriptionCallback @typing.final class PublishSipDtmfRequest(google.protobuf.message.Message): @@ -572,7 +572,7 @@ class PublishSipDtmfRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["code", b"code", "digit", b"digit", "local_participant_handle", b"local_participant_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["code", b"code", "destination_identities", b"destination_identities", "digit", b"digit", "local_participant_handle", b"local_participant_handle"]) -> None: ... -global___PublishSipDtmfRequest = PublishSipDtmfRequest +Global___PublishSipDtmfRequest: typing_extensions.TypeAlias = PublishSipDtmfRequest @typing.final class PublishSipDtmfResponse(google.protobuf.message.Message): @@ -588,7 +588,7 @@ class PublishSipDtmfResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___PublishSipDtmfResponse = PublishSipDtmfResponse +Global___PublishSipDtmfResponse: typing_extensions.TypeAlias = PublishSipDtmfResponse @typing.final class PublishSipDtmfCallback(google.protobuf.message.Message): @@ -607,7 +607,7 @@ class PublishSipDtmfCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___PublishSipDtmfCallback = PublishSipDtmfCallback +Global___PublishSipDtmfCallback: typing_extensions.TypeAlias = PublishSipDtmfCallback @typing.final class SetLocalMetadataRequest(google.protobuf.message.Message): @@ -628,7 +628,7 @@ class SetLocalMetadataRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "metadata", b"metadata"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "metadata", b"metadata"]) -> None: ... -global___SetLocalMetadataRequest = SetLocalMetadataRequest +Global___SetLocalMetadataRequest: typing_extensions.TypeAlias = SetLocalMetadataRequest @typing.final class SetLocalMetadataResponse(google.protobuf.message.Message): @@ -644,7 +644,7 @@ class SetLocalMetadataResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SetLocalMetadataResponse = SetLocalMetadataResponse +Global___SetLocalMetadataResponse: typing_extensions.TypeAlias = SetLocalMetadataResponse @typing.final class SetLocalMetadataCallback(google.protobuf.message.Message): @@ -663,7 +663,7 @@ class SetLocalMetadataCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___SetLocalMetadataCallback = SetLocalMetadataCallback +Global___SetLocalMetadataCallback: typing_extensions.TypeAlias = SetLocalMetadataCallback @typing.final class SendChatMessageRequest(google.protobuf.message.Message): @@ -689,7 +689,7 @@ class SendChatMessageRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "message", b"message", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "local_participant_handle", b"local_participant_handle", "message", b"message", "sender_identity", b"sender_identity"]) -> None: ... -global___SendChatMessageRequest = SendChatMessageRequest +Global___SendChatMessageRequest: typing_extensions.TypeAlias = SendChatMessageRequest @typing.final class EditChatMessageRequest(google.protobuf.message.Message): @@ -704,7 +704,7 @@ class EditChatMessageRequest(google.protobuf.message.Message): edit_text: builtins.str sender_identity: builtins.str @property - def original_message(self) -> global___ChatMessage: ... + def original_message(self) -> Global___ChatMessage: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( @@ -712,14 +712,14 @@ class EditChatMessageRequest(google.protobuf.message.Message): *, local_participant_handle: builtins.int | None = ..., edit_text: builtins.str | None = ..., - original_message: global___ChatMessage | None = ..., + original_message: Global___ChatMessage | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["edit_text", b"edit_text", "local_participant_handle", b"local_participant_handle", "original_message", b"original_message", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "edit_text", b"edit_text", "local_participant_handle", b"local_participant_handle", "original_message", b"original_message", "sender_identity", b"sender_identity"]) -> None: ... -global___EditChatMessageRequest = EditChatMessageRequest +Global___EditChatMessageRequest: typing_extensions.TypeAlias = EditChatMessageRequest @typing.final class SendChatMessageResponse(google.protobuf.message.Message): @@ -735,7 +735,7 @@ class SendChatMessageResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SendChatMessageResponse = SendChatMessageResponse +Global___SendChatMessageResponse: typing_extensions.TypeAlias = SendChatMessageResponse @typing.final class SendChatMessageCallback(google.protobuf.message.Message): @@ -747,19 +747,19 @@ class SendChatMessageCallback(google.protobuf.message.Message): async_id: builtins.int error: builtins.str @property - def chat_message(self) -> global___ChatMessage: ... + def chat_message(self) -> Global___ChatMessage: ... def __init__( self, *, async_id: builtins.int | None = ..., error: builtins.str | None = ..., - chat_message: global___ChatMessage | None = ..., + chat_message: Global___ChatMessage | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "chat_message", b"chat_message", "error", b"error", "message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "chat_message", b"chat_message", "error", b"error", "message", b"message"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "chat_message"] | None: ... -global___SendChatMessageCallback = SendChatMessageCallback +Global___SendChatMessageCallback: typing_extensions.TypeAlias = SendChatMessageCallback @typing.final class SetLocalAttributesRequest(google.protobuf.message.Message): @@ -771,17 +771,17 @@ class SetLocalAttributesRequest(google.protobuf.message.Message): ATTRIBUTES_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int @property - def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... + def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AttributesEntry]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., + attributes: collections.abc.Iterable[Global___AttributesEntry] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "local_participant_handle", b"local_participant_handle"]) -> None: ... -global___SetLocalAttributesRequest = SetLocalAttributesRequest +Global___SetLocalAttributesRequest: typing_extensions.TypeAlias = SetLocalAttributesRequest @typing.final class AttributesEntry(google.protobuf.message.Message): @@ -800,7 +800,7 @@ class AttributesEntry(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ... -global___AttributesEntry = AttributesEntry +Global___AttributesEntry: typing_extensions.TypeAlias = AttributesEntry @typing.final class SetLocalAttributesResponse(google.protobuf.message.Message): @@ -816,7 +816,7 @@ class SetLocalAttributesResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SetLocalAttributesResponse = SetLocalAttributesResponse +Global___SetLocalAttributesResponse: typing_extensions.TypeAlias = SetLocalAttributesResponse @typing.final class SetLocalAttributesCallback(google.protobuf.message.Message): @@ -835,7 +835,7 @@ class SetLocalAttributesCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___SetLocalAttributesCallback = SetLocalAttributesCallback +Global___SetLocalAttributesCallback: typing_extensions.TypeAlias = SetLocalAttributesCallback @typing.final class SetLocalNameRequest(google.protobuf.message.Message): @@ -856,7 +856,7 @@ class SetLocalNameRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "name", b"name"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "name", b"name"]) -> None: ... -global___SetLocalNameRequest = SetLocalNameRequest +Global___SetLocalNameRequest: typing_extensions.TypeAlias = SetLocalNameRequest @typing.final class SetLocalNameResponse(google.protobuf.message.Message): @@ -872,7 +872,7 @@ class SetLocalNameResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SetLocalNameResponse = SetLocalNameResponse +Global___SetLocalNameResponse: typing_extensions.TypeAlias = SetLocalNameResponse @typing.final class SetLocalNameCallback(google.protobuf.message.Message): @@ -891,7 +891,7 @@ class SetLocalNameCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___SetLocalNameCallback = SetLocalNameCallback +Global___SetLocalNameCallback: typing_extensions.TypeAlias = SetLocalNameCallback @typing.final class SetSubscribedRequest(google.protobuf.message.Message): @@ -912,7 +912,7 @@ class SetSubscribedRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["publication_handle", b"publication_handle", "subscribe", b"subscribe"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["publication_handle", b"publication_handle", "subscribe", b"subscribe"]) -> None: ... -global___SetSubscribedRequest = SetSubscribedRequest +Global___SetSubscribedRequest: typing_extensions.TypeAlias = SetSubscribedRequest @typing.final class SetSubscribedResponse(google.protobuf.message.Message): @@ -922,7 +922,7 @@ class SetSubscribedResponse(google.protobuf.message.Message): self, ) -> None: ... -global___SetSubscribedResponse = SetSubscribedResponse +Global___SetSubscribedResponse: typing_extensions.TypeAlias = SetSubscribedResponse @typing.final class GetSessionStatsRequest(google.protobuf.message.Message): @@ -938,7 +938,7 @@ class GetSessionStatsRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> None: ... -global___GetSessionStatsRequest = GetSessionStatsRequest +Global___GetSessionStatsRequest: typing_extensions.TypeAlias = GetSessionStatsRequest @typing.final class GetSessionStatsResponse(google.protobuf.message.Message): @@ -954,7 +954,7 @@ class GetSessionStatsResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___GetSessionStatsResponse = GetSessionStatsResponse +Global___GetSessionStatsResponse: typing_extensions.TypeAlias = GetSessionStatsResponse @typing.final class GetSessionStatsCallback(google.protobuf.message.Message): @@ -984,19 +984,19 @@ class GetSessionStatsCallback(google.protobuf.message.Message): async_id: builtins.int error: builtins.str @property - def result(self) -> global___GetSessionStatsCallback.Result: ... + def result(self) -> Global___GetSessionStatsCallback.Result: ... def __init__( self, *, async_id: builtins.int | None = ..., error: builtins.str | None = ..., - result: global___GetSessionStatsCallback.Result | None = ..., + result: Global___GetSessionStatsCallback.Result | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "result"] | None: ... -global___GetSessionStatsCallback = GetSessionStatsCallback +Global___GetSessionStatsCallback: typing_extensions.TypeAlias = GetSessionStatsCallback @typing.final class VideoEncoding(google.protobuf.message.Message): @@ -1019,7 +1019,7 @@ class VideoEncoding(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate", "max_framerate", b"max_framerate"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate", "max_framerate", b"max_framerate"]) -> None: ... -global___VideoEncoding = VideoEncoding +Global___VideoEncoding: typing_extensions.TypeAlias = VideoEncoding @typing.final class AudioEncoding(google.protobuf.message.Message): @@ -1035,7 +1035,7 @@ class AudioEncoding(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate"]) -> None: ... -global___AudioEncoding = AudioEncoding +Global___AudioEncoding: typing_extensions.TypeAlias = AudioEncoding @typing.final class TrackPublishOptions(google.protobuf.message.Message): @@ -1058,16 +1058,16 @@ class TrackPublishOptions(google.protobuf.message.Message): stream: builtins.str preconnect_buffer: builtins.bool @property - def video_encoding(self) -> global___VideoEncoding: + def video_encoding(self) -> Global___VideoEncoding: """encodings are optional""" @property - def audio_encoding(self) -> global___AudioEncoding: ... + def audio_encoding(self) -> Global___AudioEncoding: ... def __init__( self, *, - video_encoding: global___VideoEncoding | None = ..., - audio_encoding: global___AudioEncoding | None = ..., + video_encoding: Global___VideoEncoding | None = ..., + audio_encoding: Global___AudioEncoding | None = ..., video_codec: video_frame_pb2.VideoCodec.ValueType | None = ..., dtx: builtins.bool | None = ..., red: builtins.bool | None = ..., @@ -1079,7 +1079,7 @@ class TrackPublishOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_encoding", b"audio_encoding", "dtx", b"dtx", "preconnect_buffer", b"preconnect_buffer", "red", b"red", "simulcast", b"simulcast", "source", b"source", "stream", b"stream", "video_codec", b"video_codec", "video_encoding", b"video_encoding"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_encoding", b"audio_encoding", "dtx", b"dtx", "preconnect_buffer", b"preconnect_buffer", "red", b"red", "simulcast", b"simulcast", "source", b"source", "stream", b"stream", "video_codec", b"video_codec", "video_encoding", b"video_encoding"]) -> None: ... -global___TrackPublishOptions = TrackPublishOptions +Global___TrackPublishOptions: typing_extensions.TypeAlias = TrackPublishOptions @typing.final class IceServer(google.protobuf.message.Message): @@ -1102,7 +1102,7 @@ class IceServer(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["password", b"password", "username", b"username"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["password", b"password", "urls", b"urls", "username", b"username"]) -> None: ... -global___IceServer = IceServer +Global___IceServer: typing_extensions.TypeAlias = IceServer @typing.final class RtcConfig(google.protobuf.message.Message): @@ -1111,23 +1111,23 @@ class RtcConfig(google.protobuf.message.Message): ICE_TRANSPORT_TYPE_FIELD_NUMBER: builtins.int CONTINUAL_GATHERING_POLICY_FIELD_NUMBER: builtins.int ICE_SERVERS_FIELD_NUMBER: builtins.int - ice_transport_type: global___IceTransportType.ValueType - continual_gathering_policy: global___ContinualGatheringPolicy.ValueType + ice_transport_type: Global___IceTransportType.ValueType + continual_gathering_policy: Global___ContinualGatheringPolicy.ValueType @property - def ice_servers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___IceServer]: + def ice_servers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___IceServer]: """empty fallback to default""" def __init__( self, *, - ice_transport_type: global___IceTransportType.ValueType | None = ..., - continual_gathering_policy: global___ContinualGatheringPolicy.ValueType | None = ..., - ice_servers: collections.abc.Iterable[global___IceServer] | None = ..., + ice_transport_type: Global___IceTransportType.ValueType | None = ..., + continual_gathering_policy: Global___ContinualGatheringPolicy.ValueType | None = ..., + ice_servers: collections.abc.Iterable[Global___IceServer] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["continual_gathering_policy", b"continual_gathering_policy", "ice_transport_type", b"ice_transport_type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["continual_gathering_policy", b"continual_gathering_policy", "ice_servers", b"ice_servers", "ice_transport_type", b"ice_transport_type"]) -> None: ... -global___RtcConfig = RtcConfig +Global___RtcConfig: typing_extensions.TypeAlias = RtcConfig @typing.final class RoomOptions(google.protobuf.message.Message): @@ -1147,7 +1147,7 @@ class RoomOptions(google.protobuf.message.Message): @property def e2ee(self) -> e2ee_pb2.E2eeOptions: ... @property - def rtc_config(self) -> global___RtcConfig: + def rtc_config(self) -> Global___RtcConfig: """allow to setup a custom RtcConfiguration""" @property @@ -1159,14 +1159,14 @@ class RoomOptions(google.protobuf.message.Message): adaptive_stream: builtins.bool | None = ..., dynacast: builtins.bool | None = ..., e2ee: e2ee_pb2.E2eeOptions | None = ..., - rtc_config: global___RtcConfig | None = ..., + rtc_config: Global___RtcConfig | None = ..., join_retries: builtins.int | None = ..., encryption: e2ee_pb2.E2eeOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["adaptive_stream", b"adaptive_stream", "auto_subscribe", b"auto_subscribe", "dynacast", b"dynacast", "e2ee", b"e2ee", "encryption", b"encryption", "join_retries", b"join_retries", "rtc_config", b"rtc_config"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["adaptive_stream", b"adaptive_stream", "auto_subscribe", b"auto_subscribe", "dynacast", b"dynacast", "e2ee", b"e2ee", "encryption", b"encryption", "join_retries", b"join_retries", "rtc_config", b"rtc_config"]) -> None: ... -global___RoomOptions = RoomOptions +Global___RoomOptions: typing_extensions.TypeAlias = RoomOptions @typing.final class TranscriptionSegment(google.protobuf.message.Message): @@ -1197,7 +1197,7 @@ class TranscriptionSegment(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["end_time", b"end_time", "final", b"final", "id", b"id", "language", b"language", "start_time", b"start_time", "text", b"text"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["end_time", b"end_time", "final", b"final", "id", b"id", "language", b"language", "start_time", b"start_time", "text", b"text"]) -> None: ... -global___TranscriptionSegment = TranscriptionSegment +Global___TranscriptionSegment: typing_extensions.TypeAlias = TranscriptionSegment @typing.final class BufferInfo(google.protobuf.message.Message): @@ -1216,7 +1216,7 @@ class BufferInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr"]) -> None: ... -global___BufferInfo = BufferInfo +Global___BufferInfo: typing_extensions.TypeAlias = BufferInfo @typing.final class OwnedBuffer(google.protobuf.message.Message): @@ -1227,17 +1227,17 @@ class OwnedBuffer(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def data(self) -> global___BufferInfo: ... + def data(self) -> Global___BufferInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - data: global___BufferInfo | None = ..., + data: Global___BufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["data", b"data", "handle", b"handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data", b"data", "handle", b"handle"]) -> None: ... -global___OwnedBuffer = OwnedBuffer +Global___OwnedBuffer: typing_extensions.TypeAlias = OwnedBuffer @typing.final class RoomEvent(google.protobuf.message.Message): @@ -1285,146 +1285,146 @@ class RoomEvent(google.protobuf.message.Message): TOKEN_REFRESHED_FIELD_NUMBER: builtins.int room_handle: builtins.int @property - def participant_connected(self) -> global___ParticipantConnected: ... + def participant_connected(self) -> Global___ParticipantConnected: ... @property - def participant_disconnected(self) -> global___ParticipantDisconnected: ... + def participant_disconnected(self) -> Global___ParticipantDisconnected: ... @property - def local_track_published(self) -> global___LocalTrackPublished: ... + def local_track_published(self) -> Global___LocalTrackPublished: ... @property - def local_track_unpublished(self) -> global___LocalTrackUnpublished: ... + def local_track_unpublished(self) -> Global___LocalTrackUnpublished: ... @property - def local_track_subscribed(self) -> global___LocalTrackSubscribed: ... + def local_track_subscribed(self) -> Global___LocalTrackSubscribed: ... @property - def track_published(self) -> global___TrackPublished: ... + def track_published(self) -> Global___TrackPublished: ... @property - def track_unpublished(self) -> global___TrackUnpublished: ... + def track_unpublished(self) -> Global___TrackUnpublished: ... @property - def track_subscribed(self) -> global___TrackSubscribed: ... + def track_subscribed(self) -> Global___TrackSubscribed: ... @property - def track_unsubscribed(self) -> global___TrackUnsubscribed: ... + def track_unsubscribed(self) -> Global___TrackUnsubscribed: ... @property - def track_subscription_failed(self) -> global___TrackSubscriptionFailed: ... + def track_subscription_failed(self) -> Global___TrackSubscriptionFailed: ... @property - def track_muted(self) -> global___TrackMuted: ... + def track_muted(self) -> Global___TrackMuted: ... @property - def track_unmuted(self) -> global___TrackUnmuted: ... + def track_unmuted(self) -> Global___TrackUnmuted: ... @property - def active_speakers_changed(self) -> global___ActiveSpeakersChanged: ... + def active_speakers_changed(self) -> Global___ActiveSpeakersChanged: ... @property - def room_metadata_changed(self) -> global___RoomMetadataChanged: ... + def room_metadata_changed(self) -> Global___RoomMetadataChanged: ... @property - def room_sid_changed(self) -> global___RoomSidChanged: ... + def room_sid_changed(self) -> Global___RoomSidChanged: ... @property - def participant_metadata_changed(self) -> global___ParticipantMetadataChanged: ... + def participant_metadata_changed(self) -> Global___ParticipantMetadataChanged: ... @property - def participant_name_changed(self) -> global___ParticipantNameChanged: ... + def participant_name_changed(self) -> Global___ParticipantNameChanged: ... @property - def participant_attributes_changed(self) -> global___ParticipantAttributesChanged: ... + def participant_attributes_changed(self) -> Global___ParticipantAttributesChanged: ... @property - def connection_quality_changed(self) -> global___ConnectionQualityChanged: ... + def connection_quality_changed(self) -> Global___ConnectionQualityChanged: ... @property - def connection_state_changed(self) -> global___ConnectionStateChanged: ... + def connection_state_changed(self) -> Global___ConnectionStateChanged: ... @property - def disconnected(self) -> global___Disconnected: + def disconnected(self) -> Global___Disconnected: """Connected connected = 21;""" @property - def reconnecting(self) -> global___Reconnecting: ... + def reconnecting(self) -> Global___Reconnecting: ... @property - def reconnected(self) -> global___Reconnected: ... + def reconnected(self) -> Global___Reconnected: ... @property - def e2ee_state_changed(self) -> global___E2eeStateChanged: ... + def e2ee_state_changed(self) -> Global___E2eeStateChanged: ... @property - def eos(self) -> global___RoomEOS: + def eos(self) -> Global___RoomEOS: """The stream of room events has ended""" @property - def data_packet_received(self) -> global___DataPacketReceived: ... + def data_packet_received(self) -> Global___DataPacketReceived: ... @property - def transcription_received(self) -> global___TranscriptionReceived: ... + def transcription_received(self) -> Global___TranscriptionReceived: ... @property - def chat_message(self) -> global___ChatMessageReceived: ... + def chat_message(self) -> Global___ChatMessageReceived: ... @property - def stream_header_received(self) -> global___DataStreamHeaderReceived: + def stream_header_received(self) -> Global___DataStreamHeaderReceived: """Data stream (low level)""" @property - def stream_chunk_received(self) -> global___DataStreamChunkReceived: ... + def stream_chunk_received(self) -> Global___DataStreamChunkReceived: ... @property - def stream_trailer_received(self) -> global___DataStreamTrailerReceived: ... + def stream_trailer_received(self) -> Global___DataStreamTrailerReceived: ... @property - def data_channel_low_threshold_changed(self) -> global___DataChannelBufferedAmountLowThresholdChanged: ... + def data_channel_low_threshold_changed(self) -> Global___DataChannelBufferedAmountLowThresholdChanged: ... @property - def byte_stream_opened(self) -> global___ByteStreamOpened: + def byte_stream_opened(self) -> Global___ByteStreamOpened: """Data stream (high level)""" @property - def text_stream_opened(self) -> global___TextStreamOpened: ... + def text_stream_opened(self) -> Global___TextStreamOpened: ... @property - def room_updated(self) -> global___RoomInfo: + def room_updated(self) -> Global___RoomInfo: """Room info updated""" @property - def moved(self) -> global___RoomInfo: + def moved(self) -> Global___RoomInfo: """Participant moved to new room""" @property - def participants_updated(self) -> global___ParticipantsUpdated: + def participants_updated(self) -> Global___ParticipantsUpdated: """carry over all participant info updates, including sid""" @property - def participant_encryption_status_changed(self) -> global___ParticipantEncryptionStatusChanged: ... + def participant_encryption_status_changed(self) -> Global___ParticipantEncryptionStatusChanged: ... @property - def token_refreshed(self) -> global___TokenRefreshed: ... + def token_refreshed(self) -> Global___TokenRefreshed: ... def __init__( self, *, room_handle: builtins.int | None = ..., - participant_connected: global___ParticipantConnected | None = ..., - participant_disconnected: global___ParticipantDisconnected | None = ..., - local_track_published: global___LocalTrackPublished | None = ..., - local_track_unpublished: global___LocalTrackUnpublished | None = ..., - local_track_subscribed: global___LocalTrackSubscribed | None = ..., - track_published: global___TrackPublished | None = ..., - track_unpublished: global___TrackUnpublished | None = ..., - track_subscribed: global___TrackSubscribed | None = ..., - track_unsubscribed: global___TrackUnsubscribed | None = ..., - track_subscription_failed: global___TrackSubscriptionFailed | None = ..., - track_muted: global___TrackMuted | None = ..., - track_unmuted: global___TrackUnmuted | None = ..., - active_speakers_changed: global___ActiveSpeakersChanged | None = ..., - room_metadata_changed: global___RoomMetadataChanged | None = ..., - room_sid_changed: global___RoomSidChanged | None = ..., - participant_metadata_changed: global___ParticipantMetadataChanged | None = ..., - participant_name_changed: global___ParticipantNameChanged | None = ..., - participant_attributes_changed: global___ParticipantAttributesChanged | None = ..., - connection_quality_changed: global___ConnectionQualityChanged | None = ..., - connection_state_changed: global___ConnectionStateChanged | None = ..., - disconnected: global___Disconnected | None = ..., - reconnecting: global___Reconnecting | None = ..., - reconnected: global___Reconnected | None = ..., - e2ee_state_changed: global___E2eeStateChanged | None = ..., - eos: global___RoomEOS | None = ..., - data_packet_received: global___DataPacketReceived | None = ..., - transcription_received: global___TranscriptionReceived | None = ..., - chat_message: global___ChatMessageReceived | None = ..., - stream_header_received: global___DataStreamHeaderReceived | None = ..., - stream_chunk_received: global___DataStreamChunkReceived | None = ..., - stream_trailer_received: global___DataStreamTrailerReceived | None = ..., - data_channel_low_threshold_changed: global___DataChannelBufferedAmountLowThresholdChanged | None = ..., - byte_stream_opened: global___ByteStreamOpened | None = ..., - text_stream_opened: global___TextStreamOpened | None = ..., - room_updated: global___RoomInfo | None = ..., - moved: global___RoomInfo | None = ..., - participants_updated: global___ParticipantsUpdated | None = ..., - participant_encryption_status_changed: global___ParticipantEncryptionStatusChanged | None = ..., - token_refreshed: global___TokenRefreshed | None = ..., + participant_connected: Global___ParticipantConnected | None = ..., + participant_disconnected: Global___ParticipantDisconnected | None = ..., + local_track_published: Global___LocalTrackPublished | None = ..., + local_track_unpublished: Global___LocalTrackUnpublished | None = ..., + local_track_subscribed: Global___LocalTrackSubscribed | None = ..., + track_published: Global___TrackPublished | None = ..., + track_unpublished: Global___TrackUnpublished | None = ..., + track_subscribed: Global___TrackSubscribed | None = ..., + track_unsubscribed: Global___TrackUnsubscribed | None = ..., + track_subscription_failed: Global___TrackSubscriptionFailed | None = ..., + track_muted: Global___TrackMuted | None = ..., + track_unmuted: Global___TrackUnmuted | None = ..., + active_speakers_changed: Global___ActiveSpeakersChanged | None = ..., + room_metadata_changed: Global___RoomMetadataChanged | None = ..., + room_sid_changed: Global___RoomSidChanged | None = ..., + participant_metadata_changed: Global___ParticipantMetadataChanged | None = ..., + participant_name_changed: Global___ParticipantNameChanged | None = ..., + participant_attributes_changed: Global___ParticipantAttributesChanged | None = ..., + connection_quality_changed: Global___ConnectionQualityChanged | None = ..., + connection_state_changed: Global___ConnectionStateChanged | None = ..., + disconnected: Global___Disconnected | None = ..., + reconnecting: Global___Reconnecting | None = ..., + reconnected: Global___Reconnected | None = ..., + e2ee_state_changed: Global___E2eeStateChanged | None = ..., + eos: Global___RoomEOS | None = ..., + data_packet_received: Global___DataPacketReceived | None = ..., + transcription_received: Global___TranscriptionReceived | None = ..., + chat_message: Global___ChatMessageReceived | None = ..., + stream_header_received: Global___DataStreamHeaderReceived | None = ..., + stream_chunk_received: Global___DataStreamChunkReceived | None = ..., + stream_trailer_received: Global___DataStreamTrailerReceived | None = ..., + data_channel_low_threshold_changed: Global___DataChannelBufferedAmountLowThresholdChanged | None = ..., + byte_stream_opened: Global___ByteStreamOpened | None = ..., + text_stream_opened: Global___TextStreamOpened | None = ..., + room_updated: Global___RoomInfo | None = ..., + moved: Global___RoomInfo | None = ..., + participants_updated: Global___ParticipantsUpdated | None = ..., + participant_encryption_status_changed: Global___ParticipantEncryptionStatusChanged | None = ..., + token_refreshed: Global___TokenRefreshed | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["active_speakers_changed", b"active_speakers_changed", "byte_stream_opened", b"byte_stream_opened", "chat_message", b"chat_message", "connection_quality_changed", b"connection_quality_changed", "connection_state_changed", b"connection_state_changed", "data_channel_low_threshold_changed", b"data_channel_low_threshold_changed", "data_packet_received", b"data_packet_received", "disconnected", b"disconnected", "e2ee_state_changed", b"e2ee_state_changed", "eos", b"eos", "local_track_published", b"local_track_published", "local_track_subscribed", b"local_track_subscribed", "local_track_unpublished", b"local_track_unpublished", "message", b"message", "moved", b"moved", "participant_attributes_changed", b"participant_attributes_changed", "participant_connected", b"participant_connected", "participant_disconnected", b"participant_disconnected", "participant_encryption_status_changed", b"participant_encryption_status_changed", "participant_metadata_changed", b"participant_metadata_changed", "participant_name_changed", b"participant_name_changed", "participants_updated", b"participants_updated", "reconnected", b"reconnected", "reconnecting", b"reconnecting", "room_handle", b"room_handle", "room_metadata_changed", b"room_metadata_changed", "room_sid_changed", b"room_sid_changed", "room_updated", b"room_updated", "stream_chunk_received", b"stream_chunk_received", "stream_header_received", b"stream_header_received", "stream_trailer_received", b"stream_trailer_received", "text_stream_opened", b"text_stream_opened", "token_refreshed", b"token_refreshed", "track_muted", b"track_muted", "track_published", b"track_published", "track_subscribed", b"track_subscribed", "track_subscription_failed", b"track_subscription_failed", "track_unmuted", b"track_unmuted", "track_unpublished", b"track_unpublished", "track_unsubscribed", b"track_unsubscribed", "transcription_received", b"transcription_received"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["active_speakers_changed", b"active_speakers_changed", "byte_stream_opened", b"byte_stream_opened", "chat_message", b"chat_message", "connection_quality_changed", b"connection_quality_changed", "connection_state_changed", b"connection_state_changed", "data_channel_low_threshold_changed", b"data_channel_low_threshold_changed", "data_packet_received", b"data_packet_received", "disconnected", b"disconnected", "e2ee_state_changed", b"e2ee_state_changed", "eos", b"eos", "local_track_published", b"local_track_published", "local_track_subscribed", b"local_track_subscribed", "local_track_unpublished", b"local_track_unpublished", "message", b"message", "moved", b"moved", "participant_attributes_changed", b"participant_attributes_changed", "participant_connected", b"participant_connected", "participant_disconnected", b"participant_disconnected", "participant_encryption_status_changed", b"participant_encryption_status_changed", "participant_metadata_changed", b"participant_metadata_changed", "participant_name_changed", b"participant_name_changed", "participants_updated", b"participants_updated", "reconnected", b"reconnected", "reconnecting", b"reconnecting", "room_handle", b"room_handle", "room_metadata_changed", b"room_metadata_changed", "room_sid_changed", b"room_sid_changed", "room_updated", b"room_updated", "stream_chunk_received", b"stream_chunk_received", "stream_header_received", b"stream_header_received", "stream_trailer_received", b"stream_trailer_received", "text_stream_opened", b"text_stream_opened", "token_refreshed", b"token_refreshed", "track_muted", b"track_muted", "track_published", b"track_published", "track_subscribed", b"track_subscribed", "track_subscription_failed", b"track_subscription_failed", "track_unmuted", b"track_unmuted", "track_unpublished", b"track_unpublished", "track_unsubscribed", b"track_unsubscribed", "transcription_received", b"transcription_received"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["participant_connected", "participant_disconnected", "local_track_published", "local_track_unpublished", "local_track_subscribed", "track_published", "track_unpublished", "track_subscribed", "track_unsubscribed", "track_subscription_failed", "track_muted", "track_unmuted", "active_speakers_changed", "room_metadata_changed", "room_sid_changed", "participant_metadata_changed", "participant_name_changed", "participant_attributes_changed", "connection_quality_changed", "connection_state_changed", "disconnected", "reconnecting", "reconnected", "e2ee_state_changed", "eos", "data_packet_received", "transcription_received", "chat_message", "stream_header_received", "stream_chunk_received", "stream_trailer_received", "data_channel_low_threshold_changed", "byte_stream_opened", "text_stream_opened", "room_updated", "moved", "participants_updated", "participant_encryption_status_changed", "token_refreshed"] | None: ... -global___RoomEvent = RoomEvent +Global___RoomEvent: typing_extensions.TypeAlias = RoomEvent @typing.final class RoomInfo(google.protobuf.message.Message): @@ -1473,7 +1473,7 @@ class RoomInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["active_recording", b"active_recording", "creation_time", b"creation_time", "departure_timeout", b"departure_timeout", "empty_timeout", b"empty_timeout", "lossy_dc_buffered_amount_low_threshold", b"lossy_dc_buffered_amount_low_threshold", "max_participants", b"max_participants", "metadata", b"metadata", "name", b"name", "num_participants", b"num_participants", "num_publishers", b"num_publishers", "reliable_dc_buffered_amount_low_threshold", b"reliable_dc_buffered_amount_low_threshold", "sid", b"sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["active_recording", b"active_recording", "creation_time", b"creation_time", "departure_timeout", b"departure_timeout", "empty_timeout", b"empty_timeout", "lossy_dc_buffered_amount_low_threshold", b"lossy_dc_buffered_amount_low_threshold", "max_participants", b"max_participants", "metadata", b"metadata", "name", b"name", "num_participants", b"num_participants", "num_publishers", b"num_publishers", "reliable_dc_buffered_amount_low_threshold", b"reliable_dc_buffered_amount_low_threshold", "sid", b"sid"]) -> None: ... -global___RoomInfo = RoomInfo +Global___RoomInfo: typing_extensions.TypeAlias = RoomInfo @typing.final class OwnedRoom(google.protobuf.message.Message): @@ -1484,17 +1484,17 @@ class OwnedRoom(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___RoomInfo: ... + def info(self) -> Global___RoomInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___RoomInfo | None = ..., + info: Global___RoomInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedRoom = OwnedRoom +Global___OwnedRoom: typing_extensions.TypeAlias = OwnedRoom @typing.final class ParticipantsUpdated(google.protobuf.message.Message): @@ -1510,7 +1510,7 @@ class ParticipantsUpdated(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing.Literal["participants", b"participants"]) -> None: ... -global___ParticipantsUpdated = ParticipantsUpdated +Global___ParticipantsUpdated: typing_extensions.TypeAlias = ParticipantsUpdated @typing.final class ParticipantConnected(google.protobuf.message.Message): @@ -1527,7 +1527,7 @@ class ParticipantConnected(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["info", b"info"]) -> None: ... -global___ParticipantConnected = ParticipantConnected +Global___ParticipantConnected: typing_extensions.TypeAlias = ParticipantConnected @typing.final class ParticipantDisconnected(google.protobuf.message.Message): @@ -1546,7 +1546,7 @@ class ParticipantDisconnected(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "participant_identity", b"participant_identity"]) -> None: ... -global___ParticipantDisconnected = ParticipantDisconnected +Global___ParticipantDisconnected: typing_extensions.TypeAlias = ParticipantDisconnected @typing.final class LocalTrackPublished(google.protobuf.message.Message): @@ -1565,7 +1565,7 @@ class LocalTrackPublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> None: ... -global___LocalTrackPublished = LocalTrackPublished +Global___LocalTrackPublished: typing_extensions.TypeAlias = LocalTrackPublished @typing.final class LocalTrackUnpublished(google.protobuf.message.Message): @@ -1581,7 +1581,7 @@ class LocalTrackUnpublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["publication_sid", b"publication_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["publication_sid", b"publication_sid"]) -> None: ... -global___LocalTrackUnpublished = LocalTrackUnpublished +Global___LocalTrackUnpublished: typing_extensions.TypeAlias = LocalTrackUnpublished @typing.final class LocalTrackSubscribed(google.protobuf.message.Message): @@ -1597,7 +1597,7 @@ class LocalTrackSubscribed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> None: ... -global___LocalTrackSubscribed = LocalTrackSubscribed +Global___LocalTrackSubscribed: typing_extensions.TypeAlias = LocalTrackSubscribed @typing.final class TrackPublished(google.protobuf.message.Message): @@ -1617,7 +1617,7 @@ class TrackPublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication", b"publication"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication", b"publication"]) -> None: ... -global___TrackPublished = TrackPublished +Global___TrackPublished: typing_extensions.TypeAlias = TrackPublished @typing.final class TrackUnpublished(google.protobuf.message.Message): @@ -1636,7 +1636,7 @@ class TrackUnpublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication_sid", b"publication_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication_sid", b"publication_sid"]) -> None: ... -global___TrackUnpublished = TrackUnpublished +Global___TrackUnpublished: typing_extensions.TypeAlias = TrackUnpublished @typing.final class TrackSubscribed(google.protobuf.message.Message): @@ -1660,7 +1660,7 @@ class TrackSubscribed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track", b"track"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track", b"track"]) -> None: ... -global___TrackSubscribed = TrackSubscribed +Global___TrackSubscribed: typing_extensions.TypeAlias = TrackSubscribed @typing.final class TrackUnsubscribed(google.protobuf.message.Message): @@ -1680,7 +1680,7 @@ class TrackUnsubscribed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___TrackUnsubscribed = TrackUnsubscribed +Global___TrackUnsubscribed: typing_extensions.TypeAlias = TrackUnsubscribed @typing.final class TrackSubscriptionFailed(google.protobuf.message.Message): @@ -1702,7 +1702,7 @@ class TrackSubscriptionFailed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___TrackSubscriptionFailed = TrackSubscriptionFailed +Global___TrackSubscriptionFailed: typing_extensions.TypeAlias = TrackSubscriptionFailed @typing.final class TrackMuted(google.protobuf.message.Message): @@ -1721,7 +1721,7 @@ class TrackMuted(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___TrackMuted = TrackMuted +Global___TrackMuted: typing_extensions.TypeAlias = TrackMuted @typing.final class TrackUnmuted(google.protobuf.message.Message): @@ -1740,7 +1740,7 @@ class TrackUnmuted(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -global___TrackUnmuted = TrackUnmuted +Global___TrackUnmuted: typing_extensions.TypeAlias = TrackUnmuted @typing.final class E2eeStateChanged(google.protobuf.message.Message): @@ -1760,7 +1760,7 @@ class E2eeStateChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "state", b"state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "state", b"state"]) -> None: ... -global___E2eeStateChanged = E2eeStateChanged +Global___E2eeStateChanged: typing_extensions.TypeAlias = E2eeStateChanged @typing.final class ActiveSpeakersChanged(google.protobuf.message.Message): @@ -1776,7 +1776,7 @@ class ActiveSpeakersChanged(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing.Literal["participant_identities", b"participant_identities"]) -> None: ... -global___ActiveSpeakersChanged = ActiveSpeakersChanged +Global___ActiveSpeakersChanged: typing_extensions.TypeAlias = ActiveSpeakersChanged @typing.final class RoomMetadataChanged(google.protobuf.message.Message): @@ -1792,7 +1792,7 @@ class RoomMetadataChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["metadata", b"metadata"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["metadata", b"metadata"]) -> None: ... -global___RoomMetadataChanged = RoomMetadataChanged +Global___RoomMetadataChanged: typing_extensions.TypeAlias = RoomMetadataChanged @typing.final class RoomSidChanged(google.protobuf.message.Message): @@ -1808,7 +1808,7 @@ class RoomSidChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["sid", b"sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["sid", b"sid"]) -> None: ... -global___RoomSidChanged = RoomSidChanged +Global___RoomSidChanged: typing_extensions.TypeAlias = RoomSidChanged @typing.final class ParticipantMetadataChanged(google.protobuf.message.Message): @@ -1827,7 +1827,7 @@ class ParticipantMetadataChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["metadata", b"metadata", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["metadata", b"metadata", "participant_identity", b"participant_identity"]) -> None: ... -global___ParticipantMetadataChanged = ParticipantMetadataChanged +Global___ParticipantMetadataChanged: typing_extensions.TypeAlias = ParticipantMetadataChanged @typing.final class ParticipantAttributesChanged(google.protobuf.message.Message): @@ -1838,20 +1838,20 @@ class ParticipantAttributesChanged(google.protobuf.message.Message): CHANGED_ATTRIBUTES_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... + def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AttributesEntry]: ... @property - def changed_attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... + def changed_attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AttributesEntry]: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., - changed_attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., + attributes: collections.abc.Iterable[Global___AttributesEntry] | None = ..., + changed_attributes: collections.abc.Iterable[Global___AttributesEntry] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "changed_attributes", b"changed_attributes", "participant_identity", b"participant_identity"]) -> None: ... -global___ParticipantAttributesChanged = ParticipantAttributesChanged +Global___ParticipantAttributesChanged: typing_extensions.TypeAlias = ParticipantAttributesChanged @typing.final class ParticipantEncryptionStatusChanged(google.protobuf.message.Message): @@ -1870,7 +1870,7 @@ class ParticipantEncryptionStatusChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["is_encrypted", b"is_encrypted", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["is_encrypted", b"is_encrypted", "participant_identity", b"participant_identity"]) -> None: ... -global___ParticipantEncryptionStatusChanged = ParticipantEncryptionStatusChanged +Global___ParticipantEncryptionStatusChanged: typing_extensions.TypeAlias = ParticipantEncryptionStatusChanged @typing.final class ParticipantNameChanged(google.protobuf.message.Message): @@ -1889,7 +1889,7 @@ class ParticipantNameChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["name", b"name", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["name", b"name", "participant_identity", b"participant_identity"]) -> None: ... -global___ParticipantNameChanged = ParticipantNameChanged +Global___ParticipantNameChanged: typing_extensions.TypeAlias = ParticipantNameChanged @typing.final class ConnectionQualityChanged(google.protobuf.message.Message): @@ -1898,17 +1898,17 @@ class ConnectionQualityChanged(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int QUALITY_FIELD_NUMBER: builtins.int participant_identity: builtins.str - quality: global___ConnectionQuality.ValueType + quality: Global___ConnectionQuality.ValueType def __init__( self, *, participant_identity: builtins.str | None = ..., - quality: global___ConnectionQuality.ValueType | None = ..., + quality: Global___ConnectionQuality.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "quality", b"quality"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "quality", b"quality"]) -> None: ... -global___ConnectionQualityChanged = ConnectionQualityChanged +Global___ConnectionQualityChanged: typing_extensions.TypeAlias = ConnectionQualityChanged @typing.final class UserPacket(google.protobuf.message.Message): @@ -1918,17 +1918,17 @@ class UserPacket(google.protobuf.message.Message): TOPIC_FIELD_NUMBER: builtins.int topic: builtins.str @property - def data(self) -> global___OwnedBuffer: ... + def data(self) -> Global___OwnedBuffer: ... def __init__( self, *, - data: global___OwnedBuffer | None = ..., + data: Global___OwnedBuffer | None = ..., topic: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["data", b"data", "topic", b"topic"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data", b"data", "topic", b"topic"]) -> None: ... -global___UserPacket = UserPacket +Global___UserPacket: typing_extensions.TypeAlias = UserPacket @typing.final class ChatMessage(google.protobuf.message.Message): @@ -1959,7 +1959,7 @@ class ChatMessage(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["deleted", b"deleted", "edit_timestamp", b"edit_timestamp", "generated", b"generated", "id", b"id", "message", b"message", "timestamp", b"timestamp"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["deleted", b"deleted", "edit_timestamp", b"edit_timestamp", "generated", b"generated", "id", b"id", "message", b"message", "timestamp", b"timestamp"]) -> None: ... -global___ChatMessage = ChatMessage +Global___ChatMessage: typing_extensions.TypeAlias = ChatMessage @typing.final class ChatMessageReceived(google.protobuf.message.Message): @@ -1969,17 +1969,17 @@ class ChatMessageReceived(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def message(self) -> global___ChatMessage: ... + def message(self) -> Global___ChatMessage: ... def __init__( self, *, - message: global___ChatMessage | None = ..., + message: Global___ChatMessage | None = ..., participant_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["message", b"message", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["message", b"message", "participant_identity", b"participant_identity"]) -> None: ... -global___ChatMessageReceived = ChatMessageReceived +Global___ChatMessageReceived: typing_extensions.TypeAlias = ChatMessageReceived @typing.final class SipDTMF(google.protobuf.message.Message): @@ -1998,7 +1998,7 @@ class SipDTMF(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["code", b"code", "digit", b"digit"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["code", b"code", "digit", b"digit"]) -> None: ... -global___SipDTMF = SipDTMF +Global___SipDTMF: typing_extensions.TypeAlias = SipDTMF @typing.final class DataPacketReceived(google.protobuf.message.Message): @@ -2008,26 +2008,26 @@ class DataPacketReceived(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int USER_FIELD_NUMBER: builtins.int SIP_DTMF_FIELD_NUMBER: builtins.int - kind: global___DataPacketKind.ValueType + kind: Global___DataPacketKind.ValueType participant_identity: builtins.str """Can be empty if the data is sent a server SDK""" @property - def user(self) -> global___UserPacket: ... + def user(self) -> Global___UserPacket: ... @property - def sip_dtmf(self) -> global___SipDTMF: ... + def sip_dtmf(self) -> Global___SipDTMF: ... def __init__( self, *, - kind: global___DataPacketKind.ValueType | None = ..., + kind: Global___DataPacketKind.ValueType | None = ..., participant_identity: builtins.str | None = ..., - user: global___UserPacket | None = ..., - sip_dtmf: global___SipDTMF | None = ..., + user: Global___UserPacket | None = ..., + sip_dtmf: Global___SipDTMF | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "participant_identity", b"participant_identity", "sip_dtmf", b"sip_dtmf", "user", b"user", "value", b"value"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "participant_identity", b"participant_identity", "sip_dtmf", b"sip_dtmf", "user", b"user", "value", b"value"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["value", b"value"]) -> typing.Literal["user", "sip_dtmf"] | None: ... -global___DataPacketReceived = DataPacketReceived +Global___DataPacketReceived: typing_extensions.TypeAlias = DataPacketReceived @typing.final class TranscriptionReceived(google.protobuf.message.Message): @@ -2039,34 +2039,34 @@ class TranscriptionReceived(google.protobuf.message.Message): participant_identity: builtins.str track_sid: builtins.str @property - def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TranscriptionSegment]: ... + def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___TranscriptionSegment]: ... def __init__( self, *, participant_identity: builtins.str | None = ..., track_sid: builtins.str | None = ..., - segments: collections.abc.Iterable[global___TranscriptionSegment] | None = ..., + segments: collections.abc.Iterable[Global___TranscriptionSegment] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "segments", b"segments", "track_sid", b"track_sid"]) -> None: ... -global___TranscriptionReceived = TranscriptionReceived +Global___TranscriptionReceived: typing_extensions.TypeAlias = TranscriptionReceived @typing.final class ConnectionStateChanged(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor STATE_FIELD_NUMBER: builtins.int - state: global___ConnectionState.ValueType + state: Global___ConnectionState.ValueType def __init__( self, *, - state: global___ConnectionState.ValueType | None = ..., + state: Global___ConnectionState.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["state", b"state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["state", b"state"]) -> None: ... -global___ConnectionStateChanged = ConnectionStateChanged +Global___ConnectionStateChanged: typing_extensions.TypeAlias = ConnectionStateChanged @typing.final class Connected(google.protobuf.message.Message): @@ -2076,7 +2076,7 @@ class Connected(google.protobuf.message.Message): self, ) -> None: ... -global___Connected = Connected +Global___Connected: typing_extensions.TypeAlias = Connected @typing.final class Disconnected(google.protobuf.message.Message): @@ -2092,7 +2092,7 @@ class Disconnected(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reason", b"reason"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reason", b"reason"]) -> None: ... -global___Disconnected = Disconnected +Global___Disconnected: typing_extensions.TypeAlias = Disconnected @typing.final class Reconnecting(google.protobuf.message.Message): @@ -2102,7 +2102,7 @@ class Reconnecting(google.protobuf.message.Message): self, ) -> None: ... -global___Reconnecting = Reconnecting +Global___Reconnecting: typing_extensions.TypeAlias = Reconnecting @typing.final class Reconnected(google.protobuf.message.Message): @@ -2112,7 +2112,7 @@ class Reconnected(google.protobuf.message.Message): self, ) -> None: ... -global___Reconnected = Reconnected +Global___Reconnected: typing_extensions.TypeAlias = Reconnected @typing.final class TokenRefreshed(google.protobuf.message.Message): @@ -2128,7 +2128,7 @@ class TokenRefreshed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["token", b"token"]) -> None: ... -global___TokenRefreshed = TokenRefreshed +Global___TokenRefreshed: typing_extensions.TypeAlias = TokenRefreshed @typing.final class RoomEOS(google.protobuf.message.Message): @@ -2138,7 +2138,7 @@ class RoomEOS(google.protobuf.message.Message): self, ) -> None: ... -global___RoomEOS = RoomEOS +Global___RoomEOS: typing_extensions.TypeAlias = RoomEOS @typing.final class DataStream(google.protobuf.message.Message): @@ -2174,7 +2174,7 @@ class DataStream(google.protobuf.message.Message): REPLY_TO_STREAM_ID_FIELD_NUMBER: builtins.int ATTACHED_STREAM_IDS_FIELD_NUMBER: builtins.int GENERATED_FIELD_NUMBER: builtins.int - operation_type: global___DataStream.OperationType.ValueType + operation_type: Global___DataStream.OperationType.ValueType version: builtins.int """Optional: Version for updates/edits""" reply_to_stream_id: builtins.str @@ -2188,7 +2188,7 @@ class DataStream(google.protobuf.message.Message): def __init__( self, *, - operation_type: global___DataStream.OperationType.ValueType | None = ..., + operation_type: Global___DataStream.OperationType.ValueType | None = ..., version: builtins.int | None = ..., reply_to_stream_id: builtins.str | None = ..., attached_stream_ids: collections.abc.Iterable[builtins.str] | None = ..., @@ -2257,9 +2257,9 @@ class DataStream(google.protobuf.message.Message): """user defined attributes map that can carry additional info""" @property - def text_header(self) -> global___DataStream.TextHeader: ... + def text_header(self) -> Global___DataStream.TextHeader: ... @property - def byte_header(self) -> global___DataStream.ByteHeader: ... + def byte_header(self) -> Global___DataStream.ByteHeader: ... def __init__( self, *, @@ -2269,8 +2269,8 @@ class DataStream(google.protobuf.message.Message): topic: builtins.str | None = ..., total_length: builtins.int | None = ..., attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - text_header: global___DataStream.TextHeader | None = ..., - byte_header: global___DataStream.ByteHeader | None = ..., + text_header: Global___DataStream.TextHeader | None = ..., + byte_header: Global___DataStream.ByteHeader | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["byte_header", b"byte_header", "content_header", b"content_header", "mime_type", b"mime_type", "stream_id", b"stream_id", "text_header", b"text_header", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "byte_header", b"byte_header", "content_header", b"content_header", "mime_type", b"mime_type", "stream_id", b"stream_id", "text_header", b"text_header", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> None: ... @@ -2352,7 +2352,7 @@ class DataStream(google.protobuf.message.Message): self, ) -> None: ... -global___DataStream = DataStream +Global___DataStream: typing_extensions.TypeAlias = DataStream @typing.final class DataStreamHeaderReceived(google.protobuf.message.Message): @@ -2362,17 +2362,17 @@ class DataStreamHeaderReceived(google.protobuf.message.Message): HEADER_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def header(self) -> global___DataStream.Header: ... + def header(self) -> Global___DataStream.Header: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - header: global___DataStream.Header | None = ..., + header: Global___DataStream.Header | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["header", b"header", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["header", b"header", "participant_identity", b"participant_identity"]) -> None: ... -global___DataStreamHeaderReceived = DataStreamHeaderReceived +Global___DataStreamHeaderReceived: typing_extensions.TypeAlias = DataStreamHeaderReceived @typing.final class DataStreamChunkReceived(google.protobuf.message.Message): @@ -2382,17 +2382,17 @@ class DataStreamChunkReceived(google.protobuf.message.Message): CHUNK_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def chunk(self) -> global___DataStream.Chunk: ... + def chunk(self) -> Global___DataStream.Chunk: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - chunk: global___DataStream.Chunk | None = ..., + chunk: Global___DataStream.Chunk | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk", b"chunk", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "participant_identity", b"participant_identity"]) -> None: ... -global___DataStreamChunkReceived = DataStreamChunkReceived +Global___DataStreamChunkReceived: typing_extensions.TypeAlias = DataStreamChunkReceived @typing.final class DataStreamTrailerReceived(google.protobuf.message.Message): @@ -2402,17 +2402,17 @@ class DataStreamTrailerReceived(google.protobuf.message.Message): TRAILER_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def trailer(self) -> global___DataStream.Trailer: ... + def trailer(self) -> Global___DataStream.Trailer: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - trailer: global___DataStream.Trailer | None = ..., + trailer: Global___DataStream.Trailer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "trailer", b"trailer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "trailer", b"trailer"]) -> None: ... -global___DataStreamTrailerReceived = DataStreamTrailerReceived +Global___DataStreamTrailerReceived: typing_extensions.TypeAlias = DataStreamTrailerReceived @typing.final class SendStreamHeaderRequest(google.protobuf.message.Message): @@ -2425,21 +2425,21 @@ class SendStreamHeaderRequest(google.protobuf.message.Message): local_participant_handle: builtins.int sender_identity: builtins.str @property - def header(self) -> global___DataStream.Header: ... + def header(self) -> Global___DataStream.Header: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - header: global___DataStream.Header | None = ..., + header: Global___DataStream.Header | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["header", b"header", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "header", b"header", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> None: ... -global___SendStreamHeaderRequest = SendStreamHeaderRequest +Global___SendStreamHeaderRequest: typing_extensions.TypeAlias = SendStreamHeaderRequest @typing.final class SendStreamChunkRequest(google.protobuf.message.Message): @@ -2452,21 +2452,21 @@ class SendStreamChunkRequest(google.protobuf.message.Message): local_participant_handle: builtins.int sender_identity: builtins.str @property - def chunk(self) -> global___DataStream.Chunk: ... + def chunk(self) -> Global___DataStream.Chunk: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - chunk: global___DataStream.Chunk | None = ..., + chunk: Global___DataStream.Chunk | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk", b"chunk", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "destination_identities", b"destination_identities", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> None: ... -global___SendStreamChunkRequest = SendStreamChunkRequest +Global___SendStreamChunkRequest: typing_extensions.TypeAlias = SendStreamChunkRequest @typing.final class SendStreamTrailerRequest(google.protobuf.message.Message): @@ -2479,21 +2479,21 @@ class SendStreamTrailerRequest(google.protobuf.message.Message): local_participant_handle: builtins.int sender_identity: builtins.str @property - def trailer(self) -> global___DataStream.Trailer: ... + def trailer(self) -> Global___DataStream.Trailer: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - trailer: global___DataStream.Trailer | None = ..., + trailer: Global___DataStream.Trailer | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity", "trailer", b"trailer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity", "trailer", b"trailer"]) -> None: ... -global___SendStreamTrailerRequest = SendStreamTrailerRequest +Global___SendStreamTrailerRequest: typing_extensions.TypeAlias = SendStreamTrailerRequest @typing.final class SendStreamHeaderResponse(google.protobuf.message.Message): @@ -2509,7 +2509,7 @@ class SendStreamHeaderResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SendStreamHeaderResponse = SendStreamHeaderResponse +Global___SendStreamHeaderResponse: typing_extensions.TypeAlias = SendStreamHeaderResponse @typing.final class SendStreamChunkResponse(google.protobuf.message.Message): @@ -2525,7 +2525,7 @@ class SendStreamChunkResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SendStreamChunkResponse = SendStreamChunkResponse +Global___SendStreamChunkResponse: typing_extensions.TypeAlias = SendStreamChunkResponse @typing.final class SendStreamTrailerResponse(google.protobuf.message.Message): @@ -2541,7 +2541,7 @@ class SendStreamTrailerResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___SendStreamTrailerResponse = SendStreamTrailerResponse +Global___SendStreamTrailerResponse: typing_extensions.TypeAlias = SendStreamTrailerResponse @typing.final class SendStreamHeaderCallback(google.protobuf.message.Message): @@ -2560,7 +2560,7 @@ class SendStreamHeaderCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___SendStreamHeaderCallback = SendStreamHeaderCallback +Global___SendStreamHeaderCallback: typing_extensions.TypeAlias = SendStreamHeaderCallback @typing.final class SendStreamChunkCallback(google.protobuf.message.Message): @@ -2579,7 +2579,7 @@ class SendStreamChunkCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___SendStreamChunkCallback = SendStreamChunkCallback +Global___SendStreamChunkCallback: typing_extensions.TypeAlias = SendStreamChunkCallback @typing.final class SendStreamTrailerCallback(google.protobuf.message.Message): @@ -2598,7 +2598,7 @@ class SendStreamTrailerCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -global___SendStreamTrailerCallback = SendStreamTrailerCallback +Global___SendStreamTrailerCallback: typing_extensions.TypeAlias = SendStreamTrailerCallback @typing.final class SetDataChannelBufferedAmountLowThresholdRequest(google.protobuf.message.Message): @@ -2609,18 +2609,18 @@ class SetDataChannelBufferedAmountLowThresholdRequest(google.protobuf.message.Me KIND_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int threshold: builtins.int - kind: global___DataPacketKind.ValueType + kind: Global___DataPacketKind.ValueType def __init__( self, *, local_participant_handle: builtins.int | None = ..., threshold: builtins.int | None = ..., - kind: global___DataPacketKind.ValueType | None = ..., + kind: Global___DataPacketKind.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "local_participant_handle", b"local_participant_handle", "threshold", b"threshold"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "local_participant_handle", b"local_participant_handle", "threshold", b"threshold"]) -> None: ... -global___SetDataChannelBufferedAmountLowThresholdRequest = SetDataChannelBufferedAmountLowThresholdRequest +Global___SetDataChannelBufferedAmountLowThresholdRequest: typing_extensions.TypeAlias = SetDataChannelBufferedAmountLowThresholdRequest @typing.final class SetDataChannelBufferedAmountLowThresholdResponse(google.protobuf.message.Message): @@ -2630,7 +2630,7 @@ class SetDataChannelBufferedAmountLowThresholdResponse(google.protobuf.message.M self, ) -> None: ... -global___SetDataChannelBufferedAmountLowThresholdResponse = SetDataChannelBufferedAmountLowThresholdResponse +Global___SetDataChannelBufferedAmountLowThresholdResponse: typing_extensions.TypeAlias = SetDataChannelBufferedAmountLowThresholdResponse @typing.final class DataChannelBufferedAmountLowThresholdChanged(google.protobuf.message.Message): @@ -2638,18 +2638,18 @@ class DataChannelBufferedAmountLowThresholdChanged(google.protobuf.message.Messa KIND_FIELD_NUMBER: builtins.int THRESHOLD_FIELD_NUMBER: builtins.int - kind: global___DataPacketKind.ValueType + kind: Global___DataPacketKind.ValueType threshold: builtins.int def __init__( self, *, - kind: global___DataPacketKind.ValueType | None = ..., + kind: Global___DataPacketKind.ValueType | None = ..., threshold: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "threshold", b"threshold"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "threshold", b"threshold"]) -> None: ... -global___DataChannelBufferedAmountLowThresholdChanged = DataChannelBufferedAmountLowThresholdChanged +Global___DataChannelBufferedAmountLowThresholdChanged: typing_extensions.TypeAlias = DataChannelBufferedAmountLowThresholdChanged @typing.final class ByteStreamOpened(google.protobuf.message.Message): @@ -2669,7 +2669,7 @@ class ByteStreamOpened(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> None: ... -global___ByteStreamOpened = ByteStreamOpened +Global___ByteStreamOpened: typing_extensions.TypeAlias = ByteStreamOpened @typing.final class TextStreamOpened(google.protobuf.message.Message): @@ -2689,4 +2689,4 @@ class TextStreamOpened(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> None: ... -global___TextStreamOpened = TextStreamOpened +Global___TextStreamOpened: typing_extensions.TypeAlias = TextStreamOpened diff --git a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py index eeb1f9ff..0166188b 100644 --- a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: rpc.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'rpc.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rpc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_RPCERROR']._serialized_start=28 _globals['_RPCERROR']._serialized_end=83 diff --git a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi index 90d95d69..2282eb0d 100644 --- a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi @@ -19,8 +19,14 @@ limitations under the License. import builtins import google.protobuf.descriptor import google.protobuf.message +import sys import typing +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + DESCRIPTOR: google.protobuf.descriptor.FileDescriptor @typing.final @@ -43,7 +49,7 @@ class RpcError(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["code", b"code", "data", b"data", "message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["code", b"code", "data", b"data", "message", b"message"]) -> None: ... -global___RpcError = RpcError +Global___RpcError: typing_extensions.TypeAlias = RpcError @typing.final class PerformRpcRequest(google.protobuf.message.Message): @@ -73,7 +79,7 @@ class PerformRpcRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["destination_identity", b"destination_identity", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "response_timeout_ms", b"response_timeout_ms"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identity", b"destination_identity", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "response_timeout_ms", b"response_timeout_ms"]) -> None: ... -global___PerformRpcRequest = PerformRpcRequest +Global___PerformRpcRequest: typing_extensions.TypeAlias = PerformRpcRequest @typing.final class RegisterRpcMethodRequest(google.protobuf.message.Message): @@ -92,7 +98,7 @@ class RegisterRpcMethodRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> None: ... -global___RegisterRpcMethodRequest = RegisterRpcMethodRequest +Global___RegisterRpcMethodRequest: typing_extensions.TypeAlias = RegisterRpcMethodRequest @typing.final class UnregisterRpcMethodRequest(google.protobuf.message.Message): @@ -111,7 +117,7 @@ class UnregisterRpcMethodRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> None: ... -global___UnregisterRpcMethodRequest = UnregisterRpcMethodRequest +Global___UnregisterRpcMethodRequest: typing_extensions.TypeAlias = UnregisterRpcMethodRequest @typing.final class RpcMethodInvocationResponseRequest(google.protobuf.message.Message): @@ -125,19 +131,19 @@ class RpcMethodInvocationResponseRequest(google.protobuf.message.Message): invocation_id: builtins.int payload: builtins.str @property - def error(self) -> global___RpcError: ... + def error(self) -> Global___RpcError: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., invocation_id: builtins.int | None = ..., payload: builtins.str | None = ..., - error: global___RpcError | None = ..., + error: Global___RpcError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "payload", b"payload"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "payload", b"payload"]) -> None: ... -global___RpcMethodInvocationResponseRequest = RpcMethodInvocationResponseRequest +Global___RpcMethodInvocationResponseRequest: typing_extensions.TypeAlias = RpcMethodInvocationResponseRequest @typing.final class PerformRpcResponse(google.protobuf.message.Message): @@ -155,7 +161,7 @@ class PerformRpcResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___PerformRpcResponse = PerformRpcResponse +Global___PerformRpcResponse: typing_extensions.TypeAlias = PerformRpcResponse @typing.final class RegisterRpcMethodResponse(google.protobuf.message.Message): @@ -165,7 +171,7 @@ class RegisterRpcMethodResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RegisterRpcMethodResponse = RegisterRpcMethodResponse +Global___RegisterRpcMethodResponse: typing_extensions.TypeAlias = RegisterRpcMethodResponse @typing.final class UnregisterRpcMethodResponse(google.protobuf.message.Message): @@ -175,7 +181,7 @@ class UnregisterRpcMethodResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UnregisterRpcMethodResponse = UnregisterRpcMethodResponse +Global___UnregisterRpcMethodResponse: typing_extensions.TypeAlias = UnregisterRpcMethodResponse @typing.final class RpcMethodInvocationResponseResponse(google.protobuf.message.Message): @@ -191,7 +197,7 @@ class RpcMethodInvocationResponseResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -global___RpcMethodInvocationResponseResponse = RpcMethodInvocationResponseResponse +Global___RpcMethodInvocationResponseResponse: typing_extensions.TypeAlias = RpcMethodInvocationResponseResponse @typing.final class PerformRpcCallback(google.protobuf.message.Message): @@ -205,18 +211,18 @@ class PerformRpcCallback(google.protobuf.message.Message): async_id: builtins.int payload: builtins.str @property - def error(self) -> global___RpcError: ... + def error(self) -> Global___RpcError: ... def __init__( self, *, async_id: builtins.int | None = ..., payload: builtins.str | None = ..., - error: global___RpcError | None = ..., + error: Global___RpcError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "payload", b"payload"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "payload", b"payload"]) -> None: ... -global___PerformRpcCallback = PerformRpcCallback +Global___PerformRpcCallback: typing_extensions.TypeAlias = PerformRpcCallback @typing.final class RpcMethodInvocationEvent(google.protobuf.message.Message): @@ -252,4 +258,4 @@ class RpcMethodInvocationEvent(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["caller_identity", b"caller_identity", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "request_id", b"request_id", "response_timeout_ms", b"response_timeout_ms"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["caller_identity", b"caller_identity", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "request_id", b"request_id", "response_timeout_ms", b"response_timeout_ms"]) -> None: ... -global___RpcMethodInvocationEvent = RpcMethodInvocationEvent +Global___RpcMethodInvocationEvent: typing_extensions.TypeAlias = RpcMethodInvocationEvent diff --git a/livekit-rtc/livekit/rtc/_proto/stats_pb2.py b/livekit-rtc/livekit/rtc/_proto/stats_pb2.py index ce7b411c..73119d85 100644 --- a/livekit-rtc/livekit/rtc/_proto/stats_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/stats_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: stats.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'stats.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,10 +29,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'stats_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_OUTBOUNDRTPSTREAMSTATS_QUALITYLIMITATIONDURATIONSENTRY']._options = None + _globals['_OUTBOUNDRTPSTREAMSTATS_QUALITYLIMITATIONDURATIONSENTRY']._loaded_options = None _globals['_OUTBOUNDRTPSTREAMSTATS_QUALITYLIMITATIONDURATIONSENTRY']._serialized_options = b'8\001' _globals['_DATACHANNELSTATE']._serialized_start=9282 _globals['_DATACHANNELSTATE']._serialized_end=9363 diff --git a/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi index a77c233e..1b4e43b1 100644 --- a/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi @@ -49,7 +49,7 @@ DC_CONNECTING: DataChannelState.ValueType # 0 DC_OPEN: DataChannelState.ValueType # 1 DC_CLOSING: DataChannelState.ValueType # 2 DC_CLOSED: DataChannelState.ValueType # 3 -global___DataChannelState = DataChannelState +Global___DataChannelState: typing_extensions.TypeAlias = DataChannelState class _QualityLimitationReason: ValueType = typing.NewType("ValueType", builtins.int) @@ -68,7 +68,7 @@ LIMITATION_NONE: QualityLimitationReason.ValueType # 0 LIMITATION_CPU: QualityLimitationReason.ValueType # 1 LIMITATION_BANDWIDTH: QualityLimitationReason.ValueType # 2 LIMITATION_OTHER: QualityLimitationReason.ValueType # 3 -global___QualityLimitationReason = QualityLimitationReason +Global___QualityLimitationReason: typing_extensions.TypeAlias = QualityLimitationReason class _IceRole: ValueType = typing.NewType("ValueType", builtins.int) @@ -85,7 +85,7 @@ class IceRole(_IceRole, metaclass=_IceRoleEnumTypeWrapper): ... ICE_UNKNOWN: IceRole.ValueType # 0 ICE_CONTROLLING: IceRole.ValueType # 1 ICE_CONTROLLED: IceRole.ValueType # 2 -global___IceRole = IceRole +Global___IceRole: typing_extensions.TypeAlias = IceRole class _DtlsTransportState: ValueType = typing.NewType("ValueType", builtins.int) @@ -106,7 +106,7 @@ DTLS_TRANSPORT_CONNECTING: DtlsTransportState.ValueType # 1 DTLS_TRANSPORT_CONNECTED: DtlsTransportState.ValueType # 2 DTLS_TRANSPORT_CLOSED: DtlsTransportState.ValueType # 3 DTLS_TRANSPORT_FAILED: DtlsTransportState.ValueType # 4 -global___DtlsTransportState = DtlsTransportState +Global___DtlsTransportState: typing_extensions.TypeAlias = DtlsTransportState class _IceTransportState: ValueType = typing.NewType("ValueType", builtins.int) @@ -131,7 +131,7 @@ ICE_TRANSPORT_COMPLETED: IceTransportState.ValueType # 3 ICE_TRANSPORT_DISCONNECTED: IceTransportState.ValueType # 4 ICE_TRANSPORT_FAILED: IceTransportState.ValueType # 5 ICE_TRANSPORT_CLOSED: IceTransportState.ValueType # 6 -global___IceTransportState = IceTransportState +Global___IceTransportState: typing_extensions.TypeAlias = IceTransportState class _DtlsRole: ValueType = typing.NewType("ValueType", builtins.int) @@ -148,7 +148,7 @@ class DtlsRole(_DtlsRole, metaclass=_DtlsRoleEnumTypeWrapper): ... DTLS_CLIENT: DtlsRole.ValueType # 0 DTLS_SERVER: DtlsRole.ValueType # 1 DTLS_UNKNOWN: DtlsRole.ValueType # 2 -global___DtlsRole = DtlsRole +Global___DtlsRole: typing_extensions.TypeAlias = DtlsRole class _IceCandidatePairState: ValueType = typing.NewType("ValueType", builtins.int) @@ -169,7 +169,7 @@ PAIR_WAITING: IceCandidatePairState.ValueType # 1 PAIR_IN_PROGRESS: IceCandidatePairState.ValueType # 2 PAIR_FAILED: IceCandidatePairState.ValueType # 3 PAIR_SUCCEEDED: IceCandidatePairState.ValueType # 4 -global___IceCandidatePairState = IceCandidatePairState +Global___IceCandidatePairState: typing_extensions.TypeAlias = IceCandidatePairState class _IceCandidateType: ValueType = typing.NewType("ValueType", builtins.int) @@ -188,7 +188,7 @@ HOST: IceCandidateType.ValueType # 0 SRFLX: IceCandidateType.ValueType # 1 PRFLX: IceCandidateType.ValueType # 2 RELAY: IceCandidateType.ValueType # 3 -global___IceCandidateType = IceCandidateType +Global___IceCandidateType: typing_extensions.TypeAlias = IceCandidateType class _IceServerTransportProtocol: ValueType = typing.NewType("ValueType", builtins.int) @@ -205,7 +205,7 @@ class IceServerTransportProtocol(_IceServerTransportProtocol, metaclass=_IceServ TRANSPORT_UDP: IceServerTransportProtocol.ValueType # 0 TRANSPORT_TCP: IceServerTransportProtocol.ValueType # 1 TRANSPORT_TLS: IceServerTransportProtocol.ValueType # 2 -global___IceServerTransportProtocol = IceServerTransportProtocol +Global___IceServerTransportProtocol: typing_extensions.TypeAlias = IceServerTransportProtocol class _IceTcpCandidateType: ValueType = typing.NewType("ValueType", builtins.int) @@ -222,7 +222,7 @@ class IceTcpCandidateType(_IceTcpCandidateType, metaclass=_IceTcpCandidateTypeEn CANDIDATE_ACTIVE: IceTcpCandidateType.ValueType # 0 CANDIDATE_PASSIVE: IceTcpCandidateType.ValueType # 1 CANDIDATE_SO: IceTcpCandidateType.ValueType # 2 -global___IceTcpCandidateType = IceTcpCandidateType +Global___IceTcpCandidateType: typing_extensions.TypeAlias = IceTcpCandidateType @typing.final class RtcStats(google.protobuf.message.Message): @@ -235,14 +235,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CODEC_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def codec(self) -> global___CodecStats: ... + def codec(self) -> Global___CodecStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - codec: global___CodecStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + codec: Global___CodecStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["codec", b"codec", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["codec", b"codec", "rtc", b"rtc"]) -> None: ... @@ -256,20 +256,20 @@ class RtcStats(google.protobuf.message.Message): RECEIVED_FIELD_NUMBER: builtins.int INBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def stream(self) -> global___RtpStreamStats: ... + def stream(self) -> Global___RtpStreamStats: ... @property - def received(self) -> global___ReceivedRtpStreamStats: ... + def received(self) -> Global___ReceivedRtpStreamStats: ... @property - def inbound(self) -> global___InboundRtpStreamStats: ... + def inbound(self) -> Global___InboundRtpStreamStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - stream: global___RtpStreamStats | None = ..., - received: global___ReceivedRtpStreamStats | None = ..., - inbound: global___InboundRtpStreamStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + stream: Global___RtpStreamStats | None = ..., + received: Global___ReceivedRtpStreamStats | None = ..., + inbound: Global___InboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["inbound", b"inbound", "received", b"received", "rtc", b"rtc", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["inbound", b"inbound", "received", b"received", "rtc", b"rtc", "stream", b"stream"]) -> None: ... @@ -283,20 +283,20 @@ class RtcStats(google.protobuf.message.Message): SENT_FIELD_NUMBER: builtins.int OUTBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def stream(self) -> global___RtpStreamStats: ... + def stream(self) -> Global___RtpStreamStats: ... @property - def sent(self) -> global___SentRtpStreamStats: ... + def sent(self) -> Global___SentRtpStreamStats: ... @property - def outbound(self) -> global___OutboundRtpStreamStats: ... + def outbound(self) -> Global___OutboundRtpStreamStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - stream: global___RtpStreamStats | None = ..., - sent: global___SentRtpStreamStats | None = ..., - outbound: global___OutboundRtpStreamStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + stream: Global___RtpStreamStats | None = ..., + sent: Global___SentRtpStreamStats | None = ..., + outbound: Global___OutboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["outbound", b"outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["outbound", b"outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> None: ... @@ -310,20 +310,20 @@ class RtcStats(google.protobuf.message.Message): RECEIVED_FIELD_NUMBER: builtins.int REMOTE_INBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def stream(self) -> global___RtpStreamStats: ... + def stream(self) -> Global___RtpStreamStats: ... @property - def received(self) -> global___ReceivedRtpStreamStats: ... + def received(self) -> Global___ReceivedRtpStreamStats: ... @property - def remote_inbound(self) -> global___RemoteInboundRtpStreamStats: ... + def remote_inbound(self) -> Global___RemoteInboundRtpStreamStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - stream: global___RtpStreamStats | None = ..., - received: global___ReceivedRtpStreamStats | None = ..., - remote_inbound: global___RemoteInboundRtpStreamStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + stream: Global___RtpStreamStats | None = ..., + received: Global___ReceivedRtpStreamStats | None = ..., + remote_inbound: Global___RemoteInboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["received", b"received", "remote_inbound", b"remote_inbound", "rtc", b"rtc", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["received", b"received", "remote_inbound", b"remote_inbound", "rtc", b"rtc", "stream", b"stream"]) -> None: ... @@ -337,20 +337,20 @@ class RtcStats(google.protobuf.message.Message): SENT_FIELD_NUMBER: builtins.int REMOTE_OUTBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def stream(self) -> global___RtpStreamStats: ... + def stream(self) -> Global___RtpStreamStats: ... @property - def sent(self) -> global___SentRtpStreamStats: ... + def sent(self) -> Global___SentRtpStreamStats: ... @property - def remote_outbound(self) -> global___RemoteOutboundRtpStreamStats: ... + def remote_outbound(self) -> Global___RemoteOutboundRtpStreamStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - stream: global___RtpStreamStats | None = ..., - sent: global___SentRtpStreamStats | None = ..., - remote_outbound: global___RemoteOutboundRtpStreamStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + stream: Global___RtpStreamStats | None = ..., + sent: Global___SentRtpStreamStats | None = ..., + remote_outbound: Global___RemoteOutboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["remote_outbound", b"remote_outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["remote_outbound", b"remote_outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> None: ... @@ -364,20 +364,20 @@ class RtcStats(google.protobuf.message.Message): AUDIO_FIELD_NUMBER: builtins.int VIDEO_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def source(self) -> global___MediaSourceStats: ... + def source(self) -> Global___MediaSourceStats: ... @property - def audio(self) -> global___AudioSourceStats: ... + def audio(self) -> Global___AudioSourceStats: ... @property - def video(self) -> global___VideoSourceStats: ... + def video(self) -> Global___VideoSourceStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - source: global___MediaSourceStats | None = ..., - audio: global___AudioSourceStats | None = ..., - video: global___VideoSourceStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + source: Global___MediaSourceStats | None = ..., + audio: Global___AudioSourceStats | None = ..., + video: Global___VideoSourceStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["audio", b"audio", "rtc", b"rtc", "source", b"source", "video", b"video"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio", b"audio", "rtc", b"rtc", "source", b"source", "video", b"video"]) -> None: ... @@ -389,14 +389,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int AUDIO_PLAYOUT_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def audio_playout(self) -> global___AudioPlayoutStats: ... + def audio_playout(self) -> Global___AudioPlayoutStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - audio_playout: global___AudioPlayoutStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + audio_playout: Global___AudioPlayoutStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["audio_playout", b"audio_playout", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_playout", b"audio_playout", "rtc", b"rtc"]) -> None: ... @@ -408,14 +408,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int PC_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def pc(self) -> global___PeerConnectionStats: ... + def pc(self) -> Global___PeerConnectionStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - pc: global___PeerConnectionStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + pc: Global___PeerConnectionStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["pc", b"pc", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["pc", b"pc", "rtc", b"rtc"]) -> None: ... @@ -427,14 +427,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int DC_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def dc(self) -> global___DataChannelStats: ... + def dc(self) -> Global___DataChannelStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - dc: global___DataChannelStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + dc: Global___DataChannelStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["dc", b"dc", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["dc", b"dc", "rtc", b"rtc"]) -> None: ... @@ -446,14 +446,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int TRANSPORT_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def transport(self) -> global___TransportStats: ... + def transport(self) -> Global___TransportStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - transport: global___TransportStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + transport: Global___TransportStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["rtc", b"rtc", "transport", b"transport"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["rtc", b"rtc", "transport", b"transport"]) -> None: ... @@ -465,14 +465,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CANDIDATE_PAIR_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def candidate_pair(self) -> global___CandidatePairStats: ... + def candidate_pair(self) -> Global___CandidatePairStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - candidate_pair: global___CandidatePairStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + candidate_pair: Global___CandidatePairStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "rtc", b"rtc"]) -> None: ... @@ -484,14 +484,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CANDIDATE_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def candidate(self) -> global___IceCandidateStats: ... + def candidate(self) -> Global___IceCandidateStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - candidate: global___IceCandidateStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + candidate: Global___IceCandidateStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> None: ... @@ -503,14 +503,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CANDIDATE_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def candidate(self) -> global___IceCandidateStats: ... + def candidate(self) -> Global___IceCandidateStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - candidate: global___IceCandidateStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + candidate: Global___IceCandidateStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> None: ... @@ -522,14 +522,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CERTIFICATE_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def certificate(self) -> global___CertificateStats: ... + def certificate(self) -> Global___CertificateStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - certificate: global___CertificateStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + certificate: Global___CertificateStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["certificate", b"certificate", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["certificate", b"certificate", "rtc", b"rtc"]) -> None: ... @@ -541,14 +541,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int STREAM_FIELD_NUMBER: builtins.int @property - def rtc(self) -> global___RtcStatsData: ... + def rtc(self) -> Global___RtcStatsData: ... @property - def stream(self) -> global___StreamStats: ... + def stream(self) -> Global___StreamStats: ... def __init__( self, *, - rtc: global___RtcStatsData | None = ..., - stream: global___StreamStats | None = ..., + rtc: Global___RtcStatsData | None = ..., + stream: Global___StreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["rtc", b"rtc", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["rtc", b"rtc", "stream", b"stream"]) -> None: ... @@ -580,62 +580,62 @@ class RtcStats(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int TRACK_FIELD_NUMBER: builtins.int @property - def codec(self) -> global___RtcStats.Codec: ... + def codec(self) -> Global___RtcStats.Codec: ... @property - def inbound_rtp(self) -> global___RtcStats.InboundRtp: ... + def inbound_rtp(self) -> Global___RtcStats.InboundRtp: ... @property - def outbound_rtp(self) -> global___RtcStats.OutboundRtp: ... + def outbound_rtp(self) -> Global___RtcStats.OutboundRtp: ... @property - def remote_inbound_rtp(self) -> global___RtcStats.RemoteInboundRtp: ... + def remote_inbound_rtp(self) -> Global___RtcStats.RemoteInboundRtp: ... @property - def remote_outbound_rtp(self) -> global___RtcStats.RemoteOutboundRtp: ... + def remote_outbound_rtp(self) -> Global___RtcStats.RemoteOutboundRtp: ... @property - def media_source(self) -> global___RtcStats.MediaSource: ... + def media_source(self) -> Global___RtcStats.MediaSource: ... @property - def media_playout(self) -> global___RtcStats.MediaPlayout: ... + def media_playout(self) -> Global___RtcStats.MediaPlayout: ... @property - def peer_connection(self) -> global___RtcStats.PeerConnection: ... + def peer_connection(self) -> Global___RtcStats.PeerConnection: ... @property - def data_channel(self) -> global___RtcStats.DataChannel: ... + def data_channel(self) -> Global___RtcStats.DataChannel: ... @property - def transport(self) -> global___RtcStats.Transport: ... + def transport(self) -> Global___RtcStats.Transport: ... @property - def candidate_pair(self) -> global___RtcStats.CandidatePair: ... + def candidate_pair(self) -> Global___RtcStats.CandidatePair: ... @property - def local_candidate(self) -> global___RtcStats.LocalCandidate: ... + def local_candidate(self) -> Global___RtcStats.LocalCandidate: ... @property - def remote_candidate(self) -> global___RtcStats.RemoteCandidate: ... + def remote_candidate(self) -> Global___RtcStats.RemoteCandidate: ... @property - def certificate(self) -> global___RtcStats.Certificate: ... + def certificate(self) -> Global___RtcStats.Certificate: ... @property - def stream(self) -> global___RtcStats.Stream: ... + def stream(self) -> Global___RtcStats.Stream: ... @property - def track(self) -> global___RtcStats.Track: ... + def track(self) -> Global___RtcStats.Track: ... def __init__( self, *, - codec: global___RtcStats.Codec | None = ..., - inbound_rtp: global___RtcStats.InboundRtp | None = ..., - outbound_rtp: global___RtcStats.OutboundRtp | None = ..., - remote_inbound_rtp: global___RtcStats.RemoteInboundRtp | None = ..., - remote_outbound_rtp: global___RtcStats.RemoteOutboundRtp | None = ..., - media_source: global___RtcStats.MediaSource | None = ..., - media_playout: global___RtcStats.MediaPlayout | None = ..., - peer_connection: global___RtcStats.PeerConnection | None = ..., - data_channel: global___RtcStats.DataChannel | None = ..., - transport: global___RtcStats.Transport | None = ..., - candidate_pair: global___RtcStats.CandidatePair | None = ..., - local_candidate: global___RtcStats.LocalCandidate | None = ..., - remote_candidate: global___RtcStats.RemoteCandidate | None = ..., - certificate: global___RtcStats.Certificate | None = ..., - stream: global___RtcStats.Stream | None = ..., - track: global___RtcStats.Track | None = ..., + codec: Global___RtcStats.Codec | None = ..., + inbound_rtp: Global___RtcStats.InboundRtp | None = ..., + outbound_rtp: Global___RtcStats.OutboundRtp | None = ..., + remote_inbound_rtp: Global___RtcStats.RemoteInboundRtp | None = ..., + remote_outbound_rtp: Global___RtcStats.RemoteOutboundRtp | None = ..., + media_source: Global___RtcStats.MediaSource | None = ..., + media_playout: Global___RtcStats.MediaPlayout | None = ..., + peer_connection: Global___RtcStats.PeerConnection | None = ..., + data_channel: Global___RtcStats.DataChannel | None = ..., + transport: Global___RtcStats.Transport | None = ..., + candidate_pair: Global___RtcStats.CandidatePair | None = ..., + local_candidate: Global___RtcStats.LocalCandidate | None = ..., + remote_candidate: Global___RtcStats.RemoteCandidate | None = ..., + certificate: Global___RtcStats.Certificate | None = ..., + stream: Global___RtcStats.Stream | None = ..., + track: Global___RtcStats.Track | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "certificate", b"certificate", "codec", b"codec", "data_channel", b"data_channel", "inbound_rtp", b"inbound_rtp", "local_candidate", b"local_candidate", "media_playout", b"media_playout", "media_source", b"media_source", "outbound_rtp", b"outbound_rtp", "peer_connection", b"peer_connection", "remote_candidate", b"remote_candidate", "remote_inbound_rtp", b"remote_inbound_rtp", "remote_outbound_rtp", b"remote_outbound_rtp", "stats", b"stats", "stream", b"stream", "track", b"track", "transport", b"transport"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "certificate", b"certificate", "codec", b"codec", "data_channel", b"data_channel", "inbound_rtp", b"inbound_rtp", "local_candidate", b"local_candidate", "media_playout", b"media_playout", "media_source", b"media_source", "outbound_rtp", b"outbound_rtp", "peer_connection", b"peer_connection", "remote_candidate", b"remote_candidate", "remote_inbound_rtp", b"remote_inbound_rtp", "remote_outbound_rtp", b"remote_outbound_rtp", "stats", b"stats", "stream", b"stream", "track", b"track", "transport", b"transport"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["stats", b"stats"]) -> typing.Literal["codec", "inbound_rtp", "outbound_rtp", "remote_inbound_rtp", "remote_outbound_rtp", "media_source", "media_playout", "peer_connection", "data_channel", "transport", "candidate_pair", "local_candidate", "remote_candidate", "certificate", "stream", "track"] | None: ... -global___RtcStats = RtcStats +Global___RtcStats: typing_extensions.TypeAlias = RtcStats @typing.final class RtcStatsData(google.protobuf.message.Message): @@ -654,7 +654,7 @@ class RtcStatsData(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id", "timestamp", b"timestamp"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["id", b"id", "timestamp", b"timestamp"]) -> None: ... -global___RtcStatsData = RtcStatsData +Global___RtcStatsData: typing_extensions.TypeAlias = RtcStatsData @typing.final class CodecStats(google.protobuf.message.Message): @@ -685,7 +685,7 @@ class CodecStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["channels", b"channels", "clock_rate", b"clock_rate", "mime_type", b"mime_type", "payload_type", b"payload_type", "sdp_fmtp_line", b"sdp_fmtp_line", "transport_id", b"transport_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["channels", b"channels", "clock_rate", b"clock_rate", "mime_type", b"mime_type", "payload_type", b"payload_type", "sdp_fmtp_line", b"sdp_fmtp_line", "transport_id", b"transport_id"]) -> None: ... -global___CodecStats = CodecStats +Global___CodecStats: typing_extensions.TypeAlias = CodecStats @typing.final class RtpStreamStats(google.protobuf.message.Message): @@ -710,7 +710,7 @@ class RtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["codec_id", b"codec_id", "kind", b"kind", "ssrc", b"ssrc", "transport_id", b"transport_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["codec_id", b"codec_id", "kind", b"kind", "ssrc", b"ssrc", "transport_id", b"transport_id"]) -> None: ... -global___RtpStreamStats = RtpStreamStats +Global___RtpStreamStats: typing_extensions.TypeAlias = RtpStreamStats @typing.final class ReceivedRtpStreamStats(google.protobuf.message.Message): @@ -732,7 +732,7 @@ class ReceivedRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["jitter", b"jitter", "packets_lost", b"packets_lost", "packets_received", b"packets_received"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["jitter", b"jitter", "packets_lost", b"packets_lost", "packets_received", b"packets_received"]) -> None: ... -global___ReceivedRtpStreamStats = ReceivedRtpStreamStats +Global___ReceivedRtpStreamStats: typing_extensions.TypeAlias = ReceivedRtpStreamStats @typing.final class InboundRtpStreamStats(google.protobuf.message.Message): @@ -904,7 +904,7 @@ class InboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_level", b"audio_level", "bytes_received", b"bytes_received", "concealed_samples", b"concealed_samples", "concealment_events", b"concealment_events", "decoder_implementation", b"decoder_implementation", "estimated_playout_timestamp", b"estimated_playout_timestamp", "fec_bytes_received", b"fec_bytes_received", "fec_packets_discarded", b"fec_packets_discarded", "fec_packets_received", b"fec_packets_received", "fec_ssrc", b"fec_ssrc", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_assembled_from_multiple_packets", b"frames_assembled_from_multiple_packets", "frames_decoded", b"frames_decoded", "frames_dropped", b"frames_dropped", "frames_per_second", b"frames_per_second", "frames_received", b"frames_received", "frames_rendered", b"frames_rendered", "freeze_count", b"freeze_count", "header_bytes_received", b"header_bytes_received", "inserted_samples_for_deceleration", b"inserted_samples_for_deceleration", "jitter_buffer_delay", b"jitter_buffer_delay", "jitter_buffer_emitted_count", b"jitter_buffer_emitted_count", "jitter_buffer_minimum_delay", b"jitter_buffer_minimum_delay", "jitter_buffer_target_delay", b"jitter_buffer_target_delay", "key_frames_decoded", b"key_frames_decoded", "last_packet_received_timestamp", b"last_packet_received_timestamp", "mid", b"mid", "nack_count", b"nack_count", "packets_discarded", b"packets_discarded", "pause_count", b"pause_count", "playout_id", b"playout_id", "pli_count", b"pli_count", "power_efficient_decoder", b"power_efficient_decoder", "qp_sum", b"qp_sum", "remote_id", b"remote_id", "removed_samples_for_acceleration", b"removed_samples_for_acceleration", "retransmitted_bytes_received", b"retransmitted_bytes_received", "retransmitted_packets_received", b"retransmitted_packets_received", "rtx_ssrc", b"rtx_ssrc", "silent_concealed_samples", b"silent_concealed_samples", "total_assembly_time", b"total_assembly_time", "total_audio_energy", b"total_audio_energy", "total_decode_time", b"total_decode_time", "total_freeze_duration", b"total_freeze_duration", "total_inter_frame_delay", b"total_inter_frame_delay", "total_pause_duration", b"total_pause_duration", "total_processing_delay", b"total_processing_delay", "total_samples_duration", b"total_samples_duration", "total_samples_received", b"total_samples_received", "total_squared_inter_frame_delay", b"total_squared_inter_frame_delay", "track_identifier", b"track_identifier"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_level", b"audio_level", "bytes_received", b"bytes_received", "concealed_samples", b"concealed_samples", "concealment_events", b"concealment_events", "decoder_implementation", b"decoder_implementation", "estimated_playout_timestamp", b"estimated_playout_timestamp", "fec_bytes_received", b"fec_bytes_received", "fec_packets_discarded", b"fec_packets_discarded", "fec_packets_received", b"fec_packets_received", "fec_ssrc", b"fec_ssrc", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_assembled_from_multiple_packets", b"frames_assembled_from_multiple_packets", "frames_decoded", b"frames_decoded", "frames_dropped", b"frames_dropped", "frames_per_second", b"frames_per_second", "frames_received", b"frames_received", "frames_rendered", b"frames_rendered", "freeze_count", b"freeze_count", "header_bytes_received", b"header_bytes_received", "inserted_samples_for_deceleration", b"inserted_samples_for_deceleration", "jitter_buffer_delay", b"jitter_buffer_delay", "jitter_buffer_emitted_count", b"jitter_buffer_emitted_count", "jitter_buffer_minimum_delay", b"jitter_buffer_minimum_delay", "jitter_buffer_target_delay", b"jitter_buffer_target_delay", "key_frames_decoded", b"key_frames_decoded", "last_packet_received_timestamp", b"last_packet_received_timestamp", "mid", b"mid", "nack_count", b"nack_count", "packets_discarded", b"packets_discarded", "pause_count", b"pause_count", "playout_id", b"playout_id", "pli_count", b"pli_count", "power_efficient_decoder", b"power_efficient_decoder", "qp_sum", b"qp_sum", "remote_id", b"remote_id", "removed_samples_for_acceleration", b"removed_samples_for_acceleration", "retransmitted_bytes_received", b"retransmitted_bytes_received", "retransmitted_packets_received", b"retransmitted_packets_received", "rtx_ssrc", b"rtx_ssrc", "silent_concealed_samples", b"silent_concealed_samples", "total_assembly_time", b"total_assembly_time", "total_audio_energy", b"total_audio_energy", "total_decode_time", b"total_decode_time", "total_freeze_duration", b"total_freeze_duration", "total_inter_frame_delay", b"total_inter_frame_delay", "total_pause_duration", b"total_pause_duration", "total_processing_delay", b"total_processing_delay", "total_samples_duration", b"total_samples_duration", "total_samples_received", b"total_samples_received", "total_squared_inter_frame_delay", b"total_squared_inter_frame_delay", "track_identifier", b"track_identifier"]) -> None: ... -global___InboundRtpStreamStats = InboundRtpStreamStats +Global___InboundRtpStreamStats: typing_extensions.TypeAlias = InboundRtpStreamStats @typing.final class SentRtpStreamStats(google.protobuf.message.Message): @@ -923,7 +923,7 @@ class SentRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["bytes_sent", b"bytes_sent", "packets_sent", b"packets_sent"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes_sent", b"bytes_sent", "packets_sent", b"packets_sent"]) -> None: ... -global___SentRtpStreamStats = SentRtpStreamStats +Global___SentRtpStreamStats: typing_extensions.TypeAlias = SentRtpStreamStats @typing.final class OutboundRtpStreamStats(google.protobuf.message.Message): @@ -996,7 +996,7 @@ class OutboundRtpStreamStats(google.protobuf.message.Message): qp_sum: builtins.int total_encode_time: builtins.float total_packet_send_delay: builtins.float - quality_limitation_reason: global___QualityLimitationReason.ValueType + quality_limitation_reason: Global___QualityLimitationReason.ValueType quality_limitation_resolution_changes: builtins.int nack_count: builtins.int fir_count: builtins.int @@ -1030,7 +1030,7 @@ class OutboundRtpStreamStats(google.protobuf.message.Message): qp_sum: builtins.int | None = ..., total_encode_time: builtins.float | None = ..., total_packet_send_delay: builtins.float | None = ..., - quality_limitation_reason: global___QualityLimitationReason.ValueType | None = ..., + quality_limitation_reason: Global___QualityLimitationReason.ValueType | None = ..., quality_limitation_durations: collections.abc.Mapping[builtins.str, builtins.float] | None = ..., quality_limitation_resolution_changes: builtins.int | None = ..., nack_count: builtins.int | None = ..., @@ -1044,7 +1044,7 @@ class OutboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["active", b"active", "encoder_implementation", b"encoder_implementation", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_encoded", b"frames_encoded", "frames_per_second", b"frames_per_second", "frames_sent", b"frames_sent", "header_bytes_sent", b"header_bytes_sent", "huge_frames_sent", b"huge_frames_sent", "key_frames_encoded", b"key_frames_encoded", "media_source_id", b"media_source_id", "mid", b"mid", "nack_count", b"nack_count", "pli_count", b"pli_count", "power_efficient_encoder", b"power_efficient_encoder", "qp_sum", b"qp_sum", "quality_limitation_reason", b"quality_limitation_reason", "quality_limitation_resolution_changes", b"quality_limitation_resolution_changes", "remote_id", b"remote_id", "retransmitted_bytes_sent", b"retransmitted_bytes_sent", "retransmitted_packets_sent", b"retransmitted_packets_sent", "rid", b"rid", "rtx_ssrc", b"rtx_ssrc", "scalability_mode", b"scalability_mode", "target_bitrate", b"target_bitrate", "total_encode_time", b"total_encode_time", "total_encoded_bytes_target", b"total_encoded_bytes_target", "total_packet_send_delay", b"total_packet_send_delay"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["active", b"active", "encoder_implementation", b"encoder_implementation", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_encoded", b"frames_encoded", "frames_per_second", b"frames_per_second", "frames_sent", b"frames_sent", "header_bytes_sent", b"header_bytes_sent", "huge_frames_sent", b"huge_frames_sent", "key_frames_encoded", b"key_frames_encoded", "media_source_id", b"media_source_id", "mid", b"mid", "nack_count", b"nack_count", "pli_count", b"pli_count", "power_efficient_encoder", b"power_efficient_encoder", "qp_sum", b"qp_sum", "quality_limitation_durations", b"quality_limitation_durations", "quality_limitation_reason", b"quality_limitation_reason", "quality_limitation_resolution_changes", b"quality_limitation_resolution_changes", "remote_id", b"remote_id", "retransmitted_bytes_sent", b"retransmitted_bytes_sent", "retransmitted_packets_sent", b"retransmitted_packets_sent", "rid", b"rid", "rtx_ssrc", b"rtx_ssrc", "scalability_mode", b"scalability_mode", "target_bitrate", b"target_bitrate", "total_encode_time", b"total_encode_time", "total_encoded_bytes_target", b"total_encoded_bytes_target", "total_packet_send_delay", b"total_packet_send_delay"]) -> None: ... -global___OutboundRtpStreamStats = OutboundRtpStreamStats +Global___OutboundRtpStreamStats: typing_extensions.TypeAlias = OutboundRtpStreamStats @typing.final class RemoteInboundRtpStreamStats(google.protobuf.message.Message): @@ -1072,7 +1072,7 @@ class RemoteInboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["fraction_lost", b"fraction_lost", "local_id", b"local_id", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["fraction_lost", b"fraction_lost", "local_id", b"local_id", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> None: ... -global___RemoteInboundRtpStreamStats = RemoteInboundRtpStreamStats +Global___RemoteInboundRtpStreamStats: typing_extensions.TypeAlias = RemoteInboundRtpStreamStats @typing.final class RemoteOutboundRtpStreamStats(google.protobuf.message.Message): @@ -1103,7 +1103,7 @@ class RemoteOutboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_id", b"local_id", "remote_timestamp", b"remote_timestamp", "reports_sent", b"reports_sent", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_id", b"local_id", "remote_timestamp", b"remote_timestamp", "reports_sent", b"reports_sent", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> None: ... -global___RemoteOutboundRtpStreamStats = RemoteOutboundRtpStreamStats +Global___RemoteOutboundRtpStreamStats: typing_extensions.TypeAlias = RemoteOutboundRtpStreamStats @typing.final class MediaSourceStats(google.protobuf.message.Message): @@ -1122,7 +1122,7 @@ class MediaSourceStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["kind", b"kind", "track_identifier", b"track_identifier"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "track_identifier", b"track_identifier"]) -> None: ... -global___MediaSourceStats = MediaSourceStats +Global___MediaSourceStats: typing_extensions.TypeAlias = MediaSourceStats @typing.final class AudioSourceStats(google.protobuf.message.Message): @@ -1162,7 +1162,7 @@ class AudioSourceStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_level", b"audio_level", "dropped_samples_duration", b"dropped_samples_duration", "dropped_samples_events", b"dropped_samples_events", "echo_return_loss", b"echo_return_loss", "echo_return_loss_enhancement", b"echo_return_loss_enhancement", "total_audio_energy", b"total_audio_energy", "total_capture_delay", b"total_capture_delay", "total_samples_captured", b"total_samples_captured", "total_samples_duration", b"total_samples_duration"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_level", b"audio_level", "dropped_samples_duration", b"dropped_samples_duration", "dropped_samples_events", b"dropped_samples_events", "echo_return_loss", b"echo_return_loss", "echo_return_loss_enhancement", b"echo_return_loss_enhancement", "total_audio_energy", b"total_audio_energy", "total_capture_delay", b"total_capture_delay", "total_samples_captured", b"total_samples_captured", "total_samples_duration", b"total_samples_duration"]) -> None: ... -global___AudioSourceStats = AudioSourceStats +Global___AudioSourceStats: typing_extensions.TypeAlias = AudioSourceStats @typing.final class VideoSourceStats(google.protobuf.message.Message): @@ -1187,7 +1187,7 @@ class VideoSourceStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["frames", b"frames", "frames_per_second", b"frames_per_second", "height", b"height", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["frames", b"frames", "frames_per_second", b"frames_per_second", "height", b"height", "width", b"width"]) -> None: ... -global___VideoSourceStats = VideoSourceStats +Global___VideoSourceStats: typing_extensions.TypeAlias = VideoSourceStats @typing.final class AudioPlayoutStats(google.protobuf.message.Message): @@ -1218,7 +1218,7 @@ class AudioPlayoutStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["kind", b"kind", "synthesized_samples_duration", b"synthesized_samples_duration", "synthesized_samples_events", b"synthesized_samples_events", "total_playout_delay", b"total_playout_delay", "total_samples_count", b"total_samples_count", "total_samples_duration", b"total_samples_duration"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "synthesized_samples_duration", b"synthesized_samples_duration", "synthesized_samples_events", b"synthesized_samples_events", "total_playout_delay", b"total_playout_delay", "total_samples_count", b"total_samples_count", "total_samples_duration", b"total_samples_duration"]) -> None: ... -global___AudioPlayoutStats = AudioPlayoutStats +Global___AudioPlayoutStats: typing_extensions.TypeAlias = AudioPlayoutStats @typing.final class PeerConnectionStats(google.protobuf.message.Message): @@ -1237,7 +1237,7 @@ class PeerConnectionStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_channels_closed", b"data_channels_closed", "data_channels_opened", b"data_channels_opened"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_channels_closed", b"data_channels_closed", "data_channels_opened", b"data_channels_opened"]) -> None: ... -global___PeerConnectionStats = PeerConnectionStats +Global___PeerConnectionStats: typing_extensions.TypeAlias = PeerConnectionStats @typing.final class DataChannelStats(google.protobuf.message.Message): @@ -1254,7 +1254,7 @@ class DataChannelStats(google.protobuf.message.Message): label: builtins.str protocol: builtins.str data_channel_identifier: builtins.int - state: global___DataChannelState.ValueType + state: Global___DataChannelState.ValueType messages_sent: builtins.int bytes_sent: builtins.int messages_received: builtins.int @@ -1265,7 +1265,7 @@ class DataChannelStats(google.protobuf.message.Message): label: builtins.str | None = ..., protocol: builtins.str | None = ..., data_channel_identifier: builtins.int | None = ..., - state: global___DataChannelState.ValueType | None = ..., + state: Global___DataChannelState.ValueType | None = ..., messages_sent: builtins.int | None = ..., bytes_sent: builtins.int | None = ..., messages_received: builtins.int | None = ..., @@ -1274,7 +1274,7 @@ class DataChannelStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "data_channel_identifier", b"data_channel_identifier", "label", b"label", "messages_received", b"messages_received", "messages_sent", b"messages_sent", "protocol", b"protocol", "state", b"state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "data_channel_identifier", b"data_channel_identifier", "label", b"label", "messages_received", b"messages_received", "messages_sent", b"messages_sent", "protocol", b"protocol", "state", b"state"]) -> None: ... -global___DataChannelStats = DataChannelStats +Global___DataChannelStats: typing_extensions.TypeAlias = DataChannelStats @typing.final class TransportStats(google.protobuf.message.Message): @@ -1300,16 +1300,16 @@ class TransportStats(google.protobuf.message.Message): packets_received: builtins.int bytes_sent: builtins.int bytes_received: builtins.int - ice_role: global___IceRole.ValueType + ice_role: Global___IceRole.ValueType ice_local_username_fragment: builtins.str - dtls_state: global___DtlsTransportState.ValueType - ice_state: global___IceTransportState.ValueType + dtls_state: Global___DtlsTransportState.ValueType + ice_state: Global___IceTransportState.ValueType selected_candidate_pair_id: builtins.str local_certificate_id: builtins.str remote_certificate_id: builtins.str tls_version: builtins.str dtls_cipher: builtins.str - dtls_role: global___DtlsRole.ValueType + dtls_role: Global___DtlsRole.ValueType srtp_cipher: builtins.str selected_candidate_pair_changes: builtins.int def __init__( @@ -1319,23 +1319,23 @@ class TransportStats(google.protobuf.message.Message): packets_received: builtins.int | None = ..., bytes_sent: builtins.int | None = ..., bytes_received: builtins.int | None = ..., - ice_role: global___IceRole.ValueType | None = ..., + ice_role: Global___IceRole.ValueType | None = ..., ice_local_username_fragment: builtins.str | None = ..., - dtls_state: global___DtlsTransportState.ValueType | None = ..., - ice_state: global___IceTransportState.ValueType | None = ..., + dtls_state: Global___DtlsTransportState.ValueType | None = ..., + ice_state: Global___IceTransportState.ValueType | None = ..., selected_candidate_pair_id: builtins.str | None = ..., local_certificate_id: builtins.str | None = ..., remote_certificate_id: builtins.str | None = ..., tls_version: builtins.str | None = ..., dtls_cipher: builtins.str | None = ..., - dtls_role: global___DtlsRole.ValueType | None = ..., + dtls_role: Global___DtlsRole.ValueType | None = ..., srtp_cipher: builtins.str | None = ..., selected_candidate_pair_changes: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "dtls_cipher", b"dtls_cipher", "dtls_role", b"dtls_role", "dtls_state", b"dtls_state", "ice_local_username_fragment", b"ice_local_username_fragment", "ice_role", b"ice_role", "ice_state", b"ice_state", "local_certificate_id", b"local_certificate_id", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_certificate_id", b"remote_certificate_id", "selected_candidate_pair_changes", b"selected_candidate_pair_changes", "selected_candidate_pair_id", b"selected_candidate_pair_id", "srtp_cipher", b"srtp_cipher", "tls_version", b"tls_version"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "dtls_cipher", b"dtls_cipher", "dtls_role", b"dtls_role", "dtls_state", b"dtls_state", "ice_local_username_fragment", b"ice_local_username_fragment", "ice_role", b"ice_role", "ice_state", b"ice_state", "local_certificate_id", b"local_certificate_id", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_certificate_id", b"remote_certificate_id", "selected_candidate_pair_changes", b"selected_candidate_pair_changes", "selected_candidate_pair_id", b"selected_candidate_pair_id", "srtp_cipher", b"srtp_cipher", "tls_version", b"tls_version"]) -> None: ... -global___TransportStats = TransportStats +Global___TransportStats: typing_extensions.TypeAlias = TransportStats @typing.final class CandidatePairStats(google.protobuf.message.Message): @@ -1366,7 +1366,7 @@ class CandidatePairStats(google.protobuf.message.Message): transport_id: builtins.str local_candidate_id: builtins.str remote_candidate_id: builtins.str - state: global___IceCandidatePairState.ValueType + state: Global___IceCandidatePairState.ValueType nominated: builtins.bool packets_sent: builtins.int packets_received: builtins.int @@ -1391,7 +1391,7 @@ class CandidatePairStats(google.protobuf.message.Message): transport_id: builtins.str | None = ..., local_candidate_id: builtins.str | None = ..., remote_candidate_id: builtins.str | None = ..., - state: global___IceCandidatePairState.ValueType | None = ..., + state: Global___IceCandidatePairState.ValueType | None = ..., nominated: builtins.bool | None = ..., packets_sent: builtins.int | None = ..., packets_received: builtins.int | None = ..., @@ -1414,7 +1414,7 @@ class CandidatePairStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["available_incoming_bitrate", b"available_incoming_bitrate", "available_outgoing_bitrate", b"available_outgoing_bitrate", "bytes_discarded_on_send", b"bytes_discarded_on_send", "bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "consent_requests_sent", b"consent_requests_sent", "current_round_trip_time", b"current_round_trip_time", "last_packet_received_timestamp", b"last_packet_received_timestamp", "last_packet_sent_timestamp", b"last_packet_sent_timestamp", "local_candidate_id", b"local_candidate_id", "nominated", b"nominated", "packets_discarded_on_send", b"packets_discarded_on_send", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_candidate_id", b"remote_candidate_id", "requests_received", b"requests_received", "requests_sent", b"requests_sent", "responses_received", b"responses_received", "responses_sent", b"responses_sent", "state", b"state", "total_round_trip_time", b"total_round_trip_time", "transport_id", b"transport_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["available_incoming_bitrate", b"available_incoming_bitrate", "available_outgoing_bitrate", b"available_outgoing_bitrate", "bytes_discarded_on_send", b"bytes_discarded_on_send", "bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "consent_requests_sent", b"consent_requests_sent", "current_round_trip_time", b"current_round_trip_time", "last_packet_received_timestamp", b"last_packet_received_timestamp", "last_packet_sent_timestamp", b"last_packet_sent_timestamp", "local_candidate_id", b"local_candidate_id", "nominated", b"nominated", "packets_discarded_on_send", b"packets_discarded_on_send", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_candidate_id", b"remote_candidate_id", "requests_received", b"requests_received", "requests_sent", b"requests_sent", "responses_received", b"responses_received", "responses_sent", b"responses_sent", "state", b"state", "total_round_trip_time", b"total_round_trip_time", "transport_id", b"transport_id"]) -> None: ... -global___CandidatePairStats = CandidatePairStats +Global___CandidatePairStats: typing_extensions.TypeAlias = CandidatePairStats @typing.final class IceCandidateStats(google.protobuf.message.Message): @@ -1437,15 +1437,15 @@ class IceCandidateStats(google.protobuf.message.Message): address: builtins.str port: builtins.int protocol: builtins.str - candidate_type: global___IceCandidateType.ValueType + candidate_type: Global___IceCandidateType.ValueType priority: builtins.int url: builtins.str - relay_protocol: global___IceServerTransportProtocol.ValueType + relay_protocol: Global___IceServerTransportProtocol.ValueType foundation: builtins.str related_address: builtins.str related_port: builtins.int username_fragment: builtins.str - tcp_type: global___IceTcpCandidateType.ValueType + tcp_type: Global___IceTcpCandidateType.ValueType def __init__( self, *, @@ -1453,20 +1453,20 @@ class IceCandidateStats(google.protobuf.message.Message): address: builtins.str | None = ..., port: builtins.int | None = ..., protocol: builtins.str | None = ..., - candidate_type: global___IceCandidateType.ValueType | None = ..., + candidate_type: Global___IceCandidateType.ValueType | None = ..., priority: builtins.int | None = ..., url: builtins.str | None = ..., - relay_protocol: global___IceServerTransportProtocol.ValueType | None = ..., + relay_protocol: Global___IceServerTransportProtocol.ValueType | None = ..., foundation: builtins.str | None = ..., related_address: builtins.str | None = ..., related_port: builtins.int | None = ..., username_fragment: builtins.str | None = ..., - tcp_type: global___IceTcpCandidateType.ValueType | None = ..., + tcp_type: Global___IceTcpCandidateType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["address", b"address", "candidate_type", b"candidate_type", "foundation", b"foundation", "port", b"port", "priority", b"priority", "protocol", b"protocol", "related_address", b"related_address", "related_port", b"related_port", "relay_protocol", b"relay_protocol", "tcp_type", b"tcp_type", "transport_id", b"transport_id", "url", b"url", "username_fragment", b"username_fragment"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["address", b"address", "candidate_type", b"candidate_type", "foundation", b"foundation", "port", b"port", "priority", b"priority", "protocol", b"protocol", "related_address", b"related_address", "related_port", b"related_port", "relay_protocol", b"relay_protocol", "tcp_type", b"tcp_type", "transport_id", b"transport_id", "url", b"url", "username_fragment", b"username_fragment"]) -> None: ... -global___IceCandidateStats = IceCandidateStats +Global___IceCandidateStats: typing_extensions.TypeAlias = IceCandidateStats @typing.final class CertificateStats(google.protobuf.message.Message): @@ -1491,7 +1491,7 @@ class CertificateStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["base64_certificate", b"base64_certificate", "fingerprint", b"fingerprint", "fingerprint_algorithm", b"fingerprint_algorithm", "issuer_certificate_id", b"issuer_certificate_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["base64_certificate", b"base64_certificate", "fingerprint", b"fingerprint", "fingerprint_algorithm", b"fingerprint_algorithm", "issuer_certificate_id", b"issuer_certificate_id"]) -> None: ... -global___CertificateStats = CertificateStats +Global___CertificateStats: typing_extensions.TypeAlias = CertificateStats @typing.final class StreamStats(google.protobuf.message.Message): @@ -1511,4 +1511,4 @@ class StreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id", "stream_identifier", b"stream_identifier"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["id", b"id", "stream_identifier", b"stream_identifier"]) -> None: ... -global___StreamStats = StreamStats +Global___StreamStats: typing_extensions.TypeAlias = StreamStats diff --git a/livekit-rtc/livekit/rtc/_proto/track_pb2.py b/livekit-rtc/livekit/rtc/_proto/track_pb2.py index 0f6c9fe7..1bf53db9 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/track_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: track.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'track.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,8 +32,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'track_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_TRACKKIND']._serialized_start=1801 _globals['_TRACKKIND']._serialized_end=1862 diff --git a/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi index b6c83df9..d1c381f1 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi @@ -50,7 +50,7 @@ class TrackKind(_TrackKind, metaclass=_TrackKindEnumTypeWrapper): ... KIND_UNKNOWN: TrackKind.ValueType # 0 KIND_AUDIO: TrackKind.ValueType # 1 KIND_VIDEO: TrackKind.ValueType # 2 -global___TrackKind = TrackKind +Global___TrackKind: typing_extensions.TypeAlias = TrackKind class _TrackSource: ValueType = typing.NewType("ValueType", builtins.int) @@ -71,7 +71,7 @@ SOURCE_CAMERA: TrackSource.ValueType # 1 SOURCE_MICROPHONE: TrackSource.ValueType # 2 SOURCE_SCREENSHARE: TrackSource.ValueType # 3 SOURCE_SCREENSHARE_AUDIO: TrackSource.ValueType # 4 -global___TrackSource = TrackSource +Global___TrackSource: typing_extensions.TypeAlias = TrackSource class _StreamState: ValueType = typing.NewType("ValueType", builtins.int) @@ -88,7 +88,7 @@ class StreamState(_StreamState, metaclass=_StreamStateEnumTypeWrapper): ... STATE_UNKNOWN: StreamState.ValueType # 0 STATE_ACTIVE: StreamState.ValueType # 1 STATE_PAUSED: StreamState.ValueType # 2 -global___StreamState = StreamState +Global___StreamState: typing_extensions.TypeAlias = StreamState class _AudioTrackFeature: ValueType = typing.NewType("ValueType", builtins.int) @@ -115,7 +115,7 @@ TF_NOISE_SUPPRESSION: AudioTrackFeature.ValueType # 4 TF_ENHANCED_NOISE_CANCELLATION: AudioTrackFeature.ValueType # 5 TF_PRECONNECT_BUFFER: AudioTrackFeature.ValueType # 6 """client will buffer audio once available and send it to the server via bytes stream once connected""" -global___AudioTrackFeature = AudioTrackFeature +Global___AudioTrackFeature: typing_extensions.TypeAlias = AudioTrackFeature @typing.final class CreateVideoTrackRequest(google.protobuf.message.Message): @@ -136,7 +136,7 @@ class CreateVideoTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> None: ... -global___CreateVideoTrackRequest = CreateVideoTrackRequest +Global___CreateVideoTrackRequest: typing_extensions.TypeAlias = CreateVideoTrackRequest @typing.final class CreateVideoTrackResponse(google.protobuf.message.Message): @@ -144,16 +144,16 @@ class CreateVideoTrackResponse(google.protobuf.message.Message): TRACK_FIELD_NUMBER: builtins.int @property - def track(self) -> global___OwnedTrack: ... + def track(self) -> Global___OwnedTrack: ... def __init__( self, *, - track: global___OwnedTrack | None = ..., + track: Global___OwnedTrack | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["track", b"track"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track", b"track"]) -> None: ... -global___CreateVideoTrackResponse = CreateVideoTrackResponse +Global___CreateVideoTrackResponse: typing_extensions.TypeAlias = CreateVideoTrackResponse @typing.final class CreateAudioTrackRequest(google.protobuf.message.Message): @@ -174,7 +174,7 @@ class CreateAudioTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> None: ... -global___CreateAudioTrackRequest = CreateAudioTrackRequest +Global___CreateAudioTrackRequest: typing_extensions.TypeAlias = CreateAudioTrackRequest @typing.final class CreateAudioTrackResponse(google.protobuf.message.Message): @@ -182,16 +182,16 @@ class CreateAudioTrackResponse(google.protobuf.message.Message): TRACK_FIELD_NUMBER: builtins.int @property - def track(self) -> global___OwnedTrack: ... + def track(self) -> Global___OwnedTrack: ... def __init__( self, *, - track: global___OwnedTrack | None = ..., + track: Global___OwnedTrack | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["track", b"track"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track", b"track"]) -> None: ... -global___CreateAudioTrackResponse = CreateAudioTrackResponse +Global___CreateAudioTrackResponse: typing_extensions.TypeAlias = CreateAudioTrackResponse @typing.final class GetStatsRequest(google.protobuf.message.Message): @@ -207,7 +207,7 @@ class GetStatsRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track_handle", b"track_handle"]) -> None: ... -global___GetStatsRequest = GetStatsRequest +Global___GetStatsRequest: typing_extensions.TypeAlias = GetStatsRequest @typing.final class GetStatsResponse(google.protobuf.message.Message): @@ -223,7 +223,7 @@ class GetStatsResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -global___GetStatsResponse = GetStatsResponse +Global___GetStatsResponse: typing_extensions.TypeAlias = GetStatsResponse @typing.final class GetStatsCallback(google.protobuf.message.Message): @@ -246,7 +246,7 @@ class GetStatsCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "stats", b"stats"]) -> None: ... -global___GetStatsCallback = GetStatsCallback +Global___GetStatsCallback: typing_extensions.TypeAlias = GetStatsCallback @typing.final class TrackEvent(google.protobuf.message.Message): @@ -260,7 +260,7 @@ class TrackEvent(google.protobuf.message.Message): self, ) -> None: ... -global___TrackEvent = TrackEvent +Global___TrackEvent: typing_extensions.TypeAlias = TrackEvent @typing.final class TrackPublicationInfo(google.protobuf.message.Message): @@ -280,8 +280,8 @@ class TrackPublicationInfo(google.protobuf.message.Message): AUDIO_FEATURES_FIELD_NUMBER: builtins.int sid: builtins.str name: builtins.str - kind: global___TrackKind.ValueType - source: global___TrackSource.ValueType + kind: Global___TrackKind.ValueType + source: Global___TrackSource.ValueType simulcasted: builtins.bool width: builtins.int height: builtins.int @@ -290,14 +290,14 @@ class TrackPublicationInfo(google.protobuf.message.Message): remote: builtins.bool encryption_type: e2ee_pb2.EncryptionType.ValueType @property - def audio_features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___AudioTrackFeature.ValueType]: ... + def audio_features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[Global___AudioTrackFeature.ValueType]: ... def __init__( self, *, sid: builtins.str | None = ..., name: builtins.str | None = ..., - kind: global___TrackKind.ValueType | None = ..., - source: global___TrackSource.ValueType | None = ..., + kind: Global___TrackKind.ValueType | None = ..., + source: Global___TrackSource.ValueType | None = ..., simulcasted: builtins.bool | None = ..., width: builtins.int | None = ..., height: builtins.int | None = ..., @@ -305,12 +305,12 @@ class TrackPublicationInfo(google.protobuf.message.Message): muted: builtins.bool | None = ..., remote: builtins.bool | None = ..., encryption_type: e2ee_pb2.EncryptionType.ValueType | None = ..., - audio_features: collections.abc.Iterable[global___AudioTrackFeature.ValueType] | None = ..., + audio_features: collections.abc.Iterable[Global___AudioTrackFeature.ValueType] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "height", b"height", "kind", b"kind", "mime_type", b"mime_type", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "simulcasted", b"simulcasted", "source", b"source", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_features", b"audio_features", "encryption_type", b"encryption_type", "height", b"height", "kind", b"kind", "mime_type", b"mime_type", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "simulcasted", b"simulcasted", "source", b"source", "width", b"width"]) -> None: ... -global___TrackPublicationInfo = TrackPublicationInfo +Global___TrackPublicationInfo: typing_extensions.TypeAlias = TrackPublicationInfo @typing.final class OwnedTrackPublication(google.protobuf.message.Message): @@ -321,17 +321,17 @@ class OwnedTrackPublication(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___TrackPublicationInfo: ... + def info(self) -> Global___TrackPublicationInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___TrackPublicationInfo | None = ..., + info: Global___TrackPublicationInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedTrackPublication = OwnedTrackPublication +Global___OwnedTrackPublication: typing_extensions.TypeAlias = OwnedTrackPublication @typing.final class TrackInfo(google.protobuf.message.Message): @@ -345,8 +345,8 @@ class TrackInfo(google.protobuf.message.Message): REMOTE_FIELD_NUMBER: builtins.int sid: builtins.str name: builtins.str - kind: global___TrackKind.ValueType - stream_state: global___StreamState.ValueType + kind: Global___TrackKind.ValueType + stream_state: Global___StreamState.ValueType muted: builtins.bool remote: builtins.bool def __init__( @@ -354,15 +354,15 @@ class TrackInfo(google.protobuf.message.Message): *, sid: builtins.str | None = ..., name: builtins.str | None = ..., - kind: global___TrackKind.ValueType | None = ..., - stream_state: global___StreamState.ValueType | None = ..., + kind: Global___TrackKind.ValueType | None = ..., + stream_state: Global___StreamState.ValueType | None = ..., muted: builtins.bool | None = ..., remote: builtins.bool | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "stream_state", b"stream_state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "stream_state", b"stream_state"]) -> None: ... -global___TrackInfo = TrackInfo +Global___TrackInfo: typing_extensions.TypeAlias = TrackInfo @typing.final class OwnedTrack(google.protobuf.message.Message): @@ -373,17 +373,17 @@ class OwnedTrack(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___TrackInfo: ... + def info(self) -> Global___TrackInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___TrackInfo | None = ..., + info: Global___TrackInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedTrack = OwnedTrack +Global___OwnedTrack: typing_extensions.TypeAlias = OwnedTrack @typing.final class LocalTrackMuteRequest(google.protobuf.message.Message): @@ -404,7 +404,7 @@ class LocalTrackMuteRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["mute", b"mute", "track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["mute", b"mute", "track_handle", b"track_handle"]) -> None: ... -global___LocalTrackMuteRequest = LocalTrackMuteRequest +Global___LocalTrackMuteRequest: typing_extensions.TypeAlias = LocalTrackMuteRequest @typing.final class LocalTrackMuteResponse(google.protobuf.message.Message): @@ -420,7 +420,7 @@ class LocalTrackMuteResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["muted", b"muted"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["muted", b"muted"]) -> None: ... -global___LocalTrackMuteResponse = LocalTrackMuteResponse +Global___LocalTrackMuteResponse: typing_extensions.TypeAlias = LocalTrackMuteResponse @typing.final class EnableRemoteTrackRequest(google.protobuf.message.Message): @@ -441,7 +441,7 @@ class EnableRemoteTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "track_handle", b"track_handle"]) -> None: ... -global___EnableRemoteTrackRequest = EnableRemoteTrackRequest +Global___EnableRemoteTrackRequest: typing_extensions.TypeAlias = EnableRemoteTrackRequest @typing.final class EnableRemoteTrackResponse(google.protobuf.message.Message): @@ -457,7 +457,7 @@ class EnableRemoteTrackResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ... -global___EnableRemoteTrackResponse = EnableRemoteTrackResponse +Global___EnableRemoteTrackResponse: typing_extensions.TypeAlias = EnableRemoteTrackResponse @typing.final class SetTrackSubscriptionPermissionsRequest(google.protobuf.message.Message): @@ -469,18 +469,18 @@ class SetTrackSubscriptionPermissionsRequest(google.protobuf.message.Message): local_participant_handle: builtins.int all_participants_allowed: builtins.bool @property - def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ParticipantTrackPermission]: ... + def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___ParticipantTrackPermission]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., all_participants_allowed: builtins.bool | None = ..., - permissions: collections.abc.Iterable[global___ParticipantTrackPermission] | None = ..., + permissions: collections.abc.Iterable[Global___ParticipantTrackPermission] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["all_participants_allowed", b"all_participants_allowed", "local_participant_handle", b"local_participant_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["all_participants_allowed", b"all_participants_allowed", "local_participant_handle", b"local_participant_handle", "permissions", b"permissions"]) -> None: ... -global___SetTrackSubscriptionPermissionsRequest = SetTrackSubscriptionPermissionsRequest +Global___SetTrackSubscriptionPermissionsRequest: typing_extensions.TypeAlias = SetTrackSubscriptionPermissionsRequest @typing.final class ParticipantTrackPermission(google.protobuf.message.Message): @@ -507,7 +507,7 @@ class ParticipantTrackPermission(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["allow_all", b"allow_all", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["allow_all", b"allow_all", "allowed_track_sids", b"allowed_track_sids", "participant_identity", b"participant_identity"]) -> None: ... -global___ParticipantTrackPermission = ParticipantTrackPermission +Global___ParticipantTrackPermission: typing_extensions.TypeAlias = ParticipantTrackPermission @typing.final class SetTrackSubscriptionPermissionsResponse(google.protobuf.message.Message): @@ -517,4 +517,4 @@ class SetTrackSubscriptionPermissionsResponse(google.protobuf.message.Message): self, ) -> None: ... -global___SetTrackSubscriptionPermissionsResponse = SetTrackSubscriptionPermissionsResponse +Global___SetTrackSubscriptionPermissionsResponse: typing_extensions.TypeAlias = SetTrackSubscriptionPermissionsResponse diff --git a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py index e9eba74e..c8b9b33d 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: track_publication.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'track_publication.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,8 +29,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'track_publication_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_VIDEOQUALITY']._serialized_start=501 _globals['_VIDEOQUALITY']._serialized_end=588 diff --git a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi index 9e70c7b4..c33364c0 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi @@ -46,7 +46,7 @@ class VideoQuality(_VideoQuality, metaclass=_VideoQualityEnumTypeWrapper): VIDEO_QUALITY_LOW: VideoQuality.ValueType # 0 VIDEO_QUALITY_MEDIUM: VideoQuality.ValueType # 1 VIDEO_QUALITY_HIGH: VideoQuality.ValueType # 2 -global___VideoQuality = VideoQuality +Global___VideoQuality: typing_extensions.TypeAlias = VideoQuality @typing.final class EnableRemoteTrackPublicationRequest(google.protobuf.message.Message): @@ -67,7 +67,7 @@ class EnableRemoteTrackPublicationRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "track_publication_handle", b"track_publication_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "track_publication_handle", b"track_publication_handle"]) -> None: ... -global___EnableRemoteTrackPublicationRequest = EnableRemoteTrackPublicationRequest +Global___EnableRemoteTrackPublicationRequest: typing_extensions.TypeAlias = EnableRemoteTrackPublicationRequest @typing.final class EnableRemoteTrackPublicationResponse(google.protobuf.message.Message): @@ -77,7 +77,7 @@ class EnableRemoteTrackPublicationResponse(google.protobuf.message.Message): self, ) -> None: ... -global___EnableRemoteTrackPublicationResponse = EnableRemoteTrackPublicationResponse +Global___EnableRemoteTrackPublicationResponse: typing_extensions.TypeAlias = EnableRemoteTrackPublicationResponse @typing.final class UpdateRemoteTrackPublicationDimensionRequest(google.protobuf.message.Message): @@ -101,7 +101,7 @@ class UpdateRemoteTrackPublicationDimensionRequest(google.protobuf.message.Messa def HasField(self, field_name: typing.Literal["height", b"height", "track_publication_handle", b"track_publication_handle", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["height", b"height", "track_publication_handle", b"track_publication_handle", "width", b"width"]) -> None: ... -global___UpdateRemoteTrackPublicationDimensionRequest = UpdateRemoteTrackPublicationDimensionRequest +Global___UpdateRemoteTrackPublicationDimensionRequest: typing_extensions.TypeAlias = UpdateRemoteTrackPublicationDimensionRequest @typing.final class UpdateRemoteTrackPublicationDimensionResponse(google.protobuf.message.Message): @@ -111,7 +111,7 @@ class UpdateRemoteTrackPublicationDimensionResponse(google.protobuf.message.Mess self, ) -> None: ... -global___UpdateRemoteTrackPublicationDimensionResponse = UpdateRemoteTrackPublicationDimensionResponse +Global___UpdateRemoteTrackPublicationDimensionResponse: typing_extensions.TypeAlias = UpdateRemoteTrackPublicationDimensionResponse @typing.final class SetRemoteTrackPublicationQualityRequest(google.protobuf.message.Message): @@ -122,17 +122,17 @@ class SetRemoteTrackPublicationQualityRequest(google.protobuf.message.Message): TRACK_PUBLICATION_HANDLE_FIELD_NUMBER: builtins.int QUALITY_FIELD_NUMBER: builtins.int track_publication_handle: builtins.int - quality: global___VideoQuality.ValueType + quality: Global___VideoQuality.ValueType def __init__( self, *, track_publication_handle: builtins.int | None = ..., - quality: global___VideoQuality.ValueType | None = ..., + quality: Global___VideoQuality.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["quality", b"quality", "track_publication_handle", b"track_publication_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["quality", b"quality", "track_publication_handle", b"track_publication_handle"]) -> None: ... -global___SetRemoteTrackPublicationQualityRequest = SetRemoteTrackPublicationQualityRequest +Global___SetRemoteTrackPublicationQualityRequest: typing_extensions.TypeAlias = SetRemoteTrackPublicationQualityRequest @typing.final class SetRemoteTrackPublicationQualityResponse(google.protobuf.message.Message): @@ -142,4 +142,4 @@ class SetRemoteTrackPublicationQualityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___SetRemoteTrackPublicationQualityResponse = SetRemoteTrackPublicationQualityResponse +Global___SetRemoteTrackPublicationQualityResponse: typing_extensions.TypeAlias = SetRemoteTrackPublicationQualityResponse diff --git a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py index 159375f1..2b18f643 100644 --- a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py @@ -1,12 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: video_frame.proto -# Protobuf Python Version: 4.25.1 +# Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'video_frame.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,8 +31,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'video_frame_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_VIDEOCODEC']._serialized_start=2452 _globals['_VIDEOCODEC']._serialized_end=2511 diff --git a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi index b380b3ce..d466eb9e 100644 --- a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi @@ -53,7 +53,7 @@ H264: VideoCodec.ValueType # 1 AV1: VideoCodec.ValueType # 2 VP9: VideoCodec.ValueType # 3 H265: VideoCodec.ValueType # 4 -global___VideoCodec = VideoCodec +Global___VideoCodec: typing_extensions.TypeAlias = VideoCodec class _VideoRotation: ValueType = typing.NewType("ValueType", builtins.int) @@ -72,7 +72,7 @@ VIDEO_ROTATION_0: VideoRotation.ValueType # 0 VIDEO_ROTATION_90: VideoRotation.ValueType # 1 VIDEO_ROTATION_180: VideoRotation.ValueType # 2 VIDEO_ROTATION_270: VideoRotation.ValueType # 3 -global___VideoRotation = VideoRotation +Global___VideoRotation: typing_extensions.TypeAlias = VideoRotation class _VideoBufferType: ValueType = typing.NewType("ValueType", builtins.int) @@ -108,7 +108,7 @@ I422: VideoBufferType.ValueType # 7 I444: VideoBufferType.ValueType # 8 I010: VideoBufferType.ValueType # 9 NV12: VideoBufferType.ValueType # 10 -global___VideoBufferType = VideoBufferType +Global___VideoBufferType: typing_extensions.TypeAlias = VideoBufferType class _VideoStreamType: ValueType = typing.NewType("ValueType", builtins.int) @@ -128,7 +128,7 @@ class VideoStreamType(_VideoStreamType, metaclass=_VideoStreamTypeEnumTypeWrappe VIDEO_STREAM_NATIVE: VideoStreamType.ValueType # 0 VIDEO_STREAM_WEBGL: VideoStreamType.ValueType # 1 VIDEO_STREAM_HTML: VideoStreamType.ValueType # 2 -global___VideoStreamType = VideoStreamType +Global___VideoStreamType: typing_extensions.TypeAlias = VideoStreamType class _VideoSourceType: ValueType = typing.NewType("ValueType", builtins.int) @@ -141,7 +141,7 @@ class _VideoSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper class VideoSourceType(_VideoSourceType, metaclass=_VideoSourceTypeEnumTypeWrapper): ... VIDEO_SOURCE_NATIVE: VideoSourceType.ValueType # 0 -global___VideoSourceType = VideoSourceType +Global___VideoSourceType: typing_extensions.TypeAlias = VideoSourceType @typing.final class NewVideoStreamRequest(google.protobuf.message.Message): @@ -156,8 +156,8 @@ class NewVideoStreamRequest(google.protobuf.message.Message): FORMAT_FIELD_NUMBER: builtins.int NORMALIZE_STRIDE_FIELD_NUMBER: builtins.int track_handle: builtins.int - type: global___VideoStreamType.ValueType - format: global___VideoBufferType.ValueType + type: Global___VideoStreamType.ValueType + format: Global___VideoBufferType.ValueType """Get the frame on a specific format""" normalize_stride: builtins.bool """if true, stride will be set to width/chroma_width""" @@ -165,14 +165,14 @@ class NewVideoStreamRequest(google.protobuf.message.Message): self, *, track_handle: builtins.int | None = ..., - type: global___VideoStreamType.ValueType | None = ..., - format: global___VideoBufferType.ValueType | None = ..., + type: Global___VideoStreamType.ValueType | None = ..., + format: Global___VideoBufferType.ValueType | None = ..., normalize_stride: builtins.bool | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "track_handle", b"track_handle", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "track_handle", b"track_handle", "type", b"type"]) -> None: ... -global___NewVideoStreamRequest = NewVideoStreamRequest +Global___NewVideoStreamRequest: typing_extensions.TypeAlias = NewVideoStreamRequest @typing.final class NewVideoStreamResponse(google.protobuf.message.Message): @@ -180,16 +180,16 @@ class NewVideoStreamResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> global___OwnedVideoStream: ... + def stream(self) -> Global___OwnedVideoStream: ... def __init__( self, *, - stream: global___OwnedVideoStream | None = ..., + stream: Global___OwnedVideoStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -global___NewVideoStreamResponse = NewVideoStreamResponse +Global___NewVideoStreamResponse: typing_extensions.TypeAlias = NewVideoStreamResponse @typing.final class VideoStreamFromParticipantRequest(google.protobuf.message.Message): @@ -203,23 +203,23 @@ class VideoStreamFromParticipantRequest(google.protobuf.message.Message): FORMAT_FIELD_NUMBER: builtins.int NORMALIZE_STRIDE_FIELD_NUMBER: builtins.int participant_handle: builtins.int - type: global___VideoStreamType.ValueType + type: Global___VideoStreamType.ValueType track_source: track_pb2.TrackSource.ValueType - format: global___VideoBufferType.ValueType + format: Global___VideoBufferType.ValueType normalize_stride: builtins.bool def __init__( self, *, participant_handle: builtins.int | None = ..., - type: global___VideoStreamType.ValueType | None = ..., + type: Global___VideoStreamType.ValueType | None = ..., track_source: track_pb2.TrackSource.ValueType | None = ..., - format: global___VideoBufferType.ValueType | None = ..., + format: Global___VideoBufferType.ValueType | None = ..., normalize_stride: builtins.bool | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "participant_handle", b"participant_handle", "track_source", b"track_source", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "participant_handle", b"participant_handle", "track_source", b"track_source", "type", b"type"]) -> None: ... -global___VideoStreamFromParticipantRequest = VideoStreamFromParticipantRequest +Global___VideoStreamFromParticipantRequest: typing_extensions.TypeAlias = VideoStreamFromParticipantRequest @typing.final class VideoStreamFromParticipantResponse(google.protobuf.message.Message): @@ -227,16 +227,16 @@ class VideoStreamFromParticipantResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> global___OwnedVideoStream: ... + def stream(self) -> Global___OwnedVideoStream: ... def __init__( self, *, - stream: global___OwnedVideoStream | None = ..., + stream: Global___OwnedVideoStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -global___VideoStreamFromParticipantResponse = VideoStreamFromParticipantResponse +Global___VideoStreamFromParticipantResponse: typing_extensions.TypeAlias = VideoStreamFromParticipantResponse @typing.final class NewVideoSourceRequest(google.protobuf.message.Message): @@ -248,9 +248,9 @@ class NewVideoSourceRequest(google.protobuf.message.Message): TYPE_FIELD_NUMBER: builtins.int RESOLUTION_FIELD_NUMBER: builtins.int - type: global___VideoSourceType.ValueType + type: Global___VideoSourceType.ValueType @property - def resolution(self) -> global___VideoSourceResolution: + def resolution(self) -> Global___VideoSourceResolution: """Used to determine which encodings to use + simulcast layers Most of the time it corresponds to the source resolution """ @@ -258,13 +258,13 @@ class NewVideoSourceRequest(google.protobuf.message.Message): def __init__( self, *, - type: global___VideoSourceType.ValueType | None = ..., - resolution: global___VideoSourceResolution | None = ..., + type: Global___VideoSourceType.ValueType | None = ..., + resolution: Global___VideoSourceResolution | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["resolution", b"resolution", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["resolution", b"resolution", "type", b"type"]) -> None: ... -global___NewVideoSourceRequest = NewVideoSourceRequest +Global___NewVideoSourceRequest: typing_extensions.TypeAlias = NewVideoSourceRequest @typing.final class NewVideoSourceResponse(google.protobuf.message.Message): @@ -272,16 +272,16 @@ class NewVideoSourceResponse(google.protobuf.message.Message): SOURCE_FIELD_NUMBER: builtins.int @property - def source(self) -> global___OwnedVideoSource: ... + def source(self) -> Global___OwnedVideoSource: ... def __init__( self, *, - source: global___OwnedVideoSource | None = ..., + source: Global___OwnedVideoSource | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["source", b"source"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["source", b"source"]) -> None: ... -global___NewVideoSourceResponse = NewVideoSourceResponse +Global___NewVideoSourceResponse: typing_extensions.TypeAlias = NewVideoSourceResponse @typing.final class CaptureVideoFrameRequest(google.protobuf.message.Message): @@ -296,21 +296,21 @@ class CaptureVideoFrameRequest(google.protobuf.message.Message): source_handle: builtins.int timestamp_us: builtins.int """In microseconds""" - rotation: global___VideoRotation.ValueType + rotation: Global___VideoRotation.ValueType @property - def buffer(self) -> global___VideoBufferInfo: ... + def buffer(self) -> Global___VideoBufferInfo: ... def __init__( self, *, source_handle: builtins.int | None = ..., - buffer: global___VideoBufferInfo | None = ..., + buffer: Global___VideoBufferInfo | None = ..., timestamp_us: builtins.int | None = ..., - rotation: global___VideoRotation.ValueType | None = ..., + rotation: Global___VideoRotation.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "source_handle", b"source_handle", "timestamp_us", b"timestamp_us"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "source_handle", b"source_handle", "timestamp_us", b"timestamp_us"]) -> None: ... -global___CaptureVideoFrameRequest = CaptureVideoFrameRequest +Global___CaptureVideoFrameRequest: typing_extensions.TypeAlias = CaptureVideoFrameRequest @typing.final class CaptureVideoFrameResponse(google.protobuf.message.Message): @@ -320,7 +320,7 @@ class CaptureVideoFrameResponse(google.protobuf.message.Message): self, ) -> None: ... -global___CaptureVideoFrameResponse = CaptureVideoFrameResponse +Global___CaptureVideoFrameResponse: typing_extensions.TypeAlias = CaptureVideoFrameResponse @typing.final class VideoConvertRequest(google.protobuf.message.Message): @@ -330,20 +330,20 @@ class VideoConvertRequest(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int DST_TYPE_FIELD_NUMBER: builtins.int flip_y: builtins.bool - dst_type: global___VideoBufferType.ValueType + dst_type: Global___VideoBufferType.ValueType @property - def buffer(self) -> global___VideoBufferInfo: ... + def buffer(self) -> Global___VideoBufferInfo: ... def __init__( self, *, flip_y: builtins.bool | None = ..., - buffer: global___VideoBufferInfo | None = ..., - dst_type: global___VideoBufferType.ValueType | None = ..., + buffer: Global___VideoBufferInfo | None = ..., + dst_type: Global___VideoBufferType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "dst_type", b"dst_type", "flip_y", b"flip_y"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "dst_type", b"dst_type", "flip_y", b"flip_y"]) -> None: ... -global___VideoConvertRequest = VideoConvertRequest +Global___VideoConvertRequest: typing_extensions.TypeAlias = VideoConvertRequest @typing.final class VideoConvertResponse(google.protobuf.message.Message): @@ -353,18 +353,18 @@ class VideoConvertResponse(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int error: builtins.str @property - def buffer(self) -> global___OwnedVideoBuffer: ... + def buffer(self) -> Global___OwnedVideoBuffer: ... def __init__( self, *, error: builtins.str | None = ..., - buffer: global___OwnedVideoBuffer | None = ..., + buffer: Global___OwnedVideoBuffer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "error", b"error", "message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "error", b"error", "message", b"message"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "buffer"] | None: ... -global___VideoConvertResponse = VideoConvertResponse +Global___VideoConvertResponse: typing_extensions.TypeAlias = VideoConvertResponse @typing.final class VideoResolution(google.protobuf.message.Message): @@ -390,7 +390,7 @@ class VideoResolution(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["frame_rate", b"frame_rate", "height", b"height", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["frame_rate", b"frame_rate", "height", b"height", "width", b"width"]) -> None: ... -global___VideoResolution = VideoResolution +Global___VideoResolution: typing_extensions.TypeAlias = VideoResolution @typing.final class VideoBufferInfo(google.protobuf.message.Message): @@ -422,28 +422,28 @@ class VideoBufferInfo(google.protobuf.message.Message): DATA_PTR_FIELD_NUMBER: builtins.int STRIDE_FIELD_NUMBER: builtins.int COMPONENTS_FIELD_NUMBER: builtins.int - type: global___VideoBufferType.ValueType + type: Global___VideoBufferType.ValueType width: builtins.int height: builtins.int data_ptr: builtins.int stride: builtins.int """only for packed formats""" @property - def components(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoBufferInfo.ComponentInfo]: ... + def components(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___VideoBufferInfo.ComponentInfo]: ... def __init__( self, *, - type: global___VideoBufferType.ValueType | None = ..., + type: Global___VideoBufferType.ValueType | None = ..., width: builtins.int | None = ..., height: builtins.int | None = ..., data_ptr: builtins.int | None = ..., stride: builtins.int | None = ..., - components: collections.abc.Iterable[global___VideoBufferInfo.ComponentInfo] | None = ..., + components: collections.abc.Iterable[Global___VideoBufferInfo.ComponentInfo] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "height", b"height", "stride", b"stride", "type", b"type", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["components", b"components", "data_ptr", b"data_ptr", "height", b"height", "stride", b"stride", "type", b"type", "width", b"width"]) -> None: ... -global___VideoBufferInfo = VideoBufferInfo +Global___VideoBufferInfo: typing_extensions.TypeAlias = VideoBufferInfo @typing.final class OwnedVideoBuffer(google.protobuf.message.Message): @@ -454,33 +454,33 @@ class OwnedVideoBuffer(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___VideoBufferInfo: ... + def info(self) -> Global___VideoBufferInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___VideoBufferInfo | None = ..., + info: Global___VideoBufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedVideoBuffer = OwnedVideoBuffer +Global___OwnedVideoBuffer: typing_extensions.TypeAlias = OwnedVideoBuffer @typing.final class VideoStreamInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: global___VideoStreamType.ValueType + type: Global___VideoStreamType.ValueType def __init__( self, *, - type: global___VideoStreamType.ValueType | None = ..., + type: Global___VideoStreamType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -global___VideoStreamInfo = VideoStreamInfo +Global___VideoStreamInfo: typing_extensions.TypeAlias = VideoStreamInfo @typing.final class OwnedVideoStream(google.protobuf.message.Message): @@ -491,17 +491,17 @@ class OwnedVideoStream(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___VideoStreamInfo: ... + def info(self) -> Global___VideoStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___VideoStreamInfo | None = ..., + info: Global___VideoStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedVideoStream = OwnedVideoStream +Global___OwnedVideoStream: typing_extensions.TypeAlias = OwnedVideoStream @typing.final class VideoStreamEvent(google.protobuf.message.Message): @@ -512,21 +512,21 @@ class VideoStreamEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int stream_handle: builtins.int @property - def frame_received(self) -> global___VideoFrameReceived: ... + def frame_received(self) -> Global___VideoFrameReceived: ... @property - def eos(self) -> global___VideoStreamEOS: ... + def eos(self) -> Global___VideoStreamEOS: ... def __init__( self, *, stream_handle: builtins.int | None = ..., - frame_received: global___VideoFrameReceived | None = ..., - eos: global___VideoStreamEOS | None = ..., + frame_received: Global___VideoFrameReceived | None = ..., + eos: Global___VideoStreamEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["frame_received", "eos"] | None: ... -global___VideoStreamEvent = VideoStreamEvent +Global___VideoStreamEvent: typing_extensions.TypeAlias = VideoStreamEvent @typing.final class VideoFrameReceived(google.protobuf.message.Message): @@ -537,20 +537,20 @@ class VideoFrameReceived(google.protobuf.message.Message): ROTATION_FIELD_NUMBER: builtins.int timestamp_us: builtins.int """In microseconds""" - rotation: global___VideoRotation.ValueType + rotation: Global___VideoRotation.ValueType @property - def buffer(self) -> global___OwnedVideoBuffer: ... + def buffer(self) -> Global___OwnedVideoBuffer: ... def __init__( self, *, - buffer: global___OwnedVideoBuffer | None = ..., + buffer: Global___OwnedVideoBuffer | None = ..., timestamp_us: builtins.int | None = ..., - rotation: global___VideoRotation.ValueType | None = ..., + rotation: Global___VideoRotation.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "timestamp_us", b"timestamp_us"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "timestamp_us", b"timestamp_us"]) -> None: ... -global___VideoFrameReceived = VideoFrameReceived +Global___VideoFrameReceived: typing_extensions.TypeAlias = VideoFrameReceived @typing.final class VideoStreamEOS(google.protobuf.message.Message): @@ -560,7 +560,7 @@ class VideoStreamEOS(google.protobuf.message.Message): self, ) -> None: ... -global___VideoStreamEOS = VideoStreamEOS +Global___VideoStreamEOS: typing_extensions.TypeAlias = VideoStreamEOS @typing.final class VideoSourceResolution(google.protobuf.message.Message): @@ -583,23 +583,23 @@ class VideoSourceResolution(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["height", b"height", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["height", b"height", "width", b"width"]) -> None: ... -global___VideoSourceResolution = VideoSourceResolution +Global___VideoSourceResolution: typing_extensions.TypeAlias = VideoSourceResolution @typing.final class VideoSourceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: global___VideoSourceType.ValueType + type: Global___VideoSourceType.ValueType def __init__( self, *, - type: global___VideoSourceType.ValueType | None = ..., + type: Global___VideoSourceType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -global___VideoSourceInfo = VideoSourceInfo +Global___VideoSourceInfo: typing_extensions.TypeAlias = VideoSourceInfo @typing.final class OwnedVideoSource(google.protobuf.message.Message): @@ -610,14 +610,14 @@ class OwnedVideoSource(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> global___VideoSourceInfo: ... + def info(self) -> Global___VideoSourceInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: global___VideoSourceInfo | None = ..., + info: Global___VideoSourceInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -global___OwnedVideoSource = OwnedVideoSource +Global___OwnedVideoSource: typing_extensions.TypeAlias = OwnedVideoSource diff --git a/livekit-rtc/livekit/rtc/participant.py b/livekit-rtc/livekit/rtc/participant.py index 22b07435..dd661d36 100644 --- a/livekit-rtc/livekit/rtc/participant.py +++ b/livekit-rtc/livekit/rtc/participant.py @@ -119,6 +119,11 @@ def kind(self) -> proto_participant.ParticipantKind.ValueType: """Participant's kind (e.g., regular participant, ingress, egress, sip, agent).""" return self._info.kind + @property + def kind_details(self) -> List[proto_participant.ParticipantKindDetail.ValueType]: + """Participant's kind details (e.g., cloud agent, forwarded, connector whatsapp, connector twilio).""" + return list(self._info.kind_details) + @property def disconnect_reason( self, diff --git a/livekit-rtc/rust-sdks b/livekit-rtc/rust-sdks index 5ec99712..ba8a9883 160000 --- a/livekit-rtc/rust-sdks +++ b/livekit-rtc/rust-sdks @@ -1 +1 @@ -Subproject commit 5ec997128e98689fead580f32ec3d20109b3b813 +Subproject commit ba8a988351f4b76c2a249439710838588701d294 From f5d776902c14ca35b0176174485ed31bb39dcef4 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 10:09:40 +0000 Subject: [PATCH 2/2] generated protobuf --- .../livekit/rtc/_proto/audio_frame_pb2.py | 16 +- .../livekit/rtc/_proto/audio_frame_pb2.pyi | 206 +++---- .../livekit/rtc/_proto/data_stream_pb2.py | 24 +- .../livekit/rtc/_proto/data_stream_pb2.pyi | 246 ++++---- livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi | 146 ++--- livekit-rtc/livekit/rtc/_proto/ffi_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi | 48 +- livekit-rtc/livekit/rtc/_proto/handle_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi | 8 +- .../livekit/rtc/_proto/participant_pb2.py | 18 +- .../livekit/rtc/_proto/participant_pb2.pyi | 26 +- livekit-rtc/livekit/rtc/_proto/room_pb2.py | 24 +- livekit-rtc/livekit/rtc/_proto/room_pb2.pyi | 532 +++++++++--------- livekit-rtc/livekit/rtc/_proto/rpc_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi | 36 +- livekit-rtc/livekit/rtc/_proto/stats_pb2.py | 18 +- livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi | 326 +++++------ livekit-rtc/livekit/rtc/_proto/track_pb2.py | 16 +- livekit-rtc/livekit/rtc/_proto/track_pb2.pyi | 86 +-- .../rtc/_proto/track_publication_pb2.py | 16 +- .../rtc/_proto/track_publication_pb2.pyi | 18 +- .../livekit/rtc/_proto/video_frame_pb2.py | 16 +- .../livekit/rtc/_proto/video_frame_pb2.pyi | 152 ++--- 24 files changed, 955 insertions(+), 1087 deletions(-) diff --git a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py index 049ddd0a..0c7c5a8c 100644 --- a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: audio_frame.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'audio_frame.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,8 +21,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'audio_frame_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_SOXRESAMPLERDATATYPE']._serialized_start=4418 _globals['_SOXRESAMPLERDATATYPE']._serialized_end=4492 diff --git a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi index d78de1bc..74188b3d 100644 --- a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi @@ -49,7 +49,7 @@ class SoxResamplerDataType(_SoxResamplerDataType, metaclass=_SoxResamplerDataTyp SOXR_DATATYPE_INT16I: SoxResamplerDataType.ValueType # 0 """TODO(theomonnom): support other datatypes (shouldn't really be needed)""" SOXR_DATATYPE_INT16S: SoxResamplerDataType.ValueType # 1 -Global___SoxResamplerDataType: typing_extensions.TypeAlias = SoxResamplerDataType +global___SoxResamplerDataType = SoxResamplerDataType class _SoxQualityRecipe: ValueType = typing.NewType("ValueType", builtins.int) @@ -70,7 +70,7 @@ SOXR_QUALITY_LOW: SoxQualityRecipe.ValueType # 1 SOXR_QUALITY_MEDIUM: SoxQualityRecipe.ValueType # 2 SOXR_QUALITY_HIGH: SoxQualityRecipe.ValueType # 3 SOXR_QUALITY_VERYHIGH: SoxQualityRecipe.ValueType # 4 -Global___SoxQualityRecipe: typing_extensions.TypeAlias = SoxQualityRecipe +global___SoxQualityRecipe = SoxQualityRecipe class _SoxFlagBits: ValueType = typing.NewType("ValueType", builtins.int) @@ -105,7 +105,7 @@ SOXR_DOUBLE_PRECISION: SoxFlagBits.ValueType # 4 """1 << 4""" SOXR_VR: SoxFlagBits.ValueType # 5 """1 << 5""" -Global___SoxFlagBits: typing_extensions.TypeAlias = SoxFlagBits +global___SoxFlagBits = SoxFlagBits class _AudioStreamType: ValueType = typing.NewType("ValueType", builtins.int) @@ -123,7 +123,7 @@ class AudioStreamType(_AudioStreamType, metaclass=_AudioStreamTypeEnumTypeWrappe AUDIO_STREAM_NATIVE: AudioStreamType.ValueType # 0 AUDIO_STREAM_HTML: AudioStreamType.ValueType # 1 -Global___AudioStreamType: typing_extensions.TypeAlias = AudioStreamType +global___AudioStreamType = AudioStreamType class _AudioSourceType: ValueType = typing.NewType("ValueType", builtins.int) @@ -136,7 +136,7 @@ class _AudioSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper class AudioSourceType(_AudioSourceType, metaclass=_AudioSourceTypeEnumTypeWrapper): ... AUDIO_SOURCE_NATIVE: AudioSourceType.ValueType # 0 -Global___AudioSourceType: typing_extensions.TypeAlias = AudioSourceType +global___AudioSourceType = AudioSourceType @typing.final class NewAudioStreamRequest(google.protobuf.message.Message): @@ -154,7 +154,7 @@ class NewAudioStreamRequest(google.protobuf.message.Message): AUDIO_FILTER_OPTIONS_FIELD_NUMBER: builtins.int FRAME_SIZE_MS_FIELD_NUMBER: builtins.int track_handle: builtins.int - type: Global___AudioStreamType.ValueType + type: global___AudioStreamType.ValueType sample_rate: builtins.int num_channels: builtins.int audio_filter_module_id: builtins.str @@ -165,7 +165,7 @@ class NewAudioStreamRequest(google.protobuf.message.Message): self, *, track_handle: builtins.int | None = ..., - type: Global___AudioStreamType.ValueType | None = ..., + type: global___AudioStreamType.ValueType | None = ..., sample_rate: builtins.int | None = ..., num_channels: builtins.int | None = ..., audio_filter_module_id: builtins.str | None = ..., @@ -175,7 +175,7 @@ class NewAudioStreamRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "track_handle", b"track_handle", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "track_handle", b"track_handle", "type", b"type"]) -> None: ... -Global___NewAudioStreamRequest: typing_extensions.TypeAlias = NewAudioStreamRequest +global___NewAudioStreamRequest = NewAudioStreamRequest @typing.final class NewAudioStreamResponse(google.protobuf.message.Message): @@ -183,16 +183,16 @@ class NewAudioStreamResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> Global___OwnedAudioStream: ... + def stream(self) -> global___OwnedAudioStream: ... def __init__( self, *, - stream: Global___OwnedAudioStream | None = ..., + stream: global___OwnedAudioStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -Global___NewAudioStreamResponse: typing_extensions.TypeAlias = NewAudioStreamResponse +global___NewAudioStreamResponse = NewAudioStreamResponse @typing.final class AudioStreamFromParticipantRequest(google.protobuf.message.Message): @@ -207,7 +207,7 @@ class AudioStreamFromParticipantRequest(google.protobuf.message.Message): AUDIO_FILTER_OPTIONS_FIELD_NUMBER: builtins.int FRAME_SIZE_MS_FIELD_NUMBER: builtins.int participant_handle: builtins.int - type: Global___AudioStreamType.ValueType + type: global___AudioStreamType.ValueType track_source: track_pb2.TrackSource.ValueType sample_rate: builtins.int num_channels: builtins.int @@ -218,7 +218,7 @@ class AudioStreamFromParticipantRequest(google.protobuf.message.Message): self, *, participant_handle: builtins.int | None = ..., - type: Global___AudioStreamType.ValueType | None = ..., + type: global___AudioStreamType.ValueType | None = ..., track_source: track_pb2.TrackSource.ValueType | None = ..., sample_rate: builtins.int | None = ..., num_channels: builtins.int | None = ..., @@ -229,7 +229,7 @@ class AudioStreamFromParticipantRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "participant_handle", b"participant_handle", "sample_rate", b"sample_rate", "track_source", b"track_source", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_filter_module_id", b"audio_filter_module_id", "audio_filter_options", b"audio_filter_options", "frame_size_ms", b"frame_size_ms", "num_channels", b"num_channels", "participant_handle", b"participant_handle", "sample_rate", b"sample_rate", "track_source", b"track_source", "type", b"type"]) -> None: ... -Global___AudioStreamFromParticipantRequest: typing_extensions.TypeAlias = AudioStreamFromParticipantRequest +global___AudioStreamFromParticipantRequest = AudioStreamFromParticipantRequest @typing.final class AudioStreamFromParticipantResponse(google.protobuf.message.Message): @@ -237,16 +237,16 @@ class AudioStreamFromParticipantResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> Global___OwnedAudioStream: ... + def stream(self) -> global___OwnedAudioStream: ... def __init__( self, *, - stream: Global___OwnedAudioStream | None = ..., + stream: global___OwnedAudioStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -Global___AudioStreamFromParticipantResponse: typing_extensions.TypeAlias = AudioStreamFromParticipantResponse +global___AudioStreamFromParticipantResponse = AudioStreamFromParticipantResponse @typing.final class NewAudioSourceRequest(google.protobuf.message.Message): @@ -259,17 +259,17 @@ class NewAudioSourceRequest(google.protobuf.message.Message): SAMPLE_RATE_FIELD_NUMBER: builtins.int NUM_CHANNELS_FIELD_NUMBER: builtins.int QUEUE_SIZE_MS_FIELD_NUMBER: builtins.int - type: Global___AudioSourceType.ValueType + type: global___AudioSourceType.ValueType sample_rate: builtins.int num_channels: builtins.int queue_size_ms: builtins.int @property - def options(self) -> Global___AudioSourceOptions: ... + def options(self) -> global___AudioSourceOptions: ... def __init__( self, *, - type: Global___AudioSourceType.ValueType | None = ..., - options: Global___AudioSourceOptions | None = ..., + type: global___AudioSourceType.ValueType | None = ..., + options: global___AudioSourceOptions | None = ..., sample_rate: builtins.int | None = ..., num_channels: builtins.int | None = ..., queue_size_ms: builtins.int | None = ..., @@ -277,7 +277,7 @@ class NewAudioSourceRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["num_channels", b"num_channels", "options", b"options", "queue_size_ms", b"queue_size_ms", "sample_rate", b"sample_rate", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["num_channels", b"num_channels", "options", b"options", "queue_size_ms", b"queue_size_ms", "sample_rate", b"sample_rate", "type", b"type"]) -> None: ... -Global___NewAudioSourceRequest: typing_extensions.TypeAlias = NewAudioSourceRequest +global___NewAudioSourceRequest = NewAudioSourceRequest @typing.final class NewAudioSourceResponse(google.protobuf.message.Message): @@ -285,16 +285,16 @@ class NewAudioSourceResponse(google.protobuf.message.Message): SOURCE_FIELD_NUMBER: builtins.int @property - def source(self) -> Global___OwnedAudioSource: ... + def source(self) -> global___OwnedAudioSource: ... def __init__( self, *, - source: Global___OwnedAudioSource | None = ..., + source: global___OwnedAudioSource | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["source", b"source"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["source", b"source"]) -> None: ... -Global___NewAudioSourceResponse: typing_extensions.TypeAlias = NewAudioSourceResponse +global___NewAudioSourceResponse = NewAudioSourceResponse @typing.final class CaptureAudioFrameRequest(google.protobuf.message.Message): @@ -308,17 +308,17 @@ class CaptureAudioFrameRequest(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int source_handle: builtins.int @property - def buffer(self) -> Global___AudioFrameBufferInfo: ... + def buffer(self) -> global___AudioFrameBufferInfo: ... def __init__( self, *, source_handle: builtins.int | None = ..., - buffer: Global___AudioFrameBufferInfo | None = ..., + buffer: global___AudioFrameBufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "source_handle", b"source_handle"]) -> None: ... -Global___CaptureAudioFrameRequest: typing_extensions.TypeAlias = CaptureAudioFrameRequest +global___CaptureAudioFrameRequest = CaptureAudioFrameRequest @typing.final class CaptureAudioFrameResponse(google.protobuf.message.Message): @@ -334,7 +334,7 @@ class CaptureAudioFrameResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___CaptureAudioFrameResponse: typing_extensions.TypeAlias = CaptureAudioFrameResponse +global___CaptureAudioFrameResponse = CaptureAudioFrameResponse @typing.final class CaptureAudioFrameCallback(google.protobuf.message.Message): @@ -353,7 +353,7 @@ class CaptureAudioFrameCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___CaptureAudioFrameCallback: typing_extensions.TypeAlias = CaptureAudioFrameCallback +global___CaptureAudioFrameCallback = CaptureAudioFrameCallback @typing.final class ClearAudioBufferRequest(google.protobuf.message.Message): @@ -369,7 +369,7 @@ class ClearAudioBufferRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["source_handle", b"source_handle"]) -> None: ... -Global___ClearAudioBufferRequest: typing_extensions.TypeAlias = ClearAudioBufferRequest +global___ClearAudioBufferRequest = ClearAudioBufferRequest @typing.final class ClearAudioBufferResponse(google.protobuf.message.Message): @@ -379,7 +379,7 @@ class ClearAudioBufferResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ClearAudioBufferResponse: typing_extensions.TypeAlias = ClearAudioBufferResponse +global___ClearAudioBufferResponse = ClearAudioBufferResponse @typing.final class NewAudioResamplerRequest(google.protobuf.message.Message): @@ -391,7 +391,7 @@ class NewAudioResamplerRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___NewAudioResamplerRequest: typing_extensions.TypeAlias = NewAudioResamplerRequest +global___NewAudioResamplerRequest = NewAudioResamplerRequest @typing.final class NewAudioResamplerResponse(google.protobuf.message.Message): @@ -399,16 +399,16 @@ class NewAudioResamplerResponse(google.protobuf.message.Message): RESAMPLER_FIELD_NUMBER: builtins.int @property - def resampler(self) -> Global___OwnedAudioResampler: ... + def resampler(self) -> global___OwnedAudioResampler: ... def __init__( self, *, - resampler: Global___OwnedAudioResampler | None = ..., + resampler: global___OwnedAudioResampler | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["resampler", b"resampler"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["resampler", b"resampler"]) -> None: ... -Global___NewAudioResamplerResponse: typing_extensions.TypeAlias = NewAudioResamplerResponse +global___NewAudioResamplerResponse = NewAudioResamplerResponse @typing.final class RemixAndResampleRequest(google.protobuf.message.Message): @@ -424,19 +424,19 @@ class RemixAndResampleRequest(google.protobuf.message.Message): num_channels: builtins.int sample_rate: builtins.int @property - def buffer(self) -> Global___AudioFrameBufferInfo: ... + def buffer(self) -> global___AudioFrameBufferInfo: ... def __init__( self, *, resampler_handle: builtins.int | None = ..., - buffer: Global___AudioFrameBufferInfo | None = ..., + buffer: global___AudioFrameBufferInfo | None = ..., num_channels: builtins.int | None = ..., sample_rate: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "num_channels", b"num_channels", "resampler_handle", b"resampler_handle", "sample_rate", b"sample_rate"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "num_channels", b"num_channels", "resampler_handle", b"resampler_handle", "sample_rate", b"sample_rate"]) -> None: ... -Global___RemixAndResampleRequest: typing_extensions.TypeAlias = RemixAndResampleRequest +global___RemixAndResampleRequest = RemixAndResampleRequest @typing.final class RemixAndResampleResponse(google.protobuf.message.Message): @@ -444,16 +444,16 @@ class RemixAndResampleResponse(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int @property - def buffer(self) -> Global___OwnedAudioFrameBuffer: ... + def buffer(self) -> global___OwnedAudioFrameBuffer: ... def __init__( self, *, - buffer: Global___OwnedAudioFrameBuffer | None = ..., + buffer: global___OwnedAudioFrameBuffer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer"]) -> None: ... -Global___RemixAndResampleResponse: typing_extensions.TypeAlias = RemixAndResampleResponse +global___RemixAndResampleResponse = RemixAndResampleResponse @typing.final class NewApmRequest(google.protobuf.message.Message): @@ -480,7 +480,7 @@ class NewApmRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["echo_canceller_enabled", b"echo_canceller_enabled", "gain_controller_enabled", b"gain_controller_enabled", "high_pass_filter_enabled", b"high_pass_filter_enabled", "noise_suppression_enabled", b"noise_suppression_enabled"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["echo_canceller_enabled", b"echo_canceller_enabled", "gain_controller_enabled", b"gain_controller_enabled", "high_pass_filter_enabled", b"high_pass_filter_enabled", "noise_suppression_enabled", b"noise_suppression_enabled"]) -> None: ... -Global___NewApmRequest: typing_extensions.TypeAlias = NewApmRequest +global___NewApmRequest = NewApmRequest @typing.final class NewApmResponse(google.protobuf.message.Message): @@ -488,16 +488,16 @@ class NewApmResponse(google.protobuf.message.Message): APM_FIELD_NUMBER: builtins.int @property - def apm(self) -> Global___OwnedApm: ... + def apm(self) -> global___OwnedApm: ... def __init__( self, *, - apm: Global___OwnedApm | None = ..., + apm: global___OwnedApm | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["apm", b"apm"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm", b"apm"]) -> None: ... -Global___NewApmResponse: typing_extensions.TypeAlias = NewApmResponse +global___NewApmResponse = NewApmResponse @typing.final class ApmProcessStreamRequest(google.protobuf.message.Message): @@ -527,7 +527,7 @@ class ApmProcessStreamRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> None: ... -Global___ApmProcessStreamRequest: typing_extensions.TypeAlias = ApmProcessStreamRequest +global___ApmProcessStreamRequest = ApmProcessStreamRequest @typing.final class ApmProcessStreamResponse(google.protobuf.message.Message): @@ -543,7 +543,7 @@ class ApmProcessStreamResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___ApmProcessStreamResponse: typing_extensions.TypeAlias = ApmProcessStreamResponse +global___ApmProcessStreamResponse = ApmProcessStreamResponse @typing.final class ApmProcessReverseStreamRequest(google.protobuf.message.Message): @@ -573,7 +573,7 @@ class ApmProcessReverseStreamRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "size", b"size"]) -> None: ... -Global___ApmProcessReverseStreamRequest: typing_extensions.TypeAlias = ApmProcessReverseStreamRequest +global___ApmProcessReverseStreamRequest = ApmProcessReverseStreamRequest @typing.final class ApmProcessReverseStreamResponse(google.protobuf.message.Message): @@ -589,7 +589,7 @@ class ApmProcessReverseStreamResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___ApmProcessReverseStreamResponse: typing_extensions.TypeAlias = ApmProcessReverseStreamResponse +global___ApmProcessReverseStreamResponse = ApmProcessReverseStreamResponse @typing.final class ApmSetStreamDelayRequest(google.protobuf.message.Message): @@ -608,7 +608,7 @@ class ApmSetStreamDelayRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "delay_ms", b"delay_ms"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["apm_handle", b"apm_handle", "delay_ms", b"delay_ms"]) -> None: ... -Global___ApmSetStreamDelayRequest: typing_extensions.TypeAlias = ApmSetStreamDelayRequest +global___ApmSetStreamDelayRequest = ApmSetStreamDelayRequest @typing.final class ApmSetStreamDelayResponse(google.protobuf.message.Message): @@ -624,7 +624,7 @@ class ApmSetStreamDelayResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___ApmSetStreamDelayResponse: typing_extensions.TypeAlias = ApmSetStreamDelayResponse +global___ApmSetStreamDelayResponse = ApmSetStreamDelayResponse @typing.final class NewSoxResamplerRequest(google.protobuf.message.Message): @@ -642,9 +642,9 @@ class NewSoxResamplerRequest(google.protobuf.message.Message): input_rate: builtins.float output_rate: builtins.float num_channels: builtins.int - input_data_type: Global___SoxResamplerDataType.ValueType - output_data_type: Global___SoxResamplerDataType.ValueType - quality_recipe: Global___SoxQualityRecipe.ValueType + input_data_type: global___SoxResamplerDataType.ValueType + output_data_type: global___SoxResamplerDataType.ValueType + quality_recipe: global___SoxQualityRecipe.ValueType flags: builtins.int def __init__( self, @@ -652,15 +652,15 @@ class NewSoxResamplerRequest(google.protobuf.message.Message): input_rate: builtins.float | None = ..., output_rate: builtins.float | None = ..., num_channels: builtins.int | None = ..., - input_data_type: Global___SoxResamplerDataType.ValueType | None = ..., - output_data_type: Global___SoxResamplerDataType.ValueType | None = ..., - quality_recipe: Global___SoxQualityRecipe.ValueType | None = ..., + input_data_type: global___SoxResamplerDataType.ValueType | None = ..., + output_data_type: global___SoxResamplerDataType.ValueType | None = ..., + quality_recipe: global___SoxQualityRecipe.ValueType | None = ..., flags: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["flags", b"flags", "input_data_type", b"input_data_type", "input_rate", b"input_rate", "num_channels", b"num_channels", "output_data_type", b"output_data_type", "output_rate", b"output_rate", "quality_recipe", b"quality_recipe"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["flags", b"flags", "input_data_type", b"input_data_type", "input_rate", b"input_rate", "num_channels", b"num_channels", "output_data_type", b"output_data_type", "output_rate", b"output_rate", "quality_recipe", b"quality_recipe"]) -> None: ... -Global___NewSoxResamplerRequest: typing_extensions.TypeAlias = NewSoxResamplerRequest +global___NewSoxResamplerRequest = NewSoxResamplerRequest @typing.final class NewSoxResamplerResponse(google.protobuf.message.Message): @@ -670,18 +670,18 @@ class NewSoxResamplerResponse(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int error: builtins.str @property - def resampler(self) -> Global___OwnedSoxResampler: ... + def resampler(self) -> global___OwnedSoxResampler: ... def __init__( self, *, - resampler: Global___OwnedSoxResampler | None = ..., + resampler: global___OwnedSoxResampler | None = ..., error: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error", "message", b"message", "resampler", b"resampler"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "message", b"message", "resampler", b"resampler"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["resampler", "error"] | None: ... -Global___NewSoxResamplerResponse: typing_extensions.TypeAlias = NewSoxResamplerResponse +global___NewSoxResamplerResponse = NewSoxResamplerResponse @typing.final class PushSoxResamplerRequest(google.protobuf.message.Message): @@ -705,7 +705,7 @@ class PushSoxResamplerRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "resampler_handle", b"resampler_handle", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "resampler_handle", b"resampler_handle", "size", b"size"]) -> None: ... -Global___PushSoxResamplerRequest: typing_extensions.TypeAlias = PushSoxResamplerRequest +global___PushSoxResamplerRequest = PushSoxResamplerRequest @typing.final class PushSoxResamplerResponse(google.protobuf.message.Message): @@ -729,7 +729,7 @@ class PushSoxResamplerResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> None: ... -Global___PushSoxResamplerResponse: typing_extensions.TypeAlias = PushSoxResamplerResponse +global___PushSoxResamplerResponse = PushSoxResamplerResponse @typing.final class FlushSoxResamplerRequest(google.protobuf.message.Message): @@ -745,7 +745,7 @@ class FlushSoxResamplerRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["resampler_handle", b"resampler_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["resampler_handle", b"resampler_handle"]) -> None: ... -Global___FlushSoxResamplerRequest: typing_extensions.TypeAlias = FlushSoxResamplerRequest +global___FlushSoxResamplerRequest = FlushSoxResamplerRequest @typing.final class FlushSoxResamplerResponse(google.protobuf.message.Message): @@ -769,7 +769,7 @@ class FlushSoxResamplerResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "output_ptr", b"output_ptr", "size", b"size"]) -> None: ... -Global___FlushSoxResamplerResponse: typing_extensions.TypeAlias = FlushSoxResamplerResponse +global___FlushSoxResamplerResponse = FlushSoxResamplerResponse @typing.final class AudioFrameBufferInfo(google.protobuf.message.Message): @@ -799,7 +799,7 @@ class AudioFrameBufferInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "samples_per_channel", b"samples_per_channel"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "num_channels", b"num_channels", "sample_rate", b"sample_rate", "samples_per_channel", b"samples_per_channel"]) -> None: ... -Global___AudioFrameBufferInfo: typing_extensions.TypeAlias = AudioFrameBufferInfo +global___AudioFrameBufferInfo = AudioFrameBufferInfo @typing.final class OwnedAudioFrameBuffer(google.protobuf.message.Message): @@ -810,33 +810,33 @@ class OwnedAudioFrameBuffer(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___AudioFrameBufferInfo: ... + def info(self) -> global___AudioFrameBufferInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___AudioFrameBufferInfo | None = ..., + info: global___AudioFrameBufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedAudioFrameBuffer: typing_extensions.TypeAlias = OwnedAudioFrameBuffer +global___OwnedAudioFrameBuffer = OwnedAudioFrameBuffer @typing.final class AudioStreamInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: Global___AudioStreamType.ValueType + type: global___AudioStreamType.ValueType def __init__( self, *, - type: Global___AudioStreamType.ValueType | None = ..., + type: global___AudioStreamType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -Global___AudioStreamInfo: typing_extensions.TypeAlias = AudioStreamInfo +global___AudioStreamInfo = AudioStreamInfo @typing.final class OwnedAudioStream(google.protobuf.message.Message): @@ -847,17 +847,17 @@ class OwnedAudioStream(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___AudioStreamInfo: ... + def info(self) -> global___AudioStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___AudioStreamInfo | None = ..., + info: global___AudioStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedAudioStream: typing_extensions.TypeAlias = OwnedAudioStream +global___OwnedAudioStream = OwnedAudioStream @typing.final class AudioStreamEvent(google.protobuf.message.Message): @@ -868,21 +868,21 @@ class AudioStreamEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int stream_handle: builtins.int @property - def frame_received(self) -> Global___AudioFrameReceived: ... + def frame_received(self) -> global___AudioFrameReceived: ... @property - def eos(self) -> Global___AudioStreamEOS: ... + def eos(self) -> global___AudioStreamEOS: ... def __init__( self, *, stream_handle: builtins.int | None = ..., - frame_received: Global___AudioFrameReceived | None = ..., - eos: Global___AudioStreamEOS | None = ..., + frame_received: global___AudioFrameReceived | None = ..., + eos: global___AudioStreamEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["frame_received", "eos"] | None: ... -Global___AudioStreamEvent: typing_extensions.TypeAlias = AudioStreamEvent +global___AudioStreamEvent = AudioStreamEvent @typing.final class AudioFrameReceived(google.protobuf.message.Message): @@ -890,16 +890,16 @@ class AudioFrameReceived(google.protobuf.message.Message): FRAME_FIELD_NUMBER: builtins.int @property - def frame(self) -> Global___OwnedAudioFrameBuffer: ... + def frame(self) -> global___OwnedAudioFrameBuffer: ... def __init__( self, *, - frame: Global___OwnedAudioFrameBuffer | None = ..., + frame: global___OwnedAudioFrameBuffer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["frame", b"frame"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["frame", b"frame"]) -> None: ... -Global___AudioFrameReceived: typing_extensions.TypeAlias = AudioFrameReceived +global___AudioFrameReceived = AudioFrameReceived @typing.final class AudioStreamEOS(google.protobuf.message.Message): @@ -909,7 +909,7 @@ class AudioStreamEOS(google.protobuf.message.Message): self, ) -> None: ... -Global___AudioStreamEOS: typing_extensions.TypeAlias = AudioStreamEOS +global___AudioStreamEOS = AudioStreamEOS @typing.final class AudioSourceOptions(google.protobuf.message.Message): @@ -935,23 +935,23 @@ class AudioSourceOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["auto_gain_control", b"auto_gain_control", "echo_cancellation", b"echo_cancellation", "noise_suppression", b"noise_suppression"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["auto_gain_control", b"auto_gain_control", "echo_cancellation", b"echo_cancellation", "noise_suppression", b"noise_suppression"]) -> None: ... -Global___AudioSourceOptions: typing_extensions.TypeAlias = AudioSourceOptions +global___AudioSourceOptions = AudioSourceOptions @typing.final class AudioSourceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: Global___AudioSourceType.ValueType + type: global___AudioSourceType.ValueType def __init__( self, *, - type: Global___AudioSourceType.ValueType | None = ..., + type: global___AudioSourceType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -Global___AudioSourceInfo: typing_extensions.TypeAlias = AudioSourceInfo +global___AudioSourceInfo = AudioSourceInfo @typing.final class OwnedAudioSource(google.protobuf.message.Message): @@ -962,17 +962,17 @@ class OwnedAudioSource(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___AudioSourceInfo: ... + def info(self) -> global___AudioSourceInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___AudioSourceInfo | None = ..., + info: global___AudioSourceInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedAudioSource: typing_extensions.TypeAlias = OwnedAudioSource +global___OwnedAudioSource = OwnedAudioSource @typing.final class AudioResamplerInfo(google.protobuf.message.Message): @@ -986,7 +986,7 @@ class AudioResamplerInfo(google.protobuf.message.Message): self, ) -> None: ... -Global___AudioResamplerInfo: typing_extensions.TypeAlias = AudioResamplerInfo +global___AudioResamplerInfo = AudioResamplerInfo @typing.final class OwnedAudioResampler(google.protobuf.message.Message): @@ -997,17 +997,17 @@ class OwnedAudioResampler(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___AudioResamplerInfo: ... + def info(self) -> global___AudioResamplerInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___AudioResamplerInfo | None = ..., + info: global___AudioResamplerInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedAudioResampler: typing_extensions.TypeAlias = OwnedAudioResampler +global___OwnedAudioResampler = OwnedAudioResampler @typing.final class OwnedApm(google.protobuf.message.Message): @@ -1028,7 +1028,7 @@ class OwnedApm(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["handle", b"handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle"]) -> None: ... -Global___OwnedApm: typing_extensions.TypeAlias = OwnedApm +global___OwnedApm = OwnedApm @typing.final class SoxResamplerInfo(google.protobuf.message.Message): @@ -1042,7 +1042,7 @@ class SoxResamplerInfo(google.protobuf.message.Message): self, ) -> None: ... -Global___SoxResamplerInfo: typing_extensions.TypeAlias = SoxResamplerInfo +global___SoxResamplerInfo = SoxResamplerInfo @typing.final class OwnedSoxResampler(google.protobuf.message.Message): @@ -1053,17 +1053,17 @@ class OwnedSoxResampler(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___SoxResamplerInfo: ... + def info(self) -> global___SoxResamplerInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___SoxResamplerInfo | None = ..., + info: global___SoxResamplerInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedSoxResampler: typing_extensions.TypeAlias = OwnedSoxResampler +global___OwnedSoxResampler = OwnedSoxResampler @typing.final class LoadAudioFilterPluginRequest(google.protobuf.message.Message): @@ -1092,7 +1092,7 @@ class LoadAudioFilterPluginRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["module_id", b"module_id", "plugin_path", b"plugin_path"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["dependencies", b"dependencies", "module_id", b"module_id", "plugin_path", b"plugin_path"]) -> None: ... -Global___LoadAudioFilterPluginRequest: typing_extensions.TypeAlias = LoadAudioFilterPluginRequest +global___LoadAudioFilterPluginRequest = LoadAudioFilterPluginRequest @typing.final class LoadAudioFilterPluginResponse(google.protobuf.message.Message): @@ -1108,4 +1108,4 @@ class LoadAudioFilterPluginResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___LoadAudioFilterPluginResponse: typing_extensions.TypeAlias = LoadAudioFilterPluginResponse +global___LoadAudioFilterPluginResponse = LoadAudioFilterPluginResponse diff --git a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py index 256fe348..f1f854e2 100644 --- a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: data_stream.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'data_stream.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,16 +21,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'data_stream_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._loaded_options = None + _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._options = None _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._loaded_options = None + _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._options = None _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._loaded_options = None + _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._options = None _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._loaded_options = None + _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._options = None _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._serialized_options = b'8\001' _globals['_OWNEDTEXTSTREAMREADER']._serialized_start=62 _globals['_OWNEDTEXTSTREAMREADER']._serialized_end=177 diff --git a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi index a1cdeb60..7771be01 100644 --- a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi @@ -48,17 +48,17 @@ class OwnedTextStreamReader(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___TextStreamInfo: ... + def info(self) -> global___TextStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___TextStreamInfo | None = ..., + info: global___TextStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedTextStreamReader: typing_extensions.TypeAlias = OwnedTextStreamReader +global___OwnedTextStreamReader = OwnedTextStreamReader @typing.final class TextStreamReaderReadIncrementalRequest(google.protobuf.message.Message): @@ -76,7 +76,7 @@ class TextStreamReaderReadIncrementalRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -Global___TextStreamReaderReadIncrementalRequest: typing_extensions.TypeAlias = TextStreamReaderReadIncrementalRequest +global___TextStreamReaderReadIncrementalRequest = TextStreamReaderReadIncrementalRequest @typing.final class TextStreamReaderReadIncrementalResponse(google.protobuf.message.Message): @@ -86,7 +86,7 @@ class TextStreamReaderReadIncrementalResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___TextStreamReaderReadIncrementalResponse: typing_extensions.TypeAlias = TextStreamReaderReadIncrementalResponse +global___TextStreamReaderReadIncrementalResponse = TextStreamReaderReadIncrementalResponse @typing.final class TextStreamReaderReadAllRequest(google.protobuf.message.Message): @@ -104,7 +104,7 @@ class TextStreamReaderReadAllRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -Global___TextStreamReaderReadAllRequest: typing_extensions.TypeAlias = TextStreamReaderReadAllRequest +global___TextStreamReaderReadAllRequest = TextStreamReaderReadAllRequest @typing.final class TextStreamReaderReadAllResponse(google.protobuf.message.Message): @@ -120,7 +120,7 @@ class TextStreamReaderReadAllResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___TextStreamReaderReadAllResponse: typing_extensions.TypeAlias = TextStreamReaderReadAllResponse +global___TextStreamReaderReadAllResponse = TextStreamReaderReadAllResponse @typing.final class TextStreamReaderReadAllCallback(google.protobuf.message.Message): @@ -132,19 +132,19 @@ class TextStreamReaderReadAllCallback(google.protobuf.message.Message): async_id: builtins.int content: builtins.str @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., content: builtins.str | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["content", "error"] | None: ... -Global___TextStreamReaderReadAllCallback: typing_extensions.TypeAlias = TextStreamReaderReadAllCallback +global___TextStreamReaderReadAllCallback = TextStreamReaderReadAllCallback @typing.final class TextStreamReaderEvent(google.protobuf.message.Message): @@ -155,21 +155,21 @@ class TextStreamReaderEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int reader_handle: builtins.int @property - def chunk_received(self) -> Global___TextStreamReaderChunkReceived: ... + def chunk_received(self) -> global___TextStreamReaderChunkReceived: ... @property - def eos(self) -> Global___TextStreamReaderEOS: ... + def eos(self) -> global___TextStreamReaderEOS: ... def __init__( self, *, reader_handle: builtins.int | None = ..., - chunk_received: Global___TextStreamReaderChunkReceived | None = ..., - eos: Global___TextStreamReaderEOS | None = ..., + chunk_received: global___TextStreamReaderChunkReceived | None = ..., + eos: global___TextStreamReaderEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["detail", b"detail"]) -> typing.Literal["chunk_received", "eos"] | None: ... -Global___TextStreamReaderEvent: typing_extensions.TypeAlias = TextStreamReaderEvent +global___TextStreamReaderEvent = TextStreamReaderEvent @typing.final class TextStreamReaderChunkReceived(google.protobuf.message.Message): @@ -185,7 +185,7 @@ class TextStreamReaderChunkReceived(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["content", b"content"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["content", b"content"]) -> None: ... -Global___TextStreamReaderChunkReceived: typing_extensions.TypeAlias = TextStreamReaderChunkReceived +global___TextStreamReaderChunkReceived = TextStreamReaderChunkReceived @typing.final class TextStreamReaderEOS(google.protobuf.message.Message): @@ -193,16 +193,16 @@ class TextStreamReaderEOS(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___TextStreamReaderEOS: typing_extensions.TypeAlias = TextStreamReaderEOS +global___TextStreamReaderEOS = TextStreamReaderEOS @typing.final class OwnedByteStreamReader(google.protobuf.message.Message): @@ -218,17 +218,17 @@ class OwnedByteStreamReader(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___ByteStreamInfo: ... + def info(self) -> global___ByteStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___ByteStreamInfo | None = ..., + info: global___ByteStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedByteStreamReader: typing_extensions.TypeAlias = OwnedByteStreamReader +global___OwnedByteStreamReader = OwnedByteStreamReader @typing.final class ByteStreamReaderReadIncrementalRequest(google.protobuf.message.Message): @@ -246,7 +246,7 @@ class ByteStreamReaderReadIncrementalRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -Global___ByteStreamReaderReadIncrementalRequest: typing_extensions.TypeAlias = ByteStreamReaderReadIncrementalRequest +global___ByteStreamReaderReadIncrementalRequest = ByteStreamReaderReadIncrementalRequest @typing.final class ByteStreamReaderReadIncrementalResponse(google.protobuf.message.Message): @@ -256,7 +256,7 @@ class ByteStreamReaderReadIncrementalResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ByteStreamReaderReadIncrementalResponse: typing_extensions.TypeAlias = ByteStreamReaderReadIncrementalResponse +global___ByteStreamReaderReadIncrementalResponse = ByteStreamReaderReadIncrementalResponse @typing.final class ByteStreamReaderReadAllRequest(google.protobuf.message.Message): @@ -274,7 +274,7 @@ class ByteStreamReaderReadAllRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle"]) -> None: ... -Global___ByteStreamReaderReadAllRequest: typing_extensions.TypeAlias = ByteStreamReaderReadAllRequest +global___ByteStreamReaderReadAllRequest = ByteStreamReaderReadAllRequest @typing.final class ByteStreamReaderReadAllResponse(google.protobuf.message.Message): @@ -290,7 +290,7 @@ class ByteStreamReaderReadAllResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___ByteStreamReaderReadAllResponse: typing_extensions.TypeAlias = ByteStreamReaderReadAllResponse +global___ByteStreamReaderReadAllResponse = ByteStreamReaderReadAllResponse @typing.final class ByteStreamReaderReadAllCallback(google.protobuf.message.Message): @@ -302,19 +302,19 @@ class ByteStreamReaderReadAllCallback(google.protobuf.message.Message): async_id: builtins.int content: builtins.bytes @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., content: builtins.bytes | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "content", b"content", "error", b"error", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["content", "error"] | None: ... -Global___ByteStreamReaderReadAllCallback: typing_extensions.TypeAlias = ByteStreamReaderReadAllCallback +global___ByteStreamReaderReadAllCallback = ByteStreamReaderReadAllCallback @typing.final class ByteStreamReaderWriteToFileRequest(google.protobuf.message.Message): @@ -345,7 +345,7 @@ class ByteStreamReaderWriteToFileRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["directory", b"directory", "name_override", b"name_override", "reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["directory", b"directory", "name_override", b"name_override", "reader_handle", b"reader_handle"]) -> None: ... -Global___ByteStreamReaderWriteToFileRequest: typing_extensions.TypeAlias = ByteStreamReaderWriteToFileRequest +global___ByteStreamReaderWriteToFileRequest = ByteStreamReaderWriteToFileRequest @typing.final class ByteStreamReaderWriteToFileResponse(google.protobuf.message.Message): @@ -361,7 +361,7 @@ class ByteStreamReaderWriteToFileResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___ByteStreamReaderWriteToFileResponse: typing_extensions.TypeAlias = ByteStreamReaderWriteToFileResponse +global___ByteStreamReaderWriteToFileResponse = ByteStreamReaderWriteToFileResponse @typing.final class ByteStreamReaderWriteToFileCallback(google.protobuf.message.Message): @@ -374,19 +374,19 @@ class ByteStreamReaderWriteToFileCallback(google.protobuf.message.Message): file_path: builtins.str """Path the file was written to.""" @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., file_path: builtins.str | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "file_path", b"file_path", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "file_path", b"file_path", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["file_path", "error"] | None: ... -Global___ByteStreamReaderWriteToFileCallback: typing_extensions.TypeAlias = ByteStreamReaderWriteToFileCallback +global___ByteStreamReaderWriteToFileCallback = ByteStreamReaderWriteToFileCallback @typing.final class ByteStreamReaderEvent(google.protobuf.message.Message): @@ -397,21 +397,21 @@ class ByteStreamReaderEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int reader_handle: builtins.int @property - def chunk_received(self) -> Global___ByteStreamReaderChunkReceived: ... + def chunk_received(self) -> global___ByteStreamReaderChunkReceived: ... @property - def eos(self) -> Global___ByteStreamReaderEOS: ... + def eos(self) -> global___ByteStreamReaderEOS: ... def __init__( self, *, reader_handle: builtins.int | None = ..., - chunk_received: Global___ByteStreamReaderChunkReceived | None = ..., - eos: Global___ByteStreamReaderEOS | None = ..., + chunk_received: global___ByteStreamReaderChunkReceived | None = ..., + eos: global___ByteStreamReaderEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk_received", b"chunk_received", "detail", b"detail", "eos", b"eos", "reader_handle", b"reader_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["detail", b"detail"]) -> typing.Literal["chunk_received", "eos"] | None: ... -Global___ByteStreamReaderEvent: typing_extensions.TypeAlias = ByteStreamReaderEvent +global___ByteStreamReaderEvent = ByteStreamReaderEvent @typing.final class ByteStreamReaderChunkReceived(google.protobuf.message.Message): @@ -427,7 +427,7 @@ class ByteStreamReaderChunkReceived(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["content", b"content"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["content", b"content"]) -> None: ... -Global___ByteStreamReaderChunkReceived: typing_extensions.TypeAlias = ByteStreamReaderChunkReceived +global___ByteStreamReaderChunkReceived = ByteStreamReaderChunkReceived @typing.final class ByteStreamReaderEOS(google.protobuf.message.Message): @@ -435,16 +435,16 @@ class ByteStreamReaderEOS(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___ByteStreamReaderEOS: typing_extensions.TypeAlias = ByteStreamReaderEOS +global___ByteStreamReaderEOS = ByteStreamReaderEOS @typing.final class StreamSendFileRequest(google.protobuf.message.Message): @@ -462,18 +462,18 @@ class StreamSendFileRequest(google.protobuf.message.Message): file_path: builtins.str """Path of the file to send (must be readable by the current process).""" @property - def options(self) -> Global___StreamByteOptions: ... + def options(self) -> global___StreamByteOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: Global___StreamByteOptions | None = ..., + options: global___StreamByteOptions | None = ..., file_path: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["file_path", b"file_path", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["file_path", b"file_path", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -Global___StreamSendFileRequest: typing_extensions.TypeAlias = StreamSendFileRequest +global___StreamSendFileRequest = StreamSendFileRequest @typing.final class StreamSendFileResponse(google.protobuf.message.Message): @@ -489,7 +489,7 @@ class StreamSendFileResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___StreamSendFileResponse: typing_extensions.TypeAlias = StreamSendFileResponse +global___StreamSendFileResponse = StreamSendFileResponse @typing.final class StreamSendFileCallback(google.protobuf.message.Message): @@ -500,21 +500,21 @@ class StreamSendFileCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def info(self) -> Global___ByteStreamInfo: ... + def info(self) -> global___ByteStreamInfo: ... @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - info: Global___ByteStreamInfo | None = ..., - error: Global___StreamError | None = ..., + info: global___ByteStreamInfo | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["info", "error"] | None: ... -Global___StreamSendFileCallback: typing_extensions.TypeAlias = StreamSendFileCallback +global___StreamSendFileCallback = StreamSendFileCallback @typing.final class StreamSendBytesRequest(google.protobuf.message.Message): @@ -532,18 +532,18 @@ class StreamSendBytesRequest(google.protobuf.message.Message): bytes: builtins.bytes """Bytes to send.""" @property - def options(self) -> Global___StreamByteOptions: ... + def options(self) -> global___StreamByteOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: Global___StreamByteOptions | None = ..., + options: global___StreamByteOptions | None = ..., bytes: builtins.bytes | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["bytes", b"bytes", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -Global___StreamSendBytesRequest: typing_extensions.TypeAlias = StreamSendBytesRequest +global___StreamSendBytesRequest = StreamSendBytesRequest @typing.final class StreamSendBytesResponse(google.protobuf.message.Message): @@ -559,7 +559,7 @@ class StreamSendBytesResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___StreamSendBytesResponse: typing_extensions.TypeAlias = StreamSendBytesResponse +global___StreamSendBytesResponse = StreamSendBytesResponse @typing.final class StreamSendBytesCallback(google.protobuf.message.Message): @@ -570,21 +570,21 @@ class StreamSendBytesCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def info(self) -> Global___ByteStreamInfo: ... + def info(self) -> global___ByteStreamInfo: ... @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - info: Global___ByteStreamInfo | None = ..., - error: Global___StreamError | None = ..., + info: global___ByteStreamInfo | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["info", "error"] | None: ... -Global___StreamSendBytesCallback: typing_extensions.TypeAlias = StreamSendBytesCallback +global___StreamSendBytesCallback = StreamSendBytesCallback @typing.final class StreamSendTextRequest(google.protobuf.message.Message): @@ -602,18 +602,18 @@ class StreamSendTextRequest(google.protobuf.message.Message): text: builtins.str """Text to send.""" @property - def options(self) -> Global___StreamTextOptions: ... + def options(self) -> global___StreamTextOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: Global___StreamTextOptions | None = ..., + options: global___StreamTextOptions | None = ..., text: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "text", b"text"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "text", b"text"]) -> None: ... -Global___StreamSendTextRequest: typing_extensions.TypeAlias = StreamSendTextRequest +global___StreamSendTextRequest = StreamSendTextRequest @typing.final class StreamSendTextResponse(google.protobuf.message.Message): @@ -629,7 +629,7 @@ class StreamSendTextResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___StreamSendTextResponse: typing_extensions.TypeAlias = StreamSendTextResponse +global___StreamSendTextResponse = StreamSendTextResponse @typing.final class StreamSendTextCallback(google.protobuf.message.Message): @@ -640,21 +640,21 @@ class StreamSendTextCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def info(self) -> Global___TextStreamInfo: ... + def info(self) -> global___TextStreamInfo: ... @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - info: Global___TextStreamInfo | None = ..., - error: Global___StreamError | None = ..., + info: global___TextStreamInfo | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "info", b"info", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["info", "error"] | None: ... -Global___StreamSendTextCallback: typing_extensions.TypeAlias = StreamSendTextCallback +global___StreamSendTextCallback = StreamSendTextCallback @typing.final class OwnedByteStreamWriter(google.protobuf.message.Message): @@ -667,17 +667,17 @@ class OwnedByteStreamWriter(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___ByteStreamInfo: ... + def info(self) -> global___ByteStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___ByteStreamInfo | None = ..., + info: global___ByteStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedByteStreamWriter: typing_extensions.TypeAlias = OwnedByteStreamWriter +global___OwnedByteStreamWriter = OwnedByteStreamWriter @typing.final class ByteStreamOpenRequest(google.protobuf.message.Message): @@ -691,19 +691,19 @@ class ByteStreamOpenRequest(google.protobuf.message.Message): OPTIONS_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int @property - def options(self) -> Global___StreamByteOptions: + def options(self) -> global___StreamByteOptions: """Options to use for opening the stream.""" def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: Global___StreamByteOptions | None = ..., + options: global___StreamByteOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -Global___ByteStreamOpenRequest: typing_extensions.TypeAlias = ByteStreamOpenRequest +global___ByteStreamOpenRequest = ByteStreamOpenRequest @typing.final class ByteStreamOpenResponse(google.protobuf.message.Message): @@ -719,7 +719,7 @@ class ByteStreamOpenResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___ByteStreamOpenResponse: typing_extensions.TypeAlias = ByteStreamOpenResponse +global___ByteStreamOpenResponse = ByteStreamOpenResponse @typing.final class ByteStreamOpenCallback(google.protobuf.message.Message): @@ -730,21 +730,21 @@ class ByteStreamOpenCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def writer(self) -> Global___OwnedByteStreamWriter: ... + def writer(self) -> global___OwnedByteStreamWriter: ... @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - writer: Global___OwnedByteStreamWriter | None = ..., - error: Global___StreamError | None = ..., + writer: global___OwnedByteStreamWriter | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["writer", "error"] | None: ... -Global___ByteStreamOpenCallback: typing_extensions.TypeAlias = ByteStreamOpenCallback +global___ByteStreamOpenCallback = ByteStreamOpenCallback @typing.final class ByteStreamWriterWriteRequest(google.protobuf.message.Message): @@ -765,7 +765,7 @@ class ByteStreamWriterWriteRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["bytes", b"bytes", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "writer_handle", b"writer_handle"]) -> None: ... -Global___ByteStreamWriterWriteRequest: typing_extensions.TypeAlias = ByteStreamWriterWriteRequest +global___ByteStreamWriterWriteRequest = ByteStreamWriterWriteRequest @typing.final class ByteStreamWriterWriteResponse(google.protobuf.message.Message): @@ -781,7 +781,7 @@ class ByteStreamWriterWriteResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___ByteStreamWriterWriteResponse: typing_extensions.TypeAlias = ByteStreamWriterWriteResponse +global___ByteStreamWriterWriteResponse = ByteStreamWriterWriteResponse @typing.final class ByteStreamWriterWriteCallback(google.protobuf.message.Message): @@ -791,17 +791,17 @@ class ByteStreamWriterWriteCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___ByteStreamWriterWriteCallback: typing_extensions.TypeAlias = ByteStreamWriterWriteCallback +global___ByteStreamWriterWriteCallback = ByteStreamWriterWriteCallback @typing.final class ByteStreamWriterCloseRequest(google.protobuf.message.Message): @@ -822,7 +822,7 @@ class ByteStreamWriterCloseRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> None: ... -Global___ByteStreamWriterCloseRequest: typing_extensions.TypeAlias = ByteStreamWriterCloseRequest +global___ByteStreamWriterCloseRequest = ByteStreamWriterCloseRequest @typing.final class ByteStreamWriterCloseResponse(google.protobuf.message.Message): @@ -838,7 +838,7 @@ class ByteStreamWriterCloseResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___ByteStreamWriterCloseResponse: typing_extensions.TypeAlias = ByteStreamWriterCloseResponse +global___ByteStreamWriterCloseResponse = ByteStreamWriterCloseResponse @typing.final class ByteStreamWriterCloseCallback(google.protobuf.message.Message): @@ -848,17 +848,17 @@ class ByteStreamWriterCloseCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___ByteStreamWriterCloseCallback: typing_extensions.TypeAlias = ByteStreamWriterCloseCallback +global___ByteStreamWriterCloseCallback = ByteStreamWriterCloseCallback @typing.final class OwnedTextStreamWriter(google.protobuf.message.Message): @@ -871,17 +871,17 @@ class OwnedTextStreamWriter(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___TextStreamInfo: ... + def info(self) -> global___TextStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___TextStreamInfo | None = ..., + info: global___TextStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedTextStreamWriter: typing_extensions.TypeAlias = OwnedTextStreamWriter +global___OwnedTextStreamWriter = OwnedTextStreamWriter @typing.final class TextStreamOpenRequest(google.protobuf.message.Message): @@ -895,19 +895,19 @@ class TextStreamOpenRequest(google.protobuf.message.Message): OPTIONS_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int @property - def options(self) -> Global___StreamTextOptions: + def options(self) -> global___StreamTextOptions: """Options to use for opening the stream.""" def __init__( self, *, local_participant_handle: builtins.int | None = ..., - options: Global___StreamTextOptions | None = ..., + options: global___StreamTextOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options"]) -> None: ... -Global___TextStreamOpenRequest: typing_extensions.TypeAlias = TextStreamOpenRequest +global___TextStreamOpenRequest = TextStreamOpenRequest @typing.final class TextStreamOpenResponse(google.protobuf.message.Message): @@ -923,7 +923,7 @@ class TextStreamOpenResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___TextStreamOpenResponse: typing_extensions.TypeAlias = TextStreamOpenResponse +global___TextStreamOpenResponse = TextStreamOpenResponse @typing.final class TextStreamOpenCallback(google.protobuf.message.Message): @@ -934,21 +934,21 @@ class TextStreamOpenCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def writer(self) -> Global___OwnedTextStreamWriter: ... + def writer(self) -> global___OwnedTextStreamWriter: ... @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - writer: Global___OwnedTextStreamWriter | None = ..., - error: Global___StreamError | None = ..., + writer: global___OwnedTextStreamWriter | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "result", b"result", "writer", b"writer"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["result", b"result"]) -> typing.Literal["writer", "error"] | None: ... -Global___TextStreamOpenCallback: typing_extensions.TypeAlias = TextStreamOpenCallback +global___TextStreamOpenCallback = TextStreamOpenCallback @typing.final class TextStreamWriterWriteRequest(google.protobuf.message.Message): @@ -969,7 +969,7 @@ class TextStreamWriterWriteRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["text", b"text", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["text", b"text", "writer_handle", b"writer_handle"]) -> None: ... -Global___TextStreamWriterWriteRequest: typing_extensions.TypeAlias = TextStreamWriterWriteRequest +global___TextStreamWriterWriteRequest = TextStreamWriterWriteRequest @typing.final class TextStreamWriterWriteResponse(google.protobuf.message.Message): @@ -985,7 +985,7 @@ class TextStreamWriterWriteResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___TextStreamWriterWriteResponse: typing_extensions.TypeAlias = TextStreamWriterWriteResponse +global___TextStreamWriterWriteResponse = TextStreamWriterWriteResponse @typing.final class TextStreamWriterWriteCallback(google.protobuf.message.Message): @@ -995,17 +995,17 @@ class TextStreamWriterWriteCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___TextStreamWriterWriteCallback: typing_extensions.TypeAlias = TextStreamWriterWriteCallback +global___TextStreamWriterWriteCallback = TextStreamWriterWriteCallback @typing.final class TextStreamWriterCloseRequest(google.protobuf.message.Message): @@ -1026,7 +1026,7 @@ class TextStreamWriterCloseRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reason", b"reason", "writer_handle", b"writer_handle"]) -> None: ... -Global___TextStreamWriterCloseRequest: typing_extensions.TypeAlias = TextStreamWriterCloseRequest +global___TextStreamWriterCloseRequest = TextStreamWriterCloseRequest @typing.final class TextStreamWriterCloseResponse(google.protobuf.message.Message): @@ -1042,7 +1042,7 @@ class TextStreamWriterCloseResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___TextStreamWriterCloseResponse: typing_extensions.TypeAlias = TextStreamWriterCloseResponse +global___TextStreamWriterCloseResponse = TextStreamWriterCloseResponse @typing.final class TextStreamWriterCloseCallback(google.protobuf.message.Message): @@ -1052,17 +1052,17 @@ class TextStreamWriterCloseCallback(google.protobuf.message.Message): ERROR_FIELD_NUMBER: builtins.int async_id: builtins.int @property - def error(self) -> Global___StreamError: ... + def error(self) -> global___StreamError: ... def __init__( self, *, async_id: builtins.int | None = ..., - error: Global___StreamError | None = ..., + error: global___StreamError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___TextStreamWriterCloseCallback: typing_extensions.TypeAlias = TextStreamWriterCloseCallback +global___TextStreamWriterCloseCallback = TextStreamWriterCloseCallback @typing.final class TextStreamInfo(google.protobuf.message.Message): @@ -1126,7 +1126,7 @@ class TextStreamInfo(google.protobuf.message.Message): topic: builtins.str total_length: builtins.int """only populated for finite streams, if it's a stream of unknown size this stays empty""" - operation_type: Global___TextStreamInfo.OperationType.ValueType + operation_type: global___TextStreamInfo.OperationType.ValueType version: builtins.int """Optional: Version for updates/edits""" reply_to_stream_id: builtins.str @@ -1151,7 +1151,7 @@ class TextStreamInfo(google.protobuf.message.Message): topic: builtins.str | None = ..., total_length: builtins.int | None = ..., attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - operation_type: Global___TextStreamInfo.OperationType.ValueType | None = ..., + operation_type: global___TextStreamInfo.OperationType.ValueType | None = ..., version: builtins.int | None = ..., reply_to_stream_id: builtins.str | None = ..., attached_stream_ids: collections.abc.Iterable[builtins.str] | None = ..., @@ -1161,7 +1161,7 @@ class TextStreamInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "generated", b"generated", "mime_type", b"mime_type", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length", "version", b"version"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attached_stream_ids", b"attached_stream_ids", "attributes", b"attributes", "encryption_type", b"encryption_type", "generated", b"generated", "mime_type", b"mime_type", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length", "version", b"version"]) -> None: ... -Global___TextStreamInfo: typing_extensions.TypeAlias = TextStreamInfo +global___TextStreamInfo = TextStreamInfo @typing.final class ByteStreamInfo(google.protobuf.message.Message): @@ -1221,7 +1221,7 @@ class ByteStreamInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "mime_type", b"mime_type", "name", b"name", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "encryption_type", b"encryption_type", "mime_type", b"mime_type", "name", b"name", "stream_id", b"stream_id", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> None: ... -Global___ByteStreamInfo: typing_extensions.TypeAlias = ByteStreamInfo +global___ByteStreamInfo = ByteStreamInfo @typing.final class StreamTextOptions(google.protobuf.message.Message): @@ -1255,7 +1255,7 @@ class StreamTextOptions(google.protobuf.message.Message): GENERATED_FIELD_NUMBER: builtins.int topic: builtins.str id: builtins.str - operation_type: Global___TextStreamInfo.OperationType.ValueType + operation_type: global___TextStreamInfo.OperationType.ValueType version: builtins.int reply_to_stream_id: builtins.str generated: builtins.bool @@ -1272,7 +1272,7 @@ class StreamTextOptions(google.protobuf.message.Message): attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., id: builtins.str | None = ..., - operation_type: Global___TextStreamInfo.OperationType.ValueType | None = ..., + operation_type: global___TextStreamInfo.OperationType.ValueType | None = ..., version: builtins.int | None = ..., reply_to_stream_id: builtins.str | None = ..., attached_stream_ids: collections.abc.Iterable[builtins.str] | None = ..., @@ -1281,7 +1281,7 @@ class StreamTextOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["generated", b"generated", "id", b"id", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "topic", b"topic", "version", b"version"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attached_stream_ids", b"attached_stream_ids", "attributes", b"attributes", "destination_identities", b"destination_identities", "generated", b"generated", "id", b"id", "operation_type", b"operation_type", "reply_to_stream_id", b"reply_to_stream_id", "topic", b"topic", "version", b"version"]) -> None: ... -Global___StreamTextOptions: typing_extensions.TypeAlias = StreamTextOptions +global___StreamTextOptions = StreamTextOptions @typing.final class StreamByteOptions(google.protobuf.message.Message): @@ -1334,7 +1334,7 @@ class StreamByteOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id", "mime_type", b"mime_type", "name", b"name", "topic", b"topic", "total_length", b"total_length"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "destination_identities", b"destination_identities", "id", b"id", "mime_type", b"mime_type", "name", b"name", "topic", b"topic", "total_length", b"total_length"]) -> None: ... -Global___StreamByteOptions: typing_extensions.TypeAlias = StreamByteOptions +global___StreamByteOptions = StreamByteOptions @typing.final class StreamError(google.protobuf.message.Message): @@ -1353,4 +1353,4 @@ class StreamError(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["description", b"description"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["description", b"description"]) -> None: ... -Global___StreamError: typing_extensions.TypeAlias = StreamError +global___StreamError = StreamError diff --git a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py index 7db50ccb..0b5f8554 100644 --- a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: e2ee.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'e2ee.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'e2ee_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_ENCRYPTIONTYPE']._serialized_start=2856 _globals['_ENCRYPTIONTYPE']._serialized_end=2903 diff --git a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi index 8e7d6b0a..c20ecbee 100644 --- a/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/e2ee_pb2.pyi @@ -48,7 +48,7 @@ class EncryptionType(_EncryptionType, metaclass=_EncryptionTypeEnumTypeWrapper): NONE: EncryptionType.ValueType # 0 GCM: EncryptionType.ValueType # 1 CUSTOM: EncryptionType.ValueType # 2 -Global___EncryptionType: typing_extensions.TypeAlias = EncryptionType +global___EncryptionType = EncryptionType class _EncryptionState: ValueType = typing.NewType("ValueType", builtins.int) @@ -73,7 +73,7 @@ DECRYPTION_FAILED: EncryptionState.ValueType # 3 MISSING_KEY: EncryptionState.ValueType # 4 KEY_RATCHETED: EncryptionState.ValueType # 5 INTERNAL_ERROR: EncryptionState.ValueType # 6 -Global___EncryptionState: typing_extensions.TypeAlias = EncryptionState +global___EncryptionState = EncryptionState @typing.final class FrameCryptor(google.protobuf.message.Message): @@ -98,7 +98,7 @@ class FrameCryptor(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___FrameCryptor: typing_extensions.TypeAlias = FrameCryptor +global___FrameCryptor = FrameCryptor @typing.final class KeyProviderOptions(google.protobuf.message.Message): @@ -125,7 +125,7 @@ class KeyProviderOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["failure_tolerance", b"failure_tolerance", "ratchet_salt", b"ratchet_salt", "ratchet_window_size", b"ratchet_window_size", "shared_key", b"shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["failure_tolerance", b"failure_tolerance", "ratchet_salt", b"ratchet_salt", "ratchet_window_size", b"ratchet_window_size", "shared_key", b"shared_key"]) -> None: ... -Global___KeyProviderOptions: typing_extensions.TypeAlias = KeyProviderOptions +global___KeyProviderOptions = KeyProviderOptions @typing.final class E2eeOptions(google.protobuf.message.Message): @@ -133,19 +133,19 @@ class E2eeOptions(google.protobuf.message.Message): ENCRYPTION_TYPE_FIELD_NUMBER: builtins.int KEY_PROVIDER_OPTIONS_FIELD_NUMBER: builtins.int - encryption_type: Global___EncryptionType.ValueType + encryption_type: global___EncryptionType.ValueType @property - def key_provider_options(self) -> Global___KeyProviderOptions: ... + def key_provider_options(self) -> global___KeyProviderOptions: ... def __init__( self, *, - encryption_type: Global___EncryptionType.ValueType | None = ..., - key_provider_options: Global___KeyProviderOptions | None = ..., + encryption_type: global___EncryptionType.ValueType | None = ..., + key_provider_options: global___KeyProviderOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "key_provider_options", b"key_provider_options"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "key_provider_options", b"key_provider_options"]) -> None: ... -Global___E2eeOptions: typing_extensions.TypeAlias = E2eeOptions +global___E2eeOptions = E2eeOptions @typing.final class E2eeManagerSetEnabledRequest(google.protobuf.message.Message): @@ -161,7 +161,7 @@ class E2eeManagerSetEnabledRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ... -Global___E2eeManagerSetEnabledRequest: typing_extensions.TypeAlias = E2eeManagerSetEnabledRequest +global___E2eeManagerSetEnabledRequest = E2eeManagerSetEnabledRequest @typing.final class E2eeManagerSetEnabledResponse(google.protobuf.message.Message): @@ -171,7 +171,7 @@ class E2eeManagerSetEnabledResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___E2eeManagerSetEnabledResponse: typing_extensions.TypeAlias = E2eeManagerSetEnabledResponse +global___E2eeManagerSetEnabledResponse = E2eeManagerSetEnabledResponse @typing.final class E2eeManagerGetFrameCryptorsRequest(google.protobuf.message.Message): @@ -181,7 +181,7 @@ class E2eeManagerGetFrameCryptorsRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___E2eeManagerGetFrameCryptorsRequest: typing_extensions.TypeAlias = E2eeManagerGetFrameCryptorsRequest +global___E2eeManagerGetFrameCryptorsRequest = E2eeManagerGetFrameCryptorsRequest @typing.final class E2eeManagerGetFrameCryptorsResponse(google.protobuf.message.Message): @@ -189,15 +189,15 @@ class E2eeManagerGetFrameCryptorsResponse(google.protobuf.message.Message): FRAME_CRYPTORS_FIELD_NUMBER: builtins.int @property - def frame_cryptors(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___FrameCryptor]: ... + def frame_cryptors(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FrameCryptor]: ... def __init__( self, *, - frame_cryptors: collections.abc.Iterable[Global___FrameCryptor] | None = ..., + frame_cryptors: collections.abc.Iterable[global___FrameCryptor] | None = ..., ) -> None: ... def ClearField(self, field_name: typing.Literal["frame_cryptors", b"frame_cryptors"]) -> None: ... -Global___E2eeManagerGetFrameCryptorsResponse: typing_extensions.TypeAlias = E2eeManagerGetFrameCryptorsResponse +global___E2eeManagerGetFrameCryptorsResponse = E2eeManagerGetFrameCryptorsResponse @typing.final class FrameCryptorSetEnabledRequest(google.protobuf.message.Message): @@ -219,7 +219,7 @@ class FrameCryptorSetEnabledRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___FrameCryptorSetEnabledRequest: typing_extensions.TypeAlias = FrameCryptorSetEnabledRequest +global___FrameCryptorSetEnabledRequest = FrameCryptorSetEnabledRequest @typing.final class FrameCryptorSetEnabledResponse(google.protobuf.message.Message): @@ -229,7 +229,7 @@ class FrameCryptorSetEnabledResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___FrameCryptorSetEnabledResponse: typing_extensions.TypeAlias = FrameCryptorSetEnabledResponse +global___FrameCryptorSetEnabledResponse = FrameCryptorSetEnabledResponse @typing.final class FrameCryptorSetKeyIndexRequest(google.protobuf.message.Message): @@ -251,7 +251,7 @@ class FrameCryptorSetKeyIndexRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___FrameCryptorSetKeyIndexRequest: typing_extensions.TypeAlias = FrameCryptorSetKeyIndexRequest +global___FrameCryptorSetKeyIndexRequest = FrameCryptorSetKeyIndexRequest @typing.final class FrameCryptorSetKeyIndexResponse(google.protobuf.message.Message): @@ -261,7 +261,7 @@ class FrameCryptorSetKeyIndexResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___FrameCryptorSetKeyIndexResponse: typing_extensions.TypeAlias = FrameCryptorSetKeyIndexResponse +global___FrameCryptorSetKeyIndexResponse = FrameCryptorSetKeyIndexResponse @typing.final class SetSharedKeyRequest(google.protobuf.message.Message): @@ -280,7 +280,7 @@ class SetSharedKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "shared_key", b"shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "shared_key", b"shared_key"]) -> None: ... -Global___SetSharedKeyRequest: typing_extensions.TypeAlias = SetSharedKeyRequest +global___SetSharedKeyRequest = SetSharedKeyRequest @typing.final class SetSharedKeyResponse(google.protobuf.message.Message): @@ -290,7 +290,7 @@ class SetSharedKeyResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___SetSharedKeyResponse: typing_extensions.TypeAlias = SetSharedKeyResponse +global___SetSharedKeyResponse = SetSharedKeyResponse @typing.final class RatchetSharedKeyRequest(google.protobuf.message.Message): @@ -306,7 +306,7 @@ class RatchetSharedKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index"]) -> None: ... -Global___RatchetSharedKeyRequest: typing_extensions.TypeAlias = RatchetSharedKeyRequest +global___RatchetSharedKeyRequest = RatchetSharedKeyRequest @typing.final class RatchetSharedKeyResponse(google.protobuf.message.Message): @@ -322,7 +322,7 @@ class RatchetSharedKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["new_key", b"new_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["new_key", b"new_key"]) -> None: ... -Global___RatchetSharedKeyResponse: typing_extensions.TypeAlias = RatchetSharedKeyResponse +global___RatchetSharedKeyResponse = RatchetSharedKeyResponse @typing.final class GetSharedKeyRequest(google.protobuf.message.Message): @@ -338,7 +338,7 @@ class GetSharedKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index"]) -> None: ... -Global___GetSharedKeyRequest: typing_extensions.TypeAlias = GetSharedKeyRequest +global___GetSharedKeyRequest = GetSharedKeyRequest @typing.final class GetSharedKeyResponse(google.protobuf.message.Message): @@ -354,7 +354,7 @@ class GetSharedKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key"]) -> None: ... -Global___GetSharedKeyResponse: typing_extensions.TypeAlias = GetSharedKeyResponse +global___GetSharedKeyResponse = GetSharedKeyResponse @typing.final class SetKeyRequest(google.protobuf.message.Message): @@ -376,7 +376,7 @@ class SetKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key", "key_index", b"key_index", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key", "key_index", b"key_index", "participant_identity", b"participant_identity"]) -> None: ... -Global___SetKeyRequest: typing_extensions.TypeAlias = SetKeyRequest +global___SetKeyRequest = SetKeyRequest @typing.final class SetKeyResponse(google.protobuf.message.Message): @@ -386,7 +386,7 @@ class SetKeyResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___SetKeyResponse: typing_extensions.TypeAlias = SetKeyResponse +global___SetKeyResponse = SetKeyResponse @typing.final class RatchetKeyRequest(google.protobuf.message.Message): @@ -405,7 +405,7 @@ class RatchetKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> None: ... -Global___RatchetKeyRequest: typing_extensions.TypeAlias = RatchetKeyRequest +global___RatchetKeyRequest = RatchetKeyRequest @typing.final class RatchetKeyResponse(google.protobuf.message.Message): @@ -421,7 +421,7 @@ class RatchetKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["new_key", b"new_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["new_key", b"new_key"]) -> None: ... -Global___RatchetKeyResponse: typing_extensions.TypeAlias = RatchetKeyResponse +global___RatchetKeyResponse = RatchetKeyResponse @typing.final class GetKeyRequest(google.protobuf.message.Message): @@ -440,7 +440,7 @@ class GetKeyRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key_index", b"key_index", "participant_identity", b"participant_identity"]) -> None: ... -Global___GetKeyRequest: typing_extensions.TypeAlias = GetKeyRequest +global___GetKeyRequest = GetKeyRequest @typing.final class GetKeyResponse(google.protobuf.message.Message): @@ -456,7 +456,7 @@ class GetKeyResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key"]) -> None: ... -Global___GetKeyResponse: typing_extensions.TypeAlias = GetKeyResponse +global___GetKeyResponse = GetKeyResponse @typing.final class E2eeRequest(google.protobuf.message.Message): @@ -475,45 +475,45 @@ class E2eeRequest(google.protobuf.message.Message): GET_KEY_FIELD_NUMBER: builtins.int room_handle: builtins.int @property - def manager_set_enabled(self) -> Global___E2eeManagerSetEnabledRequest: ... + def manager_set_enabled(self) -> global___E2eeManagerSetEnabledRequest: ... @property - def manager_get_frame_cryptors(self) -> Global___E2eeManagerGetFrameCryptorsRequest: ... + def manager_get_frame_cryptors(self) -> global___E2eeManagerGetFrameCryptorsRequest: ... @property - def cryptor_set_enabled(self) -> Global___FrameCryptorSetEnabledRequest: ... + def cryptor_set_enabled(self) -> global___FrameCryptorSetEnabledRequest: ... @property - def cryptor_set_key_index(self) -> Global___FrameCryptorSetKeyIndexRequest: ... + def cryptor_set_key_index(self) -> global___FrameCryptorSetKeyIndexRequest: ... @property - def set_shared_key(self) -> Global___SetSharedKeyRequest: ... + def set_shared_key(self) -> global___SetSharedKeyRequest: ... @property - def ratchet_shared_key(self) -> Global___RatchetSharedKeyRequest: ... + def ratchet_shared_key(self) -> global___RatchetSharedKeyRequest: ... @property - def get_shared_key(self) -> Global___GetSharedKeyRequest: ... + def get_shared_key(self) -> global___GetSharedKeyRequest: ... @property - def set_key(self) -> Global___SetKeyRequest: ... + def set_key(self) -> global___SetKeyRequest: ... @property - def ratchet_key(self) -> Global___RatchetKeyRequest: ... + def ratchet_key(self) -> global___RatchetKeyRequest: ... @property - def get_key(self) -> Global___GetKeyRequest: ... + def get_key(self) -> global___GetKeyRequest: ... def __init__( self, *, room_handle: builtins.int | None = ..., - manager_set_enabled: Global___E2eeManagerSetEnabledRequest | None = ..., - manager_get_frame_cryptors: Global___E2eeManagerGetFrameCryptorsRequest | None = ..., - cryptor_set_enabled: Global___FrameCryptorSetEnabledRequest | None = ..., - cryptor_set_key_index: Global___FrameCryptorSetKeyIndexRequest | None = ..., - set_shared_key: Global___SetSharedKeyRequest | None = ..., - ratchet_shared_key: Global___RatchetSharedKeyRequest | None = ..., - get_shared_key: Global___GetSharedKeyRequest | None = ..., - set_key: Global___SetKeyRequest | None = ..., - ratchet_key: Global___RatchetKeyRequest | None = ..., - get_key: Global___GetKeyRequest | None = ..., + manager_set_enabled: global___E2eeManagerSetEnabledRequest | None = ..., + manager_get_frame_cryptors: global___E2eeManagerGetFrameCryptorsRequest | None = ..., + cryptor_set_enabled: global___FrameCryptorSetEnabledRequest | None = ..., + cryptor_set_key_index: global___FrameCryptorSetKeyIndexRequest | None = ..., + set_shared_key: global___SetSharedKeyRequest | None = ..., + ratchet_shared_key: global___RatchetSharedKeyRequest | None = ..., + get_shared_key: global___GetSharedKeyRequest | None = ..., + set_key: global___SetKeyRequest | None = ..., + ratchet_key: global___RatchetKeyRequest | None = ..., + get_key: global___GetKeyRequest | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "room_handle", b"room_handle", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "room_handle", b"room_handle", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["manager_set_enabled", "manager_get_frame_cryptors", "cryptor_set_enabled", "cryptor_set_key_index", "set_shared_key", "ratchet_shared_key", "get_shared_key", "set_key", "ratchet_key", "get_key"] | None: ... -Global___E2eeRequest: typing_extensions.TypeAlias = E2eeRequest +global___E2eeRequest = E2eeRequest @typing.final class E2eeResponse(google.protobuf.message.Message): @@ -530,41 +530,41 @@ class E2eeResponse(google.protobuf.message.Message): RATCHET_KEY_FIELD_NUMBER: builtins.int GET_KEY_FIELD_NUMBER: builtins.int @property - def manager_set_enabled(self) -> Global___E2eeManagerSetEnabledResponse: ... + def manager_set_enabled(self) -> global___E2eeManagerSetEnabledResponse: ... @property - def manager_get_frame_cryptors(self) -> Global___E2eeManagerGetFrameCryptorsResponse: ... + def manager_get_frame_cryptors(self) -> global___E2eeManagerGetFrameCryptorsResponse: ... @property - def cryptor_set_enabled(self) -> Global___FrameCryptorSetEnabledResponse: ... + def cryptor_set_enabled(self) -> global___FrameCryptorSetEnabledResponse: ... @property - def cryptor_set_key_index(self) -> Global___FrameCryptorSetKeyIndexResponse: ... + def cryptor_set_key_index(self) -> global___FrameCryptorSetKeyIndexResponse: ... @property - def set_shared_key(self) -> Global___SetSharedKeyResponse: ... + def set_shared_key(self) -> global___SetSharedKeyResponse: ... @property - def ratchet_shared_key(self) -> Global___RatchetSharedKeyResponse: ... + def ratchet_shared_key(self) -> global___RatchetSharedKeyResponse: ... @property - def get_shared_key(self) -> Global___GetSharedKeyResponse: ... + def get_shared_key(self) -> global___GetSharedKeyResponse: ... @property - def set_key(self) -> Global___SetKeyResponse: ... + def set_key(self) -> global___SetKeyResponse: ... @property - def ratchet_key(self) -> Global___RatchetKeyResponse: ... + def ratchet_key(self) -> global___RatchetKeyResponse: ... @property - def get_key(self) -> Global___GetKeyResponse: ... + def get_key(self) -> global___GetKeyResponse: ... def __init__( self, *, - manager_set_enabled: Global___E2eeManagerSetEnabledResponse | None = ..., - manager_get_frame_cryptors: Global___E2eeManagerGetFrameCryptorsResponse | None = ..., - cryptor_set_enabled: Global___FrameCryptorSetEnabledResponse | None = ..., - cryptor_set_key_index: Global___FrameCryptorSetKeyIndexResponse | None = ..., - set_shared_key: Global___SetSharedKeyResponse | None = ..., - ratchet_shared_key: Global___RatchetSharedKeyResponse | None = ..., - get_shared_key: Global___GetSharedKeyResponse | None = ..., - set_key: Global___SetKeyResponse | None = ..., - ratchet_key: Global___RatchetKeyResponse | None = ..., - get_key: Global___GetKeyResponse | None = ..., + manager_set_enabled: global___E2eeManagerSetEnabledResponse | None = ..., + manager_get_frame_cryptors: global___E2eeManagerGetFrameCryptorsResponse | None = ..., + cryptor_set_enabled: global___FrameCryptorSetEnabledResponse | None = ..., + cryptor_set_key_index: global___FrameCryptorSetKeyIndexResponse | None = ..., + set_shared_key: global___SetSharedKeyResponse | None = ..., + ratchet_shared_key: global___RatchetSharedKeyResponse | None = ..., + get_shared_key: global___GetSharedKeyResponse | None = ..., + set_key: global___SetKeyResponse | None = ..., + ratchet_key: global___RatchetKeyResponse | None = ..., + get_key: global___GetKeyResponse | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["cryptor_set_enabled", b"cryptor_set_enabled", "cryptor_set_key_index", b"cryptor_set_key_index", "get_key", b"get_key", "get_shared_key", b"get_shared_key", "manager_get_frame_cryptors", b"manager_get_frame_cryptors", "manager_set_enabled", b"manager_set_enabled", "message", b"message", "ratchet_key", b"ratchet_key", "ratchet_shared_key", b"ratchet_shared_key", "set_key", b"set_key", "set_shared_key", b"set_shared_key"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["manager_set_enabled", "manager_get_frame_cryptors", "cryptor_set_enabled", "cryptor_set_key_index", "set_shared_key", "ratchet_shared_key", "get_shared_key", "set_key", "ratchet_key", "get_key"] | None: ... -Global___E2eeResponse: typing_extensions.TypeAlias = E2eeResponse +global___E2eeResponse = E2eeResponse diff --git a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py index dec63fea..a48d684f 100644 --- a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: ffi.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'ffi.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,8 +27,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ffi_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_LOGLEVEL']._serialized_start=12859 _globals['_LOGLEVEL']._serialized_end=12942 diff --git a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi index 1a1bddcb..e9ab7705 100644 --- a/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/ffi_pb2.pyi @@ -59,7 +59,7 @@ LOG_WARN: LogLevel.ValueType # 1 LOG_INFO: LogLevel.ValueType # 2 LOG_DEBUG: LogLevel.ValueType # 3 LOG_TRACE: LogLevel.ValueType # 4 -Global___LogLevel: typing_extensions.TypeAlias = LogLevel +global___LogLevel = LogLevel @typing.final class FfiRequest(google.protobuf.message.Message): @@ -163,7 +163,7 @@ class FfiRequest(google.protobuf.message.Message): SEND_BYTES_FIELD_NUMBER: builtins.int SET_REMOTE_TRACK_PUBLICATION_QUALITY_FIELD_NUMBER: builtins.int @property - def dispose(self) -> Global___DisposeRequest: ... + def dispose(self) -> global___DisposeRequest: ... @property def connect(self) -> room_pb2.ConnectRequest: """Room""" @@ -319,7 +319,7 @@ class FfiRequest(google.protobuf.message.Message): def __init__( self, *, - dispose: Global___DisposeRequest | None = ..., + dispose: global___DisposeRequest | None = ..., connect: room_pb2.ConnectRequest | None = ..., disconnect: room_pb2.DisconnectRequest | None = ..., publish_track: room_pb2.PublishTrackRequest | None = ..., @@ -391,7 +391,7 @@ class FfiRequest(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["apm_process_reverse_stream", b"apm_process_reverse_stream", "apm_process_stream", b"apm_process_stream", "apm_set_stream_delay", b"apm_set_stream_delay", "audio_stream_from_participant", b"audio_stream_from_participant", "byte_read_all", b"byte_read_all", "byte_read_incremental", b"byte_read_incremental", "byte_stream_close", b"byte_stream_close", "byte_stream_open", b"byte_stream_open", "byte_stream_write", b"byte_stream_write", "byte_write_to_file", b"byte_write_to_file", "capture_audio_frame", b"capture_audio_frame", "capture_video_frame", b"capture_video_frame", "clear_audio_buffer", b"clear_audio_buffer", "connect", b"connect", "create_audio_track", b"create_audio_track", "create_video_track", b"create_video_track", "disconnect", b"disconnect", "dispose", b"dispose", "e2ee", b"e2ee", "edit_chat_message", b"edit_chat_message", "enable_remote_track", b"enable_remote_track", "enable_remote_track_publication", b"enable_remote_track_publication", "flush_sox_resampler", b"flush_sox_resampler", "get_session_stats", b"get_session_stats", "get_stats", b"get_stats", "load_audio_filter_plugin", b"load_audio_filter_plugin", "local_track_mute", b"local_track_mute", "message", b"message", "new_apm", b"new_apm", "new_audio_resampler", b"new_audio_resampler", "new_audio_source", b"new_audio_source", "new_audio_stream", b"new_audio_stream", "new_sox_resampler", b"new_sox_resampler", "new_video_source", b"new_video_source", "new_video_stream", b"new_video_stream", "perform_rpc", b"perform_rpc", "publish_data", b"publish_data", "publish_sip_dtmf", b"publish_sip_dtmf", "publish_track", b"publish_track", "publish_transcription", b"publish_transcription", "push_sox_resampler", b"push_sox_resampler", "register_rpc_method", b"register_rpc_method", "remix_and_resample", b"remix_and_resample", "rpc_method_invocation_response", b"rpc_method_invocation_response", "send_bytes", b"send_bytes", "send_chat_message", b"send_chat_message", "send_file", b"send_file", "send_stream_chunk", b"send_stream_chunk", "send_stream_header", b"send_stream_header", "send_stream_trailer", b"send_stream_trailer", "send_text", b"send_text", "set_data_channel_buffered_amount_low_threshold", b"set_data_channel_buffered_amount_low_threshold", "set_local_attributes", b"set_local_attributes", "set_local_metadata", b"set_local_metadata", "set_local_name", b"set_local_name", "set_remote_track_publication_quality", b"set_remote_track_publication_quality", "set_subscribed", b"set_subscribed", "set_track_subscription_permissions", b"set_track_subscription_permissions", "text_read_all", b"text_read_all", "text_read_incremental", b"text_read_incremental", "text_stream_close", b"text_stream_close", "text_stream_open", b"text_stream_open", "text_stream_write", b"text_stream_write", "unpublish_track", b"unpublish_track", "unregister_rpc_method", b"unregister_rpc_method", "update_remote_track_publication_dimension", b"update_remote_track_publication_dimension", "video_convert", b"video_convert", "video_stream_from_participant", b"video_stream_from_participant"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["dispose", "connect", "disconnect", "publish_track", "unpublish_track", "publish_data", "set_subscribed", "set_local_metadata", "set_local_name", "set_local_attributes", "get_session_stats", "publish_transcription", "publish_sip_dtmf", "create_video_track", "create_audio_track", "local_track_mute", "enable_remote_track", "get_stats", "set_track_subscription_permissions", "new_video_stream", "new_video_source", "capture_video_frame", "video_convert", "video_stream_from_participant", "new_audio_stream", "new_audio_source", "capture_audio_frame", "clear_audio_buffer", "new_audio_resampler", "remix_and_resample", "e2ee", "audio_stream_from_participant", "new_sox_resampler", "push_sox_resampler", "flush_sox_resampler", "send_chat_message", "edit_chat_message", "perform_rpc", "register_rpc_method", "unregister_rpc_method", "rpc_method_invocation_response", "enable_remote_track_publication", "update_remote_track_publication_dimension", "send_stream_header", "send_stream_chunk", "send_stream_trailer", "set_data_channel_buffered_amount_low_threshold", "load_audio_filter_plugin", "new_apm", "apm_process_stream", "apm_process_reverse_stream", "apm_set_stream_delay", "byte_read_incremental", "byte_read_all", "byte_write_to_file", "text_read_incremental", "text_read_all", "send_file", "send_text", "byte_stream_open", "byte_stream_write", "byte_stream_close", "text_stream_open", "text_stream_write", "text_stream_close", "send_bytes", "set_remote_track_publication_quality"] | None: ... -Global___FfiRequest: typing_extensions.TypeAlias = FfiRequest +global___FfiRequest = FfiRequest @typing.final class FfiResponse(google.protobuf.message.Message): @@ -466,7 +466,7 @@ class FfiResponse(google.protobuf.message.Message): SEND_BYTES_FIELD_NUMBER: builtins.int SET_REMOTE_TRACK_PUBLICATION_QUALITY_FIELD_NUMBER: builtins.int @property - def dispose(self) -> Global___DisposeResponse: ... + def dispose(self) -> global___DisposeResponse: ... @property def connect(self) -> room_pb2.ConnectResponse: """Room""" @@ -620,7 +620,7 @@ class FfiResponse(google.protobuf.message.Message): def __init__( self, *, - dispose: Global___DisposeResponse | None = ..., + dispose: global___DisposeResponse | None = ..., connect: room_pb2.ConnectResponse | None = ..., disconnect: room_pb2.DisconnectResponse | None = ..., publish_track: room_pb2.PublishTrackResponse | None = ..., @@ -691,7 +691,7 @@ class FfiResponse(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["apm_process_reverse_stream", b"apm_process_reverse_stream", "apm_process_stream", b"apm_process_stream", "apm_set_stream_delay", b"apm_set_stream_delay", "audio_stream_from_participant", b"audio_stream_from_participant", "byte_read_all", b"byte_read_all", "byte_read_incremental", b"byte_read_incremental", "byte_stream_close", b"byte_stream_close", "byte_stream_open", b"byte_stream_open", "byte_stream_write", b"byte_stream_write", "byte_write_to_file", b"byte_write_to_file", "capture_audio_frame", b"capture_audio_frame", "capture_video_frame", b"capture_video_frame", "clear_audio_buffer", b"clear_audio_buffer", "connect", b"connect", "create_audio_track", b"create_audio_track", "create_video_track", b"create_video_track", "disconnect", b"disconnect", "dispose", b"dispose", "e2ee", b"e2ee", "enable_remote_track", b"enable_remote_track", "enable_remote_track_publication", b"enable_remote_track_publication", "flush_sox_resampler", b"flush_sox_resampler", "get_session_stats", b"get_session_stats", "get_stats", b"get_stats", "load_audio_filter_plugin", b"load_audio_filter_plugin", "local_track_mute", b"local_track_mute", "message", b"message", "new_apm", b"new_apm", "new_audio_resampler", b"new_audio_resampler", "new_audio_source", b"new_audio_source", "new_audio_stream", b"new_audio_stream", "new_sox_resampler", b"new_sox_resampler", "new_video_source", b"new_video_source", "new_video_stream", b"new_video_stream", "perform_rpc", b"perform_rpc", "publish_data", b"publish_data", "publish_sip_dtmf", b"publish_sip_dtmf", "publish_track", b"publish_track", "publish_transcription", b"publish_transcription", "push_sox_resampler", b"push_sox_resampler", "register_rpc_method", b"register_rpc_method", "remix_and_resample", b"remix_and_resample", "rpc_method_invocation_response", b"rpc_method_invocation_response", "send_bytes", b"send_bytes", "send_chat_message", b"send_chat_message", "send_file", b"send_file", "send_stream_chunk", b"send_stream_chunk", "send_stream_header", b"send_stream_header", "send_stream_trailer", b"send_stream_trailer", "send_text", b"send_text", "set_data_channel_buffered_amount_low_threshold", b"set_data_channel_buffered_amount_low_threshold", "set_local_attributes", b"set_local_attributes", "set_local_metadata", b"set_local_metadata", "set_local_name", b"set_local_name", "set_remote_track_publication_quality", b"set_remote_track_publication_quality", "set_subscribed", b"set_subscribed", "set_track_subscription_permissions", b"set_track_subscription_permissions", "text_read_all", b"text_read_all", "text_read_incremental", b"text_read_incremental", "text_stream_close", b"text_stream_close", "text_stream_open", b"text_stream_open", "text_stream_write", b"text_stream_write", "unpublish_track", b"unpublish_track", "unregister_rpc_method", b"unregister_rpc_method", "update_remote_track_publication_dimension", b"update_remote_track_publication_dimension", "video_convert", b"video_convert", "video_stream_from_participant", b"video_stream_from_participant"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["dispose", "connect", "disconnect", "publish_track", "unpublish_track", "publish_data", "set_subscribed", "set_local_metadata", "set_local_name", "set_local_attributes", "get_session_stats", "publish_transcription", "publish_sip_dtmf", "create_video_track", "create_audio_track", "local_track_mute", "enable_remote_track", "get_stats", "set_track_subscription_permissions", "new_video_stream", "new_video_source", "capture_video_frame", "video_convert", "video_stream_from_participant", "new_audio_stream", "new_audio_source", "capture_audio_frame", "clear_audio_buffer", "new_audio_resampler", "remix_and_resample", "audio_stream_from_participant", "e2ee", "new_sox_resampler", "push_sox_resampler", "flush_sox_resampler", "send_chat_message", "perform_rpc", "register_rpc_method", "unregister_rpc_method", "rpc_method_invocation_response", "enable_remote_track_publication", "update_remote_track_publication_dimension", "send_stream_header", "send_stream_chunk", "send_stream_trailer", "set_data_channel_buffered_amount_low_threshold", "load_audio_filter_plugin", "new_apm", "apm_process_stream", "apm_process_reverse_stream", "apm_set_stream_delay", "byte_read_incremental", "byte_read_all", "byte_write_to_file", "text_read_incremental", "text_read_all", "send_file", "send_text", "byte_stream_open", "byte_stream_write", "byte_stream_close", "text_stream_open", "text_stream_write", "text_stream_close", "send_bytes", "set_remote_track_publication_quality"] | None: ... -Global___FfiResponse: typing_extensions.TypeAlias = FfiResponse +global___FfiResponse = FfiResponse @typing.final class FfiEvent(google.protobuf.message.Message): @@ -755,7 +755,7 @@ class FfiEvent(google.protobuf.message.Message): @property def disconnect(self) -> room_pb2.DisconnectCallback: ... @property - def dispose(self) -> Global___DisposeCallback: ... + def dispose(self) -> global___DisposeCallback: ... @property def publish_track(self) -> room_pb2.PublishTrackCallback: ... @property @@ -775,11 +775,11 @@ class FfiEvent(google.protobuf.message.Message): @property def get_stats(self) -> track_pb2.GetStatsCallback: ... @property - def logs(self) -> Global___LogBatch: ... + def logs(self) -> global___LogBatch: ... @property def get_session_stats(self) -> room_pb2.GetSessionStatsCallback: ... @property - def panic(self) -> Global___Panic: ... + def panic(self) -> global___Panic: ... @property def publish_sip_dtmf(self) -> room_pb2.PublishSipDtmfCallback: ... @property @@ -835,7 +835,7 @@ class FfiEvent(google.protobuf.message.Message): audio_stream_event: audio_frame_pb2.AudioStreamEvent | None = ..., connect: room_pb2.ConnectCallback | None = ..., disconnect: room_pb2.DisconnectCallback | None = ..., - dispose: Global___DisposeCallback | None = ..., + dispose: global___DisposeCallback | None = ..., publish_track: room_pb2.PublishTrackCallback | None = ..., unpublish_track: room_pb2.UnpublishTrackCallback | None = ..., publish_data: room_pb2.PublishDataCallback | None = ..., @@ -845,9 +845,9 @@ class FfiEvent(google.protobuf.message.Message): set_local_name: room_pb2.SetLocalNameCallback | None = ..., set_local_attributes: room_pb2.SetLocalAttributesCallback | None = ..., get_stats: track_pb2.GetStatsCallback | None = ..., - logs: Global___LogBatch | None = ..., + logs: global___LogBatch | None = ..., get_session_stats: room_pb2.GetSessionStatsCallback | None = ..., - panic: Global___Panic | None = ..., + panic: global___Panic | None = ..., publish_sip_dtmf: room_pb2.PublishSipDtmfCallback | None = ..., chat_message: room_pb2.SendChatMessageCallback | None = ..., perform_rpc: rpc_pb2.PerformRpcCallback | None = ..., @@ -874,7 +874,7 @@ class FfiEvent(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["audio_stream_event", b"audio_stream_event", "byte_stream_open", b"byte_stream_open", "byte_stream_reader_event", b"byte_stream_reader_event", "byte_stream_reader_read_all", b"byte_stream_reader_read_all", "byte_stream_reader_write_to_file", b"byte_stream_reader_write_to_file", "byte_stream_writer_close", b"byte_stream_writer_close", "byte_stream_writer_write", b"byte_stream_writer_write", "capture_audio_frame", b"capture_audio_frame", "chat_message", b"chat_message", "connect", b"connect", "disconnect", b"disconnect", "dispose", b"dispose", "get_session_stats", b"get_session_stats", "get_stats", b"get_stats", "logs", b"logs", "message", b"message", "panic", b"panic", "perform_rpc", b"perform_rpc", "publish_data", b"publish_data", "publish_sip_dtmf", b"publish_sip_dtmf", "publish_track", b"publish_track", "publish_transcription", b"publish_transcription", "room_event", b"room_event", "rpc_method_invocation", b"rpc_method_invocation", "send_bytes", b"send_bytes", "send_file", b"send_file", "send_stream_chunk", b"send_stream_chunk", "send_stream_header", b"send_stream_header", "send_stream_trailer", b"send_stream_trailer", "send_text", b"send_text", "set_local_attributes", b"set_local_attributes", "set_local_metadata", b"set_local_metadata", "set_local_name", b"set_local_name", "text_stream_open", b"text_stream_open", "text_stream_reader_event", b"text_stream_reader_event", "text_stream_reader_read_all", b"text_stream_reader_read_all", "text_stream_writer_close", b"text_stream_writer_close", "text_stream_writer_write", b"text_stream_writer_write", "track_event", b"track_event", "unpublish_track", b"unpublish_track", "video_stream_event", b"video_stream_event"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["room_event", "track_event", "video_stream_event", "audio_stream_event", "connect", "disconnect", "dispose", "publish_track", "unpublish_track", "publish_data", "publish_transcription", "capture_audio_frame", "set_local_metadata", "set_local_name", "set_local_attributes", "get_stats", "logs", "get_session_stats", "panic", "publish_sip_dtmf", "chat_message", "perform_rpc", "rpc_method_invocation", "send_stream_header", "send_stream_chunk", "send_stream_trailer", "byte_stream_reader_event", "byte_stream_reader_read_all", "byte_stream_reader_write_to_file", "byte_stream_open", "byte_stream_writer_write", "byte_stream_writer_close", "send_file", "text_stream_reader_event", "text_stream_reader_read_all", "text_stream_open", "text_stream_writer_write", "text_stream_writer_close", "send_text", "send_bytes"] | None: ... -Global___FfiEvent: typing_extensions.TypeAlias = FfiEvent +global___FfiEvent = FfiEvent @typing.final class DisposeRequest(google.protobuf.message.Message): @@ -892,7 +892,7 @@ class DisposeRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async", b"async"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async", b"async"]) -> None: ... -Global___DisposeRequest: typing_extensions.TypeAlias = DisposeRequest +global___DisposeRequest = DisposeRequest @typing.final class DisposeResponse(google.protobuf.message.Message): @@ -909,7 +909,7 @@ class DisposeResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___DisposeResponse: typing_extensions.TypeAlias = DisposeResponse +global___DisposeResponse = DisposeResponse @typing.final class DisposeCallback(google.protobuf.message.Message): @@ -925,7 +925,7 @@ class DisposeCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___DisposeCallback: typing_extensions.TypeAlias = DisposeCallback +global___DisposeCallback = DisposeCallback @typing.final class LogRecord(google.protobuf.message.Message): @@ -937,7 +937,7 @@ class LogRecord(google.protobuf.message.Message): FILE_FIELD_NUMBER: builtins.int LINE_FIELD_NUMBER: builtins.int MESSAGE_FIELD_NUMBER: builtins.int - level: Global___LogLevel.ValueType + level: global___LogLevel.ValueType target: builtins.str """e.g "livekit", "libwebrtc", "tokio-tungstenite", etc...""" module_path: builtins.str @@ -947,7 +947,7 @@ class LogRecord(google.protobuf.message.Message): def __init__( self, *, - level: Global___LogLevel.ValueType | None = ..., + level: global___LogLevel.ValueType | None = ..., target: builtins.str | None = ..., module_path: builtins.str | None = ..., file: builtins.str | None = ..., @@ -957,7 +957,7 @@ class LogRecord(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["file", b"file", "level", b"level", "line", b"line", "message", b"message", "module_path", b"module_path", "target", b"target"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["file", b"file", "level", b"level", "line", b"line", "message", b"message", "module_path", b"module_path", "target", b"target"]) -> None: ... -Global___LogRecord: typing_extensions.TypeAlias = LogRecord +global___LogRecord = LogRecord @typing.final class LogBatch(google.protobuf.message.Message): @@ -965,15 +965,15 @@ class LogBatch(google.protobuf.message.Message): RECORDS_FIELD_NUMBER: builtins.int @property - def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___LogRecord]: ... + def records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogRecord]: ... def __init__( self, *, - records: collections.abc.Iterable[Global___LogRecord] | None = ..., + records: collections.abc.Iterable[global___LogRecord] | None = ..., ) -> None: ... def ClearField(self, field_name: typing.Literal["records", b"records"]) -> None: ... -Global___LogBatch: typing_extensions.TypeAlias = LogBatch +global___LogBatch = LogBatch @typing.final class Panic(google.protobuf.message.Message): @@ -989,4 +989,4 @@ class Panic(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ... -Global___Panic: typing_extensions.TypeAlias = Panic +global___Panic = Panic diff --git a/livekit-rtc/livekit/rtc/_proto/handle_pb2.py b/livekit-rtc/livekit/rtc/_proto/handle_pb2.py index ee00e56b..2ae2db78 100644 --- a/livekit-rtc/livekit/rtc/_proto/handle_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/handle_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: handle.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'handle.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'handle_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_FFIOWNEDHANDLE']._serialized_start=31 _globals['_FFIOWNEDHANDLE']._serialized_end=59 diff --git a/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi index 96bb20e3..d433a6c2 100644 --- a/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/handle_pb2.pyi @@ -19,14 +19,8 @@ limitations under the License. import builtins import google.protobuf.descriptor import google.protobuf.message -import sys import typing -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - DESCRIPTOR: google.protobuf.descriptor.FileDescriptor @typing.final @@ -54,4 +48,4 @@ class FfiOwnedHandle(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ... -Global___FfiOwnedHandle: typing_extensions.TypeAlias = FfiOwnedHandle +global___FfiOwnedHandle = FfiOwnedHandle diff --git a/livekit-rtc/livekit/rtc/_proto/participant_pb2.py b/livekit-rtc/livekit/rtc/_proto/participant_pb2.py index ee84eb64..d12985d0 100644 --- a/livekit-rtc/livekit/rtc/_proto/participant_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/participant_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: participant.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'participant.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,10 +20,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'participant_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._loaded_options = None + _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._options = None _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' _globals['_PARTICIPANTKIND']._serialized_start=532 _globals['_PARTICIPANTKIND']._serialized_end=725 diff --git a/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi index 2e1544e7..a35cc397 100644 --- a/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi @@ -54,7 +54,7 @@ PARTICIPANT_KIND_EGRESS: ParticipantKind.ValueType # 2 PARTICIPANT_KIND_SIP: ParticipantKind.ValueType # 3 PARTICIPANT_KIND_AGENT: ParticipantKind.ValueType # 4 PARTICIPANT_KIND_CONNECTOR: ParticipantKind.ValueType # 5 -Global___ParticipantKind: typing_extensions.TypeAlias = ParticipantKind +global___ParticipantKind = ParticipantKind class _ParticipantKindDetail: ValueType = typing.NewType("ValueType", builtins.int) @@ -73,7 +73,7 @@ PARTICIPANT_KIND_DETAIL_CLOUD_AGENT: ParticipantKindDetail.ValueType # 0 PARTICIPANT_KIND_DETAIL_FORWARDED: ParticipantKindDetail.ValueType # 1 PARTICIPANT_KIND_DETAIL_CONNECTOR_WHATSAPP: ParticipantKindDetail.ValueType # 2 PARTICIPANT_KIND_DETAIL_CONNECTOR_TWILIO: ParticipantKindDetail.ValueType # 3 -Global___ParticipantKindDetail: typing_extensions.TypeAlias = ParticipantKindDetail +global___ParticipantKindDetail = ParticipantKindDetail class _DisconnectReason: ValueType = typing.NewType("ValueType", builtins.int) @@ -142,7 +142,7 @@ SIP_TRUNK_FAILURE: DisconnectReason.ValueType # 13 """SIP protocol failure or unexpected response""" CONNECTION_TIMEOUT: DisconnectReason.ValueType # 14 MEDIA_FAILURE: DisconnectReason.ValueType # 15 -Global___DisconnectReason: typing_extensions.TypeAlias = DisconnectReason +global___DisconnectReason = DisconnectReason @typing.final class ParticipantInfo(google.protobuf.message.Message): @@ -177,12 +177,12 @@ class ParticipantInfo(google.protobuf.message.Message): name: builtins.str identity: builtins.str metadata: builtins.str - kind: Global___ParticipantKind.ValueType - disconnect_reason: Global___DisconnectReason.ValueType + kind: global___ParticipantKind.ValueType + disconnect_reason: global___DisconnectReason.ValueType @property def attributes(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... @property - def kind_details(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[Global___ParticipantKindDetail.ValueType]: ... + def kind_details(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___ParticipantKindDetail.ValueType]: ... def __init__( self, *, @@ -191,14 +191,14 @@ class ParticipantInfo(google.protobuf.message.Message): identity: builtins.str | None = ..., metadata: builtins.str | None = ..., attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - kind: Global___ParticipantKind.ValueType | None = ..., - disconnect_reason: Global___DisconnectReason.ValueType | None = ..., - kind_details: collections.abc.Iterable[Global___ParticipantKindDetail.ValueType] | None = ..., + kind: global___ParticipantKind.ValueType | None = ..., + disconnect_reason: global___DisconnectReason.ValueType | None = ..., + kind_details: collections.abc.Iterable[global___ParticipantKindDetail.ValueType] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "identity", b"identity", "kind", b"kind", "metadata", b"metadata", "name", b"name", "sid", b"sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "disconnect_reason", b"disconnect_reason", "identity", b"identity", "kind", b"kind", "kind_details", b"kind_details", "metadata", b"metadata", "name", b"name", "sid", b"sid"]) -> None: ... -Global___ParticipantInfo: typing_extensions.TypeAlias = ParticipantInfo +global___ParticipantInfo = ParticipantInfo @typing.final class OwnedParticipant(google.protobuf.message.Message): @@ -209,14 +209,14 @@ class OwnedParticipant(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___ParticipantInfo: ... + def info(self) -> global___ParticipantInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___ParticipantInfo | None = ..., + info: global___ParticipantInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedParticipant: typing_extensions.TypeAlias = OwnedParticipant +global___OwnedParticipant = OwnedParticipant diff --git a/livekit-rtc/livekit/rtc/_proto/room_pb2.py b/livekit-rtc/livekit/rtc/_proto/room_pb2.py index ee6e0cc2..5bf06771 100644 --- a/livekit-rtc/livekit/rtc/_proto/room_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/room_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: room.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'room.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -36,16 +26,16 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'room_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_PUBLISHDATAREQUEST'].fields_by_name['destination_sids']._loaded_options = None + _globals['_PUBLISHDATAREQUEST'].fields_by_name['destination_sids']._options = None _globals['_PUBLISHDATAREQUEST'].fields_by_name['destination_sids']._serialized_options = b'\030\001' - _globals['_ROOMOPTIONS'].fields_by_name['e2ee']._loaded_options = None + _globals['_ROOMOPTIONS'].fields_by_name['e2ee']._options = None _globals['_ROOMOPTIONS'].fields_by_name['e2ee']._serialized_options = b'\030\001' - _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._loaded_options = None + _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._options = None _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._loaded_options = None + _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._options = None _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._serialized_options = b'8\001' _globals['_ICETRANSPORTTYPE']._serialized_start=13172 _globals['_ICETRANSPORTTYPE']._serialized_end=13252 diff --git a/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi index fb7d61f3..09b875e5 100644 --- a/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi @@ -54,7 +54,7 @@ class IceTransportType(_IceTransportType, metaclass=_IceTransportTypeEnumTypeWra TRANSPORT_RELAY: IceTransportType.ValueType # 0 TRANSPORT_NOHOST: IceTransportType.ValueType # 1 TRANSPORT_ALL: IceTransportType.ValueType # 2 -Global___IceTransportType: typing_extensions.TypeAlias = IceTransportType +global___IceTransportType = IceTransportType class _ContinualGatheringPolicy: ValueType = typing.NewType("ValueType", builtins.int) @@ -69,7 +69,7 @@ class ContinualGatheringPolicy(_ContinualGatheringPolicy, metaclass=_ContinualGa GATHER_ONCE: ContinualGatheringPolicy.ValueType # 0 GATHER_CONTINUALLY: ContinualGatheringPolicy.ValueType # 1 -Global___ContinualGatheringPolicy: typing_extensions.TypeAlias = ContinualGatheringPolicy +global___ContinualGatheringPolicy = ContinualGatheringPolicy class _ConnectionQuality: ValueType = typing.NewType("ValueType", builtins.int) @@ -91,7 +91,7 @@ QUALITY_POOR: ConnectionQuality.ValueType # 0 QUALITY_GOOD: ConnectionQuality.ValueType # 1 QUALITY_EXCELLENT: ConnectionQuality.ValueType # 2 QUALITY_LOST: ConnectionQuality.ValueType # 3 -Global___ConnectionQuality: typing_extensions.TypeAlias = ConnectionQuality +global___ConnectionQuality = ConnectionQuality class _ConnectionState: ValueType = typing.NewType("ValueType", builtins.int) @@ -108,7 +108,7 @@ class ConnectionState(_ConnectionState, metaclass=_ConnectionStateEnumTypeWrappe CONN_DISCONNECTED: ConnectionState.ValueType # 0 CONN_CONNECTED: ConnectionState.ValueType # 1 CONN_RECONNECTING: ConnectionState.ValueType # 2 -Global___ConnectionState: typing_extensions.TypeAlias = ConnectionState +global___ConnectionState = ConnectionState class _DataPacketKind: ValueType = typing.NewType("ValueType", builtins.int) @@ -123,7 +123,7 @@ class DataPacketKind(_DataPacketKind, metaclass=_DataPacketKindEnumTypeWrapper): KIND_LOSSY: DataPacketKind.ValueType # 0 KIND_RELIABLE: DataPacketKind.ValueType # 1 -Global___DataPacketKind: typing_extensions.TypeAlias = DataPacketKind +global___DataPacketKind = DataPacketKind @typing.final class ConnectRequest(google.protobuf.message.Message): @@ -137,18 +137,18 @@ class ConnectRequest(google.protobuf.message.Message): url: builtins.str token: builtins.str @property - def options(self) -> Global___RoomOptions: ... + def options(self) -> global___RoomOptions: ... def __init__( self, *, url: builtins.str | None = ..., token: builtins.str | None = ..., - options: Global___RoomOptions | None = ..., + options: global___RoomOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["options", b"options", "token", b"token", "url", b"url"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["options", b"options", "token", b"token", "url", b"url"]) -> None: ... -Global___ConnectRequest: typing_extensions.TypeAlias = ConnectRequest +global___ConnectRequest = ConnectRequest @typing.final class ConnectResponse(google.protobuf.message.Message): @@ -164,7 +164,7 @@ class ConnectResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___ConnectResponse: typing_extensions.TypeAlias = ConnectResponse +global___ConnectResponse = ConnectResponse @typing.final class ConnectCallback(google.protobuf.message.Message): @@ -201,17 +201,17 @@ class ConnectCallback(google.protobuf.message.Message): LOCAL_PARTICIPANT_FIELD_NUMBER: builtins.int PARTICIPANTS_FIELD_NUMBER: builtins.int @property - def room(self) -> Global___OwnedRoom: ... + def room(self) -> global___OwnedRoom: ... @property def local_participant(self) -> participant_pb2.OwnedParticipant: ... @property - def participants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___ConnectCallback.ParticipantWithTracks]: ... + def participants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConnectCallback.ParticipantWithTracks]: ... def __init__( self, *, - room: Global___OwnedRoom | None = ..., + room: global___OwnedRoom | None = ..., local_participant: participant_pb2.OwnedParticipant | None = ..., - participants: collections.abc.Iterable[Global___ConnectCallback.ParticipantWithTracks] | None = ..., + participants: collections.abc.Iterable[global___ConnectCallback.ParticipantWithTracks] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant", b"local_participant", "room", b"room"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant", b"local_participant", "participants", b"participants", "room", b"room"]) -> None: ... @@ -222,19 +222,19 @@ class ConnectCallback(google.protobuf.message.Message): async_id: builtins.int error: builtins.str @property - def result(self) -> Global___ConnectCallback.Result: ... + def result(self) -> global___ConnectCallback.Result: ... def __init__( self, *, async_id: builtins.int | None = ..., error: builtins.str | None = ..., - result: Global___ConnectCallback.Result | None = ..., + result: global___ConnectCallback.Result | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "result"] | None: ... -Global___ConnectCallback: typing_extensions.TypeAlias = ConnectCallback +global___ConnectCallback = ConnectCallback @typing.final class DisconnectRequest(google.protobuf.message.Message): @@ -252,7 +252,7 @@ class DisconnectRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> None: ... -Global___DisconnectRequest: typing_extensions.TypeAlias = DisconnectRequest +global___DisconnectRequest = DisconnectRequest @typing.final class DisconnectResponse(google.protobuf.message.Message): @@ -268,7 +268,7 @@ class DisconnectResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___DisconnectResponse: typing_extensions.TypeAlias = DisconnectResponse +global___DisconnectResponse = DisconnectResponse @typing.final class DisconnectCallback(google.protobuf.message.Message): @@ -284,7 +284,7 @@ class DisconnectCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___DisconnectCallback: typing_extensions.TypeAlias = DisconnectCallback +global___DisconnectCallback = DisconnectCallback @typing.final class PublishTrackRequest(google.protobuf.message.Message): @@ -298,18 +298,18 @@ class PublishTrackRequest(google.protobuf.message.Message): local_participant_handle: builtins.int track_handle: builtins.int @property - def options(self) -> Global___TrackPublishOptions: ... + def options(self) -> global___TrackPublishOptions: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., track_handle: builtins.int | None = ..., - options: Global___TrackPublishOptions | None = ..., + options: global___TrackPublishOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "track_handle", b"track_handle"]) -> None: ... -Global___PublishTrackRequest: typing_extensions.TypeAlias = PublishTrackRequest +global___PublishTrackRequest = PublishTrackRequest @typing.final class PublishTrackResponse(google.protobuf.message.Message): @@ -325,7 +325,7 @@ class PublishTrackResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___PublishTrackResponse: typing_extensions.TypeAlias = PublishTrackResponse +global___PublishTrackResponse = PublishTrackResponse @typing.final class PublishTrackCallback(google.protobuf.message.Message): @@ -349,7 +349,7 @@ class PublishTrackCallback(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "publication", b"publication"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "publication"] | None: ... -Global___PublishTrackCallback: typing_extensions.TypeAlias = PublishTrackCallback +global___PublishTrackCallback = PublishTrackCallback @typing.final class UnpublishTrackRequest(google.protobuf.message.Message): @@ -373,7 +373,7 @@ class UnpublishTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "stop_on_unpublish", b"stop_on_unpublish", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "stop_on_unpublish", b"stop_on_unpublish", "track_sid", b"track_sid"]) -> None: ... -Global___UnpublishTrackRequest: typing_extensions.TypeAlias = UnpublishTrackRequest +global___UnpublishTrackRequest = UnpublishTrackRequest @typing.final class UnpublishTrackResponse(google.protobuf.message.Message): @@ -389,7 +389,7 @@ class UnpublishTrackResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___UnpublishTrackResponse: typing_extensions.TypeAlias = UnpublishTrackResponse +global___UnpublishTrackResponse = UnpublishTrackResponse @typing.final class UnpublishTrackCallback(google.protobuf.message.Message): @@ -408,7 +408,7 @@ class UnpublishTrackCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___UnpublishTrackCallback: typing_extensions.TypeAlias = UnpublishTrackCallback +global___UnpublishTrackCallback = UnpublishTrackCallback @typing.final class PublishDataRequest(google.protobuf.message.Message): @@ -446,7 +446,7 @@ class PublishDataRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr", "local_participant_handle", b"local_participant_handle", "reliable", b"reliable", "topic", b"topic"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr", "destination_identities", b"destination_identities", "destination_sids", b"destination_sids", "local_participant_handle", b"local_participant_handle", "reliable", b"reliable", "topic", b"topic"]) -> None: ... -Global___PublishDataRequest: typing_extensions.TypeAlias = PublishDataRequest +global___PublishDataRequest = PublishDataRequest @typing.final class PublishDataResponse(google.protobuf.message.Message): @@ -462,7 +462,7 @@ class PublishDataResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___PublishDataResponse: typing_extensions.TypeAlias = PublishDataResponse +global___PublishDataResponse = PublishDataResponse @typing.final class PublishDataCallback(google.protobuf.message.Message): @@ -481,7 +481,7 @@ class PublishDataCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___PublishDataCallback: typing_extensions.TypeAlias = PublishDataCallback +global___PublishDataCallback = PublishDataCallback @typing.final class PublishTranscriptionRequest(google.protobuf.message.Message): @@ -497,19 +497,19 @@ class PublishTranscriptionRequest(google.protobuf.message.Message): participant_identity: builtins.str track_id: builtins.str @property - def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___TranscriptionSegment]: ... + def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TranscriptionSegment]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., participant_identity: builtins.str | None = ..., track_id: builtins.str | None = ..., - segments: collections.abc.Iterable[Global___TranscriptionSegment] | None = ..., + segments: collections.abc.Iterable[global___TranscriptionSegment] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "participant_identity", b"participant_identity", "track_id", b"track_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "participant_identity", b"participant_identity", "segments", b"segments", "track_id", b"track_id"]) -> None: ... -Global___PublishTranscriptionRequest: typing_extensions.TypeAlias = PublishTranscriptionRequest +global___PublishTranscriptionRequest = PublishTranscriptionRequest @typing.final class PublishTranscriptionResponse(google.protobuf.message.Message): @@ -525,7 +525,7 @@ class PublishTranscriptionResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___PublishTranscriptionResponse: typing_extensions.TypeAlias = PublishTranscriptionResponse +global___PublishTranscriptionResponse = PublishTranscriptionResponse @typing.final class PublishTranscriptionCallback(google.protobuf.message.Message): @@ -544,7 +544,7 @@ class PublishTranscriptionCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___PublishTranscriptionCallback: typing_extensions.TypeAlias = PublishTranscriptionCallback +global___PublishTranscriptionCallback = PublishTranscriptionCallback @typing.final class PublishSipDtmfRequest(google.protobuf.message.Message): @@ -572,7 +572,7 @@ class PublishSipDtmfRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["code", b"code", "digit", b"digit", "local_participant_handle", b"local_participant_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["code", b"code", "destination_identities", b"destination_identities", "digit", b"digit", "local_participant_handle", b"local_participant_handle"]) -> None: ... -Global___PublishSipDtmfRequest: typing_extensions.TypeAlias = PublishSipDtmfRequest +global___PublishSipDtmfRequest = PublishSipDtmfRequest @typing.final class PublishSipDtmfResponse(google.protobuf.message.Message): @@ -588,7 +588,7 @@ class PublishSipDtmfResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___PublishSipDtmfResponse: typing_extensions.TypeAlias = PublishSipDtmfResponse +global___PublishSipDtmfResponse = PublishSipDtmfResponse @typing.final class PublishSipDtmfCallback(google.protobuf.message.Message): @@ -607,7 +607,7 @@ class PublishSipDtmfCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___PublishSipDtmfCallback: typing_extensions.TypeAlias = PublishSipDtmfCallback +global___PublishSipDtmfCallback = PublishSipDtmfCallback @typing.final class SetLocalMetadataRequest(google.protobuf.message.Message): @@ -628,7 +628,7 @@ class SetLocalMetadataRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "metadata", b"metadata"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "metadata", b"metadata"]) -> None: ... -Global___SetLocalMetadataRequest: typing_extensions.TypeAlias = SetLocalMetadataRequest +global___SetLocalMetadataRequest = SetLocalMetadataRequest @typing.final class SetLocalMetadataResponse(google.protobuf.message.Message): @@ -644,7 +644,7 @@ class SetLocalMetadataResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SetLocalMetadataResponse: typing_extensions.TypeAlias = SetLocalMetadataResponse +global___SetLocalMetadataResponse = SetLocalMetadataResponse @typing.final class SetLocalMetadataCallback(google.protobuf.message.Message): @@ -663,7 +663,7 @@ class SetLocalMetadataCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___SetLocalMetadataCallback: typing_extensions.TypeAlias = SetLocalMetadataCallback +global___SetLocalMetadataCallback = SetLocalMetadataCallback @typing.final class SendChatMessageRequest(google.protobuf.message.Message): @@ -689,7 +689,7 @@ class SendChatMessageRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "message", b"message", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "local_participant_handle", b"local_participant_handle", "message", b"message", "sender_identity", b"sender_identity"]) -> None: ... -Global___SendChatMessageRequest: typing_extensions.TypeAlias = SendChatMessageRequest +global___SendChatMessageRequest = SendChatMessageRequest @typing.final class EditChatMessageRequest(google.protobuf.message.Message): @@ -704,7 +704,7 @@ class EditChatMessageRequest(google.protobuf.message.Message): edit_text: builtins.str sender_identity: builtins.str @property - def original_message(self) -> Global___ChatMessage: ... + def original_message(self) -> global___ChatMessage: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( @@ -712,14 +712,14 @@ class EditChatMessageRequest(google.protobuf.message.Message): *, local_participant_handle: builtins.int | None = ..., edit_text: builtins.str | None = ..., - original_message: Global___ChatMessage | None = ..., + original_message: global___ChatMessage | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["edit_text", b"edit_text", "local_participant_handle", b"local_participant_handle", "original_message", b"original_message", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "edit_text", b"edit_text", "local_participant_handle", b"local_participant_handle", "original_message", b"original_message", "sender_identity", b"sender_identity"]) -> None: ... -Global___EditChatMessageRequest: typing_extensions.TypeAlias = EditChatMessageRequest +global___EditChatMessageRequest = EditChatMessageRequest @typing.final class SendChatMessageResponse(google.protobuf.message.Message): @@ -735,7 +735,7 @@ class SendChatMessageResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SendChatMessageResponse: typing_extensions.TypeAlias = SendChatMessageResponse +global___SendChatMessageResponse = SendChatMessageResponse @typing.final class SendChatMessageCallback(google.protobuf.message.Message): @@ -747,19 +747,19 @@ class SendChatMessageCallback(google.protobuf.message.Message): async_id: builtins.int error: builtins.str @property - def chat_message(self) -> Global___ChatMessage: ... + def chat_message(self) -> global___ChatMessage: ... def __init__( self, *, async_id: builtins.int | None = ..., error: builtins.str | None = ..., - chat_message: Global___ChatMessage | None = ..., + chat_message: global___ChatMessage | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "chat_message", b"chat_message", "error", b"error", "message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "chat_message", b"chat_message", "error", b"error", "message", b"message"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "chat_message"] | None: ... -Global___SendChatMessageCallback: typing_extensions.TypeAlias = SendChatMessageCallback +global___SendChatMessageCallback = SendChatMessageCallback @typing.final class SetLocalAttributesRequest(google.protobuf.message.Message): @@ -771,17 +771,17 @@ class SetLocalAttributesRequest(google.protobuf.message.Message): ATTRIBUTES_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int @property - def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AttributesEntry]: ... + def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - attributes: collections.abc.Iterable[Global___AttributesEntry] | None = ..., + attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "local_participant_handle", b"local_participant_handle"]) -> None: ... -Global___SetLocalAttributesRequest: typing_extensions.TypeAlias = SetLocalAttributesRequest +global___SetLocalAttributesRequest = SetLocalAttributesRequest @typing.final class AttributesEntry(google.protobuf.message.Message): @@ -800,7 +800,7 @@ class AttributesEntry(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ... -Global___AttributesEntry: typing_extensions.TypeAlias = AttributesEntry +global___AttributesEntry = AttributesEntry @typing.final class SetLocalAttributesResponse(google.protobuf.message.Message): @@ -816,7 +816,7 @@ class SetLocalAttributesResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SetLocalAttributesResponse: typing_extensions.TypeAlias = SetLocalAttributesResponse +global___SetLocalAttributesResponse = SetLocalAttributesResponse @typing.final class SetLocalAttributesCallback(google.protobuf.message.Message): @@ -835,7 +835,7 @@ class SetLocalAttributesCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___SetLocalAttributesCallback: typing_extensions.TypeAlias = SetLocalAttributesCallback +global___SetLocalAttributesCallback = SetLocalAttributesCallback @typing.final class SetLocalNameRequest(google.protobuf.message.Message): @@ -856,7 +856,7 @@ class SetLocalNameRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "name", b"name"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "name", b"name"]) -> None: ... -Global___SetLocalNameRequest: typing_extensions.TypeAlias = SetLocalNameRequest +global___SetLocalNameRequest = SetLocalNameRequest @typing.final class SetLocalNameResponse(google.protobuf.message.Message): @@ -872,7 +872,7 @@ class SetLocalNameResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SetLocalNameResponse: typing_extensions.TypeAlias = SetLocalNameResponse +global___SetLocalNameResponse = SetLocalNameResponse @typing.final class SetLocalNameCallback(google.protobuf.message.Message): @@ -891,7 +891,7 @@ class SetLocalNameCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___SetLocalNameCallback: typing_extensions.TypeAlias = SetLocalNameCallback +global___SetLocalNameCallback = SetLocalNameCallback @typing.final class SetSubscribedRequest(google.protobuf.message.Message): @@ -912,7 +912,7 @@ class SetSubscribedRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["publication_handle", b"publication_handle", "subscribe", b"subscribe"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["publication_handle", b"publication_handle", "subscribe", b"subscribe"]) -> None: ... -Global___SetSubscribedRequest: typing_extensions.TypeAlias = SetSubscribedRequest +global___SetSubscribedRequest = SetSubscribedRequest @typing.final class SetSubscribedResponse(google.protobuf.message.Message): @@ -922,7 +922,7 @@ class SetSubscribedResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___SetSubscribedResponse: typing_extensions.TypeAlias = SetSubscribedResponse +global___SetSubscribedResponse = SetSubscribedResponse @typing.final class GetSessionStatsRequest(google.protobuf.message.Message): @@ -938,7 +938,7 @@ class GetSessionStatsRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["room_handle", b"room_handle"]) -> None: ... -Global___GetSessionStatsRequest: typing_extensions.TypeAlias = GetSessionStatsRequest +global___GetSessionStatsRequest = GetSessionStatsRequest @typing.final class GetSessionStatsResponse(google.protobuf.message.Message): @@ -954,7 +954,7 @@ class GetSessionStatsResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___GetSessionStatsResponse: typing_extensions.TypeAlias = GetSessionStatsResponse +global___GetSessionStatsResponse = GetSessionStatsResponse @typing.final class GetSessionStatsCallback(google.protobuf.message.Message): @@ -984,19 +984,19 @@ class GetSessionStatsCallback(google.protobuf.message.Message): async_id: builtins.int error: builtins.str @property - def result(self) -> Global___GetSessionStatsCallback.Result: ... + def result(self) -> global___GetSessionStatsCallback.Result: ... def __init__( self, *, async_id: builtins.int | None = ..., error: builtins.str | None = ..., - result: Global___GetSessionStatsCallback.Result | None = ..., + result: global___GetSessionStatsCallback.Result | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "message", b"message", "result", b"result"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "result"] | None: ... -Global___GetSessionStatsCallback: typing_extensions.TypeAlias = GetSessionStatsCallback +global___GetSessionStatsCallback = GetSessionStatsCallback @typing.final class VideoEncoding(google.protobuf.message.Message): @@ -1019,7 +1019,7 @@ class VideoEncoding(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate", "max_framerate", b"max_framerate"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate", "max_framerate", b"max_framerate"]) -> None: ... -Global___VideoEncoding: typing_extensions.TypeAlias = VideoEncoding +global___VideoEncoding = VideoEncoding @typing.final class AudioEncoding(google.protobuf.message.Message): @@ -1035,7 +1035,7 @@ class AudioEncoding(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["max_bitrate", b"max_bitrate"]) -> None: ... -Global___AudioEncoding: typing_extensions.TypeAlias = AudioEncoding +global___AudioEncoding = AudioEncoding @typing.final class TrackPublishOptions(google.protobuf.message.Message): @@ -1058,16 +1058,16 @@ class TrackPublishOptions(google.protobuf.message.Message): stream: builtins.str preconnect_buffer: builtins.bool @property - def video_encoding(self) -> Global___VideoEncoding: + def video_encoding(self) -> global___VideoEncoding: """encodings are optional""" @property - def audio_encoding(self) -> Global___AudioEncoding: ... + def audio_encoding(self) -> global___AudioEncoding: ... def __init__( self, *, - video_encoding: Global___VideoEncoding | None = ..., - audio_encoding: Global___AudioEncoding | None = ..., + video_encoding: global___VideoEncoding | None = ..., + audio_encoding: global___AudioEncoding | None = ..., video_codec: video_frame_pb2.VideoCodec.ValueType | None = ..., dtx: builtins.bool | None = ..., red: builtins.bool | None = ..., @@ -1079,7 +1079,7 @@ class TrackPublishOptions(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_encoding", b"audio_encoding", "dtx", b"dtx", "preconnect_buffer", b"preconnect_buffer", "red", b"red", "simulcast", b"simulcast", "source", b"source", "stream", b"stream", "video_codec", b"video_codec", "video_encoding", b"video_encoding"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_encoding", b"audio_encoding", "dtx", b"dtx", "preconnect_buffer", b"preconnect_buffer", "red", b"red", "simulcast", b"simulcast", "source", b"source", "stream", b"stream", "video_codec", b"video_codec", "video_encoding", b"video_encoding"]) -> None: ... -Global___TrackPublishOptions: typing_extensions.TypeAlias = TrackPublishOptions +global___TrackPublishOptions = TrackPublishOptions @typing.final class IceServer(google.protobuf.message.Message): @@ -1102,7 +1102,7 @@ class IceServer(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["password", b"password", "username", b"username"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["password", b"password", "urls", b"urls", "username", b"username"]) -> None: ... -Global___IceServer: typing_extensions.TypeAlias = IceServer +global___IceServer = IceServer @typing.final class RtcConfig(google.protobuf.message.Message): @@ -1111,23 +1111,23 @@ class RtcConfig(google.protobuf.message.Message): ICE_TRANSPORT_TYPE_FIELD_NUMBER: builtins.int CONTINUAL_GATHERING_POLICY_FIELD_NUMBER: builtins.int ICE_SERVERS_FIELD_NUMBER: builtins.int - ice_transport_type: Global___IceTransportType.ValueType - continual_gathering_policy: Global___ContinualGatheringPolicy.ValueType + ice_transport_type: global___IceTransportType.ValueType + continual_gathering_policy: global___ContinualGatheringPolicy.ValueType @property - def ice_servers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___IceServer]: + def ice_servers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___IceServer]: """empty fallback to default""" def __init__( self, *, - ice_transport_type: Global___IceTransportType.ValueType | None = ..., - continual_gathering_policy: Global___ContinualGatheringPolicy.ValueType | None = ..., - ice_servers: collections.abc.Iterable[Global___IceServer] | None = ..., + ice_transport_type: global___IceTransportType.ValueType | None = ..., + continual_gathering_policy: global___ContinualGatheringPolicy.ValueType | None = ..., + ice_servers: collections.abc.Iterable[global___IceServer] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["continual_gathering_policy", b"continual_gathering_policy", "ice_transport_type", b"ice_transport_type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["continual_gathering_policy", b"continual_gathering_policy", "ice_servers", b"ice_servers", "ice_transport_type", b"ice_transport_type"]) -> None: ... -Global___RtcConfig: typing_extensions.TypeAlias = RtcConfig +global___RtcConfig = RtcConfig @typing.final class RoomOptions(google.protobuf.message.Message): @@ -1147,7 +1147,7 @@ class RoomOptions(google.protobuf.message.Message): @property def e2ee(self) -> e2ee_pb2.E2eeOptions: ... @property - def rtc_config(self) -> Global___RtcConfig: + def rtc_config(self) -> global___RtcConfig: """allow to setup a custom RtcConfiguration""" @property @@ -1159,14 +1159,14 @@ class RoomOptions(google.protobuf.message.Message): adaptive_stream: builtins.bool | None = ..., dynacast: builtins.bool | None = ..., e2ee: e2ee_pb2.E2eeOptions | None = ..., - rtc_config: Global___RtcConfig | None = ..., + rtc_config: global___RtcConfig | None = ..., join_retries: builtins.int | None = ..., encryption: e2ee_pb2.E2eeOptions | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["adaptive_stream", b"adaptive_stream", "auto_subscribe", b"auto_subscribe", "dynacast", b"dynacast", "e2ee", b"e2ee", "encryption", b"encryption", "join_retries", b"join_retries", "rtc_config", b"rtc_config"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["adaptive_stream", b"adaptive_stream", "auto_subscribe", b"auto_subscribe", "dynacast", b"dynacast", "e2ee", b"e2ee", "encryption", b"encryption", "join_retries", b"join_retries", "rtc_config", b"rtc_config"]) -> None: ... -Global___RoomOptions: typing_extensions.TypeAlias = RoomOptions +global___RoomOptions = RoomOptions @typing.final class TranscriptionSegment(google.protobuf.message.Message): @@ -1197,7 +1197,7 @@ class TranscriptionSegment(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["end_time", b"end_time", "final", b"final", "id", b"id", "language", b"language", "start_time", b"start_time", "text", b"text"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["end_time", b"end_time", "final", b"final", "id", b"id", "language", b"language", "start_time", b"start_time", "text", b"text"]) -> None: ... -Global___TranscriptionSegment: typing_extensions.TypeAlias = TranscriptionSegment +global___TranscriptionSegment = TranscriptionSegment @typing.final class BufferInfo(google.protobuf.message.Message): @@ -1216,7 +1216,7 @@ class BufferInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_len", b"data_len", "data_ptr", b"data_ptr"]) -> None: ... -Global___BufferInfo: typing_extensions.TypeAlias = BufferInfo +global___BufferInfo = BufferInfo @typing.final class OwnedBuffer(google.protobuf.message.Message): @@ -1227,17 +1227,17 @@ class OwnedBuffer(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def data(self) -> Global___BufferInfo: ... + def data(self) -> global___BufferInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - data: Global___BufferInfo | None = ..., + data: global___BufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["data", b"data", "handle", b"handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data", b"data", "handle", b"handle"]) -> None: ... -Global___OwnedBuffer: typing_extensions.TypeAlias = OwnedBuffer +global___OwnedBuffer = OwnedBuffer @typing.final class RoomEvent(google.protobuf.message.Message): @@ -1285,146 +1285,146 @@ class RoomEvent(google.protobuf.message.Message): TOKEN_REFRESHED_FIELD_NUMBER: builtins.int room_handle: builtins.int @property - def participant_connected(self) -> Global___ParticipantConnected: ... + def participant_connected(self) -> global___ParticipantConnected: ... @property - def participant_disconnected(self) -> Global___ParticipantDisconnected: ... + def participant_disconnected(self) -> global___ParticipantDisconnected: ... @property - def local_track_published(self) -> Global___LocalTrackPublished: ... + def local_track_published(self) -> global___LocalTrackPublished: ... @property - def local_track_unpublished(self) -> Global___LocalTrackUnpublished: ... + def local_track_unpublished(self) -> global___LocalTrackUnpublished: ... @property - def local_track_subscribed(self) -> Global___LocalTrackSubscribed: ... + def local_track_subscribed(self) -> global___LocalTrackSubscribed: ... @property - def track_published(self) -> Global___TrackPublished: ... + def track_published(self) -> global___TrackPublished: ... @property - def track_unpublished(self) -> Global___TrackUnpublished: ... + def track_unpublished(self) -> global___TrackUnpublished: ... @property - def track_subscribed(self) -> Global___TrackSubscribed: ... + def track_subscribed(self) -> global___TrackSubscribed: ... @property - def track_unsubscribed(self) -> Global___TrackUnsubscribed: ... + def track_unsubscribed(self) -> global___TrackUnsubscribed: ... @property - def track_subscription_failed(self) -> Global___TrackSubscriptionFailed: ... + def track_subscription_failed(self) -> global___TrackSubscriptionFailed: ... @property - def track_muted(self) -> Global___TrackMuted: ... + def track_muted(self) -> global___TrackMuted: ... @property - def track_unmuted(self) -> Global___TrackUnmuted: ... + def track_unmuted(self) -> global___TrackUnmuted: ... @property - def active_speakers_changed(self) -> Global___ActiveSpeakersChanged: ... + def active_speakers_changed(self) -> global___ActiveSpeakersChanged: ... @property - def room_metadata_changed(self) -> Global___RoomMetadataChanged: ... + def room_metadata_changed(self) -> global___RoomMetadataChanged: ... @property - def room_sid_changed(self) -> Global___RoomSidChanged: ... + def room_sid_changed(self) -> global___RoomSidChanged: ... @property - def participant_metadata_changed(self) -> Global___ParticipantMetadataChanged: ... + def participant_metadata_changed(self) -> global___ParticipantMetadataChanged: ... @property - def participant_name_changed(self) -> Global___ParticipantNameChanged: ... + def participant_name_changed(self) -> global___ParticipantNameChanged: ... @property - def participant_attributes_changed(self) -> Global___ParticipantAttributesChanged: ... + def participant_attributes_changed(self) -> global___ParticipantAttributesChanged: ... @property - def connection_quality_changed(self) -> Global___ConnectionQualityChanged: ... + def connection_quality_changed(self) -> global___ConnectionQualityChanged: ... @property - def connection_state_changed(self) -> Global___ConnectionStateChanged: ... + def connection_state_changed(self) -> global___ConnectionStateChanged: ... @property - def disconnected(self) -> Global___Disconnected: + def disconnected(self) -> global___Disconnected: """Connected connected = 21;""" @property - def reconnecting(self) -> Global___Reconnecting: ... + def reconnecting(self) -> global___Reconnecting: ... @property - def reconnected(self) -> Global___Reconnected: ... + def reconnected(self) -> global___Reconnected: ... @property - def e2ee_state_changed(self) -> Global___E2eeStateChanged: ... + def e2ee_state_changed(self) -> global___E2eeStateChanged: ... @property - def eos(self) -> Global___RoomEOS: + def eos(self) -> global___RoomEOS: """The stream of room events has ended""" @property - def data_packet_received(self) -> Global___DataPacketReceived: ... + def data_packet_received(self) -> global___DataPacketReceived: ... @property - def transcription_received(self) -> Global___TranscriptionReceived: ... + def transcription_received(self) -> global___TranscriptionReceived: ... @property - def chat_message(self) -> Global___ChatMessageReceived: ... + def chat_message(self) -> global___ChatMessageReceived: ... @property - def stream_header_received(self) -> Global___DataStreamHeaderReceived: + def stream_header_received(self) -> global___DataStreamHeaderReceived: """Data stream (low level)""" @property - def stream_chunk_received(self) -> Global___DataStreamChunkReceived: ... + def stream_chunk_received(self) -> global___DataStreamChunkReceived: ... @property - def stream_trailer_received(self) -> Global___DataStreamTrailerReceived: ... + def stream_trailer_received(self) -> global___DataStreamTrailerReceived: ... @property - def data_channel_low_threshold_changed(self) -> Global___DataChannelBufferedAmountLowThresholdChanged: ... + def data_channel_low_threshold_changed(self) -> global___DataChannelBufferedAmountLowThresholdChanged: ... @property - def byte_stream_opened(self) -> Global___ByteStreamOpened: + def byte_stream_opened(self) -> global___ByteStreamOpened: """Data stream (high level)""" @property - def text_stream_opened(self) -> Global___TextStreamOpened: ... + def text_stream_opened(self) -> global___TextStreamOpened: ... @property - def room_updated(self) -> Global___RoomInfo: + def room_updated(self) -> global___RoomInfo: """Room info updated""" @property - def moved(self) -> Global___RoomInfo: + def moved(self) -> global___RoomInfo: """Participant moved to new room""" @property - def participants_updated(self) -> Global___ParticipantsUpdated: + def participants_updated(self) -> global___ParticipantsUpdated: """carry over all participant info updates, including sid""" @property - def participant_encryption_status_changed(self) -> Global___ParticipantEncryptionStatusChanged: ... + def participant_encryption_status_changed(self) -> global___ParticipantEncryptionStatusChanged: ... @property - def token_refreshed(self) -> Global___TokenRefreshed: ... + def token_refreshed(self) -> global___TokenRefreshed: ... def __init__( self, *, room_handle: builtins.int | None = ..., - participant_connected: Global___ParticipantConnected | None = ..., - participant_disconnected: Global___ParticipantDisconnected | None = ..., - local_track_published: Global___LocalTrackPublished | None = ..., - local_track_unpublished: Global___LocalTrackUnpublished | None = ..., - local_track_subscribed: Global___LocalTrackSubscribed | None = ..., - track_published: Global___TrackPublished | None = ..., - track_unpublished: Global___TrackUnpublished | None = ..., - track_subscribed: Global___TrackSubscribed | None = ..., - track_unsubscribed: Global___TrackUnsubscribed | None = ..., - track_subscription_failed: Global___TrackSubscriptionFailed | None = ..., - track_muted: Global___TrackMuted | None = ..., - track_unmuted: Global___TrackUnmuted | None = ..., - active_speakers_changed: Global___ActiveSpeakersChanged | None = ..., - room_metadata_changed: Global___RoomMetadataChanged | None = ..., - room_sid_changed: Global___RoomSidChanged | None = ..., - participant_metadata_changed: Global___ParticipantMetadataChanged | None = ..., - participant_name_changed: Global___ParticipantNameChanged | None = ..., - participant_attributes_changed: Global___ParticipantAttributesChanged | None = ..., - connection_quality_changed: Global___ConnectionQualityChanged | None = ..., - connection_state_changed: Global___ConnectionStateChanged | None = ..., - disconnected: Global___Disconnected | None = ..., - reconnecting: Global___Reconnecting | None = ..., - reconnected: Global___Reconnected | None = ..., - e2ee_state_changed: Global___E2eeStateChanged | None = ..., - eos: Global___RoomEOS | None = ..., - data_packet_received: Global___DataPacketReceived | None = ..., - transcription_received: Global___TranscriptionReceived | None = ..., - chat_message: Global___ChatMessageReceived | None = ..., - stream_header_received: Global___DataStreamHeaderReceived | None = ..., - stream_chunk_received: Global___DataStreamChunkReceived | None = ..., - stream_trailer_received: Global___DataStreamTrailerReceived | None = ..., - data_channel_low_threshold_changed: Global___DataChannelBufferedAmountLowThresholdChanged | None = ..., - byte_stream_opened: Global___ByteStreamOpened | None = ..., - text_stream_opened: Global___TextStreamOpened | None = ..., - room_updated: Global___RoomInfo | None = ..., - moved: Global___RoomInfo | None = ..., - participants_updated: Global___ParticipantsUpdated | None = ..., - participant_encryption_status_changed: Global___ParticipantEncryptionStatusChanged | None = ..., - token_refreshed: Global___TokenRefreshed | None = ..., + participant_connected: global___ParticipantConnected | None = ..., + participant_disconnected: global___ParticipantDisconnected | None = ..., + local_track_published: global___LocalTrackPublished | None = ..., + local_track_unpublished: global___LocalTrackUnpublished | None = ..., + local_track_subscribed: global___LocalTrackSubscribed | None = ..., + track_published: global___TrackPublished | None = ..., + track_unpublished: global___TrackUnpublished | None = ..., + track_subscribed: global___TrackSubscribed | None = ..., + track_unsubscribed: global___TrackUnsubscribed | None = ..., + track_subscription_failed: global___TrackSubscriptionFailed | None = ..., + track_muted: global___TrackMuted | None = ..., + track_unmuted: global___TrackUnmuted | None = ..., + active_speakers_changed: global___ActiveSpeakersChanged | None = ..., + room_metadata_changed: global___RoomMetadataChanged | None = ..., + room_sid_changed: global___RoomSidChanged | None = ..., + participant_metadata_changed: global___ParticipantMetadataChanged | None = ..., + participant_name_changed: global___ParticipantNameChanged | None = ..., + participant_attributes_changed: global___ParticipantAttributesChanged | None = ..., + connection_quality_changed: global___ConnectionQualityChanged | None = ..., + connection_state_changed: global___ConnectionStateChanged | None = ..., + disconnected: global___Disconnected | None = ..., + reconnecting: global___Reconnecting | None = ..., + reconnected: global___Reconnected | None = ..., + e2ee_state_changed: global___E2eeStateChanged | None = ..., + eos: global___RoomEOS | None = ..., + data_packet_received: global___DataPacketReceived | None = ..., + transcription_received: global___TranscriptionReceived | None = ..., + chat_message: global___ChatMessageReceived | None = ..., + stream_header_received: global___DataStreamHeaderReceived | None = ..., + stream_chunk_received: global___DataStreamChunkReceived | None = ..., + stream_trailer_received: global___DataStreamTrailerReceived | None = ..., + data_channel_low_threshold_changed: global___DataChannelBufferedAmountLowThresholdChanged | None = ..., + byte_stream_opened: global___ByteStreamOpened | None = ..., + text_stream_opened: global___TextStreamOpened | None = ..., + room_updated: global___RoomInfo | None = ..., + moved: global___RoomInfo | None = ..., + participants_updated: global___ParticipantsUpdated | None = ..., + participant_encryption_status_changed: global___ParticipantEncryptionStatusChanged | None = ..., + token_refreshed: global___TokenRefreshed | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["active_speakers_changed", b"active_speakers_changed", "byte_stream_opened", b"byte_stream_opened", "chat_message", b"chat_message", "connection_quality_changed", b"connection_quality_changed", "connection_state_changed", b"connection_state_changed", "data_channel_low_threshold_changed", b"data_channel_low_threshold_changed", "data_packet_received", b"data_packet_received", "disconnected", b"disconnected", "e2ee_state_changed", b"e2ee_state_changed", "eos", b"eos", "local_track_published", b"local_track_published", "local_track_subscribed", b"local_track_subscribed", "local_track_unpublished", b"local_track_unpublished", "message", b"message", "moved", b"moved", "participant_attributes_changed", b"participant_attributes_changed", "participant_connected", b"participant_connected", "participant_disconnected", b"participant_disconnected", "participant_encryption_status_changed", b"participant_encryption_status_changed", "participant_metadata_changed", b"participant_metadata_changed", "participant_name_changed", b"participant_name_changed", "participants_updated", b"participants_updated", "reconnected", b"reconnected", "reconnecting", b"reconnecting", "room_handle", b"room_handle", "room_metadata_changed", b"room_metadata_changed", "room_sid_changed", b"room_sid_changed", "room_updated", b"room_updated", "stream_chunk_received", b"stream_chunk_received", "stream_header_received", b"stream_header_received", "stream_trailer_received", b"stream_trailer_received", "text_stream_opened", b"text_stream_opened", "token_refreshed", b"token_refreshed", "track_muted", b"track_muted", "track_published", b"track_published", "track_subscribed", b"track_subscribed", "track_subscription_failed", b"track_subscription_failed", "track_unmuted", b"track_unmuted", "track_unpublished", b"track_unpublished", "track_unsubscribed", b"track_unsubscribed", "transcription_received", b"transcription_received"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["active_speakers_changed", b"active_speakers_changed", "byte_stream_opened", b"byte_stream_opened", "chat_message", b"chat_message", "connection_quality_changed", b"connection_quality_changed", "connection_state_changed", b"connection_state_changed", "data_channel_low_threshold_changed", b"data_channel_low_threshold_changed", "data_packet_received", b"data_packet_received", "disconnected", b"disconnected", "e2ee_state_changed", b"e2ee_state_changed", "eos", b"eos", "local_track_published", b"local_track_published", "local_track_subscribed", b"local_track_subscribed", "local_track_unpublished", b"local_track_unpublished", "message", b"message", "moved", b"moved", "participant_attributes_changed", b"participant_attributes_changed", "participant_connected", b"participant_connected", "participant_disconnected", b"participant_disconnected", "participant_encryption_status_changed", b"participant_encryption_status_changed", "participant_metadata_changed", b"participant_metadata_changed", "participant_name_changed", b"participant_name_changed", "participants_updated", b"participants_updated", "reconnected", b"reconnected", "reconnecting", b"reconnecting", "room_handle", b"room_handle", "room_metadata_changed", b"room_metadata_changed", "room_sid_changed", b"room_sid_changed", "room_updated", b"room_updated", "stream_chunk_received", b"stream_chunk_received", "stream_header_received", b"stream_header_received", "stream_trailer_received", b"stream_trailer_received", "text_stream_opened", b"text_stream_opened", "token_refreshed", b"token_refreshed", "track_muted", b"track_muted", "track_published", b"track_published", "track_subscribed", b"track_subscribed", "track_subscription_failed", b"track_subscription_failed", "track_unmuted", b"track_unmuted", "track_unpublished", b"track_unpublished", "track_unsubscribed", b"track_unsubscribed", "transcription_received", b"transcription_received"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["participant_connected", "participant_disconnected", "local_track_published", "local_track_unpublished", "local_track_subscribed", "track_published", "track_unpublished", "track_subscribed", "track_unsubscribed", "track_subscription_failed", "track_muted", "track_unmuted", "active_speakers_changed", "room_metadata_changed", "room_sid_changed", "participant_metadata_changed", "participant_name_changed", "participant_attributes_changed", "connection_quality_changed", "connection_state_changed", "disconnected", "reconnecting", "reconnected", "e2ee_state_changed", "eos", "data_packet_received", "transcription_received", "chat_message", "stream_header_received", "stream_chunk_received", "stream_trailer_received", "data_channel_low_threshold_changed", "byte_stream_opened", "text_stream_opened", "room_updated", "moved", "participants_updated", "participant_encryption_status_changed", "token_refreshed"] | None: ... -Global___RoomEvent: typing_extensions.TypeAlias = RoomEvent +global___RoomEvent = RoomEvent @typing.final class RoomInfo(google.protobuf.message.Message): @@ -1473,7 +1473,7 @@ class RoomInfo(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["active_recording", b"active_recording", "creation_time", b"creation_time", "departure_timeout", b"departure_timeout", "empty_timeout", b"empty_timeout", "lossy_dc_buffered_amount_low_threshold", b"lossy_dc_buffered_amount_low_threshold", "max_participants", b"max_participants", "metadata", b"metadata", "name", b"name", "num_participants", b"num_participants", "num_publishers", b"num_publishers", "reliable_dc_buffered_amount_low_threshold", b"reliable_dc_buffered_amount_low_threshold", "sid", b"sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["active_recording", b"active_recording", "creation_time", b"creation_time", "departure_timeout", b"departure_timeout", "empty_timeout", b"empty_timeout", "lossy_dc_buffered_amount_low_threshold", b"lossy_dc_buffered_amount_low_threshold", "max_participants", b"max_participants", "metadata", b"metadata", "name", b"name", "num_participants", b"num_participants", "num_publishers", b"num_publishers", "reliable_dc_buffered_amount_low_threshold", b"reliable_dc_buffered_amount_low_threshold", "sid", b"sid"]) -> None: ... -Global___RoomInfo: typing_extensions.TypeAlias = RoomInfo +global___RoomInfo = RoomInfo @typing.final class OwnedRoom(google.protobuf.message.Message): @@ -1484,17 +1484,17 @@ class OwnedRoom(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___RoomInfo: ... + def info(self) -> global___RoomInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___RoomInfo | None = ..., + info: global___RoomInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedRoom: typing_extensions.TypeAlias = OwnedRoom +global___OwnedRoom = OwnedRoom @typing.final class ParticipantsUpdated(google.protobuf.message.Message): @@ -1510,7 +1510,7 @@ class ParticipantsUpdated(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing.Literal["participants", b"participants"]) -> None: ... -Global___ParticipantsUpdated: typing_extensions.TypeAlias = ParticipantsUpdated +global___ParticipantsUpdated = ParticipantsUpdated @typing.final class ParticipantConnected(google.protobuf.message.Message): @@ -1527,7 +1527,7 @@ class ParticipantConnected(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["info", b"info"]) -> None: ... -Global___ParticipantConnected: typing_extensions.TypeAlias = ParticipantConnected +global___ParticipantConnected = ParticipantConnected @typing.final class ParticipantDisconnected(google.protobuf.message.Message): @@ -1546,7 +1546,7 @@ class ParticipantDisconnected(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "participant_identity", b"participant_identity"]) -> None: ... -Global___ParticipantDisconnected: typing_extensions.TypeAlias = ParticipantDisconnected +global___ParticipantDisconnected = ParticipantDisconnected @typing.final class LocalTrackPublished(google.protobuf.message.Message): @@ -1565,7 +1565,7 @@ class LocalTrackPublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> None: ... -Global___LocalTrackPublished: typing_extensions.TypeAlias = LocalTrackPublished +global___LocalTrackPublished = LocalTrackPublished @typing.final class LocalTrackUnpublished(google.protobuf.message.Message): @@ -1581,7 +1581,7 @@ class LocalTrackUnpublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["publication_sid", b"publication_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["publication_sid", b"publication_sid"]) -> None: ... -Global___LocalTrackUnpublished: typing_extensions.TypeAlias = LocalTrackUnpublished +global___LocalTrackUnpublished = LocalTrackUnpublished @typing.final class LocalTrackSubscribed(google.protobuf.message.Message): @@ -1597,7 +1597,7 @@ class LocalTrackSubscribed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track_sid", b"track_sid"]) -> None: ... -Global___LocalTrackSubscribed: typing_extensions.TypeAlias = LocalTrackSubscribed +global___LocalTrackSubscribed = LocalTrackSubscribed @typing.final class TrackPublished(google.protobuf.message.Message): @@ -1617,7 +1617,7 @@ class TrackPublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication", b"publication"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication", b"publication"]) -> None: ... -Global___TrackPublished: typing_extensions.TypeAlias = TrackPublished +global___TrackPublished = TrackPublished @typing.final class TrackUnpublished(google.protobuf.message.Message): @@ -1636,7 +1636,7 @@ class TrackUnpublished(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication_sid", b"publication_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "publication_sid", b"publication_sid"]) -> None: ... -Global___TrackUnpublished: typing_extensions.TypeAlias = TrackUnpublished +global___TrackUnpublished = TrackUnpublished @typing.final class TrackSubscribed(google.protobuf.message.Message): @@ -1660,7 +1660,7 @@ class TrackSubscribed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track", b"track"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track", b"track"]) -> None: ... -Global___TrackSubscribed: typing_extensions.TypeAlias = TrackSubscribed +global___TrackSubscribed = TrackSubscribed @typing.final class TrackUnsubscribed(google.protobuf.message.Message): @@ -1680,7 +1680,7 @@ class TrackUnsubscribed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___TrackUnsubscribed: typing_extensions.TypeAlias = TrackUnsubscribed +global___TrackUnsubscribed = TrackUnsubscribed @typing.final class TrackSubscriptionFailed(google.protobuf.message.Message): @@ -1702,7 +1702,7 @@ class TrackSubscriptionFailed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___TrackSubscriptionFailed: typing_extensions.TypeAlias = TrackSubscriptionFailed +global___TrackSubscriptionFailed = TrackSubscriptionFailed @typing.final class TrackMuted(google.protobuf.message.Message): @@ -1721,7 +1721,7 @@ class TrackMuted(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___TrackMuted: typing_extensions.TypeAlias = TrackMuted +global___TrackMuted = TrackMuted @typing.final class TrackUnmuted(google.protobuf.message.Message): @@ -1740,7 +1740,7 @@ class TrackUnmuted(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> None: ... -Global___TrackUnmuted: typing_extensions.TypeAlias = TrackUnmuted +global___TrackUnmuted = TrackUnmuted @typing.final class E2eeStateChanged(google.protobuf.message.Message): @@ -1760,7 +1760,7 @@ class E2eeStateChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "state", b"state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "state", b"state"]) -> None: ... -Global___E2eeStateChanged: typing_extensions.TypeAlias = E2eeStateChanged +global___E2eeStateChanged = E2eeStateChanged @typing.final class ActiveSpeakersChanged(google.protobuf.message.Message): @@ -1776,7 +1776,7 @@ class ActiveSpeakersChanged(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing.Literal["participant_identities", b"participant_identities"]) -> None: ... -Global___ActiveSpeakersChanged: typing_extensions.TypeAlias = ActiveSpeakersChanged +global___ActiveSpeakersChanged = ActiveSpeakersChanged @typing.final class RoomMetadataChanged(google.protobuf.message.Message): @@ -1792,7 +1792,7 @@ class RoomMetadataChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["metadata", b"metadata"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["metadata", b"metadata"]) -> None: ... -Global___RoomMetadataChanged: typing_extensions.TypeAlias = RoomMetadataChanged +global___RoomMetadataChanged = RoomMetadataChanged @typing.final class RoomSidChanged(google.protobuf.message.Message): @@ -1808,7 +1808,7 @@ class RoomSidChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["sid", b"sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["sid", b"sid"]) -> None: ... -Global___RoomSidChanged: typing_extensions.TypeAlias = RoomSidChanged +global___RoomSidChanged = RoomSidChanged @typing.final class ParticipantMetadataChanged(google.protobuf.message.Message): @@ -1827,7 +1827,7 @@ class ParticipantMetadataChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["metadata", b"metadata", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["metadata", b"metadata", "participant_identity", b"participant_identity"]) -> None: ... -Global___ParticipantMetadataChanged: typing_extensions.TypeAlias = ParticipantMetadataChanged +global___ParticipantMetadataChanged = ParticipantMetadataChanged @typing.final class ParticipantAttributesChanged(google.protobuf.message.Message): @@ -1838,20 +1838,20 @@ class ParticipantAttributesChanged(google.protobuf.message.Message): CHANGED_ATTRIBUTES_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AttributesEntry]: ... + def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... @property - def changed_attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AttributesEntry]: ... + def changed_attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - attributes: collections.abc.Iterable[Global___AttributesEntry] | None = ..., - changed_attributes: collections.abc.Iterable[Global___AttributesEntry] | None = ..., + attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., + changed_attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "changed_attributes", b"changed_attributes", "participant_identity", b"participant_identity"]) -> None: ... -Global___ParticipantAttributesChanged: typing_extensions.TypeAlias = ParticipantAttributesChanged +global___ParticipantAttributesChanged = ParticipantAttributesChanged @typing.final class ParticipantEncryptionStatusChanged(google.protobuf.message.Message): @@ -1870,7 +1870,7 @@ class ParticipantEncryptionStatusChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["is_encrypted", b"is_encrypted", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["is_encrypted", b"is_encrypted", "participant_identity", b"participant_identity"]) -> None: ... -Global___ParticipantEncryptionStatusChanged: typing_extensions.TypeAlias = ParticipantEncryptionStatusChanged +global___ParticipantEncryptionStatusChanged = ParticipantEncryptionStatusChanged @typing.final class ParticipantNameChanged(google.protobuf.message.Message): @@ -1889,7 +1889,7 @@ class ParticipantNameChanged(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["name", b"name", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["name", b"name", "participant_identity", b"participant_identity"]) -> None: ... -Global___ParticipantNameChanged: typing_extensions.TypeAlias = ParticipantNameChanged +global___ParticipantNameChanged = ParticipantNameChanged @typing.final class ConnectionQualityChanged(google.protobuf.message.Message): @@ -1898,17 +1898,17 @@ class ConnectionQualityChanged(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int QUALITY_FIELD_NUMBER: builtins.int participant_identity: builtins.str - quality: Global___ConnectionQuality.ValueType + quality: global___ConnectionQuality.ValueType def __init__( self, *, participant_identity: builtins.str | None = ..., - quality: Global___ConnectionQuality.ValueType | None = ..., + quality: global___ConnectionQuality.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "quality", b"quality"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "quality", b"quality"]) -> None: ... -Global___ConnectionQualityChanged: typing_extensions.TypeAlias = ConnectionQualityChanged +global___ConnectionQualityChanged = ConnectionQualityChanged @typing.final class UserPacket(google.protobuf.message.Message): @@ -1918,17 +1918,17 @@ class UserPacket(google.protobuf.message.Message): TOPIC_FIELD_NUMBER: builtins.int topic: builtins.str @property - def data(self) -> Global___OwnedBuffer: ... + def data(self) -> global___OwnedBuffer: ... def __init__( self, *, - data: Global___OwnedBuffer | None = ..., + data: global___OwnedBuffer | None = ..., topic: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["data", b"data", "topic", b"topic"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data", b"data", "topic", b"topic"]) -> None: ... -Global___UserPacket: typing_extensions.TypeAlias = UserPacket +global___UserPacket = UserPacket @typing.final class ChatMessage(google.protobuf.message.Message): @@ -1959,7 +1959,7 @@ class ChatMessage(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["deleted", b"deleted", "edit_timestamp", b"edit_timestamp", "generated", b"generated", "id", b"id", "message", b"message", "timestamp", b"timestamp"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["deleted", b"deleted", "edit_timestamp", b"edit_timestamp", "generated", b"generated", "id", b"id", "message", b"message", "timestamp", b"timestamp"]) -> None: ... -Global___ChatMessage: typing_extensions.TypeAlias = ChatMessage +global___ChatMessage = ChatMessage @typing.final class ChatMessageReceived(google.protobuf.message.Message): @@ -1969,17 +1969,17 @@ class ChatMessageReceived(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def message(self) -> Global___ChatMessage: ... + def message(self) -> global___ChatMessage: ... def __init__( self, *, - message: Global___ChatMessage | None = ..., + message: global___ChatMessage | None = ..., participant_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["message", b"message", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["message", b"message", "participant_identity", b"participant_identity"]) -> None: ... -Global___ChatMessageReceived: typing_extensions.TypeAlias = ChatMessageReceived +global___ChatMessageReceived = ChatMessageReceived @typing.final class SipDTMF(google.protobuf.message.Message): @@ -1998,7 +1998,7 @@ class SipDTMF(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["code", b"code", "digit", b"digit"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["code", b"code", "digit", b"digit"]) -> None: ... -Global___SipDTMF: typing_extensions.TypeAlias = SipDTMF +global___SipDTMF = SipDTMF @typing.final class DataPacketReceived(google.protobuf.message.Message): @@ -2008,26 +2008,26 @@ class DataPacketReceived(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int USER_FIELD_NUMBER: builtins.int SIP_DTMF_FIELD_NUMBER: builtins.int - kind: Global___DataPacketKind.ValueType + kind: global___DataPacketKind.ValueType participant_identity: builtins.str """Can be empty if the data is sent a server SDK""" @property - def user(self) -> Global___UserPacket: ... + def user(self) -> global___UserPacket: ... @property - def sip_dtmf(self) -> Global___SipDTMF: ... + def sip_dtmf(self) -> global___SipDTMF: ... def __init__( self, *, - kind: Global___DataPacketKind.ValueType | None = ..., + kind: global___DataPacketKind.ValueType | None = ..., participant_identity: builtins.str | None = ..., - user: Global___UserPacket | None = ..., - sip_dtmf: Global___SipDTMF | None = ..., + user: global___UserPacket | None = ..., + sip_dtmf: global___SipDTMF | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "participant_identity", b"participant_identity", "sip_dtmf", b"sip_dtmf", "user", b"user", "value", b"value"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "participant_identity", b"participant_identity", "sip_dtmf", b"sip_dtmf", "user", b"user", "value", b"value"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["value", b"value"]) -> typing.Literal["user", "sip_dtmf"] | None: ... -Global___DataPacketReceived: typing_extensions.TypeAlias = DataPacketReceived +global___DataPacketReceived = DataPacketReceived @typing.final class TranscriptionReceived(google.protobuf.message.Message): @@ -2039,34 +2039,34 @@ class TranscriptionReceived(google.protobuf.message.Message): participant_identity: builtins.str track_sid: builtins.str @property - def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___TranscriptionSegment]: ... + def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TranscriptionSegment]: ... def __init__( self, *, participant_identity: builtins.str | None = ..., track_sid: builtins.str | None = ..., - segments: collections.abc.Iterable[Global___TranscriptionSegment] | None = ..., + segments: collections.abc.Iterable[global___TranscriptionSegment] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "track_sid", b"track_sid"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "segments", b"segments", "track_sid", b"track_sid"]) -> None: ... -Global___TranscriptionReceived: typing_extensions.TypeAlias = TranscriptionReceived +global___TranscriptionReceived = TranscriptionReceived @typing.final class ConnectionStateChanged(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor STATE_FIELD_NUMBER: builtins.int - state: Global___ConnectionState.ValueType + state: global___ConnectionState.ValueType def __init__( self, *, - state: Global___ConnectionState.ValueType | None = ..., + state: global___ConnectionState.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["state", b"state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["state", b"state"]) -> None: ... -Global___ConnectionStateChanged: typing_extensions.TypeAlias = ConnectionStateChanged +global___ConnectionStateChanged = ConnectionStateChanged @typing.final class Connected(google.protobuf.message.Message): @@ -2076,7 +2076,7 @@ class Connected(google.protobuf.message.Message): self, ) -> None: ... -Global___Connected: typing_extensions.TypeAlias = Connected +global___Connected = Connected @typing.final class Disconnected(google.protobuf.message.Message): @@ -2092,7 +2092,7 @@ class Disconnected(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["reason", b"reason"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["reason", b"reason"]) -> None: ... -Global___Disconnected: typing_extensions.TypeAlias = Disconnected +global___Disconnected = Disconnected @typing.final class Reconnecting(google.protobuf.message.Message): @@ -2102,7 +2102,7 @@ class Reconnecting(google.protobuf.message.Message): self, ) -> None: ... -Global___Reconnecting: typing_extensions.TypeAlias = Reconnecting +global___Reconnecting = Reconnecting @typing.final class Reconnected(google.protobuf.message.Message): @@ -2112,7 +2112,7 @@ class Reconnected(google.protobuf.message.Message): self, ) -> None: ... -Global___Reconnected: typing_extensions.TypeAlias = Reconnected +global___Reconnected = Reconnected @typing.final class TokenRefreshed(google.protobuf.message.Message): @@ -2128,7 +2128,7 @@ class TokenRefreshed(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["token", b"token"]) -> None: ... -Global___TokenRefreshed: typing_extensions.TypeAlias = TokenRefreshed +global___TokenRefreshed = TokenRefreshed @typing.final class RoomEOS(google.protobuf.message.Message): @@ -2138,7 +2138,7 @@ class RoomEOS(google.protobuf.message.Message): self, ) -> None: ... -Global___RoomEOS: typing_extensions.TypeAlias = RoomEOS +global___RoomEOS = RoomEOS @typing.final class DataStream(google.protobuf.message.Message): @@ -2174,7 +2174,7 @@ class DataStream(google.protobuf.message.Message): REPLY_TO_STREAM_ID_FIELD_NUMBER: builtins.int ATTACHED_STREAM_IDS_FIELD_NUMBER: builtins.int GENERATED_FIELD_NUMBER: builtins.int - operation_type: Global___DataStream.OperationType.ValueType + operation_type: global___DataStream.OperationType.ValueType version: builtins.int """Optional: Version for updates/edits""" reply_to_stream_id: builtins.str @@ -2188,7 +2188,7 @@ class DataStream(google.protobuf.message.Message): def __init__( self, *, - operation_type: Global___DataStream.OperationType.ValueType | None = ..., + operation_type: global___DataStream.OperationType.ValueType | None = ..., version: builtins.int | None = ..., reply_to_stream_id: builtins.str | None = ..., attached_stream_ids: collections.abc.Iterable[builtins.str] | None = ..., @@ -2257,9 +2257,9 @@ class DataStream(google.protobuf.message.Message): """user defined attributes map that can carry additional info""" @property - def text_header(self) -> Global___DataStream.TextHeader: ... + def text_header(self) -> global___DataStream.TextHeader: ... @property - def byte_header(self) -> Global___DataStream.ByteHeader: ... + def byte_header(self) -> global___DataStream.ByteHeader: ... def __init__( self, *, @@ -2269,8 +2269,8 @@ class DataStream(google.protobuf.message.Message): topic: builtins.str | None = ..., total_length: builtins.int | None = ..., attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - text_header: Global___DataStream.TextHeader | None = ..., - byte_header: Global___DataStream.ByteHeader | None = ..., + text_header: global___DataStream.TextHeader | None = ..., + byte_header: global___DataStream.ByteHeader | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["byte_header", b"byte_header", "content_header", b"content_header", "mime_type", b"mime_type", "stream_id", b"stream_id", "text_header", b"text_header", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "byte_header", b"byte_header", "content_header", b"content_header", "mime_type", b"mime_type", "stream_id", b"stream_id", "text_header", b"text_header", "timestamp", b"timestamp", "topic", b"topic", "total_length", b"total_length"]) -> None: ... @@ -2352,7 +2352,7 @@ class DataStream(google.protobuf.message.Message): self, ) -> None: ... -Global___DataStream: typing_extensions.TypeAlias = DataStream +global___DataStream = DataStream @typing.final class DataStreamHeaderReceived(google.protobuf.message.Message): @@ -2362,17 +2362,17 @@ class DataStreamHeaderReceived(google.protobuf.message.Message): HEADER_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def header(self) -> Global___DataStream.Header: ... + def header(self) -> global___DataStream.Header: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - header: Global___DataStream.Header | None = ..., + header: global___DataStream.Header | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["header", b"header", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["header", b"header", "participant_identity", b"participant_identity"]) -> None: ... -Global___DataStreamHeaderReceived: typing_extensions.TypeAlias = DataStreamHeaderReceived +global___DataStreamHeaderReceived = DataStreamHeaderReceived @typing.final class DataStreamChunkReceived(google.protobuf.message.Message): @@ -2382,17 +2382,17 @@ class DataStreamChunkReceived(google.protobuf.message.Message): CHUNK_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def chunk(self) -> Global___DataStream.Chunk: ... + def chunk(self) -> global___DataStream.Chunk: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - chunk: Global___DataStream.Chunk | None = ..., + chunk: global___DataStream.Chunk | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk", b"chunk", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "participant_identity", b"participant_identity"]) -> None: ... -Global___DataStreamChunkReceived: typing_extensions.TypeAlias = DataStreamChunkReceived +global___DataStreamChunkReceived = DataStreamChunkReceived @typing.final class DataStreamTrailerReceived(google.protobuf.message.Message): @@ -2402,17 +2402,17 @@ class DataStreamTrailerReceived(google.protobuf.message.Message): TRAILER_FIELD_NUMBER: builtins.int participant_identity: builtins.str @property - def trailer(self) -> Global___DataStream.Trailer: ... + def trailer(self) -> global___DataStream.Trailer: ... def __init__( self, *, participant_identity: builtins.str | None = ..., - trailer: Global___DataStream.Trailer | None = ..., + trailer: global___DataStream.Trailer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "trailer", b"trailer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "trailer", b"trailer"]) -> None: ... -Global___DataStreamTrailerReceived: typing_extensions.TypeAlias = DataStreamTrailerReceived +global___DataStreamTrailerReceived = DataStreamTrailerReceived @typing.final class SendStreamHeaderRequest(google.protobuf.message.Message): @@ -2425,21 +2425,21 @@ class SendStreamHeaderRequest(google.protobuf.message.Message): local_participant_handle: builtins.int sender_identity: builtins.str @property - def header(self) -> Global___DataStream.Header: ... + def header(self) -> global___DataStream.Header: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - header: Global___DataStream.Header | None = ..., + header: global___DataStream.Header | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["header", b"header", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "header", b"header", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> None: ... -Global___SendStreamHeaderRequest: typing_extensions.TypeAlias = SendStreamHeaderRequest +global___SendStreamHeaderRequest = SendStreamHeaderRequest @typing.final class SendStreamChunkRequest(google.protobuf.message.Message): @@ -2452,21 +2452,21 @@ class SendStreamChunkRequest(google.protobuf.message.Message): local_participant_handle: builtins.int sender_identity: builtins.str @property - def chunk(self) -> Global___DataStream.Chunk: ... + def chunk(self) -> global___DataStream.Chunk: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - chunk: Global___DataStream.Chunk | None = ..., + chunk: global___DataStream.Chunk | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["chunk", b"chunk", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["chunk", b"chunk", "destination_identities", b"destination_identities", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity"]) -> None: ... -Global___SendStreamChunkRequest: typing_extensions.TypeAlias = SendStreamChunkRequest +global___SendStreamChunkRequest = SendStreamChunkRequest @typing.final class SendStreamTrailerRequest(google.protobuf.message.Message): @@ -2479,21 +2479,21 @@ class SendStreamTrailerRequest(google.protobuf.message.Message): local_participant_handle: builtins.int sender_identity: builtins.str @property - def trailer(self) -> Global___DataStream.Trailer: ... + def trailer(self) -> global___DataStream.Trailer: ... @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., - trailer: Global___DataStream.Trailer | None = ..., + trailer: global___DataStream.Trailer | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity", "trailer", b"trailer"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identities", b"destination_identities", "local_participant_handle", b"local_participant_handle", "sender_identity", b"sender_identity", "trailer", b"trailer"]) -> None: ... -Global___SendStreamTrailerRequest: typing_extensions.TypeAlias = SendStreamTrailerRequest +global___SendStreamTrailerRequest = SendStreamTrailerRequest @typing.final class SendStreamHeaderResponse(google.protobuf.message.Message): @@ -2509,7 +2509,7 @@ class SendStreamHeaderResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SendStreamHeaderResponse: typing_extensions.TypeAlias = SendStreamHeaderResponse +global___SendStreamHeaderResponse = SendStreamHeaderResponse @typing.final class SendStreamChunkResponse(google.protobuf.message.Message): @@ -2525,7 +2525,7 @@ class SendStreamChunkResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SendStreamChunkResponse: typing_extensions.TypeAlias = SendStreamChunkResponse +global___SendStreamChunkResponse = SendStreamChunkResponse @typing.final class SendStreamTrailerResponse(google.protobuf.message.Message): @@ -2541,7 +2541,7 @@ class SendStreamTrailerResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___SendStreamTrailerResponse: typing_extensions.TypeAlias = SendStreamTrailerResponse +global___SendStreamTrailerResponse = SendStreamTrailerResponse @typing.final class SendStreamHeaderCallback(google.protobuf.message.Message): @@ -2560,7 +2560,7 @@ class SendStreamHeaderCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___SendStreamHeaderCallback: typing_extensions.TypeAlias = SendStreamHeaderCallback +global___SendStreamHeaderCallback = SendStreamHeaderCallback @typing.final class SendStreamChunkCallback(google.protobuf.message.Message): @@ -2579,7 +2579,7 @@ class SendStreamChunkCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___SendStreamChunkCallback: typing_extensions.TypeAlias = SendStreamChunkCallback +global___SendStreamChunkCallback = SendStreamChunkCallback @typing.final class SendStreamTrailerCallback(google.protobuf.message.Message): @@ -2598,7 +2598,7 @@ class SendStreamTrailerCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> None: ... -Global___SendStreamTrailerCallback: typing_extensions.TypeAlias = SendStreamTrailerCallback +global___SendStreamTrailerCallback = SendStreamTrailerCallback @typing.final class SetDataChannelBufferedAmountLowThresholdRequest(google.protobuf.message.Message): @@ -2609,18 +2609,18 @@ class SetDataChannelBufferedAmountLowThresholdRequest(google.protobuf.message.Me KIND_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int threshold: builtins.int - kind: Global___DataPacketKind.ValueType + kind: global___DataPacketKind.ValueType def __init__( self, *, local_participant_handle: builtins.int | None = ..., threshold: builtins.int | None = ..., - kind: Global___DataPacketKind.ValueType | None = ..., + kind: global___DataPacketKind.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "local_participant_handle", b"local_participant_handle", "threshold", b"threshold"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "local_participant_handle", b"local_participant_handle", "threshold", b"threshold"]) -> None: ... -Global___SetDataChannelBufferedAmountLowThresholdRequest: typing_extensions.TypeAlias = SetDataChannelBufferedAmountLowThresholdRequest +global___SetDataChannelBufferedAmountLowThresholdRequest = SetDataChannelBufferedAmountLowThresholdRequest @typing.final class SetDataChannelBufferedAmountLowThresholdResponse(google.protobuf.message.Message): @@ -2630,7 +2630,7 @@ class SetDataChannelBufferedAmountLowThresholdResponse(google.protobuf.message.M self, ) -> None: ... -Global___SetDataChannelBufferedAmountLowThresholdResponse: typing_extensions.TypeAlias = SetDataChannelBufferedAmountLowThresholdResponse +global___SetDataChannelBufferedAmountLowThresholdResponse = SetDataChannelBufferedAmountLowThresholdResponse @typing.final class DataChannelBufferedAmountLowThresholdChanged(google.protobuf.message.Message): @@ -2638,18 +2638,18 @@ class DataChannelBufferedAmountLowThresholdChanged(google.protobuf.message.Messa KIND_FIELD_NUMBER: builtins.int THRESHOLD_FIELD_NUMBER: builtins.int - kind: Global___DataPacketKind.ValueType + kind: global___DataPacketKind.ValueType threshold: builtins.int def __init__( self, *, - kind: Global___DataPacketKind.ValueType | None = ..., + kind: global___DataPacketKind.ValueType | None = ..., threshold: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "threshold", b"threshold"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "threshold", b"threshold"]) -> None: ... -Global___DataChannelBufferedAmountLowThresholdChanged: typing_extensions.TypeAlias = DataChannelBufferedAmountLowThresholdChanged +global___DataChannelBufferedAmountLowThresholdChanged = DataChannelBufferedAmountLowThresholdChanged @typing.final class ByteStreamOpened(google.protobuf.message.Message): @@ -2669,7 +2669,7 @@ class ByteStreamOpened(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> None: ... -Global___ByteStreamOpened: typing_extensions.TypeAlias = ByteStreamOpened +global___ByteStreamOpened = ByteStreamOpened @typing.final class TextStreamOpened(google.protobuf.message.Message): @@ -2689,4 +2689,4 @@ class TextStreamOpened(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "reader", b"reader"]) -> None: ... -Global___TextStreamOpened: typing_extensions.TypeAlias = TextStreamOpened +global___TextStreamOpened = TextStreamOpened diff --git a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py index 0166188b..eeb1f9ff 100644 --- a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: rpc.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'rpc.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rpc_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_RPCERROR']._serialized_start=28 _globals['_RPCERROR']._serialized_end=83 diff --git a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi index 2282eb0d..90d95d69 100644 --- a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi @@ -19,14 +19,8 @@ limitations under the License. import builtins import google.protobuf.descriptor import google.protobuf.message -import sys import typing -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - DESCRIPTOR: google.protobuf.descriptor.FileDescriptor @typing.final @@ -49,7 +43,7 @@ class RpcError(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["code", b"code", "data", b"data", "message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["code", b"code", "data", b"data", "message", b"message"]) -> None: ... -Global___RpcError: typing_extensions.TypeAlias = RpcError +global___RpcError = RpcError @typing.final class PerformRpcRequest(google.protobuf.message.Message): @@ -79,7 +73,7 @@ class PerformRpcRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["destination_identity", b"destination_identity", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "response_timeout_ms", b"response_timeout_ms"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["destination_identity", b"destination_identity", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "response_timeout_ms", b"response_timeout_ms"]) -> None: ... -Global___PerformRpcRequest: typing_extensions.TypeAlias = PerformRpcRequest +global___PerformRpcRequest = PerformRpcRequest @typing.final class RegisterRpcMethodRequest(google.protobuf.message.Message): @@ -98,7 +92,7 @@ class RegisterRpcMethodRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> None: ... -Global___RegisterRpcMethodRequest: typing_extensions.TypeAlias = RegisterRpcMethodRequest +global___RegisterRpcMethodRequest = RegisterRpcMethodRequest @typing.final class UnregisterRpcMethodRequest(google.protobuf.message.Message): @@ -117,7 +111,7 @@ class UnregisterRpcMethodRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "method", b"method"]) -> None: ... -Global___UnregisterRpcMethodRequest: typing_extensions.TypeAlias = UnregisterRpcMethodRequest +global___UnregisterRpcMethodRequest = UnregisterRpcMethodRequest @typing.final class RpcMethodInvocationResponseRequest(google.protobuf.message.Message): @@ -131,19 +125,19 @@ class RpcMethodInvocationResponseRequest(google.protobuf.message.Message): invocation_id: builtins.int payload: builtins.str @property - def error(self) -> Global___RpcError: ... + def error(self) -> global___RpcError: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., invocation_id: builtins.int | None = ..., payload: builtins.str | None = ..., - error: Global___RpcError | None = ..., + error: global___RpcError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["error", b"error", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "payload", b"payload"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "payload", b"payload"]) -> None: ... -Global___RpcMethodInvocationResponseRequest: typing_extensions.TypeAlias = RpcMethodInvocationResponseRequest +global___RpcMethodInvocationResponseRequest = RpcMethodInvocationResponseRequest @typing.final class PerformRpcResponse(google.protobuf.message.Message): @@ -161,7 +155,7 @@ class PerformRpcResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___PerformRpcResponse: typing_extensions.TypeAlias = PerformRpcResponse +global___PerformRpcResponse = PerformRpcResponse @typing.final class RegisterRpcMethodResponse(google.protobuf.message.Message): @@ -171,7 +165,7 @@ class RegisterRpcMethodResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RegisterRpcMethodResponse: typing_extensions.TypeAlias = RegisterRpcMethodResponse +global___RegisterRpcMethodResponse = RegisterRpcMethodResponse @typing.final class UnregisterRpcMethodResponse(google.protobuf.message.Message): @@ -181,7 +175,7 @@ class UnregisterRpcMethodResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UnregisterRpcMethodResponse: typing_extensions.TypeAlias = UnregisterRpcMethodResponse +global___UnregisterRpcMethodResponse = UnregisterRpcMethodResponse @typing.final class RpcMethodInvocationResponseResponse(google.protobuf.message.Message): @@ -197,7 +191,7 @@ class RpcMethodInvocationResponseResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["error", b"error"]) -> None: ... -Global___RpcMethodInvocationResponseResponse: typing_extensions.TypeAlias = RpcMethodInvocationResponseResponse +global___RpcMethodInvocationResponseResponse = RpcMethodInvocationResponseResponse @typing.final class PerformRpcCallback(google.protobuf.message.Message): @@ -211,18 +205,18 @@ class PerformRpcCallback(google.protobuf.message.Message): async_id: builtins.int payload: builtins.str @property - def error(self) -> Global___RpcError: ... + def error(self) -> global___RpcError: ... def __init__( self, *, async_id: builtins.int | None = ..., payload: builtins.str | None = ..., - error: Global___RpcError | None = ..., + error: global___RpcError | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "payload", b"payload"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "payload", b"payload"]) -> None: ... -Global___PerformRpcCallback: typing_extensions.TypeAlias = PerformRpcCallback +global___PerformRpcCallback = PerformRpcCallback @typing.final class RpcMethodInvocationEvent(google.protobuf.message.Message): @@ -258,4 +252,4 @@ class RpcMethodInvocationEvent(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["caller_identity", b"caller_identity", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "request_id", b"request_id", "response_timeout_ms", b"response_timeout_ms"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["caller_identity", b"caller_identity", "invocation_id", b"invocation_id", "local_participant_handle", b"local_participant_handle", "method", b"method", "payload", b"payload", "request_id", b"request_id", "response_timeout_ms", b"response_timeout_ms"]) -> None: ... -Global___RpcMethodInvocationEvent: typing_extensions.TypeAlias = RpcMethodInvocationEvent +global___RpcMethodInvocationEvent = RpcMethodInvocationEvent diff --git a/livekit-rtc/livekit/rtc/_proto/stats_pb2.py b/livekit-rtc/livekit/rtc/_proto/stats_pb2.py index 73119d85..ce7b411c 100644 --- a/livekit-rtc/livekit/rtc/_proto/stats_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/stats_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: stats.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'stats.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,10 +19,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'stats_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' - _globals['_OUTBOUNDRTPSTREAMSTATS_QUALITYLIMITATIONDURATIONSENTRY']._loaded_options = None + _globals['_OUTBOUNDRTPSTREAMSTATS_QUALITYLIMITATIONDURATIONSENTRY']._options = None _globals['_OUTBOUNDRTPSTREAMSTATS_QUALITYLIMITATIONDURATIONSENTRY']._serialized_options = b'8\001' _globals['_DATACHANNELSTATE']._serialized_start=9282 _globals['_DATACHANNELSTATE']._serialized_end=9363 diff --git a/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi index 1b4e43b1..a77c233e 100644 --- a/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/stats_pb2.pyi @@ -49,7 +49,7 @@ DC_CONNECTING: DataChannelState.ValueType # 0 DC_OPEN: DataChannelState.ValueType # 1 DC_CLOSING: DataChannelState.ValueType # 2 DC_CLOSED: DataChannelState.ValueType # 3 -Global___DataChannelState: typing_extensions.TypeAlias = DataChannelState +global___DataChannelState = DataChannelState class _QualityLimitationReason: ValueType = typing.NewType("ValueType", builtins.int) @@ -68,7 +68,7 @@ LIMITATION_NONE: QualityLimitationReason.ValueType # 0 LIMITATION_CPU: QualityLimitationReason.ValueType # 1 LIMITATION_BANDWIDTH: QualityLimitationReason.ValueType # 2 LIMITATION_OTHER: QualityLimitationReason.ValueType # 3 -Global___QualityLimitationReason: typing_extensions.TypeAlias = QualityLimitationReason +global___QualityLimitationReason = QualityLimitationReason class _IceRole: ValueType = typing.NewType("ValueType", builtins.int) @@ -85,7 +85,7 @@ class IceRole(_IceRole, metaclass=_IceRoleEnumTypeWrapper): ... ICE_UNKNOWN: IceRole.ValueType # 0 ICE_CONTROLLING: IceRole.ValueType # 1 ICE_CONTROLLED: IceRole.ValueType # 2 -Global___IceRole: typing_extensions.TypeAlias = IceRole +global___IceRole = IceRole class _DtlsTransportState: ValueType = typing.NewType("ValueType", builtins.int) @@ -106,7 +106,7 @@ DTLS_TRANSPORT_CONNECTING: DtlsTransportState.ValueType # 1 DTLS_TRANSPORT_CONNECTED: DtlsTransportState.ValueType # 2 DTLS_TRANSPORT_CLOSED: DtlsTransportState.ValueType # 3 DTLS_TRANSPORT_FAILED: DtlsTransportState.ValueType # 4 -Global___DtlsTransportState: typing_extensions.TypeAlias = DtlsTransportState +global___DtlsTransportState = DtlsTransportState class _IceTransportState: ValueType = typing.NewType("ValueType", builtins.int) @@ -131,7 +131,7 @@ ICE_TRANSPORT_COMPLETED: IceTransportState.ValueType # 3 ICE_TRANSPORT_DISCONNECTED: IceTransportState.ValueType # 4 ICE_TRANSPORT_FAILED: IceTransportState.ValueType # 5 ICE_TRANSPORT_CLOSED: IceTransportState.ValueType # 6 -Global___IceTransportState: typing_extensions.TypeAlias = IceTransportState +global___IceTransportState = IceTransportState class _DtlsRole: ValueType = typing.NewType("ValueType", builtins.int) @@ -148,7 +148,7 @@ class DtlsRole(_DtlsRole, metaclass=_DtlsRoleEnumTypeWrapper): ... DTLS_CLIENT: DtlsRole.ValueType # 0 DTLS_SERVER: DtlsRole.ValueType # 1 DTLS_UNKNOWN: DtlsRole.ValueType # 2 -Global___DtlsRole: typing_extensions.TypeAlias = DtlsRole +global___DtlsRole = DtlsRole class _IceCandidatePairState: ValueType = typing.NewType("ValueType", builtins.int) @@ -169,7 +169,7 @@ PAIR_WAITING: IceCandidatePairState.ValueType # 1 PAIR_IN_PROGRESS: IceCandidatePairState.ValueType # 2 PAIR_FAILED: IceCandidatePairState.ValueType # 3 PAIR_SUCCEEDED: IceCandidatePairState.ValueType # 4 -Global___IceCandidatePairState: typing_extensions.TypeAlias = IceCandidatePairState +global___IceCandidatePairState = IceCandidatePairState class _IceCandidateType: ValueType = typing.NewType("ValueType", builtins.int) @@ -188,7 +188,7 @@ HOST: IceCandidateType.ValueType # 0 SRFLX: IceCandidateType.ValueType # 1 PRFLX: IceCandidateType.ValueType # 2 RELAY: IceCandidateType.ValueType # 3 -Global___IceCandidateType: typing_extensions.TypeAlias = IceCandidateType +global___IceCandidateType = IceCandidateType class _IceServerTransportProtocol: ValueType = typing.NewType("ValueType", builtins.int) @@ -205,7 +205,7 @@ class IceServerTransportProtocol(_IceServerTransportProtocol, metaclass=_IceServ TRANSPORT_UDP: IceServerTransportProtocol.ValueType # 0 TRANSPORT_TCP: IceServerTransportProtocol.ValueType # 1 TRANSPORT_TLS: IceServerTransportProtocol.ValueType # 2 -Global___IceServerTransportProtocol: typing_extensions.TypeAlias = IceServerTransportProtocol +global___IceServerTransportProtocol = IceServerTransportProtocol class _IceTcpCandidateType: ValueType = typing.NewType("ValueType", builtins.int) @@ -222,7 +222,7 @@ class IceTcpCandidateType(_IceTcpCandidateType, metaclass=_IceTcpCandidateTypeEn CANDIDATE_ACTIVE: IceTcpCandidateType.ValueType # 0 CANDIDATE_PASSIVE: IceTcpCandidateType.ValueType # 1 CANDIDATE_SO: IceTcpCandidateType.ValueType # 2 -Global___IceTcpCandidateType: typing_extensions.TypeAlias = IceTcpCandidateType +global___IceTcpCandidateType = IceTcpCandidateType @typing.final class RtcStats(google.protobuf.message.Message): @@ -235,14 +235,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CODEC_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def codec(self) -> Global___CodecStats: ... + def codec(self) -> global___CodecStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - codec: Global___CodecStats | None = ..., + rtc: global___RtcStatsData | None = ..., + codec: global___CodecStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["codec", b"codec", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["codec", b"codec", "rtc", b"rtc"]) -> None: ... @@ -256,20 +256,20 @@ class RtcStats(google.protobuf.message.Message): RECEIVED_FIELD_NUMBER: builtins.int INBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def stream(self) -> Global___RtpStreamStats: ... + def stream(self) -> global___RtpStreamStats: ... @property - def received(self) -> Global___ReceivedRtpStreamStats: ... + def received(self) -> global___ReceivedRtpStreamStats: ... @property - def inbound(self) -> Global___InboundRtpStreamStats: ... + def inbound(self) -> global___InboundRtpStreamStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - stream: Global___RtpStreamStats | None = ..., - received: Global___ReceivedRtpStreamStats | None = ..., - inbound: Global___InboundRtpStreamStats | None = ..., + rtc: global___RtcStatsData | None = ..., + stream: global___RtpStreamStats | None = ..., + received: global___ReceivedRtpStreamStats | None = ..., + inbound: global___InboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["inbound", b"inbound", "received", b"received", "rtc", b"rtc", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["inbound", b"inbound", "received", b"received", "rtc", b"rtc", "stream", b"stream"]) -> None: ... @@ -283,20 +283,20 @@ class RtcStats(google.protobuf.message.Message): SENT_FIELD_NUMBER: builtins.int OUTBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def stream(self) -> Global___RtpStreamStats: ... + def stream(self) -> global___RtpStreamStats: ... @property - def sent(self) -> Global___SentRtpStreamStats: ... + def sent(self) -> global___SentRtpStreamStats: ... @property - def outbound(self) -> Global___OutboundRtpStreamStats: ... + def outbound(self) -> global___OutboundRtpStreamStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - stream: Global___RtpStreamStats | None = ..., - sent: Global___SentRtpStreamStats | None = ..., - outbound: Global___OutboundRtpStreamStats | None = ..., + rtc: global___RtcStatsData | None = ..., + stream: global___RtpStreamStats | None = ..., + sent: global___SentRtpStreamStats | None = ..., + outbound: global___OutboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["outbound", b"outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["outbound", b"outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> None: ... @@ -310,20 +310,20 @@ class RtcStats(google.protobuf.message.Message): RECEIVED_FIELD_NUMBER: builtins.int REMOTE_INBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def stream(self) -> Global___RtpStreamStats: ... + def stream(self) -> global___RtpStreamStats: ... @property - def received(self) -> Global___ReceivedRtpStreamStats: ... + def received(self) -> global___ReceivedRtpStreamStats: ... @property - def remote_inbound(self) -> Global___RemoteInboundRtpStreamStats: ... + def remote_inbound(self) -> global___RemoteInboundRtpStreamStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - stream: Global___RtpStreamStats | None = ..., - received: Global___ReceivedRtpStreamStats | None = ..., - remote_inbound: Global___RemoteInboundRtpStreamStats | None = ..., + rtc: global___RtcStatsData | None = ..., + stream: global___RtpStreamStats | None = ..., + received: global___ReceivedRtpStreamStats | None = ..., + remote_inbound: global___RemoteInboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["received", b"received", "remote_inbound", b"remote_inbound", "rtc", b"rtc", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["received", b"received", "remote_inbound", b"remote_inbound", "rtc", b"rtc", "stream", b"stream"]) -> None: ... @@ -337,20 +337,20 @@ class RtcStats(google.protobuf.message.Message): SENT_FIELD_NUMBER: builtins.int REMOTE_OUTBOUND_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def stream(self) -> Global___RtpStreamStats: ... + def stream(self) -> global___RtpStreamStats: ... @property - def sent(self) -> Global___SentRtpStreamStats: ... + def sent(self) -> global___SentRtpStreamStats: ... @property - def remote_outbound(self) -> Global___RemoteOutboundRtpStreamStats: ... + def remote_outbound(self) -> global___RemoteOutboundRtpStreamStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - stream: Global___RtpStreamStats | None = ..., - sent: Global___SentRtpStreamStats | None = ..., - remote_outbound: Global___RemoteOutboundRtpStreamStats | None = ..., + rtc: global___RtcStatsData | None = ..., + stream: global___RtpStreamStats | None = ..., + sent: global___SentRtpStreamStats | None = ..., + remote_outbound: global___RemoteOutboundRtpStreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["remote_outbound", b"remote_outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["remote_outbound", b"remote_outbound", "rtc", b"rtc", "sent", b"sent", "stream", b"stream"]) -> None: ... @@ -364,20 +364,20 @@ class RtcStats(google.protobuf.message.Message): AUDIO_FIELD_NUMBER: builtins.int VIDEO_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def source(self) -> Global___MediaSourceStats: ... + def source(self) -> global___MediaSourceStats: ... @property - def audio(self) -> Global___AudioSourceStats: ... + def audio(self) -> global___AudioSourceStats: ... @property - def video(self) -> Global___VideoSourceStats: ... + def video(self) -> global___VideoSourceStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - source: Global___MediaSourceStats | None = ..., - audio: Global___AudioSourceStats | None = ..., - video: Global___VideoSourceStats | None = ..., + rtc: global___RtcStatsData | None = ..., + source: global___MediaSourceStats | None = ..., + audio: global___AudioSourceStats | None = ..., + video: global___VideoSourceStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["audio", b"audio", "rtc", b"rtc", "source", b"source", "video", b"video"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio", b"audio", "rtc", b"rtc", "source", b"source", "video", b"video"]) -> None: ... @@ -389,14 +389,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int AUDIO_PLAYOUT_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def audio_playout(self) -> Global___AudioPlayoutStats: ... + def audio_playout(self) -> global___AudioPlayoutStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - audio_playout: Global___AudioPlayoutStats | None = ..., + rtc: global___RtcStatsData | None = ..., + audio_playout: global___AudioPlayoutStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["audio_playout", b"audio_playout", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_playout", b"audio_playout", "rtc", b"rtc"]) -> None: ... @@ -408,14 +408,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int PC_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def pc(self) -> Global___PeerConnectionStats: ... + def pc(self) -> global___PeerConnectionStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - pc: Global___PeerConnectionStats | None = ..., + rtc: global___RtcStatsData | None = ..., + pc: global___PeerConnectionStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["pc", b"pc", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["pc", b"pc", "rtc", b"rtc"]) -> None: ... @@ -427,14 +427,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int DC_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def dc(self) -> Global___DataChannelStats: ... + def dc(self) -> global___DataChannelStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - dc: Global___DataChannelStats | None = ..., + rtc: global___RtcStatsData | None = ..., + dc: global___DataChannelStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["dc", b"dc", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["dc", b"dc", "rtc", b"rtc"]) -> None: ... @@ -446,14 +446,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int TRANSPORT_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def transport(self) -> Global___TransportStats: ... + def transport(self) -> global___TransportStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - transport: Global___TransportStats | None = ..., + rtc: global___RtcStatsData | None = ..., + transport: global___TransportStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["rtc", b"rtc", "transport", b"transport"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["rtc", b"rtc", "transport", b"transport"]) -> None: ... @@ -465,14 +465,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CANDIDATE_PAIR_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def candidate_pair(self) -> Global___CandidatePairStats: ... + def candidate_pair(self) -> global___CandidatePairStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - candidate_pair: Global___CandidatePairStats | None = ..., + rtc: global___RtcStatsData | None = ..., + candidate_pair: global___CandidatePairStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "rtc", b"rtc"]) -> None: ... @@ -484,14 +484,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CANDIDATE_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def candidate(self) -> Global___IceCandidateStats: ... + def candidate(self) -> global___IceCandidateStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - candidate: Global___IceCandidateStats | None = ..., + rtc: global___RtcStatsData | None = ..., + candidate: global___IceCandidateStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> None: ... @@ -503,14 +503,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CANDIDATE_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def candidate(self) -> Global___IceCandidateStats: ... + def candidate(self) -> global___IceCandidateStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - candidate: Global___IceCandidateStats | None = ..., + rtc: global___RtcStatsData | None = ..., + candidate: global___IceCandidateStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate", b"candidate", "rtc", b"rtc"]) -> None: ... @@ -522,14 +522,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int CERTIFICATE_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def certificate(self) -> Global___CertificateStats: ... + def certificate(self) -> global___CertificateStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - certificate: Global___CertificateStats | None = ..., + rtc: global___RtcStatsData | None = ..., + certificate: global___CertificateStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["certificate", b"certificate", "rtc", b"rtc"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["certificate", b"certificate", "rtc", b"rtc"]) -> None: ... @@ -541,14 +541,14 @@ class RtcStats(google.protobuf.message.Message): RTC_FIELD_NUMBER: builtins.int STREAM_FIELD_NUMBER: builtins.int @property - def rtc(self) -> Global___RtcStatsData: ... + def rtc(self) -> global___RtcStatsData: ... @property - def stream(self) -> Global___StreamStats: ... + def stream(self) -> global___StreamStats: ... def __init__( self, *, - rtc: Global___RtcStatsData | None = ..., - stream: Global___StreamStats | None = ..., + rtc: global___RtcStatsData | None = ..., + stream: global___StreamStats | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["rtc", b"rtc", "stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["rtc", b"rtc", "stream", b"stream"]) -> None: ... @@ -580,62 +580,62 @@ class RtcStats(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int TRACK_FIELD_NUMBER: builtins.int @property - def codec(self) -> Global___RtcStats.Codec: ... + def codec(self) -> global___RtcStats.Codec: ... @property - def inbound_rtp(self) -> Global___RtcStats.InboundRtp: ... + def inbound_rtp(self) -> global___RtcStats.InboundRtp: ... @property - def outbound_rtp(self) -> Global___RtcStats.OutboundRtp: ... + def outbound_rtp(self) -> global___RtcStats.OutboundRtp: ... @property - def remote_inbound_rtp(self) -> Global___RtcStats.RemoteInboundRtp: ... + def remote_inbound_rtp(self) -> global___RtcStats.RemoteInboundRtp: ... @property - def remote_outbound_rtp(self) -> Global___RtcStats.RemoteOutboundRtp: ... + def remote_outbound_rtp(self) -> global___RtcStats.RemoteOutboundRtp: ... @property - def media_source(self) -> Global___RtcStats.MediaSource: ... + def media_source(self) -> global___RtcStats.MediaSource: ... @property - def media_playout(self) -> Global___RtcStats.MediaPlayout: ... + def media_playout(self) -> global___RtcStats.MediaPlayout: ... @property - def peer_connection(self) -> Global___RtcStats.PeerConnection: ... + def peer_connection(self) -> global___RtcStats.PeerConnection: ... @property - def data_channel(self) -> Global___RtcStats.DataChannel: ... + def data_channel(self) -> global___RtcStats.DataChannel: ... @property - def transport(self) -> Global___RtcStats.Transport: ... + def transport(self) -> global___RtcStats.Transport: ... @property - def candidate_pair(self) -> Global___RtcStats.CandidatePair: ... + def candidate_pair(self) -> global___RtcStats.CandidatePair: ... @property - def local_candidate(self) -> Global___RtcStats.LocalCandidate: ... + def local_candidate(self) -> global___RtcStats.LocalCandidate: ... @property - def remote_candidate(self) -> Global___RtcStats.RemoteCandidate: ... + def remote_candidate(self) -> global___RtcStats.RemoteCandidate: ... @property - def certificate(self) -> Global___RtcStats.Certificate: ... + def certificate(self) -> global___RtcStats.Certificate: ... @property - def stream(self) -> Global___RtcStats.Stream: ... + def stream(self) -> global___RtcStats.Stream: ... @property - def track(self) -> Global___RtcStats.Track: ... + def track(self) -> global___RtcStats.Track: ... def __init__( self, *, - codec: Global___RtcStats.Codec | None = ..., - inbound_rtp: Global___RtcStats.InboundRtp | None = ..., - outbound_rtp: Global___RtcStats.OutboundRtp | None = ..., - remote_inbound_rtp: Global___RtcStats.RemoteInboundRtp | None = ..., - remote_outbound_rtp: Global___RtcStats.RemoteOutboundRtp | None = ..., - media_source: Global___RtcStats.MediaSource | None = ..., - media_playout: Global___RtcStats.MediaPlayout | None = ..., - peer_connection: Global___RtcStats.PeerConnection | None = ..., - data_channel: Global___RtcStats.DataChannel | None = ..., - transport: Global___RtcStats.Transport | None = ..., - candidate_pair: Global___RtcStats.CandidatePair | None = ..., - local_candidate: Global___RtcStats.LocalCandidate | None = ..., - remote_candidate: Global___RtcStats.RemoteCandidate | None = ..., - certificate: Global___RtcStats.Certificate | None = ..., - stream: Global___RtcStats.Stream | None = ..., - track: Global___RtcStats.Track | None = ..., + codec: global___RtcStats.Codec | None = ..., + inbound_rtp: global___RtcStats.InboundRtp | None = ..., + outbound_rtp: global___RtcStats.OutboundRtp | None = ..., + remote_inbound_rtp: global___RtcStats.RemoteInboundRtp | None = ..., + remote_outbound_rtp: global___RtcStats.RemoteOutboundRtp | None = ..., + media_source: global___RtcStats.MediaSource | None = ..., + media_playout: global___RtcStats.MediaPlayout | None = ..., + peer_connection: global___RtcStats.PeerConnection | None = ..., + data_channel: global___RtcStats.DataChannel | None = ..., + transport: global___RtcStats.Transport | None = ..., + candidate_pair: global___RtcStats.CandidatePair | None = ..., + local_candidate: global___RtcStats.LocalCandidate | None = ..., + remote_candidate: global___RtcStats.RemoteCandidate | None = ..., + certificate: global___RtcStats.Certificate | None = ..., + stream: global___RtcStats.Stream | None = ..., + track: global___RtcStats.Track | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "certificate", b"certificate", "codec", b"codec", "data_channel", b"data_channel", "inbound_rtp", b"inbound_rtp", "local_candidate", b"local_candidate", "media_playout", b"media_playout", "media_source", b"media_source", "outbound_rtp", b"outbound_rtp", "peer_connection", b"peer_connection", "remote_candidate", b"remote_candidate", "remote_inbound_rtp", b"remote_inbound_rtp", "remote_outbound_rtp", b"remote_outbound_rtp", "stats", b"stats", "stream", b"stream", "track", b"track", "transport", b"transport"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["candidate_pair", b"candidate_pair", "certificate", b"certificate", "codec", b"codec", "data_channel", b"data_channel", "inbound_rtp", b"inbound_rtp", "local_candidate", b"local_candidate", "media_playout", b"media_playout", "media_source", b"media_source", "outbound_rtp", b"outbound_rtp", "peer_connection", b"peer_connection", "remote_candidate", b"remote_candidate", "remote_inbound_rtp", b"remote_inbound_rtp", "remote_outbound_rtp", b"remote_outbound_rtp", "stats", b"stats", "stream", b"stream", "track", b"track", "transport", b"transport"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["stats", b"stats"]) -> typing.Literal["codec", "inbound_rtp", "outbound_rtp", "remote_inbound_rtp", "remote_outbound_rtp", "media_source", "media_playout", "peer_connection", "data_channel", "transport", "candidate_pair", "local_candidate", "remote_candidate", "certificate", "stream", "track"] | None: ... -Global___RtcStats: typing_extensions.TypeAlias = RtcStats +global___RtcStats = RtcStats @typing.final class RtcStatsData(google.protobuf.message.Message): @@ -654,7 +654,7 @@ class RtcStatsData(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id", "timestamp", b"timestamp"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["id", b"id", "timestamp", b"timestamp"]) -> None: ... -Global___RtcStatsData: typing_extensions.TypeAlias = RtcStatsData +global___RtcStatsData = RtcStatsData @typing.final class CodecStats(google.protobuf.message.Message): @@ -685,7 +685,7 @@ class CodecStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["channels", b"channels", "clock_rate", b"clock_rate", "mime_type", b"mime_type", "payload_type", b"payload_type", "sdp_fmtp_line", b"sdp_fmtp_line", "transport_id", b"transport_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["channels", b"channels", "clock_rate", b"clock_rate", "mime_type", b"mime_type", "payload_type", b"payload_type", "sdp_fmtp_line", b"sdp_fmtp_line", "transport_id", b"transport_id"]) -> None: ... -Global___CodecStats: typing_extensions.TypeAlias = CodecStats +global___CodecStats = CodecStats @typing.final class RtpStreamStats(google.protobuf.message.Message): @@ -710,7 +710,7 @@ class RtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["codec_id", b"codec_id", "kind", b"kind", "ssrc", b"ssrc", "transport_id", b"transport_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["codec_id", b"codec_id", "kind", b"kind", "ssrc", b"ssrc", "transport_id", b"transport_id"]) -> None: ... -Global___RtpStreamStats: typing_extensions.TypeAlias = RtpStreamStats +global___RtpStreamStats = RtpStreamStats @typing.final class ReceivedRtpStreamStats(google.protobuf.message.Message): @@ -732,7 +732,7 @@ class ReceivedRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["jitter", b"jitter", "packets_lost", b"packets_lost", "packets_received", b"packets_received"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["jitter", b"jitter", "packets_lost", b"packets_lost", "packets_received", b"packets_received"]) -> None: ... -Global___ReceivedRtpStreamStats: typing_extensions.TypeAlias = ReceivedRtpStreamStats +global___ReceivedRtpStreamStats = ReceivedRtpStreamStats @typing.final class InboundRtpStreamStats(google.protobuf.message.Message): @@ -904,7 +904,7 @@ class InboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_level", b"audio_level", "bytes_received", b"bytes_received", "concealed_samples", b"concealed_samples", "concealment_events", b"concealment_events", "decoder_implementation", b"decoder_implementation", "estimated_playout_timestamp", b"estimated_playout_timestamp", "fec_bytes_received", b"fec_bytes_received", "fec_packets_discarded", b"fec_packets_discarded", "fec_packets_received", b"fec_packets_received", "fec_ssrc", b"fec_ssrc", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_assembled_from_multiple_packets", b"frames_assembled_from_multiple_packets", "frames_decoded", b"frames_decoded", "frames_dropped", b"frames_dropped", "frames_per_second", b"frames_per_second", "frames_received", b"frames_received", "frames_rendered", b"frames_rendered", "freeze_count", b"freeze_count", "header_bytes_received", b"header_bytes_received", "inserted_samples_for_deceleration", b"inserted_samples_for_deceleration", "jitter_buffer_delay", b"jitter_buffer_delay", "jitter_buffer_emitted_count", b"jitter_buffer_emitted_count", "jitter_buffer_minimum_delay", b"jitter_buffer_minimum_delay", "jitter_buffer_target_delay", b"jitter_buffer_target_delay", "key_frames_decoded", b"key_frames_decoded", "last_packet_received_timestamp", b"last_packet_received_timestamp", "mid", b"mid", "nack_count", b"nack_count", "packets_discarded", b"packets_discarded", "pause_count", b"pause_count", "playout_id", b"playout_id", "pli_count", b"pli_count", "power_efficient_decoder", b"power_efficient_decoder", "qp_sum", b"qp_sum", "remote_id", b"remote_id", "removed_samples_for_acceleration", b"removed_samples_for_acceleration", "retransmitted_bytes_received", b"retransmitted_bytes_received", "retransmitted_packets_received", b"retransmitted_packets_received", "rtx_ssrc", b"rtx_ssrc", "silent_concealed_samples", b"silent_concealed_samples", "total_assembly_time", b"total_assembly_time", "total_audio_energy", b"total_audio_energy", "total_decode_time", b"total_decode_time", "total_freeze_duration", b"total_freeze_duration", "total_inter_frame_delay", b"total_inter_frame_delay", "total_pause_duration", b"total_pause_duration", "total_processing_delay", b"total_processing_delay", "total_samples_duration", b"total_samples_duration", "total_samples_received", b"total_samples_received", "total_squared_inter_frame_delay", b"total_squared_inter_frame_delay", "track_identifier", b"track_identifier"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_level", b"audio_level", "bytes_received", b"bytes_received", "concealed_samples", b"concealed_samples", "concealment_events", b"concealment_events", "decoder_implementation", b"decoder_implementation", "estimated_playout_timestamp", b"estimated_playout_timestamp", "fec_bytes_received", b"fec_bytes_received", "fec_packets_discarded", b"fec_packets_discarded", "fec_packets_received", b"fec_packets_received", "fec_ssrc", b"fec_ssrc", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_assembled_from_multiple_packets", b"frames_assembled_from_multiple_packets", "frames_decoded", b"frames_decoded", "frames_dropped", b"frames_dropped", "frames_per_second", b"frames_per_second", "frames_received", b"frames_received", "frames_rendered", b"frames_rendered", "freeze_count", b"freeze_count", "header_bytes_received", b"header_bytes_received", "inserted_samples_for_deceleration", b"inserted_samples_for_deceleration", "jitter_buffer_delay", b"jitter_buffer_delay", "jitter_buffer_emitted_count", b"jitter_buffer_emitted_count", "jitter_buffer_minimum_delay", b"jitter_buffer_minimum_delay", "jitter_buffer_target_delay", b"jitter_buffer_target_delay", "key_frames_decoded", b"key_frames_decoded", "last_packet_received_timestamp", b"last_packet_received_timestamp", "mid", b"mid", "nack_count", b"nack_count", "packets_discarded", b"packets_discarded", "pause_count", b"pause_count", "playout_id", b"playout_id", "pli_count", b"pli_count", "power_efficient_decoder", b"power_efficient_decoder", "qp_sum", b"qp_sum", "remote_id", b"remote_id", "removed_samples_for_acceleration", b"removed_samples_for_acceleration", "retransmitted_bytes_received", b"retransmitted_bytes_received", "retransmitted_packets_received", b"retransmitted_packets_received", "rtx_ssrc", b"rtx_ssrc", "silent_concealed_samples", b"silent_concealed_samples", "total_assembly_time", b"total_assembly_time", "total_audio_energy", b"total_audio_energy", "total_decode_time", b"total_decode_time", "total_freeze_duration", b"total_freeze_duration", "total_inter_frame_delay", b"total_inter_frame_delay", "total_pause_duration", b"total_pause_duration", "total_processing_delay", b"total_processing_delay", "total_samples_duration", b"total_samples_duration", "total_samples_received", b"total_samples_received", "total_squared_inter_frame_delay", b"total_squared_inter_frame_delay", "track_identifier", b"track_identifier"]) -> None: ... -Global___InboundRtpStreamStats: typing_extensions.TypeAlias = InboundRtpStreamStats +global___InboundRtpStreamStats = InboundRtpStreamStats @typing.final class SentRtpStreamStats(google.protobuf.message.Message): @@ -923,7 +923,7 @@ class SentRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["bytes_sent", b"bytes_sent", "packets_sent", b"packets_sent"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes_sent", b"bytes_sent", "packets_sent", b"packets_sent"]) -> None: ... -Global___SentRtpStreamStats: typing_extensions.TypeAlias = SentRtpStreamStats +global___SentRtpStreamStats = SentRtpStreamStats @typing.final class OutboundRtpStreamStats(google.protobuf.message.Message): @@ -996,7 +996,7 @@ class OutboundRtpStreamStats(google.protobuf.message.Message): qp_sum: builtins.int total_encode_time: builtins.float total_packet_send_delay: builtins.float - quality_limitation_reason: Global___QualityLimitationReason.ValueType + quality_limitation_reason: global___QualityLimitationReason.ValueType quality_limitation_resolution_changes: builtins.int nack_count: builtins.int fir_count: builtins.int @@ -1030,7 +1030,7 @@ class OutboundRtpStreamStats(google.protobuf.message.Message): qp_sum: builtins.int | None = ..., total_encode_time: builtins.float | None = ..., total_packet_send_delay: builtins.float | None = ..., - quality_limitation_reason: Global___QualityLimitationReason.ValueType | None = ..., + quality_limitation_reason: global___QualityLimitationReason.ValueType | None = ..., quality_limitation_durations: collections.abc.Mapping[builtins.str, builtins.float] | None = ..., quality_limitation_resolution_changes: builtins.int | None = ..., nack_count: builtins.int | None = ..., @@ -1044,7 +1044,7 @@ class OutboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["active", b"active", "encoder_implementation", b"encoder_implementation", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_encoded", b"frames_encoded", "frames_per_second", b"frames_per_second", "frames_sent", b"frames_sent", "header_bytes_sent", b"header_bytes_sent", "huge_frames_sent", b"huge_frames_sent", "key_frames_encoded", b"key_frames_encoded", "media_source_id", b"media_source_id", "mid", b"mid", "nack_count", b"nack_count", "pli_count", b"pli_count", "power_efficient_encoder", b"power_efficient_encoder", "qp_sum", b"qp_sum", "quality_limitation_reason", b"quality_limitation_reason", "quality_limitation_resolution_changes", b"quality_limitation_resolution_changes", "remote_id", b"remote_id", "retransmitted_bytes_sent", b"retransmitted_bytes_sent", "retransmitted_packets_sent", b"retransmitted_packets_sent", "rid", b"rid", "rtx_ssrc", b"rtx_ssrc", "scalability_mode", b"scalability_mode", "target_bitrate", b"target_bitrate", "total_encode_time", b"total_encode_time", "total_encoded_bytes_target", b"total_encoded_bytes_target", "total_packet_send_delay", b"total_packet_send_delay"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["active", b"active", "encoder_implementation", b"encoder_implementation", "fir_count", b"fir_count", "frame_height", b"frame_height", "frame_width", b"frame_width", "frames_encoded", b"frames_encoded", "frames_per_second", b"frames_per_second", "frames_sent", b"frames_sent", "header_bytes_sent", b"header_bytes_sent", "huge_frames_sent", b"huge_frames_sent", "key_frames_encoded", b"key_frames_encoded", "media_source_id", b"media_source_id", "mid", b"mid", "nack_count", b"nack_count", "pli_count", b"pli_count", "power_efficient_encoder", b"power_efficient_encoder", "qp_sum", b"qp_sum", "quality_limitation_durations", b"quality_limitation_durations", "quality_limitation_reason", b"quality_limitation_reason", "quality_limitation_resolution_changes", b"quality_limitation_resolution_changes", "remote_id", b"remote_id", "retransmitted_bytes_sent", b"retransmitted_bytes_sent", "retransmitted_packets_sent", b"retransmitted_packets_sent", "rid", b"rid", "rtx_ssrc", b"rtx_ssrc", "scalability_mode", b"scalability_mode", "target_bitrate", b"target_bitrate", "total_encode_time", b"total_encode_time", "total_encoded_bytes_target", b"total_encoded_bytes_target", "total_packet_send_delay", b"total_packet_send_delay"]) -> None: ... -Global___OutboundRtpStreamStats: typing_extensions.TypeAlias = OutboundRtpStreamStats +global___OutboundRtpStreamStats = OutboundRtpStreamStats @typing.final class RemoteInboundRtpStreamStats(google.protobuf.message.Message): @@ -1072,7 +1072,7 @@ class RemoteInboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["fraction_lost", b"fraction_lost", "local_id", b"local_id", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["fraction_lost", b"fraction_lost", "local_id", b"local_id", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> None: ... -Global___RemoteInboundRtpStreamStats: typing_extensions.TypeAlias = RemoteInboundRtpStreamStats +global___RemoteInboundRtpStreamStats = RemoteInboundRtpStreamStats @typing.final class RemoteOutboundRtpStreamStats(google.protobuf.message.Message): @@ -1103,7 +1103,7 @@ class RemoteOutboundRtpStreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["local_id", b"local_id", "remote_timestamp", b"remote_timestamp", "reports_sent", b"reports_sent", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["local_id", b"local_id", "remote_timestamp", b"remote_timestamp", "reports_sent", b"reports_sent", "round_trip_time", b"round_trip_time", "round_trip_time_measurements", b"round_trip_time_measurements", "total_round_trip_time", b"total_round_trip_time"]) -> None: ... -Global___RemoteOutboundRtpStreamStats: typing_extensions.TypeAlias = RemoteOutboundRtpStreamStats +global___RemoteOutboundRtpStreamStats = RemoteOutboundRtpStreamStats @typing.final class MediaSourceStats(google.protobuf.message.Message): @@ -1122,7 +1122,7 @@ class MediaSourceStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["kind", b"kind", "track_identifier", b"track_identifier"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "track_identifier", b"track_identifier"]) -> None: ... -Global___MediaSourceStats: typing_extensions.TypeAlias = MediaSourceStats +global___MediaSourceStats = MediaSourceStats @typing.final class AudioSourceStats(google.protobuf.message.Message): @@ -1162,7 +1162,7 @@ class AudioSourceStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["audio_level", b"audio_level", "dropped_samples_duration", b"dropped_samples_duration", "dropped_samples_events", b"dropped_samples_events", "echo_return_loss", b"echo_return_loss", "echo_return_loss_enhancement", b"echo_return_loss_enhancement", "total_audio_energy", b"total_audio_energy", "total_capture_delay", b"total_capture_delay", "total_samples_captured", b"total_samples_captured", "total_samples_duration", b"total_samples_duration"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_level", b"audio_level", "dropped_samples_duration", b"dropped_samples_duration", "dropped_samples_events", b"dropped_samples_events", "echo_return_loss", b"echo_return_loss", "echo_return_loss_enhancement", b"echo_return_loss_enhancement", "total_audio_energy", b"total_audio_energy", "total_capture_delay", b"total_capture_delay", "total_samples_captured", b"total_samples_captured", "total_samples_duration", b"total_samples_duration"]) -> None: ... -Global___AudioSourceStats: typing_extensions.TypeAlias = AudioSourceStats +global___AudioSourceStats = AudioSourceStats @typing.final class VideoSourceStats(google.protobuf.message.Message): @@ -1187,7 +1187,7 @@ class VideoSourceStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["frames", b"frames", "frames_per_second", b"frames_per_second", "height", b"height", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["frames", b"frames", "frames_per_second", b"frames_per_second", "height", b"height", "width", b"width"]) -> None: ... -Global___VideoSourceStats: typing_extensions.TypeAlias = VideoSourceStats +global___VideoSourceStats = VideoSourceStats @typing.final class AudioPlayoutStats(google.protobuf.message.Message): @@ -1218,7 +1218,7 @@ class AudioPlayoutStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["kind", b"kind", "synthesized_samples_duration", b"synthesized_samples_duration", "synthesized_samples_events", b"synthesized_samples_events", "total_playout_delay", b"total_playout_delay", "total_samples_count", b"total_samples_count", "total_samples_duration", b"total_samples_duration"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "synthesized_samples_duration", b"synthesized_samples_duration", "synthesized_samples_events", b"synthesized_samples_events", "total_playout_delay", b"total_playout_delay", "total_samples_count", b"total_samples_count", "total_samples_duration", b"total_samples_duration"]) -> None: ... -Global___AudioPlayoutStats: typing_extensions.TypeAlias = AudioPlayoutStats +global___AudioPlayoutStats = AudioPlayoutStats @typing.final class PeerConnectionStats(google.protobuf.message.Message): @@ -1237,7 +1237,7 @@ class PeerConnectionStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["data_channels_closed", b"data_channels_closed", "data_channels_opened", b"data_channels_opened"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["data_channels_closed", b"data_channels_closed", "data_channels_opened", b"data_channels_opened"]) -> None: ... -Global___PeerConnectionStats: typing_extensions.TypeAlias = PeerConnectionStats +global___PeerConnectionStats = PeerConnectionStats @typing.final class DataChannelStats(google.protobuf.message.Message): @@ -1254,7 +1254,7 @@ class DataChannelStats(google.protobuf.message.Message): label: builtins.str protocol: builtins.str data_channel_identifier: builtins.int - state: Global___DataChannelState.ValueType + state: global___DataChannelState.ValueType messages_sent: builtins.int bytes_sent: builtins.int messages_received: builtins.int @@ -1265,7 +1265,7 @@ class DataChannelStats(google.protobuf.message.Message): label: builtins.str | None = ..., protocol: builtins.str | None = ..., data_channel_identifier: builtins.int | None = ..., - state: Global___DataChannelState.ValueType | None = ..., + state: global___DataChannelState.ValueType | None = ..., messages_sent: builtins.int | None = ..., bytes_sent: builtins.int | None = ..., messages_received: builtins.int | None = ..., @@ -1274,7 +1274,7 @@ class DataChannelStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "data_channel_identifier", b"data_channel_identifier", "label", b"label", "messages_received", b"messages_received", "messages_sent", b"messages_sent", "protocol", b"protocol", "state", b"state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "data_channel_identifier", b"data_channel_identifier", "label", b"label", "messages_received", b"messages_received", "messages_sent", b"messages_sent", "protocol", b"protocol", "state", b"state"]) -> None: ... -Global___DataChannelStats: typing_extensions.TypeAlias = DataChannelStats +global___DataChannelStats = DataChannelStats @typing.final class TransportStats(google.protobuf.message.Message): @@ -1300,16 +1300,16 @@ class TransportStats(google.protobuf.message.Message): packets_received: builtins.int bytes_sent: builtins.int bytes_received: builtins.int - ice_role: Global___IceRole.ValueType + ice_role: global___IceRole.ValueType ice_local_username_fragment: builtins.str - dtls_state: Global___DtlsTransportState.ValueType - ice_state: Global___IceTransportState.ValueType + dtls_state: global___DtlsTransportState.ValueType + ice_state: global___IceTransportState.ValueType selected_candidate_pair_id: builtins.str local_certificate_id: builtins.str remote_certificate_id: builtins.str tls_version: builtins.str dtls_cipher: builtins.str - dtls_role: Global___DtlsRole.ValueType + dtls_role: global___DtlsRole.ValueType srtp_cipher: builtins.str selected_candidate_pair_changes: builtins.int def __init__( @@ -1319,23 +1319,23 @@ class TransportStats(google.protobuf.message.Message): packets_received: builtins.int | None = ..., bytes_sent: builtins.int | None = ..., bytes_received: builtins.int | None = ..., - ice_role: Global___IceRole.ValueType | None = ..., + ice_role: global___IceRole.ValueType | None = ..., ice_local_username_fragment: builtins.str | None = ..., - dtls_state: Global___DtlsTransportState.ValueType | None = ..., - ice_state: Global___IceTransportState.ValueType | None = ..., + dtls_state: global___DtlsTransportState.ValueType | None = ..., + ice_state: global___IceTransportState.ValueType | None = ..., selected_candidate_pair_id: builtins.str | None = ..., local_certificate_id: builtins.str | None = ..., remote_certificate_id: builtins.str | None = ..., tls_version: builtins.str | None = ..., dtls_cipher: builtins.str | None = ..., - dtls_role: Global___DtlsRole.ValueType | None = ..., + dtls_role: global___DtlsRole.ValueType | None = ..., srtp_cipher: builtins.str | None = ..., selected_candidate_pair_changes: builtins.int | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "dtls_cipher", b"dtls_cipher", "dtls_role", b"dtls_role", "dtls_state", b"dtls_state", "ice_local_username_fragment", b"ice_local_username_fragment", "ice_role", b"ice_role", "ice_state", b"ice_state", "local_certificate_id", b"local_certificate_id", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_certificate_id", b"remote_certificate_id", "selected_candidate_pair_changes", b"selected_candidate_pair_changes", "selected_candidate_pair_id", b"selected_candidate_pair_id", "srtp_cipher", b"srtp_cipher", "tls_version", b"tls_version"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "dtls_cipher", b"dtls_cipher", "dtls_role", b"dtls_role", "dtls_state", b"dtls_state", "ice_local_username_fragment", b"ice_local_username_fragment", "ice_role", b"ice_role", "ice_state", b"ice_state", "local_certificate_id", b"local_certificate_id", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_certificate_id", b"remote_certificate_id", "selected_candidate_pair_changes", b"selected_candidate_pair_changes", "selected_candidate_pair_id", b"selected_candidate_pair_id", "srtp_cipher", b"srtp_cipher", "tls_version", b"tls_version"]) -> None: ... -Global___TransportStats: typing_extensions.TypeAlias = TransportStats +global___TransportStats = TransportStats @typing.final class CandidatePairStats(google.protobuf.message.Message): @@ -1366,7 +1366,7 @@ class CandidatePairStats(google.protobuf.message.Message): transport_id: builtins.str local_candidate_id: builtins.str remote_candidate_id: builtins.str - state: Global___IceCandidatePairState.ValueType + state: global___IceCandidatePairState.ValueType nominated: builtins.bool packets_sent: builtins.int packets_received: builtins.int @@ -1391,7 +1391,7 @@ class CandidatePairStats(google.protobuf.message.Message): transport_id: builtins.str | None = ..., local_candidate_id: builtins.str | None = ..., remote_candidate_id: builtins.str | None = ..., - state: Global___IceCandidatePairState.ValueType | None = ..., + state: global___IceCandidatePairState.ValueType | None = ..., nominated: builtins.bool | None = ..., packets_sent: builtins.int | None = ..., packets_received: builtins.int | None = ..., @@ -1414,7 +1414,7 @@ class CandidatePairStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["available_incoming_bitrate", b"available_incoming_bitrate", "available_outgoing_bitrate", b"available_outgoing_bitrate", "bytes_discarded_on_send", b"bytes_discarded_on_send", "bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "consent_requests_sent", b"consent_requests_sent", "current_round_trip_time", b"current_round_trip_time", "last_packet_received_timestamp", b"last_packet_received_timestamp", "last_packet_sent_timestamp", b"last_packet_sent_timestamp", "local_candidate_id", b"local_candidate_id", "nominated", b"nominated", "packets_discarded_on_send", b"packets_discarded_on_send", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_candidate_id", b"remote_candidate_id", "requests_received", b"requests_received", "requests_sent", b"requests_sent", "responses_received", b"responses_received", "responses_sent", b"responses_sent", "state", b"state", "total_round_trip_time", b"total_round_trip_time", "transport_id", b"transport_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["available_incoming_bitrate", b"available_incoming_bitrate", "available_outgoing_bitrate", b"available_outgoing_bitrate", "bytes_discarded_on_send", b"bytes_discarded_on_send", "bytes_received", b"bytes_received", "bytes_sent", b"bytes_sent", "consent_requests_sent", b"consent_requests_sent", "current_round_trip_time", b"current_round_trip_time", "last_packet_received_timestamp", b"last_packet_received_timestamp", "last_packet_sent_timestamp", b"last_packet_sent_timestamp", "local_candidate_id", b"local_candidate_id", "nominated", b"nominated", "packets_discarded_on_send", b"packets_discarded_on_send", "packets_received", b"packets_received", "packets_sent", b"packets_sent", "remote_candidate_id", b"remote_candidate_id", "requests_received", b"requests_received", "requests_sent", b"requests_sent", "responses_received", b"responses_received", "responses_sent", b"responses_sent", "state", b"state", "total_round_trip_time", b"total_round_trip_time", "transport_id", b"transport_id"]) -> None: ... -Global___CandidatePairStats: typing_extensions.TypeAlias = CandidatePairStats +global___CandidatePairStats = CandidatePairStats @typing.final class IceCandidateStats(google.protobuf.message.Message): @@ -1437,15 +1437,15 @@ class IceCandidateStats(google.protobuf.message.Message): address: builtins.str port: builtins.int protocol: builtins.str - candidate_type: Global___IceCandidateType.ValueType + candidate_type: global___IceCandidateType.ValueType priority: builtins.int url: builtins.str - relay_protocol: Global___IceServerTransportProtocol.ValueType + relay_protocol: global___IceServerTransportProtocol.ValueType foundation: builtins.str related_address: builtins.str related_port: builtins.int username_fragment: builtins.str - tcp_type: Global___IceTcpCandidateType.ValueType + tcp_type: global___IceTcpCandidateType.ValueType def __init__( self, *, @@ -1453,20 +1453,20 @@ class IceCandidateStats(google.protobuf.message.Message): address: builtins.str | None = ..., port: builtins.int | None = ..., protocol: builtins.str | None = ..., - candidate_type: Global___IceCandidateType.ValueType | None = ..., + candidate_type: global___IceCandidateType.ValueType | None = ..., priority: builtins.int | None = ..., url: builtins.str | None = ..., - relay_protocol: Global___IceServerTransportProtocol.ValueType | None = ..., + relay_protocol: global___IceServerTransportProtocol.ValueType | None = ..., foundation: builtins.str | None = ..., related_address: builtins.str | None = ..., related_port: builtins.int | None = ..., username_fragment: builtins.str | None = ..., - tcp_type: Global___IceTcpCandidateType.ValueType | None = ..., + tcp_type: global___IceTcpCandidateType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["address", b"address", "candidate_type", b"candidate_type", "foundation", b"foundation", "port", b"port", "priority", b"priority", "protocol", b"protocol", "related_address", b"related_address", "related_port", b"related_port", "relay_protocol", b"relay_protocol", "tcp_type", b"tcp_type", "transport_id", b"transport_id", "url", b"url", "username_fragment", b"username_fragment"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["address", b"address", "candidate_type", b"candidate_type", "foundation", b"foundation", "port", b"port", "priority", b"priority", "protocol", b"protocol", "related_address", b"related_address", "related_port", b"related_port", "relay_protocol", b"relay_protocol", "tcp_type", b"tcp_type", "transport_id", b"transport_id", "url", b"url", "username_fragment", b"username_fragment"]) -> None: ... -Global___IceCandidateStats: typing_extensions.TypeAlias = IceCandidateStats +global___IceCandidateStats = IceCandidateStats @typing.final class CertificateStats(google.protobuf.message.Message): @@ -1491,7 +1491,7 @@ class CertificateStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["base64_certificate", b"base64_certificate", "fingerprint", b"fingerprint", "fingerprint_algorithm", b"fingerprint_algorithm", "issuer_certificate_id", b"issuer_certificate_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["base64_certificate", b"base64_certificate", "fingerprint", b"fingerprint", "fingerprint_algorithm", b"fingerprint_algorithm", "issuer_certificate_id", b"issuer_certificate_id"]) -> None: ... -Global___CertificateStats: typing_extensions.TypeAlias = CertificateStats +global___CertificateStats = CertificateStats @typing.final class StreamStats(google.protobuf.message.Message): @@ -1511,4 +1511,4 @@ class StreamStats(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["id", b"id", "stream_identifier", b"stream_identifier"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["id", b"id", "stream_identifier", b"stream_identifier"]) -> None: ... -Global___StreamStats: typing_extensions.TypeAlias = StreamStats +global___StreamStats = StreamStats diff --git a/livekit-rtc/livekit/rtc/_proto/track_pb2.py b/livekit-rtc/livekit/rtc/_proto/track_pb2.py index 1bf53db9..0f6c9fe7 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/track_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: track.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'track.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,8 +22,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'track_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_TRACKKIND']._serialized_start=1801 _globals['_TRACKKIND']._serialized_end=1862 diff --git a/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi index d1c381f1..b6c83df9 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi @@ -50,7 +50,7 @@ class TrackKind(_TrackKind, metaclass=_TrackKindEnumTypeWrapper): ... KIND_UNKNOWN: TrackKind.ValueType # 0 KIND_AUDIO: TrackKind.ValueType # 1 KIND_VIDEO: TrackKind.ValueType # 2 -Global___TrackKind: typing_extensions.TypeAlias = TrackKind +global___TrackKind = TrackKind class _TrackSource: ValueType = typing.NewType("ValueType", builtins.int) @@ -71,7 +71,7 @@ SOURCE_CAMERA: TrackSource.ValueType # 1 SOURCE_MICROPHONE: TrackSource.ValueType # 2 SOURCE_SCREENSHARE: TrackSource.ValueType # 3 SOURCE_SCREENSHARE_AUDIO: TrackSource.ValueType # 4 -Global___TrackSource: typing_extensions.TypeAlias = TrackSource +global___TrackSource = TrackSource class _StreamState: ValueType = typing.NewType("ValueType", builtins.int) @@ -88,7 +88,7 @@ class StreamState(_StreamState, metaclass=_StreamStateEnumTypeWrapper): ... STATE_UNKNOWN: StreamState.ValueType # 0 STATE_ACTIVE: StreamState.ValueType # 1 STATE_PAUSED: StreamState.ValueType # 2 -Global___StreamState: typing_extensions.TypeAlias = StreamState +global___StreamState = StreamState class _AudioTrackFeature: ValueType = typing.NewType("ValueType", builtins.int) @@ -115,7 +115,7 @@ TF_NOISE_SUPPRESSION: AudioTrackFeature.ValueType # 4 TF_ENHANCED_NOISE_CANCELLATION: AudioTrackFeature.ValueType # 5 TF_PRECONNECT_BUFFER: AudioTrackFeature.ValueType # 6 """client will buffer audio once available and send it to the server via bytes stream once connected""" -Global___AudioTrackFeature: typing_extensions.TypeAlias = AudioTrackFeature +global___AudioTrackFeature = AudioTrackFeature @typing.final class CreateVideoTrackRequest(google.protobuf.message.Message): @@ -136,7 +136,7 @@ class CreateVideoTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> None: ... -Global___CreateVideoTrackRequest: typing_extensions.TypeAlias = CreateVideoTrackRequest +global___CreateVideoTrackRequest = CreateVideoTrackRequest @typing.final class CreateVideoTrackResponse(google.protobuf.message.Message): @@ -144,16 +144,16 @@ class CreateVideoTrackResponse(google.protobuf.message.Message): TRACK_FIELD_NUMBER: builtins.int @property - def track(self) -> Global___OwnedTrack: ... + def track(self) -> global___OwnedTrack: ... def __init__( self, *, - track: Global___OwnedTrack | None = ..., + track: global___OwnedTrack | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["track", b"track"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track", b"track"]) -> None: ... -Global___CreateVideoTrackResponse: typing_extensions.TypeAlias = CreateVideoTrackResponse +global___CreateVideoTrackResponse = CreateVideoTrackResponse @typing.final class CreateAudioTrackRequest(google.protobuf.message.Message): @@ -174,7 +174,7 @@ class CreateAudioTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["name", b"name", "source_handle", b"source_handle"]) -> None: ... -Global___CreateAudioTrackRequest: typing_extensions.TypeAlias = CreateAudioTrackRequest +global___CreateAudioTrackRequest = CreateAudioTrackRequest @typing.final class CreateAudioTrackResponse(google.protobuf.message.Message): @@ -182,16 +182,16 @@ class CreateAudioTrackResponse(google.protobuf.message.Message): TRACK_FIELD_NUMBER: builtins.int @property - def track(self) -> Global___OwnedTrack: ... + def track(self) -> global___OwnedTrack: ... def __init__( self, *, - track: Global___OwnedTrack | None = ..., + track: global___OwnedTrack | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["track", b"track"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track", b"track"]) -> None: ... -Global___CreateAudioTrackResponse: typing_extensions.TypeAlias = CreateAudioTrackResponse +global___CreateAudioTrackResponse = CreateAudioTrackResponse @typing.final class GetStatsRequest(google.protobuf.message.Message): @@ -207,7 +207,7 @@ class GetStatsRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["track_handle", b"track_handle"]) -> None: ... -Global___GetStatsRequest: typing_extensions.TypeAlias = GetStatsRequest +global___GetStatsRequest = GetStatsRequest @typing.final class GetStatsResponse(google.protobuf.message.Message): @@ -223,7 +223,7 @@ class GetStatsResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id"]) -> None: ... -Global___GetStatsResponse: typing_extensions.TypeAlias = GetStatsResponse +global___GetStatsResponse = GetStatsResponse @typing.final class GetStatsCallback(google.protobuf.message.Message): @@ -246,7 +246,7 @@ class GetStatsCallback(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["async_id", b"async_id", "error", b"error", "stats", b"stats"]) -> None: ... -Global___GetStatsCallback: typing_extensions.TypeAlias = GetStatsCallback +global___GetStatsCallback = GetStatsCallback @typing.final class TrackEvent(google.protobuf.message.Message): @@ -260,7 +260,7 @@ class TrackEvent(google.protobuf.message.Message): self, ) -> None: ... -Global___TrackEvent: typing_extensions.TypeAlias = TrackEvent +global___TrackEvent = TrackEvent @typing.final class TrackPublicationInfo(google.protobuf.message.Message): @@ -280,8 +280,8 @@ class TrackPublicationInfo(google.protobuf.message.Message): AUDIO_FEATURES_FIELD_NUMBER: builtins.int sid: builtins.str name: builtins.str - kind: Global___TrackKind.ValueType - source: Global___TrackSource.ValueType + kind: global___TrackKind.ValueType + source: global___TrackSource.ValueType simulcasted: builtins.bool width: builtins.int height: builtins.int @@ -290,14 +290,14 @@ class TrackPublicationInfo(google.protobuf.message.Message): remote: builtins.bool encryption_type: e2ee_pb2.EncryptionType.ValueType @property - def audio_features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[Global___AudioTrackFeature.ValueType]: ... + def audio_features(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___AudioTrackFeature.ValueType]: ... def __init__( self, *, sid: builtins.str | None = ..., name: builtins.str | None = ..., - kind: Global___TrackKind.ValueType | None = ..., - source: Global___TrackSource.ValueType | None = ..., + kind: global___TrackKind.ValueType | None = ..., + source: global___TrackSource.ValueType | None = ..., simulcasted: builtins.bool | None = ..., width: builtins.int | None = ..., height: builtins.int | None = ..., @@ -305,12 +305,12 @@ class TrackPublicationInfo(google.protobuf.message.Message): muted: builtins.bool | None = ..., remote: builtins.bool | None = ..., encryption_type: e2ee_pb2.EncryptionType.ValueType | None = ..., - audio_features: collections.abc.Iterable[Global___AudioTrackFeature.ValueType] | None = ..., + audio_features: collections.abc.Iterable[global___AudioTrackFeature.ValueType] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["encryption_type", b"encryption_type", "height", b"height", "kind", b"kind", "mime_type", b"mime_type", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "simulcasted", b"simulcasted", "source", b"source", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["audio_features", b"audio_features", "encryption_type", b"encryption_type", "height", b"height", "kind", b"kind", "mime_type", b"mime_type", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "simulcasted", b"simulcasted", "source", b"source", "width", b"width"]) -> None: ... -Global___TrackPublicationInfo: typing_extensions.TypeAlias = TrackPublicationInfo +global___TrackPublicationInfo = TrackPublicationInfo @typing.final class OwnedTrackPublication(google.protobuf.message.Message): @@ -321,17 +321,17 @@ class OwnedTrackPublication(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___TrackPublicationInfo: ... + def info(self) -> global___TrackPublicationInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___TrackPublicationInfo | None = ..., + info: global___TrackPublicationInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedTrackPublication: typing_extensions.TypeAlias = OwnedTrackPublication +global___OwnedTrackPublication = OwnedTrackPublication @typing.final class TrackInfo(google.protobuf.message.Message): @@ -345,8 +345,8 @@ class TrackInfo(google.protobuf.message.Message): REMOTE_FIELD_NUMBER: builtins.int sid: builtins.str name: builtins.str - kind: Global___TrackKind.ValueType - stream_state: Global___StreamState.ValueType + kind: global___TrackKind.ValueType + stream_state: global___StreamState.ValueType muted: builtins.bool remote: builtins.bool def __init__( @@ -354,15 +354,15 @@ class TrackInfo(google.protobuf.message.Message): *, sid: builtins.str | None = ..., name: builtins.str | None = ..., - kind: Global___TrackKind.ValueType | None = ..., - stream_state: Global___StreamState.ValueType | None = ..., + kind: global___TrackKind.ValueType | None = ..., + stream_state: global___StreamState.ValueType | None = ..., muted: builtins.bool | None = ..., remote: builtins.bool | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["kind", b"kind", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "stream_state", b"stream_state"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["kind", b"kind", "muted", b"muted", "name", b"name", "remote", b"remote", "sid", b"sid", "stream_state", b"stream_state"]) -> None: ... -Global___TrackInfo: typing_extensions.TypeAlias = TrackInfo +global___TrackInfo = TrackInfo @typing.final class OwnedTrack(google.protobuf.message.Message): @@ -373,17 +373,17 @@ class OwnedTrack(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___TrackInfo: ... + def info(self) -> global___TrackInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___TrackInfo | None = ..., + info: global___TrackInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedTrack: typing_extensions.TypeAlias = OwnedTrack +global___OwnedTrack = OwnedTrack @typing.final class LocalTrackMuteRequest(google.protobuf.message.Message): @@ -404,7 +404,7 @@ class LocalTrackMuteRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["mute", b"mute", "track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["mute", b"mute", "track_handle", b"track_handle"]) -> None: ... -Global___LocalTrackMuteRequest: typing_extensions.TypeAlias = LocalTrackMuteRequest +global___LocalTrackMuteRequest = LocalTrackMuteRequest @typing.final class LocalTrackMuteResponse(google.protobuf.message.Message): @@ -420,7 +420,7 @@ class LocalTrackMuteResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["muted", b"muted"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["muted", b"muted"]) -> None: ... -Global___LocalTrackMuteResponse: typing_extensions.TypeAlias = LocalTrackMuteResponse +global___LocalTrackMuteResponse = LocalTrackMuteResponse @typing.final class EnableRemoteTrackRequest(google.protobuf.message.Message): @@ -441,7 +441,7 @@ class EnableRemoteTrackRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "track_handle", b"track_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "track_handle", b"track_handle"]) -> None: ... -Global___EnableRemoteTrackRequest: typing_extensions.TypeAlias = EnableRemoteTrackRequest +global___EnableRemoteTrackRequest = EnableRemoteTrackRequest @typing.final class EnableRemoteTrackResponse(google.protobuf.message.Message): @@ -457,7 +457,7 @@ class EnableRemoteTrackResponse(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ... -Global___EnableRemoteTrackResponse: typing_extensions.TypeAlias = EnableRemoteTrackResponse +global___EnableRemoteTrackResponse = EnableRemoteTrackResponse @typing.final class SetTrackSubscriptionPermissionsRequest(google.protobuf.message.Message): @@ -469,18 +469,18 @@ class SetTrackSubscriptionPermissionsRequest(google.protobuf.message.Message): local_participant_handle: builtins.int all_participants_allowed: builtins.bool @property - def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___ParticipantTrackPermission]: ... + def permissions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ParticipantTrackPermission]: ... def __init__( self, *, local_participant_handle: builtins.int | None = ..., all_participants_allowed: builtins.bool | None = ..., - permissions: collections.abc.Iterable[Global___ParticipantTrackPermission] | None = ..., + permissions: collections.abc.Iterable[global___ParticipantTrackPermission] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["all_participants_allowed", b"all_participants_allowed", "local_participant_handle", b"local_participant_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["all_participants_allowed", b"all_participants_allowed", "local_participant_handle", b"local_participant_handle", "permissions", b"permissions"]) -> None: ... -Global___SetTrackSubscriptionPermissionsRequest: typing_extensions.TypeAlias = SetTrackSubscriptionPermissionsRequest +global___SetTrackSubscriptionPermissionsRequest = SetTrackSubscriptionPermissionsRequest @typing.final class ParticipantTrackPermission(google.protobuf.message.Message): @@ -507,7 +507,7 @@ class ParticipantTrackPermission(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["allow_all", b"allow_all", "participant_identity", b"participant_identity"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["allow_all", b"allow_all", "allowed_track_sids", b"allowed_track_sids", "participant_identity", b"participant_identity"]) -> None: ... -Global___ParticipantTrackPermission: typing_extensions.TypeAlias = ParticipantTrackPermission +global___ParticipantTrackPermission = ParticipantTrackPermission @typing.final class SetTrackSubscriptionPermissionsResponse(google.protobuf.message.Message): @@ -517,4 +517,4 @@ class SetTrackSubscriptionPermissionsResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___SetTrackSubscriptionPermissionsResponse: typing_extensions.TypeAlias = SetTrackSubscriptionPermissionsResponse +global___SetTrackSubscriptionPermissionsResponse = SetTrackSubscriptionPermissionsResponse diff --git a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py index c8b9b33d..e9eba74e 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: track_publication.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'track_publication.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,8 +19,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'track_publication_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_VIDEOQUALITY']._serialized_start=501 _globals['_VIDEOQUALITY']._serialized_end=588 diff --git a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi index c33364c0..9e70c7b4 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/track_publication_pb2.pyi @@ -46,7 +46,7 @@ class VideoQuality(_VideoQuality, metaclass=_VideoQualityEnumTypeWrapper): VIDEO_QUALITY_LOW: VideoQuality.ValueType # 0 VIDEO_QUALITY_MEDIUM: VideoQuality.ValueType # 1 VIDEO_QUALITY_HIGH: VideoQuality.ValueType # 2 -Global___VideoQuality: typing_extensions.TypeAlias = VideoQuality +global___VideoQuality = VideoQuality @typing.final class EnableRemoteTrackPublicationRequest(google.protobuf.message.Message): @@ -67,7 +67,7 @@ class EnableRemoteTrackPublicationRequest(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["enabled", b"enabled", "track_publication_handle", b"track_publication_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "track_publication_handle", b"track_publication_handle"]) -> None: ... -Global___EnableRemoteTrackPublicationRequest: typing_extensions.TypeAlias = EnableRemoteTrackPublicationRequest +global___EnableRemoteTrackPublicationRequest = EnableRemoteTrackPublicationRequest @typing.final class EnableRemoteTrackPublicationResponse(google.protobuf.message.Message): @@ -77,7 +77,7 @@ class EnableRemoteTrackPublicationResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___EnableRemoteTrackPublicationResponse: typing_extensions.TypeAlias = EnableRemoteTrackPublicationResponse +global___EnableRemoteTrackPublicationResponse = EnableRemoteTrackPublicationResponse @typing.final class UpdateRemoteTrackPublicationDimensionRequest(google.protobuf.message.Message): @@ -101,7 +101,7 @@ class UpdateRemoteTrackPublicationDimensionRequest(google.protobuf.message.Messa def HasField(self, field_name: typing.Literal["height", b"height", "track_publication_handle", b"track_publication_handle", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["height", b"height", "track_publication_handle", b"track_publication_handle", "width", b"width"]) -> None: ... -Global___UpdateRemoteTrackPublicationDimensionRequest: typing_extensions.TypeAlias = UpdateRemoteTrackPublicationDimensionRequest +global___UpdateRemoteTrackPublicationDimensionRequest = UpdateRemoteTrackPublicationDimensionRequest @typing.final class UpdateRemoteTrackPublicationDimensionResponse(google.protobuf.message.Message): @@ -111,7 +111,7 @@ class UpdateRemoteTrackPublicationDimensionResponse(google.protobuf.message.Mess self, ) -> None: ... -Global___UpdateRemoteTrackPublicationDimensionResponse: typing_extensions.TypeAlias = UpdateRemoteTrackPublicationDimensionResponse +global___UpdateRemoteTrackPublicationDimensionResponse = UpdateRemoteTrackPublicationDimensionResponse @typing.final class SetRemoteTrackPublicationQualityRequest(google.protobuf.message.Message): @@ -122,17 +122,17 @@ class SetRemoteTrackPublicationQualityRequest(google.protobuf.message.Message): TRACK_PUBLICATION_HANDLE_FIELD_NUMBER: builtins.int QUALITY_FIELD_NUMBER: builtins.int track_publication_handle: builtins.int - quality: Global___VideoQuality.ValueType + quality: global___VideoQuality.ValueType def __init__( self, *, track_publication_handle: builtins.int | None = ..., - quality: Global___VideoQuality.ValueType | None = ..., + quality: global___VideoQuality.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["quality", b"quality", "track_publication_handle", b"track_publication_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["quality", b"quality", "track_publication_handle", b"track_publication_handle"]) -> None: ... -Global___SetRemoteTrackPublicationQualityRequest: typing_extensions.TypeAlias = SetRemoteTrackPublicationQualityRequest +global___SetRemoteTrackPublicationQualityRequest = SetRemoteTrackPublicationQualityRequest @typing.final class SetRemoteTrackPublicationQualityResponse(google.protobuf.message.Message): @@ -142,4 +142,4 @@ class SetRemoteTrackPublicationQualityResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___SetRemoteTrackPublicationQualityResponse: typing_extensions.TypeAlias = SetRemoteTrackPublicationQualityResponse +global___SetRemoteTrackPublicationQualityResponse = SetRemoteTrackPublicationQualityResponse diff --git a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py index 2b18f643..159375f1 100644 --- a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.py @@ -1,22 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: video_frame.proto -# Protobuf Python Version: 5.29.3 +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'video_frame.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,8 +21,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'video_frame_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_VIDEOCODEC']._serialized_start=2452 _globals['_VIDEOCODEC']._serialized_end=2511 diff --git a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi index d466eb9e..b380b3ce 100644 --- a/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/video_frame_pb2.pyi @@ -53,7 +53,7 @@ H264: VideoCodec.ValueType # 1 AV1: VideoCodec.ValueType # 2 VP9: VideoCodec.ValueType # 3 H265: VideoCodec.ValueType # 4 -Global___VideoCodec: typing_extensions.TypeAlias = VideoCodec +global___VideoCodec = VideoCodec class _VideoRotation: ValueType = typing.NewType("ValueType", builtins.int) @@ -72,7 +72,7 @@ VIDEO_ROTATION_0: VideoRotation.ValueType # 0 VIDEO_ROTATION_90: VideoRotation.ValueType # 1 VIDEO_ROTATION_180: VideoRotation.ValueType # 2 VIDEO_ROTATION_270: VideoRotation.ValueType # 3 -Global___VideoRotation: typing_extensions.TypeAlias = VideoRotation +global___VideoRotation = VideoRotation class _VideoBufferType: ValueType = typing.NewType("ValueType", builtins.int) @@ -108,7 +108,7 @@ I422: VideoBufferType.ValueType # 7 I444: VideoBufferType.ValueType # 8 I010: VideoBufferType.ValueType # 9 NV12: VideoBufferType.ValueType # 10 -Global___VideoBufferType: typing_extensions.TypeAlias = VideoBufferType +global___VideoBufferType = VideoBufferType class _VideoStreamType: ValueType = typing.NewType("ValueType", builtins.int) @@ -128,7 +128,7 @@ class VideoStreamType(_VideoStreamType, metaclass=_VideoStreamTypeEnumTypeWrappe VIDEO_STREAM_NATIVE: VideoStreamType.ValueType # 0 VIDEO_STREAM_WEBGL: VideoStreamType.ValueType # 1 VIDEO_STREAM_HTML: VideoStreamType.ValueType # 2 -Global___VideoStreamType: typing_extensions.TypeAlias = VideoStreamType +global___VideoStreamType = VideoStreamType class _VideoSourceType: ValueType = typing.NewType("ValueType", builtins.int) @@ -141,7 +141,7 @@ class _VideoSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper class VideoSourceType(_VideoSourceType, metaclass=_VideoSourceTypeEnumTypeWrapper): ... VIDEO_SOURCE_NATIVE: VideoSourceType.ValueType # 0 -Global___VideoSourceType: typing_extensions.TypeAlias = VideoSourceType +global___VideoSourceType = VideoSourceType @typing.final class NewVideoStreamRequest(google.protobuf.message.Message): @@ -156,8 +156,8 @@ class NewVideoStreamRequest(google.protobuf.message.Message): FORMAT_FIELD_NUMBER: builtins.int NORMALIZE_STRIDE_FIELD_NUMBER: builtins.int track_handle: builtins.int - type: Global___VideoStreamType.ValueType - format: Global___VideoBufferType.ValueType + type: global___VideoStreamType.ValueType + format: global___VideoBufferType.ValueType """Get the frame on a specific format""" normalize_stride: builtins.bool """if true, stride will be set to width/chroma_width""" @@ -165,14 +165,14 @@ class NewVideoStreamRequest(google.protobuf.message.Message): self, *, track_handle: builtins.int | None = ..., - type: Global___VideoStreamType.ValueType | None = ..., - format: Global___VideoBufferType.ValueType | None = ..., + type: global___VideoStreamType.ValueType | None = ..., + format: global___VideoBufferType.ValueType | None = ..., normalize_stride: builtins.bool | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "track_handle", b"track_handle", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "track_handle", b"track_handle", "type", b"type"]) -> None: ... -Global___NewVideoStreamRequest: typing_extensions.TypeAlias = NewVideoStreamRequest +global___NewVideoStreamRequest = NewVideoStreamRequest @typing.final class NewVideoStreamResponse(google.protobuf.message.Message): @@ -180,16 +180,16 @@ class NewVideoStreamResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> Global___OwnedVideoStream: ... + def stream(self) -> global___OwnedVideoStream: ... def __init__( self, *, - stream: Global___OwnedVideoStream | None = ..., + stream: global___OwnedVideoStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -Global___NewVideoStreamResponse: typing_extensions.TypeAlias = NewVideoStreamResponse +global___NewVideoStreamResponse = NewVideoStreamResponse @typing.final class VideoStreamFromParticipantRequest(google.protobuf.message.Message): @@ -203,23 +203,23 @@ class VideoStreamFromParticipantRequest(google.protobuf.message.Message): FORMAT_FIELD_NUMBER: builtins.int NORMALIZE_STRIDE_FIELD_NUMBER: builtins.int participant_handle: builtins.int - type: Global___VideoStreamType.ValueType + type: global___VideoStreamType.ValueType track_source: track_pb2.TrackSource.ValueType - format: Global___VideoBufferType.ValueType + format: global___VideoBufferType.ValueType normalize_stride: builtins.bool def __init__( self, *, participant_handle: builtins.int | None = ..., - type: Global___VideoStreamType.ValueType | None = ..., + type: global___VideoStreamType.ValueType | None = ..., track_source: track_pb2.TrackSource.ValueType | None = ..., - format: Global___VideoBufferType.ValueType | None = ..., + format: global___VideoBufferType.ValueType | None = ..., normalize_stride: builtins.bool | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "participant_handle", b"participant_handle", "track_source", b"track_source", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["format", b"format", "normalize_stride", b"normalize_stride", "participant_handle", b"participant_handle", "track_source", b"track_source", "type", b"type"]) -> None: ... -Global___VideoStreamFromParticipantRequest: typing_extensions.TypeAlias = VideoStreamFromParticipantRequest +global___VideoStreamFromParticipantRequest = VideoStreamFromParticipantRequest @typing.final class VideoStreamFromParticipantResponse(google.protobuf.message.Message): @@ -227,16 +227,16 @@ class VideoStreamFromParticipantResponse(google.protobuf.message.Message): STREAM_FIELD_NUMBER: builtins.int @property - def stream(self) -> Global___OwnedVideoStream: ... + def stream(self) -> global___OwnedVideoStream: ... def __init__( self, *, - stream: Global___OwnedVideoStream | None = ..., + stream: global___OwnedVideoStream | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["stream", b"stream"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["stream", b"stream"]) -> None: ... -Global___VideoStreamFromParticipantResponse: typing_extensions.TypeAlias = VideoStreamFromParticipantResponse +global___VideoStreamFromParticipantResponse = VideoStreamFromParticipantResponse @typing.final class NewVideoSourceRequest(google.protobuf.message.Message): @@ -248,9 +248,9 @@ class NewVideoSourceRequest(google.protobuf.message.Message): TYPE_FIELD_NUMBER: builtins.int RESOLUTION_FIELD_NUMBER: builtins.int - type: Global___VideoSourceType.ValueType + type: global___VideoSourceType.ValueType @property - def resolution(self) -> Global___VideoSourceResolution: + def resolution(self) -> global___VideoSourceResolution: """Used to determine which encodings to use + simulcast layers Most of the time it corresponds to the source resolution """ @@ -258,13 +258,13 @@ class NewVideoSourceRequest(google.protobuf.message.Message): def __init__( self, *, - type: Global___VideoSourceType.ValueType | None = ..., - resolution: Global___VideoSourceResolution | None = ..., + type: global___VideoSourceType.ValueType | None = ..., + resolution: global___VideoSourceResolution | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["resolution", b"resolution", "type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["resolution", b"resolution", "type", b"type"]) -> None: ... -Global___NewVideoSourceRequest: typing_extensions.TypeAlias = NewVideoSourceRequest +global___NewVideoSourceRequest = NewVideoSourceRequest @typing.final class NewVideoSourceResponse(google.protobuf.message.Message): @@ -272,16 +272,16 @@ class NewVideoSourceResponse(google.protobuf.message.Message): SOURCE_FIELD_NUMBER: builtins.int @property - def source(self) -> Global___OwnedVideoSource: ... + def source(self) -> global___OwnedVideoSource: ... def __init__( self, *, - source: Global___OwnedVideoSource | None = ..., + source: global___OwnedVideoSource | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["source", b"source"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["source", b"source"]) -> None: ... -Global___NewVideoSourceResponse: typing_extensions.TypeAlias = NewVideoSourceResponse +global___NewVideoSourceResponse = NewVideoSourceResponse @typing.final class CaptureVideoFrameRequest(google.protobuf.message.Message): @@ -296,21 +296,21 @@ class CaptureVideoFrameRequest(google.protobuf.message.Message): source_handle: builtins.int timestamp_us: builtins.int """In microseconds""" - rotation: Global___VideoRotation.ValueType + rotation: global___VideoRotation.ValueType @property - def buffer(self) -> Global___VideoBufferInfo: ... + def buffer(self) -> global___VideoBufferInfo: ... def __init__( self, *, source_handle: builtins.int | None = ..., - buffer: Global___VideoBufferInfo | None = ..., + buffer: global___VideoBufferInfo | None = ..., timestamp_us: builtins.int | None = ..., - rotation: Global___VideoRotation.ValueType | None = ..., + rotation: global___VideoRotation.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "source_handle", b"source_handle", "timestamp_us", b"timestamp_us"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "source_handle", b"source_handle", "timestamp_us", b"timestamp_us"]) -> None: ... -Global___CaptureVideoFrameRequest: typing_extensions.TypeAlias = CaptureVideoFrameRequest +global___CaptureVideoFrameRequest = CaptureVideoFrameRequest @typing.final class CaptureVideoFrameResponse(google.protobuf.message.Message): @@ -320,7 +320,7 @@ class CaptureVideoFrameResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___CaptureVideoFrameResponse: typing_extensions.TypeAlias = CaptureVideoFrameResponse +global___CaptureVideoFrameResponse = CaptureVideoFrameResponse @typing.final class VideoConvertRequest(google.protobuf.message.Message): @@ -330,20 +330,20 @@ class VideoConvertRequest(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int DST_TYPE_FIELD_NUMBER: builtins.int flip_y: builtins.bool - dst_type: Global___VideoBufferType.ValueType + dst_type: global___VideoBufferType.ValueType @property - def buffer(self) -> Global___VideoBufferInfo: ... + def buffer(self) -> global___VideoBufferInfo: ... def __init__( self, *, flip_y: builtins.bool | None = ..., - buffer: Global___VideoBufferInfo | None = ..., - dst_type: Global___VideoBufferType.ValueType | None = ..., + buffer: global___VideoBufferInfo | None = ..., + dst_type: global___VideoBufferType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "dst_type", b"dst_type", "flip_y", b"flip_y"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "dst_type", b"dst_type", "flip_y", b"flip_y"]) -> None: ... -Global___VideoConvertRequest: typing_extensions.TypeAlias = VideoConvertRequest +global___VideoConvertRequest = VideoConvertRequest @typing.final class VideoConvertResponse(google.protobuf.message.Message): @@ -353,18 +353,18 @@ class VideoConvertResponse(google.protobuf.message.Message): BUFFER_FIELD_NUMBER: builtins.int error: builtins.str @property - def buffer(self) -> Global___OwnedVideoBuffer: ... + def buffer(self) -> global___OwnedVideoBuffer: ... def __init__( self, *, error: builtins.str | None = ..., - buffer: Global___OwnedVideoBuffer | None = ..., + buffer: global___OwnedVideoBuffer | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "error", b"error", "message", b"message"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "error", b"error", "message", b"message"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["error", "buffer"] | None: ... -Global___VideoConvertResponse: typing_extensions.TypeAlias = VideoConvertResponse +global___VideoConvertResponse = VideoConvertResponse @typing.final class VideoResolution(google.protobuf.message.Message): @@ -390,7 +390,7 @@ class VideoResolution(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["frame_rate", b"frame_rate", "height", b"height", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["frame_rate", b"frame_rate", "height", b"height", "width", b"width"]) -> None: ... -Global___VideoResolution: typing_extensions.TypeAlias = VideoResolution +global___VideoResolution = VideoResolution @typing.final class VideoBufferInfo(google.protobuf.message.Message): @@ -422,28 +422,28 @@ class VideoBufferInfo(google.protobuf.message.Message): DATA_PTR_FIELD_NUMBER: builtins.int STRIDE_FIELD_NUMBER: builtins.int COMPONENTS_FIELD_NUMBER: builtins.int - type: Global___VideoBufferType.ValueType + type: global___VideoBufferType.ValueType width: builtins.int height: builtins.int data_ptr: builtins.int stride: builtins.int """only for packed formats""" @property - def components(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___VideoBufferInfo.ComponentInfo]: ... + def components(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoBufferInfo.ComponentInfo]: ... def __init__( self, *, - type: Global___VideoBufferType.ValueType | None = ..., + type: global___VideoBufferType.ValueType | None = ..., width: builtins.int | None = ..., height: builtins.int | None = ..., data_ptr: builtins.int | None = ..., stride: builtins.int | None = ..., - components: collections.abc.Iterable[Global___VideoBufferInfo.ComponentInfo] | None = ..., + components: collections.abc.Iterable[global___VideoBufferInfo.ComponentInfo] | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["data_ptr", b"data_ptr", "height", b"height", "stride", b"stride", "type", b"type", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["components", b"components", "data_ptr", b"data_ptr", "height", b"height", "stride", b"stride", "type", b"type", "width", b"width"]) -> None: ... -Global___VideoBufferInfo: typing_extensions.TypeAlias = VideoBufferInfo +global___VideoBufferInfo = VideoBufferInfo @typing.final class OwnedVideoBuffer(google.protobuf.message.Message): @@ -454,33 +454,33 @@ class OwnedVideoBuffer(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___VideoBufferInfo: ... + def info(self) -> global___VideoBufferInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___VideoBufferInfo | None = ..., + info: global___VideoBufferInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedVideoBuffer: typing_extensions.TypeAlias = OwnedVideoBuffer +global___OwnedVideoBuffer = OwnedVideoBuffer @typing.final class VideoStreamInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: Global___VideoStreamType.ValueType + type: global___VideoStreamType.ValueType def __init__( self, *, - type: Global___VideoStreamType.ValueType | None = ..., + type: global___VideoStreamType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -Global___VideoStreamInfo: typing_extensions.TypeAlias = VideoStreamInfo +global___VideoStreamInfo = VideoStreamInfo @typing.final class OwnedVideoStream(google.protobuf.message.Message): @@ -491,17 +491,17 @@ class OwnedVideoStream(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___VideoStreamInfo: ... + def info(self) -> global___VideoStreamInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___VideoStreamInfo | None = ..., + info: global___VideoStreamInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedVideoStream: typing_extensions.TypeAlias = OwnedVideoStream +global___OwnedVideoStream = OwnedVideoStream @typing.final class VideoStreamEvent(google.protobuf.message.Message): @@ -512,21 +512,21 @@ class VideoStreamEvent(google.protobuf.message.Message): EOS_FIELD_NUMBER: builtins.int stream_handle: builtins.int @property - def frame_received(self) -> Global___VideoFrameReceived: ... + def frame_received(self) -> global___VideoFrameReceived: ... @property - def eos(self) -> Global___VideoStreamEOS: ... + def eos(self) -> global___VideoStreamEOS: ... def __init__( self, *, stream_handle: builtins.int | None = ..., - frame_received: Global___VideoFrameReceived | None = ..., - eos: Global___VideoStreamEOS | None = ..., + frame_received: global___VideoFrameReceived | None = ..., + eos: global___VideoStreamEOS | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["eos", b"eos", "frame_received", b"frame_received", "message", b"message", "stream_handle", b"stream_handle"]) -> None: ... def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["frame_received", "eos"] | None: ... -Global___VideoStreamEvent: typing_extensions.TypeAlias = VideoStreamEvent +global___VideoStreamEvent = VideoStreamEvent @typing.final class VideoFrameReceived(google.protobuf.message.Message): @@ -537,20 +537,20 @@ class VideoFrameReceived(google.protobuf.message.Message): ROTATION_FIELD_NUMBER: builtins.int timestamp_us: builtins.int """In microseconds""" - rotation: Global___VideoRotation.ValueType + rotation: global___VideoRotation.ValueType @property - def buffer(self) -> Global___OwnedVideoBuffer: ... + def buffer(self) -> global___OwnedVideoBuffer: ... def __init__( self, *, - buffer: Global___OwnedVideoBuffer | None = ..., + buffer: global___OwnedVideoBuffer | None = ..., timestamp_us: builtins.int | None = ..., - rotation: Global___VideoRotation.ValueType | None = ..., + rotation: global___VideoRotation.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "timestamp_us", b"timestamp_us"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "rotation", b"rotation", "timestamp_us", b"timestamp_us"]) -> None: ... -Global___VideoFrameReceived: typing_extensions.TypeAlias = VideoFrameReceived +global___VideoFrameReceived = VideoFrameReceived @typing.final class VideoStreamEOS(google.protobuf.message.Message): @@ -560,7 +560,7 @@ class VideoStreamEOS(google.protobuf.message.Message): self, ) -> None: ... -Global___VideoStreamEOS: typing_extensions.TypeAlias = VideoStreamEOS +global___VideoStreamEOS = VideoStreamEOS @typing.final class VideoSourceResolution(google.protobuf.message.Message): @@ -583,23 +583,23 @@ class VideoSourceResolution(google.protobuf.message.Message): def HasField(self, field_name: typing.Literal["height", b"height", "width", b"width"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["height", b"height", "width", b"width"]) -> None: ... -Global___VideoSourceResolution: typing_extensions.TypeAlias = VideoSourceResolution +global___VideoSourceResolution = VideoSourceResolution @typing.final class VideoSourceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int - type: Global___VideoSourceType.ValueType + type: global___VideoSourceType.ValueType def __init__( self, *, - type: Global___VideoSourceType.ValueType | None = ..., + type: global___VideoSourceType.ValueType | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["type", b"type"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -Global___VideoSourceInfo: typing_extensions.TypeAlias = VideoSourceInfo +global___VideoSourceInfo = VideoSourceInfo @typing.final class OwnedVideoSource(google.protobuf.message.Message): @@ -610,14 +610,14 @@ class OwnedVideoSource(google.protobuf.message.Message): @property def handle(self) -> handle_pb2.FfiOwnedHandle: ... @property - def info(self) -> Global___VideoSourceInfo: ... + def info(self) -> global___VideoSourceInfo: ... def __init__( self, *, handle: handle_pb2.FfiOwnedHandle | None = ..., - info: Global___VideoSourceInfo | None = ..., + info: global___VideoSourceInfo | None = ..., ) -> None: ... def HasField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> builtins.bool: ... def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... -Global___OwnedVideoSource: typing_extensions.TypeAlias = OwnedVideoSource +global___OwnedVideoSource = OwnedVideoSource