mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-08-14 01:55:58 -07:00
feat(youtube): add mediaCache mode and safer stream media extraction (#130)
This commit is contained in:
@@ -122,8 +122,16 @@ export interface AiConfig {
|
||||
requestTimeoutMs?: number;
|
||||
}
|
||||
|
||||
export type YoutubeMediaCacheMode = 'direct' | 'background';
|
||||
|
||||
export interface YoutubeMediaCacheConfig {
|
||||
mode?: YoutubeMediaCacheMode;
|
||||
maxHeight?: number;
|
||||
}
|
||||
|
||||
export interface YoutubeConfig {
|
||||
primarySubLanguages?: string[];
|
||||
mediaCache?: YoutubeMediaCacheConfig;
|
||||
}
|
||||
|
||||
export interface YoutubeSubgenConfig {
|
||||
|
||||
Reference in New Issue
Block a user