react-native-webrtc-server
react-native-webrtc-server copied to clipboard
Running in IE with webrtc-everywhere
I have downloaded https://github.com/oney/react-native-webrtc-server example. And run the server in node and checked the video calling between 2 machines it was working fine, but only in chrome and firefox. I wanted to work it in IE and safari also. Hence i used https://github.com/DoubangoTelecom/webrtc-everywhere.
I have Download and install the plugin for Windows and Included adapter.js script in my code. And replaced document.getElementById("eltId").src = mediaStream; to attachMediaStream(document.getElementById("eltId"), mediaStream); But still it is not working in IE. What am i missing? Am i doing it correctly?
While debugging i can see, in Chrome, it is passing RTCSessionDescription in createOffer method and it has been passed to other machine and displaying the video. [ In Console it prints RTCSessionDescription {type:offer sdp:<some_value>} But it IE it is passing ISessionDescription and the object value is empty in console. (Strangely i can see the object value while debug the code in IE) [In console it prints [object] { } ]
I am very much confused. I am relatively new to scripting hence i might have done very naive mistake too. Please correct me and help me. I you want i can provide the code samples as well
Regards, Alex.