英文:
getRemoteStreams from webRTC peerConnection undefined in safari or mobile IOS
问题
I was build video call App using webRTC. The app was running smoothly until I tried using safari browser on mac and Chrome browser on Mobile IOS. The error was occur when I get the remote/local stream for my Video Tag sources. The error looks like this :
TypeError: e.getRemoteStreams is not a function. (In 'e.getRemoteStreams()', 'e.getRemoteStreams' is undefined)
I tried in chrome dekstop was work perfectly, Any idea the alternatives to get mediaStream from peerConnection except getRemoteStreams() and getLocalStreams() ?
英文:
I was build video call App using webRTC. The app was running smoothly until I tried using safari browser on mac and Chrome browser on Mobile IOS. The error was occur when I get the remote/local stream for my Video Tag sources. The error looks like this :
TypeError: e.getRemoteStreams is not a function. (In 'e.getRemoteStreams()', 'e.getRemoteStreams' is undefined)
I tried in chrome dekstop was work perfectly, Any idea the alternatives to get mediaStream from peerConnection except getRemoteStreams() and getLocalStreams() ?
答案1
得分: 0
I already found the solution, getLocalStreams() and getRemoteStreams() function was already deprecated, not all browser still support, safari and mobile browser i.e chrome, safari. So, you can go here for the alternatives way to get the local/remote streams.
英文:
I already found the solution, getLocalStreams() and getRemoteStreams() function was already deprecated, not all browser still support, safari and mobile browser i.e chrome, safari. So, you can go here for the alternatives way to get the local/remote streams.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论