User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 Steps to reproduce: - Use two computers, both running Firefox stable (v24.0) - connect computers to networks that would require a TURN server to form an RtcPeerconnection (I had one tethered to a 3g cell phone network) - navigate to https://apprtc.appspot.com with one computer - in the second computer navigate to the apprtc room url created by the first Actual results: Both computers transition transition to the active call UI, but do not show the remote peer's video stream. Expected results: 1. If Firefox ships a working TURN implementation, then the webrtc call peer connection should form successfully by using apprtc's relay server and each user should be able to view their remote peer's video stream. 2. If Firefox does not ships a working TURN implementation, then the peer connection's "iceConnectionState" should transition to "failed" and the apprtc UI should show a message indicating the peer connection failed to form.
Component: Untriaged → WebRTC
Product: Firefox → Core
Firefox 24 does not support TURN. Are you sure that we're not updating the ice connection state? I just looked through the apprtc code and I am not sure that it generates a failure in this case. Have you tried a failed connection with Chrome?
You are right, it actually just displays the "connecting" message on chrome if I supply a bunk turn server. In any case, for some reason when firefox fails to form a connection the peerconnection.iceConnectionState still transitions to "connected" and the apprtc UI "transitionsToActive" which suggests the peerconnection.onaddstream callback is firing. See the attached screenshot. I am not in a properly connected call because the TURN server could not be used to connect to my peer but the apprtc UI has transitioned to its active state. Also you can see in the infoDiv that the iceConnectionState is connected. PS you can display this info div in apprtc by entering this line of code into your web console: `document.getElementById('infoDiv').style.display = 'block'`
Created attachment 820115 [details] Screen grab of a failed apprtc call in firefox with the peerconnection.iceConnectionState === 'connected'
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.