webrtc - chrome RTCPeerConnection event not fire after connected -


i have several listener peerconnection object, onconnection fired in firefox , works good, not fired in chrome, know why?

pc1.onconnection = handleonconnection; pc1.oniceconnectionstatechange = handlestate; pc1.onreadystatechange = handlestate; 

so pc2.

thanks help!

rosone

onconnection not part of interface in latest standard, that's why it's not implemented in chrome: http://dev.w3.org/2011/webrtc/editor/webrtc.html#interface-definition.

the code in firefox lists onconnection mozilla extension: https://github.com/mozilla/mozilla-central/blob/master/dom/webidl/rtcpeerconnection.webidl#l98.

for more details, may want ask mozilla team on dev-media list.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -