React-native-sound: Support for playing .ogg file on iOS devices?

Created on 12 Jul 2019  ·  2Comments  ·  Source: zmxv/react-native-sound

When I play the ogg file, it plays fine on Android devices, but it is error when running on iOS devices.

error message:

code: "ENSOSSTATUSERRORDOMAIN1954115647"
domain: "NSOSStatusErrorDomain"
message: "The operation couldn’t be completed. (OSStatus error 1954115647.)"
nativeStackIOS: Array(17)
0: "0   NewProjectDemo                      0x00000001053521b7 RCTJSErrorFromCodeMessageAndNSError + 135"
1: "1   NewProjectDemo                      0x00000001053520e3 RCTJSErrorFromNSError + 275"
2: "2   NewProjectDemo                      0x00000001055958a4 -[RNSound prepare:withKey:withOptions:withCallback:] + 1972"
3: "3   CoreFoundation                      0x000000010952b4cc __invoking___ + 140"
4: "4   CoreFoundation                      0x0000000109528a45 -[NSInvocation invoke] + 325"
5: "5   CoreFoundation                      0x0000000109528e96 -[NSInvocation invokeWithTarget:] + 54"
6: "6   NewProjectDemo                      0x00000001052f633a -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2810"
7: "7   NewProjectDemo                      0x0000000105393e46 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 790"
8: "8   NewProjectDemo                      0x0000000105393953 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 131"
9: "9   NewProjectDemo                      0x00000001053938c9 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25"
10: "10  libdispatch.dylib                   0x000000010c055d7f _dispatch_call_block_and_release + 12"
11: "11  libdispatch.dylib                   0x000000010c056db5 _dispatch_client_callout + 8"
12: "12  libdispatch.dylib                   0x000000010c05e225 _dispatch_lane_serial_drain + 778"
13: "13  libdispatch.dylib                   0x000000010c05ee9c _dispatch_lane_invoke + 425"
14: "14  libdispatch.dylib                   0x000000010c068ea3 _dispatch_workloop_worker_thread + 733"
15: "15  libsystem_pthread.dylib             0x000000010c43f611 _pthread_wqthread + 421"
16: "16  libsystem_pthread.dylib             0x000000010c43f3fd start_wqthread + 13"

feature ios

Most helpful comment

Yeah, ogg files are really optimized in file size and are really useful in applications, So I would be really happy if I find out that this library supports the ogg files in iOS devices too.

All 2 comments

Please

Yeah, ogg files are really optimized in file size and are really useful in applications, So I would be really happy if I find out that this library supports the ogg files in iOS devices too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adrian621 picture adrian621  ·  15Comments

yaronlevi picture yaronlevi  ·  15Comments

ofirgeller picture ofirgeller  ·  21Comments

aspitsyn picture aspitsyn  ·  15Comments

FatemeKhodayari picture FatemeKhodayari  ·  12Comments