Hardware encoding support
I am trying to utilize my Intel GPU for encoding. Since the rust-sdk makes use of the libwebrtc I am trying to figure out if it exposes a configuration to choose an option for hardware encoding using a GPU. In the sources I noticed
pub struct VideoConfiguration {
#[prost(enumeration="ClientConfigSetting", tag="1")]
pub hardware_encoder: i32,
}
However, I can't figure out where this VideoConfiguration is used or initialized. If I enable the hardware_encoder, is there a way to indicate to use vaapi?
My utter goal is to use the Python SDK which makes a call to the rust-sdk and configure it to use hardware encoding.
Hey @George-Gi, were you able to find a solution to this?
Hey @George-Gi, were you able to find a solution to this?
Unfortunately there is no HW support, this variable hardware_encoder is unrelated to enabling any HW encoding.
in order to enable hw encoding/decoding support, we must first add it into libwebrtc. this is something we are currently looking into
closing this ticket as hw encoding support for Nvidia & AMD has been merged https://github.com/livekit/rust-sdks/pull/638