python-sdks
python-sdks copied to clipboard
LiveKit real-time SDK and server API for Python
### Here My Result  ### Here My Code ``` async def main(room: rtc.Room): url = "LINK" logging.info("connecting to %s", url) try: await room.connect(url, "TOKEN") logging.info("connected to room %s", room.name)...
I was wondering if I could video stream RTP(Real-time Transport Protocol) packets coming in via UDP communication. I want to send RTP packets sent from gstreamer through webrtc. I don't...
I'm not sure if this is the right repository but it's happening with the Python RTC sdk (I don't know if it doesn't happen with other SDKs). I have a...
This PR introduces two convenience APIs, motivated by common use cases we've seen in the wild: `room.wait_for_participant(...)` `remote_participant.wait_for_track_publication(...)`
In the worker, I am trying to obtain the room name and metadata using the following method, but unfortunately, after the latest update, these two values are no longer displayed....
👋 Hey there! I've been prototyping with the Python SDK to build an audio gateway between another realtime system and LiveKit. I am basically creating a new AudioSource and feeding...
ERROR:livekit:livekit_ffi::cabi:53:livekit_ffi::cabi - failed to handle request FfiRequest { message: Some(NewVideoStream(NewVideoStreamRequest { track_handle: 9, r#type: VideoStreamNative, format: None, normalize_stride: true })) }: InvalidRequest("handle is not a livekit_ffi::server::room::FfiTrack") How do I solve...
When I run the minimal_assistant.py, this was the error that showed up. ImportError: cannot import name 'codecs' from 'livekit.agents' (/Users/parshva/SoftmaxAI/Projects/.conda/lib/python3.10/site-packages/livekit/agents/__init__.py) It's a package issue, where instead of -> from livekit.agents...
I've found a bug with agents where on disconnecting/reconnecting due to temporary network failures then subscribing to a participant track the track reports as not muted even when it is...
Hi All, I've my minimal_assistant.py running as an agent for livekit. I am using python SDK to interact with it. I'm able to connect to agent & publish audio track....