Guidance for testing

This topic describes how to access and to use test streams with DRM for MPEG‑DASH and HLS, and test files without DRM for MP4.

Testing prerequisites

The following prerequisites apply to testing browser playback of Dolby Vision and Dolby Atmos content:

  1. Test equipment.

    For testing Dolby Vision:

    • A computer with Dolby Vision enabled.

    • A browser that supports Dolby Vision.

    For testing Dolby Atmos:

    • A computer that supports Dolby Atmos and has Dolby Atmos enabled.

  2. Access to test signals including streams and files. See:

Testing streams with DRM

About this task

Choose a streaming video player to play MPEG‑DASH or HLS test streams with DRM.

Testing MPEG‑DASH or HLS streams with DRM involves:

Procedure

  • Accessing manifest file URLs for test streams provided with the Dolby Vision Browser Test Kit.
  • Accessing DRM license server URLs provided with the Dolby Vision Browser Test Kit.
  • Configuring your streaming video player with manifest file URLs and DRM license server URLs to play MPEG‑DASH or HLS test streams with DRM.

Results

Refer to documentation of your streaming video player for instructions on configuring your player to play MPEG‑DASH and HLS streams with DRM.

Shaka Player is an open-source JavaScript library for adaptive video streaming that supports MPEG‑DASH and HLS. Shaka Player documentation covers DRM configuration here. The following configuration step has an example of a Shaka Player configuration with DRM license server URLs provided with the Dolby Vision Browser Test Kit.

Procedure

  1. Access manifest file URLs for test streams.

    Test signals has tables with URLs of manifest files for MPEG‑DASH and HLS streams.

    The directory path of a manifest file URL depends on the profile and the frame rate, but the file name depends only on the format. For example, for test streams with Dolby profile 5 at 24 fps:

    • The MPEG‑DASH manifest file URL is:

         https://ott.dolby.com/browser_test_kit/cbcs/p5/24/dash.mpd
    • The HLS manifest file URL is:

         https://ott.dolby.com/browser_test_kit/cbcs/p5/24/master.m3u8
  2. Access DRM license server URLs for test streams.

    DRM license server URLs are provided with the Dolby Vision Browser Test Kit.

    For MPEG‑DASH streams with Widevine and PlayReady for DRM, license server URLs are the same for all streams.

    • Widevine license server URL:

         https://widevine-dash.ezdrm.com/proxy?pX=E8A6EE
    • PlayReady license server URL:

         https://playready.ezdrm.com/cency/preauth.aspx?pX=DCB4DB

Results

For HLS streams with FairPlay for DRM, license server URLs are different for each stream. See streams for license server URLs together with manifest file URLs.

Procedure

Configure your streaming video player with manifest file URLs and DRM license server URLs to play MPEG‑DASH or HLS streams with DRM.

Refer to documentation of your streaming video player for instructions on configuring your player to play MPEG‑DASH and HLS streams with DRM.

Shaka Player documentation covers DRM configuration here.

The following Shaka Player configurations for MPEG‑DASH streams include DRM license server URLs provided with the Dolby Vision Browser Test Kit.

For MPEG‑DASH streams with Widevine and PlayReady for DRM use the following configuration for Shaka Player.

   player.configure(
     {
         drm: {
             servers: {
                 'com.widevine.alpha': 'https://widevine-dash.ezdrm.com/proxy?pX=E8A6EE',
                 'com.microsoft.playready': 'https://playready.ezdrm.com/cency/preauth.aspx?pX=DCB4DB'
             }
         }
     }
  );

For HLS streams with FairPlay for DRM use the following configuration for Shaka Player.

  player.configure(
     {
        drm: {
           servers: {  
              ‘com.apple.fps.1_0': 'Insert FairPlay License Server' 
            }  
        }
     }
  ); 

Testing files without DRM

About this task

Choose a browser with an embedded video player to play MP4 test files.

Testing MP4 files without DRM involves:

Procedure

  • Accessing MP4 file URLs.
  • Playing MP4 files on a webpage with an embedded video player.

Procedure

  1. Access MP4 file URLs.

    Test signals has tables with URLs of MP4 files.

    The directory path of a MP4 file URL indicates only MP4, and the file name indicates the format. For example, for a test file with UHD at 24 fps, the MP4 file URL is:

    https://ott.dolby.com/browser_test_kit/source_mp4s/UHD_DoVi_24fps_Profiles.zip
  2. Create a web page with an embedded video player.
  3. Configure your embedded video player to play the test file.