Open ruansf opened 6 years ago
This seems like an internal GVR bug. Will be fixed in the next release.
It seems crash happens in route change. I want to know what AudioEngine
& RouteChangeNotifier
will do when the AVAudioSessionRouteChangeNotification happens? Can i just remove the observer AudioEngine
& RouteChangeNotifier
of the AVAudioSessionRouteChangeNotification? I will add another observer to clean engine when route change happens
My meaning of 'clean engine' is to set property gvrEngine to empty
I run the TheasureHunt demo. It crash when i pull out the headphones or put on headphones with the below error:
2018-03-31 15:46:51.704 TreasureHunt[2696:351508] Output will be downmixed to mono: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" 2018-03-31 15:46:51.933 TreasureHunt[2696:351508] Output will be downmixed to mono: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" 2018-03-31 15:46:52.160 TreasureHunt[2696:351508] Output will be downmixed to mono: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)"