-
Notifications
You must be signed in to change notification settings - Fork 118
Add hardware video codec support info to README.md. #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -274,6 +274,21 @@ LiveKit is a dynamic realtime environment and calls can fail for various reasons | |
|
|
||
| You may throw errors of the type `RpcError` with a string `message` in an RPC method handler and they will be received on the caller's side with the message intact. Other errors will not be transmitted and will instead arrive to the caller as `1500` ("Application Error"). Other built-in errors are detailed in `RpcError`. | ||
|
|
||
| ## Hardware video codec support | ||
|
|
||
| The underlying Rust SDK ships with platform-specific hardware-accelerated encoders/decoders, which are enabled automatically when the requested codec and OS match. | ||
|
|
||
| | Platform | Codec(s) | Encoder | Decoder | Backend | | ||
| | ------------------------------ | ---------- | ------- | ------- | -------------------------------------- | | ||
| | macOS | H264, H265 | ✓ | ✓ | VideoToolbox | | ||
| | Linux (AMD GPU) | H264 | ✓ | | VAAPI | | ||
| | Linux x64 (NVIDIA GPU) | H264, H265 | ✓ | ✓ | NVENC / NVDEC (NVIDIA Video Codec SDK) | | ||
| | Linux ARM (NVIDIA Jetson) | H264, H265 | ? | ? | NVENC / NVDEC (to be confirmed) | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what it means by ? |
||
|
|
||
| Software encoders (libvpx for VP8/VP9, libaom for AV1, OpenH264 for H264) are used as a fallback on platforms or codecs not listed above. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are used as a fallback when hardware acceleration is not available. |
||
|
|
||
| > **Note:** NVIDIA data-center / AI-inference GPUs such as the **H100, H200, A100** physically omit the NVENC/NVDEC engines — running on these cards will silently fall back to the software encoder/decoder regardless of the table above. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit, maybe
|
||
|
|
||
| ## Examples | ||
|
|
||
| - [Facelandmark](https://github.com/livekit/python-sdks/tree/main/examples/face_landmark): Use mediapipe to detect face landmarks (eyes, nose ...) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit,
These are used automatically when available and compatible with the runtime environment (OS, drivers, GPU, and codec).