You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AAMP-UVE-API.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,11 +86,11 @@ Configuration options are passed to AAMP using the UVE initConfig method. This a
86
86
| cdvrLiveOffset | Number | 30 | Live offset time in seconds for cdvr, aamp starts live playback this much time before the live point for inprogress cdvr. |
87
87
| customHeader | String | - | Custom header data to be appended to curl request. |
88
88
| contentProtectionDataUpdateTimeout | Number | 5000ms | Timeout for Content Protection Data Update on Dynamic Key Rotation. Player waits for [setContentProtectionDataConfig]()#setcontentprotectiondataconfig_json-string) API update within the timeout interval .On timeout use last configured values. Also refer API [setContentProtectionDataUpdateTimeout](#setcontentprotectiondataupdatetimeout_timeout)|
| enableLowLatencyCorrection | Boolean |True|If disabled, latency may gradually drift from the live edge, especially under poor network conditions. |
93
+
| enableLowLatencyDash | Boolean | True |Enables Low Latency DASH playback mode, allowing media chunks to be injected earlier (even before full fragment download is complete), allowing player to start and stay closer to live edge. |
| latencyMonitorInterval | Number |6|Low Latency Monitor Interval. |
103
+
| latencyMonitorDelay | Number | 9 |Delay in seconds before starting latency monitoring after tune completion. |
104
+
| latencyMonitorInterval | Number |1|Time between latency checks in seconds. Changing the value will only affect monitoring and corrective actions (how frequently latency is sampled and rate corrections are attempted). |
105
105
| licenseAnonymousRequest | Boolean | False | Configuration to enable/disable acquiring of license without token. |
106
106
| licenseKeyAcquireWaitTime | Number | 5000 | License key acquire wait time in msecs. |
107
107
| licenseRetryWaitTime | Number | 500 | License retry wait interval in msecs. |
108
108
| licenseServerUrl | String | - | URL to be used for license requests for encrypted(PR/WV) assets. |
109
109
| linearTrickPlayFps | Number | 8 | Specify the framerate for Linear trickplay. |
110
+
| lowLatencyMinValue | Number | 3 | Minimum acceptable latency in seconds. Avoids getting too close to live edge, preventing buffering. If latency drops below this, playback slows down to increase delay and avoid buffer underrun. |
111
+
| lowLatencyTargetValue | Number | 6 | Target latency for playback in seconds. If reduced, playback will be closer to live edge, but with increased chance of buffering. |
112
+
| lowLatencyMaxValue | Number | 9 | Maximum acceptable latency in seconds. Ensures playback does not fall too far behind live stream. If latency exceeds this, playback speeds up to catch up with live edge. |
113
+
| lowLatencyMinBuffer | Float | 2 | It is used by low latency buffering logic to set the minimum buffer level(in seconds) the player should maintain. |
114
+
| lowLatencyTargetBuffer | Float | 4 | Target buffer size in seconds for low latency mode. Balances latency and stability by keeping a healthy buffer. |
110
115
| maxABRBufferRampup | Number | 15 | Maximum ABR Buffer for Rampup in secs. |
116
+
| maxLatencyCorrectionPlaybackRate | Float | 1.03 | Maximum playback speed for latency correction. When the player detects that it’s too far from the live edge (or fall behind target latency), it can speeds up playback slightly to catch up with the live edge without noticeable fast-forward effect. |
111
117
| minABRBufferRampdown | Number | 10 | Minimum ABR Buffer for Rampdown in secs. |
118
+
| minLatencyCorrectionPlaybackRate | Float | 0.97 | Minimum playback speed for latency correction. When the player detects that it’s too close to the live edge (or ahead of target latency), it can slow down playback slightly to increase latency without causing noticeable slow motion. |
119
+
| normalLatencyCorrectionPlaybackRate | Float | 1.0 | Normal playback speed when latency is within acceptable range. Maintains standard playback when no correction is needed. |
112
120
| playreadyOutputProtection | Boolean | False | Configuration to enable/disable HDCP output protection for DASH-PlayReady playback. |
| ceaFormat | Number | -1 | Preferred CEA option for CC. Default stream based. 0 - CEA 608, 1 - CEA 708 |
@@ -188,7 +196,7 @@ Configuration options are passed to AAMP using the UVE initConfig method. This a
188
196
| langCodePreference | Number | 0 | Set the preferred format for language codes in other events/APIs (version 2.6) NO_LANGCODE_PREFERENCE = 0, 3_CHAR_BIBLIOGRAPHIC_LANGCODE = 1, 3_CHAR_TERMINOLOGY_LANGCODE = 2, 2_CHAR_LANGCODE = 3 |
189
197
| preferredSubtitleLanguage | String | en | ISO-639 language code used with VTT OOB captions |
190
198
| nativeCCRendering | Boolean | False | Use native ClosedCaption support in AAMP (version 2.6) |
191
-
| enableLiveLatencyCorrection | Boolean | False | Optional field to enable live latency correction for non-Low Latency streams|
199
+
| enableLiveLatencyCorrection | Boolean | False | Optional field to enable correction of playback delay during regular live streaming ( non LLD). Keeps the video close to real-time by adjusting playback speed if it drifts behind.|
192
200
| liveOffsetDriftCorrectionInterval | Number | 1 | Optional field to set the allowed delta from live offset configured |
193
201
| sendLicenseResponseHeaders | Boolean | False | Optional field to enable headers in DRM metadata event after license request |
194
202
| enableCMCD | Boolean | True | Optional field to enable/disable CMCD Metrics reporting from player |
0 commit comments