diff --git a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py index 0c7c5a8c..a94ce273 100644 --- a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.py @@ -16,7 +16,7 @@ from . import track_pb2 as track__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61udio_frame.proto\x12\rlivekit.proto\x1a\x0chandle.proto\x1a\x0btrack.proto\"\xdb\x01\n\x15NewAudioStreamRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12,\n\x04type\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.AudioStreamType\x12\x13\n\x0bsample_rate\x18\x03 \x01(\r\x12\x14\n\x0cnum_channels\x18\x04 \x01(\r\x12\x1e\n\x16\x61udio_filter_module_id\x18\x05 \x01(\t\x12\x1c\n\x14\x61udio_filter_options\x18\x06 \x01(\t\x12\x15\n\rframe_size_ms\x18\x07 \x01(\r\"I\n\x16NewAudioStreamResponse\x12/\n\x06stream\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedAudioStream\"\x9f\x02\n!AudioStreamFromParticipantRequest\x12\x1a\n\x12participant_handle\x18\x01 \x02(\x04\x12,\n\x04type\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.AudioStreamType\x12\x30\n\x0ctrack_source\x18\x03 \x01(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x13\n\x0bsample_rate\x18\x05 \x01(\r\x12\x14\n\x0cnum_channels\x18\x06 \x01(\r\x12\x1e\n\x16\x61udio_filter_module_id\x18\x07 \x01(\t\x12\x1c\n\x14\x61udio_filter_options\x18\x08 \x01(\t\x12\x15\n\rframe_size_ms\x18\t \x01(\r\"U\n\"AudioStreamFromParticipantResponse\x12/\n\x06stream\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedAudioStream\"\xbb\x01\n\x15NewAudioSourceRequest\x12,\n\x04type\x18\x01 \x02(\x0e\x32\x1e.livekit.proto.AudioSourceType\x12\x32\n\x07options\x18\x02 \x01(\x0b\x32!.livekit.proto.AudioSourceOptions\x12\x13\n\x0bsample_rate\x18\x03 \x02(\r\x12\x14\n\x0cnum_channels\x18\x04 \x02(\r\x12\x15\n\rqueue_size_ms\x18\x05 \x01(\r\"I\n\x16NewAudioSourceResponse\x12/\n\x06source\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedAudioSource\"f\n\x18\x43\x61ptureAudioFrameRequest\x12\x15\n\rsource_handle\x18\x01 \x02(\x04\x12\x33\n\x06\x62uffer\x18\x02 \x02(\x0b\x32#.livekit.proto.AudioFrameBufferInfo\"-\n\x19\x43\x61ptureAudioFrameResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"<\n\x19\x43\x61ptureAudioFrameCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"0\n\x17\x43learAudioBufferRequest\x12\x15\n\rsource_handle\x18\x01 \x02(\x04\"\x1a\n\x18\x43learAudioBufferResponse\"\x1a\n\x18NewAudioResamplerRequest\"R\n\x19NewAudioResamplerResponse\x12\x35\n\tresampler\x18\x01 \x02(\x0b\x32\".livekit.proto.OwnedAudioResampler\"\x93\x01\n\x17RemixAndResampleRequest\x12\x18\n\x10resampler_handle\x18\x01 \x02(\x04\x12\x33\n\x06\x62uffer\x18\x02 \x02(\x0b\x32#.livekit.proto.AudioFrameBufferInfo\x12\x14\n\x0cnum_channels\x18\x03 \x02(\r\x12\x13\n\x0bsample_rate\x18\x04 \x02(\r\"P\n\x18RemixAndResampleResponse\x12\x34\n\x06\x62uffer\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedAudioFrameBuffer\"\x95\x01\n\rNewApmRequest\x12\x1e\n\x16\x65\x63ho_canceller_enabled\x18\x01 \x02(\x08\x12\x1f\n\x17gain_controller_enabled\x18\x02 \x02(\x08\x12 \n\x18high_pass_filter_enabled\x18\x03 \x02(\x08\x12!\n\x19noise_suppression_enabled\x18\x04 \x02(\x08\"6\n\x0eNewApmResponse\x12$\n\x03\x61pm\x18\x01 \x02(\x0b\x32\x17.livekit.proto.OwnedApm\"x\n\x17\x41pmProcessStreamRequest\x12\x12\n\napm_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\r\x12\x13\n\x0bsample_rate\x18\x04 \x02(\r\x12\x14\n\x0cnum_channels\x18\x05 \x02(\r\")\n\x18\x41pmProcessStreamResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x7f\n\x1e\x41pmProcessReverseStreamRequest\x12\x12\n\napm_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\r\x12\x13\n\x0bsample_rate\x18\x04 \x02(\r\x12\x14\n\x0cnum_channels\x18\x05 \x02(\r\"0\n\x1f\x41pmProcessReverseStreamResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"@\n\x18\x41pmSetStreamDelayRequest\x12\x12\n\napm_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x65lay_ms\x18\x02 \x02(\x05\"*\n\x19\x41pmSetStreamDelayResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x9c\x02\n\x16NewSoxResamplerRequest\x12\x12\n\ninput_rate\x18\x01 \x02(\x01\x12\x13\n\x0boutput_rate\x18\x02 \x02(\x01\x12\x14\n\x0cnum_channels\x18\x03 \x02(\r\x12<\n\x0finput_data_type\x18\x04 \x02(\x0e\x32#.livekit.proto.SoxResamplerDataType\x12=\n\x10output_data_type\x18\x05 \x02(\x0e\x32#.livekit.proto.SoxResamplerDataType\x12\x37\n\x0equality_recipe\x18\x06 \x02(\x0e\x32\x1f.livekit.proto.SoxQualityRecipe\x12\r\n\x05\x66lags\x18\x07 \x01(\r\"l\n\x17NewSoxResamplerResponse\x12\x35\n\tresampler\x18\x01 \x01(\x0b\x32 .livekit.proto.OwnedSoxResamplerH\x00\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x42\t\n\x07message\"S\n\x17PushSoxResamplerRequest\x12\x18\n\x10resampler_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\r\"K\n\x18PushSoxResamplerResponse\x12\x12\n\noutput_ptr\x18\x01 \x02(\x04\x12\x0c\n\x04size\x18\x02 \x02(\r\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"4\n\x18\x46lushSoxResamplerRequest\x12\x18\n\x10resampler_handle\x18\x01 \x02(\x04\"L\n\x19\x46lushSoxResamplerResponse\x12\x12\n\noutput_ptr\x18\x01 \x02(\x04\x12\x0c\n\x04size\x18\x02 \x02(\r\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"p\n\x14\x41udioFrameBufferInfo\x12\x10\n\x08\x64\x61ta_ptr\x18\x01 \x02(\x04\x12\x14\n\x0cnum_channels\x18\x02 \x02(\r\x12\x13\n\x0bsample_rate\x18\x03 \x02(\r\x12\x1b\n\x13samples_per_channel\x18\x04 \x02(\r\"y\n\x15OwnedAudioFrameBuffer\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12\x31\n\x04info\x18\x02 \x02(\x0b\x32#.livekit.proto.AudioFrameBufferInfo\"?\n\x0f\x41udioStreamInfo\x12,\n\x04type\x18\x01 \x02(\x0e\x32\x1e.livekit.proto.AudioStreamType\"o\n\x10OwnedAudioStream\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12,\n\x04info\x18\x02 \x02(\x0b\x32\x1e.livekit.proto.AudioStreamInfo\"\x9f\x01\n\x10\x41udioStreamEvent\x12\x15\n\rstream_handle\x18\x01 \x02(\x04\x12;\n\x0e\x66rame_received\x18\x02 \x01(\x0b\x32!.livekit.proto.AudioFrameReceivedH\x00\x12,\n\x03\x65os\x18\x03 \x01(\x0b\x32\x1d.livekit.proto.AudioStreamEOSH\x00\x42\t\n\x07message\"I\n\x12\x41udioFrameReceived\x12\x33\n\x05\x66rame\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedAudioFrameBuffer\"\x10\n\x0e\x41udioStreamEOS\"e\n\x12\x41udioSourceOptions\x12\x19\n\x11\x65\x63ho_cancellation\x18\x01 \x02(\x08\x12\x19\n\x11noise_suppression\x18\x02 \x02(\x08\x12\x19\n\x11\x61uto_gain_control\x18\x03 \x02(\x08\"?\n\x0f\x41udioSourceInfo\x12,\n\x04type\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.AudioSourceType\"o\n\x10OwnedAudioSource\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12,\n\x04info\x18\x02 \x02(\x0b\x32\x1e.livekit.proto.AudioSourceInfo\"\x14\n\x12\x41udioResamplerInfo\"u\n\x13OwnedAudioResampler\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12/\n\x04info\x18\x02 \x02(\x0b\x32!.livekit.proto.AudioResamplerInfo\"9\n\x08OwnedApm\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\"\x12\n\x10SoxResamplerInfo\"q\n\x11OwnedSoxResampler\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12-\n\x04info\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.SoxResamplerInfo\"\\\n\x1cLoadAudioFilterPluginRequest\x12\x13\n\x0bplugin_path\x18\x01 \x02(\t\x12\x14\n\x0c\x64\x65pendencies\x18\x02 \x03(\t\x12\x11\n\tmodule_id\x18\x03 \x02(\t\".\n\x1dLoadAudioFilterPluginResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t*J\n\x14SoxResamplerDataType\x12\x18\n\x14SOXR_DATATYPE_INT16I\x10\x00\x12\x18\n\x14SOXR_DATATYPE_INT16S\x10\x01*\x8b\x01\n\x10SoxQualityRecipe\x12\x16\n\x12SOXR_QUALITY_QUICK\x10\x00\x12\x14\n\x10SOXR_QUALITY_LOW\x10\x01\x12\x17\n\x13SOXR_QUALITY_MEDIUM\x10\x02\x12\x15\n\x11SOXR_QUALITY_HIGH\x10\x03\x12\x19\n\x15SOXR_QUALITY_VERYHIGH\x10\x04*\x97\x01\n\x0bSoxFlagBits\x12\x16\n\x12SOXR_ROLLOFF_SMALL\x10\x00\x12\x17\n\x13SOXR_ROLLOFF_MEDIUM\x10\x01\x12\x15\n\x11SOXR_ROLLOFF_NONE\x10\x02\x12\x18\n\x14SOXR_HIGH_PREC_CLOCK\x10\x03\x12\x19\n\x15SOXR_DOUBLE_PRECISION\x10\x04\x12\x0b\n\x07SOXR_VR\x10\x05*A\n\x0f\x41udioStreamType\x12\x17\n\x13\x41UDIO_STREAM_NATIVE\x10\x00\x12\x15\n\x11\x41UDIO_STREAM_HTML\x10\x01**\n\x0f\x41udioSourceType\x12\x17\n\x13\x41UDIO_SOURCE_NATIVE\x10\x00\x42\x10\xaa\x02\rLiveKit.Proto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61udio_frame.proto\x12\rlivekit.proto\x1a\x0chandle.proto\x1a\x0btrack.proto\"\xdb\x01\n\x15NewAudioStreamRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12,\n\x04type\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.AudioStreamType\x12\x13\n\x0bsample_rate\x18\x03 \x01(\r\x12\x14\n\x0cnum_channels\x18\x04 \x01(\r\x12\x1e\n\x16\x61udio_filter_module_id\x18\x05 \x01(\t\x12\x1c\n\x14\x61udio_filter_options\x18\x06 \x01(\t\x12\x15\n\rframe_size_ms\x18\x07 \x01(\r\"I\n\x16NewAudioStreamResponse\x12/\n\x06stream\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedAudioStream\"\x9f\x02\n!AudioStreamFromParticipantRequest\x12\x1a\n\x12participant_handle\x18\x01 \x02(\x04\x12,\n\x04type\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.AudioStreamType\x12\x30\n\x0ctrack_source\x18\x03 \x01(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x13\n\x0bsample_rate\x18\x05 \x01(\r\x12\x14\n\x0cnum_channels\x18\x06 \x01(\r\x12\x1e\n\x16\x61udio_filter_module_id\x18\x07 \x01(\t\x12\x1c\n\x14\x61udio_filter_options\x18\x08 \x01(\t\x12\x15\n\rframe_size_ms\x18\t \x01(\r\"U\n\"AudioStreamFromParticipantResponse\x12/\n\x06stream\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedAudioStream\"\xbb\x01\n\x15NewAudioSourceRequest\x12,\n\x04type\x18\x01 \x02(\x0e\x32\x1e.livekit.proto.AudioSourceType\x12\x32\n\x07options\x18\x02 \x01(\x0b\x32!.livekit.proto.AudioSourceOptions\x12\x13\n\x0bsample_rate\x18\x03 \x02(\r\x12\x14\n\x0cnum_channels\x18\x04 \x02(\r\x12\x15\n\rqueue_size_ms\x18\x05 \x01(\r\"I\n\x16NewAudioSourceResponse\x12/\n\x06source\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedAudioSource\"\x80\x01\n\x18\x43\x61ptureAudioFrameRequest\x12\x15\n\rsource_handle\x18\x01 \x02(\x04\x12\x33\n\x06\x62uffer\x18\x02 \x02(\x0b\x32#.livekit.proto.AudioFrameBufferInfo\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"-\n\x19\x43\x61ptureAudioFrameResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"<\n\x19\x43\x61ptureAudioFrameCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"0\n\x17\x43learAudioBufferRequest\x12\x15\n\rsource_handle\x18\x01 \x02(\x04\"\x1a\n\x18\x43learAudioBufferResponse\"\x1a\n\x18NewAudioResamplerRequest\"R\n\x19NewAudioResamplerResponse\x12\x35\n\tresampler\x18\x01 \x02(\x0b\x32\".livekit.proto.OwnedAudioResampler\"\x93\x01\n\x17RemixAndResampleRequest\x12\x18\n\x10resampler_handle\x18\x01 \x02(\x04\x12\x33\n\x06\x62uffer\x18\x02 \x02(\x0b\x32#.livekit.proto.AudioFrameBufferInfo\x12\x14\n\x0cnum_channels\x18\x03 \x02(\r\x12\x13\n\x0bsample_rate\x18\x04 \x02(\r\"P\n\x18RemixAndResampleResponse\x12\x34\n\x06\x62uffer\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedAudioFrameBuffer\"\x95\x01\n\rNewApmRequest\x12\x1e\n\x16\x65\x63ho_canceller_enabled\x18\x01 \x02(\x08\x12\x1f\n\x17gain_controller_enabled\x18\x02 \x02(\x08\x12 \n\x18high_pass_filter_enabled\x18\x03 \x02(\x08\x12!\n\x19noise_suppression_enabled\x18\x04 \x02(\x08\"6\n\x0eNewApmResponse\x12$\n\x03\x61pm\x18\x01 \x02(\x0b\x32\x17.livekit.proto.OwnedApm\"x\n\x17\x41pmProcessStreamRequest\x12\x12\n\napm_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\r\x12\x13\n\x0bsample_rate\x18\x04 \x02(\r\x12\x14\n\x0cnum_channels\x18\x05 \x02(\r\")\n\x18\x41pmProcessStreamResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x7f\n\x1e\x41pmProcessReverseStreamRequest\x12\x12\n\napm_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\r\x12\x13\n\x0bsample_rate\x18\x04 \x02(\r\x12\x14\n\x0cnum_channels\x18\x05 \x02(\r\"0\n\x1f\x41pmProcessReverseStreamResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"@\n\x18\x41pmSetStreamDelayRequest\x12\x12\n\napm_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x65lay_ms\x18\x02 \x02(\x05\"*\n\x19\x41pmSetStreamDelayResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"\x9c\x02\n\x16NewSoxResamplerRequest\x12\x12\n\ninput_rate\x18\x01 \x02(\x01\x12\x13\n\x0boutput_rate\x18\x02 \x02(\x01\x12\x14\n\x0cnum_channels\x18\x03 \x02(\r\x12<\n\x0finput_data_type\x18\x04 \x02(\x0e\x32#.livekit.proto.SoxResamplerDataType\x12=\n\x10output_data_type\x18\x05 \x02(\x0e\x32#.livekit.proto.SoxResamplerDataType\x12\x37\n\x0equality_recipe\x18\x06 \x02(\x0e\x32\x1f.livekit.proto.SoxQualityRecipe\x12\r\n\x05\x66lags\x18\x07 \x01(\r\"l\n\x17NewSoxResamplerResponse\x12\x35\n\tresampler\x18\x01 \x01(\x0b\x32 .livekit.proto.OwnedSoxResamplerH\x00\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x42\t\n\x07message\"S\n\x17PushSoxResamplerRequest\x12\x18\n\x10resampler_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x0c\n\x04size\x18\x03 \x02(\r\"K\n\x18PushSoxResamplerResponse\x12\x12\n\noutput_ptr\x18\x01 \x02(\x04\x12\x0c\n\x04size\x18\x02 \x02(\r\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"4\n\x18\x46lushSoxResamplerRequest\x12\x18\n\x10resampler_handle\x18\x01 \x02(\x04\"L\n\x19\x46lushSoxResamplerResponse\x12\x12\n\noutput_ptr\x18\x01 \x02(\x04\x12\x0c\n\x04size\x18\x02 \x02(\r\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"p\n\x14\x41udioFrameBufferInfo\x12\x10\n\x08\x64\x61ta_ptr\x18\x01 \x02(\x04\x12\x14\n\x0cnum_channels\x18\x02 \x02(\r\x12\x13\n\x0bsample_rate\x18\x03 \x02(\r\x12\x1b\n\x13samples_per_channel\x18\x04 \x02(\r\"y\n\x15OwnedAudioFrameBuffer\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12\x31\n\x04info\x18\x02 \x02(\x0b\x32#.livekit.proto.AudioFrameBufferInfo\"?\n\x0f\x41udioStreamInfo\x12,\n\x04type\x18\x01 \x02(\x0e\x32\x1e.livekit.proto.AudioStreamType\"o\n\x10OwnedAudioStream\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12,\n\x04info\x18\x02 \x02(\x0b\x32\x1e.livekit.proto.AudioStreamInfo\"\x9f\x01\n\x10\x41udioStreamEvent\x12\x15\n\rstream_handle\x18\x01 \x02(\x04\x12;\n\x0e\x66rame_received\x18\x02 \x01(\x0b\x32!.livekit.proto.AudioFrameReceivedH\x00\x12,\n\x03\x65os\x18\x03 \x01(\x0b\x32\x1d.livekit.proto.AudioStreamEOSH\x00\x42\t\n\x07message\"I\n\x12\x41udioFrameReceived\x12\x33\n\x05\x66rame\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedAudioFrameBuffer\"\x10\n\x0e\x41udioStreamEOS\"e\n\x12\x41udioSourceOptions\x12\x19\n\x11\x65\x63ho_cancellation\x18\x01 \x02(\x08\x12\x19\n\x11noise_suppression\x18\x02 \x02(\x08\x12\x19\n\x11\x61uto_gain_control\x18\x03 \x02(\x08\"?\n\x0f\x41udioSourceInfo\x12,\n\x04type\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.AudioSourceType\"o\n\x10OwnedAudioSource\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12,\n\x04info\x18\x02 \x02(\x0b\x32\x1e.livekit.proto.AudioSourceInfo\"\x14\n\x12\x41udioResamplerInfo\"u\n\x13OwnedAudioResampler\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12/\n\x04info\x18\x02 \x02(\x0b\x32!.livekit.proto.AudioResamplerInfo\"9\n\x08OwnedApm\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\"\x12\n\x10SoxResamplerInfo\"q\n\x11OwnedSoxResampler\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12-\n\x04info\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.SoxResamplerInfo\"\\\n\x1cLoadAudioFilterPluginRequest\x12\x13\n\x0bplugin_path\x18\x01 \x02(\t\x12\x14\n\x0c\x64\x65pendencies\x18\x02 \x03(\t\x12\x11\n\tmodule_id\x18\x03 \x02(\t\".\n\x1dLoadAudioFilterPluginResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t*J\n\x14SoxResamplerDataType\x12\x18\n\x14SOXR_DATATYPE_INT16I\x10\x00\x12\x18\n\x14SOXR_DATATYPE_INT16S\x10\x01*\x8b\x01\n\x10SoxQualityRecipe\x12\x16\n\x12SOXR_QUALITY_QUICK\x10\x00\x12\x14\n\x10SOXR_QUALITY_LOW\x10\x01\x12\x17\n\x13SOXR_QUALITY_MEDIUM\x10\x02\x12\x15\n\x11SOXR_QUALITY_HIGH\x10\x03\x12\x19\n\x15SOXR_QUALITY_VERYHIGH\x10\x04*\x97\x01\n\x0bSoxFlagBits\x12\x16\n\x12SOXR_ROLLOFF_SMALL\x10\x00\x12\x17\n\x13SOXR_ROLLOFF_MEDIUM\x10\x01\x12\x15\n\x11SOXR_ROLLOFF_NONE\x10\x02\x12\x18\n\x14SOXR_HIGH_PREC_CLOCK\x10\x03\x12\x19\n\x15SOXR_DOUBLE_PRECISION\x10\x04\x12\x0b\n\x07SOXR_VR\x10\x05*A\n\x0f\x41udioStreamType\x12\x17\n\x13\x41UDIO_STREAM_NATIVE\x10\x00\x12\x15\n\x11\x41UDIO_STREAM_HTML\x10\x01**\n\x0f\x41udioSourceType\x12\x17\n\x13\x41UDIO_SOURCE_NATIVE\x10\x00\x42\x10\xaa\x02\rLiveKit.Proto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,16 +24,16 @@ 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 - _globals['_SOXQUALITYRECIPE']._serialized_start=4495 - _globals['_SOXQUALITYRECIPE']._serialized_end=4634 - _globals['_SOXFLAGBITS']._serialized_start=4637 - _globals['_SOXFLAGBITS']._serialized_end=4788 - _globals['_AUDIOSTREAMTYPE']._serialized_start=4790 - _globals['_AUDIOSTREAMTYPE']._serialized_end=4855 - _globals['_AUDIOSOURCETYPE']._serialized_start=4857 - _globals['_AUDIOSOURCETYPE']._serialized_end=4899 + _globals['_SOXRESAMPLERDATATYPE']._serialized_start=4445 + _globals['_SOXRESAMPLERDATATYPE']._serialized_end=4519 + _globals['_SOXQUALITYRECIPE']._serialized_start=4522 + _globals['_SOXQUALITYRECIPE']._serialized_end=4661 + _globals['_SOXFLAGBITS']._serialized_start=4664 + _globals['_SOXFLAGBITS']._serialized_end=4815 + _globals['_AUDIOSTREAMTYPE']._serialized_start=4817 + _globals['_AUDIOSTREAMTYPE']._serialized_end=4882 + _globals['_AUDIOSOURCETYPE']._serialized_start=4884 + _globals['_AUDIOSOURCETYPE']._serialized_end=4926 _globals['_NEWAUDIOSTREAMREQUEST']._serialized_start=64 _globals['_NEWAUDIOSTREAMREQUEST']._serialized_end=283 _globals['_NEWAUDIOSTREAMRESPONSE']._serialized_start=285 @@ -46,84 +46,84 @@ _globals['_NEWAUDIOSOURCEREQUEST']._serialized_end=925 _globals['_NEWAUDIOSOURCERESPONSE']._serialized_start=927 _globals['_NEWAUDIOSOURCERESPONSE']._serialized_end=1000 - _globals['_CAPTUREAUDIOFRAMEREQUEST']._serialized_start=1002 - _globals['_CAPTUREAUDIOFRAMEREQUEST']._serialized_end=1104 - _globals['_CAPTUREAUDIOFRAMERESPONSE']._serialized_start=1106 - _globals['_CAPTUREAUDIOFRAMERESPONSE']._serialized_end=1151 - _globals['_CAPTUREAUDIOFRAMECALLBACK']._serialized_start=1153 - _globals['_CAPTUREAUDIOFRAMECALLBACK']._serialized_end=1213 - _globals['_CLEARAUDIOBUFFERREQUEST']._serialized_start=1215 - _globals['_CLEARAUDIOBUFFERREQUEST']._serialized_end=1263 - _globals['_CLEARAUDIOBUFFERRESPONSE']._serialized_start=1265 - _globals['_CLEARAUDIOBUFFERRESPONSE']._serialized_end=1291 - _globals['_NEWAUDIORESAMPLERREQUEST']._serialized_start=1293 - _globals['_NEWAUDIORESAMPLERREQUEST']._serialized_end=1319 - _globals['_NEWAUDIORESAMPLERRESPONSE']._serialized_start=1321 - _globals['_NEWAUDIORESAMPLERRESPONSE']._serialized_end=1403 - _globals['_REMIXANDRESAMPLEREQUEST']._serialized_start=1406 - _globals['_REMIXANDRESAMPLEREQUEST']._serialized_end=1553 - _globals['_REMIXANDRESAMPLERESPONSE']._serialized_start=1555 - _globals['_REMIXANDRESAMPLERESPONSE']._serialized_end=1635 - _globals['_NEWAPMREQUEST']._serialized_start=1638 - _globals['_NEWAPMREQUEST']._serialized_end=1787 - _globals['_NEWAPMRESPONSE']._serialized_start=1789 - _globals['_NEWAPMRESPONSE']._serialized_end=1843 - _globals['_APMPROCESSSTREAMREQUEST']._serialized_start=1845 - _globals['_APMPROCESSSTREAMREQUEST']._serialized_end=1965 - _globals['_APMPROCESSSTREAMRESPONSE']._serialized_start=1967 - _globals['_APMPROCESSSTREAMRESPONSE']._serialized_end=2008 - _globals['_APMPROCESSREVERSESTREAMREQUEST']._serialized_start=2010 - _globals['_APMPROCESSREVERSESTREAMREQUEST']._serialized_end=2137 - _globals['_APMPROCESSREVERSESTREAMRESPONSE']._serialized_start=2139 - _globals['_APMPROCESSREVERSESTREAMRESPONSE']._serialized_end=2187 - _globals['_APMSETSTREAMDELAYREQUEST']._serialized_start=2189 - _globals['_APMSETSTREAMDELAYREQUEST']._serialized_end=2253 - _globals['_APMSETSTREAMDELAYRESPONSE']._serialized_start=2255 - _globals['_APMSETSTREAMDELAYRESPONSE']._serialized_end=2297 - _globals['_NEWSOXRESAMPLERREQUEST']._serialized_start=2300 - _globals['_NEWSOXRESAMPLERREQUEST']._serialized_end=2584 - _globals['_NEWSOXRESAMPLERRESPONSE']._serialized_start=2586 - _globals['_NEWSOXRESAMPLERRESPONSE']._serialized_end=2694 - _globals['_PUSHSOXRESAMPLERREQUEST']._serialized_start=2696 - _globals['_PUSHSOXRESAMPLERREQUEST']._serialized_end=2779 - _globals['_PUSHSOXRESAMPLERRESPONSE']._serialized_start=2781 - _globals['_PUSHSOXRESAMPLERRESPONSE']._serialized_end=2856 - _globals['_FLUSHSOXRESAMPLERREQUEST']._serialized_start=2858 - _globals['_FLUSHSOXRESAMPLERREQUEST']._serialized_end=2910 - _globals['_FLUSHSOXRESAMPLERRESPONSE']._serialized_start=2912 - _globals['_FLUSHSOXRESAMPLERRESPONSE']._serialized_end=2988 - _globals['_AUDIOFRAMEBUFFERINFO']._serialized_start=2990 - _globals['_AUDIOFRAMEBUFFERINFO']._serialized_end=3102 - _globals['_OWNEDAUDIOFRAMEBUFFER']._serialized_start=3104 - _globals['_OWNEDAUDIOFRAMEBUFFER']._serialized_end=3225 - _globals['_AUDIOSTREAMINFO']._serialized_start=3227 - _globals['_AUDIOSTREAMINFO']._serialized_end=3290 - _globals['_OWNEDAUDIOSTREAM']._serialized_start=3292 - _globals['_OWNEDAUDIOSTREAM']._serialized_end=3403 - _globals['_AUDIOSTREAMEVENT']._serialized_start=3406 - _globals['_AUDIOSTREAMEVENT']._serialized_end=3565 - _globals['_AUDIOFRAMERECEIVED']._serialized_start=3567 - _globals['_AUDIOFRAMERECEIVED']._serialized_end=3640 - _globals['_AUDIOSTREAMEOS']._serialized_start=3642 - _globals['_AUDIOSTREAMEOS']._serialized_end=3658 - _globals['_AUDIOSOURCEOPTIONS']._serialized_start=3660 - _globals['_AUDIOSOURCEOPTIONS']._serialized_end=3761 - _globals['_AUDIOSOURCEINFO']._serialized_start=3763 - _globals['_AUDIOSOURCEINFO']._serialized_end=3826 - _globals['_OWNEDAUDIOSOURCE']._serialized_start=3828 - _globals['_OWNEDAUDIOSOURCE']._serialized_end=3939 - _globals['_AUDIORESAMPLERINFO']._serialized_start=3941 - _globals['_AUDIORESAMPLERINFO']._serialized_end=3961 - _globals['_OWNEDAUDIORESAMPLER']._serialized_start=3963 - _globals['_OWNEDAUDIORESAMPLER']._serialized_end=4080 - _globals['_OWNEDAPM']._serialized_start=4082 - _globals['_OWNEDAPM']._serialized_end=4139 - _globals['_SOXRESAMPLERINFO']._serialized_start=4141 - _globals['_SOXRESAMPLERINFO']._serialized_end=4159 - _globals['_OWNEDSOXRESAMPLER']._serialized_start=4161 - _globals['_OWNEDSOXRESAMPLER']._serialized_end=4274 - _globals['_LOADAUDIOFILTERPLUGINREQUEST']._serialized_start=4276 - _globals['_LOADAUDIOFILTERPLUGINREQUEST']._serialized_end=4368 - _globals['_LOADAUDIOFILTERPLUGINRESPONSE']._serialized_start=4370 - _globals['_LOADAUDIOFILTERPLUGINRESPONSE']._serialized_end=4416 + _globals['_CAPTUREAUDIOFRAMEREQUEST']._serialized_start=1003 + _globals['_CAPTUREAUDIOFRAMEREQUEST']._serialized_end=1131 + _globals['_CAPTUREAUDIOFRAMERESPONSE']._serialized_start=1133 + _globals['_CAPTUREAUDIOFRAMERESPONSE']._serialized_end=1178 + _globals['_CAPTUREAUDIOFRAMECALLBACK']._serialized_start=1180 + _globals['_CAPTUREAUDIOFRAMECALLBACK']._serialized_end=1240 + _globals['_CLEARAUDIOBUFFERREQUEST']._serialized_start=1242 + _globals['_CLEARAUDIOBUFFERREQUEST']._serialized_end=1290 + _globals['_CLEARAUDIOBUFFERRESPONSE']._serialized_start=1292 + _globals['_CLEARAUDIOBUFFERRESPONSE']._serialized_end=1318 + _globals['_NEWAUDIORESAMPLERREQUEST']._serialized_start=1320 + _globals['_NEWAUDIORESAMPLERREQUEST']._serialized_end=1346 + _globals['_NEWAUDIORESAMPLERRESPONSE']._serialized_start=1348 + _globals['_NEWAUDIORESAMPLERRESPONSE']._serialized_end=1430 + _globals['_REMIXANDRESAMPLEREQUEST']._serialized_start=1433 + _globals['_REMIXANDRESAMPLEREQUEST']._serialized_end=1580 + _globals['_REMIXANDRESAMPLERESPONSE']._serialized_start=1582 + _globals['_REMIXANDRESAMPLERESPONSE']._serialized_end=1662 + _globals['_NEWAPMREQUEST']._serialized_start=1665 + _globals['_NEWAPMREQUEST']._serialized_end=1814 + _globals['_NEWAPMRESPONSE']._serialized_start=1816 + _globals['_NEWAPMRESPONSE']._serialized_end=1870 + _globals['_APMPROCESSSTREAMREQUEST']._serialized_start=1872 + _globals['_APMPROCESSSTREAMREQUEST']._serialized_end=1992 + _globals['_APMPROCESSSTREAMRESPONSE']._serialized_start=1994 + _globals['_APMPROCESSSTREAMRESPONSE']._serialized_end=2035 + _globals['_APMPROCESSREVERSESTREAMREQUEST']._serialized_start=2037 + _globals['_APMPROCESSREVERSESTREAMREQUEST']._serialized_end=2164 + _globals['_APMPROCESSREVERSESTREAMRESPONSE']._serialized_start=2166 + _globals['_APMPROCESSREVERSESTREAMRESPONSE']._serialized_end=2214 + _globals['_APMSETSTREAMDELAYREQUEST']._serialized_start=2216 + _globals['_APMSETSTREAMDELAYREQUEST']._serialized_end=2280 + _globals['_APMSETSTREAMDELAYRESPONSE']._serialized_start=2282 + _globals['_APMSETSTREAMDELAYRESPONSE']._serialized_end=2324 + _globals['_NEWSOXRESAMPLERREQUEST']._serialized_start=2327 + _globals['_NEWSOXRESAMPLERREQUEST']._serialized_end=2611 + _globals['_NEWSOXRESAMPLERRESPONSE']._serialized_start=2613 + _globals['_NEWSOXRESAMPLERRESPONSE']._serialized_end=2721 + _globals['_PUSHSOXRESAMPLERREQUEST']._serialized_start=2723 + _globals['_PUSHSOXRESAMPLERREQUEST']._serialized_end=2806 + _globals['_PUSHSOXRESAMPLERRESPONSE']._serialized_start=2808 + _globals['_PUSHSOXRESAMPLERRESPONSE']._serialized_end=2883 + _globals['_FLUSHSOXRESAMPLERREQUEST']._serialized_start=2885 + _globals['_FLUSHSOXRESAMPLERREQUEST']._serialized_end=2937 + _globals['_FLUSHSOXRESAMPLERRESPONSE']._serialized_start=2939 + _globals['_FLUSHSOXRESAMPLERRESPONSE']._serialized_end=3015 + _globals['_AUDIOFRAMEBUFFERINFO']._serialized_start=3017 + _globals['_AUDIOFRAMEBUFFERINFO']._serialized_end=3129 + _globals['_OWNEDAUDIOFRAMEBUFFER']._serialized_start=3131 + _globals['_OWNEDAUDIOFRAMEBUFFER']._serialized_end=3252 + _globals['_AUDIOSTREAMINFO']._serialized_start=3254 + _globals['_AUDIOSTREAMINFO']._serialized_end=3317 + _globals['_OWNEDAUDIOSTREAM']._serialized_start=3319 + _globals['_OWNEDAUDIOSTREAM']._serialized_end=3430 + _globals['_AUDIOSTREAMEVENT']._serialized_start=3433 + _globals['_AUDIOSTREAMEVENT']._serialized_end=3592 + _globals['_AUDIOFRAMERECEIVED']._serialized_start=3594 + _globals['_AUDIOFRAMERECEIVED']._serialized_end=3667 + _globals['_AUDIOSTREAMEOS']._serialized_start=3669 + _globals['_AUDIOSTREAMEOS']._serialized_end=3685 + _globals['_AUDIOSOURCEOPTIONS']._serialized_start=3687 + _globals['_AUDIOSOURCEOPTIONS']._serialized_end=3788 + _globals['_AUDIOSOURCEINFO']._serialized_start=3790 + _globals['_AUDIOSOURCEINFO']._serialized_end=3853 + _globals['_OWNEDAUDIOSOURCE']._serialized_start=3855 + _globals['_OWNEDAUDIOSOURCE']._serialized_end=3966 + _globals['_AUDIORESAMPLERINFO']._serialized_start=3968 + _globals['_AUDIORESAMPLERINFO']._serialized_end=3988 + _globals['_OWNEDAUDIORESAMPLER']._serialized_start=3990 + _globals['_OWNEDAUDIORESAMPLER']._serialized_end=4107 + _globals['_OWNEDAPM']._serialized_start=4109 + _globals['_OWNEDAPM']._serialized_end=4166 + _globals['_SOXRESAMPLERINFO']._serialized_start=4168 + _globals['_SOXRESAMPLERINFO']._serialized_end=4186 + _globals['_OWNEDSOXRESAMPLER']._serialized_start=4188 + _globals['_OWNEDSOXRESAMPLER']._serialized_end=4301 + _globals['_LOADAUDIOFILTERPLUGINREQUEST']._serialized_start=4303 + _globals['_LOADAUDIOFILTERPLUGINREQUEST']._serialized_end=4395 + _globals['_LOADAUDIOFILTERPLUGINRESPONSE']._serialized_start=4397 + _globals['_LOADAUDIOFILTERPLUGINRESPONSE']._serialized_end=4443 # @@protoc_insertion_point(module_scope) diff --git a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi index 74188b3d..a75c3c7f 100644 --- a/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/audio_frame_pb2.pyi @@ -298,7 +298,7 @@ global___NewAudioSourceResponse = NewAudioSourceResponse @typing.final class CaptureAudioFrameRequest(google.protobuf.message.Message): - """Push a frame to an AudioSource + """Push a frame to an AudioSource The data provided must be available as long as the client receive the callback. """ @@ -306,7 +306,9 @@ class CaptureAudioFrameRequest(google.protobuf.message.Message): SOURCE_HANDLE_FIELD_NUMBER: builtins.int BUFFER_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int source_handle: builtins.int + request_async_id: builtins.int @property def buffer(self) -> global___AudioFrameBufferInfo: ... def __init__( @@ -314,9 +316,10 @@ class CaptureAudioFrameRequest(google.protobuf.message.Message): *, source_handle: builtins.int | None = ..., buffer: global___AudioFrameBufferInfo | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["buffer", b"buffer", "request_async_id", b"request_async_id", "source_handle", b"source_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["buffer", b"buffer", "request_async_id", b"request_async_id", "source_handle", b"source_handle"]) -> None: ... global___CaptureAudioFrameRequest = CaptureAudioFrameRequest diff --git a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py index f1f854e2..3d12d60f 100644 --- a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.py @@ -16,7 +16,7 @@ from . import e2ee_pb2 as e2ee__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x64\x61ta_stream.proto\x12\rlivekit.proto\x1a\x0chandle.proto\x1a\ne2ee.proto\"s\n\x15OwnedTextStreamReader\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.TextStreamInfo\"?\n&TextStreamReaderReadIncrementalRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\")\n\'TextStreamReaderReadIncrementalResponse\"7\n\x1eTextStreamReaderReadAllRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\"3\n\x1fTextStreamReaderReadAllResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"}\n\x1fTextStreamReaderReadAllCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x11\n\x07\x63ontent\x18\x02 \x01(\tH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\xb3\x01\n\x15TextStreamReaderEvent\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x46\n\x0e\x63hunk_received\x18\x02 \x01(\x0b\x32,.livekit.proto.TextStreamReaderChunkReceivedH\x00\x12\x31\n\x03\x65os\x18\x03 \x01(\x0b\x32\".livekit.proto.TextStreamReaderEOSH\x00\x42\x08\n\x06\x64\x65tail\"0\n\x1dTextStreamReaderChunkReceived\x12\x0f\n\x07\x63ontent\x18\x01 \x02(\t\"@\n\x13TextStreamReaderEOS\x12)\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"s\n\x15OwnedByteStreamReader\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.ByteStreamInfo\"?\n&ByteStreamReaderReadIncrementalRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\")\n\'ByteStreamReaderReadIncrementalResponse\"7\n\x1e\x42yteStreamReaderReadAllRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\"3\n\x1f\x42yteStreamReaderReadAllResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"}\n\x1f\x42yteStreamReaderReadAllCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x11\n\x07\x63ontent\x18\x02 \x01(\x0cH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"e\n\"ByteStreamReaderWriteToFileRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x11\n\tdirectory\x18\x03 \x01(\t\x12\x15\n\rname_override\x18\x04 \x01(\t\"7\n#ByteStreamReaderWriteToFileResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x83\x01\n#ByteStreamReaderWriteToFileCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x13\n\tfile_path\x18\x02 \x01(\tH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\xb3\x01\n\x15\x42yteStreamReaderEvent\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x46\n\x0e\x63hunk_received\x18\x02 \x01(\x0b\x32,.livekit.proto.ByteStreamReaderChunkReceivedH\x00\x12\x31\n\x03\x65os\x18\x03 \x01(\x0b\x32\".livekit.proto.ByteStreamReaderEOSH\x00\x42\x08\n\x06\x64\x65tail\"0\n\x1d\x42yteStreamReaderChunkReceived\x12\x0f\n\x07\x63ontent\x18\x01 \x02(\x0c\"@\n\x13\x42yteStreamReaderEOS\x12)\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"\x7f\n\x15StreamSendFileRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamByteOptions\x12\x11\n\tfile_path\x18\x03 \x02(\t\"*\n\x16StreamSendFileResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x90\x01\n\x16StreamSendFileCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12-\n\x04info\x18\x02 \x01(\x0b\x32\x1d.livekit.proto.ByteStreamInfoH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"|\n\x16StreamSendBytesRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamByteOptions\x12\r\n\x05\x62ytes\x18\x03 \x02(\x0c\"+\n\x17StreamSendBytesResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x91\x01\n\x17StreamSendBytesCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12-\n\x04info\x18\x02 \x01(\x0b\x32\x1d.livekit.proto.ByteStreamInfoH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"z\n\x15StreamSendTextRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamTextOptions\x12\x0c\n\x04text\x18\x03 \x02(\t\"*\n\x16StreamSendTextResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x90\x01\n\x16StreamSendTextCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12-\n\x04info\x18\x02 \x01(\x0b\x32\x1d.livekit.proto.TextStreamInfoH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"s\n\x15OwnedByteStreamWriter\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.ByteStreamInfo\"l\n\x15\x42yteStreamOpenRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamByteOptions\"*\n\x16\x42yteStreamOpenResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x99\x01\n\x16\x42yteStreamOpenCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x36\n\x06writer\x18\x02 \x01(\x0b\x32$.livekit.proto.OwnedByteStreamWriterH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"D\n\x1c\x42yteStreamWriterWriteRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\r\n\x05\x62ytes\x18\x02 \x02(\x0c\"1\n\x1d\x42yteStreamWriterWriteResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1d\x42yteStreamWriterWriteCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"E\n\x1c\x42yteStreamWriterCloseRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\x0e\n\x06reason\x18\x02 \x01(\t\"1\n\x1d\x42yteStreamWriterCloseResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1d\x42yteStreamWriterCloseCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"s\n\x15OwnedTextStreamWriter\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.TextStreamInfo\"l\n\x15TextStreamOpenRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamTextOptions\"*\n\x16TextStreamOpenResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x99\x01\n\x16TextStreamOpenCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x36\n\x06writer\x18\x02 \x01(\x0b\x32$.livekit.proto.OwnedTextStreamWriterH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"C\n\x1cTextStreamWriterWriteRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\x0c\n\x04text\x18\x02 \x02(\t\"1\n\x1dTextStreamWriterWriteResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1dTextStreamWriterWriteCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"E\n\x1cTextStreamWriterCloseRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\x0e\n\x06reason\x18\x02 \x01(\t\"1\n\x1dTextStreamWriterCloseResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1dTextStreamWriterCloseCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"\x81\x04\n\x0eTextStreamInfo\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x11\n\tmime_type\x18\x03 \x02(\t\x12\r\n\x05topic\x18\x04 \x02(\t\x12\x14\n\x0ctotal_length\x18\x05 \x01(\x04\x12\x41\n\nattributes\x18\x06 \x03(\x0b\x32-.livekit.proto.TextStreamInfo.AttributesEntry\x12\x43\n\x0eoperation_type\x18\x07 \x02(\x0e\x32+.livekit.proto.TextStreamInfo.OperationType\x12\x0f\n\x07version\x18\x08 \x01(\x05\x12\x1a\n\x12reply_to_stream_id\x18\t \x01(\t\x12\x1b\n\x13\x61ttached_stream_ids\x18\n \x03(\t\x12\x11\n\tgenerated\x18\x0b \x01(\x08\x12\x36\n\x0f\x65ncryption_type\x18\x0c \x02(\x0e\x32\x1d.livekit.proto.EncryptionType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\rOperationType\x12\n\n\x06\x43REATE\x10\x00\x12\n\n\x06UPDATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\x0c\n\x08REACTION\x10\x03\"\xaa\x02\n\x0e\x42yteStreamInfo\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x11\n\tmime_type\x18\x03 \x02(\t\x12\r\n\x05topic\x18\x04 \x02(\t\x12\x14\n\x0ctotal_length\x18\x05 \x01(\x04\x12\x41\n\nattributes\x18\x06 \x03(\x0b\x32-.livekit.proto.ByteStreamInfo.AttributesEntry\x12\x0c\n\x04name\x18\x07 \x02(\t\x12\x36\n\x0f\x65ncryption_type\x18\x08 \x02(\x0e\x32\x1d.livekit.proto.EncryptionType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe9\x02\n\x11StreamTextOptions\x12\r\n\x05topic\x18\x01 \x02(\t\x12\x44\n\nattributes\x18\x02 \x03(\x0b\x32\x30.livekit.proto.StreamTextOptions.AttributesEntry\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\n\n\x02id\x18\x04 \x01(\t\x12\x43\n\x0eoperation_type\x18\x05 \x01(\x0e\x32+.livekit.proto.TextStreamInfo.OperationType\x12\x0f\n\x07version\x18\x06 \x01(\x05\x12\x1a\n\x12reply_to_stream_id\x18\x07 \x01(\t\x12\x1b\n\x13\x61ttached_stream_ids\x18\x08 \x03(\t\x12\x11\n\tgenerated\x18\t \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfe\x01\n\x11StreamByteOptions\x12\r\n\x05topic\x18\x01 \x02(\t\x12\x44\n\nattributes\x18\x02 \x03(\x0b\x32\x30.livekit.proto.StreamByteOptions.AttributesEntry\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\n\n\x02id\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x11\n\tmime_type\x18\x06 \x01(\t\x12\x14\n\x0ctotal_length\x18\x07 \x01(\x04\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\"\n\x0bStreamError\x12\x13\n\x0b\x64\x65scription\x18\x01 \x02(\tB\x10\xaa\x02\rLiveKit.Proto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x64\x61ta_stream.proto\x12\rlivekit.proto\x1a\x0chandle.proto\x1a\ne2ee.proto\"s\n\x15OwnedTextStreamReader\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.TextStreamInfo\"?\n&TextStreamReaderReadIncrementalRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\")\n\'TextStreamReaderReadIncrementalResponse\"Q\n\x1eTextStreamReaderReadAllRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x18\n\x10request_async_id\x18\x02 \x01(\x04\"3\n\x1fTextStreamReaderReadAllResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"}\n\x1fTextStreamReaderReadAllCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x11\n\x07\x63ontent\x18\x02 \x01(\tH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\xb3\x01\n\x15TextStreamReaderEvent\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x46\n\x0e\x63hunk_received\x18\x02 \x01(\x0b\x32,.livekit.proto.TextStreamReaderChunkReceivedH\x00\x12\x31\n\x03\x65os\x18\x03 \x01(\x0b\x32\".livekit.proto.TextStreamReaderEOSH\x00\x42\x08\n\x06\x64\x65tail\"0\n\x1dTextStreamReaderChunkReceived\x12\x0f\n\x07\x63ontent\x18\x01 \x02(\t\"@\n\x13TextStreamReaderEOS\x12)\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"s\n\x15OwnedByteStreamReader\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.ByteStreamInfo\"?\n&ByteStreamReaderReadIncrementalRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\")\n\'ByteStreamReaderReadIncrementalResponse\"Q\n\x1e\x42yteStreamReaderReadAllRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x18\n\x10request_async_id\x18\x02 \x01(\x04\"3\n\x1f\x42yteStreamReaderReadAllResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"}\n\x1f\x42yteStreamReaderReadAllCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x11\n\x07\x63ontent\x18\x02 \x01(\x0cH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\x7f\n\"ByteStreamReaderWriteToFileRequest\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x18\n\x10request_async_id\x18\x02 \x01(\x04\x12\x11\n\tdirectory\x18\x03 \x01(\t\x12\x15\n\rname_override\x18\x04 \x01(\t\"7\n#ByteStreamReaderWriteToFileResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x83\x01\n#ByteStreamReaderWriteToFileCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x13\n\tfile_path\x18\x02 \x01(\tH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\xb3\x01\n\x15\x42yteStreamReaderEvent\x12\x15\n\rreader_handle\x18\x01 \x02(\x04\x12\x46\n\x0e\x63hunk_received\x18\x02 \x01(\x0b\x32,.livekit.proto.ByteStreamReaderChunkReceivedH\x00\x12\x31\n\x03\x65os\x18\x03 \x01(\x0b\x32\".livekit.proto.ByteStreamReaderEOSH\x00\x42\x08\n\x06\x64\x65tail\"0\n\x1d\x42yteStreamReaderChunkReceived\x12\x0f\n\x07\x63ontent\x18\x01 \x02(\x0c\"@\n\x13\x42yteStreamReaderEOS\x12)\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"\x99\x01\n\x15StreamSendFileRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamByteOptions\x12\x11\n\tfile_path\x18\x03 \x02(\t\x12\x18\n\x10request_async_id\x18\x04 \x01(\x04\"*\n\x16StreamSendFileResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x90\x01\n\x16StreamSendFileCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12-\n\x04info\x18\x02 \x01(\x0b\x32\x1d.livekit.proto.ByteStreamInfoH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\x96\x01\n\x16StreamSendBytesRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamByteOptions\x12\r\n\x05\x62ytes\x18\x03 \x02(\x0c\x12\x18\n\x10request_async_id\x18\x04 \x01(\x04\"+\n\x17StreamSendBytesResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x91\x01\n\x17StreamSendBytesCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12-\n\x04info\x18\x02 \x01(\x0b\x32\x1d.livekit.proto.ByteStreamInfoH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"\x94\x01\n\x15StreamSendTextRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamTextOptions\x12\x0c\n\x04text\x18\x03 \x02(\t\x12\x18\n\x10request_async_id\x18\x04 \x01(\x04\"*\n\x16StreamSendTextResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x90\x01\n\x16StreamSendTextCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12-\n\x04info\x18\x02 \x01(\x0b\x32\x1d.livekit.proto.TextStreamInfoH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"s\n\x15OwnedByteStreamWriter\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.ByteStreamInfo\"\x86\x01\n\x15\x42yteStreamOpenRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamByteOptions\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"*\n\x16\x42yteStreamOpenResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x99\x01\n\x16\x42yteStreamOpenCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x36\n\x06writer\x18\x02 \x01(\x0b\x32$.livekit.proto.OwnedByteStreamWriterH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"^\n\x1c\x42yteStreamWriterWriteRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\r\n\x05\x62ytes\x18\x02 \x02(\x0c\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"1\n\x1d\x42yteStreamWriterWriteResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1d\x42yteStreamWriterWriteCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"_\n\x1c\x42yteStreamWriterCloseRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"1\n\x1d\x42yteStreamWriterCloseResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1d\x42yteStreamWriterCloseCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"s\n\x15OwnedTextStreamWriter\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12+\n\x04info\x18\x02 \x02(\x0b\x32\x1d.livekit.proto.TextStreamInfo\"\x86\x01\n\x15TextStreamOpenRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x31\n\x07options\x18\x02 \x02(\x0b\x32 .livekit.proto.StreamTextOptions\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"*\n\x16TextStreamOpenResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x99\x01\n\x16TextStreamOpenCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x36\n\x06writer\x18\x02 \x01(\x0b\x32$.livekit.proto.OwnedTextStreamWriterH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.StreamErrorH\x00\x42\x08\n\x06result\"]\n\x1cTextStreamWriterWriteRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\x0c\n\x04text\x18\x02 \x02(\t\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"1\n\x1dTextStreamWriterWriteResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1dTextStreamWriterWriteCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"_\n\x1cTextStreamWriterCloseRequest\x12\x15\n\rwriter_handle\x18\x01 \x02(\x04\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"1\n\x1dTextStreamWriterCloseResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\\\n\x1dTextStreamWriterCloseCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12)\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1a.livekit.proto.StreamError\"\x81\x04\n\x0eTextStreamInfo\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x11\n\tmime_type\x18\x03 \x02(\t\x12\r\n\x05topic\x18\x04 \x02(\t\x12\x14\n\x0ctotal_length\x18\x05 \x01(\x04\x12\x41\n\nattributes\x18\x06 \x03(\x0b\x32-.livekit.proto.TextStreamInfo.AttributesEntry\x12\x43\n\x0eoperation_type\x18\x07 \x02(\x0e\x32+.livekit.proto.TextStreamInfo.OperationType\x12\x0f\n\x07version\x18\x08 \x01(\x05\x12\x1a\n\x12reply_to_stream_id\x18\t \x01(\t\x12\x1b\n\x13\x61ttached_stream_ids\x18\n \x03(\t\x12\x11\n\tgenerated\x18\x0b \x01(\x08\x12\x36\n\x0f\x65ncryption_type\x18\x0c \x02(\x0e\x32\x1d.livekit.proto.EncryptionType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\rOperationType\x12\n\n\x06\x43REATE\x10\x00\x12\n\n\x06UPDATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\x0c\n\x08REACTION\x10\x03\"\xaa\x02\n\x0e\x42yteStreamInfo\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x11\n\tmime_type\x18\x03 \x02(\t\x12\r\n\x05topic\x18\x04 \x02(\t\x12\x14\n\x0ctotal_length\x18\x05 \x01(\x04\x12\x41\n\nattributes\x18\x06 \x03(\x0b\x32-.livekit.proto.ByteStreamInfo.AttributesEntry\x12\x0c\n\x04name\x18\x07 \x02(\t\x12\x36\n\x0f\x65ncryption_type\x18\x08 \x02(\x0e\x32\x1d.livekit.proto.EncryptionType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe9\x02\n\x11StreamTextOptions\x12\r\n\x05topic\x18\x01 \x02(\t\x12\x44\n\nattributes\x18\x02 \x03(\x0b\x32\x30.livekit.proto.StreamTextOptions.AttributesEntry\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\n\n\x02id\x18\x04 \x01(\t\x12\x43\n\x0eoperation_type\x18\x05 \x01(\x0e\x32+.livekit.proto.TextStreamInfo.OperationType\x12\x0f\n\x07version\x18\x06 \x01(\x05\x12\x1a\n\x12reply_to_stream_id\x18\x07 \x01(\t\x12\x1b\n\x13\x61ttached_stream_ids\x18\x08 \x03(\t\x12\x11\n\tgenerated\x18\t \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfe\x01\n\x11StreamByteOptions\x12\r\n\x05topic\x18\x01 \x02(\t\x12\x44\n\nattributes\x18\x02 \x03(\x0b\x32\x30.livekit.proto.StreamByteOptions.AttributesEntry\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\n\n\x02id\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x11\n\tmime_type\x18\x06 \x01(\t\x12\x14\n\x0ctotal_length\x18\x07 \x01(\x04\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\"\n\x0bStreamError\x12\x13\n\x0b\x64\x65scription\x18\x01 \x02(\tB\x10\xaa\x02\rLiveKit.Proto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -39,117 +39,117 @@ _globals['_TEXTSTREAMREADERREADINCREMENTALRESPONSE']._serialized_start=244 _globals['_TEXTSTREAMREADERREADINCREMENTALRESPONSE']._serialized_end=285 _globals['_TEXTSTREAMREADERREADALLREQUEST']._serialized_start=287 - _globals['_TEXTSTREAMREADERREADALLREQUEST']._serialized_end=342 - _globals['_TEXTSTREAMREADERREADALLRESPONSE']._serialized_start=344 - _globals['_TEXTSTREAMREADERREADALLRESPONSE']._serialized_end=395 - _globals['_TEXTSTREAMREADERREADALLCALLBACK']._serialized_start=397 - _globals['_TEXTSTREAMREADERREADALLCALLBACK']._serialized_end=522 - _globals['_TEXTSTREAMREADEREVENT']._serialized_start=525 - _globals['_TEXTSTREAMREADEREVENT']._serialized_end=704 - _globals['_TEXTSTREAMREADERCHUNKRECEIVED']._serialized_start=706 - _globals['_TEXTSTREAMREADERCHUNKRECEIVED']._serialized_end=754 - _globals['_TEXTSTREAMREADEREOS']._serialized_start=756 - _globals['_TEXTSTREAMREADEREOS']._serialized_end=820 - _globals['_OWNEDBYTESTREAMREADER']._serialized_start=822 - _globals['_OWNEDBYTESTREAMREADER']._serialized_end=937 - _globals['_BYTESTREAMREADERREADINCREMENTALREQUEST']._serialized_start=939 - _globals['_BYTESTREAMREADERREADINCREMENTALREQUEST']._serialized_end=1002 - _globals['_BYTESTREAMREADERREADINCREMENTALRESPONSE']._serialized_start=1004 - _globals['_BYTESTREAMREADERREADINCREMENTALRESPONSE']._serialized_end=1045 - _globals['_BYTESTREAMREADERREADALLREQUEST']._serialized_start=1047 - _globals['_BYTESTREAMREADERREADALLREQUEST']._serialized_end=1102 - _globals['_BYTESTREAMREADERREADALLRESPONSE']._serialized_start=1104 - _globals['_BYTESTREAMREADERREADALLRESPONSE']._serialized_end=1155 - _globals['_BYTESTREAMREADERREADALLCALLBACK']._serialized_start=1157 - _globals['_BYTESTREAMREADERREADALLCALLBACK']._serialized_end=1282 - _globals['_BYTESTREAMREADERWRITETOFILEREQUEST']._serialized_start=1284 - _globals['_BYTESTREAMREADERWRITETOFILEREQUEST']._serialized_end=1385 - _globals['_BYTESTREAMREADERWRITETOFILERESPONSE']._serialized_start=1387 - _globals['_BYTESTREAMREADERWRITETOFILERESPONSE']._serialized_end=1442 - _globals['_BYTESTREAMREADERWRITETOFILECALLBACK']._serialized_start=1445 - _globals['_BYTESTREAMREADERWRITETOFILECALLBACK']._serialized_end=1576 - _globals['_BYTESTREAMREADEREVENT']._serialized_start=1579 - _globals['_BYTESTREAMREADEREVENT']._serialized_end=1758 - _globals['_BYTESTREAMREADERCHUNKRECEIVED']._serialized_start=1760 - _globals['_BYTESTREAMREADERCHUNKRECEIVED']._serialized_end=1808 - _globals['_BYTESTREAMREADEREOS']._serialized_start=1810 - _globals['_BYTESTREAMREADEREOS']._serialized_end=1874 - _globals['_STREAMSENDFILEREQUEST']._serialized_start=1876 - _globals['_STREAMSENDFILEREQUEST']._serialized_end=2003 - _globals['_STREAMSENDFILERESPONSE']._serialized_start=2005 - _globals['_STREAMSENDFILERESPONSE']._serialized_end=2047 - _globals['_STREAMSENDFILECALLBACK']._serialized_start=2050 - _globals['_STREAMSENDFILECALLBACK']._serialized_end=2194 - _globals['_STREAMSENDBYTESREQUEST']._serialized_start=2196 - _globals['_STREAMSENDBYTESREQUEST']._serialized_end=2320 - _globals['_STREAMSENDBYTESRESPONSE']._serialized_start=2322 - _globals['_STREAMSENDBYTESRESPONSE']._serialized_end=2365 - _globals['_STREAMSENDBYTESCALLBACK']._serialized_start=2368 - _globals['_STREAMSENDBYTESCALLBACK']._serialized_end=2513 - _globals['_STREAMSENDTEXTREQUEST']._serialized_start=2515 - _globals['_STREAMSENDTEXTREQUEST']._serialized_end=2637 - _globals['_STREAMSENDTEXTRESPONSE']._serialized_start=2639 - _globals['_STREAMSENDTEXTRESPONSE']._serialized_end=2681 - _globals['_STREAMSENDTEXTCALLBACK']._serialized_start=2684 - _globals['_STREAMSENDTEXTCALLBACK']._serialized_end=2828 - _globals['_OWNEDBYTESTREAMWRITER']._serialized_start=2830 - _globals['_OWNEDBYTESTREAMWRITER']._serialized_end=2945 - _globals['_BYTESTREAMOPENREQUEST']._serialized_start=2947 - _globals['_BYTESTREAMOPENREQUEST']._serialized_end=3055 - _globals['_BYTESTREAMOPENRESPONSE']._serialized_start=3057 - _globals['_BYTESTREAMOPENRESPONSE']._serialized_end=3099 - _globals['_BYTESTREAMOPENCALLBACK']._serialized_start=3102 - _globals['_BYTESTREAMOPENCALLBACK']._serialized_end=3255 - _globals['_BYTESTREAMWRITERWRITEREQUEST']._serialized_start=3257 - _globals['_BYTESTREAMWRITERWRITEREQUEST']._serialized_end=3325 - _globals['_BYTESTREAMWRITERWRITERESPONSE']._serialized_start=3327 - _globals['_BYTESTREAMWRITERWRITERESPONSE']._serialized_end=3376 - _globals['_BYTESTREAMWRITERWRITECALLBACK']._serialized_start=3378 - _globals['_BYTESTREAMWRITERWRITECALLBACK']._serialized_end=3470 - _globals['_BYTESTREAMWRITERCLOSEREQUEST']._serialized_start=3472 - _globals['_BYTESTREAMWRITERCLOSEREQUEST']._serialized_end=3541 - _globals['_BYTESTREAMWRITERCLOSERESPONSE']._serialized_start=3543 - _globals['_BYTESTREAMWRITERCLOSERESPONSE']._serialized_end=3592 - _globals['_BYTESTREAMWRITERCLOSECALLBACK']._serialized_start=3594 - _globals['_BYTESTREAMWRITERCLOSECALLBACK']._serialized_end=3686 - _globals['_OWNEDTEXTSTREAMWRITER']._serialized_start=3688 - _globals['_OWNEDTEXTSTREAMWRITER']._serialized_end=3803 - _globals['_TEXTSTREAMOPENREQUEST']._serialized_start=3805 - _globals['_TEXTSTREAMOPENREQUEST']._serialized_end=3913 - _globals['_TEXTSTREAMOPENRESPONSE']._serialized_start=3915 - _globals['_TEXTSTREAMOPENRESPONSE']._serialized_end=3957 - _globals['_TEXTSTREAMOPENCALLBACK']._serialized_start=3960 - _globals['_TEXTSTREAMOPENCALLBACK']._serialized_end=4113 - _globals['_TEXTSTREAMWRITERWRITEREQUEST']._serialized_start=4115 - _globals['_TEXTSTREAMWRITERWRITEREQUEST']._serialized_end=4182 - _globals['_TEXTSTREAMWRITERWRITERESPONSE']._serialized_start=4184 - _globals['_TEXTSTREAMWRITERWRITERESPONSE']._serialized_end=4233 - _globals['_TEXTSTREAMWRITERWRITECALLBACK']._serialized_start=4235 - _globals['_TEXTSTREAMWRITERWRITECALLBACK']._serialized_end=4327 - _globals['_TEXTSTREAMWRITERCLOSEREQUEST']._serialized_start=4329 - _globals['_TEXTSTREAMWRITERCLOSEREQUEST']._serialized_end=4398 - _globals['_TEXTSTREAMWRITERCLOSERESPONSE']._serialized_start=4400 - _globals['_TEXTSTREAMWRITERCLOSERESPONSE']._serialized_end=4449 - _globals['_TEXTSTREAMWRITERCLOSECALLBACK']._serialized_start=4451 - _globals['_TEXTSTREAMWRITERCLOSECALLBACK']._serialized_end=4543 - _globals['_TEXTSTREAMINFO']._serialized_start=4546 - _globals['_TEXTSTREAMINFO']._serialized_end=5059 - _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._serialized_start=4943 - _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._serialized_end=4992 - _globals['_TEXTSTREAMINFO_OPERATIONTYPE']._serialized_start=4994 - _globals['_TEXTSTREAMINFO_OPERATIONTYPE']._serialized_end=5059 - _globals['_BYTESTREAMINFO']._serialized_start=5062 - _globals['_BYTESTREAMINFO']._serialized_end=5360 - _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._serialized_start=4943 - _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._serialized_end=4992 - _globals['_STREAMTEXTOPTIONS']._serialized_start=5363 - _globals['_STREAMTEXTOPTIONS']._serialized_end=5724 - _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._serialized_start=4943 - _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._serialized_end=4992 - _globals['_STREAMBYTEOPTIONS']._serialized_start=5727 - _globals['_STREAMBYTEOPTIONS']._serialized_end=5981 - _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._serialized_start=4943 - _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._serialized_end=4992 - _globals['_STREAMERROR']._serialized_start=5983 - _globals['_STREAMERROR']._serialized_end=6017 + _globals['_TEXTSTREAMREADERREADALLREQUEST']._serialized_end=368 + _globals['_TEXTSTREAMREADERREADALLRESPONSE']._serialized_start=370 + _globals['_TEXTSTREAMREADERREADALLRESPONSE']._serialized_end=421 + _globals['_TEXTSTREAMREADERREADALLCALLBACK']._serialized_start=423 + _globals['_TEXTSTREAMREADERREADALLCALLBACK']._serialized_end=548 + _globals['_TEXTSTREAMREADEREVENT']._serialized_start=551 + _globals['_TEXTSTREAMREADEREVENT']._serialized_end=730 + _globals['_TEXTSTREAMREADERCHUNKRECEIVED']._serialized_start=732 + _globals['_TEXTSTREAMREADERCHUNKRECEIVED']._serialized_end=780 + _globals['_TEXTSTREAMREADEREOS']._serialized_start=782 + _globals['_TEXTSTREAMREADEREOS']._serialized_end=846 + _globals['_OWNEDBYTESTREAMREADER']._serialized_start=848 + _globals['_OWNEDBYTESTREAMREADER']._serialized_end=963 + _globals['_BYTESTREAMREADERREADINCREMENTALREQUEST']._serialized_start=965 + _globals['_BYTESTREAMREADERREADINCREMENTALREQUEST']._serialized_end=1028 + _globals['_BYTESTREAMREADERREADINCREMENTALRESPONSE']._serialized_start=1030 + _globals['_BYTESTREAMREADERREADINCREMENTALRESPONSE']._serialized_end=1071 + _globals['_BYTESTREAMREADERREADALLREQUEST']._serialized_start=1073 + _globals['_BYTESTREAMREADERREADALLREQUEST']._serialized_end=1154 + _globals['_BYTESTREAMREADERREADALLRESPONSE']._serialized_start=1156 + _globals['_BYTESTREAMREADERREADALLRESPONSE']._serialized_end=1207 + _globals['_BYTESTREAMREADERREADALLCALLBACK']._serialized_start=1209 + _globals['_BYTESTREAMREADERREADALLCALLBACK']._serialized_end=1334 + _globals['_BYTESTREAMREADERWRITETOFILEREQUEST']._serialized_start=1336 + _globals['_BYTESTREAMREADERWRITETOFILEREQUEST']._serialized_end=1463 + _globals['_BYTESTREAMREADERWRITETOFILERESPONSE']._serialized_start=1465 + _globals['_BYTESTREAMREADERWRITETOFILERESPONSE']._serialized_end=1520 + _globals['_BYTESTREAMREADERWRITETOFILECALLBACK']._serialized_start=1523 + _globals['_BYTESTREAMREADERWRITETOFILECALLBACK']._serialized_end=1654 + _globals['_BYTESTREAMREADEREVENT']._serialized_start=1657 + _globals['_BYTESTREAMREADEREVENT']._serialized_end=1836 + _globals['_BYTESTREAMREADERCHUNKRECEIVED']._serialized_start=1838 + _globals['_BYTESTREAMREADERCHUNKRECEIVED']._serialized_end=1886 + _globals['_BYTESTREAMREADEREOS']._serialized_start=1888 + _globals['_BYTESTREAMREADEREOS']._serialized_end=1952 + _globals['_STREAMSENDFILEREQUEST']._serialized_start=1955 + _globals['_STREAMSENDFILEREQUEST']._serialized_end=2108 + _globals['_STREAMSENDFILERESPONSE']._serialized_start=2110 + _globals['_STREAMSENDFILERESPONSE']._serialized_end=2152 + _globals['_STREAMSENDFILECALLBACK']._serialized_start=2155 + _globals['_STREAMSENDFILECALLBACK']._serialized_end=2299 + _globals['_STREAMSENDBYTESREQUEST']._serialized_start=2302 + _globals['_STREAMSENDBYTESREQUEST']._serialized_end=2452 + _globals['_STREAMSENDBYTESRESPONSE']._serialized_start=2454 + _globals['_STREAMSENDBYTESRESPONSE']._serialized_end=2497 + _globals['_STREAMSENDBYTESCALLBACK']._serialized_start=2500 + _globals['_STREAMSENDBYTESCALLBACK']._serialized_end=2645 + _globals['_STREAMSENDTEXTREQUEST']._serialized_start=2648 + _globals['_STREAMSENDTEXTREQUEST']._serialized_end=2796 + _globals['_STREAMSENDTEXTRESPONSE']._serialized_start=2798 + _globals['_STREAMSENDTEXTRESPONSE']._serialized_end=2840 + _globals['_STREAMSENDTEXTCALLBACK']._serialized_start=2843 + _globals['_STREAMSENDTEXTCALLBACK']._serialized_end=2987 + _globals['_OWNEDBYTESTREAMWRITER']._serialized_start=2989 + _globals['_OWNEDBYTESTREAMWRITER']._serialized_end=3104 + _globals['_BYTESTREAMOPENREQUEST']._serialized_start=3107 + _globals['_BYTESTREAMOPENREQUEST']._serialized_end=3241 + _globals['_BYTESTREAMOPENRESPONSE']._serialized_start=3243 + _globals['_BYTESTREAMOPENRESPONSE']._serialized_end=3285 + _globals['_BYTESTREAMOPENCALLBACK']._serialized_start=3288 + _globals['_BYTESTREAMOPENCALLBACK']._serialized_end=3441 + _globals['_BYTESTREAMWRITERWRITEREQUEST']._serialized_start=3443 + _globals['_BYTESTREAMWRITERWRITEREQUEST']._serialized_end=3537 + _globals['_BYTESTREAMWRITERWRITERESPONSE']._serialized_start=3539 + _globals['_BYTESTREAMWRITERWRITERESPONSE']._serialized_end=3588 + _globals['_BYTESTREAMWRITERWRITECALLBACK']._serialized_start=3590 + _globals['_BYTESTREAMWRITERWRITECALLBACK']._serialized_end=3682 + _globals['_BYTESTREAMWRITERCLOSEREQUEST']._serialized_start=3684 + _globals['_BYTESTREAMWRITERCLOSEREQUEST']._serialized_end=3779 + _globals['_BYTESTREAMWRITERCLOSERESPONSE']._serialized_start=3781 + _globals['_BYTESTREAMWRITERCLOSERESPONSE']._serialized_end=3830 + _globals['_BYTESTREAMWRITERCLOSECALLBACK']._serialized_start=3832 + _globals['_BYTESTREAMWRITERCLOSECALLBACK']._serialized_end=3924 + _globals['_OWNEDTEXTSTREAMWRITER']._serialized_start=3926 + _globals['_OWNEDTEXTSTREAMWRITER']._serialized_end=4041 + _globals['_TEXTSTREAMOPENREQUEST']._serialized_start=4044 + _globals['_TEXTSTREAMOPENREQUEST']._serialized_end=4178 + _globals['_TEXTSTREAMOPENRESPONSE']._serialized_start=4180 + _globals['_TEXTSTREAMOPENRESPONSE']._serialized_end=4222 + _globals['_TEXTSTREAMOPENCALLBACK']._serialized_start=4225 + _globals['_TEXTSTREAMOPENCALLBACK']._serialized_end=4378 + _globals['_TEXTSTREAMWRITERWRITEREQUEST']._serialized_start=4380 + _globals['_TEXTSTREAMWRITERWRITEREQUEST']._serialized_end=4473 + _globals['_TEXTSTREAMWRITERWRITERESPONSE']._serialized_start=4475 + _globals['_TEXTSTREAMWRITERWRITERESPONSE']._serialized_end=4524 + _globals['_TEXTSTREAMWRITERWRITECALLBACK']._serialized_start=4526 + _globals['_TEXTSTREAMWRITERWRITECALLBACK']._serialized_end=4618 + _globals['_TEXTSTREAMWRITERCLOSEREQUEST']._serialized_start=4620 + _globals['_TEXTSTREAMWRITERCLOSEREQUEST']._serialized_end=4715 + _globals['_TEXTSTREAMWRITERCLOSERESPONSE']._serialized_start=4717 + _globals['_TEXTSTREAMWRITERCLOSERESPONSE']._serialized_end=4766 + _globals['_TEXTSTREAMWRITERCLOSECALLBACK']._serialized_start=4768 + _globals['_TEXTSTREAMWRITERCLOSECALLBACK']._serialized_end=4860 + _globals['_TEXTSTREAMINFO']._serialized_start=4863 + _globals['_TEXTSTREAMINFO']._serialized_end=5376 + _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._serialized_start=5260 + _globals['_TEXTSTREAMINFO_ATTRIBUTESENTRY']._serialized_end=5309 + _globals['_TEXTSTREAMINFO_OPERATIONTYPE']._serialized_start=5311 + _globals['_TEXTSTREAMINFO_OPERATIONTYPE']._serialized_end=5376 + _globals['_BYTESTREAMINFO']._serialized_start=5379 + _globals['_BYTESTREAMINFO']._serialized_end=5677 + _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._serialized_start=5260 + _globals['_BYTESTREAMINFO_ATTRIBUTESENTRY']._serialized_end=5309 + _globals['_STREAMTEXTOPTIONS']._serialized_start=5680 + _globals['_STREAMTEXTOPTIONS']._serialized_end=6041 + _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._serialized_start=5260 + _globals['_STREAMTEXTOPTIONS_ATTRIBUTESENTRY']._serialized_end=5309 + _globals['_STREAMBYTEOPTIONS']._serialized_start=6044 + _globals['_STREAMBYTEOPTIONS']._serialized_end=6298 + _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._serialized_start=5260 + _globals['_STREAMBYTEOPTIONS_ATTRIBUTESENTRY']._serialized_end=5309 + _globals['_STREAMERROR']._serialized_start=6300 + _globals['_STREAMERROR']._serialized_end=6334 # @@protoc_insertion_point(module_scope) diff --git a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi index 7771be01..e68dc45f 100644 --- a/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/data_stream_pb2.pyi @@ -95,14 +95,17 @@ class TextStreamReaderReadAllRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor READER_HANDLE_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int reader_handle: builtins.int + request_async_id: builtins.int def __init__( self, *, reader_handle: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle", "request_async_id", b"request_async_id"]) -> None: ... global___TextStreamReaderReadAllRequest = TextStreamReaderReadAllRequest @@ -265,14 +268,17 @@ class ByteStreamReaderReadAllRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor READER_HANDLE_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int reader_handle: builtins.int + request_async_id: builtins.int def __init__( self, *, reader_handle: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["reader_handle", b"reader_handle", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["reader_handle", b"reader_handle", "request_async_id", b"request_async_id"]) -> None: ... global___ByteStreamReaderReadAllRequest = ByteStreamReaderReadAllRequest @@ -323,9 +329,11 @@ class ByteStreamReaderWriteToFileRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor READER_HANDLE_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int DIRECTORY_FIELD_NUMBER: builtins.int NAME_OVERRIDE_FIELD_NUMBER: builtins.int reader_handle: builtins.int + request_async_id: builtins.int directory: builtins.str """Directory to write the file in (must be writable by the current process). If not provided, the file will be written to the system's temp directory. @@ -339,11 +347,12 @@ class ByteStreamReaderWriteToFileRequest(google.protobuf.message.Message): self, *, reader_handle: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., directory: builtins.str | None = ..., name_override: builtins.str | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["directory", b"directory", "name_override", b"name_override", "reader_handle", b"reader_handle", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["directory", b"directory", "name_override", b"name_override", "reader_handle", b"reader_handle", "request_async_id", b"request_async_id"]) -> None: ... global___ByteStreamReaderWriteToFileRequest = ByteStreamReaderWriteToFileRequest @@ -458,9 +467,11 @@ class StreamSendFileRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int FILE_PATH_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int file_path: builtins.str """Path of the file to send (must be readable by the current process).""" + request_async_id: builtins.int @property def options(self) -> global___StreamByteOptions: ... def __init__( @@ -469,9 +480,10 @@ class StreamSendFileRequest(google.protobuf.message.Message): local_participant_handle: builtins.int | None = ..., options: global___StreamByteOptions | None = ..., file_path: builtins.str | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["file_path", b"file_path", "local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["file_path", b"file_path", "local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> None: ... global___StreamSendFileRequest = StreamSendFileRequest @@ -528,9 +540,11 @@ class StreamSendBytesRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int BYTES_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int bytes: builtins.bytes """Bytes to send.""" + request_async_id: builtins.int @property def options(self) -> global___StreamByteOptions: ... def __init__( @@ -539,9 +553,10 @@ class StreamSendBytesRequest(google.protobuf.message.Message): local_participant_handle: builtins.int | None = ..., options: global___StreamByteOptions | None = ..., bytes: builtins.bytes | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["bytes", b"bytes", "local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> None: ... global___StreamSendBytesRequest = StreamSendBytesRequest @@ -598,9 +613,11 @@ class StreamSendTextRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int TEXT_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int text: builtins.str """Text to send.""" + request_async_id: builtins.int @property def options(self) -> global___StreamTextOptions: ... def __init__( @@ -609,9 +626,10 @@ class StreamSendTextRequest(google.protobuf.message.Message): local_participant_handle: builtins.int | None = ..., options: global___StreamTextOptions | None = ..., text: builtins.str | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id", "text", b"text"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id", "text", b"text"]) -> None: ... global___StreamSendTextRequest = StreamSendTextRequest @@ -689,7 +707,9 @@ class ByteStreamOpenRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int + request_async_id: builtins.int @property def options(self) -> global___StreamByteOptions: """Options to use for opening the stream.""" @@ -699,9 +719,10 @@ class ByteStreamOpenRequest(google.protobuf.message.Message): *, local_participant_handle: builtins.int | None = ..., options: global___StreamByteOptions | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> None: ... global___ByteStreamOpenRequest = ByteStreamOpenRequest @@ -754,16 +775,19 @@ class ByteStreamWriterWriteRequest(google.protobuf.message.Message): WRITER_HANDLE_FIELD_NUMBER: builtins.int BYTES_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int writer_handle: builtins.int bytes: builtins.bytes + request_async_id: builtins.int def __init__( self, *, writer_handle: builtins.int | None = ..., bytes: builtins.bytes | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["bytes", b"bytes", "request_async_id", b"request_async_id", "writer_handle", b"writer_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["bytes", b"bytes", "request_async_id", b"request_async_id", "writer_handle", b"writer_handle"]) -> None: ... global___ByteStreamWriterWriteRequest = ByteStreamWriterWriteRequest @@ -811,16 +835,19 @@ class ByteStreamWriterCloseRequest(google.protobuf.message.Message): WRITER_HANDLE_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int writer_handle: builtins.int reason: builtins.str + request_async_id: builtins.int def __init__( self, *, writer_handle: builtins.int | None = ..., reason: builtins.str | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["reason", b"reason", "request_async_id", b"request_async_id", "writer_handle", b"writer_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["reason", b"reason", "request_async_id", b"request_async_id", "writer_handle", b"writer_handle"]) -> None: ... global___ByteStreamWriterCloseRequest = ByteStreamWriterCloseRequest @@ -893,7 +920,9 @@ class TextStreamOpenRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int + request_async_id: builtins.int @property def options(self) -> global___StreamTextOptions: """Options to use for opening the stream.""" @@ -903,9 +932,10 @@ class TextStreamOpenRequest(google.protobuf.message.Message): *, local_participant_handle: builtins.int | None = ..., options: global___StreamTextOptions | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id"]) -> None: ... global___TextStreamOpenRequest = TextStreamOpenRequest @@ -958,16 +988,19 @@ class TextStreamWriterWriteRequest(google.protobuf.message.Message): WRITER_HANDLE_FIELD_NUMBER: builtins.int TEXT_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int writer_handle: builtins.int text: builtins.str + request_async_id: builtins.int def __init__( self, *, writer_handle: builtins.int | None = ..., text: builtins.str | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "text", b"text", "writer_handle", b"writer_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "text", b"text", "writer_handle", b"writer_handle"]) -> None: ... global___TextStreamWriterWriteRequest = TextStreamWriterWriteRequest @@ -1015,16 +1048,19 @@ class TextStreamWriterCloseRequest(google.protobuf.message.Message): WRITER_HANDLE_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int writer_handle: builtins.int reason: builtins.str + request_async_id: builtins.int def __init__( self, *, writer_handle: builtins.int | None = ..., reason: builtins.str | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["reason", b"reason", "request_async_id", b"request_async_id", "writer_handle", b"writer_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["reason", b"reason", "request_async_id", b"request_async_id", "writer_handle", b"writer_handle"]) -> None: ... global___TextStreamWriterCloseRequest = TextStreamWriterCloseRequest diff --git a/livekit-rtc/livekit/rtc/_proto/participant_pb2.py b/livekit-rtc/livekit/rtc/_proto/participant_pb2.py index d12985d0..6bd57d7b 100644 --- a/livekit-rtc/livekit/rtc/_proto/participant_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/participant_pb2.py @@ -13,9 +13,10 @@ from . import handle_pb2 as handle__pb2 +from . import track_pb2 as track__pb2 -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') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11participant.proto\x12\rlivekit.proto\x1a\x0chandle.proto\x1a\x0btrack.proto\"\xa7\x03\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\x12\x38\n\npermission\x18\t \x01(\x0b\x32$.livekit.proto.ParticipantPermission\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\"\x84\x02\n\x15ParticipantPermission\x12\x15\n\rcan_subscribe\x18\x01 \x02(\x08\x12\x13\n\x0b\x63\x61n_publish\x18\x02 \x02(\x08\x12\x18\n\x10\x63\x61n_publish_data\x18\x03 \x02(\x08\x12\x37\n\x13\x63\x61n_publish_sources\x18\t \x03(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x0e\n\x06hidden\x18\x07 \x02(\x08\x12\x1b\n\x13\x63\x61n_update_metadata\x18\n \x02(\x08\x12\x1d\n\x15\x63\x61n_subscribe_metrics\x18\x0c \x02(\x08\x12 \n\x18\x63\x61n_manage_agent_session\x18\r \x02(\x08*\xde\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\x12\x1b\n\x17PARTICIPANT_KIND_BRIDGE\x10\x06*\xee\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\x12\'\n#PARTICIPANT_KIND_DETAIL_BRIDGE_RTSP\x10\x04*\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) @@ -25,16 +26,18 @@ _globals['DESCRIPTOR']._serialized_options = b'\252\002\rLiveKit.Proto' _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._options = None _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_options = b'8\001' - _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=416 - _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_start=367 - _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_end=416 - _globals['_OWNEDPARTICIPANT']._serialized_start=418 - _globals['_OWNEDPARTICIPANT']._serialized_end=529 + _globals['_PARTICIPANTKIND']._serialized_start=866 + _globals['_PARTICIPANTKIND']._serialized_end=1088 + _globals['_PARTICIPANTKINDDETAIL']._serialized_start=1091 + _globals['_PARTICIPANTKINDDETAIL']._serialized_end=1329 + _globals['_DISCONNECTREASON']._serialized_start=1332 + _globals['_DISCONNECTREASON']._serialized_end=1675 + _globals['_PARTICIPANTINFO']._serialized_start=64 + _globals['_PARTICIPANTINFO']._serialized_end=487 + _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_start=438 + _globals['_PARTICIPANTINFO_ATTRIBUTESENTRY']._serialized_end=487 + _globals['_OWNEDPARTICIPANT']._serialized_start=489 + _globals['_OWNEDPARTICIPANT']._serialized_end=600 + _globals['_PARTICIPANTPERMISSION']._serialized_start=603 + _globals['_PARTICIPANTPERMISSION']._serialized_end=863 # @@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 a35cc397..c7ce6d15 100644 --- a/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/participant_pb2.pyi @@ -24,6 +24,7 @@ import google.protobuf.internal.enum_type_wrapper import google.protobuf.message from . import handle_pb2 import sys +from . import track_pb2 import typing if sys.version_info >= (3, 10): @@ -45,6 +46,7 @@ class _ParticipantKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper PARTICIPANT_KIND_SIP: _ParticipantKind.ValueType # 3 PARTICIPANT_KIND_AGENT: _ParticipantKind.ValueType # 4 PARTICIPANT_KIND_CONNECTOR: _ParticipantKind.ValueType # 5 + PARTICIPANT_KIND_BRIDGE: _ParticipantKind.ValueType # 6 class ParticipantKind(_ParticipantKind, metaclass=_ParticipantKindEnumTypeWrapper): ... @@ -54,6 +56,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 +PARTICIPANT_KIND_BRIDGE: ParticipantKind.ValueType # 6 global___ParticipantKind = ParticipantKind class _ParticipantKindDetail: @@ -66,6 +69,7 @@ class _ParticipantKindDetailEnumTypeWrapper(google.protobuf.internal.enum_type_w PARTICIPANT_KIND_DETAIL_FORWARDED: _ParticipantKindDetail.ValueType # 1 PARTICIPANT_KIND_DETAIL_CONNECTOR_WHATSAPP: _ParticipantKindDetail.ValueType # 2 PARTICIPANT_KIND_DETAIL_CONNECTOR_TWILIO: _ParticipantKindDetail.ValueType # 3 + PARTICIPANT_KIND_DETAIL_BRIDGE_RTSP: _ParticipantKindDetail.ValueType # 4 class ParticipantKindDetail(_ParticipantKindDetail, metaclass=_ParticipantKindDetailEnumTypeWrapper): ... @@ -73,6 +77,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 +PARTICIPANT_KIND_DETAIL_BRIDGE_RTSP: ParticipantKindDetail.ValueType # 4 global___ParticipantKindDetail = ParticipantKindDetail class _DisconnectReason: @@ -173,6 +178,7 @@ class ParticipantInfo(google.protobuf.message.Message): KIND_FIELD_NUMBER: builtins.int DISCONNECT_REASON_FIELD_NUMBER: builtins.int KIND_DETAILS_FIELD_NUMBER: builtins.int + PERMISSION_FIELD_NUMBER: builtins.int sid: builtins.str name: builtins.str identity: builtins.str @@ -183,6 +189,8 @@ class ParticipantInfo(google.protobuf.message.Message): 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]: ... + @property + def permission(self) -> global___ParticipantPermission: ... def __init__( self, *, @@ -194,9 +202,10 @@ class ParticipantInfo(google.protobuf.message.Message): kind: global___ParticipantKind.ValueType | None = ..., disconnect_reason: global___DisconnectReason.ValueType | None = ..., kind_details: collections.abc.Iterable[global___ParticipantKindDetail.ValueType] | None = ..., + permission: global___ParticipantPermission | 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: ... + def HasField(self, field_name: typing.Literal["disconnect_reason", b"disconnect_reason", "identity", b"identity", "kind", b"kind", "metadata", b"metadata", "name", b"name", "permission", b"permission", "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", "permission", b"permission", "sid", b"sid"]) -> None: ... global___ParticipantInfo = ParticipantInfo @@ -220,3 +229,52 @@ class OwnedParticipant(google.protobuf.message.Message): def ClearField(self, field_name: typing.Literal["handle", b"handle", "info", b"info"]) -> None: ... global___OwnedParticipant = OwnedParticipant + +@typing.final +class ParticipantPermission(google.protobuf.message.Message): + """copied from livekit-protocol/protocol/protobufs/livekit_models.proto and removed deprecated fields""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CAN_SUBSCRIBE_FIELD_NUMBER: builtins.int + CAN_PUBLISH_FIELD_NUMBER: builtins.int + CAN_PUBLISH_DATA_FIELD_NUMBER: builtins.int + CAN_PUBLISH_SOURCES_FIELD_NUMBER: builtins.int + HIDDEN_FIELD_NUMBER: builtins.int + CAN_UPDATE_METADATA_FIELD_NUMBER: builtins.int + CAN_SUBSCRIBE_METRICS_FIELD_NUMBER: builtins.int + CAN_MANAGE_AGENT_SESSION_FIELD_NUMBER: builtins.int + can_subscribe: builtins.bool + """allow participant to subscribe to other tracks in the room""" + can_publish: builtins.bool + """allow participant to publish new tracks to room""" + can_publish_data: builtins.bool + """allow participant to publish data""" + hidden: builtins.bool + """indicates that it's hidden to others""" + can_update_metadata: builtins.bool + """indicates that participant can update own metadata and attributes""" + can_subscribe_metrics: builtins.bool + """if a participant can subscribe to metrics""" + can_manage_agent_session: builtins.bool + """if a participant can manage an agent session via RemoteSession (control and access state)""" + @property + def can_publish_sources(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[track_pb2.TrackSource.ValueType]: + """sources that are allowed to be published""" + + def __init__( + self, + *, + can_subscribe: builtins.bool | None = ..., + can_publish: builtins.bool | None = ..., + can_publish_data: builtins.bool | None = ..., + can_publish_sources: collections.abc.Iterable[track_pb2.TrackSource.ValueType] | None = ..., + hidden: builtins.bool | None = ..., + can_update_metadata: builtins.bool | None = ..., + can_subscribe_metrics: builtins.bool | None = ..., + can_manage_agent_session: builtins.bool | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["can_manage_agent_session", b"can_manage_agent_session", "can_publish", b"can_publish", "can_publish_data", b"can_publish_data", "can_subscribe", b"can_subscribe", "can_subscribe_metrics", b"can_subscribe_metrics", "can_update_metadata", b"can_update_metadata", "hidden", b"hidden"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["can_manage_agent_session", b"can_manage_agent_session", "can_publish", b"can_publish", "can_publish_data", b"can_publish_data", "can_publish_sources", b"can_publish_sources", "can_subscribe", b"can_subscribe", "can_subscribe_metrics", b"can_subscribe_metrics", "can_update_metadata", b"can_update_metadata", "hidden", b"hidden"]) -> None: ... + +global___ParticipantPermission = ParticipantPermission diff --git a/livekit-rtc/livekit/rtc/_proto/room_pb2.py b/livekit-rtc/livekit/rtc/_proto/room_pb2.py index 5bf06771..0c407121 100644 --- a/livekit-rtc/livekit/rtc/_proto/room_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/room_pb2.py @@ -21,7 +21,7 @@ from . import data_stream_pb2 as data__stream__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nroom.proto\x12\rlivekit.proto\x1a\ne2ee.proto\x1a\x0chandle.proto\x1a\x11participant.proto\x1a\x0btrack.proto\x1a\x11video_frame.proto\x1a\x0bstats.proto\x1a\x11\x64\x61ta_stream.proto\"Y\n\x0e\x43onnectRequest\x12\x0b\n\x03url\x18\x01 \x02(\t\x12\r\n\x05token\x18\x02 \x02(\t\x12+\n\x07options\x18\x03 \x02(\x0b\x32\x1a.livekit.proto.RoomOptions\"#\n\x0f\x43onnectResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\xbf\x03\n\x0f\x43onnectCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12\x37\n\x06result\x18\x03 \x01(\x0b\x32%.livekit.proto.ConnectCallback.ResultH\x00\x1a\x89\x01\n\x15ParticipantWithTracks\x12\x34\n\x0bparticipant\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedParticipant\x12:\n\x0cpublications\x18\x02 \x03(\x0b\x32$.livekit.proto.OwnedTrackPublication\x1a\xb8\x01\n\x06Result\x12&\n\x04room\x18\x01 \x02(\x0b\x32\x18.livekit.proto.OwnedRoom\x12:\n\x11local_participant\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.OwnedParticipant\x12J\n\x0cparticipants\x18\x03 \x03(\x0b\x32\x34.livekit.proto.ConnectCallback.ParticipantWithTracksB\t\n\x07message\"(\n\x11\x44isconnectRequest\x12\x13\n\x0broom_handle\x18\x01 \x02(\x04\"&\n\x12\x44isconnectResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"&\n\x12\x44isconnectCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x82\x01\n\x13PublishTrackRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x14\n\x0ctrack_handle\x18\x02 \x02(\x04\x12\x33\n\x07options\x18\x03 \x02(\x0b\x32\".livekit.proto.TrackPublishOptions\"(\n\x14PublishTrackResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x81\x01\n\x14PublishTrackCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12;\n\x0bpublication\x18\x03 \x01(\x0b\x32$.livekit.proto.OwnedTrackPublicationH\x00\x42\t\n\x07message\"g\n\x15UnpublishTrackRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\x12\x19\n\x11stop_on_unpublish\x18\x03 \x02(\x08\"*\n\x16UnpublishTrackResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"9\n\x16UnpublishTrackCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\xb9\x01\n\x12PublishDataRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x10\n\x08\x64\x61ta_len\x18\x03 \x02(\x04\x12\x10\n\x08reliable\x18\x04 \x02(\x08\x12\x1c\n\x10\x64\x65stination_sids\x18\x05 \x03(\tB\x02\x18\x01\x12\r\n\x05topic\x18\x06 \x01(\t\x12\x1e\n\x16\x64\x65stination_identities\x18\x07 \x03(\t\"\'\n\x13PublishDataResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"6\n\x13PublishDataCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\xa6\x01\n\x1bPublishTranscriptionRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\x12\x10\n\x08track_id\x18\x03 \x02(\t\x12\x35\n\x08segments\x18\x04 \x03(\x0b\x32#.livekit.proto.TranscriptionSegment\"0\n\x1cPublishTranscriptionResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"?\n\x1cPublishTranscriptionCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"v\n\x15PublishSipDtmfRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0c\n\x04\x63ode\x18\x02 \x02(\r\x12\r\n\x05\x64igit\x18\x03 \x02(\t\x12\x1e\n\x16\x64\x65stination_identities\x18\x04 \x03(\t\"*\n\x16PublishSipDtmfResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"9\n\x16PublishSipDtmfCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"M\n\x17SetLocalMetadataRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x10\n\x08metadata\x18\x02 \x02(\t\",\n\x18SetLocalMetadataResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\";\n\x18SetLocalMetadataCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x84\x01\n\x16SendChatMessageRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0f\n\x07message\x18\x02 \x02(\t\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x01(\t\"\xbc\x01\n\x16\x45\x64itChatMessageRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x11\n\tedit_text\x18\x02 \x02(\t\x12\x34\n\x10original_message\x18\x03 \x02(\x0b\x32\x1a.livekit.proto.ChatMessage\x12\x1e\n\x16\x64\x65stination_identities\x18\x04 \x03(\t\x12\x17\n\x0fsender_identity\x18\x05 \x01(\t\"+\n\x17SendChatMessageResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"{\n\x17SendChatMessageCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12\x32\n\x0c\x63hat_message\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.ChatMessageH\x00\x42\t\n\x07message\"q\n\x19SetLocalAttributesRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x32\n\nattributes\x18\x02 \x03(\x0b\x32\x1e.livekit.proto.AttributesEntry\"-\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\".\n\x1aSetLocalAttributesResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"=\n\x1aSetLocalAttributesCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"E\n\x13SetLocalNameRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0c\n\x04name\x18\x02 \x02(\t\"(\n\x14SetLocalNameResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"7\n\x14SetLocalNameCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"E\n\x14SetSubscribedRequest\x12\x11\n\tsubscribe\x18\x01 \x02(\x08\x12\x1a\n\x12publication_handle\x18\x02 \x02(\x04\"\x17\n\x15SetSubscribedResponse\"-\n\x16GetSessionStatsRequest\x12\x13\n\x0broom_handle\x18\x01 \x02(\x04\"+\n\x17GetSessionStatsResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\xf7\x01\n\x17GetSessionStatsCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12?\n\x06result\x18\x03 \x01(\x0b\x32-.livekit.proto.GetSessionStatsCallback.ResultH\x00\x1am\n\x06Result\x12\x30\n\x0fpublisher_stats\x18\x01 \x03(\x0b\x32\x17.livekit.proto.RtcStats\x12\x31\n\x10subscriber_stats\x18\x02 \x03(\x0b\x32\x17.livekit.proto.RtcStatsB\t\n\x07message\";\n\rVideoEncoding\x12\x13\n\x0bmax_bitrate\x18\x01 \x02(\x04\x12\x15\n\rmax_framerate\x18\x02 \x02(\x01\"$\n\rAudioEncoding\x12\x13\n\x0bmax_bitrate\x18\x01 \x02(\x04\"\xb5\x02\n\x13TrackPublishOptions\x12\x34\n\x0evideo_encoding\x18\x01 \x01(\x0b\x32\x1c.livekit.proto.VideoEncoding\x12\x34\n\x0e\x61udio_encoding\x18\x02 \x01(\x0b\x32\x1c.livekit.proto.AudioEncoding\x12.\n\x0bvideo_codec\x18\x03 \x01(\x0e\x32\x19.livekit.proto.VideoCodec\x12\x0b\n\x03\x64tx\x18\x04 \x01(\x08\x12\x0b\n\x03red\x18\x05 \x01(\x08\x12\x11\n\tsimulcast\x18\x06 \x01(\x08\x12*\n\x06source\x18\x07 \x01(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x0e\n\x06stream\x18\x08 \x01(\t\x12\x19\n\x11preconnect_buffer\x18\t \x01(\x08\"=\n\tIceServer\x12\x0c\n\x04urls\x18\x01 \x03(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08password\x18\x03 \x01(\t\"\xc4\x01\n\tRtcConfig\x12;\n\x12ice_transport_type\x18\x01 \x01(\x0e\x32\x1f.livekit.proto.IceTransportType\x12K\n\x1a\x63ontinual_gathering_policy\x18\x02 \x01(\x0e\x32\'.livekit.proto.ContinualGatheringPolicy\x12-\n\x0bice_servers\x18\x03 \x03(\x0b\x32\x18.livekit.proto.IceServer\"\xf2\x01\n\x0bRoomOptions\x12\x16\n\x0e\x61uto_subscribe\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x64\x61ptive_stream\x18\x02 \x01(\x08\x12\x10\n\x08\x64ynacast\x18\x03 \x01(\x08\x12,\n\x04\x65\x32\x65\x65\x18\x04 \x01(\x0b\x32\x1a.livekit.proto.E2eeOptionsB\x02\x18\x01\x12,\n\nrtc_config\x18\x05 \x01(\x0b\x32\x18.livekit.proto.RtcConfig\x12\x14\n\x0cjoin_retries\x18\x06 \x01(\r\x12.\n\nencryption\x18\x07 \x01(\x0b\x32\x1a.livekit.proto.E2eeOptions\"w\n\x14TranscriptionSegment\x12\n\n\x02id\x18\x01 \x02(\t\x12\x0c\n\x04text\x18\x02 \x02(\t\x12\x12\n\nstart_time\x18\x03 \x02(\x04\x12\x10\n\x08\x65nd_time\x18\x04 \x02(\x04\x12\r\n\x05\x66inal\x18\x05 \x02(\x08\x12\x10\n\x08language\x18\x06 \x02(\t\"0\n\nBufferInfo\x12\x10\n\x08\x64\x61ta_ptr\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_len\x18\x02 \x02(\x04\"e\n\x0bOwnedBuffer\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12\'\n\x04\x64\x61ta\x18\x02 \x02(\x0b\x32\x19.livekit.proto.BufferInfo\"\xe4\x14\n\tRoomEvent\x12\x13\n\x0broom_handle\x18\x01 \x02(\x04\x12\x44\n\x15participant_connected\x18\x02 \x01(\x0b\x32#.livekit.proto.ParticipantConnectedH\x00\x12J\n\x18participant_disconnected\x18\x03 \x01(\x0b\x32&.livekit.proto.ParticipantDisconnectedH\x00\x12\x43\n\x15local_track_published\x18\x04 \x01(\x0b\x32\".livekit.proto.LocalTrackPublishedH\x00\x12G\n\x17local_track_unpublished\x18\x05 \x01(\x0b\x32$.livekit.proto.LocalTrackUnpublishedH\x00\x12\x45\n\x16local_track_subscribed\x18\x06 \x01(\x0b\x32#.livekit.proto.LocalTrackSubscribedH\x00\x12\x38\n\x0ftrack_published\x18\x07 \x01(\x0b\x32\x1d.livekit.proto.TrackPublishedH\x00\x12<\n\x11track_unpublished\x18\x08 \x01(\x0b\x32\x1f.livekit.proto.TrackUnpublishedH\x00\x12:\n\x10track_subscribed\x18\t \x01(\x0b\x32\x1e.livekit.proto.TrackSubscribedH\x00\x12>\n\x12track_unsubscribed\x18\n \x01(\x0b\x32 .livekit.proto.TrackUnsubscribedH\x00\x12K\n\x19track_subscription_failed\x18\x0b \x01(\x0b\x32&.livekit.proto.TrackSubscriptionFailedH\x00\x12\x30\n\x0btrack_muted\x18\x0c \x01(\x0b\x32\x19.livekit.proto.TrackMutedH\x00\x12\x34\n\rtrack_unmuted\x18\r \x01(\x0b\x32\x1b.livekit.proto.TrackUnmutedH\x00\x12G\n\x17\x61\x63tive_speakers_changed\x18\x0e \x01(\x0b\x32$.livekit.proto.ActiveSpeakersChangedH\x00\x12\x43\n\x15room_metadata_changed\x18\x0f \x01(\x0b\x32\".livekit.proto.RoomMetadataChangedH\x00\x12\x39\n\x10room_sid_changed\x18\x10 \x01(\x0b\x32\x1d.livekit.proto.RoomSidChangedH\x00\x12Q\n\x1cparticipant_metadata_changed\x18\x11 \x01(\x0b\x32).livekit.proto.ParticipantMetadataChangedH\x00\x12I\n\x18participant_name_changed\x18\x12 \x01(\x0b\x32%.livekit.proto.ParticipantNameChangedH\x00\x12U\n\x1eparticipant_attributes_changed\x18\x13 \x01(\x0b\x32+.livekit.proto.ParticipantAttributesChangedH\x00\x12M\n\x1a\x63onnection_quality_changed\x18\x14 \x01(\x0b\x32\'.livekit.proto.ConnectionQualityChangedH\x00\x12I\n\x18\x63onnection_state_changed\x18\x15 \x01(\x0b\x32%.livekit.proto.ConnectionStateChangedH\x00\x12\x33\n\x0c\x64isconnected\x18\x16 \x01(\x0b\x32\x1b.livekit.proto.DisconnectedH\x00\x12\x33\n\x0creconnecting\x18\x17 \x01(\x0b\x32\x1b.livekit.proto.ReconnectingH\x00\x12\x31\n\x0breconnected\x18\x18 \x01(\x0b\x32\x1a.livekit.proto.ReconnectedH\x00\x12=\n\x12\x65\x32\x65\x65_state_changed\x18\x19 \x01(\x0b\x32\x1f.livekit.proto.E2eeStateChangedH\x00\x12%\n\x03\x65os\x18\x1a \x01(\x0b\x32\x16.livekit.proto.RoomEOSH\x00\x12\x41\n\x14\x64\x61ta_packet_received\x18\x1b \x01(\x0b\x32!.livekit.proto.DataPacketReceivedH\x00\x12\x46\n\x16transcription_received\x18\x1c \x01(\x0b\x32$.livekit.proto.TranscriptionReceivedH\x00\x12:\n\x0c\x63hat_message\x18\x1d \x01(\x0b\x32\".livekit.proto.ChatMessageReceivedH\x00\x12I\n\x16stream_header_received\x18\x1e \x01(\x0b\x32\'.livekit.proto.DataStreamHeaderReceivedH\x00\x12G\n\x15stream_chunk_received\x18\x1f \x01(\x0b\x32&.livekit.proto.DataStreamChunkReceivedH\x00\x12K\n\x17stream_trailer_received\x18 \x01(\x0b\x32(.livekit.proto.DataStreamTrailerReceivedH\x00\x12i\n\"data_channel_low_threshold_changed\x18! \x01(\x0b\x32;.livekit.proto.DataChannelBufferedAmountLowThresholdChangedH\x00\x12=\n\x12\x62yte_stream_opened\x18\" \x01(\x0b\x32\x1f.livekit.proto.ByteStreamOpenedH\x00\x12=\n\x12text_stream_opened\x18# \x01(\x0b\x32\x1f.livekit.proto.TextStreamOpenedH\x00\x12/\n\x0croom_updated\x18$ \x01(\x0b\x32\x17.livekit.proto.RoomInfoH\x00\x12(\n\x05moved\x18% \x01(\x0b\x32\x17.livekit.proto.RoomInfoH\x00\x12\x42\n\x14participants_updated\x18& \x01(\x0b\x32\".livekit.proto.ParticipantsUpdatedH\x00\x12\x62\n%participant_encryption_status_changed\x18\' \x01(\x0b\x32\x31.livekit.proto.ParticipantEncryptionStatusChangedH\x00\x12\x38\n\x0ftoken_refreshed\x18( \x01(\x0b\x32\x1d.livekit.proto.TokenRefreshedH\x00\x42\t\n\x07message\"\xc9\x02\n\x08RoomInfo\x12\x0b\n\x03sid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x10\n\x08metadata\x18\x03 \x02(\t\x12.\n&lossy_dc_buffered_amount_low_threshold\x18\x04 \x02(\x04\x12\x31\n)reliable_dc_buffered_amount_low_threshold\x18\x05 \x02(\x04\x12\x15\n\rempty_timeout\x18\x06 \x02(\r\x12\x19\n\x11\x64\x65parture_timeout\x18\x07 \x02(\r\x12\x18\n\x10max_participants\x18\x08 \x02(\r\x12\x15\n\rcreation_time\x18\t \x02(\x03\x12\x18\n\x10num_participants\x18\n \x02(\r\x12\x16\n\x0enum_publishers\x18\x0b \x02(\r\x12\x18\n\x10\x61\x63tive_recording\x18\x0c \x02(\x08\"a\n\tOwnedRoom\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12%\n\x04info\x18\x02 \x02(\x0b\x32\x17.livekit.proto.RoomInfo\"K\n\x13ParticipantsUpdated\x12\x34\n\x0cparticipants\x18\x01 \x03(\x0b\x32\x1e.livekit.proto.ParticipantInfo\"E\n\x14ParticipantConnected\x12-\n\x04info\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedParticipant\"s\n\x17ParticipantDisconnected\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12:\n\x11\x64isconnect_reason\x18\x02 \x02(\x0e\x32\x1f.livekit.proto.DisconnectReason\"(\n\x13LocalTrackPublished\x12\x11\n\ttrack_sid\x18\x01 \x02(\t\"0\n\x15LocalTrackUnpublished\x12\x17\n\x0fpublication_sid\x18\x01 \x02(\t\")\n\x14LocalTrackSubscribed\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"i\n\x0eTrackPublished\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x39\n\x0bpublication\x18\x02 \x02(\x0b\x32$.livekit.proto.OwnedTrackPublication\"I\n\x10TrackUnpublished\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x17\n\x0fpublication_sid\x18\x02 \x02(\t\"Y\n\x0fTrackSubscribed\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12(\n\x05track\x18\x02 \x02(\x0b\x32\x19.livekit.proto.OwnedTrack\"D\n\x11TrackUnsubscribed\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"Y\n\x17TrackSubscriptionFailed\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\x12\r\n\x05\x65rror\x18\x03 \x02(\t\"=\n\nTrackMuted\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"?\n\x0cTrackUnmuted\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"_\n\x10\x45\x32\x65\x65StateChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12-\n\x05state\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.EncryptionState\"7\n\x15\x41\x63tiveSpeakersChanged\x12\x1e\n\x16participant_identities\x18\x01 \x03(\t\"\'\n\x13RoomMetadataChanged\x12\x10\n\x08metadata\x18\x01 \x02(\t\"\x1d\n\x0eRoomSidChanged\x12\x0b\n\x03sid\x18\x01 \x02(\t\"L\n\x1aParticipantMetadataChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x10\n\x08metadata\x18\x02 \x02(\t\"\xac\x01\n\x1cParticipantAttributesChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x32\n\nattributes\x18\x02 \x03(\x0b\x32\x1e.livekit.proto.AttributesEntry\x12:\n\x12\x63hanged_attributes\x18\x03 \x03(\x0b\x32\x1e.livekit.proto.AttributesEntry\"X\n\"ParticipantEncryptionStatusChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x14\n\x0cis_encrypted\x18\x02 \x02(\x08\"D\n\x16ParticipantNameChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\"k\n\x18\x43onnectionQualityChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x31\n\x07quality\x18\x02 \x02(\x0e\x32 .livekit.proto.ConnectionQuality\"E\n\nUserPacket\x12(\n\x04\x64\x61ta\x18\x01 \x02(\x0b\x32\x1a.livekit.proto.OwnedBuffer\x12\r\n\x05topic\x18\x02 \x01(\t\"y\n\x0b\x43hatMessage\x12\n\n\x02id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x0f\n\x07message\x18\x03 \x02(\t\x12\x16\n\x0e\x65\x64it_timestamp\x18\x04 \x01(\x03\x12\x0f\n\x07\x64\x65leted\x18\x05 \x01(\x08\x12\x11\n\tgenerated\x18\x06 \x01(\x08\"`\n\x13\x43hatMessageReceived\x12+\n\x07message\x18\x01 \x02(\x0b\x32\x1a.livekit.proto.ChatMessage\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\"&\n\x07SipDTMF\x12\x0c\n\x04\x63ode\x18\x01 \x02(\r\x12\r\n\x05\x64igit\x18\x02 \x01(\t\"\xbf\x01\n\x12\x44\x61taPacketReceived\x12+\n\x04kind\x18\x01 \x02(\x0e\x32\x1d.livekit.proto.DataPacketKind\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\x12)\n\x04user\x18\x04 \x01(\x0b\x32\x19.livekit.proto.UserPacketH\x00\x12*\n\x08sip_dtmf\x18\x05 \x01(\x0b\x32\x16.livekit.proto.SipDTMFH\x00\x42\x07\n\x05value\"\x7f\n\x15TranscriptionReceived\x12\x1c\n\x14participant_identity\x18\x01 \x01(\t\x12\x11\n\ttrack_sid\x18\x02 \x01(\t\x12\x35\n\x08segments\x18\x03 \x03(\x0b\x32#.livekit.proto.TranscriptionSegment\"G\n\x16\x43onnectionStateChanged\x12-\n\x05state\x18\x01 \x02(\x0e\x32\x1e.livekit.proto.ConnectionState\"\x0b\n\tConnected\"?\n\x0c\x44isconnected\x12/\n\x06reason\x18\x01 \x02(\x0e\x32\x1f.livekit.proto.DisconnectReason\"\x0e\n\x0cReconnecting\"\r\n\x0bReconnected\"\x1f\n\x0eTokenRefreshed\x12\r\n\x05token\x18\x01 \x02(\t\"\t\n\x07RoomEOS\"\x8e\x07\n\nDataStream\x1a\xaa\x01\n\nTextHeader\x12?\n\x0eoperation_type\x18\x01 \x02(\x0e\x32\'.livekit.proto.DataStream.OperationType\x12\x0f\n\x07version\x18\x02 \x01(\x05\x12\x1a\n\x12reply_to_stream_id\x18\x03 \x01(\t\x12\x1b\n\x13\x61ttached_stream_ids\x18\x04 \x03(\t\x12\x11\n\tgenerated\x18\x05 \x01(\x08\x1a\x1a\n\nByteHeader\x12\x0c\n\x04name\x18\x01 \x02(\t\x1a\xeb\x02\n\x06Header\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x11\n\tmime_type\x18\x03 \x02(\t\x12\r\n\x05topic\x18\x04 \x02(\t\x12\x14\n\x0ctotal_length\x18\x05 \x01(\x04\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.livekit.proto.DataStream.Header.AttributesEntry\x12;\n\x0btext_header\x18\x07 \x01(\x0b\x32$.livekit.proto.DataStream.TextHeaderH\x00\x12;\n\x0b\x62yte_header\x18\x08 \x01(\x0b\x32$.livekit.proto.DataStream.ByteHeaderH\x00\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e\x63ontent_header\x1a]\n\x05\x43hunk\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x13\n\x0b\x63hunk_index\x18\x02 \x02(\x04\x12\x0f\n\x07\x63ontent\x18\x03 \x02(\x0c\x12\x0f\n\x07version\x18\x04 \x01(\x05\x12\n\n\x02iv\x18\x05 \x01(\x0c\x1a\xa6\x01\n\x07Trailer\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x0e\n\x06reason\x18\x02 \x02(\t\x12\x45\n\nattributes\x18\x03 \x03(\x0b\x32\x31.livekit.proto.DataStream.Trailer.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\rOperationType\x12\n\n\x06\x43REATE\x10\x00\x12\n\n\x06UPDATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\x0c\n\x08REACTION\x10\x03\"j\n\x18\x44\x61taStreamHeaderReceived\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x30\n\x06header\x18\x02 \x02(\x0b\x32 .livekit.proto.DataStream.Header\"g\n\x17\x44\x61taStreamChunkReceived\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12.\n\x05\x63hunk\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.DataStream.Chunk\"m\n\x19\x44\x61taStreamTrailerReceived\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x32\n\x07trailer\x18\x02 \x02(\x0b\x32!.livekit.proto.DataStream.Trailer\"\xa6\x01\n\x17SendStreamHeaderRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x30\n\x06header\x18\x02 \x02(\x0b\x32 .livekit.proto.DataStream.Header\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x02(\t\"\xa3\x01\n\x16SendStreamChunkRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12.\n\x05\x63hunk\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.DataStream.Chunk\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x02(\t\"\xa9\x01\n\x18SendStreamTrailerRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x32\n\x07trailer\x18\x02 \x02(\x0b\x32!.livekit.proto.DataStream.Trailer\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x02(\t\",\n\x18SendStreamHeaderResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"+\n\x17SendStreamChunkResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"-\n\x19SendStreamTrailerResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\";\n\x18SendStreamHeaderCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\":\n\x17SendStreamChunkCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"<\n\x19SendStreamTrailerCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x93\x01\n/SetDataChannelBufferedAmountLowThresholdRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x11\n\tthreshold\x18\x02 \x02(\x04\x12+\n\x04kind\x18\x03 \x02(\x0e\x32\x1d.livekit.proto.DataPacketKind\"2\n0SetDataChannelBufferedAmountLowThresholdResponse\"n\n,DataChannelBufferedAmountLowThresholdChanged\x12+\n\x04kind\x18\x01 \x02(\x0e\x32\x1d.livekit.proto.DataPacketKind\x12\x11\n\tthreshold\x18\x02 \x02(\x04\"f\n\x10\x42yteStreamOpened\x12\x34\n\x06reader\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedByteStreamReader\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\"f\n\x10TextStreamOpened\x12\x34\n\x06reader\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedTextStreamReader\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t*P\n\x10IceTransportType\x12\x13\n\x0fTRANSPORT_RELAY\x10\x00\x12\x14\n\x10TRANSPORT_NOHOST\x10\x01\x12\x11\n\rTRANSPORT_ALL\x10\x02*C\n\x18\x43ontinualGatheringPolicy\x12\x0f\n\x0bGATHER_ONCE\x10\x00\x12\x16\n\x12GATHER_CONTINUALLY\x10\x01*`\n\x11\x43onnectionQuality\x12\x10\n\x0cQUALITY_POOR\x10\x00\x12\x10\n\x0cQUALITY_GOOD\x10\x01\x12\x15\n\x11QUALITY_EXCELLENT\x10\x02\x12\x10\n\x0cQUALITY_LOST\x10\x03*S\n\x0f\x43onnectionState\x12\x15\n\x11\x43ONN_DISCONNECTED\x10\x00\x12\x12\n\x0e\x43ONN_CONNECTED\x10\x01\x12\x15\n\x11\x43ONN_RECONNECTING\x10\x02*3\n\x0e\x44\x61taPacketKind\x12\x0e\n\nKIND_LOSSY\x10\x00\x12\x11\n\rKIND_RELIABLE\x10\x01\x42\x10\xaa\x02\rLiveKit.Proto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nroom.proto\x12\rlivekit.proto\x1a\ne2ee.proto\x1a\x0chandle.proto\x1a\x11participant.proto\x1a\x0btrack.proto\x1a\x11video_frame.proto\x1a\x0bstats.proto\x1a\x11\x64\x61ta_stream.proto\"s\n\x0e\x43onnectRequest\x12\x0b\n\x03url\x18\x01 \x02(\t\x12\r\n\x05token\x18\x02 \x02(\t\x12+\n\x07options\x18\x03 \x02(\x0b\x32\x1a.livekit.proto.RoomOptions\x12\x18\n\x10request_async_id\x18\x04 \x01(\x04\"#\n\x0f\x43onnectResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\xbf\x03\n\x0f\x43onnectCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12\x37\n\x06result\x18\x03 \x01(\x0b\x32%.livekit.proto.ConnectCallback.ResultH\x00\x1a\x89\x01\n\x15ParticipantWithTracks\x12\x34\n\x0bparticipant\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedParticipant\x12:\n\x0cpublications\x18\x02 \x03(\x0b\x32$.livekit.proto.OwnedTrackPublication\x1a\xb8\x01\n\x06Result\x12&\n\x04room\x18\x01 \x02(\x0b\x32\x18.livekit.proto.OwnedRoom\x12:\n\x11local_participant\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.OwnedParticipant\x12J\n\x0cparticipants\x18\x03 \x03(\x0b\x32\x34.livekit.proto.ConnectCallback.ParticipantWithTracksB\t\n\x07message\"B\n\x11\x44isconnectRequest\x12\x13\n\x0broom_handle\x18\x01 \x02(\x04\x12\x18\n\x10request_async_id\x18\x02 \x01(\x04\"&\n\x12\x44isconnectResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"&\n\x12\x44isconnectCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x9c\x01\n\x13PublishTrackRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x14\n\x0ctrack_handle\x18\x02 \x02(\x04\x12\x33\n\x07options\x18\x03 \x02(\x0b\x32\".livekit.proto.TrackPublishOptions\x12\x18\n\x10request_async_id\x18\x04 \x01(\x04\"(\n\x14PublishTrackResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x81\x01\n\x14PublishTrackCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12;\n\x0bpublication\x18\x03 \x01(\x0b\x32$.livekit.proto.OwnedTrackPublicationH\x00\x42\t\n\x07message\"\x81\x01\n\x15UnpublishTrackRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\x12\x19\n\x11stop_on_unpublish\x18\x03 \x02(\x08\x12\x18\n\x10request_async_id\x18\x04 \x01(\x04\"*\n\x16UnpublishTrackResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"9\n\x16UnpublishTrackCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\xd3\x01\n\x12PublishDataRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_ptr\x18\x02 \x02(\x04\x12\x10\n\x08\x64\x61ta_len\x18\x03 \x02(\x04\x12\x10\n\x08reliable\x18\x04 \x02(\x08\x12\x1c\n\x10\x64\x65stination_sids\x18\x05 \x03(\tB\x02\x18\x01\x12\r\n\x05topic\x18\x06 \x01(\t\x12\x1e\n\x16\x64\x65stination_identities\x18\x07 \x03(\t\x12\x18\n\x10request_async_id\x18\x08 \x01(\x04\"\'\n\x13PublishDataResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"6\n\x13PublishDataCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\xc0\x01\n\x1bPublishTranscriptionRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\x12\x10\n\x08track_id\x18\x03 \x02(\t\x12\x35\n\x08segments\x18\x04 \x03(\x0b\x32#.livekit.proto.TranscriptionSegment\x12\x18\n\x10request_async_id\x18\x05 \x01(\x04\"0\n\x1cPublishTranscriptionResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"?\n\x1cPublishTranscriptionCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x90\x01\n\x15PublishSipDtmfRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0c\n\x04\x63ode\x18\x02 \x02(\r\x12\r\n\x05\x64igit\x18\x03 \x02(\t\x12\x1e\n\x16\x64\x65stination_identities\x18\x04 \x03(\t\x12\x18\n\x10request_async_id\x18\x05 \x01(\x04\"*\n\x16PublishSipDtmfResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"9\n\x16PublishSipDtmfCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"g\n\x17SetLocalMetadataRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x10\n\x08metadata\x18\x02 \x02(\t\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\",\n\x18SetLocalMetadataResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\";\n\x18SetLocalMetadataCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x9e\x01\n\x16SendChatMessageRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0f\n\x07message\x18\x02 \x02(\t\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x01(\t\x12\x18\n\x10request_async_id\x18\x05 \x01(\x04\"\xd6\x01\n\x16\x45\x64itChatMessageRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x11\n\tedit_text\x18\x02 \x02(\t\x12\x34\n\x10original_message\x18\x03 \x02(\x0b\x32\x1a.livekit.proto.ChatMessage\x12\x1e\n\x16\x64\x65stination_identities\x18\x04 \x03(\t\x12\x17\n\x0fsender_identity\x18\x05 \x01(\t\x12\x18\n\x10request_async_id\x18\x06 \x01(\x04\"+\n\x17SendChatMessageResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"{\n\x17SendChatMessageCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12\x32\n\x0c\x63hat_message\x18\x03 \x01(\x0b\x32\x1a.livekit.proto.ChatMessageH\x00\x42\t\n\x07message\"\x8b\x01\n\x19SetLocalAttributesRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x32\n\nattributes\x18\x02 \x03(\x0b\x32\x1e.livekit.proto.AttributesEntry\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"-\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\".\n\x1aSetLocalAttributesResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"=\n\x1aSetLocalAttributesCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"_\n\x13SetLocalNameRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x18\n\x10request_async_id\x18\x03 \x01(\x04\"(\n\x14SetLocalNameResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"7\n\x14SetLocalNameCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"E\n\x14SetSubscribedRequest\x12\x11\n\tsubscribe\x18\x01 \x02(\x08\x12\x1a\n\x12publication_handle\x18\x02 \x02(\x04\"\x17\n\x15SetSubscribedResponse\"G\n\x16GetSessionStatsRequest\x12\x13\n\x0broom_handle\x18\x01 \x02(\x04\x12\x18\n\x10request_async_id\x18\x02 \x01(\x04\"+\n\x17GetSessionStatsResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\xf7\x01\n\x17GetSessionStatsCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x05\x65rror\x18\x02 \x01(\tH\x00\x12?\n\x06result\x18\x03 \x01(\x0b\x32-.livekit.proto.GetSessionStatsCallback.ResultH\x00\x1am\n\x06Result\x12\x30\n\x0fpublisher_stats\x18\x01 \x03(\x0b\x32\x17.livekit.proto.RtcStats\x12\x31\n\x10subscriber_stats\x18\x02 \x03(\x0b\x32\x17.livekit.proto.RtcStatsB\t\n\x07message\";\n\rVideoEncoding\x12\x13\n\x0bmax_bitrate\x18\x01 \x02(\x04\x12\x15\n\rmax_framerate\x18\x02 \x02(\x01\"$\n\rAudioEncoding\x12\x13\n\x0bmax_bitrate\x18\x01 \x02(\x04\"\xb5\x02\n\x13TrackPublishOptions\x12\x34\n\x0evideo_encoding\x18\x01 \x01(\x0b\x32\x1c.livekit.proto.VideoEncoding\x12\x34\n\x0e\x61udio_encoding\x18\x02 \x01(\x0b\x32\x1c.livekit.proto.AudioEncoding\x12.\n\x0bvideo_codec\x18\x03 \x01(\x0e\x32\x19.livekit.proto.VideoCodec\x12\x0b\n\x03\x64tx\x18\x04 \x01(\x08\x12\x0b\n\x03red\x18\x05 \x01(\x08\x12\x11\n\tsimulcast\x18\x06 \x01(\x08\x12*\n\x06source\x18\x07 \x01(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x0e\n\x06stream\x18\x08 \x01(\t\x12\x19\n\x11preconnect_buffer\x18\t \x01(\x08\"=\n\tIceServer\x12\x0c\n\x04urls\x18\x01 \x03(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08password\x18\x03 \x01(\t\"\xc4\x01\n\tRtcConfig\x12;\n\x12ice_transport_type\x18\x01 \x01(\x0e\x32\x1f.livekit.proto.IceTransportType\x12K\n\x1a\x63ontinual_gathering_policy\x18\x02 \x01(\x0e\x32\'.livekit.proto.ContinualGatheringPolicy\x12-\n\x0bice_servers\x18\x03 \x03(\x0b\x32\x18.livekit.proto.IceServer\"\xf2\x01\n\x0bRoomOptions\x12\x16\n\x0e\x61uto_subscribe\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x64\x61ptive_stream\x18\x02 \x01(\x08\x12\x10\n\x08\x64ynacast\x18\x03 \x01(\x08\x12,\n\x04\x65\x32\x65\x65\x18\x04 \x01(\x0b\x32\x1a.livekit.proto.E2eeOptionsB\x02\x18\x01\x12,\n\nrtc_config\x18\x05 \x01(\x0b\x32\x18.livekit.proto.RtcConfig\x12\x14\n\x0cjoin_retries\x18\x06 \x01(\r\x12.\n\nencryption\x18\x07 \x01(\x0b\x32\x1a.livekit.proto.E2eeOptions\"w\n\x14TranscriptionSegment\x12\n\n\x02id\x18\x01 \x02(\t\x12\x0c\n\x04text\x18\x02 \x02(\t\x12\x12\n\nstart_time\x18\x03 \x02(\x04\x12\x10\n\x08\x65nd_time\x18\x04 \x02(\x04\x12\r\n\x05\x66inal\x18\x05 \x02(\x08\x12\x10\n\x08language\x18\x06 \x02(\t\"0\n\nBufferInfo\x12\x10\n\x08\x64\x61ta_ptr\x18\x01 \x02(\x04\x12\x10\n\x08\x64\x61ta_len\x18\x02 \x02(\x04\"e\n\x0bOwnedBuffer\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12\'\n\x04\x64\x61ta\x18\x02 \x02(\x0b\x32\x19.livekit.proto.BufferInfo\"\xbb\x15\n\tRoomEvent\x12\x13\n\x0broom_handle\x18\x01 \x02(\x04\x12\x44\n\x15participant_connected\x18\x02 \x01(\x0b\x32#.livekit.proto.ParticipantConnectedH\x00\x12J\n\x18participant_disconnected\x18\x03 \x01(\x0b\x32&.livekit.proto.ParticipantDisconnectedH\x00\x12\x43\n\x15local_track_published\x18\x04 \x01(\x0b\x32\".livekit.proto.LocalTrackPublishedH\x00\x12G\n\x17local_track_unpublished\x18\x05 \x01(\x0b\x32$.livekit.proto.LocalTrackUnpublishedH\x00\x12\x45\n\x16local_track_subscribed\x18\x06 \x01(\x0b\x32#.livekit.proto.LocalTrackSubscribedH\x00\x12\x38\n\x0ftrack_published\x18\x07 \x01(\x0b\x32\x1d.livekit.proto.TrackPublishedH\x00\x12<\n\x11track_unpublished\x18\x08 \x01(\x0b\x32\x1f.livekit.proto.TrackUnpublishedH\x00\x12:\n\x10track_subscribed\x18\t \x01(\x0b\x32\x1e.livekit.proto.TrackSubscribedH\x00\x12>\n\x12track_unsubscribed\x18\n \x01(\x0b\x32 .livekit.proto.TrackUnsubscribedH\x00\x12K\n\x19track_subscription_failed\x18\x0b \x01(\x0b\x32&.livekit.proto.TrackSubscriptionFailedH\x00\x12\x30\n\x0btrack_muted\x18\x0c \x01(\x0b\x32\x19.livekit.proto.TrackMutedH\x00\x12\x34\n\rtrack_unmuted\x18\r \x01(\x0b\x32\x1b.livekit.proto.TrackUnmutedH\x00\x12G\n\x17\x61\x63tive_speakers_changed\x18\x0e \x01(\x0b\x32$.livekit.proto.ActiveSpeakersChangedH\x00\x12\x43\n\x15room_metadata_changed\x18\x0f \x01(\x0b\x32\".livekit.proto.RoomMetadataChangedH\x00\x12\x39\n\x10room_sid_changed\x18\x10 \x01(\x0b\x32\x1d.livekit.proto.RoomSidChangedH\x00\x12Q\n\x1cparticipant_metadata_changed\x18\x11 \x01(\x0b\x32).livekit.proto.ParticipantMetadataChangedH\x00\x12I\n\x18participant_name_changed\x18\x12 \x01(\x0b\x32%.livekit.proto.ParticipantNameChangedH\x00\x12U\n\x1eparticipant_attributes_changed\x18\x13 \x01(\x0b\x32+.livekit.proto.ParticipantAttributesChangedH\x00\x12M\n\x1a\x63onnection_quality_changed\x18\x14 \x01(\x0b\x32\'.livekit.proto.ConnectionQualityChangedH\x00\x12I\n\x18\x63onnection_state_changed\x18\x15 \x01(\x0b\x32%.livekit.proto.ConnectionStateChangedH\x00\x12\x33\n\x0c\x64isconnected\x18\x16 \x01(\x0b\x32\x1b.livekit.proto.DisconnectedH\x00\x12\x33\n\x0creconnecting\x18\x17 \x01(\x0b\x32\x1b.livekit.proto.ReconnectingH\x00\x12\x31\n\x0breconnected\x18\x18 \x01(\x0b\x32\x1a.livekit.proto.ReconnectedH\x00\x12=\n\x12\x65\x32\x65\x65_state_changed\x18\x19 \x01(\x0b\x32\x1f.livekit.proto.E2eeStateChangedH\x00\x12%\n\x03\x65os\x18\x1a \x01(\x0b\x32\x16.livekit.proto.RoomEOSH\x00\x12\x41\n\x14\x64\x61ta_packet_received\x18\x1b \x01(\x0b\x32!.livekit.proto.DataPacketReceivedH\x00\x12\x46\n\x16transcription_received\x18\x1c \x01(\x0b\x32$.livekit.proto.TranscriptionReceivedH\x00\x12:\n\x0c\x63hat_message\x18\x1d \x01(\x0b\x32\".livekit.proto.ChatMessageReceivedH\x00\x12I\n\x16stream_header_received\x18\x1e \x01(\x0b\x32\'.livekit.proto.DataStreamHeaderReceivedH\x00\x12G\n\x15stream_chunk_received\x18\x1f \x01(\x0b\x32&.livekit.proto.DataStreamChunkReceivedH\x00\x12K\n\x17stream_trailer_received\x18 \x01(\x0b\x32(.livekit.proto.DataStreamTrailerReceivedH\x00\x12i\n\"data_channel_low_threshold_changed\x18! \x01(\x0b\x32;.livekit.proto.DataChannelBufferedAmountLowThresholdChangedH\x00\x12=\n\x12\x62yte_stream_opened\x18\" \x01(\x0b\x32\x1f.livekit.proto.ByteStreamOpenedH\x00\x12=\n\x12text_stream_opened\x18# \x01(\x0b\x32\x1f.livekit.proto.TextStreamOpenedH\x00\x12/\n\x0croom_updated\x18$ \x01(\x0b\x32\x17.livekit.proto.RoomInfoH\x00\x12(\n\x05moved\x18% \x01(\x0b\x32\x17.livekit.proto.RoomInfoH\x00\x12\x42\n\x14participants_updated\x18& \x01(\x0b\x32\".livekit.proto.ParticipantsUpdatedH\x00\x12\x62\n%participant_encryption_status_changed\x18\' \x01(\x0b\x32\x31.livekit.proto.ParticipantEncryptionStatusChangedH\x00\x12U\n\x1eparticipant_permission_changed\x18) \x01(\x0b\x32+.livekit.proto.ParticipantPermissionChangedH\x00\x12\x38\n\x0ftoken_refreshed\x18( \x01(\x0b\x32\x1d.livekit.proto.TokenRefreshedH\x00\x42\t\n\x07message\"\xc9\x02\n\x08RoomInfo\x12\x0b\n\x03sid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\x10\n\x08metadata\x18\x03 \x02(\t\x12.\n&lossy_dc_buffered_amount_low_threshold\x18\x04 \x02(\x04\x12\x31\n)reliable_dc_buffered_amount_low_threshold\x18\x05 \x02(\x04\x12\x15\n\rempty_timeout\x18\x06 \x02(\r\x12\x19\n\x11\x64\x65parture_timeout\x18\x07 \x02(\r\x12\x18\n\x10max_participants\x18\x08 \x02(\r\x12\x15\n\rcreation_time\x18\t \x02(\x03\x12\x18\n\x10num_participants\x18\n \x02(\r\x12\x16\n\x0enum_publishers\x18\x0b \x02(\r\x12\x18\n\x10\x61\x63tive_recording\x18\x0c \x02(\x08\"a\n\tOwnedRoom\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12%\n\x04info\x18\x02 \x02(\x0b\x32\x17.livekit.proto.RoomInfo\"K\n\x13ParticipantsUpdated\x12\x34\n\x0cparticipants\x18\x01 \x03(\x0b\x32\x1e.livekit.proto.ParticipantInfo\"E\n\x14ParticipantConnected\x12-\n\x04info\x18\x01 \x02(\x0b\x32\x1f.livekit.proto.OwnedParticipant\"s\n\x17ParticipantDisconnected\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12:\n\x11\x64isconnect_reason\x18\x02 \x02(\x0e\x32\x1f.livekit.proto.DisconnectReason\"(\n\x13LocalTrackPublished\x12\x11\n\ttrack_sid\x18\x01 \x02(\t\"0\n\x15LocalTrackUnpublished\x12\x17\n\x0fpublication_sid\x18\x01 \x02(\t\")\n\x14LocalTrackSubscribed\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"i\n\x0eTrackPublished\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x39\n\x0bpublication\x18\x02 \x02(\x0b\x32$.livekit.proto.OwnedTrackPublication\"I\n\x10TrackUnpublished\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x17\n\x0fpublication_sid\x18\x02 \x02(\t\"Y\n\x0fTrackSubscribed\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12(\n\x05track\x18\x02 \x02(\x0b\x32\x19.livekit.proto.OwnedTrack\"D\n\x11TrackUnsubscribed\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"Y\n\x17TrackSubscriptionFailed\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\x12\r\n\x05\x65rror\x18\x03 \x02(\t\"=\n\nTrackMuted\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"?\n\x0cTrackUnmuted\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\ttrack_sid\x18\x02 \x02(\t\"_\n\x10\x45\x32\x65\x65StateChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12-\n\x05state\x18\x02 \x02(\x0e\x32\x1e.livekit.proto.EncryptionState\"7\n\x15\x41\x63tiveSpeakersChanged\x12\x1e\n\x16participant_identities\x18\x01 \x03(\t\"\'\n\x13RoomMetadataChanged\x12\x10\n\x08metadata\x18\x01 \x02(\t\"\x1d\n\x0eRoomSidChanged\x12\x0b\n\x03sid\x18\x01 \x02(\t\"L\n\x1aParticipantMetadataChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x10\n\x08metadata\x18\x02 \x02(\t\"\xac\x01\n\x1cParticipantAttributesChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x32\n\nattributes\x18\x02 \x03(\x0b\x32\x1e.livekit.proto.AttributesEntry\x12:\n\x12\x63hanged_attributes\x18\x03 \x03(\x0b\x32\x1e.livekit.proto.AttributesEntry\"X\n\"ParticipantEncryptionStatusChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x14\n\x0cis_encrypted\x18\x02 \x02(\x08\"D\n\x16ParticipantNameChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\"v\n\x1cParticipantPermissionChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x38\n\npermission\x18\x02 \x01(\x0b\x32$.livekit.proto.ParticipantPermission\"k\n\x18\x43onnectionQualityChanged\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x31\n\x07quality\x18\x02 \x02(\x0e\x32 .livekit.proto.ConnectionQuality\"E\n\nUserPacket\x12(\n\x04\x64\x61ta\x18\x01 \x02(\x0b\x32\x1a.livekit.proto.OwnedBuffer\x12\r\n\x05topic\x18\x02 \x01(\t\"y\n\x0b\x43hatMessage\x12\n\n\x02id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x0f\n\x07message\x18\x03 \x02(\t\x12\x16\n\x0e\x65\x64it_timestamp\x18\x04 \x01(\x03\x12\x0f\n\x07\x64\x65leted\x18\x05 \x01(\x08\x12\x11\n\tgenerated\x18\x06 \x01(\x08\"`\n\x13\x43hatMessageReceived\x12+\n\x07message\x18\x01 \x02(\x0b\x32\x1a.livekit.proto.ChatMessage\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\"&\n\x07SipDTMF\x12\x0c\n\x04\x63ode\x18\x01 \x02(\r\x12\r\n\x05\x64igit\x18\x02 \x01(\t\"\xbf\x01\n\x12\x44\x61taPacketReceived\x12+\n\x04kind\x18\x01 \x02(\x0e\x32\x1d.livekit.proto.DataPacketKind\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\x12)\n\x04user\x18\x04 \x01(\x0b\x32\x19.livekit.proto.UserPacketH\x00\x12*\n\x08sip_dtmf\x18\x05 \x01(\x0b\x32\x16.livekit.proto.SipDTMFH\x00\x42\x07\n\x05value\"\x7f\n\x15TranscriptionReceived\x12\x1c\n\x14participant_identity\x18\x01 \x01(\t\x12\x11\n\ttrack_sid\x18\x02 \x01(\t\x12\x35\n\x08segments\x18\x03 \x03(\x0b\x32#.livekit.proto.TranscriptionSegment\"G\n\x16\x43onnectionStateChanged\x12-\n\x05state\x18\x01 \x02(\x0e\x32\x1e.livekit.proto.ConnectionState\"\x0b\n\tConnected\"?\n\x0c\x44isconnected\x12/\n\x06reason\x18\x01 \x02(\x0e\x32\x1f.livekit.proto.DisconnectReason\"\x0e\n\x0cReconnecting\"\r\n\x0bReconnected\"\x1f\n\x0eTokenRefreshed\x12\r\n\x05token\x18\x01 \x02(\t\"\t\n\x07RoomEOS\"\x8e\x07\n\nDataStream\x1a\xaa\x01\n\nTextHeader\x12?\n\x0eoperation_type\x18\x01 \x02(\x0e\x32\'.livekit.proto.DataStream.OperationType\x12\x0f\n\x07version\x18\x02 \x01(\x05\x12\x1a\n\x12reply_to_stream_id\x18\x03 \x01(\t\x12\x1b\n\x13\x61ttached_stream_ids\x18\x04 \x03(\t\x12\x11\n\tgenerated\x18\x05 \x01(\x08\x1a\x1a\n\nByteHeader\x12\x0c\n\x04name\x18\x01 \x02(\t\x1a\xeb\x02\n\x06Header\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x11\n\ttimestamp\x18\x02 \x02(\x03\x12\x11\n\tmime_type\x18\x03 \x02(\t\x12\r\n\x05topic\x18\x04 \x02(\t\x12\x14\n\x0ctotal_length\x18\x05 \x01(\x04\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.livekit.proto.DataStream.Header.AttributesEntry\x12;\n\x0btext_header\x18\x07 \x01(\x0b\x32$.livekit.proto.DataStream.TextHeaderH\x00\x12;\n\x0b\x62yte_header\x18\x08 \x01(\x0b\x32$.livekit.proto.DataStream.ByteHeaderH\x00\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e\x63ontent_header\x1a]\n\x05\x43hunk\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x13\n\x0b\x63hunk_index\x18\x02 \x02(\x04\x12\x0f\n\x07\x63ontent\x18\x03 \x02(\x0c\x12\x0f\n\x07version\x18\x04 \x01(\x05\x12\n\n\x02iv\x18\x05 \x01(\x0c\x1a\xa6\x01\n\x07Trailer\x12\x11\n\tstream_id\x18\x01 \x02(\t\x12\x0e\n\x06reason\x18\x02 \x02(\t\x12\x45\n\nattributes\x18\x03 \x03(\x0b\x32\x31.livekit.proto.DataStream.Trailer.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\rOperationType\x12\n\n\x06\x43REATE\x10\x00\x12\n\n\x06UPDATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\x0c\n\x08REACTION\x10\x03\"j\n\x18\x44\x61taStreamHeaderReceived\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x30\n\x06header\x18\x02 \x02(\x0b\x32 .livekit.proto.DataStream.Header\"g\n\x17\x44\x61taStreamChunkReceived\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12.\n\x05\x63hunk\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.DataStream.Chunk\"m\n\x19\x44\x61taStreamTrailerReceived\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x32\n\x07trailer\x18\x02 \x02(\x0b\x32!.livekit.proto.DataStream.Trailer\"\xc0\x01\n\x17SendStreamHeaderRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x30\n\x06header\x18\x02 \x02(\x0b\x32 .livekit.proto.DataStream.Header\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x02(\t\x12\x18\n\x10request_async_id\x18\x05 \x01(\x04\"\xbd\x01\n\x16SendStreamChunkRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12.\n\x05\x63hunk\x18\x02 \x02(\x0b\x32\x1f.livekit.proto.DataStream.Chunk\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x02(\t\x12\x18\n\x10request_async_id\x18\x05 \x01(\x04\"\xc3\x01\n\x18SendStreamTrailerRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x32\n\x07trailer\x18\x02 \x02(\x0b\x32!.livekit.proto.DataStream.Trailer\x12\x1e\n\x16\x64\x65stination_identities\x18\x03 \x03(\t\x12\x17\n\x0fsender_identity\x18\x04 \x02(\t\x12\x18\n\x10request_async_id\x18\x05 \x01(\x04\",\n\x18SendStreamHeaderResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"+\n\x17SendStreamChunkResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"-\n\x19SendStreamTrailerResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\";\n\x18SendStreamHeaderCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\":\n\x17SendStreamChunkCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"<\n\x19SendStreamTrailerCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x93\x01\n/SetDataChannelBufferedAmountLowThresholdRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x11\n\tthreshold\x18\x02 \x02(\x04\x12+\n\x04kind\x18\x03 \x02(\x0e\x32\x1d.livekit.proto.DataPacketKind\"2\n0SetDataChannelBufferedAmountLowThresholdResponse\"n\n,DataChannelBufferedAmountLowThresholdChanged\x12+\n\x04kind\x18\x01 \x02(\x0e\x32\x1d.livekit.proto.DataPacketKind\x12\x11\n\tthreshold\x18\x02 \x02(\x04\"f\n\x10\x42yteStreamOpened\x12\x34\n\x06reader\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedByteStreamReader\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t\"f\n\x10TextStreamOpened\x12\x34\n\x06reader\x18\x01 \x02(\x0b\x32$.livekit.proto.OwnedTextStreamReader\x12\x1c\n\x14participant_identity\x18\x02 \x02(\t*P\n\x10IceTransportType\x12\x13\n\x0fTRANSPORT_RELAY\x10\x00\x12\x14\n\x10TRANSPORT_NOHOST\x10\x01\x12\x11\n\rTRANSPORT_ALL\x10\x02*C\n\x18\x43ontinualGatheringPolicy\x12\x0f\n\x0bGATHER_ONCE\x10\x00\x12\x16\n\x12GATHER_CONTINUALLY\x10\x01*`\n\x11\x43onnectionQuality\x12\x10\n\x0cQUALITY_POOR\x10\x00\x12\x10\n\x0cQUALITY_GOOD\x10\x01\x12\x15\n\x11QUALITY_EXCELLENT\x10\x02\x12\x10\n\x0cQUALITY_LOST\x10\x03*S\n\x0f\x43onnectionState\x12\x15\n\x11\x43ONN_DISCONNECTED\x10\x00\x12\x12\n\x0e\x43ONN_CONNECTED\x10\x01\x12\x15\n\x11\x43ONN_RECONNECTING\x10\x02*3\n\x0e\x44\x61taPacketKind\x12\x0e\n\nKIND_LOSSY\x10\x00\x12\x11\n\rKIND_RELIABLE\x10\x01\x42\x10\xaa\x02\rLiveKit.Proto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -37,246 +37,248 @@ _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_options = b'8\001' _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 - _globals['_CONTINUALGATHERINGPOLICY']._serialized_start=13254 - _globals['_CONTINUALGATHERINGPOLICY']._serialized_end=13321 - _globals['_CONNECTIONQUALITY']._serialized_start=13323 - _globals['_CONNECTIONQUALITY']._serialized_end=13419 - _globals['_CONNECTIONSTATE']._serialized_start=13421 - _globals['_CONNECTIONSTATE']._serialized_end=13504 - _globals['_DATAPACKETKIND']._serialized_start=13506 - _globals['_DATAPACKETKIND']._serialized_end=13557 + _globals['_ICETRANSPORTTYPE']._serialized_start=13798 + _globals['_ICETRANSPORTTYPE']._serialized_end=13878 + _globals['_CONTINUALGATHERINGPOLICY']._serialized_start=13880 + _globals['_CONTINUALGATHERINGPOLICY']._serialized_end=13947 + _globals['_CONNECTIONQUALITY']._serialized_start=13949 + _globals['_CONNECTIONQUALITY']._serialized_end=14045 + _globals['_CONNECTIONSTATE']._serialized_start=14047 + _globals['_CONNECTIONSTATE']._serialized_end=14130 + _globals['_DATAPACKETKIND']._serialized_start=14132 + _globals['_DATAPACKETKIND']._serialized_end=14183 _globals['_CONNECTREQUEST']._serialized_start=138 - _globals['_CONNECTREQUEST']._serialized_end=227 - _globals['_CONNECTRESPONSE']._serialized_start=229 - _globals['_CONNECTRESPONSE']._serialized_end=264 - _globals['_CONNECTCALLBACK']._serialized_start=267 - _globals['_CONNECTCALLBACK']._serialized_end=714 - _globals['_CONNECTCALLBACK_PARTICIPANTWITHTRACKS']._serialized_start=379 - _globals['_CONNECTCALLBACK_PARTICIPANTWITHTRACKS']._serialized_end=516 - _globals['_CONNECTCALLBACK_RESULT']._serialized_start=519 - _globals['_CONNECTCALLBACK_RESULT']._serialized_end=703 - _globals['_DISCONNECTREQUEST']._serialized_start=716 - _globals['_DISCONNECTREQUEST']._serialized_end=756 - _globals['_DISCONNECTRESPONSE']._serialized_start=758 - _globals['_DISCONNECTRESPONSE']._serialized_end=796 - _globals['_DISCONNECTCALLBACK']._serialized_start=798 - _globals['_DISCONNECTCALLBACK']._serialized_end=836 - _globals['_PUBLISHTRACKREQUEST']._serialized_start=839 - _globals['_PUBLISHTRACKREQUEST']._serialized_end=969 - _globals['_PUBLISHTRACKRESPONSE']._serialized_start=971 - _globals['_PUBLISHTRACKRESPONSE']._serialized_end=1011 - _globals['_PUBLISHTRACKCALLBACK']._serialized_start=1014 - _globals['_PUBLISHTRACKCALLBACK']._serialized_end=1143 - _globals['_UNPUBLISHTRACKREQUEST']._serialized_start=1145 - _globals['_UNPUBLISHTRACKREQUEST']._serialized_end=1248 - _globals['_UNPUBLISHTRACKRESPONSE']._serialized_start=1250 - _globals['_UNPUBLISHTRACKRESPONSE']._serialized_end=1292 - _globals['_UNPUBLISHTRACKCALLBACK']._serialized_start=1294 - _globals['_UNPUBLISHTRACKCALLBACK']._serialized_end=1351 - _globals['_PUBLISHDATAREQUEST']._serialized_start=1354 - _globals['_PUBLISHDATAREQUEST']._serialized_end=1539 - _globals['_PUBLISHDATARESPONSE']._serialized_start=1541 - _globals['_PUBLISHDATARESPONSE']._serialized_end=1580 - _globals['_PUBLISHDATACALLBACK']._serialized_start=1582 - _globals['_PUBLISHDATACALLBACK']._serialized_end=1636 - _globals['_PUBLISHTRANSCRIPTIONREQUEST']._serialized_start=1639 - _globals['_PUBLISHTRANSCRIPTIONREQUEST']._serialized_end=1805 - _globals['_PUBLISHTRANSCRIPTIONRESPONSE']._serialized_start=1807 - _globals['_PUBLISHTRANSCRIPTIONRESPONSE']._serialized_end=1855 - _globals['_PUBLISHTRANSCRIPTIONCALLBACK']._serialized_start=1857 - _globals['_PUBLISHTRANSCRIPTIONCALLBACK']._serialized_end=1920 - _globals['_PUBLISHSIPDTMFREQUEST']._serialized_start=1922 - _globals['_PUBLISHSIPDTMFREQUEST']._serialized_end=2040 - _globals['_PUBLISHSIPDTMFRESPONSE']._serialized_start=2042 - _globals['_PUBLISHSIPDTMFRESPONSE']._serialized_end=2084 - _globals['_PUBLISHSIPDTMFCALLBACK']._serialized_start=2086 - _globals['_PUBLISHSIPDTMFCALLBACK']._serialized_end=2143 - _globals['_SETLOCALMETADATAREQUEST']._serialized_start=2145 - _globals['_SETLOCALMETADATAREQUEST']._serialized_end=2222 - _globals['_SETLOCALMETADATARESPONSE']._serialized_start=2224 - _globals['_SETLOCALMETADATARESPONSE']._serialized_end=2268 - _globals['_SETLOCALMETADATACALLBACK']._serialized_start=2270 - _globals['_SETLOCALMETADATACALLBACK']._serialized_end=2329 - _globals['_SENDCHATMESSAGEREQUEST']._serialized_start=2332 - _globals['_SENDCHATMESSAGEREQUEST']._serialized_end=2464 - _globals['_EDITCHATMESSAGEREQUEST']._serialized_start=2467 - _globals['_EDITCHATMESSAGEREQUEST']._serialized_end=2655 - _globals['_SENDCHATMESSAGERESPONSE']._serialized_start=2657 - _globals['_SENDCHATMESSAGERESPONSE']._serialized_end=2700 - _globals['_SENDCHATMESSAGECALLBACK']._serialized_start=2702 - _globals['_SENDCHATMESSAGECALLBACK']._serialized_end=2825 - _globals['_SETLOCALATTRIBUTESREQUEST']._serialized_start=2827 - _globals['_SETLOCALATTRIBUTESREQUEST']._serialized_end=2940 - _globals['_ATTRIBUTESENTRY']._serialized_start=2942 - _globals['_ATTRIBUTESENTRY']._serialized_end=2987 - _globals['_SETLOCALATTRIBUTESRESPONSE']._serialized_start=2989 - _globals['_SETLOCALATTRIBUTESRESPONSE']._serialized_end=3035 - _globals['_SETLOCALATTRIBUTESCALLBACK']._serialized_start=3037 - _globals['_SETLOCALATTRIBUTESCALLBACK']._serialized_end=3098 - _globals['_SETLOCALNAMEREQUEST']._serialized_start=3100 - _globals['_SETLOCALNAMEREQUEST']._serialized_end=3169 - _globals['_SETLOCALNAMERESPONSE']._serialized_start=3171 - _globals['_SETLOCALNAMERESPONSE']._serialized_end=3211 - _globals['_SETLOCALNAMECALLBACK']._serialized_start=3213 - _globals['_SETLOCALNAMECALLBACK']._serialized_end=3268 - _globals['_SETSUBSCRIBEDREQUEST']._serialized_start=3270 - _globals['_SETSUBSCRIBEDREQUEST']._serialized_end=3339 - _globals['_SETSUBSCRIBEDRESPONSE']._serialized_start=3341 - _globals['_SETSUBSCRIBEDRESPONSE']._serialized_end=3364 - _globals['_GETSESSIONSTATSREQUEST']._serialized_start=3366 - _globals['_GETSESSIONSTATSREQUEST']._serialized_end=3411 - _globals['_GETSESSIONSTATSRESPONSE']._serialized_start=3413 - _globals['_GETSESSIONSTATSRESPONSE']._serialized_end=3456 - _globals['_GETSESSIONSTATSCALLBACK']._serialized_start=3459 - _globals['_GETSESSIONSTATSCALLBACK']._serialized_end=3706 - _globals['_GETSESSIONSTATSCALLBACK_RESULT']._serialized_start=3586 - _globals['_GETSESSIONSTATSCALLBACK_RESULT']._serialized_end=3695 - _globals['_VIDEOENCODING']._serialized_start=3708 - _globals['_VIDEOENCODING']._serialized_end=3767 - _globals['_AUDIOENCODING']._serialized_start=3769 - _globals['_AUDIOENCODING']._serialized_end=3805 - _globals['_TRACKPUBLISHOPTIONS']._serialized_start=3808 - _globals['_TRACKPUBLISHOPTIONS']._serialized_end=4117 - _globals['_ICESERVER']._serialized_start=4119 - _globals['_ICESERVER']._serialized_end=4180 - _globals['_RTCCONFIG']._serialized_start=4183 - _globals['_RTCCONFIG']._serialized_end=4379 - _globals['_ROOMOPTIONS']._serialized_start=4382 - _globals['_ROOMOPTIONS']._serialized_end=4624 - _globals['_TRANSCRIPTIONSEGMENT']._serialized_start=4626 - _globals['_TRANSCRIPTIONSEGMENT']._serialized_end=4745 - _globals['_BUFFERINFO']._serialized_start=4747 - _globals['_BUFFERINFO']._serialized_end=4795 - _globals['_OWNEDBUFFER']._serialized_start=4797 - _globals['_OWNEDBUFFER']._serialized_end=4898 - _globals['_ROOMEVENT']._serialized_start=4901 - _globals['_ROOMEVENT']._serialized_end=7561 - _globals['_ROOMINFO']._serialized_start=7564 - _globals['_ROOMINFO']._serialized_end=7893 - _globals['_OWNEDROOM']._serialized_start=7895 - _globals['_OWNEDROOM']._serialized_end=7992 - _globals['_PARTICIPANTSUPDATED']._serialized_start=7994 - _globals['_PARTICIPANTSUPDATED']._serialized_end=8069 - _globals['_PARTICIPANTCONNECTED']._serialized_start=8071 - _globals['_PARTICIPANTCONNECTED']._serialized_end=8140 - _globals['_PARTICIPANTDISCONNECTED']._serialized_start=8142 - _globals['_PARTICIPANTDISCONNECTED']._serialized_end=8257 - _globals['_LOCALTRACKPUBLISHED']._serialized_start=8259 - _globals['_LOCALTRACKPUBLISHED']._serialized_end=8299 - _globals['_LOCALTRACKUNPUBLISHED']._serialized_start=8301 - _globals['_LOCALTRACKUNPUBLISHED']._serialized_end=8349 - _globals['_LOCALTRACKSUBSCRIBED']._serialized_start=8351 - _globals['_LOCALTRACKSUBSCRIBED']._serialized_end=8392 - _globals['_TRACKPUBLISHED']._serialized_start=8394 - _globals['_TRACKPUBLISHED']._serialized_end=8499 - _globals['_TRACKUNPUBLISHED']._serialized_start=8501 - _globals['_TRACKUNPUBLISHED']._serialized_end=8574 - _globals['_TRACKSUBSCRIBED']._serialized_start=8576 - _globals['_TRACKSUBSCRIBED']._serialized_end=8665 - _globals['_TRACKUNSUBSCRIBED']._serialized_start=8667 - _globals['_TRACKUNSUBSCRIBED']._serialized_end=8735 - _globals['_TRACKSUBSCRIPTIONFAILED']._serialized_start=8737 - _globals['_TRACKSUBSCRIPTIONFAILED']._serialized_end=8826 - _globals['_TRACKMUTED']._serialized_start=8828 - _globals['_TRACKMUTED']._serialized_end=8889 - _globals['_TRACKUNMUTED']._serialized_start=8891 - _globals['_TRACKUNMUTED']._serialized_end=8954 - _globals['_E2EESTATECHANGED']._serialized_start=8956 - _globals['_E2EESTATECHANGED']._serialized_end=9051 - _globals['_ACTIVESPEAKERSCHANGED']._serialized_start=9053 - _globals['_ACTIVESPEAKERSCHANGED']._serialized_end=9108 - _globals['_ROOMMETADATACHANGED']._serialized_start=9110 - _globals['_ROOMMETADATACHANGED']._serialized_end=9149 - _globals['_ROOMSIDCHANGED']._serialized_start=9151 - _globals['_ROOMSIDCHANGED']._serialized_end=9180 - _globals['_PARTICIPANTMETADATACHANGED']._serialized_start=9182 - _globals['_PARTICIPANTMETADATACHANGED']._serialized_end=9258 - _globals['_PARTICIPANTATTRIBUTESCHANGED']._serialized_start=9261 - _globals['_PARTICIPANTATTRIBUTESCHANGED']._serialized_end=9433 - _globals['_PARTICIPANTENCRYPTIONSTATUSCHANGED']._serialized_start=9435 - _globals['_PARTICIPANTENCRYPTIONSTATUSCHANGED']._serialized_end=9523 - _globals['_PARTICIPANTNAMECHANGED']._serialized_start=9525 - _globals['_PARTICIPANTNAMECHANGED']._serialized_end=9593 - _globals['_CONNECTIONQUALITYCHANGED']._serialized_start=9595 - _globals['_CONNECTIONQUALITYCHANGED']._serialized_end=9702 - _globals['_USERPACKET']._serialized_start=9704 - _globals['_USERPACKET']._serialized_end=9773 - _globals['_CHATMESSAGE']._serialized_start=9775 - _globals['_CHATMESSAGE']._serialized_end=9896 - _globals['_CHATMESSAGERECEIVED']._serialized_start=9898 - _globals['_CHATMESSAGERECEIVED']._serialized_end=9994 - _globals['_SIPDTMF']._serialized_start=9996 - _globals['_SIPDTMF']._serialized_end=10034 - _globals['_DATAPACKETRECEIVED']._serialized_start=10037 - _globals['_DATAPACKETRECEIVED']._serialized_end=10228 - _globals['_TRANSCRIPTIONRECEIVED']._serialized_start=10230 - _globals['_TRANSCRIPTIONRECEIVED']._serialized_end=10357 - _globals['_CONNECTIONSTATECHANGED']._serialized_start=10359 - _globals['_CONNECTIONSTATECHANGED']._serialized_end=10430 - _globals['_CONNECTED']._serialized_start=10432 - _globals['_CONNECTED']._serialized_end=10443 - _globals['_DISCONNECTED']._serialized_start=10445 - _globals['_DISCONNECTED']._serialized_end=10508 - _globals['_RECONNECTING']._serialized_start=10510 - _globals['_RECONNECTING']._serialized_end=10524 - _globals['_RECONNECTED']._serialized_start=10526 - _globals['_RECONNECTED']._serialized_end=10539 - _globals['_TOKENREFRESHED']._serialized_start=10541 - _globals['_TOKENREFRESHED']._serialized_end=10572 - _globals['_ROOMEOS']._serialized_start=10574 - _globals['_ROOMEOS']._serialized_end=10583 - _globals['_DATASTREAM']._serialized_start=10586 - _globals['_DATASTREAM']._serialized_end=11496 - _globals['_DATASTREAM_TEXTHEADER']._serialized_start=10601 - _globals['_DATASTREAM_TEXTHEADER']._serialized_end=10771 - _globals['_DATASTREAM_BYTEHEADER']._serialized_start=10773 - _globals['_DATASTREAM_BYTEHEADER']._serialized_end=10799 - _globals['_DATASTREAM_HEADER']._serialized_start=10802 - _globals['_DATASTREAM_HEADER']._serialized_end=11165 - _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_start=11098 - _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_end=11147 - _globals['_DATASTREAM_CHUNK']._serialized_start=11167 - _globals['_DATASTREAM_CHUNK']._serialized_end=11260 - _globals['_DATASTREAM_TRAILER']._serialized_start=11263 - _globals['_DATASTREAM_TRAILER']._serialized_end=11429 - _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._serialized_start=11098 - _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._serialized_end=11147 - _globals['_DATASTREAM_OPERATIONTYPE']._serialized_start=11431 - _globals['_DATASTREAM_OPERATIONTYPE']._serialized_end=11496 - _globals['_DATASTREAMHEADERRECEIVED']._serialized_start=11498 - _globals['_DATASTREAMHEADERRECEIVED']._serialized_end=11604 - _globals['_DATASTREAMCHUNKRECEIVED']._serialized_start=11606 - _globals['_DATASTREAMCHUNKRECEIVED']._serialized_end=11709 - _globals['_DATASTREAMTRAILERRECEIVED']._serialized_start=11711 - _globals['_DATASTREAMTRAILERRECEIVED']._serialized_end=11820 - _globals['_SENDSTREAMHEADERREQUEST']._serialized_start=11823 - _globals['_SENDSTREAMHEADERREQUEST']._serialized_end=11989 - _globals['_SENDSTREAMCHUNKREQUEST']._serialized_start=11992 - _globals['_SENDSTREAMCHUNKREQUEST']._serialized_end=12155 - _globals['_SENDSTREAMTRAILERREQUEST']._serialized_start=12158 - _globals['_SENDSTREAMTRAILERREQUEST']._serialized_end=12327 - _globals['_SENDSTREAMHEADERRESPONSE']._serialized_start=12329 - _globals['_SENDSTREAMHEADERRESPONSE']._serialized_end=12373 - _globals['_SENDSTREAMCHUNKRESPONSE']._serialized_start=12375 - _globals['_SENDSTREAMCHUNKRESPONSE']._serialized_end=12418 - _globals['_SENDSTREAMTRAILERRESPONSE']._serialized_start=12420 - _globals['_SENDSTREAMTRAILERRESPONSE']._serialized_end=12465 - _globals['_SENDSTREAMHEADERCALLBACK']._serialized_start=12467 - _globals['_SENDSTREAMHEADERCALLBACK']._serialized_end=12526 - _globals['_SENDSTREAMCHUNKCALLBACK']._serialized_start=12528 - _globals['_SENDSTREAMCHUNKCALLBACK']._serialized_end=12586 - _globals['_SENDSTREAMTRAILERCALLBACK']._serialized_start=12588 - _globals['_SENDSTREAMTRAILERCALLBACK']._serialized_end=12648 - _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDREQUEST']._serialized_start=12651 - _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDREQUEST']._serialized_end=12798 - _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDRESPONSE']._serialized_start=12800 - _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDRESPONSE']._serialized_end=12850 - _globals['_DATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDCHANGED']._serialized_start=12852 - _globals['_DATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDCHANGED']._serialized_end=12962 - _globals['_BYTESTREAMOPENED']._serialized_start=12964 - _globals['_BYTESTREAMOPENED']._serialized_end=13066 - _globals['_TEXTSTREAMOPENED']._serialized_start=13068 - _globals['_TEXTSTREAMOPENED']._serialized_end=13170 + _globals['_CONNECTREQUEST']._serialized_end=253 + _globals['_CONNECTRESPONSE']._serialized_start=255 + _globals['_CONNECTRESPONSE']._serialized_end=290 + _globals['_CONNECTCALLBACK']._serialized_start=293 + _globals['_CONNECTCALLBACK']._serialized_end=740 + _globals['_CONNECTCALLBACK_PARTICIPANTWITHTRACKS']._serialized_start=405 + _globals['_CONNECTCALLBACK_PARTICIPANTWITHTRACKS']._serialized_end=542 + _globals['_CONNECTCALLBACK_RESULT']._serialized_start=545 + _globals['_CONNECTCALLBACK_RESULT']._serialized_end=729 + _globals['_DISCONNECTREQUEST']._serialized_start=742 + _globals['_DISCONNECTREQUEST']._serialized_end=808 + _globals['_DISCONNECTRESPONSE']._serialized_start=810 + _globals['_DISCONNECTRESPONSE']._serialized_end=848 + _globals['_DISCONNECTCALLBACK']._serialized_start=850 + _globals['_DISCONNECTCALLBACK']._serialized_end=888 + _globals['_PUBLISHTRACKREQUEST']._serialized_start=891 + _globals['_PUBLISHTRACKREQUEST']._serialized_end=1047 + _globals['_PUBLISHTRACKRESPONSE']._serialized_start=1049 + _globals['_PUBLISHTRACKRESPONSE']._serialized_end=1089 + _globals['_PUBLISHTRACKCALLBACK']._serialized_start=1092 + _globals['_PUBLISHTRACKCALLBACK']._serialized_end=1221 + _globals['_UNPUBLISHTRACKREQUEST']._serialized_start=1224 + _globals['_UNPUBLISHTRACKREQUEST']._serialized_end=1353 + _globals['_UNPUBLISHTRACKRESPONSE']._serialized_start=1355 + _globals['_UNPUBLISHTRACKRESPONSE']._serialized_end=1397 + _globals['_UNPUBLISHTRACKCALLBACK']._serialized_start=1399 + _globals['_UNPUBLISHTRACKCALLBACK']._serialized_end=1456 + _globals['_PUBLISHDATAREQUEST']._serialized_start=1459 + _globals['_PUBLISHDATAREQUEST']._serialized_end=1670 + _globals['_PUBLISHDATARESPONSE']._serialized_start=1672 + _globals['_PUBLISHDATARESPONSE']._serialized_end=1711 + _globals['_PUBLISHDATACALLBACK']._serialized_start=1713 + _globals['_PUBLISHDATACALLBACK']._serialized_end=1767 + _globals['_PUBLISHTRANSCRIPTIONREQUEST']._serialized_start=1770 + _globals['_PUBLISHTRANSCRIPTIONREQUEST']._serialized_end=1962 + _globals['_PUBLISHTRANSCRIPTIONRESPONSE']._serialized_start=1964 + _globals['_PUBLISHTRANSCRIPTIONRESPONSE']._serialized_end=2012 + _globals['_PUBLISHTRANSCRIPTIONCALLBACK']._serialized_start=2014 + _globals['_PUBLISHTRANSCRIPTIONCALLBACK']._serialized_end=2077 + _globals['_PUBLISHSIPDTMFREQUEST']._serialized_start=2080 + _globals['_PUBLISHSIPDTMFREQUEST']._serialized_end=2224 + _globals['_PUBLISHSIPDTMFRESPONSE']._serialized_start=2226 + _globals['_PUBLISHSIPDTMFRESPONSE']._serialized_end=2268 + _globals['_PUBLISHSIPDTMFCALLBACK']._serialized_start=2270 + _globals['_PUBLISHSIPDTMFCALLBACK']._serialized_end=2327 + _globals['_SETLOCALMETADATAREQUEST']._serialized_start=2329 + _globals['_SETLOCALMETADATAREQUEST']._serialized_end=2432 + _globals['_SETLOCALMETADATARESPONSE']._serialized_start=2434 + _globals['_SETLOCALMETADATARESPONSE']._serialized_end=2478 + _globals['_SETLOCALMETADATACALLBACK']._serialized_start=2480 + _globals['_SETLOCALMETADATACALLBACK']._serialized_end=2539 + _globals['_SENDCHATMESSAGEREQUEST']._serialized_start=2542 + _globals['_SENDCHATMESSAGEREQUEST']._serialized_end=2700 + _globals['_EDITCHATMESSAGEREQUEST']._serialized_start=2703 + _globals['_EDITCHATMESSAGEREQUEST']._serialized_end=2917 + _globals['_SENDCHATMESSAGERESPONSE']._serialized_start=2919 + _globals['_SENDCHATMESSAGERESPONSE']._serialized_end=2962 + _globals['_SENDCHATMESSAGECALLBACK']._serialized_start=2964 + _globals['_SENDCHATMESSAGECALLBACK']._serialized_end=3087 + _globals['_SETLOCALATTRIBUTESREQUEST']._serialized_start=3090 + _globals['_SETLOCALATTRIBUTESREQUEST']._serialized_end=3229 + _globals['_ATTRIBUTESENTRY']._serialized_start=3231 + _globals['_ATTRIBUTESENTRY']._serialized_end=3276 + _globals['_SETLOCALATTRIBUTESRESPONSE']._serialized_start=3278 + _globals['_SETLOCALATTRIBUTESRESPONSE']._serialized_end=3324 + _globals['_SETLOCALATTRIBUTESCALLBACK']._serialized_start=3326 + _globals['_SETLOCALATTRIBUTESCALLBACK']._serialized_end=3387 + _globals['_SETLOCALNAMEREQUEST']._serialized_start=3389 + _globals['_SETLOCALNAMEREQUEST']._serialized_end=3484 + _globals['_SETLOCALNAMERESPONSE']._serialized_start=3486 + _globals['_SETLOCALNAMERESPONSE']._serialized_end=3526 + _globals['_SETLOCALNAMECALLBACK']._serialized_start=3528 + _globals['_SETLOCALNAMECALLBACK']._serialized_end=3583 + _globals['_SETSUBSCRIBEDREQUEST']._serialized_start=3585 + _globals['_SETSUBSCRIBEDREQUEST']._serialized_end=3654 + _globals['_SETSUBSCRIBEDRESPONSE']._serialized_start=3656 + _globals['_SETSUBSCRIBEDRESPONSE']._serialized_end=3679 + _globals['_GETSESSIONSTATSREQUEST']._serialized_start=3681 + _globals['_GETSESSIONSTATSREQUEST']._serialized_end=3752 + _globals['_GETSESSIONSTATSRESPONSE']._serialized_start=3754 + _globals['_GETSESSIONSTATSRESPONSE']._serialized_end=3797 + _globals['_GETSESSIONSTATSCALLBACK']._serialized_start=3800 + _globals['_GETSESSIONSTATSCALLBACK']._serialized_end=4047 + _globals['_GETSESSIONSTATSCALLBACK_RESULT']._serialized_start=3927 + _globals['_GETSESSIONSTATSCALLBACK_RESULT']._serialized_end=4036 + _globals['_VIDEOENCODING']._serialized_start=4049 + _globals['_VIDEOENCODING']._serialized_end=4108 + _globals['_AUDIOENCODING']._serialized_start=4110 + _globals['_AUDIOENCODING']._serialized_end=4146 + _globals['_TRACKPUBLISHOPTIONS']._serialized_start=4149 + _globals['_TRACKPUBLISHOPTIONS']._serialized_end=4458 + _globals['_ICESERVER']._serialized_start=4460 + _globals['_ICESERVER']._serialized_end=4521 + _globals['_RTCCONFIG']._serialized_start=4524 + _globals['_RTCCONFIG']._serialized_end=4720 + _globals['_ROOMOPTIONS']._serialized_start=4723 + _globals['_ROOMOPTIONS']._serialized_end=4965 + _globals['_TRANSCRIPTIONSEGMENT']._serialized_start=4967 + _globals['_TRANSCRIPTIONSEGMENT']._serialized_end=5086 + _globals['_BUFFERINFO']._serialized_start=5088 + _globals['_BUFFERINFO']._serialized_end=5136 + _globals['_OWNEDBUFFER']._serialized_start=5138 + _globals['_OWNEDBUFFER']._serialized_end=5239 + _globals['_ROOMEVENT']._serialized_start=5242 + _globals['_ROOMEVENT']._serialized_end=7989 + _globals['_ROOMINFO']._serialized_start=7992 + _globals['_ROOMINFO']._serialized_end=8321 + _globals['_OWNEDROOM']._serialized_start=8323 + _globals['_OWNEDROOM']._serialized_end=8420 + _globals['_PARTICIPANTSUPDATED']._serialized_start=8422 + _globals['_PARTICIPANTSUPDATED']._serialized_end=8497 + _globals['_PARTICIPANTCONNECTED']._serialized_start=8499 + _globals['_PARTICIPANTCONNECTED']._serialized_end=8568 + _globals['_PARTICIPANTDISCONNECTED']._serialized_start=8570 + _globals['_PARTICIPANTDISCONNECTED']._serialized_end=8685 + _globals['_LOCALTRACKPUBLISHED']._serialized_start=8687 + _globals['_LOCALTRACKPUBLISHED']._serialized_end=8727 + _globals['_LOCALTRACKUNPUBLISHED']._serialized_start=8729 + _globals['_LOCALTRACKUNPUBLISHED']._serialized_end=8777 + _globals['_LOCALTRACKSUBSCRIBED']._serialized_start=8779 + _globals['_LOCALTRACKSUBSCRIBED']._serialized_end=8820 + _globals['_TRACKPUBLISHED']._serialized_start=8822 + _globals['_TRACKPUBLISHED']._serialized_end=8927 + _globals['_TRACKUNPUBLISHED']._serialized_start=8929 + _globals['_TRACKUNPUBLISHED']._serialized_end=9002 + _globals['_TRACKSUBSCRIBED']._serialized_start=9004 + _globals['_TRACKSUBSCRIBED']._serialized_end=9093 + _globals['_TRACKUNSUBSCRIBED']._serialized_start=9095 + _globals['_TRACKUNSUBSCRIBED']._serialized_end=9163 + _globals['_TRACKSUBSCRIPTIONFAILED']._serialized_start=9165 + _globals['_TRACKSUBSCRIPTIONFAILED']._serialized_end=9254 + _globals['_TRACKMUTED']._serialized_start=9256 + _globals['_TRACKMUTED']._serialized_end=9317 + _globals['_TRACKUNMUTED']._serialized_start=9319 + _globals['_TRACKUNMUTED']._serialized_end=9382 + _globals['_E2EESTATECHANGED']._serialized_start=9384 + _globals['_E2EESTATECHANGED']._serialized_end=9479 + _globals['_ACTIVESPEAKERSCHANGED']._serialized_start=9481 + _globals['_ACTIVESPEAKERSCHANGED']._serialized_end=9536 + _globals['_ROOMMETADATACHANGED']._serialized_start=9538 + _globals['_ROOMMETADATACHANGED']._serialized_end=9577 + _globals['_ROOMSIDCHANGED']._serialized_start=9579 + _globals['_ROOMSIDCHANGED']._serialized_end=9608 + _globals['_PARTICIPANTMETADATACHANGED']._serialized_start=9610 + _globals['_PARTICIPANTMETADATACHANGED']._serialized_end=9686 + _globals['_PARTICIPANTATTRIBUTESCHANGED']._serialized_start=9689 + _globals['_PARTICIPANTATTRIBUTESCHANGED']._serialized_end=9861 + _globals['_PARTICIPANTENCRYPTIONSTATUSCHANGED']._serialized_start=9863 + _globals['_PARTICIPANTENCRYPTIONSTATUSCHANGED']._serialized_end=9951 + _globals['_PARTICIPANTNAMECHANGED']._serialized_start=9953 + _globals['_PARTICIPANTNAMECHANGED']._serialized_end=10021 + _globals['_PARTICIPANTPERMISSIONCHANGED']._serialized_start=10023 + _globals['_PARTICIPANTPERMISSIONCHANGED']._serialized_end=10141 + _globals['_CONNECTIONQUALITYCHANGED']._serialized_start=10143 + _globals['_CONNECTIONQUALITYCHANGED']._serialized_end=10250 + _globals['_USERPACKET']._serialized_start=10252 + _globals['_USERPACKET']._serialized_end=10321 + _globals['_CHATMESSAGE']._serialized_start=10323 + _globals['_CHATMESSAGE']._serialized_end=10444 + _globals['_CHATMESSAGERECEIVED']._serialized_start=10446 + _globals['_CHATMESSAGERECEIVED']._serialized_end=10542 + _globals['_SIPDTMF']._serialized_start=10544 + _globals['_SIPDTMF']._serialized_end=10582 + _globals['_DATAPACKETRECEIVED']._serialized_start=10585 + _globals['_DATAPACKETRECEIVED']._serialized_end=10776 + _globals['_TRANSCRIPTIONRECEIVED']._serialized_start=10778 + _globals['_TRANSCRIPTIONRECEIVED']._serialized_end=10905 + _globals['_CONNECTIONSTATECHANGED']._serialized_start=10907 + _globals['_CONNECTIONSTATECHANGED']._serialized_end=10978 + _globals['_CONNECTED']._serialized_start=10980 + _globals['_CONNECTED']._serialized_end=10991 + _globals['_DISCONNECTED']._serialized_start=10993 + _globals['_DISCONNECTED']._serialized_end=11056 + _globals['_RECONNECTING']._serialized_start=11058 + _globals['_RECONNECTING']._serialized_end=11072 + _globals['_RECONNECTED']._serialized_start=11074 + _globals['_RECONNECTED']._serialized_end=11087 + _globals['_TOKENREFRESHED']._serialized_start=11089 + _globals['_TOKENREFRESHED']._serialized_end=11120 + _globals['_ROOMEOS']._serialized_start=11122 + _globals['_ROOMEOS']._serialized_end=11131 + _globals['_DATASTREAM']._serialized_start=11134 + _globals['_DATASTREAM']._serialized_end=12044 + _globals['_DATASTREAM_TEXTHEADER']._serialized_start=11149 + _globals['_DATASTREAM_TEXTHEADER']._serialized_end=11319 + _globals['_DATASTREAM_BYTEHEADER']._serialized_start=11321 + _globals['_DATASTREAM_BYTEHEADER']._serialized_end=11347 + _globals['_DATASTREAM_HEADER']._serialized_start=11350 + _globals['_DATASTREAM_HEADER']._serialized_end=11713 + _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_start=11646 + _globals['_DATASTREAM_HEADER_ATTRIBUTESENTRY']._serialized_end=11695 + _globals['_DATASTREAM_CHUNK']._serialized_start=11715 + _globals['_DATASTREAM_CHUNK']._serialized_end=11808 + _globals['_DATASTREAM_TRAILER']._serialized_start=11811 + _globals['_DATASTREAM_TRAILER']._serialized_end=11977 + _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._serialized_start=11646 + _globals['_DATASTREAM_TRAILER_ATTRIBUTESENTRY']._serialized_end=11695 + _globals['_DATASTREAM_OPERATIONTYPE']._serialized_start=11979 + _globals['_DATASTREAM_OPERATIONTYPE']._serialized_end=12044 + _globals['_DATASTREAMHEADERRECEIVED']._serialized_start=12046 + _globals['_DATASTREAMHEADERRECEIVED']._serialized_end=12152 + _globals['_DATASTREAMCHUNKRECEIVED']._serialized_start=12154 + _globals['_DATASTREAMCHUNKRECEIVED']._serialized_end=12257 + _globals['_DATASTREAMTRAILERRECEIVED']._serialized_start=12259 + _globals['_DATASTREAMTRAILERRECEIVED']._serialized_end=12368 + _globals['_SENDSTREAMHEADERREQUEST']._serialized_start=12371 + _globals['_SENDSTREAMHEADERREQUEST']._serialized_end=12563 + _globals['_SENDSTREAMCHUNKREQUEST']._serialized_start=12566 + _globals['_SENDSTREAMCHUNKREQUEST']._serialized_end=12755 + _globals['_SENDSTREAMTRAILERREQUEST']._serialized_start=12758 + _globals['_SENDSTREAMTRAILERREQUEST']._serialized_end=12953 + _globals['_SENDSTREAMHEADERRESPONSE']._serialized_start=12955 + _globals['_SENDSTREAMHEADERRESPONSE']._serialized_end=12999 + _globals['_SENDSTREAMCHUNKRESPONSE']._serialized_start=13001 + _globals['_SENDSTREAMCHUNKRESPONSE']._serialized_end=13044 + _globals['_SENDSTREAMTRAILERRESPONSE']._serialized_start=13046 + _globals['_SENDSTREAMTRAILERRESPONSE']._serialized_end=13091 + _globals['_SENDSTREAMHEADERCALLBACK']._serialized_start=13093 + _globals['_SENDSTREAMHEADERCALLBACK']._serialized_end=13152 + _globals['_SENDSTREAMCHUNKCALLBACK']._serialized_start=13154 + _globals['_SENDSTREAMCHUNKCALLBACK']._serialized_end=13212 + _globals['_SENDSTREAMTRAILERCALLBACK']._serialized_start=13214 + _globals['_SENDSTREAMTRAILERCALLBACK']._serialized_end=13274 + _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDREQUEST']._serialized_start=13277 + _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDREQUEST']._serialized_end=13424 + _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDRESPONSE']._serialized_start=13426 + _globals['_SETDATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDRESPONSE']._serialized_end=13476 + _globals['_DATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDCHANGED']._serialized_start=13478 + _globals['_DATACHANNELBUFFEREDAMOUNTLOWTHRESHOLDCHANGED']._serialized_end=13588 + _globals['_BYTESTREAMOPENED']._serialized_start=13590 + _globals['_BYTESTREAMOPENED']._serialized_end=13692 + _globals['_TEXTSTREAMOPENED']._serialized_start=13694 + _globals['_TEXTSTREAMOPENED']._serialized_end=13796 # @@protoc_insertion_point(module_scope) diff --git a/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi index 09b875e5..855dc852 100644 --- a/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/room_pb2.pyi @@ -134,8 +134,10 @@ class ConnectRequest(google.protobuf.message.Message): URL_FIELD_NUMBER: builtins.int TOKEN_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int url: builtins.str token: builtins.str + request_async_id: builtins.int @property def options(self) -> global___RoomOptions: ... def __init__( @@ -144,9 +146,10 @@ class ConnectRequest(google.protobuf.message.Message): url: builtins.str | None = ..., token: builtins.str | None = ..., options: global___RoomOptions | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["options", b"options", "request_async_id", b"request_async_id", "token", b"token", "url", b"url"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["options", b"options", "request_async_id", b"request_async_id", "token", b"token", "url", b"url"]) -> None: ... global___ConnectRequest = ConnectRequest @@ -243,14 +246,17 @@ class DisconnectRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ROOM_HANDLE_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int room_handle: builtins.int + request_async_id: builtins.int def __init__( self, *, room_handle: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "room_handle", b"room_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "room_handle", b"room_handle"]) -> None: ... global___DisconnectRequest = DisconnectRequest @@ -295,8 +301,10 @@ class PublishTrackRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int TRACK_HANDLE_FIELD_NUMBER: builtins.int OPTIONS_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int track_handle: builtins.int + request_async_id: builtins.int @property def options(self) -> global___TrackPublishOptions: ... def __init__( @@ -305,9 +313,10 @@ class PublishTrackRequest(google.protobuf.message.Message): local_participant_handle: builtins.int | None = ..., track_handle: builtins.int | None = ..., options: global___TrackPublishOptions | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id", "track_handle", b"track_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "options", b"options", "request_async_id", b"request_async_id", "track_handle", b"track_handle"]) -> None: ... global___PublishTrackRequest = PublishTrackRequest @@ -360,18 +369,21 @@ class UnpublishTrackRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int TRACK_SID_FIELD_NUMBER: builtins.int STOP_ON_UNPUBLISH_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int track_sid: builtins.str stop_on_unpublish: builtins.bool + request_async_id: builtins.int def __init__( self, *, local_participant_handle: builtins.int | None = ..., track_sid: builtins.str | None = ..., stop_on_unpublish: builtins.bool | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "stop_on_unpublish", b"stop_on_unpublish", "track_sid", b"track_sid"]) -> None: ... global___UnpublishTrackRequest = UnpublishTrackRequest @@ -423,11 +435,13 @@ class PublishDataRequest(google.protobuf.message.Message): DESTINATION_SIDS_FIELD_NUMBER: builtins.int TOPIC_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int data_ptr: builtins.int data_len: builtins.int reliable: builtins.bool topic: builtins.str + request_async_id: builtins.int @property def destination_sids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... @property @@ -442,9 +456,10 @@ class PublishDataRequest(google.protobuf.message.Message): destination_sids: collections.abc.Iterable[builtins.str] | None = ..., topic: builtins.str | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + 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", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "topic", b"topic"]) -> None: ... global___PublishDataRequest = PublishDataRequest @@ -493,9 +508,11 @@ class PublishTranscriptionRequest(google.protobuf.message.Message): PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int TRACK_ID_FIELD_NUMBER: builtins.int SEGMENTS_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int participant_identity: builtins.str track_id: builtins.str + request_async_id: builtins.int @property def segments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TranscriptionSegment]: ... def __init__( @@ -505,9 +522,10 @@ class PublishTranscriptionRequest(google.protobuf.message.Message): participant_identity: builtins.str | None = ..., track_id: builtins.str | None = ..., segments: collections.abc.Iterable[global___TranscriptionSegment] | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "participant_identity", b"participant_identity", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "segments", b"segments", "track_id", b"track_id"]) -> None: ... global___PublishTranscriptionRequest = PublishTranscriptionRequest @@ -556,9 +574,11 @@ class PublishSipDtmfRequest(google.protobuf.message.Message): CODE_FIELD_NUMBER: builtins.int DIGIT_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int code: builtins.int digit: builtins.str + request_async_id: builtins.int @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( @@ -568,9 +588,10 @@ class PublishSipDtmfRequest(google.protobuf.message.Message): code: builtins.int | None = ..., digit: builtins.str | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["code", b"code", "digit", b"digit", "local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id"]) -> 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", "request_async_id", b"request_async_id"]) -> None: ... global___PublishSipDtmfRequest = PublishSipDtmfRequest @@ -617,16 +638,19 @@ class SetLocalMetadataRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int metadata: builtins.str + request_async_id: builtins.int def __init__( self, *, local_participant_handle: builtins.int | None = ..., metadata: builtins.str | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "metadata", b"metadata", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "metadata", b"metadata", "request_async_id", b"request_async_id"]) -> None: ... global___SetLocalMetadataRequest = SetLocalMetadataRequest @@ -673,9 +697,11 @@ class SendChatMessageRequest(google.protobuf.message.Message): MESSAGE_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int SENDER_IDENTITY_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int message: builtins.str sender_identity: builtins.str + request_async_id: builtins.int @property def destination_identities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... def __init__( @@ -685,9 +711,10 @@ class SendChatMessageRequest(google.protobuf.message.Message): message: builtins.str | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "message", b"message", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "sender_identity", b"sender_identity"]) -> None: ... global___SendChatMessageRequest = SendChatMessageRequest @@ -700,9 +727,11 @@ class EditChatMessageRequest(google.protobuf.message.Message): ORIGINAL_MESSAGE_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int SENDER_IDENTITY_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int edit_text: builtins.str sender_identity: builtins.str + request_async_id: builtins.int @property def original_message(self) -> global___ChatMessage: ... @property @@ -715,9 +744,10 @@ class EditChatMessageRequest(google.protobuf.message.Message): original_message: global___ChatMessage | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["edit_text", b"edit_text", "local_participant_handle", b"local_participant_handle", "original_message", b"original_message", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "sender_identity", b"sender_identity"]) -> None: ... global___EditChatMessageRequest = EditChatMessageRequest @@ -769,7 +799,9 @@ class SetLocalAttributesRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int ATTRIBUTES_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int + request_async_id: builtins.int @property def attributes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttributesEntry]: ... def __init__( @@ -777,9 +809,10 @@ class SetLocalAttributesRequest(google.protobuf.message.Message): *, local_participant_handle: builtins.int | None = ..., attributes: collections.abc.Iterable[global___AttributesEntry] | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["attributes", b"attributes", "local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id"]) -> None: ... global___SetLocalAttributesRequest = SetLocalAttributesRequest @@ -845,16 +878,19 @@ class SetLocalNameRequest(google.protobuf.message.Message): LOCAL_PARTICIPANT_HANDLE_FIELD_NUMBER: builtins.int NAME_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int name: builtins.str + request_async_id: builtins.int def __init__( self, *, local_participant_handle: builtins.int | None = ..., name: builtins.str | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "name", b"name", "request_async_id", b"request_async_id"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "name", b"name", "request_async_id", b"request_async_id"]) -> None: ... global___SetLocalNameRequest = SetLocalNameRequest @@ -929,14 +965,17 @@ class GetSessionStatsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ROOM_HANDLE_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int room_handle: builtins.int + request_async_id: builtins.int def __init__( self, *, room_handle: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "room_handle", b"room_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "room_handle", b"room_handle"]) -> None: ... global___GetSessionStatsRequest = GetSessionStatsRequest @@ -1282,6 +1321,7 @@ class RoomEvent(google.protobuf.message.Message): MOVED_FIELD_NUMBER: builtins.int PARTICIPANTS_UPDATED_FIELD_NUMBER: builtins.int PARTICIPANT_ENCRYPTION_STATUS_CHANGED_FIELD_NUMBER: builtins.int + PARTICIPANT_PERMISSION_CHANGED_FIELD_NUMBER: builtins.int TOKEN_REFRESHED_FIELD_NUMBER: builtins.int room_handle: builtins.int @property @@ -1375,6 +1415,8 @@ class RoomEvent(google.protobuf.message.Message): @property def participant_encryption_status_changed(self) -> global___ParticipantEncryptionStatusChanged: ... @property + def participant_permission_changed(self) -> global___ParticipantPermissionChanged: ... + @property def token_refreshed(self) -> global___TokenRefreshed: ... def __init__( self, @@ -1418,11 +1460,12 @@ class RoomEvent(google.protobuf.message.Message): moved: global___RoomInfo | None = ..., participants_updated: global___ParticipantsUpdated | None = ..., participant_encryption_status_changed: global___ParticipantEncryptionStatusChanged | None = ..., + participant_permission_changed: global___ParticipantPermissionChanged | 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: ... + 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", "participant_permission_changed", b"participant_permission_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", "participant_permission_changed", b"participant_permission_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", "participant_permission_changed", "token_refreshed"] | None: ... global___RoomEvent = RoomEvent @@ -1891,6 +1934,26 @@ class ParticipantNameChanged(google.protobuf.message.Message): global___ParticipantNameChanged = ParticipantNameChanged +@typing.final +class ParticipantPermissionChanged(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + PARTICIPANT_IDENTITY_FIELD_NUMBER: builtins.int + PERMISSION_FIELD_NUMBER: builtins.int + participant_identity: builtins.str + @property + def permission(self) -> participant_pb2.ParticipantPermission: ... + def __init__( + self, + *, + participant_identity: builtins.str | None = ..., + permission: participant_pb2.ParticipantPermission | None = ..., + ) -> None: ... + def HasField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "permission", b"permission"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["participant_identity", b"participant_identity", "permission", b"permission"]) -> None: ... + +global___ParticipantPermissionChanged = ParticipantPermissionChanged + @typing.final class ConnectionQualityChanged(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2422,8 +2485,10 @@ class SendStreamHeaderRequest(google.protobuf.message.Message): HEADER_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int SENDER_IDENTITY_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int sender_identity: builtins.str + request_async_id: builtins.int @property def header(self) -> global___DataStream.Header: ... @property @@ -2435,9 +2500,10 @@ class SendStreamHeaderRequest(google.protobuf.message.Message): header: global___DataStream.Header | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["header", b"header", "local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "sender_identity", b"sender_identity"]) -> None: ... global___SendStreamHeaderRequest = SendStreamHeaderRequest @@ -2449,8 +2515,10 @@ class SendStreamChunkRequest(google.protobuf.message.Message): CHUNK_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int SENDER_IDENTITY_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int sender_identity: builtins.str + request_async_id: builtins.int @property def chunk(self) -> global___DataStream.Chunk: ... @property @@ -2462,9 +2530,10 @@ class SendStreamChunkRequest(google.protobuf.message.Message): chunk: global___DataStream.Chunk | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["chunk", b"chunk", "local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "sender_identity", b"sender_identity"]) -> None: ... global___SendStreamChunkRequest = SendStreamChunkRequest @@ -2476,8 +2545,10 @@ class SendStreamTrailerRequest(google.protobuf.message.Message): TRAILER_FIELD_NUMBER: builtins.int DESTINATION_IDENTITIES_FIELD_NUMBER: builtins.int SENDER_IDENTITY_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int sender_identity: builtins.str + request_async_id: builtins.int @property def trailer(self) -> global___DataStream.Trailer: ... @property @@ -2489,9 +2560,10 @@ class SendStreamTrailerRequest(google.protobuf.message.Message): trailer: global___DataStream.Trailer | None = ..., destination_identities: collections.abc.Iterable[builtins.str] | None = ..., sender_identity: builtins.str | None = ..., + request_async_id: builtins.int | 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: ... + def HasField(self, field_name: typing.Literal["local_participant_handle", b"local_participant_handle", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "sender_identity", b"sender_identity", "trailer", b"trailer"]) -> None: ... global___SendStreamTrailerRequest = SendStreamTrailerRequest diff --git a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py index eeb1f9ff..c7211917 100644 --- a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.py @@ -14,7 +14,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\trpc.proto\x12\rlivekit.proto\"7\n\x08RpcError\x12\x0c\n\x04\x63ode\x18\x01 \x02(\r\x12\x0f\n\x07message\x18\x02 \x02(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\t\"\x91\x01\n\x11PerformRpcRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x1c\n\x14\x64\x65stination_identity\x18\x02 \x02(\t\x12\x0e\n\x06method\x18\x03 \x02(\t\x12\x0f\n\x07payload\x18\x04 \x02(\t\x12\x1b\n\x13response_timeout_ms\x18\x05 \x01(\r\"L\n\x18RegisterRpcMethodRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0e\n\x06method\x18\x02 \x02(\t\"N\n\x1aUnregisterRpcMethodRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0e\n\x06method\x18\x02 \x02(\t\"\x96\x01\n\"RpcMethodInvocationResponseRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x15\n\rinvocation_id\x18\x02 \x02(\x04\x12\x0f\n\x07payload\x18\x03 \x01(\t\x12&\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x17.livekit.proto.RpcError\"&\n\x12PerformRpcResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x1b\n\x19RegisterRpcMethodResponse\"\x1d\n\x1bUnregisterRpcMethodResponse\"4\n#RpcMethodInvocationResponseResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"_\n\x12PerformRpcCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x07payload\x18\x02 \x01(\t\x12&\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x17.livekit.proto.RpcError\"\xbe\x01\n\x18RpcMethodInvocationEvent\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x15\n\rinvocation_id\x18\x02 \x02(\x04\x12\x0e\n\x06method\x18\x03 \x02(\t\x12\x12\n\nrequest_id\x18\x04 \x02(\t\x12\x17\n\x0f\x63\x61ller_identity\x18\x05 \x02(\t\x12\x0f\n\x07payload\x18\x06 \x02(\t\x12\x1b\n\x13response_timeout_ms\x18\x07 \x02(\rB\x10\xaa\x02\rLiveKit.Proto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\trpc.proto\x12\rlivekit.proto\"7\n\x08RpcError\x12\x0c\n\x04\x63ode\x18\x01 \x02(\r\x12\x0f\n\x07message\x18\x02 \x02(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\t\"\xab\x01\n\x11PerformRpcRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x1c\n\x14\x64\x65stination_identity\x18\x02 \x02(\t\x12\x0e\n\x06method\x18\x03 \x02(\t\x12\x0f\n\x07payload\x18\x04 \x02(\t\x12\x1b\n\x13response_timeout_ms\x18\x05 \x01(\r\x12\x18\n\x10request_async_id\x18\x06 \x01(\x04\"L\n\x18RegisterRpcMethodRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0e\n\x06method\x18\x02 \x02(\t\"N\n\x1aUnregisterRpcMethodRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x0e\n\x06method\x18\x02 \x02(\t\"\x96\x01\n\"RpcMethodInvocationResponseRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x15\n\rinvocation_id\x18\x02 \x02(\x04\x12\x0f\n\x07payload\x18\x03 \x01(\t\x12&\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x17.livekit.proto.RpcError\"&\n\x12PerformRpcResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"\x1b\n\x19RegisterRpcMethodResponse\"\x1d\n\x1bUnregisterRpcMethodResponse\"4\n#RpcMethodInvocationResponseResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"_\n\x12PerformRpcCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\x0f\n\x07payload\x18\x02 \x01(\t\x12&\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x17.livekit.proto.RpcError\"\xbe\x01\n\x18RpcMethodInvocationEvent\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12\x15\n\rinvocation_id\x18\x02 \x02(\x04\x12\x0e\n\x06method\x18\x03 \x02(\t\x12\x12\n\nrequest_id\x18\x04 \x02(\t\x12\x17\n\x0f\x63\x61ller_identity\x18\x05 \x02(\t\x12\x0f\n\x07payload\x18\x06 \x02(\t\x12\x1b\n\x13response_timeout_ms\x18\x07 \x02(\rB\x10\xaa\x02\rLiveKit.Proto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,23 +25,23 @@ _globals['_RPCERROR']._serialized_start=28 _globals['_RPCERROR']._serialized_end=83 _globals['_PERFORMRPCREQUEST']._serialized_start=86 - _globals['_PERFORMRPCREQUEST']._serialized_end=231 - _globals['_REGISTERRPCMETHODREQUEST']._serialized_start=233 - _globals['_REGISTERRPCMETHODREQUEST']._serialized_end=309 - _globals['_UNREGISTERRPCMETHODREQUEST']._serialized_start=311 - _globals['_UNREGISTERRPCMETHODREQUEST']._serialized_end=389 - _globals['_RPCMETHODINVOCATIONRESPONSEREQUEST']._serialized_start=392 - _globals['_RPCMETHODINVOCATIONRESPONSEREQUEST']._serialized_end=542 - _globals['_PERFORMRPCRESPONSE']._serialized_start=544 - _globals['_PERFORMRPCRESPONSE']._serialized_end=582 - _globals['_REGISTERRPCMETHODRESPONSE']._serialized_start=584 - _globals['_REGISTERRPCMETHODRESPONSE']._serialized_end=611 - _globals['_UNREGISTERRPCMETHODRESPONSE']._serialized_start=613 - _globals['_UNREGISTERRPCMETHODRESPONSE']._serialized_end=642 - _globals['_RPCMETHODINVOCATIONRESPONSERESPONSE']._serialized_start=644 - _globals['_RPCMETHODINVOCATIONRESPONSERESPONSE']._serialized_end=696 - _globals['_PERFORMRPCCALLBACK']._serialized_start=698 - _globals['_PERFORMRPCCALLBACK']._serialized_end=793 - _globals['_RPCMETHODINVOCATIONEVENT']._serialized_start=796 - _globals['_RPCMETHODINVOCATIONEVENT']._serialized_end=986 + _globals['_PERFORMRPCREQUEST']._serialized_end=257 + _globals['_REGISTERRPCMETHODREQUEST']._serialized_start=259 + _globals['_REGISTERRPCMETHODREQUEST']._serialized_end=335 + _globals['_UNREGISTERRPCMETHODREQUEST']._serialized_start=337 + _globals['_UNREGISTERRPCMETHODREQUEST']._serialized_end=415 + _globals['_RPCMETHODINVOCATIONRESPONSEREQUEST']._serialized_start=418 + _globals['_RPCMETHODINVOCATIONRESPONSEREQUEST']._serialized_end=568 + _globals['_PERFORMRPCRESPONSE']._serialized_start=570 + _globals['_PERFORMRPCRESPONSE']._serialized_end=608 + _globals['_REGISTERRPCMETHODRESPONSE']._serialized_start=610 + _globals['_REGISTERRPCMETHODRESPONSE']._serialized_end=637 + _globals['_UNREGISTERRPCMETHODRESPONSE']._serialized_start=639 + _globals['_UNREGISTERRPCMETHODRESPONSE']._serialized_end=668 + _globals['_RPCMETHODINVOCATIONRESPONSERESPONSE']._serialized_start=670 + _globals['_RPCMETHODINVOCATIONRESPONSERESPONSE']._serialized_end=722 + _globals['_PERFORMRPCCALLBACK']._serialized_start=724 + _globals['_PERFORMRPCCALLBACK']._serialized_end=819 + _globals['_RPCMETHODINVOCATIONEVENT']._serialized_start=822 + _globals['_RPCMETHODINVOCATIONEVENT']._serialized_end=1012 # @@protoc_insertion_point(module_scope) diff --git a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi index 90d95d69..bbed4217 100644 --- a/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/rpc_pb2.pyi @@ -56,11 +56,13 @@ class PerformRpcRequest(google.protobuf.message.Message): METHOD_FIELD_NUMBER: builtins.int PAYLOAD_FIELD_NUMBER: builtins.int RESPONSE_TIMEOUT_MS_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int local_participant_handle: builtins.int destination_identity: builtins.str method: builtins.str payload: builtins.str response_timeout_ms: builtins.int + request_async_id: builtins.int def __init__( self, *, @@ -69,9 +71,10 @@ class PerformRpcRequest(google.protobuf.message.Message): method: builtins.str | None = ..., payload: builtins.str | None = ..., response_timeout_ms: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + 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", "request_async_id", b"request_async_id", "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", "request_async_id", b"request_async_id", "response_timeout_ms", b"response_timeout_ms"]) -> None: ... global___PerformRpcRequest = PerformRpcRequest diff --git a/livekit-rtc/livekit/rtc/_proto/track_pb2.py b/livekit-rtc/livekit/rtc/_proto/track_pb2.py index 0f6c9fe7..4bae5528 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_pb2.py +++ b/livekit-rtc/livekit/rtc/_proto/track_pb2.py @@ -17,7 +17,7 @@ from . import stats_pb2 as stats__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btrack.proto\x12\rlivekit.proto\x1a\ne2ee.proto\x1a\x0chandle.proto\x1a\x0bstats.proto\">\n\x17\x43reateVideoTrackRequest\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x15\n\rsource_handle\x18\x02 \x02(\x04\"D\n\x18\x43reateVideoTrackResponse\x12(\n\x05track\x18\x01 \x02(\x0b\x32\x19.livekit.proto.OwnedTrack\">\n\x17\x43reateAudioTrackRequest\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x15\n\rsource_handle\x18\x02 \x02(\x04\"D\n\x18\x43reateAudioTrackResponse\x12(\n\x05track\x18\x01 \x02(\x0b\x32\x19.livekit.proto.OwnedTrack\"\'\n\x0fGetStatsRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\"$\n\x10GetStatsResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"[\n\x10GetStatsCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12&\n\x05stats\x18\x03 \x03(\x0b\x32\x17.livekit.proto.RtcStats\"\x0c\n\nTrackEvent\"\xdd\x02\n\x14TrackPublicationInfo\x12\x0b\n\x03sid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12&\n\x04kind\x18\x03 \x02(\x0e\x32\x18.livekit.proto.TrackKind\x12*\n\x06source\x18\x04 \x02(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x13\n\x0bsimulcasted\x18\x05 \x02(\x08\x12\r\n\x05width\x18\x06 \x02(\r\x12\x0e\n\x06height\x18\x07 \x02(\r\x12\x11\n\tmime_type\x18\x08 \x02(\t\x12\r\n\x05muted\x18\t \x02(\x08\x12\x0e\n\x06remote\x18\n \x02(\x08\x12\x36\n\x0f\x65ncryption_type\x18\x0b \x02(\x0e\x32\x1d.livekit.proto.EncryptionType\x12\x38\n\x0e\x61udio_features\x18\x0c \x03(\x0e\x32 .livekit.proto.AudioTrackFeature\"y\n\x15OwnedTrackPublication\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12\x31\n\x04info\x18\x02 \x02(\x0b\x32#.livekit.proto.TrackPublicationInfo\"\x9f\x01\n\tTrackInfo\x12\x0b\n\x03sid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12&\n\x04kind\x18\x03 \x02(\x0e\x32\x18.livekit.proto.TrackKind\x12\x30\n\x0cstream_state\x18\x04 \x02(\x0e\x32\x1a.livekit.proto.StreamState\x12\r\n\x05muted\x18\x05 \x02(\x08\x12\x0e\n\x06remote\x18\x06 \x02(\x08\"c\n\nOwnedTrack\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12&\n\x04info\x18\x02 \x02(\x0b\x32\x18.livekit.proto.TrackInfo\";\n\x15LocalTrackMuteRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12\x0c\n\x04mute\x18\x02 \x02(\x08\"\'\n\x16LocalTrackMuteResponse\x12\r\n\x05muted\x18\x01 \x02(\x08\"A\n\x18\x45nableRemoteTrackRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12\x0f\n\x07\x65nabled\x18\x02 \x02(\x08\",\n\x19\x45nableRemoteTrackResponse\x12\x0f\n\x07\x65nabled\x18\x01 \x02(\x08\"\xac\x01\n&SetTrackSubscriptionPermissionsRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12 \n\x18\x61ll_participants_allowed\x18\x02 \x02(\x08\x12>\n\x0bpermissions\x18\x03 \x03(\x0b\x32).livekit.proto.ParticipantTrackPermission\"i\n\x1aParticipantTrackPermission\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\tallow_all\x18\x02 \x01(\x08\x12\x1a\n\x12\x61llowed_track_sids\x18\x03 \x03(\t\")\n\'SetTrackSubscriptionPermissionsResponse*=\n\tTrackKind\x12\x10\n\x0cKIND_UNKNOWN\x10\x00\x12\x0e\n\nKIND_AUDIO\x10\x01\x12\x0e\n\nKIND_VIDEO\x10\x02*\x81\x01\n\x0bTrackSource\x12\x12\n\x0eSOURCE_UNKNOWN\x10\x00\x12\x11\n\rSOURCE_CAMERA\x10\x01\x12\x15\n\x11SOURCE_MICROPHONE\x10\x02\x12\x16\n\x12SOURCE_SCREENSHARE\x10\x03\x12\x1c\n\x18SOURCE_SCREENSHARE_AUDIO\x10\x04*D\n\x0bStreamState\x12\x11\n\rSTATE_UNKNOWN\x10\x00\x12\x10\n\x0cSTATE_ACTIVE\x10\x01\x12\x10\n\x0cSTATE_PAUSED\x10\x02*\xbd\x01\n\x11\x41udioTrackFeature\x12\r\n\tTF_STEREO\x10\x00\x12\r\n\tTF_NO_DTX\x10\x01\x12\x18\n\x14TF_AUTO_GAIN_CONTROL\x10\x02\x12\x18\n\x14TF_ECHO_CANCELLATION\x10\x03\x12\x18\n\x14TF_NOISE_SUPPRESSION\x10\x04\x12\"\n\x1eTF_ENHANCED_NOISE_CANCELLATION\x10\x05\x12\x18\n\x14TF_PRECONNECT_BUFFER\x10\x06\x42\x10\xaa\x02\rLiveKit.Proto') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btrack.proto\x12\rlivekit.proto\x1a\ne2ee.proto\x1a\x0chandle.proto\x1a\x0bstats.proto\">\n\x17\x43reateVideoTrackRequest\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x15\n\rsource_handle\x18\x02 \x02(\x04\"D\n\x18\x43reateVideoTrackResponse\x12(\n\x05track\x18\x01 \x02(\x0b\x32\x19.livekit.proto.OwnedTrack\">\n\x17\x43reateAudioTrackRequest\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x15\n\rsource_handle\x18\x02 \x02(\x04\"D\n\x18\x43reateAudioTrackResponse\x12(\n\x05track\x18\x01 \x02(\x0b\x32\x19.livekit.proto.OwnedTrack\"A\n\x0fGetStatsRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12\x18\n\x10request_async_id\x18\x02 \x01(\x04\"$\n\x10GetStatsResponse\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\"[\n\x10GetStatsCallback\x12\x10\n\x08\x61sync_id\x18\x01 \x02(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12&\n\x05stats\x18\x03 \x03(\x0b\x32\x17.livekit.proto.RtcStats\"\x0c\n\nTrackEvent\"\xdd\x02\n\x14TrackPublicationInfo\x12\x0b\n\x03sid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12&\n\x04kind\x18\x03 \x02(\x0e\x32\x18.livekit.proto.TrackKind\x12*\n\x06source\x18\x04 \x02(\x0e\x32\x1a.livekit.proto.TrackSource\x12\x13\n\x0bsimulcasted\x18\x05 \x02(\x08\x12\r\n\x05width\x18\x06 \x02(\r\x12\x0e\n\x06height\x18\x07 \x02(\r\x12\x11\n\tmime_type\x18\x08 \x02(\t\x12\r\n\x05muted\x18\t \x02(\x08\x12\x0e\n\x06remote\x18\n \x02(\x08\x12\x36\n\x0f\x65ncryption_type\x18\x0b \x02(\x0e\x32\x1d.livekit.proto.EncryptionType\x12\x38\n\x0e\x61udio_features\x18\x0c \x03(\x0e\x32 .livekit.proto.AudioTrackFeature\"y\n\x15OwnedTrackPublication\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12\x31\n\x04info\x18\x02 \x02(\x0b\x32#.livekit.proto.TrackPublicationInfo\"\x9f\x01\n\tTrackInfo\x12\x0b\n\x03sid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x02(\t\x12&\n\x04kind\x18\x03 \x02(\x0e\x32\x18.livekit.proto.TrackKind\x12\x30\n\x0cstream_state\x18\x04 \x02(\x0e\x32\x1a.livekit.proto.StreamState\x12\r\n\x05muted\x18\x05 \x02(\x08\x12\x0e\n\x06remote\x18\x06 \x02(\x08\"c\n\nOwnedTrack\x12-\n\x06handle\x18\x01 \x02(\x0b\x32\x1d.livekit.proto.FfiOwnedHandle\x12&\n\x04info\x18\x02 \x02(\x0b\x32\x18.livekit.proto.TrackInfo\";\n\x15LocalTrackMuteRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12\x0c\n\x04mute\x18\x02 \x02(\x08\"\'\n\x16LocalTrackMuteResponse\x12\r\n\x05muted\x18\x01 \x02(\x08\"A\n\x18\x45nableRemoteTrackRequest\x12\x14\n\x0ctrack_handle\x18\x01 \x02(\x04\x12\x0f\n\x07\x65nabled\x18\x02 \x02(\x08\",\n\x19\x45nableRemoteTrackResponse\x12\x0f\n\x07\x65nabled\x18\x01 \x02(\x08\"\xac\x01\n&SetTrackSubscriptionPermissionsRequest\x12 \n\x18local_participant_handle\x18\x01 \x02(\x04\x12 \n\x18\x61ll_participants_allowed\x18\x02 \x02(\x08\x12>\n\x0bpermissions\x18\x03 \x03(\x0b\x32).livekit.proto.ParticipantTrackPermission\"i\n\x1aParticipantTrackPermission\x12\x1c\n\x14participant_identity\x18\x01 \x02(\t\x12\x11\n\tallow_all\x18\x02 \x01(\x08\x12\x1a\n\x12\x61llowed_track_sids\x18\x03 \x03(\t\")\n\'SetTrackSubscriptionPermissionsResponse*=\n\tTrackKind\x12\x10\n\x0cKIND_UNKNOWN\x10\x00\x12\x0e\n\nKIND_AUDIO\x10\x01\x12\x0e\n\nKIND_VIDEO\x10\x02*\x81\x01\n\x0bTrackSource\x12\x12\n\x0eSOURCE_UNKNOWN\x10\x00\x12\x11\n\rSOURCE_CAMERA\x10\x01\x12\x15\n\x11SOURCE_MICROPHONE\x10\x02\x12\x16\n\x12SOURCE_SCREENSHARE\x10\x03\x12\x1c\n\x18SOURCE_SCREENSHARE_AUDIO\x10\x04*D\n\x0bStreamState\x12\x11\n\rSTATE_UNKNOWN\x10\x00\x12\x10\n\x0cSTATE_ACTIVE\x10\x01\x12\x10\n\x0cSTATE_PAUSED\x10\x02*\xbd\x01\n\x11\x41udioTrackFeature\x12\r\n\tTF_STEREO\x10\x00\x12\r\n\tTF_NO_DTX\x10\x01\x12\x18\n\x14TF_AUTO_GAIN_CONTROL\x10\x02\x12\x18\n\x14TF_ECHO_CANCELLATION\x10\x03\x12\x18\n\x14TF_NOISE_SUPPRESSION\x10\x04\x12\"\n\x1eTF_ENHANCED_NOISE_CANCELLATION\x10\x05\x12\x18\n\x14TF_PRECONNECT_BUFFER\x10\x06\x42\x10\xaa\x02\rLiveKit.Proto') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,14 +25,14 @@ 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 - _globals['_TRACKSOURCE']._serialized_start=1865 - _globals['_TRACKSOURCE']._serialized_end=1994 - _globals['_STREAMSTATE']._serialized_start=1996 - _globals['_STREAMSTATE']._serialized_end=2064 - _globals['_AUDIOTRACKFEATURE']._serialized_start=2067 - _globals['_AUDIOTRACKFEATURE']._serialized_end=2256 + _globals['_TRACKKIND']._serialized_start=1827 + _globals['_TRACKKIND']._serialized_end=1888 + _globals['_TRACKSOURCE']._serialized_start=1891 + _globals['_TRACKSOURCE']._serialized_end=2020 + _globals['_STREAMSTATE']._serialized_start=2022 + _globals['_STREAMSTATE']._serialized_end=2090 + _globals['_AUDIOTRACKFEATURE']._serialized_start=2093 + _globals['_AUDIOTRACKFEATURE']._serialized_end=2282 _globals['_CREATEVIDEOTRACKREQUEST']._serialized_start=69 _globals['_CREATEVIDEOTRACKREQUEST']._serialized_end=131 _globals['_CREATEVIDEOTRACKRESPONSE']._serialized_start=133 @@ -42,33 +42,33 @@ _globals['_CREATEAUDIOTRACKRESPONSE']._serialized_start=267 _globals['_CREATEAUDIOTRACKRESPONSE']._serialized_end=335 _globals['_GETSTATSREQUEST']._serialized_start=337 - _globals['_GETSTATSREQUEST']._serialized_end=376 - _globals['_GETSTATSRESPONSE']._serialized_start=378 - _globals['_GETSTATSRESPONSE']._serialized_end=414 - _globals['_GETSTATSCALLBACK']._serialized_start=416 - _globals['_GETSTATSCALLBACK']._serialized_end=507 - _globals['_TRACKEVENT']._serialized_start=509 - _globals['_TRACKEVENT']._serialized_end=521 - _globals['_TRACKPUBLICATIONINFO']._serialized_start=524 - _globals['_TRACKPUBLICATIONINFO']._serialized_end=873 - _globals['_OWNEDTRACKPUBLICATION']._serialized_start=875 - _globals['_OWNEDTRACKPUBLICATION']._serialized_end=996 - _globals['_TRACKINFO']._serialized_start=999 - _globals['_TRACKINFO']._serialized_end=1158 - _globals['_OWNEDTRACK']._serialized_start=1160 - _globals['_OWNEDTRACK']._serialized_end=1259 - _globals['_LOCALTRACKMUTEREQUEST']._serialized_start=1261 - _globals['_LOCALTRACKMUTEREQUEST']._serialized_end=1320 - _globals['_LOCALTRACKMUTERESPONSE']._serialized_start=1322 - _globals['_LOCALTRACKMUTERESPONSE']._serialized_end=1361 - _globals['_ENABLEREMOTETRACKREQUEST']._serialized_start=1363 - _globals['_ENABLEREMOTETRACKREQUEST']._serialized_end=1428 - _globals['_ENABLEREMOTETRACKRESPONSE']._serialized_start=1430 - _globals['_ENABLEREMOTETRACKRESPONSE']._serialized_end=1474 - _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSREQUEST']._serialized_start=1477 - _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSREQUEST']._serialized_end=1649 - _globals['_PARTICIPANTTRACKPERMISSION']._serialized_start=1651 - _globals['_PARTICIPANTTRACKPERMISSION']._serialized_end=1756 - _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSRESPONSE']._serialized_start=1758 - _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSRESPONSE']._serialized_end=1799 + _globals['_GETSTATSREQUEST']._serialized_end=402 + _globals['_GETSTATSRESPONSE']._serialized_start=404 + _globals['_GETSTATSRESPONSE']._serialized_end=440 + _globals['_GETSTATSCALLBACK']._serialized_start=442 + _globals['_GETSTATSCALLBACK']._serialized_end=533 + _globals['_TRACKEVENT']._serialized_start=535 + _globals['_TRACKEVENT']._serialized_end=547 + _globals['_TRACKPUBLICATIONINFO']._serialized_start=550 + _globals['_TRACKPUBLICATIONINFO']._serialized_end=899 + _globals['_OWNEDTRACKPUBLICATION']._serialized_start=901 + _globals['_OWNEDTRACKPUBLICATION']._serialized_end=1022 + _globals['_TRACKINFO']._serialized_start=1025 + _globals['_TRACKINFO']._serialized_end=1184 + _globals['_OWNEDTRACK']._serialized_start=1186 + _globals['_OWNEDTRACK']._serialized_end=1285 + _globals['_LOCALTRACKMUTEREQUEST']._serialized_start=1287 + _globals['_LOCALTRACKMUTEREQUEST']._serialized_end=1346 + _globals['_LOCALTRACKMUTERESPONSE']._serialized_start=1348 + _globals['_LOCALTRACKMUTERESPONSE']._serialized_end=1387 + _globals['_ENABLEREMOTETRACKREQUEST']._serialized_start=1389 + _globals['_ENABLEREMOTETRACKREQUEST']._serialized_end=1454 + _globals['_ENABLEREMOTETRACKRESPONSE']._serialized_start=1456 + _globals['_ENABLEREMOTETRACKRESPONSE']._serialized_end=1500 + _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSREQUEST']._serialized_start=1503 + _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSREQUEST']._serialized_end=1675 + _globals['_PARTICIPANTTRACKPERMISSION']._serialized_start=1677 + _globals['_PARTICIPANTTRACKPERMISSION']._serialized_end=1782 + _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSRESPONSE']._serialized_start=1784 + _globals['_SETTRACKSUBSCRIPTIONPERMISSIONSRESPONSE']._serialized_end=1825 # @@protoc_insertion_point(module_scope) diff --git a/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi b/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi index b6c83df9..79ac3c4e 100644 --- a/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi +++ b/livekit-rtc/livekit/rtc/_proto/track_pb2.pyi @@ -198,14 +198,17 @@ class GetStatsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TRACK_HANDLE_FIELD_NUMBER: builtins.int + REQUEST_ASYNC_ID_FIELD_NUMBER: builtins.int track_handle: builtins.int + request_async_id: builtins.int def __init__( self, *, track_handle: builtins.int | None = ..., + request_async_id: builtins.int | None = ..., ) -> None: ... - 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: ... + def HasField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "track_handle", b"track_handle"]) -> builtins.bool: ... + def ClearField(self, field_name: typing.Literal["request_async_id", b"request_async_id", "track_handle", b"track_handle"]) -> None: ... global___GetStatsRequest = GetStatsRequest diff --git a/livekit-rtc/livekit/rtc/participant.py b/livekit-rtc/livekit/rtc/participant.py index d61e79a2..d2794ace 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 permissions(self) -> proto_participant.ParticipantPermission: + """The participant's permissions within the room.""" + return self._info.permission + @property def disconnect_reason( self, diff --git a/livekit-rtc/livekit/rtc/room.py b/livekit-rtc/livekit/rtc/room.py index 3fc56a17..f3a14ef0 100644 --- a/livekit-rtc/livekit/rtc/room.py +++ b/livekit-rtc/livekit/rtc/room.py @@ -65,6 +65,7 @@ "participant_attributes_changed", "connection_quality_changed", "participant_encryption_status_changed", + "participant_permissions_changed", "data_received", "sip_dtmf_received", "transcription_received", @@ -787,6 +788,16 @@ def _on_room_event(self, event: proto_room.RoomEvent): participant, event.participant_encryption_status_changed.is_encrypted, ) + elif which == "participant_permissions_changed": + identity = event.participant_permission_changed.participant_identity + participant = self._retrieve_participant(identity) + assert isinstance(participant, Participant) + participant._info.permission.CopyFrom(event.participant_permission_changed.permission) + self.emit( + "participant_permissions_changed", + participant, + participant.permissions, + ) elif which == "connection_quality_changed": identity = event.connection_quality_changed.participant_identity # TODO: pass participant identity diff --git a/livekit-rtc/rust-sdks b/livekit-rtc/rust-sdks index b1b7642b..49445f2d 160000 --- a/livekit-rtc/rust-sdks +++ b/livekit-rtc/rust-sdks @@ -1 +1 @@ -Subproject commit b1b7642b4bd4899545f2f257a7679fdb2484126f +Subproject commit 49445f2dd550deab69d0e152455763a87e6c2d98