GitHub issue
opened 11:34AM - 22 Sep 22 UTC
needs review
### Summary
Playing sound with the audio plugin `expo-av` works normally but … after recording audio with the same plugin the volume of the iPhone is buggy within the app.
Steps to reproduce:
1. Set the volume to `100%`, programatically we also use `await sound.setVolumeAsync(1)`
2. Play an audio file with `expo-av`, this all works as expected
3. Record audio with `expo-av`
4. Play the first audio file and notice that the volume barely hits 25%
This behaviour only happens on iOS
### What platform(s) does this occur on?
iOS
### Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.6
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 3.2.3 - ~/.nvm/versions/node/v16.16.0/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
npmPackages:
expo: ~46.0.9 => 46.0.10
react: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
npmGlobalPackages:
eas-cli: 2.1.0
expo-cli: 6.0.5
Expo Workflow: managed
### Minimal reproducible example
https://github.com/ristrettostudio/expo-example-audio
Summary
Playing sound with the audio plugin expo-av
works normally but after recording audio with the same plugin the volume of the iPhone is buggy within the app.
Steps to reproduce:
Set the volume to 100%
, programatically we also use await sound.setVolumeAsync(1)
Play an audio file with expo-av
, this all works as expected
Record audio with expo-av
Play the first audio file and notice that the volume barely hits 25%
This behaviour only happens on iOS
What platform(s) does this occur on?
iOS
Minimal reproducible example
system
Closed
October 20, 2022, 10:01am
3
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.