General Tech Bugs & Fixes . 1 year ago

Safari WebRTC with easyrtc

Safari WebRTC with easyrtc

4 views   2   0 likes   0 shares Tuteehub forum manpreet 2 answers
tuteehub_quiz
Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

profilepic.png

Tuteehub forum answer Answers (2)


profilepic.png
manpreet Tuteehub forum best answer Best Answer 1 year ago

On Chrome, I'm getting full Webcam & Microphone support both ways with easyrtc.js, but Safari doesn't want to cooperate.

The latest version of Safari is listed as being WebRTC compatible (https://webkit.org/blog/7627/safari-technology-preview-32/). In addition, I have the option to "Enable Legacy WebRTC API" under the Develop menu.

Without Legacy WebRTC API enabled, I get the error message from easyrtc Your browser doesn't appear to support WebRTC. After enabling it, I get the error message Unhandled Promise Rejection: TypeError: Type error from the easyrtc.js this.createObjectURL function at: window.URL.createObjectURL(mediaStream).

Any ideas how to get Safari to behave like the Chrome version?

4 views   0 shares
profilepic.png
manpreet 1 year ago

Faced the same problem with easyrtc then used beta branch of easyrtc in development and it works. Previous, was using b.com/tag/master">master branch.

beta branch includes playsinline for safari.

Clone their beta branch using :

git clone -b <branchName> <b.com/tag/repository">repository>
means

git clone -b beta https://github.com/priologic/easyrtc.git


 
4 views   0 shares

Related Tags