Open edimuj opened 6 years ago
Reminder: MediaStream and CreateMediaStreamDestination isn't available in the iOS WebViews, the change should take this into account. Maybe using polyfills on platforms where these where they aren't available so that getAudioMediaStream returns an object implementing the major functionality that MediaStream normally offers would be a good approach?
Hi i want implement this plugin in my cordova app. I want implement this in webRTC conection, but ios not have getUserMedia() function. Please you can me help ?
Yes, the missing getUserMedia in the iOS webviews is one of the reasons that this plugin exists, but it isn't currently a complete implementation of getUserMedia (for example only audio input is supported).
But luckily there already exists a cordova plugin for using WebRTC on iOS: https://github.com/BasqueVoIPMafia/cordova-plugin-iosrtc
I would recommend you to look into that plugin instead.
Some apps may need a MediaStream instead of an AudioNode or raw audio data.
It should therefore be possible to also get a MediaStream from the audioinput.
Should be implemented by returning the
stream
from a MediaStreamAudioDestinationNode.This would enable you to do stuff like this: