twilio / twilio-video.js

Twilio’s Programmable Video JavaScript SDK
https://www.twilio.com/docs/video/javascript
Other
571 stars 217 forks source link

Error on IncomingInvite.reject() #7

Closed talihomz closed 8 years ago

talihomz commented 8 years ago

Im using twilio sdk to connect to another client, and when i want to reject an incoming call, i get the following error message:

Error: Cannot read property 'once' of undefined TypeError: Cannot read property 'once' of undefined at r._dialogCreated (twilio-conversations.min.js:90) at r._onInviteSuccess (twilio-conversations.min.js:90) at dynamics_browser.js:51.

Have checked the docs on the proper way to do a reject call and cannot see what i'm doing wrong so far

markandrus commented 8 years ago

Thanks for the report @talihomz, will take a look.

choppen5 commented 8 years ago

This can be closed - I gave a code sample of rejecting an inivite that did work: https://github.com/choppen5/twilioVideo/blob/master/public/quickstart.js#L39