Capitalization

This commit is contained in:
mrjvs
2023-12-29 17:51:21 +01:00
parent cd7368d980
commit cb0145d58f
3 changed files with 6 additions and 6 deletions

View File

@@ -75,10 +75,10 @@ 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"
id: string; // only unique per stream
url: string; // the url pointing to the subtitle file
type: CaptionType; // Language type, either "srt" or "vtt"
id: string; // 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
language: string; // language code of the caption
language: string; // Language code of the caption
};
```