3.1.5.3 Start

The extender device receives this event to start streaming media samples. The extender device does the following:

  1. If the extender device is in Pause state and the start time is 0xFFFFFFFFFFFFFFFF, it will resume from pause.

  2. Ask the media server to start playback. If Real-Time Streaming Protocol (RTSP) streaming is used, the extender device sends an RTSP:PLAY command.

  3. Check that the media server supports the requested playRate, and update the Granted Rate accordingly.

  4. If the Use Optimized preroll variable is enabled, do fast prerolling (prerolling data with a predefined threshold); otherwise do normal prerolling (preroll the data up to the level defined in the file).

  5. If this event is for seek and the difference between audio's presentation time and video's presentation time is greater than the threshhold for first sample, the extender device sends UNRECOVERABLE_SKEW.

  6. Check the DRM license, if the media is protected content. If the extender device failed to get a DRM license, send event DRM_LICENSE_ERROR with a DRM error code.

If the extender device successfully starts the media session, it returns S_OK; otherwise, it returns an error code.