Home > hls.js > BaseSegment

BaseSegment class

Signature:

export declare class BaseSegment 

Constructors

Constructor

Modifiers

Description

(constructor)(base)

Constructs a new instance of the BaseSegment class

Properties

Property

Modifiers

Type

Description

base

readonly

Base

baseurl

readonly

string

byteRange

readonly

[number, number] | []

byteRangeEndOffset

readonly

number | undefined

byteRangeStartOffset

readonly

number | undefined

elementaryStreams

ElementaryStreams

hasStats

readonly

boolean

hasStreams

readonly

boolean

relurl?

string

(Optional)

stats

LoadStats

url

string

Methods

Method

Modifiers

Description

clearElementaryStreamInfo()

setByteRange(value, previous)