Skip to content

Commit

Permalink
fix: add missing audioOutput prop (#3450)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Dec 28, 2023
1 parent f35727f commit f20d68b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f20d68b

Please sign in to comment.