-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Hello guys,
I had time to try out the new rooms api today.
Unfortunately I am unable to join a room when following the getting started.
I spend the last couple of hours in debugging my code and afterwards going through your SDK code.
I figured out that getLocalMedia in twilio-video.js does not succeed for me.
function getLocalMedia(client, options, handleLocalMedia) { options.shouldStopLocalMedia = !options.localMedia && !options.localStream; console.log('Stopping Local Media?', options.shouldStopLocalMedia); return client._getLocalMedia(options).then(function getLocalMediaSucceeded(localMedia) { var promise = handleLocalMedia(localMedia); promise.catch(function handleLocalMediaFailed() { console.log('handleMedia Failed!!!'); if (options.shouldStopLocalMedia) { localMedia.stop(); } }); return promise; }); }
as my debug output ('handleMedia Failed!!!) is thrown.
My code can be found here: https://paste.ubuntu.com/23360934/
I am also able to render LocalMedia to a local container.
Are there any other cases where this happened before?
Best, ZuSe
ENVs:
Chrome 53 on Ubuntu 16.04 with twilio-video.beta2.
also tested on Opera 40 on Windows 10