MediaCodec编码知识点:如果通过MediaCodec创建InputSurface来当作输入,必须在MediaCodec调用config之后,start方法之前才可以创建,且MediaFormat中color format必须设置为COLOR_FormatSurface
评论