Skip to content
New issue

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

issue 310 - Added a new property, ignoreSilentSwitch. #403

Merged

Commits on Dec 2, 2016

  1. issue 310 - Added a new property, ignoreSilentSwitch. When true, audi…

    …o 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.
    Dom DiCicco committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    58024d1 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2016

  1. Configuration menu
    Copy the full SHA
    65d211e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2017

  1. Merge branch 'master' into issue-310-ignore-silent-switch

    Matt Apperson committed Feb 14, 2017
    Configuration menu
    Copy the full SHA
    5d2e531 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. 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.
    Dom DiCicco committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    b0a8837 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f5250c View commit details
    Browse the repository at this point in the history