muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.57k stars 1.37k forks source link

videobroadcasting ios and chrome issue. #570

Open gouravempower opened 6 years ago

gouravempower commented 6 years ago

hi, i am new to web rtc please help. i am using your Video Conferencing demo of v2, i have some issues in that help me out how to resolve this. 1) it is not working on safari properly. when i open room on safari there is no is display in safari.and when i join from other browser (chrome) it gives an error.

this is the error code which i receive in chrome

setRemoteDescription failed 
 DOMException: Failed to set remote offer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..

one more issue is that if i want to switch camera how can i, with streaming is on?

chungnt92 commented 6 years ago

I think, until now, this is impossible. Chrome and iOS Safari can not talk to each other.

Waiting support...

muaz-khan commented 6 years ago

v2 is recently fixed for Edge/Safari11/Firefox.

v3 is recommended and it works on all webrtc browsers (only if adapterjs is included).

<script src="/dev/adapter.js"></script>
<script>
window.enableAdapter = true; // enable adapter.js

// now v3 will work on Safari11/Edge/Firefox
var connection = new RTCMultiConnection();

Please test this demo