“无法正确解析视频编解码器”是啥意思。意思是?
Posted
技术标签:
【中文标题】“无法正确解析视频编解码器”是啥意思。意思是?【英文标题】:What does "Failed to parse video codecs correctly." mean?“无法正确解析视频编解码器”是什么意思。意思是? 【发布时间】:2017-07-03 08:45:28 【问题描述】:我按照WebRTC documents在chrome浏览器上启动Express + node.js webserver部署这个Agora.io Webrtc示例。
This appears to be Chrome
(index):78 Init AgoraRTC client with vendor key: ***
AgoraRTCSDK-1.8.0.js:842 INFO: Client in Live mode
(index):83 AgoraRTC client initialized
AgoraRTCSDK-1.8.0.js:842 INFO: VOSGateway connected.
(index):85 User 2502359564 join channel successfully
AgoraRTCSDK-1.8.0.js:842 DEBUG: Requested access to local media
AgoraRTCSDK-1.8.0.js:842 DEBUG: Object video: Object, audio: true, fake: undefined
adapter.js:32 chrome: "video":"mandatory":"minWidth":1280,"minHeight":720,"maxWidth":1280,"maxHeight":720,"maxFrameRate":25,"minFrameRate":25,"optional":[],"audio":true
AgoraRTCSDK-1.8.0.js:842 INFO: User has granted access to local media.
(index):94 getUserMedia successfully
AgoraRTCSDK-1.8.0.js:842 DEBUG: Safari
AgoraRTCSDK-1.8.0.js:842 DEBUG: Set Video Bitrate - min:30 max:1500
adapter.js:340 Uncaught (in promise) DOMException: Failed to parse SessionDescription. Failed to parse video codecs correctly.
(anonymous) @ adapter.js:340
(anonymous) @ adapter.js:332
webkitRTCPeerConnection.(anonymous function) @ adapter.js:331
(anonymous) @ AgoraRTCSDK-1.8.0.js:457
AgoraRTCSDK-1.8.0.js:842 INFO: video dimensions: 1280 720
我得到了失败的结果并尝试重新安装一些包含 v54、v56、v57、v59 和最新版本的 google chrome 版本。但是每个 chrome 版本都有相同的错误,
adapter.js:340 Uncaught (in promise) DOMException: Failed to parse SessionDescription. Failed to parse video codecs correctly.
什么意思?
【问题讨论】:
【参考方案1】:“无法正确解析视频编解码器”错误是由 setMaxBW 接口引起的已知 sdp 兼容性问题。不推荐使用 1.8.0 版本,因为它已过时。我建议升级到最新版本。
【讨论】:
以上是关于“无法正确解析视频编解码器”是啥意思。意思是?的主要内容,如果未能解决你的问题,请参考以下文章