-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No sound in simulator (iOS) #200
Comments
To second the above report, I also do not get sound from the iOS simulator, but it is working properly in connected physical test devices. I have just started on this project again after some time, so I cannot say when the simulator stopped working, but I am certain it did a couple years ago when I last used the plugin. I was able to play sound on a video in the simulator, so it is not a configuration or volume issue. Thank you for looking into this when you have a moment. Details: |
I can get sound to come out of the simulator if I play AND record at the same time! On my iPhone, I can only get sound coming out of my airpods. If I use the speaker for playback for the iphone, no sound comes out. I suspect there's an issue with routing. I also see this error popping up,
not sure if it's related. |
This is the problem in the
if you comment out those lines it will fix the problem. You can see the docs for the ambient mixing, https://developer.apple.com/documentation/avfaudio/avaudiosessioncategoryambient. Presumably some people will want that feature, but if you set |
Hey folks,
according to the console, my audio track is being played successfully:
reference back to player: <AVAudioPlayer: 0x600002c8c840>
whether song play completed successfully: true
I hear no sound in simulator (iOs) though. Device volume is set to 100%. Sound in other apps works. I tried multiple files of different types (mp3, wav).
Any leads?
The text was updated successfully, but these errors were encountered: