shinyoshiaki / werift-webrtc

WebRTC Implementation for TypeScript (Node.js), includes ICE/DTLS/SCTP/RTP/SRTP/WEBM/MP4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FireFox DTLS issue

koush opened this issue · comments

I can't recall if I ever tested Firefox before, so I'm unsure if this is a regression in Werift or behavior change in Firefox.

When attempting to connect a peer connection with a Firefox browser, werift fails during dtls handshaking with:
' ContentType.alert [object Object] BadCertificate flight 5 lastFlight [object Object]'

I'll see if I can fix this, but figured I'd give you a heads up first in case you know what the issue is.

alert:

Alert {level: 2, description: 42}

dlls.lastFlight

(1) [Finished]
0:
Finished {verifyData: Buffer(12), msgType: 20, messageSeq: 4}
messageSeq:
4
msgType:
20
verifyData:
Buffer(12) [229, 131, 115, 13, 50, 130, 204, 215, 101, 26, 28, 178 ]