Ubuntu 上的 Firfeox 87 为 RTCRtp[Sender|Receiver].getCapabilities 抛出 TypeError
Firfeox 87 on Ubuntu throws TypeError for RTCRtp[Sender|Receiver].getCapabilities
在 Developer Tools 控制台执行 RTCRtp[Sender|Receiver].getCapabilities("video")
时,Firefox 抛出 TypeError
是不是一个错误?
Firefox 版本为 87.0,内部版本号为 20210318103112 Ubuntu 20.04。
为了比较,Chrome 版本 90.0.4430.40(官方构建)测试版(64 位)returns 包含 codecs
和 headerExtensions
的预期对象。
Firefox 开发者工具控制台中 RTCRtpSender.getCapabilities
的完整错误消息是:
Uncaught TypeError: RTCRtpSender.getCapabilities is not a function
<anonymous> debugger eval code:1
显示错误和 Firefox 版本号的 Firefox 开发人员工具的屏幕截图:
静态 RTCRtpSender.getCapabilities 方法未在 Firefox 中实现。如果您需要确定编解码器功能,您需要创建报价并解析 SDP。
在 Developer Tools 控制台执行 RTCRtp[Sender|Receiver].getCapabilities("video")
时,Firefox 抛出 TypeError
是不是一个错误?
Firefox 版本为 87.0,内部版本号为 20210318103112 Ubuntu 20.04。
为了比较,Chrome 版本 90.0.4430.40(官方构建)测试版(64 位)returns 包含 codecs
和 headerExtensions
的预期对象。
Firefox 开发者工具控制台中 RTCRtpSender.getCapabilities
的完整错误消息是:
Uncaught TypeError: RTCRtpSender.getCapabilities is not a function
<anonymous> debugger eval code:1
显示错误和 Firefox 版本号的 Firefox 开发人员工具的屏幕截图:
静态 RTCRtpSender.getCapabilities 方法未在 Firefox 中实现。如果您需要确定编解码器功能,您需要创建报价并解析 SDP。