Skip to main content

Remote configuration

What you learn​

You're instantiating DIVA Player in your app (mobile/TV) and relying on DIVA Back Office as the video streaming source.

The goal of this article is to build the simplest front-end to stream a video from the DIVA Back Office, having the possibility to control and modify configuration parameters dynamically and remotely.

Before starting​

  • Ensure the DIVA Back Office instance you rely on is up and running.
  • Ask your video engineers team <videoId>, <settingsURL>, <languageCountryCode>, <userToken> and <sharedKey>.
  • Ensure the settings file contains the fields you need.

The settings configuration allows you to adjust various parameters of the Diva Player remotely. By using specific settings, you can optimize the player's performance, ensuring it runs smoothly and meets the requirements of different environments.

This section details how to configure these settings to make the most of the Diva Player's capabilities.

Instantiation iOS logo​

The Basic instantiation code is sufficient.

Performances​

AVPlayer Configuration​

These parameters are tailored to improve playback performance and enhance the reliability of Streaming Performance Indicators (SPI) by managing buffering, network resources, and data efficiency.
Check the AVPlayer configuration for more details.

Background Playback Optimization​

This enhancement ensures optimal app performance by allowing for configurable, threshold-based management of playback and system resources, offering a smooth, consistent experience when switching between background and foreground modes.
Check the Background Playback for more details.