We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tested on all devices , videos mute volume when phone on silent mode and volume comes back when change device ringing mode to general mode.
The text was updated successfully, but these errors were encountered:
I have the same issue...
Sorry, something went wrong.
just add this code in your player Swift 3.0 and Xcode > 8
Play sound in Video when device is on RINGER mode and SLIENT mode
import AVFoundation .......... do { try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback) //print("AVAudioSession Category Playback OK") do { try AVAudioSession.sharedInstance().setActive(true) //print("AVAudioSession is Active") } catch _ as NSError { //print(error.localizedDescription) } } catch _ as NSError { //print(error.localizedDescription) }
@mouness2020 @fadylateef @DevWiy put that code before present function help player work file. Thanks
No branches or pull requests
Tested on all devices , videos mute volume when phone on silent mode and volume comes back when change device ringing mode to general mode.
The text was updated successfully, but these errors were encountered: