react-native-video/ios
Dom DiCicco 98c51f114b issue 310 - Added a new property, ignoreSilentSwitch. (#403)
* issue 310 - Added a new property, ignoreSilentSwitch. When true, audio will play even when the silent switch on an iOS device is set to silent. When false, the audio will toggle with the silent switch. Sets the AVAudioSession to either playback or ambient.

* Added ignoreSilentSwitch usage to example app and to readme

* Changed ignoreSilentSwitch to accept two string values, ignore and obey.
This accounts for the case where the user does not want to modify the audio session from a particular video instance. The user would not use the ignoreSilentSwitch property at all in that case.
Also, the audio session will only be updated when the video is unpaused, instead of whenever the video component has updated props. This allows for multiple videos to be on the screen, with the most recent video unpaused (aka played) being the video that has control over the audio session.
2017-04-20 14:10:06 -04:00
..
RCTVideo.xcodeproj Support react-native > 0.40 (#437) 2017-01-11 07:43:43 -05:00
RCTVideo.h Added onTimedMetadata callback for iOS player and Exoplayer (#487) 2017-02-13 21:38:02 -05:00
RCTVideo.m issue 310 - Added a new property, ignoreSilentSwitch. (#403) 2017-04-20 14:10:06 -04:00
RCTVideoManager.h Support react-native > 0.40 (#437) 2017-01-11 07:43:43 -05:00
RCTVideoManager.m issue 310 - Added a new property, ignoreSilentSwitch. (#403) 2017-04-20 14:10:06 -04:00
RCTVideoPlayerViewController.h Clean project structure (#320) 2016-09-21 09:34:25 -04:00
RCTVideoPlayerViewController.m Clean project structure (#320) 2016-09-21 09:34:25 -04:00
RCTVideoPlayerViewControllerDelegate.h Clean project structure (#320) 2016-09-21 09:34:25 -04:00
UIView+FindUIViewController.h Clean project structure (#320) 2016-09-21 09:34:25 -04:00
UIView+FindUIViewController.m Clean project structure (#320) 2016-09-21 09:34:25 -04:00