-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathChangelog
39 lines (34 loc) · 2.08 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version 0.6.0:
feat:
- AVStream 的 metadata key 使用枚举,方便外层调用
- 重构 Decoder 和 Encoder 的 open 错误处理方式,将抛出错误改为返回错误码,与 decode 和 encode 方法保持一致
- AVPlayerLoadOptions 新增 isLive 配置可以覆盖 AVPlayerOptions 中的配置
- 添加对 AVFrame SideData 的处理
- 播放器自动检查音视频空帧并跳过
- 优化 mse 播放
bugfix:
- mpegts 修复一些错误码返回不正确
- flv 的 extradata 时间戳使用当前 packet 的时间戳而不是 0
- mse 的一些边界条件判断修正
version 0.5.0:
feat:
- 支持 wasm64
- 对于 rtsp 和 matroska 等没有 dts 信息的封装格式使用 pts 来生成 dts 数据
- 分析流的帧率时自动调整到标准帧率
- maxAnalyzeDuration 默认值调整到 15 秒
- 优化 mux 对 stream 的 AVPacket 的请求处理,维持一个队列提高吞吐量
- VideoEncodePipeline 中 webcodecs 编码器优先使用 VideoFrame 提高编码效率
- 所有 pipeline 中使用性能更好的 avRescaleQ2 来做时间基转换
- 调整 VideoFrame 和 AudioData 使用 web 标准的微秒时间基
- 添加 getWasmUrl 方法作为内部获取 wasm url 的默认方法,getWasm 配置可选
- VideoDecodePipeline 兼容封装格式里面不能获取关键帧信息的情况,自己根据码流判断 h264、h265、h266 是否是关键帧
bugfix:
- mp4 轨道时长计算不正确的问题
- matroska 当非音视频有 duration 或者 additional 时使用 blockGroup 来封装数据
- 分析流信息时到达 maxAnalyzeDuration 时长没有得到所有流信息继续分析直到得到所有流信息或者超过 15 秒
- 修复 VideoEncodePipeline 中硬编无法回退到软编
- WebVideoDecoder annexb 码流支持 sps 和视频 nalu 分离的情况
- 修复音频渲染 loop 播放出现 frontBuffer 和 backBuffer 被释放的情况导致崩溃
- aac format 使用 adts 头里面的 samplerate 计算 dts,避免计算错误
- 一些构建系统的错误修复
- avplayer mse 在倍速条件下 loop 播放卡主的问题