关于ping(英文)
来源:互联网 发布:合作社软件 编辑:程序博客网 时间:2024/04/29 11:50
The type of Ping packet is 0x4 and contains two mandatory parameters and two optional parameters. The first parameter is the type of Ping and in short integer. The second parameter is the target of the ping. As Ping is always sent in Channel 2 (control channel) and the target object in RTMP header is always 0 which means the Connection object, it's necessary to put an extra parameter to indicate the exact target object the Ping is sent to. The second parameter takes this responsibility. The value has the same meaning as the target object field in RTMP header. (The second value could also be used as other purposes, like RTT Ping/Pong. It is used as the timestamp.) The third and fourth parameters are optional and could be looked upon as the parameter of the Ping packet. Below is an unexhausted list of Ping messages.
- type 0: Clear the stream. No third and fourth parameters. The second parameter could be 0. After the connection is established, a Ping 0,0 will be sent from server to client. The message will also be sent to client on the start of Play and in response of a Seek or Pause/Resume request. This Ping tells client to re-calibrate the clock with the timestamp of the next packet server sends.
- type 1: Tell the stream to clear the playing buffer.
- type 3: Buffer time of the client. The third parameter is the buffer time in millisecond.
- type 4: Reset a stream. Used together with type 0 in the case of VOD. Often sent before type 0.
- type 6: Ping the client from server. The second parameter is the current time.
- type 7: Pong reply from client. The second parameter is the time the server sent with his ping request.
- 关于ping(英文)
- ping命令英文全称
- 关于ping
- 关于TrackBack Ping
- 关于ping命令
- 关于ping程序
- 关于ping程序
- 关于Ping命令
- 关于ping的理解
- 关于高考的英文
- 关于英文换行
- 关于求婚的英文
- 英文作文关于梦想
- 关于Ping命令及ICMP
- 关于国外主机PING值
- 关于PING 的系统维护经验谈
- 关于linux的ping解决方案
- 关于国外主机PING值
- UNIX系统操作命令大全
- ASP.NET在VS2008与.NET FX 3.5中增强的功能
- WinCE开发的一般问题
- 删除表中重复记录
- 快,体现了真正的掌握 转帖
- 关于ping(英文)
- 给经常修理电脑的朋友16点忠告...转载
- flash 拼音发音标准小程序(未完善版本)
- C#编码标准--编码习惯
- C#路径/文件/目录/I/O常见操作汇总
- 习惯的力量:35岁以前养成好习惯 。。。转载
- C++函数参数传递和返回值
- 100句话让你记住7000个英语单词,这就是传说中的英语秘笈么?!
- alv - 事件详解