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

Voice is not getting recorded on my Samsung A70 device ! #19

Closed
hasanrihawi opened this issue Jun 6, 2020 · 2 comments
Closed

Voice is not getting recorded on my Samsung A70 device ! #19

hasanrihawi opened this issue Jun 6, 2020 · 2 comments

Comments

@hasanrihawi
Copy link

although i gave audio permission to app, still no luck in recording device voice, only able to record video

@hasanrihawi
Copy link
Author

you need to add those lines:

            mMediaRecorder?.setAudioSource(MediaRecorder.AudioSource.MIC);
            mMediaRecorder?.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
            mMediaRecorder?.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

into file FlutterScreenRecordingPlugin.kt in order to start recording voice

@salime45
Copy link
Member

salime45 commented Jun 8, 2020

Yes, we have to add a flag and logic for that in the futrure, rigth now the plugin only record screen

@salime45 salime45 closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants