我想简单地从Wowza Server Engine管理的Axis摄像头流式传输视频/音频,并在Firefox浏览器上显示视频/音频。 来自摄像机的流媒体流(H264,AAC 16000)在ffmpeg的帮助下转码为H264,AAC(48000)。这产生了2个音频通道(在SDP中作为visibile),允许在Wowza转码为VP8,OPUS和mpeg-ts后由浏览器显示。 在Chrome中,它运行正常。 在Firefox(测试49和50beta)中发生了一些错误。
控制台给出:
ICE failed, see about:webrtc for more details
当显示:webrtc我有:
来自SDP Local
a=candidate:0 1 UDP 2122252543 192.42.172.126 58085 typ host
从SDP远方
a=candidate:0 1 TCP 50 192.42.172.189 6558 typ host generation 0
登录:webrtc:
(ice/WARNING) ICE(PC:1477400980285000 (id=110 url=<wowza/webrtc url>)): peer (PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default) has no stream matching stream 0-1477400980285000 (id=110 url=<wowza/webrtc url>) aLevel=1
(ice/NOTICE) ICE(PC:1477400980285000 (id=110 url=<wowza/webrtc url>)): peer (PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default) no streams with non-empty check lists
(ice/NOTICE) ICE(PC:1477400980285000 (id=110 url=<wowza/webrtc url>)): peer (PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default) no streams with pre-answer requests
(ice/NOTICE) ICE(PC:1477400980285000 (id=110 url=<wowza/webrtc url>)): peer (PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default) no checks to start
(ice/WARNING) ICE(PC:1477400980285000 (id=110 url=<wowza/webrtc url>)): Error parsing attribute: candidate:0 1 TCP 50 192.42.172.189 6558 typ host generation 0
(ice/INFO) ICE(PC:1477400980285000 (id=110 url=<wowza/webrtc url>)): peer (PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default) Trickle grace period is over; marking every component with only failed pairs as failed.
(ice/INFO) ICE-PEER(PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default)/STREAM(0-1477400980285000 (id=110 url=<wowza/webrtc url>) aLevel=0)/COMP(1): All pairs are failed, and grace period has elapsed. Marking component as failed.
(ice/INFO) ICE-PEER(PC:1477400980285000 (id=110 url=<wowza/webrtc url>):default): all checks completed success=0 fail=1
如果我在VHost.xml中更改webrtcIceCandidateIpAddresses的值以使用UDP(这意味着从wowza IP 192.42.172.189,tcp,6558到192.42.172.189,udp):
<Property>
<Name>webrtcIceCandidateIpAddresses</Name>
<Value>192.42.172.189,udp</Value>
<Type>String</Type>
</Property>
我在控制台中会遇到同样的错误。 在about:webrtc我将:
SDP Local
a=candidate:0 1 UDP 2122252543 192.42.172.126 50662 typ host
SDP遥远
a=candidate:0 1 UDP 50 192.42.172.189 6974 typ host generation 0
登录:webrtc:
(ice/WARNING) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html)): peer (PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default) has no stream matching stream 0-1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html) aLevel=1
(ice/NOTICE) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html)): peer (PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default) no streams with non-empty check lists
(ice/NOTICE) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html)): peer (PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default) no streams with pre-answer requests
(ice/NOTICE) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html)): peer (PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default) no checks to start
(ice/INFO) ICE-PEER(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default)/CAND-PAIR(uCnR): setting pair to state FROZEN: uCnR|IP4:192.42.172.126:50662/UDP|IP4:192.42.172.189:6974/UDP(host(IP4:192.42.172.126:50662/UDP)|candidate:0 1 UDP 50 192.42.172.189 6974 typ host generation 0)
(ice/INFO) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html))/CAND-PAIR(uCnR): Pairing candidate IP4:192.42.172.126:50662/UDP (7e7f00ff):IP4:192.42.172.189:6974/UDP (32) priority=218992869886 (32fcfe01fe)
(ice/INFO) ICE-PEER(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default)/ICE-STREAM(0-1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html) aLevel=0): Starting check timer for stream.
(ice/INFO) ICE-PEER(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default)/CAND-PAIR(uCnR): setting pair to state WAITING: uCnR|IP4:192.42.172.126:50662/UDP|IP4:192.42.172.189:6974/UDP(host(IP4:192.42.172.126:50662/UDP)|candidate:0 1 UDP 50 192.42.172.189 6974 typ host generation 0)
(ice/INFO) ICE-PEER(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default)/CAND-PAIR(uCnR): setting pair to state IN_PROGRESS: uCnR|IP4:192.42.172.126:50662/UDP|IP4:192.42.172.189:6974/UDP(host(IP4:192.42.172.126:50662/UDP)|candidate:0 1 UDP 50 192.42.172.189 6974 typ host generation 0)
(ice/NOTICE) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html)): peer (PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default) is now checking
(generic/EMERG) Error in recvfrom: -5961
(ice/WARNING) ICE-PEER(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default): no pairs for 0-1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html) aLevel=0
(generic/EMERG) Error in recvfrom: -5961
(generic/EMERG) Error in recvfrom: -5961
(generic/EMERG) Error in recvfrom: -5961
(generic/EMERG) Error in recvfrom: -5961
(generic/EMERG) Error in recvfrom: -5961
(ice/INFO) ICE(PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html)): peer (PC:1477402453964000 (id=114 url=https://192.42.172.189:6560/webrtc/play/index.html):default) Trickle grace period is over; marking every component with only failed pairs as failed.
(generic/EMERG) Error in recvfrom: -5961
我尝试通过在网上搜索可能的原因找到解决方案,但没有结果。 请问有人帮忙吗?
谢谢, 迭
答案 0 :(得分:0)
使用Wowza Streaming Engine 4.5.0.04更新程序解决了WebRTC Firefox连接问题。如果您还没有这个更新程序,请打开支持请求。
-Jason
答案 1 :(得分:0)
最新稳定的Firefox(OSX)和4.7.x的Wowza Streaming Engine我也看到了这个问题;-(尝试设置一个空的Wowza应用程序,以确保它不是设置相关,但这没有帮助...