• Skip to Search
  • Skip to Content
  • Skip to Side Navigation
Getting StartedSDK ReferenceGlossary
  • Home
  • Getting Started
  • SDK Reference
  • Portal
  • How-To
  • Troubleshooting
  • FAQs
  • Reference
  • Glossary
Troubleshooting
  • Issues with Downloading Phenix Mobile SDKs
  • Building an app with the iOS SDK
  • App does not receive callbacks when data quality changes
  • Publishing does not result in a stream
  • Autoplay isn't working
  • Playback blocked in battery saver mode

Why is playback blocked in battery saver mode?

Problem: Mobile devices may operate in battery saver mode and thus restrict behavior related to playing audio and video. For example, the browser may refuse to auto play a video in low battery mode.

Solution: In order to facilitate media playback when battery saver is in effect, you may need the user to manually trigger play() on the <video> element to unlock it. This may not be achieved by displaying a button but require direct interaction with the <video> element on the screen. Please review the example code for integrating a renderer in View a Channel and Channel Viewer Example, which show the relevant events so your application can show user controls to start playback and/or unmute the playing video. In particular, failedToPlay with reason failed-to-play or reason paused-by-background.

Keywords: Mobile, Browsers, iOS, WebView, WebSDK

Page Content
    Copyright 2023 © Phenix RTS
    Privacy Policy | Terms of Service
    v2023-01-31T21:25:10