Constructor
new Dil(media, canvas, dilConfig)
lcevcDil - (MPEG-5 Part 2 LCEVC - Decoder Integration Layer) provides all the operations related to the enhancement and rendering of LCEVC enabled streams and on to a canvas.
Parameters:
Name | Type | Description |
---|---|---|
media |
HTMLVideoElement | The video element that will be attached to LCEVC Dil for input. |
canvas |
HTMLCanvasElement | The canvas element that will be attached to LCEVC Dil to render the enhanced frames. |
dilConfig |
shaka.extern.LcevcConfiguration | The LCEVC DIL config object to initialize the LCEVC DIL. |
- Implements:
- Source:
Members
Methods
appendBuffer(data)
Append data to the LCEVC Dil.
Parameters:
Name | Type | Description |
---|---|---|
data |
BufferSource |
- Source:
hideCanvas()
Hide the canvas specifically in the case of a DRM Content
- Source:
isSupported_() → {boolean}
Check if the LCEVC Dil lib is present and is supported by the browser.
- Source:
Returns:
- Type
- boolean
release()
Close LCEVC Dil.
- Implements:
- Source:
updateVariant(track)
Update current active variant
Parameters:
Name | Type | Description |
---|---|---|
track |
shaka.extern.Track |
- Source: