Safari不派候选人冰

问题描述 投票:1回答:2

不要在Safari例如工作

https://github.com/Kurento/kurento-tutorial-node/tree/master/kurento-one2many-call

在Chrome中,一切都很好。

Safari浏览器不视图模型送冰的候选人。演示模式是确定

====================

update

在前面(index.js)

事件onOfferViewer总是执行

onIceCandidate - 永远不会执行

从前面连接到节点

VAR = WS新的WebSocket( 'WSS://' + location.host + '/ one2many');

在KMS一打开不打开,但眩晕配置。我可以从Safari浏览器播放,但我不能看着它

看看kurento utils的更深

2个斯特姆服务器被选择,WebRtcPeer初始化之前

iceServers:阵列(2)0 {用户名:未定义,凭证:未定义,URL: “击晕:stun.l.google.com:19302”,网址:[ “击晕:stun.l.google.com:19302”]}

1 {用户名:未定义,凭证:未定义,URL: “击晕:stun.voipbuster.com”,网址:[ “击晕:stun.voipbuster.com”]}

之后RTCPeerConnection创建 经过处理的答案被执行

我认为,下一步必须是在一个函数的addEventListener

pc.addEventListener('icecandidate', function (event) {…} 

在Chrome浏览器在功能上的addEventListener回调执行,但Safari浏览器从来没有。

我可以假设考生前来认购正在发生之前,但没有证据,我不明白为什么主持人工作正常。

detail

我在Safari中的演示模式开播

Safari的版本 - 13604.3.5(Mac系统 - 11.0.1)

Safari的选项

旧的API - 启用

冰限制 - 禁用

该鲍尔的依赖

"dependencies": { 
    "adapter.js": "v0.2.9", 
    "bootstrap": "~3.3.0", 
    "ekko-lightbox": "~3.3.0", 
    "demo-console": "1.5.1", 
    "kurento-utils": "master" 
 } 

该结构的package.json

{ 
  "name": "kurento-one2many-call", 
  "version": "6.7.3-dev", 
  "private": true, 
  "scripts": { 
    "postinstall": "cd static && bower install" 
  }, 
  "dependencies": { 
    "express": "~4.12.4", 
    "minimist": "^1.1.1", 
    "ws": "~1.0.1", 
    "kurento-client": "Kurento/kurento-client-js" 
  }, 
  "devDependencies": { 
    "bower": "^1.4.1" 
  } 
} 

Safari浏览器日志的输出

Safari浏览器日志的输出

[Log] Browser does not appear to be WebRTC-capable (adapter.js, line 34) 

[Debug] constraints: {"offerToReceiveAudio":true,"offerToReceiveVideo":true} (kurento-utils.js, line 268) 

[Debug] Created SDP offer (kurento-utils.js, line 270) 

[Debug] Local description set – "v=0 

↵o=- 5811275597248577793 2 IN IP4 127.0.0.1 

↵s=- 

↵t=0 0 

↵a=msid-semantic: WMS 

↵" (kurento-utils.js, line 275) 

"v=0 

o=- 5811275597248577793 2 IN IP4 127.0.0.1 

s=- 

t=0 0 

a=msid-semantic: WMS 

" 

[Log] Senging message: {"id":"viewer","sdpOffer":"v=0\r\no=- 5811275597248577793 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS\r\n"} (index.js, line 70) 

[Info] Received message: {"id":"viewerResponse","response":"accepted","sdpAnswer":"v=0\r\no=- 3748169328 3748169328 IN IP4 0.0.0.0\r\ns=Kurento Media Server\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=msid-semantic: WMS\r\n"} (index.js, line 70) 

[Debug] SDP answer received, setting remote description (kurento-utils.js, line 320)  

[Debug] Remote stream: – undefined (kurento-utils.js, line 294)

如何将节点连接到KMS

var argv = minimist(process.argv.slice(2), {
    default: { 
        as_uri: 'https://localhost:8443/',      
        ws_uri: 'ws://37.228.89.170:8888/kurento' 
    }
}); 
safari webrtc kurento
2个回答
0
投票

有两种选择:

  1. Safari浏览器仅12 - 需要启用实验功能“启用MDNS冰考生”在Safari设置,先进的,实验性的功能
  2. 野生动物园11 - 你必须调用getUserMedia({video: true, audio: true}),并让用户接受对话框,使您的网页上的视频和音频。即使你不想使用视频或音频,这进而导致野生动物园协商期间发送冰候选人

-1
投票

这个问题是含糊不清,不提供很多细节。请提供您所遇到的问题,你都做了尝试修复它/调试它有什么更多的细节。

您可以尝试禁用开发商菜单中的ICE候选限制选项,并重新启动Safari浏览器,如提及in this Google Group post。不知道更多的信息,我不能帮助远不止此。

对于未来,请提供有关问题,你已经尝试的解决方案更彻底,更详细的信息。

© www.soinside.com 2019 - 2024. All rights reserved.