Template

Template:iOS Interuptions during Playback

From Engineering Client Portal

Revision as of 21:09, 23 August 2021 by ColinBrown (talk | contribs) (Created page with "== Interruptions during playback == As part of integrating Nielsen App SDK with the player application, the Audio / Video app developer needs to handle the following possible...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Interruptions during playback

As part of integrating Nielsen App SDK with the player application, the Audio / Video app developer needs to handle the following possible interruption scenarios:

  • Pause / Play
  • Network Loss (Wi-Fi / Airplane / Cellular)
  • Call Interrupt (SIM or Third party Skype / Hangout call)
  • Alarm Interrupt
  • Content Buffering
  • Device Lock / Unlock
  • App going in the Background/Foreground
  • Channel / Station Change Scenario
  • Unplugging of headphone

In case of encountering one of the above interruptions, the player application needs to

  • Call stop immediately (except when content is buffering) and withhold sending playhead position.
  • Start sending API calls – 'loadMetadata' and 'playheadPosition' for the new viewing session, once the playback resumes.

Please see the Interruption Scenarios Page for more details