fix: add missing audioOutput prop (#3450)

This commit is contained in:
Krzysztof Moch 2023-12-28 14:19:05 +01:00 committed by GitHub
parent f35727f30e
commit f20d68b814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,12 +170,15 @@ export enum PosterResizeModeType {
STRETCH = 'stretch',
}
export type AudioOutput = 'speaker' | 'earpiece';
export interface ReactVideoProps extends ReactVideoEvents, AccessibilityProps {
source?: ReactVideoSource;
drm?: Drm;
style?: StyleProp<ViewStyle>;
adTagUrl?: string;
audioOnly?: boolean;
audioOutput?: AudioOutput; // Mobile
automaticallyWaitsToMinimizeStalling?: boolean; // iOS
backBufferDurationMs?: number; // Android
bufferConfig?: BufferConfig; // Android