abbasfreestyle / react-native-af-video-player

MIT License
381 stars 289 forks source link

ios not play audio #36

Open PanRada opened 6 years ago

PanRada commented 6 years ago

Is any one nitce this issue - Android play audio (mp3) fine ios not

Any one can support?

fluckplayman commented 6 years ago

same problem

PanRada commented 6 years ago

any one more? or solution ?

fluckplayman commented 6 years ago

mp4 also audio not working.

Ding95 commented 6 years ago

did you set the iPhone silent mode?

yehancha commented 5 years ago

I had audio on my headphone but not the phone speakers. In my case I had turned on the hardware silent switch. Turning off did fix it. It seems the issue is with internal management of the react-native-video prop "ignoreSilentSwitch" as @flexgrip suggested.

react-native-audio repo also has listed few issues related to this and this post helped me: https://github.com/react-native-community/react-native-video/issues/874#issuecomment-369840510