Skip to content
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

ERROR: Method 'stop:' not defined in Plugin 'MediaRecorder' #31

Open
muktarsayedsaleh opened this issue Mar 14, 2020 · 0 comments
Open

Comments

@muktarsayedsaleh
Copy link

Expected Behaviour

I should be able to call .stop() on iOS

Actual Behaviour

ERROR: Method 'stop:' not defined in Plugin 'MediaRecorder'

Reproduce Scenario (including but not limited to)

just installed it on iOS app, instantiated a MediaStream like this:

var mediaRecorder;
navigator.mediaDevices.getUserMedia({ audio: true })
.then(stream => {
mediaRecorder = new MediaRecorder(stream);
});

now when I call mediaRecorder.stop() i am getting an error (only on iOS)

Steps to Reproduce

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Cordova CLI version and cordova platform version

cordova --version                                    9.0.0 (cordova-lib@9.0.1)
cordova platform version android                     Installed platforms:  ios 5.1.1

Plugin version

phonegap-plugin-media-recorder 1.1.0 "Media Recorder"
phonegap-plugin-media-stream 1.2.1 "MediaStream"

Sample Code that illustrates the problem

Logs taken while reproducing problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant