We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c0ff0 commit caeb622Copy full SHA for caeb622
example/src/App.tsx
@@ -72,6 +72,11 @@ const RenderListItem = React.memo(
72
finishMode: FinishMode.stop,
73
});
74
} else {
75
+ // If we are recording do nothing
76
+ if (currentPlayer.currentState === RecorderState.recording) {
77
+ return;
78
+ }
79
+
80
// Always stop current player if it was playing
81
if (currentPlayer.currentState === PlayerState.playing) {
82
await currentPlayingRef?.current?.stopPlayer();
0 commit comments