RTCP (Real-time Transport Control Protocol 或 RTP Control Protocol)
- 用來做 QoS 回報 (RTCP)
- 作為獨立的協定溝通 clock 的頻率,也就是用來做 Adaptive clock recovery。
每筆 RTCP 資料開始有固定的部份,和 RTP 的類似。接下來的部份會有不同長度,但都必須在 32-bit boundary 結束。固定的部份有長度欄位,讓多個 RTCP 資料可以結合到一個封包傳送。
RTCP 封包類型:
- SR (Sender Report):傳送端回報傳送和接收統計。
- header
- 「傳送資訊」
- 0 個以上「接收統計」包括
- 關聯 SSRC
- 8-bit fraction lost:期間 (上次送 SR 或 RR 後) 封包遺失率 x256
- 24-bit cumulative number of packets lost:累計遺失封包數
- 32-bit extended highest sequence number received:包含 16-bit 最後收到序號和 16-bit 累進次數。
- interarrival jitter
- last SR (LSR):最後收到的 SR timestamp
- delay since last SR (DLSR)
- profile-specific extension
- RR (Receiver Report):只接收不傳送時回報「接收統計」and in combination with SR for active senders reporting on more than 31 sources。封包格式和 SR 一樣,只是沒有「傳送資訊」。
- SDES (Source DEScription items), including CNAME
- BYE:表示結束
- APP:特殊應用功能
參考
沒有留言:
張貼留言