Class: shaka.lcevc.Dil

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.

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

ContainerFormat :number

Container Formats.
Type:
  • number
Source:

canvas_ :HTMLCanvasElement

Type:
  • HTMLCanvasElement
Source:

dil_ :LcevcDil.LcevcDIL

Type:
  • LcevcDil.LcevcDIL
Source:

media_ :HTMLVideoElement

Type:
  • HTMLVideoElement
Source:

variantId_ :number

Type:
  • number
Source:

Methods

appendBuffer(data)

Append data to the LCEVC Dil.
Parameters:
Name Type Description
data BufferSource
Source:

create_()

Create LCEVC Dil.
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: