What is the reason the app does not work on safari?
toshvelaga opened this issue · comments
Hey I've been editing the code and it works perfectly for Firefox and Chrome. I am curious though as to why it doesn't work on other browsers such as Safari? I have commented out the code that renders a message if the browser is not chrome as shown below. If anyone has any ideas I am super curious. Thanks so much!
It seems that some of the apis have been deprecated in webRTC and don't work on certain browsers. For example onaddStream and addStream are deprecated
Here is the browser compatibility for onaddmediastream for example
If needed here are the replacements:
onaddstream ===> ontrack
addStream ===> addTrack