This commit is contained in:
mrjvs
2023-12-29 17:47:49 +01:00
parent a1e172125c
commit cd7368d980
10 changed files with 18 additions and 18 deletions

View File

@@ -75,7 +75,7 @@ If your target is set to `BROWSER`. There will never be required headers, as it'
All streams have a list of captions at `Stream.captions`. The structure looks like this:
```ts
type Caption = {
type: CaptionType; // language type, either 'srt' or 'vtt'
type: CaptionType; // language type, either "srt" or "vtt"
id: string; // only unique per stream
url: string; // the url pointing to the subtitle file
hasCorsRestrictions: boolean; // If true, you will need to proxy it if you're running in a browser