webrtc / apprtc

appr.tc has been shutdown. Please use the Dockerfile to run your own test/dev instance.
BSD 3-Clause "New" or "Revised" License
4.16k stars 1.37k forks source link

debug=loopback parameter does not work on Firefox #660

Open chrbsg opened 4 years ago

chrbsg commented 4 years ago

Browsers and versions affected Linux Firefox 76.0 Android Firefox 68.8.0 Android Firefox Beta 75.0.0-beta6

Description debug=loopback parameter does not work on Firefox

Steps to reproduce Go to https://appr.tc/?debug=loopback

Expected results Loopback should work

Actual results

States:     
Signaling:  have-local-offer
Gathering:  complete
Connection: new
Local:      host:10 srflx:2 relay:4 undefined:1
Remote:     host:10 srflx:2 relay:4 undefined:1

Stats:      
Call time:  03:07
Setup time: 0 ms

Messages:  
setRemoteDescription: InvalidAccessError: Answer contains illegal setup attribute "actpass" at level 0
addIceCandidate: InvalidStateError: No remoteDescription.
addIceCandidate: InvalidStateError: No remoteDescription.
addIceCandidate: InvalidStateError: No remoteDescription.
addIceCandidate: InvalidStateError: No remoteDescription.
addIceCandidate: InvalidStateError: No remoteDescription.
alvestrand commented 4 years ago

Per spec: The answer needs to have "actpass" replaced with either "active" or "passive", indicating which end of the connection should initiate the DTLS handshake.