Temasys / AdapterJS

AdapterJS Javascript Polyfill and Tools for WebRTC - Skylink WebRTC
http://skylink.io/web
Other
428 stars 100 forks source link

Setting peerConnection.addTransceiver('audio') and peerConnection.addTransceiver('video') causes communication not working #310

Open nolimitdev opened 4 years ago

nolimitdev commented 4 years ago

Setting offerToReceiveAudio:true and offerToReceiveVideo:true before creating offer peerConnection.createOffer() is now deprecated and Safari does not support already it. We need to use new way peerConnection.addTransceiver('audio') and peerConnection.addTransceiver('video') but it breaks communication with opponent which uses AdapterJS. Both sides will only see own local video. Side using AdapterJS fails with error during creating answer. Could it be fixed?