We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1413aa commit d9fe078Copy full SHA for d9fe078
package/native-package/src/optionalDependencies/Audio.ts
@@ -137,7 +137,6 @@ class _Audio {
137
startPlayer = async (uri, _, onPlaybackStatusUpdate) => {
138
try {
139
const playback = await audioRecorderPlayer.startPlayer(uri);
140
- console.log({ playback });
141
audioRecorderPlayer.addPlayBackListener((status) => {
142
onPlaybackStatusUpdate(status);
143
});
@@ -191,6 +190,7 @@ class _Audio {
191
190
};
192
stopRecording = async () => {
193
+ if(!audioRecorderPlayer._isRecording) return;
194
await audioRecorderPlayer.stopRecorder();
195
audioRecorderPlayer.removeRecordBackListener();
196
} catch (error) {
0 commit comments