第六步:RTCP控制协议。在传输过程中通知rtsp server。端口是rtp端口1
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
--------------------------------
header |V=2|P| RC | PT=SR=200 | length |
--------------------------------
| SSRC of sender |
================================
sender | NTP timestamp, most significant word |
info --------------------------------
| NTP timestamp, least significant word |
--------------------------------
| RTP timestamp |
--------------------------------
| sender's packet count |
--------------------------------
| sender's octet count |
================================
report | SSRC_1 (SSRC of first source) |
block --------------------------------
1 | fraction lost | cumulative number of packets lost |
--------------------------------
| extended highest sequence number received |
--------------------------------
| interarrival jitter |
--------------------------------
| last SR (LSR) |
--------------------------------
| delay since last SR (DLSR) |
================================
report | SSRC_2 (SSRC of second source) |
block --------------------------------
2 : ... :
================================
| profile-specific extensions |
--------------------------------
RTCP和RTP的机制类FTP的命令端口20和数据端口21的关系。一个走数据一个走控制。
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-47686-5.html
我不犯人