blob: 3877882b6ef57fb849a8b026c1d3e493ff2d27e2 [file] [log] [blame]
/** A player config defines how to switch between videos. */
export enum SwitchMode {
// Play adaptive videos under the same playback session using one media
// source. Play under different playback sessions if adaptive playback is not
// possible.
NORMAL = 'normal',
// Play adaptive videos under different playback sessions.
RELOAD = 'reload',
// Use a new video element when switching to the next media file.
RECREATE_ELEMENT = 'recreate-element',
}
export enum PlayMode {
PROGRESSIVE = 'progressive',
ADAPTIVE = 'adaptive',
}