app/src/main/java/com/anyun/h264/H264EncodeService.java
@@ -313,9 +313,9 @@ // 设置编码参数(使用配置中的参数) int width = config != null ? config.width : DEFAULT_WIDTH; int height = config != null ? config.height : DEFAULT_HEIGHT; int framerate = config != null ? config.framerate : DEFAULT_FRAME_RATE; int width = DEFAULT_WIDTH; int height = DEFAULT_HEIGHT; int framerate = DEFAULT_FRAME_RATE; h264Encoder.setEncoderParams(width, height, framerate, DEFAULT_BITRATE); // 禁用文件输出