Following my first draft at Elm + WebRTC (introduced in the previous post). I’ve been trying to fix signaling issues, without success on iOS.
All is working relatively well except with iOS devices now. I don’t own any iOS device, and trying to debug over phone and screenshots is getting tiresome to my family iPhone owner. So I’m hoping someone here with some iOS dev skills would be interested to help.
The main symptom for now is that in a peer connection between one iOS and one non-iOS, the non-iOS one receives the stream of the iOS one but not vice-versa. I’ve tried to add try-catch in a lot of places, and ultimately also added
window.onunhandledrejection catch-all. The errors are transferred to the
error port of the app and displayed in an overlay when clicking on the top-right button as below.
Any help on this would be greatly appreciated! Issues, PRs, and/or screenshots are much welcomed! To test it, you can clone and deploy the
classic-signaling branch on heroku. PS: you can also adapt
server.js at lines 1, 7-10 and 15 to use a self-signed certificate locally but that won’t work with an iOS device which requires a “true” certificate for secure websockets.
git clone firstname.lastname@example.org:mpizenberg/elm-allo.git cd elm-allo heroku login heroku create git checkout classic-signaling git push heroku +HEAD:master