-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make private properties more private #34
Comments
Why is Twilo calling |
I have no idea -- it is pretty odd... I'll let you know If I hear back from them on the matter.. Thanks for making that change |
Prior to Chrome 26, var audioTracks = typeof this.stream.getAudioTracks === 'function'
? this.stream.getAudioTracks() : this.stream.audioTracks; |
Just saw this, Thanks for the clarification @markandrus |
I ran into this issue when trying to load Twilio on the iPad.
Referring to these properties specifically:
https://github.com/eface2face/cordova-plugin-iosrtc/blob/master/js/MediaStream.js#L66-L70
Twilio has a method that looks like this:
As you can see it errors when accessing the
[0].enabled
property ofthis.stream.audioTracks
I've filed an issue in Twilio to prefer spec.. But it would probably be good for the module hide its private state better anyway.
Also.. Thank you for a great plugin!
The text was updated successfully, but these errors were encountered: