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 SR (rtcp_sr)

下位レイヤからの到達

下位レイヤ判別フィールド値
rtcppacket_type200 (0xc8) (このレイヤを読み直す)
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 ビット: パケット末尾の詰め物(手動)。
report_countuint(5)report_blocks の要素数受信レポートの数(Auto)。
packet_typeenum(8)200 (sr)パケットタイプ(200 SR、201 RR、202 SDES、203 BYE、204 APP、205 RTPFB、206 PSFB、207 XR)。
lengthuint(16)ヘッダの長さ (32 ビットワード単位) (-1)32 ビットワード単位のパケット長から 1 を引いた値(Auto)。
ssrcuint(32)305419896このパケットの送信者の SSRC。
ntp_timestamp_mswuint(32)3942645760NTP タイムスタンプ(上位ワード。次のフィールドが小数部)。
ntp_timestamp_lswuint(32)0
rtp_timestampuint(32)0NTP タイムスタンプに対応する RTP タイムスタンプ。
packet_countuint(32)0送信者のパケット数。
octet_countuint(32)0送信者のペイロードオクテット数。
report_blockslist<struct> — report_count 個の要素[]受信レポートブロック: SSRC、損失率、累積損失数、拡張最大シーケンス番号、ジッタ、LSR、DLSR。
extensionbytes — グループ先頭から length * 4 + 4 オクテットまで""パケット長までのプロファイル固有の拡張オクテット。

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

report_blocks

各要素は以下のフィールドの組です。

フィールド型既定値Auto説明
ssrcuint(32)2271560481
fraction_lostuint(8)0
cumulative_lostuint(24)0
highest_sequenceuint(32)0
jitteruint(32)0
lsruint(32)0
dlsruint(32)0

次レイヤ

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

値プロトコル備考
2rtcp残り 4 オクテット以上
2rtcp_sr残り 4 オクテット以上
2rtcp_rr残り 4 オクテット以上
2rtcp_sdes残り 4 オクテット以上
2rtcp_bye残り 4 オクテット以上
2rtcp_app残り 4 オクテット以上

制約

レベル規則
警告version が 2

サンプルテンプレート

  • rtcp-sr-sdes — templates/protocols/voip/rtcp-sr-sdes.wpg.yaml