Open siddharthsuneel opened 7 years ago
Try adding this to your application delegate on launch:
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
Since this is a global setting, you should confirm that any third-party frameworks you use do not set a different value.
Done, it worked. Thanks @jimspeth
I have used pod 'youtube-iso-player-helper' to integrate YTPlayer within my native iOS application. The issue I am facing is I am not able hear any sound while video is being played when the iPhone that has ringer silent & it works fine with earphone but does not work on iPhone speakers.
Note: I have not muted the iPhone volume, it's only ringer silent.