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

[iOS 17] Can't play a sound when a call is active #1163

Closed
phuchuynh81qn opened this issue Jan 10, 2024 · 6 comments
Closed

[iOS 17] Can't play a sound when a call is active #1163

phuchuynh81qn opened this issue Jan 10, 2024 · 6 comments
Assignees
Labels
1 backlog bug Something isn't working

Comments

@phuchuynh81qn
Copy link

phuchuynh81qn commented Jan 10, 2024

[iOS 17] Can't play a sound when accepting call using callkit in ios 17, ios 15, 16 work fine.

@phuchuynh81qn phuchuynh81qn added 1 backlog bug Something isn't working labels Jan 10, 2024
@phuchuynh81qn
Copy link
Author

@ryanheise Can you help me?

@wbbtech
Copy link

wbbtech commented Jan 15, 2024

I have this same problem when trying to play streaming audio on iOS 17 physical devices, the audio cannot be heard.

Future<void> _getUrlRadio() async {
    try {
     // https://27323.live.streamtheworld.com/CARACOL_RADIOAAC_SC?csegid=2000
      final res = await _apiGet.getUrlRadio();
      Uri? uri = Uri.tryParse(res);
      if (uri == null || res.isEmpty) throw '';

      await _player.setAudioSource(AudioSource.uri(uri));

      print(".- _getUrlRadio: $uri");
      return _player.play();
    } catch (_) {
      print(".- _getUrlRadio Err: $_");
    }
  }

@ryanheise
Copy link
Owner

@ryanheise Can you help me?

Unfortunately not, because you have submitted an invalid bug report where you ignored my instructions and deleted all of the required sections.

In the first section, you need to justify why this is indeed a bug and not the proper behaviour of iOS 17. In the second and third section, you need to provide a minimal reproduction project and instructions for me to run it.

@ryanheise
Copy link
Owner

Quick Google Search:

https://forums.developer.apple.com/forums/thread/738940
https://stackoverflow.com/questions/53976645/audio-not-working-when-incoming-call-is-answered-during-screen-is-locked-swift
...

I did not see that this is a just_audio bug. If you disagree, you need to fill in a proper bug report with all of the information I require.

@ryanheise
Copy link
Owner

Closing as no response.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants