rtmp协议整理
来源:互联网 发布:centos 编辑文件 编辑:程序博客网 时间:2024/06/05 15:30
一直感觉网上rtmp协议的说明材料很烦杂,所以按照自己的思路理一理。
先不管分块,只看消息:
消息类型主要有几种
1.Set Chunk Size(Message Type ID=1);
2.Abort Message(Message Type ID=2);
3.Acknowledgement(Message Type ID=3);
4.Window Acknowledgement Size(Message Type ID=5);
5.Set Peer Bandwidth(Message Type ID=6);
6.Command Message(命令消息,Message Type ID=17或20);
7.Shared Object Message(共享消息,Message Type ID=16或19);
8.Audio Message(音频信息,Message Type ID=8);
9.Video Message(视频信息,Message Type ID=9);
10.Aggregate Message (聚集信息,Message Type ID=22);
11.User Control Message Events(用户控制消息,Message Type ID=4);
其中重要的有音频(type = 8), 视频(type = 9), 命令消息(type=20), 命令消息又分为NetConnection Commands(连接层的命令)和NetStream Commands(流连接上的命令)
1.NetConnection Commands
(1)connect
(2)Call
(3)Create Stream
2.NetStream Commands
(1)onStatus
(2)play
(3)play2
(4)deleteStream
(5)receiveAudio
(6)receiveVideo
(7)publish
(8)seek
…
- rtmp协议整理
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- rtmp协议
- rtmp协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP协议
- RTMP 协议
- RTMP协议
- peerconnection_client demo总流程(三)
- NAT的4种类型
- p2p建立连接过程
- ffmpeg之rtmp分析(一)
- P2870 (poj 3617) [USACO07DEC]最佳牛线,黄金Best Cow Line, Gold 可爱的贪心
- rtmp协议整理
- [最短路 杂题] Codeforces 806D VK Cup 2017 Round 3 D. Perishable Roads
- [线段树 杂题] Codeforces 806E VK Cup 2017 Round 3 E. Blog Post Rating
- [杂题] Codeforces 799E Round #413 E. Aquarium decoration
- Qt简单知识点
- [随机 Hash] Codeforces 799F Round #413 F. Beautiful fountains rows
- 我的课程与服务
- OAUTH2.0
- 求联通块周长