Linux 差异
创建引擎示意:
ProcessI420InPlace、TRTC Buffer、声网 IVideoFrameObserver、LiveKit 自定义视频源)。
厂商速览
排错
相关文档
- Windows · 第三方对接(主文档)
- 实现美颜
- 最佳实践
- API 参考
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
在 Linux 上将 Facebetter 美颜接入 TRTC、声网 Agora、LiveKit 等第三方视频管线
第三方 SDK(前处理回调)
I420 平面
↓
BeautyEffectEngine(external_context = false)
CreateWithI420 → ProcessImage → 写回缓冲
EngineConfig cfg;
cfg.app_id = "your_app_id";
cfg.app_key = "your_app_key";
cfg.resource_path = "/opt/yourapp/resource/resource.fbd";
cfg.external_context = false;
auto engine = BeautyEffectEngine::Create(cfg);
ProcessI420InPlace、TRTC Buffer、声网 IVideoFrameObserver、LiveKit 自定义视频源)。
| 厂商 | Linux 注意 |
|---|---|
| TRTC | PC 仅 Buffer / I420,不要套 Android Texture 路径 |
| 声网 | C++ registerVideoFrameObserver,ReadWrite + I420 平面原位处理 |
| LiveKit | 自定义视频源推帧;无头服务器需确认采集与 GL/软件路径 |
| 现象 | 排查 |
|---|---|
.so 找不到 | LD_LIBRARY_PATH、rpath、是否与可执行文件同架构 |
Create 失败 | .fbd 路径、鉴权、无头环境下的 GL / OSMesa |
| 其余 | 同 Windows 排错 |
