Skip to content

Commit

Permalink
feat: add playerConfig typings (#972)
Browse files Browse the repository at this point in the history
* add playerConfig types

* accidentally put playerConfig in the wrong block
  • Loading branch information
MatteZ02 committed Jul 20, 2021
1 parent 977e973 commit 273cf1a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions typings/index.d.ts
Expand Up @@ -378,6 +378,16 @@ declare module 'ytdl-core' {
playerMicroformatRenderer: MicroformatRenderer;
};
videoDetails: VideoDetails;
playerConfig: {
audioConfig: {
loudnessDb: number;
perceptualLoudnessDb: number;
enablePerFormatLoudness: boolean;
};
streamSelectionConfig: { maxBitrate: string };
mediaCommonConfig: { dynamicReadaheadConfig: {}[] };
webPlayerConfig: { webPlayerActionsPorting: {}[] };
};
};
videoDetails: MoreVideoDetails;
}
Expand Down

0 comments on commit 273cf1a

Please sign in to comment.