mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-20 16:12:25 +00:00
Merge pull request #91 from movie-web/thumbnail-tracks
Add thumbnail track option to response
This commit is contained in:
commit
822b7a3965
1 changed files with 6 additions and 0 deletions
|
|
@ -8,10 +8,16 @@ export type StreamFile = {
|
|||
|
||||
export type Qualities = 'unknown' | '360' | '480' | '720' | '1080' | '4k';
|
||||
|
||||
type ThumbnailTrack = {
|
||||
type: 'vtt';
|
||||
url: string;
|
||||
};
|
||||
|
||||
type StreamCommon = {
|
||||
id: string; // only unique per output
|
||||
flags: Flags[];
|
||||
captions: Caption[];
|
||||
thumbnailTrack?: ThumbnailTrack;
|
||||
headers?: Record<string, string>; // these headers HAVE to be set to watch the stream
|
||||
preferredHeaders?: Record<string, string>; // these headers are optional, would improve the stream
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue