VideoEncoder的视频编码接口。
1
encode(inputImage: Image, frameId: int)
参数名
类型
说明
inputImage
Image类
输入编码前的Image类。
frameId
int
输入视频帧索引。
编码失败,抛出runtime异常。