您的位置:首页 > 其它

RTMP流媒体直播资料

2015-07-19 20:33 337 查看
RTMP 简介: http://blog.chinaunix.net/uid-26000296-id-3360244.html
RTMP Message Formats (RTMP消息格式): http://blog.chinaunix.net/uid-26000296-id-3364963.html
RTMP Commands Messages (RTMP命令消息): http://blog.chinaunix.net/uid-26000296-id-3365019.html
Real Time Messaging Protocol Chunk Stream(RTMP数据块流):http://blog.chinaunix.net/uid-26000296-id-3371931.html

rtmpdump移植到 Windows VS2008 下的移植日志:http://blog.chinaunix.net/uid-26000296-id-3385904.html

RTMP流媒体播放过程: http://blog.chinaunix.net/uid-26000296-id-4096369.html
RTMP服务器的延迟,多级边缘不影响延迟,gop为最大因素 :http://blog.chinaunix.net/uid-26000296-id-4932826.html

RTMP直播应用与延时分析****: http://blog.chinaunix.net/uid-26000296-id-4932817.html


使用librtmp发送直播流(FLV源):http://blog.163.com/zhujiatc@126/blog/static/183463820132135378895/

将h264数据进行flv封装:http://www.zhujiatc.esy.es/crtmpserver/x264/x264FLV.htm

RTMP协议发送H.264编码及AAC编码的音视频:http://www.cnblogs.com/haibindev/archive/2011/12/29/2305712.html

实现输出h264直播流的rtmp服务器:http://www.cnblogs.com/haibindev/archive/2012/04/16/2450989.html

HTTP Live Streaming直播(iOS直播)技术分析与实现:http://www.cnblogs.com/haibindev/archive/2013/01/30/2880764.html

采集音频和摄像头视频并实时H264编码及AAC编码:http://www.cnblogs.com/haibindev/archive/2011/11/10/2244442.html

C++实现RTMP协议发送H.264编码及AAC编码的音视频:http://www.cnblogs.com/haibindev/archive/2011/12/29/2305712.html

使用安全令牌保护 RTMP 流:http://blog.csdn.net/defonds/article/details/18620913

crtmpserver笔记之文档结构: http://blog.chinaunix.net/uid-26000296-id-3776089.html
crtmpserver配置文件详解: http://blog.chinaunix.net/uid-26000296-id-3802219.html
搭建基于crtmpserver的直播解决方案: http://blog.chinaunix.net/uid-26000296-id-3811712.html
搭建基于crtmpserver的点播解决方案: http://blog.chinaunix.net/uid-26000296-id-3811807.html
crtmpserver实现防盗流和流推送验证: http://blog.chinaunix.net/uid-26000296-id-3833397.html
crtmpserver实现防盗流和流推送验证 之二: http://blog.chinaunix.net/uid-26000296-id-3833403.html
crtmpserver组网方案:http://blog.chinaunix.net/uid-26000296-id-3828529.html

crtmpserver的架构简介:http://blog.chinaunix.net/uid-26000296-id-3819541.html

crtmpserver框架代码详解:http://blog.chinaunix.net/uid-26000296-id-4093790.html

crtmpserver的部署方案****: http://blog.chinaunix.net/uid-26000296-id-4133334.html
可gdb版本的crtmpserver生成:http://blog.chinaunix.net/uid-26000296-id-4158573.html

crtmpserver开启RTSP功能:http://blog.chinaunix.net/uid-26000296-id-4592674.html

crtmpserver在Linux下编译:http://www.zhujiatc.esy.es/crtmpserver/crtmpserver/crtmpserverbuildUnix.htm

flvmux + librtmp + crtmp server + flowplayer联调: RTMP时间戳问题

http://blog.sina.com.cn/s/blog_4c7828a40100s6l9.html





crtmpserver分析与组网:http://blog.chinaunix.net/uid-26000296-id-4273860.html

crtmpserver是一款不错的开源流媒体服务器(支持rtmp),用c++语言编写,跨平台。支持iPhone,Android。

crtmpserver从生产环境使用的情况来看,每天都在用,从几十M到上百M的流量不等,运行几个月无宕机,

CPU, 内存各方面性能指标稳定,还是比较满意的。

crtmpserver还支持简单的树状网络负载集群,只需要把配置文件中配置主从关系,

推到主上的媒体流自然从上面也有,Viewer可以分散开从从服务器上拉媒体流。

流媒体技术服务器常用部署方式(crtmpserver集群): http://blog.csdn.net/zongcai249/article/details/9342251
流服务器常使用crtmpserver作为原型,为主播提供推流服务,为用户提供拉流服务。流服务分为源管理节点(SM),源节点(SP)以及边缘节点(EP)。三种类型的节点为层级关系。

一般主播通过dns获取源节点的ip,向源服务器推流。源服务器收到主播流之后,向源管理上报该主播的流信息(每个主播有唯一的id号)。用户从边缘节点拉流,边缘节点向所设定的唯一上级源服务器拉取某个流编号的数据。源节点通过与源管理节点通信之后,确定该流id的来源,源节点取得主播推流的源服务器ip后,直接与该源节点通信,拉取流。

主要监控: 观众流接收数和流失败率是需要监控的两个指标

常见问题排查

1、主播播放不了

a、首先查看主播是dns到哪个源上,可以直接用(nslookup 流地址)或者 (ping 流地址)查看,如果解析错误,则反馈…

b、判断主播是否能够正常连接上源节点。(telnet 流地址:端口)与 (telnet 流地址:端口)尝试,如果不行,则检查是否是否被本机软件禁用

c、看是否360禁用掉端口,是则打开。

2、主播播放卡

a、主播网速测试,上传带宽必须到达40kB至少才能保持通畅。

b、tracert -d 流地址 看路由。

c、ping 流地址 看耗时

d、如果有mtr工具,则看是哪一跳丢包。

3、观众播放卡

原因同上。

4、进程异常,请在ps aux | grep crtmpserver 之后,直接restart进程,避免长时间不服务。

5、新节点启用之前请测试,必须加到token服务器的ip列表中才可以。

支持RTMP的基于Flash的播放器除了可以自己开发之外,还有现成的,比如说jwplayer,flowplayer等等。

JW Player 5.7 去水印版:http://blog.chinaunix.net/uid-26000296-id-4333973.html

使用JWplayer出现Video not found or access denied的问题:http://blog.chinaunix.net/uid-26000296-id-4334174.html

斗鱼TV游戏直播教程-OBS直播软件篇[推荐]:http://www.douyutv.com/cms/zhibo/201311/13/250.shtml

OBS特殊使用技巧教程: http://www.douyutv.com/cms/zhibo/201506/05/1006.shtml

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: