librtmp使用扩展时间戳时服务器会将连接断开解释

librtmp使用扩展时间戳时服务器会将连接断开解释

ID:33376510

大小:832.50 KB

页数:14页

时间:2019-02-25

librtmp使用扩展时间戳时服务器会将连接断开解释_第1页
librtmp使用扩展时间戳时服务器会将连接断开解释_第2页
librtmp使用扩展时间戳时服务器会将连接断开解释_第3页
librtmp使用扩展时间戳时服务器会将连接断开解释_第4页
librtmp使用扩展时间戳时服务器会将连接断开解释_第5页
资源描述:

《librtmp使用扩展时间戳时服务器会将连接断开解释》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、rtmpdump的librtmp时间戳有问题,服务器会断开连接分类:ffmpegc++linuxopen-source2013-10-2821:49700人阅读评论(7)收藏举报#header0x440xff0xff0xff0x000x010x190x08#extendedtimestamp0x7f0xff0xf80x00#body0xaf0x010x010x400x220x800xa30x7f0xf80x850x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0

2、x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0

3、x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d#header0xc4#extendedtimestamp#errorhere#body0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0

4、x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0

5、x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d0x2d对于0xC这种后续的chunk包的extendedtimestamp该不该发,rtmp协议中说是不发,但是FMLE是发的,推流超过4.5小时就需要用extendedtimestamp了。rtmpdump里面的librtmp,不会发这个包,(ffmpeg里面用--enable-librtmp就会使用这个rtmp的库),而且

6、是在开始就会发这个包。6.1.3.ExtendedTimestamp[plain]viewplaincopyprint?1Thisfieldistransmittedonlywhenthenormaltimestampinthe2chunkmessageheaderissetto0x00ffffff.Ifnormaltimestampis3settoanyvaluelessthan0x00ffffff,thisfieldMUSTNOTbe4present.ThisfieldMUSTNOTbepresenti

7、fthetimestampfieldisnot5present.Type3chunksMUSTNOThavethisfield.Thisfieldistransmittedonlywhenthenormaltimestampinthechunkmessageheaderissetto0x00ffffff.Ifnormaltimestampissettoanyvaluelessthan0x00ffffff,thisfieldMUS

8、TNOTbepresent.ThisfieldMUSTNOTbepresentifthetimestampfieldisnotpresent.Type3chunksMUSTNOThavethisfield.有可能是adobe变更了这个协议,也就是说,FMLE给FMS,FMS给flash-player,都是带这个时间戳的。收包时,服务器端则需要检测下,若接下来的4字节不是extendedtimestamp,那么就忽

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。