mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
refactor(mediabunny): [PKG-MB-05] own video iterators, frame pools and rendering
This commit is contained in:
1 parent
5d0b128483
commit
9d037dcbf9
27 files changed
+3652
-595
No files matched your search
@@ -18,6 +18,7 @@ export interface AudioPort {
|
||||
}
|
||||
|
||||
export interface VideoPort {
|
||||
cancelPending: () => void
|
||||
width: number
|
||||
height: number
|
||||
duration: number
|
||||
@@ -32,6 +33,7 @@ export interface VideoPort {
|
||||
}
|
||||
|
||||
export interface VideoOptions {
|
||||
onError?: (error: unknown) => void
|
||||
canvas: HTMLCanvasElement
|
||||
ctx: CanvasRenderingContext2D | null
|
||||
events: EventTarget
|
||||
|
||||
Reference in new issue
Block a user