To implement these options, just pass them in the builder.
Please refer to our documentation on your appropriate player for more details.
Available options
OPTION NAME | TYPE | DEFAULT |
---|---|---|
property | String | "default" |
contentId | String | default Streamroot generator |
Example
do {
dnaClient = try DNAClient.builder()
.dnaClientDelegate(self)
.latency(30)
.streamrootKey(<#yourStreamrootKey#>)
.property("Live")
.contentId("live_hls")
.start(manifestUrl)
} catch let error {
print("\(error)")
}