初始化
This commit is contained in:
6
vendor/h264-live-player/Canvas.ts
vendored
Normal file
6
vendor/h264-live-player/Canvas.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import Size from './utils/Size';
|
||||
|
||||
export default abstract class Canvas {
|
||||
protected constructor(readonly canvas: HTMLCanvasElement, readonly size: Size) {}
|
||||
public abstract decode(buffer: Uint8Array, width: number, height: number): void;
|
||||
}
|
||||
Reference in New Issue
Block a user