您的位置:首页 > 其它

srs之时间戳矫正算法(混合单增算法,mix_correct to ensure timestamp monotonically increase)

2016-06-30 17:28 253 查看
经常会遇到这种情况,中间断流后,前端编码器的时间戳重新计算,导致流媒体需要进行时间戳进行校正。

for #383,
refine code to support mix correct algorithm.

fix #383,
support mix_correct algorithm. 2.0.161.
https://github.com/ossrs/srs/commit/22ca46350b09fc92d54565aa487366d2d67db797 https://github.com/ossrs/srs/issues/414
timejitter是时间戳修正算法,可以在配置中改,不用改代码的。
mix_correct是混合单增算法,解决音频和视频混合单增的问题。
hls_on_error是hls错误时让编码器重连,属于错误处理。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: