rust-sdks icon indicating copy to clipboard operation
rust-sdks copied to clipboard

Support for Injecting External H264 Encoded Video Stream

Open SimoneSalgaro opened this issue 9 months ago • 1 comments

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.

SimoneSalgaro avatar Mar 13 '25 12:03 SimoneSalgaro

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

chenosaurus avatar Jul 09 '25 23:07 chenosaurus