googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
645 stars 191 forks source link

GVR Audio iOS SDK does not produce audio output on iOS 12.4 #339

Closed jordanjuras closed 4 years ago

jordanjuras commented 4 years ago

I have been experiencing difficulty with the GVR Audio SDK for iOS after updating to 12.4.

I am implementing a cross platform augmented reality app using Resonance Audio. React-native is used to create the front end, and I am managing GVRAudio rendering in Obj-c and Java respectively for iOS and Android.

On Android, the GVR Audio Engine works as expected. On iOS however, there is no sound produced by the engine. All calls to the GVR Audio engine on iOS return success values, and updating is happening on the main thread as instructed by folks at Google.

Furthermore, I have experimented with both the SDK and NDK example Treasure Hunt demos for iOS 12.4, and neither produce any audio output.

Is anyone else experiencing this problem? Has there been a breaking change with this update?

Any help would be greatly appreciated.

jordanjuras commented 4 years ago

Welp, found the fix after about 1 week of debugging.

My iPhone was muted to preserve focus for tackling this crippling 'bug'.

Relieved that GVR Audio iOS SDK is compatible with iOS 12.4 + React Native ++ : )