MCPcopy Create free account

hub / github.com/livekit/agents / functions

Functions7,987 in github.com/livekit/agents

↓ 1 callersMethod_cleanup_idle_connections
Periodically close idle connections that have been unused for a while.
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:775
↓ 1 callersMethod_cleanup_stale_contexts
Periodically clean up orphaned contexts stuck in CLOSING state.
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:590
↓ 1 callersMethod_clear_buffer_task
(self, pushed_duration: float)
livekit-agents/livekit/agents/voice/avatar/_datastream_io.py:198
↓ 1 callersMethod_close
(self)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:268
↓ 1 callersFunction_close_http_ctx
()
livekit-agents/livekit/agents/utils/http_context.py:57
↓ 1 callersMethod_close_ws
(self, ws: aiohttp.ClientWebSocketResponse)
livekit-plugins/livekit-plugins-xai/livekit/plugins/xai/tts.py:154
↓ 1 callersMethod_close_ws
(self, ws: aiohttp.ClientWebSocketResponse)
livekit-plugins/livekit-plugins-minimax/livekit/plugins/minimax/tts.py:368
↓ 1 callersMethod_collect_audio
(self)
livekit-plugins/livekit-plugins-nvidia/livekit/plugins/nvidia/stt.py:206
↓ 1 callersFunction_combo_menu_instructions
(items: list[MenuItem])
examples/drive-thru/database.py:641
↓ 1 callersFunction_compute_lcs
Standard dynamic-programming LCS to get the common subsequence of IDs (in order) that appear in both old_ids and new_ids.
livekit-agents/livekit/agents/llm/utils.py:47
↓ 1 callersMethod_compute_rms
(self, frame: rtc.AudioFrame)
livekit-agents/livekit/agents/stt/multi_speaker_adapter.py:259
↓ 1 callersFunction_configure_plugin_logger
(plugin: Plugin)
livekit-agents/livekit/agents/cli/log.py:242
↓ 1 callersFunction_configure_plugin_logger
(plugin: Plugin)
livekit-agents/livekit/agents/cli/_legacy.py:1011
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/credit_card.py:303
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/credit_card.py:424
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/credit_card.py:577
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/phone_number.py:181
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/name.py:321
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/address.py:166
↓ 1 callersMethod_confirmation_required
(self, ctx: RunContext)
livekit-agents/livekit/agents/beta/workflows/email_address.py:147
↓ 1 callersMethod_connect_ws
Connect to the LiveKit Adaptive Interruption WebSocket.
livekit-agents/livekit/agents/inference/interruption.py:987
↓ 1 callersMethod_connect_ws
(self)
livekit-agents/livekit/agents/inference/eot/transports.py:151
↓ 1 callersMethod_connect_ws
( self, *, model_endpoint: str, model: str | None )
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/stt.py:751
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt.py:637
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt_v2.py:457
↓ 1 callersMethod_connect_ws
Open a WebSocket and send the ``StreamingWhisperInput`` metadata message. The metadata schema must match the Baseten server's ``StreamingWhis
livekit-plugins/livekit-plugins-baseten/livekit/plugins/baseten/stt.py:513
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-gradium/livekit/plugins/gradium/stt.py:415
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-xai/livekit/plugins/xai/stt.py:368
↓ 1 callersMethod_connect_ws
( self, timeout: float, opts: _TTSOptions )
livekit-plugins/livekit-plugins-xai/livekit/plugins/xai/tts.py:121
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-telnyx/livekit/plugins/telnyx/stt.py:254
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-smallestai/livekit/plugins/smallestai/stt.py:427
↓ 1 callersMethod_connect_ws
Establish WebSocket connection to ElevenLabs Scribe v2 API
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/stt.py:502
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-rtzr/livekit/plugins/rtzr/stt.py:161
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-simplismart/livekit/plugins/simplismart/stt.py:415
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/_recognize_streams/legacy_recognize_stream.py:293
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/_recognize_streams/auto_finalize_recognize_stream.py:353
↓ 1 callersMethod_connect_ws
Open a WebSocket connection to the Soniox Speech-to-Text API and send the initial configuration.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/stt.py:248
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/stt.py:270
↓ 1 callersMethod_connect_ws
(self, timeout: float)
livekit-plugins/livekit-plugins-minimax/livekit/plugins/minimax/tts.py:353
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-fireworksai/livekit/plugins/fireworksai/stt.py:421
↓ 1 callersMethod_connect_ws
(self)
livekit-plugins/livekit-plugins-assemblyai/livekit/plugins/assemblyai/stt.py:619
↓ 1 callersMethod_connection_task
(self)
livekit-agents/livekit/agents/worker.py:1061
↓ 1 callersFunction_consume
()
tests/test_vad.py:83
↓ 1 callersMethod_consume_chunk_header
(self, buf: memoryview, pos: int)
livekit-agents/livekit/agents/utils/codecs/decoder.py:251
↓ 1 callersMethod_consume_fmt_data
(self, buf: memoryview, pos: int)
livekit-agents/livekit/agents/utils/codecs/decoder.py:273
↓ 1 callersMethod_consume_input
Transcribe the audio stream and run through STT.
examples/other/translation/multi-user-translator.py:323
↓ 1 callersMethod_consume_requests
(self)
tests/test_plugin_google_stt.py:47
↓ 1 callersMethod_consume_riff
(self, buf: memoryview, pos: int)
livekit-agents/livekit/agents/utils/codecs/decoder.py:237
↓ 1 callersMethod_consume_skip
(self, buf: memoryview, pos: int)
livekit-agents/livekit/agents/utils/codecs/decoder.py:299
↓ 1 callersFunction_control_url
(session_id: str)
examples/avatar/actions.py:45
↓ 1 callersMethod_convert_to_speech_data
(self, alternative, *, is_final: bool)
livekit-plugins/livekit-plugins-nvidia/livekit/plugins/nvidia/stt.py:299
↓ 1 callersMethod_create_audio_recognition
Create an AudioRecognition instance with mocked dependencies.
tests/test_audio_recognition_aclose.py:24
↓ 1 callersFunction_create_client
( *, api_key: str, base_url: str, timeout: httpx.Timeout | None, )
livekit-plugins/livekit-plugins-perplexity/livekit/plugins/perplexity/responses/llm.py:24
↓ 1 callersMethod_create_from_legacy
( cls, input_options: NotGivenOr[RoomInputOptions], output_options: NotGivenOr[RoomOut
livekit-agents/livekit/agents/voice/room_io/types.py:183
↓ 1 callersMethod_create_http_client
( self, headers: dict[str, Any] | None = None, timeout: httpx.Timeout | None = None,
livekit-agents/livekit/agents/llm/mcp.py:293
↓ 1 callersMethod_create_process
(self, cch: socket.socket, log_cch: socket.socket)
livekit-agents/livekit/agents/ipc/supervised_proc.py:141
↓ 1 callersMethod_create_session
(self, livekit_url: str, livekit_token: str, room_name: str)
livekit-plugins/livekit-plugins-runway/livekit/plugins/runway/avatar.py:150
↓ 1 callersMethod_create_session
Create a new Krisp session with the correct sample rate. Args: sample_rate: The sample rate of the audio frames in Hz.
livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/viva_filter.py:171
↓ 1 callersMethod_create_speech_event
Create a SpeechEvent from Gladia's transcript data.
livekit-plugins/livekit-plugins-gladia/livekit/plugins/gladia/stt.py:496
↓ 1 callersFunction_create_speech_recognizer
( *, config: STTOptions, stream: speechsdk.audio.AudioInputStream )
livekit-plugins/livekit-plugins-azure/livekit/plugins/azure/stt.py:453
↓ 1 callersMethod_create_stream
( self, track: rtc.RemoteTrack, participant: rtc.Participant )
livekit-agents/livekit/agents/voice/room_io/_input.py:168
↓ 1 callersMethod_create_streaming_config
(self)
livekit-plugins/livekit-plugins-nvidia/livekit/plugins/nvidia/stt.py:182
↓ 1 callersFunction_create_streaming_wav_header
Create a WAV header for streaming with maximum possible size.
livekit-plugins/livekit-plugins-telnyx/livekit/plugins/telnyx/stt.py:139
↓ 1 callersMethod_create_ws_conn
(self)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:958
↓ 1 callersMethod_current_connection
Get the current connection, creating one if needed. Returns: Tuple of (connection, acquire_time, connection_reused)
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.py:281
↓ 1 callersFunction_current_event_loop
()
tests/concurrency.py:859
↓ 1 callersMethod_current_slot
(self)
examples/avatar/actions.py:88
↓ 1 callersFunction_default_auto_recording_options
()
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1382
↓ 1 callersFunction_default_stt_endpoint
(*, slng_base_url: str, model: str)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/stt.py:78
↓ 1 callersFunction_default_tts_endpoint
(*, slng_base_url: str, model: str)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/tts.py:136
↓ 1 callersMethod_deferred_tool_recycle
Wait for in-flight tool results to be delivered, then recycle.
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:1877
↓ 1 callersMethod_delayed_session_shutdown
Shutdown the session after the tool reply is played out
livekit-agents/livekit/agents/beta/tools/end_call.py:92
↓ 1 callersMethod_deliver_reply
(self, session: AgentSession)
livekit-agents/livekit/agents/voice/tool_executor.py:440
↓ 1 callersMethod_detach_executor
(self)
livekit-agents/livekit/agents/voice/events.py:234
↓ 1 callersMethod_dial_human_agent
(self)
livekit-agents/livekit/agents/beta/workflows/warm_transfer.py:269
↓ 1 callersFunction_dict_to_voices_list
(data: dict[str, Any])
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.py:884
↓ 1 callersFunction_disable_concurrent_plugin
Unregister pytest-asyncio-concurrent so it doesn't fight xdist. Its runtestloop wrapper and collection regrouping assume a single in-process
tests/concurrency.py:932
↓ 1 callersFunction_discover_and_import_plugins
()
livekit-agents/livekit/agents/__main__.py:18
↓ 1 callersFunction_discover_factory_patches
Find every pydantic model field whose `default_factory` is a real clock, grouped by model. Self-maintaining: any new event/chat-context model wit
tests/virtual_time.py:171
↓ 1 callersFunction_discover_server
Import the user's entrypoint and return the AgentServer it defines. Reuses the discovery in cli.discover (prefers an app, server, or agent global
livekit-agents/livekit/agents/__main__.py:80
↓ 1 callersFunction_dispatch
(server: AgentServer, args: argparse.Namespace)
livekit-agents/livekit/agents/__main__.py:58
↓ 1 callersMethod_dispatch_input
(self, evt: dict[str, Any])
livekit-plugins/livekit-plugins-browser/livekit/plugins/browser/session.py:191
↓ 1 callersMethod_dispatch_response
(self, response: agent_pb.SessionResponse)
livekit-agents/livekit/agents/voice/remote_session.py:987
↓ 1 callersMethod_dispatch_transport_message
(self, msg_type: str, msg: agent_pb.AgentSessionMessage)
livekit-agents/livekit/agents/voice/remote_session.py:425
↓ 1 callersMethod_do_inference_task
(self, inf_req: proto.InferenceRequest)
livekit-agents/livekit/agents/ipc/job_thread_executor.py:240
↓ 1 callersMethod_do_inference_task
(self, inf_req: proto.InferenceRequest)
livekit-agents/livekit/agents/ipc/job_proc_executor.py:140
↓ 1 callersFunction_download_files
()
livekit-agents/livekit/agents/__main__.py:37
↓ 1 callersMethod_download_files
(cls)
livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector/base.py:180
↓ 1 callersMethod_drain_pending_reply
Wait for this tool's pending deferred reply to finish delivery, if any.
livekit-agents/livekit/agents/voice/events.py:238
↓ 1 callersFunction_draw_color
()
examples/primitives/video-publisher.py:30
↓ 1 callersFunction_drink_menu_instructions
(items: list[MenuItem])
examples/drive-thru/database.py:617
↓ 1 callersMethod_drive_orbit
(self)
tests/concurrency.py:677
↓ 1 callersFunction_eg_single_segment
Transcription example without streaming (single string)
examples/other/text-to-speech/sync_tts_transcription.py:52
↓ 1 callersFunction_eg_streamed_tts_stream
Transcription example using a tts stream (we split text into chunks just for the example)
examples/other/text-to-speech/sync_tts_transcription.py:77
↓ 1 callersFunction_emit_captured_subprocess_output
Surface a concurrent group's captured fd output -- but only if a member failed. The output can't be attributed to a single member (they shared th
tests/concurrency.py:394
↓ 1 callersMethod_emit_error
(self, api_error: Exception, recoverable: bool)
livekit-agents/livekit/agents/inference/interruption.py:365
↓ 1 callersMethod_emit_generation_metrics
(self, *, interrupted: bool)
livekit-plugins/livekit-plugins-nvidia/livekit/plugins/nvidia/experimental/realtime/realtime_model.py:662
↓ 1 callersMethod_emit_pending_eos_after_timeout
(self)
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:1063
↓ 1 callersMethod_emit_transcript_updated
(self, turn: _Turn)
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/turn_tracker.py:122
↓ 1 callersFunction_enable_cross_parent_grouping
One concurrent group per module: module-level tests plus every class in the file. The plugin pins a group to the parent of its first member a
tests/concurrency.py:994
← previousnext →1,701–1,800 of 7,987, ranked by callers