Quobis / QoffeeSIP

QoffeeSIP is a complete Javascript SIP stack that can be used in a website to exploit all the multimedia capabilities of WebRTC technology. Instead of using pure Javascript, QoffeeSIP has been coded with CoffeeScript so you can easily modify it to suit your needs.
GNU Lesser General Public License v3.0
27 stars 5 forks source link

Qoffee 0.7 has issues for audio only call #8

Open prasaddp5 opened 10 years ago

prasaddp5 commented 10 years ago

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 } }); }

damianfral commented 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.

prasaddp5 commented 10 years ago

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.