Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

AAMP DASH DRM License request :

draw.io Diagram
diagramNameuml.drawio
diagramWidth787
revision2


AAMP DASH Manifest Download Retry logic (without TSB) :

draw.io Diagram
diagramName

Gliffy Diagram
macroId5ae6a1e3-9ceb-4a0b-844f-dd7a0fb67588
displayNameAAMP_DASH_license_retrylogic_uml_Gliffy
nameuml
pagePin7

Gliffy Diagram
macroIdfcc0e893-2552-432b-87e3-843a49b6be42
nameAAMP DASH Manifest Download Retry logic.drawio
diagramWidthpagePin8011
revision2


AAMP Fragment Download Retry logic (without TSB) :

draw.io Diagram
diagramName
Gliffy Diagram
macroId31d14170-36e9-4a10-b462-704449b96b46
nameAAMP Fragment Download Retry logic (without TSB)-Gliffy.drawio
diagramWidthpagePin7381
revision2


AAMP HLS Main Manifest Download Retry logic (without TSB) :

draw.io Diagram
diagramName
Gliffy Diagram
macroIdb1f687d6-9b45-4c41-a826-0df4e114f592
nameAAMP HLS Main Manifest Download Retry logic (without TSB)-Gliffy.drawio
pagePindiagramWidth1755
Gliffy DiagrammacroId3a62b88d-fe61-4d80-93e9-2cda9b57f954displayName
revision2


AAMP-FOG_tune_request_retrylogic_uml :

draw.io Diagram
-Gliffy
diagramNamenameAAMP-FOG_tune_request_retrylogic_uml-Gliffy.drawio
diagramWidth876
revisionpagePin2


http 4xx (and 502 Bad Gateway) are considered fatal errors for a given download attempt. No retry of the same URL will be performed.  For other 5xx failures, single retry will be attempted after configurable delay (default 1s).

...

  • #define CURL_FRAGMENT_DL_TIMEOUT 10L  /**< Curl timeout for fragment download */
  • #define DEFAULT_PLAYLIST_DL_TIMEOUT 10L /**< Curl timeout for playlist download */
  • #define DEFAULT_CURL_TIMEOUT 5L     /**< Default timeout for other (i.e. license) Curl downloads */
  • #define DEFAULT_CURL_CONNECTTIMEOUT 3L /**< Curl socket connection timeout */


Show If
groupconfluence_rdk_user, rdk_license_onlywiki

FOG is a separate service involved with Client-Side IP Linear Time Shift Buffer (TSB) support, caching fragments and generating virtual playlists that grow and eventually cull.  As such, it shares many of the same responsibilities and behaviors as AAMP running in AAMP-only playback scenarios.  FOG configuration includes:

  • waitTimeBeforeRetryHttp5xxMS - 1s

  • downloadTimeoutMS - 5s

  • expirationTimeMS - 30s

  • minFragmentDownloadDelayMS - 10ms; behind ENABLE_ABR_TESTING for randomized simulated download latency 

  • maxFragmentDownloadDelayMS - 100ms; behind ENABLE_ABR_TESTING for randomized simulated download latency

  • tsbPreemptiveDownloadDelay - 5

  • vfsContextDumpDuration - 10000 - periodic virtual file system state logging

  • bitrateCheating - false

  • maxConcurrentDownloads - 1

  • sleepFraction - 1.5

  • manifestUpdate - 60s

  • defaultFetchTimeout - 60s

  • writeFailThreshold - 3 (write failure threshold before disabling TSB)

  • bitrateInit - initial bitrate while tuning normal content

  • bitrateInit4K - initial bitrate while tuning 4k content

  • fragmentFailThreshold - 5

  • cullLength - 1500 / 3600 (25 minutes or 1 hour)