breautek commented on issue #358: URL: https://github.com/apache/cordova-plugin-media/issues/358#issuecomment-1711611651
> okay so after more testing I found that calling `release()` after `stopRecord()` was working... Is this normal behavior ? Based on the [docs](https://github.com/apache/cordova-plugin-media#mediarelease) I'd say so. > Releases the underlying operating system's audio resources. This is particularly important for Android, since there are a finite amount of OpenCore instances for media playback. Applications should call the release function for any Media resource that is no longer needed. It sounds like not calling `release` may cause blocking on available `OpenCore` resources. I'd imagine the limit on these `OpenCore` instances may vary from device, but by not calling `release`, you'll eventually hit the instance limit. Closing because I believe this isn't actually a bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
