@twilio/player
Advanced tools
Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15
@@ -99,4 +99,6 @@ /// <reference types="react" /> | ||
interface PlayerEvents { | ||
audioprocess: []; | ||
error: [Error]; | ||
"hot-load": []; | ||
interaction: []; | ||
ready: []; | ||
@@ -117,6 +119,7 @@ seek: [number]; | ||
wsParams: PlayerParams; | ||
private currentSegmentDuration?; | ||
private currentSegmentOffset?; | ||
private segmentDuration?; | ||
private segmentOffset?; | ||
constructor(container: HTMLDivElement, opt?: PlayerOptions); | ||
private initWS; | ||
private wsHandleAudioProcess; | ||
private wsHandleError; | ||
@@ -137,6 +140,7 @@ private wsHandleReady; | ||
seekToSecond: (seconds: number) => boolean; | ||
setCurrentSegment: (duration?: number | undefined, offset?: number | undefined) => void; | ||
getSegmentDuration: () => number | undefined; | ||
getSegmentOffset: () => number | undefined; | ||
setSegment: (duration?: number | undefined, offset?: number | undefined) => void; | ||
setPlaybackRate: (rate?: PlaybackRate) => void; | ||
toggleSplitChannels: () => void; | ||
zoomSegment(segment?: Segment): void; | ||
} | ||
@@ -176,3 +180,2 @@ interface PlayerProps { | ||
toggleSplitChannels: () => void | undefined; | ||
zoomSegment: (segmentIdOrSegment?: string | Segment | undefined) => void; | ||
componentDidMount(): void; | ||
@@ -179,0 +182,0 @@ componentDidUpdate(prevProps: PlayerProps): void; |
{ | ||
"name": "@twilio/player", | ||
"version": "1.0.0-alpha.14", | ||
"version": "1.0.0-alpha.15", | ||
"author": "Twilio", | ||
@@ -5,0 +5,0 @@ "license": "Apache", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
936574
14546