Add playWhileMuted property
mattapperson opened this issue · comments
On iOS there are multiple AVAudioSessionCategory options for audio when playing a video.
We only really need to care about 2 of them, so we don't need to fully expose the API.
Issue:
Currently if the sound toggle switch is muted, the videos audio is muted.
Requested feature:
set [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
if playWhileMuted
prop is set to true. default should be false.
Note about this ticket added to readme
The suggestion to add [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
at the bottom of didFinishLaunchingWithOptions
no longer seems to be working. Any ideas?
+1
Any momentum on this feature?
A PR was made here but needs work #403
My company has created a $200 bounty for this issue. https://www.bountysource.com/issues/37409911-add-playwhilemuted-property
This ticket should be closed, given the merge of #403 .
Closing since merged.