File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
export type SourceBufferName = 'video' | 'audio' | 'audiovideo' ;
2
2
3
- export type ExtendedSourceBuffer = SourceBuffer & { // eslint-disable-line no-restricted-globals
4
- ended ?: boolean
3
+ // eslint-disable-next-line no-restricted-globals
4
+ export type ExtendedSourceBuffer = SourceBuffer & {
5
+ ended ?: boolean ;
5
6
} ;
6
7
7
8
export type SourceBuffers = Partial < Record < SourceBufferName , ExtendedSourceBuffer > > ;
@@ -13,12 +14,12 @@ export interface BufferOperationQueues {
13
14
}
14
15
15
16
export interface BufferOperation {
16
- execute : Function
17
- onStart : Function
18
- onComplete : Function
19
- onError : Function
20
- start ?: number
21
- end ?: number
17
+ execute : Function ;
18
+ onStart : Function ;
19
+ onComplete : Function ;
20
+ onError : Function ;
21
+ start ?: number ;
22
+ end ?: number ;
22
23
}
23
24
24
25
export interface SourceBufferListeners {
@@ -28,6 +29,6 @@ export interface SourceBufferListeners {
28
29
}
29
30
30
31
export interface SourceBufferListener {
31
- event : string ,
32
- listener : EventListener
32
+ event : string ;
33
+ listener : EventListener ;
33
34
}
You can’t perform that action at this time.
0 commit comments