UNPKG

amazon-ivs-react-native-player

Version:
41 lines (40 loc) 952 B
export declare type Quality = { name: string; codecs: string; bitrate: number; framerate: number; width: number; height: number; }; export declare type PlayerData = { qualities: Quality[]; version: string; sessionId: string; }; export declare type VideoData = { bitrate: number; duration: number | null; framesDecoded: number | null; framesDropped: number | null; }; export declare type TextCue = { type: string; line: number; size: number; position: number; text: string; textAlignment: string; }; export declare type TextMetadataCue = { type: string; text: string; textDescription: string; }; export declare type IVSPlayerRef = { play: () => void; pause: () => void; seekTo: (position: number) => void; setOrigin: (origin: string) => void; togglePip: () => void; }; export declare type ResizeMode = 'aspectFill' | 'aspectFit' | 'aspectZoom';