Skip to content

Class: FetchPublication ​

Constructors ​

Constructor ​

new FetchPublication(client, track, fetchRequest, start, end): FetchPublication

start and end are the FETCH's range resolved against the Largest Object, inclusive.

Parameters ​

client ​

MOQtailClient

track ​

Track

fetchRequest ​

Fetch

start ​

Location

end ​

Location

Returns ​

FetchPublication

Methods ​

cancel() ​

cancel(): void

Returns ​

void


publish() ​

publish(): Promise<void>

Returns ​

Promise<void>


resetDataStream() ​

resetDataStream(code): Promise<void>

Resets the data stream this fetch is being delivered on, which §10.9.1 requires when a REQUEST_UPDATE for a FETCH fails.

Parameters ​

code ​

StreamResetCode

Returns ​

Promise<void>