Skip to content

[Feature] 需要 libwebrtc_apm.so 的源码自行编译 #238

@dapengyinyue

Description

@dapengyinyue

🚀 需求描述

py-xiaozhi中提供的 libwebrtc_apm.so是基于高版本的glibc编译的。我自己运行的项目是运行在nvidia jetson上glibc版本低,需要 webrtc_apm 的源码自行编译

🎯 解决方案

📝 备选方案

📋 其他信息

需要在nvidia jetson的 arm架构的ubuntu22上自行编译以获取完整的回音消除效果,现在的解决方案是python跳过了回音消除调用 libwebrtc_apm.so 库才不报错

以下是报错信息

WebRTC APM 不可用: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /home/nvidia/code/py-xiaozhi/libs/webrtc_apm/linux/arm64/libwebrtc_apm.so)
/home/nvidia/miniconda3/envs/py-xiaozhi/lib/python3.11/site-packages/pygame/pkgdata.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import resource_stream, resource_exists
pygame 2.6.1 (SDL 2.28.4, Python 3.11.13)
Hello from the pygame community. https://www.pygame.org/contribute.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions