Skip to content
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

PlayerController on iOS plays without sound (physical device only) #349

Open
KestasVenslauskas opened this issue Oct 23, 2024 · 2 comments
Labels
waiting-for-response Waiting for someone to respond.

Comments

@KestasVenslauskas
Copy link

KestasVenslauskas commented Oct 23, 2024

Describe the bug
If a PlayerController is used to play audio file it plays without sound. It's waveform is visible and you can seek to parts of the audio but there is no sound.
Once you use RecordController and record something then PlayerController starts to work with sound.
This bug happens on physical iOS device only. Tried few different ones the outcome is the same.

To Reproduce

  1. Run the example app
  2. Before you record anything press play on any message
  3. Observe the problem
  4. Additionally - start & stop recording and then try playing any audio again.
  5. Problem is gone.

Expected behavior
Player should play from cold start with sound.

Smartphone (please complete the following information):

  • Device: iPhone6, iPhone10
  • OS: iOS16.0, iOS18.0

Additional context
This bug happens on physical iOS devices only.

@jay-simformsolutions
Copy link
Collaborator

Hi @KestasVenslauskas I have tried your issue from iOS 15 to 17 version but still it's not reproducible. Can you please share minimal reproducible code or more clarification on your issue?

iOS version: 16
device: iPhone 12

RPReplay_Final1729780518.MP4

@jay-simformsolutions jay-simformsolutions added the waiting-for-response Waiting for someone to respond. label Oct 24, 2024
@KestasVenslauskas
Copy link
Author

I am able to reproduce it on the example project no need to any other repo. Not sure what is the trigger for the cause, it's important that you do not try to record before you press play. Even after you pressed record you have to re-build the app, flutter restart is not enough you have to kill the app and this issue should be present on first run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-response Waiting for someone to respond.
Projects
None yet
Development

No branches or pull requests

2 participants