跳转到内容

ProxyEncoder

此内容尚不支持你的语言。

ProxyEncoder = (input) => Promise<ProxyEncodeResult>

Defined in: packages/sdk/src/proxy-automation.ts:29

Contract for a proxy encoder. The SDK ships no encoder; a browser host supplies one (e.g. decoding the first frame to an OffscreenCanvas and encoding a downscaled WebP/JPEG) so the automatic-proxy flow stays testable in Node. Encoding must honor signal and maxDimension.

ProxyEncodeInput

Promise<ProxyEncodeResult>