(codecId: AVCodecID, width: number, height: number)
| 32 | |
| 33 | const configSupportCache = new Map<string, boolean>(); |
| 34 | const configToCacheKey = (codecId: AVCodecID, width: number, height: number): string => { |
| 35 | return `${codecId}:${width}:${height}`; |
| 36 | }; |
| 37 | |
| 38 | /** |
| 39 | * Decodes video frames from encoded chunks. |