Skip to content

Commit 6e8c4cb

Browse files
committed
fix extension name of recording file
1 parent d46b744 commit 6e8c4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ios/AudioRecorderAPI.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ - (void)record:(CDVInvokedUrlCommand*)command {
3636

3737
// Create a new dated file
3838
NSString *uuid = [[NSUUID UUID] UUIDString];
39-
recorderFilePath = [NSString stringWithFormat:@"%@/%@.caf", RECORDINGS_FOLDER, uuid];
39+
recorderFilePath = [NSString stringWithFormat:@"%@/%@.m4a", RECORDINGS_FOLDER, uuid];
4040
NSLog(@"recording file path: %@", recorderFilePath);
4141

4242
NSURL *url = [NSURL fileURLWithPath:recorderFilePath];

0 commit comments

Comments
 (0)