Skip to content

Commit

Permalink
fix: Stopping stream recording throws ExceptionInterruptedException.
Browse files Browse the repository at this point in the history
  • Loading branch information
llfbandit committed May 23, 2024
1 parent f6fd5aa commit de508bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions record_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.2.1
* fix: Stopping stream recording throws ExceptionInterruptedException.

## 1.2.0
* feat: Re-introduced native MediaRecorder. Set `RecordConfig.androidConfig.useLegacy` to `true`. This comes with limitations compared to advanced recorder.
* feat: Advanced AudioRecorder will try to adjust given configuration if unsupported or out of range (sample rate, bitrate and channel count).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class RecordThread(
updateState(RecordState.STOP)

completion.countDown()
executorService.shutdownNow()
executorService.shutdown()
}

fun isRecording(): Boolean {
Expand Down
2 changes: 1 addition & 1 deletion record_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: record_android
description: Android specific implementation for record package called by record_platform_interface.
version: 1.2.0
version: 1.2.1
homepage: https://github.com/llfbandit/record/tree/master/record_android

environment:
Expand Down

0 comments on commit de508bb

Please sign in to comment.