Diferenças no Linux
Crie o mecanismo:
ProcessI420InPlace, TRTC Buffer, Agora IVideoFrameObserver, fonte de vídeo personalizada LiveKit).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Conecte a beleza Facebetter a TRTC, Agora, LiveKit e outros pipelines de vídeo no Linux
Third-party SDK (preprocess callback)
I420 planes
↓
BeautyEffectEngine (external_context = false)
CreateWithI420 → ProcessImage → write back
| Item | Observações |
|---|---|
| Biblioteca | libfacebetter.so + facebetter/*.h |
| Link | Veja Implementar beleza; observe LD_LIBRARY_PATH / rpath em runtime |
| GL | GL do sistema com display; headless via OSMesa / EGL (Práticas recomendadas). O caminho de buffer ainda usa external_context = false na maioria dos casos |
resource_path | Precisa apontar para o arquivo resource.fbd |
| Vinculação no Console | Nome do pacote / executável / processo — Assinatura |
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, Agora IVideoFrameObserver, fonte de vídeo personalizada LiveKit).
| Fornecedor | Notas Linux |
|---|---|
| TRTC | PC é somente Buffer / I420 — não use o caminho Texture do Android |
| Agora | C++ registerVideoFrameObserver, ReadWrite + I420 in-place |
| LiveKit | Fonte de vídeo personalizada; confirme captura + caminho GL/software para hosts headless |
| Sintoma | Verifique |
|---|---|
.so ausente | LD_LIBRARY_PATH, rpath, arquitetura correspondente |
Create falha | Caminho .fbd, autenticação, GL headless / OSMesa |
| Todo o resto | Igual à solução de problemas do Windows |
