utils
LiveKit REST Helpers.
Methods that wrap the LiveKit API for room management.
- class pipecat.transports.livekit.utils.LiveKitRESTHelper(*, api_key: str, api_secret: str, api_url: str = 'https://your-livekit-host.com', aiohttp_session: ClientSession)[source]
Bases:
objectHelper class for interacting with LiveKit’s REST API.
Provides methods for managing LiveKit rooms.
- __init__(*, api_key: str, api_secret: str, api_url: str = 'https://your-livekit-host.com', aiohttp_session: ClientSession)[source]
Initialize the LiveKit REST helper.
- Parameters:
api_key – Your LiveKit API key.
api_secret – Your LiveKit API secret.
api_url – LiveKit server URL (e.g. “https://your-livekit-host.com”).
aiohttp_session – Async HTTP session for making requests.