我已经开始整理创建 Python WebRTC 端点所需的基本块。
一种是基于 asyncio 的交互式连接建立模块:
https://github.com/jlaine/aioice
另一种是 libsrtp 的 Python 绑定:
https://github.com/jlaine/pylibsrtp
我们还需要 OpenSSL 绑定中的 SRTP 密钥支持:
https://github.com/pyca/cryptography/pull/4099
在此之上,我们可以构建一个基于 asyncio 的 WebRTC 实现:
https://github.com/jlaine/aiortc
我已经能够让 Chrome 和 Firefox 建立到基于 Python 的服务器的音频和视频流。
| 归档时间: |
|
| 查看次数: |
3810 次 |
| 最近记录: |