mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-05 01:09:50 +00:00
Update .docs/content/2.essentials/4.using-streams.md
Co-authored-by: Jip Frijlink <jipfrijlink@gmail.com>
This commit is contained in:
parent
8589185c53
commit
9ad12286ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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; // file 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue