Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RTCP (rtcp)

下位レイヤからの到達

下位レイヤ判別フィールド値
udpdst_port / src_port5005 (0x138d)
rtcppacket_type0 (0x00) – 255 (0xff) (残り 4 オクテット以上)
rtcp_srversion2 (残り 4 オクテット以上)
rtcp_rrversion2 (残り 4 オクテット以上)
rtcp_sdesversion2 (残り 4 オクテット以上)
rtcp_byeversion2 (残り 4 オクテット以上)
rtcp_appversion2 (残り 4 オクテット以上)

フィールド

フィールド型既定値Auto説明
versionuint(2)2RTCP バージョン(2)。
paddinguint(1)0P ビット: パケット末尾の詰め物(手動)。
countuint(5)0型付けしていないパケットタイプのカウント / フォーマット(5 ビット)。
packet_typeenum(8)205 (rtpfb)パケットタイプ(200 SR、201 RR、202 SDES、203 BYE、204 APP、205 RTPFB、206 PSFB、207 XR)。
lengthuint(16)ヘッダの長さ (32 ビットワード単位) (-1)32 ビットワード単位のパケット長から 1 を引いた値(Auto)。
bodybytes — グループ先頭から length * 4 + 4 オクテットまで12 34 56 78 00 00 00 00共通ヘッダ以降のパケット本体(オクテット列)。

packet_type

値名前
200 (0xc8)sr
201 (0xc9)rr
202 (0xca)sdes
203 (0xcb)bye
204 (0xcc)app
205 (0xcd)rtpfb
206 (0xce)psfb
207 (0xcf)xr

次レイヤ

次レイヤは packet_type で判別します。このフィールドが Auto のときは、上に積んだプロトコルの値を書き込みます。

値プロトコル備考
200 (0xc8)rtcp_srこのレイヤを読み直す
201 (0xc9)rtcp_rrこのレイヤを読み直す
202 (0xca)rtcp_sdesこのレイヤを読み直す
203 (0xcb)rtcp_byeこのレイヤを読み直す
204 (0xcc)rtcp_appこのレイヤを読み直す
0 (0x00) – 255 (0xff)rtcp残り 4 オクテット以上
0 (0x00) – 255 (0xff)rtcp_sr残り 4 オクテット以上
0 (0x00) – 255 (0xff)rtcp_rr残り 4 オクテット以上
0 (0x00) – 255 (0xff)rtcp_sdes残り 4 オクテット以上
0 (0x00) – 255 (0xff)rtcp_bye残り 4 オクテット以上
0 (0x00) – 255 (0xff)rtcp_app残り 4 オクテット以上

制約

レベル規則
警告version が 2

サンプルテンプレート