To implement these options, just put them in the dnaConfig object you pass in the player configuration. Please refer to our documentation on your appropriate player for more details.
Available options
OPTION NAME | TYPE | DEFAULT |
---|---|---|
property | String || Function | "default" |
contentIdGenerator | Function | default Streamroot generator |
id | String | generated by Streamroot module |
* loadAfterPlaybackStarted | Boolean | False |
* fragmentsFetchedBeforeLoad | Number | N/A |
* secondsPrebufferedBeforeLoad | Number | N/A |
siteId | String | N/A |
privateIPAddress | String | detected by Streamroot module |
*: options are mutually exclusive.
Example
dnaConfig: {
"property": "Live",
"fragmentsFetchedBeforeLoad": 3,
}