Android Question How to release audiostreamer?

dreamworld

Active Member
Licensed User
Longtime User
When audiostreamer is initialized, mediarecorder is unable to start, because audiostreamer is using the record device. Unfortunately, audiostreamer does not provide us a method to release resources. Erel, did you forget to add Release method to audiostreamer? This method is very important.
 

dreamworld

Active Member
Licensed User
Longtime User
I have read that.
The recording of Audiostreamer and Mediarecorder happen on the same activity.
if Audiostreamer is initialized to record sound in the first, mediarecorder will be unable to start().
Audiostreamer is conflicting with mediarecorder.
It seems that something is occupied by Audiostreamer and Mediarecorder is unable to start.
If there is a method to release that resource occupied by Audiostreamer, Mediarecorder can work.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
What is the varient for the audiostreamer to be released?

I'm getting a nullpointer exeption on the release command when using this example.


or is it enough to use the stopplaying command?
 
Upvote 0
Top