startRecording
See original GitHub issuewavsetupRecorder();
recorder.startRecording();
E/AudioRecord: Could not get audio input for record source 1, sample rate 44100, format 0x1, channel mask 0x10, session 161, flags 0
E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
E/AndroidRuntime: FATAL EXCEPTION: Thread-367
Process: com PID: 3241
java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
at android.media.AudioRecord.startRecording(AudioRecord.java:885)
at omrecorder.PullTransport$AbstractPullTransport.preparedSourceToBePulled(PullTransport.java:89)
at omrecorder.PullTransport$AbstractPullTransport.start(PullTransport.java:70)
at omrecorder.AbstractRecorder$1.run(AbstractRecorder.java:29)
at java.lang.Thread.run(Thread.java:818)
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (5 by maintainers)
Top Results From Across the Web
startRecording(handler:) - Documentation - Apple Developer
Call startRecording(handler:) on an instance of the recorder to begin recording. When startRecording(handler:) is first called, an alert window appears ...
Read more >AudioRecord - Android Developers
public void startRecording (MediaSyncEvent syncEvent). Starts recording from the AudioRecord instance when the specified synchronization event occurs on the ...
Read more >Scripting API: Animator.StartRecording - Unity - Manual
Sets the animator in recording mode, and allocates a circular buffer of size frameCount. After this call, the recorder starts collecting up to...
Read more >startRecording() - Docs - Daily.co
Using our video API, the startRecording() method starts recording a Daily video call built on WebRTC.
Read more >MATLAB startRecording - MathWorks
startRecording ( target_object ) starts a simulation run in the Simulation Data ... is enabled by using the startRecording function, Start Recording button, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am glad you solved it you can explain more here how you solved to help other users. If you want to release the audio source you can do by simply like this:
Hey @nzala , how you call
pulltransport.audioSource().release();
in your project? cause I call event call for audioSource() to pullTransport… can you give me some hint?