Open prasaddp5 opened 10 years ago
Hi @prasaddp5,
createOffer is not related with getUserMedia. I mean, you can get access to microphone and make an offer to receive video (not send). Last time I've tested, it worked as expected. Anyway, since we will be working soon on RE-INVITE, I'll look over this.
Try this out, you will find the issue which I am observing. Make a successful first call as video&audio after which switch to audio only call. Or Make a first as audio only call and then switch to video & audio call you will see the issue.
Looks like Qoffee,0.7 has issues with audio only call, even though if we selct "audioonly" option INVITE sent from Qoffee contains both audio and video bundle ( SDP). This results is failure of audio only call.( one way voice).
Code which always send audio and video in offer irrespective of audioonly flag.
RTC.prototype.createOffer = function() { return this.pc.createOffer(this.setLocalDescription, null, { 'mandatory': { 'OfferToReceiveAudio': true, 'OfferToReceiveVideo': true } }); }