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

[BUG]: DOCS: iOS play in background documentation may be outdated now or could be rewritten #3770

Closed
paulrinaldi opened this issue May 14, 2024 · 5 comments
Labels
bug stale Closed due to inactivity or lack or resources

Comments

@paulrinaldi
Copy link
Contributor

Version

6.0.0

What platforms are you having the problem on?

iOS

Architecture

Old architecture

What happened?

`

Play in background on iOS

To enable audio to play in background on iOS the audio session needs to be set to AVAudioSessionCategoryPlayback. See [Apple documentation][3] for additional details. (NOTE: there is now a ticket to expose this as a prop )
`

This may need to be updated since 310 is closed and might not exactly relate to exposing a prop for playing in the background on iOS.

Reproduction

repository link

Reproduction

Viewable on https://thewidlarzgroup.github.io/react-native-video/other/misc#play-in-background-on-ios

@amayanga
Copy link

My video stops playing when the device is locked on iOS. Is there something I need to change?

@paulrinaldi
Copy link
Contributor Author

Initial issue I posted is fixed. Tested on 6.2.0 iOS 15.

@paulrinaldi
Copy link
Contributor Author

My video stops playing when the device is locked on iOS. Is there something I need to change?

Yes, there is a prop, see the wiki. Likely https://thewidlarzgroup.github.io/react-native-video/component/props#playwheninactive.

@paulrinaldi
Copy link
Contributor Author

Initial issue I posted is fixed. Tested on 6.2.0 iOS 15.

Accidentally closed this issue, this is still an issue from what I'm seeing playInBackground={true} is not sufficient on 6.2.0 iPhone 13 Pro Max v15.3.

@paulrinaldi paulrinaldi reopened this Jun 20, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.

@github-actions github-actions bot added the stale Closed due to inactivity or lack or resources label Aug 28, 2024
@paulrinaldi paulrinaldi closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Closed due to inactivity or lack or resources
Projects
None yet
Development

No branches or pull requests

2 participants