fix(vlc): add audio transcoding mode to fix 7.1 TrueHD playback

This commit is contained in:
Fredrik Burmester
2026-01-08 20:38:35 +01:00
parent 0a0da687d5
commit 51ecde1565
7 changed files with 253 additions and 15 deletions

View File

@@ -4,4 +4,17 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
export function generateDeviceProfile(): any;
export type PlatformType = "ios" | "android";
export type PlayerType = "vlc" | "ksplayer";
export type AudioTranscodeModeType = "auto" | "stereo" | "5.1" | "passthrough";
export interface ProfileOptions {
/** Target platform */
platform?: PlatformType;
/** Video player being used */
player?: PlayerType;
/** Audio transcoding mode */
audioMode?: AudioTranscodeModeType;
}
export function generateDeviceProfile(options?: ProfileOptions): any;