Constructor
new SegmentInitSource(metadata, opt_dataopt)
Creates a SegmentInitSource.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
metadata |
shaka.util.FailoverUri | ||
opt_data |
ArrayBuffer |
<optional> |
- Source:
Members
-
(private) data_ :ArrayBuffer
-
Type:
- ArrayBuffer
- Source:
-
(private) metadata_ :shaka.util.FailoverUri
-
Type:
- Source:
Methods
-
create() → (non-null) {Promise.<ArrayBuffer>}
-
Creates the initialization data.
- Source:
Returns:
- Type
- Promise.<ArrayBuffer>
-
destroy()
-
Destroys this SegmentInitSource.
- Source: