Support for Injecting External H264 Encoded Video Stream
Hello, I am currently evaluating the LiveKit Rust SDK for our project and would like to inquire whether there is a public API or recommended approach for injecting a pre-encoded H264 video stream into a LiveKit room. Specifically, I am interested in feeding externally encoded H264 packets directly into the SDK, bypassing the internal encoding pipeline. If such functionality exists, could you please provide guidance or relevant examples? Alternatively, if this use case is not currently supported, are there any plans to enable it in future releases? Thank you for your assistance.
Hi @SimoneSalgaro this is currently not supported in the Rust SDK. There is an option to publish H264 directly to LiveKit by using the LiveKit CLI. See: https://github.com/livekit/livekit-cli?tab=readme-ov-file#publish-from-tcp-ie-gstreamer