Home Reference Source
import BufferOperationQueue from 'hls.js/src/controller/buffer-operation-queue.ts'
public class | source

BufferOperationQueue

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

buffers: *

public

queues: BufferOperationQueues

Method Summary

Public Methods
public

append(operation: BufferOperation, type: SourceBufferName)

public

appendBlocker(type: SourceBufferName): Promise

public

current(type: SourceBufferName): *

public

executeNext(type: SourceBufferName, ignoreUpdating: boolean)

public

insertAbort(operation: BufferOperation, type: SourceBufferName)

public

shiftAndExecuteNext(type: SourceBufferName)

Public Constructors

public constructor() source

Public Members

public buffers: * source

public queues: BufferOperationQueues source

Public Methods

public append(operation: BufferOperation, type: SourceBufferName) source

Params:

NameTypeAttributeDescription
operation BufferOperation
type SourceBufferName

public appendBlocker(type: SourceBufferName): Promise source

Params:

NameTypeAttributeDescription
type SourceBufferName

Return:

Promise

public current(type: SourceBufferName): * source

Params:

NameTypeAttributeDescription
type SourceBufferName

Return:

*

public executeNext(type: SourceBufferName, ignoreUpdating: boolean) source

Params:

NameTypeAttributeDescription
type SourceBufferName
ignoreUpdating boolean

public insertAbort(operation: BufferOperation, type: SourceBufferName) source

Params:

NameTypeAttributeDescription
operation BufferOperation
type SourceBufferName

public shiftAndExecuteNext(type: SourceBufferName) source

Params:

NameTypeAttributeDescription
type SourceBufferName