在 C# 中检索软电话中的音频编解码器使用情况

发布于 2024-10-19 11:48:29 字数 70 浏览 5 评论 0 原文

我正在创建一个程序来确定正在使用的音频编解码器。我使用 X-lite 作为我的软电话。有什么想法吗?或者我应该使用开源软电话?

I'm creating a program that would would determine what audio codec is being used. I used X-lite for my soft phone. any Idea?? or should I use open source soft phone?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

樱花落人离去 2024-10-26 11:48:29

最好的选择是使用数据包捕获工具并从 RTP 数据包。具体来说,RTP 标头有效负载类型字段将指示正在使用的编解码器。

Rather than trying to integrate directly with the xlite softphone your best bet would be to use a packet capture tool and extract the codec from an RTP packet. Specifically the RTP header Payload Type field will indicate the codec in use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文