uvgrtp-base/docs/html/frame_8hh_source.html

385 lines
53 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uvgRTP: frame.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">uvgRTP<span id="projectnumber">&#160;3.1.1</span>
</div>
<div id="projectbrief">An open-source library for RTP/SRTP media delivery</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e3f96ff476f8286b6e150580a2f7bd74.html">uvgrtp</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">frame.hh</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &quot;<a class="code" href="util_8hh.html">util.hh</a>&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#ifdef _WIN32</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;winsock2.h&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;windows.h&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;ws2def.h&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;netinet/in.h&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">/* https://stackoverflow.com/questions/1537964/visual-c-equivalent-of-gccs-attribute-packed */</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#if defined(__MINGW32__) || defined(__MINGW64__) || defined(__GNUC__) || defined(__linux__)</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#define PACK(__Declaration__) __Declaration__ __attribute__((__packed__))</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#define PACK(__Declaration__) __pragma(pack(push, 1)) __Declaration__ __pragma(pack(pop))</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">namespace </span>uvgrtp {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span>frame {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">enum</span> RTCP_FRAME_TYPE {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> RTCP_FT_SR = 200, <span class="comment">/* Sender report */</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> RTCP_FT_RR = 201, <span class="comment">/* Receiver report */</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> RTCP_FT_SDES = 202, <span class="comment">/* Source description */</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> RTCP_FT_BYE = 203, <span class="comment">/* Goodbye */</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> RTCP_FT_APP = 204, <span class="comment">/* Application-specific message */</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> RTCP_FT_RTPFB = 205, <span class="comment">/* Transport layer FB message */</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> RTCP_FT_PSFB = 206 <span class="comment">/* Payload-specific FB message */</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> };</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">enum</span> RTCP_PSFB_FMT {</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> RTCP_PSFB_PLI = 1, <span class="comment">/* Picture Loss Indication (PLI), defined in RFC 4585 */</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> RTCP_PSFB_SLI = 2, <span class="comment">/* Slice Loss Indication (SLI), defined in RFC 4585 */</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> RTCP_PSFB_RPSI = 3, <span class="comment">/* Reference Picture Selection Indication (RPSI), defined in RFC 4585 */</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> RTCP_PSFB_FIR = 4, <span class="comment">/* Full Intra Request (FIR), defined in RFC 5154 */</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> RTCP_PSFB_TSTR = 5, <span class="comment">/* Temporal-Spatial Trade-off Request (TSTR), defined in RFC 5154 */</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> RTCP_PSFB_AFB = 15 <span class="comment">/* Application Layer FB (AFB), defined in RFC 4585 */</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> };</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">enum</span> RTCP_RTPFB_FMT {</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> RTCP_RTPFB_NACK = 1 <span class="comment">/* Generic NACK, defined in RFC 4585 section 6.2 */</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> };</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> PACK(<span class="keyword">struct</span> rtp_header {</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> uint8_t version:2;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> uint8_t padding:1;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> uint8_t ext:1;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> uint8_t cc:4;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> uint8_t marker:1;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> uint8_t payload:7;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> uint16_t seq = 0;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> uint32_t timestamp = 0;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> });</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> PACK(<span class="keyword">struct</span> ext_header {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> uint16_t type = 0;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> uint16_t len = 0;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> uint8_t *data = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> });</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="foldopen" id="foldopen00068" data-start="{" data-end="};">
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtp__frame.html"> 68</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtp__frame.html">rtp_frame</a> {</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">struct </span>rtp_header header;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> uint32_t *csrc = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">struct </span>ext_header *ext = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordtype">size_t</span> padding_len = 0; <span class="comment">/* non-zero if frame is padded */</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtp__frame.html#a2d158e0aaf23398a8a3b02c95d06e366"> 79</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtp__frame.html#a2d158e0aaf23398a8a3b02c95d06e366">payload_len</a> = 0; </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> uint8_t* payload = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> uint8_t *dgram = <span class="keyword">nullptr</span>; <span class="comment">/* pointer to the UDP datagram (for internal use only) */</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordtype">size_t</span> dgram_size = 0; <span class="comment">/* size of the UDP datagram */</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> };</div>
</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="foldopen" id="foldopen00089" data-start="{" data-end="};">
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html"> 89</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__header.html">rtcp_header</a> {</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a096fae3005310de937f1dab442c3b9d7"> 92</a></span> uint8_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a096fae3005310de937f1dab442c3b9d7">version</a> = 0;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a4309061d7fae17a13db3d5eea71d6639"> 94</a></span> uint8_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a4309061d7fae17a13db3d5eea71d6639">padding</a> = 0;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">union </span>{</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#af121a4cae797537270add50efd7a4e3d"> 97</a></span> uint8_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#af121a4cae797537270add50efd7a4e3d">count</a> = 0; </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a829dd160ba7f473f3d6c5ff2d2dae5ab"> 99</a></span> uint8_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a829dd160ba7f473f3d6c5ff2d2dae5ab">pkt_subtype</a>; </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a0ca5bbeb0619b824a07189220d27e3de"> 101</a></span> uint8_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a0ca5bbeb0619b824a07189220d27e3de">fmt</a>;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> };</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a08120f0b6526c473c6488803388c7855"> 104</a></span> uint8_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a08120f0b6526c473c6488803388c7855">pkt_type</a> = 0;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a1ed1871349edce32d60c3b1a33049fd0"> 106</a></span> uint16_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__header.html#a1ed1871349edce32d60c3b1a33049fd0">length</a> = 0;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> };</div>
</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
<div class="foldopen" id="foldopen00110" data-start="{" data-end="};">
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html"> 110</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html">rtcp_sender_info</a> {</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#ae22a2bcad293efb1d642762d3eac3143"> 112</a></span> uint32_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#ae22a2bcad293efb1d642762d3eac3143">ntp_msw</a> = 0;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a7c80f6082983dae0f3a5eea55a7c8ef6"> 114</a></span> uint32_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a7c80f6082983dae0f3a5eea55a7c8ef6">ntp_lsw</a> = 0;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a2e9c3d1fe1b522a1d4c6fb4bc1fbdbdf"> 116</a></span> uint32_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a2e9c3d1fe1b522a1d4c6fb4bc1fbdbdf">rtp_ts</a> = 0;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> uint32_t pkt_cnt = 0;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a41290b62c283bf5d4c8f3a86ac5975ce"> 119</a></span> uint32_t <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a41290b62c283bf5d4c8f3a86ac5975ce">byte_cnt</a> = 0;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> };</div>
</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
<div class="foldopen" id="foldopen00123" data-start="{" data-end="};">
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__report__block.html"> 123</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__report__block.html">rtcp_report_block</a> {</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> uint8_t fraction = 0;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> int32_t lost = 0;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> uint32_t last_seq = 0;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> uint32_t jitter = 0;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> uint32_t lsr = 0; <span class="comment">/* last Sender Report */</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> uint32_t dlsr = 0; <span class="comment">/* delay since last Sender Report */</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> };</div>
</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="foldopen" id="foldopen00134" data-start="{" data-end="};">
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__receiver__report.html"> 134</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__receiver__report.html">rtcp_receiver_report</a> {</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__header.html">rtcp_header</a> header;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> std::vector&lt;rtcp_report_block&gt; report_blocks;</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> };</div>
</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
<div class="foldopen" id="foldopen00141" data-start="{" data-end="};">
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sender__report.html"> 141</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sender__report.html">rtcp_sender_report</a> {</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__header.html">rtcp_header</a> header;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html">rtcp_sender_info</a> sender_info;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> std::vector&lt;rtcp_report_block&gt; report_blocks;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> };</div>
</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="foldopen" id="foldopen00149" data-start="{" data-end="};">
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sdes__item.html"> 149</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sdes__item.html">rtcp_sdes_item</a> {</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> uint8_t type = 0;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> uint8_t length = 0;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> uint8_t *data = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> };</div>
</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="foldopen" id="foldopen00156" data-start="{" data-end="};">
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sdes__chunk.html"> 156</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sdes__chunk.html">rtcp_sdes_chunk</a> {</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> std::vector&lt;rtcp_sdes_item&gt; items;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> };</div>
</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="foldopen" id="foldopen00162" data-start="{" data-end="};">
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sdes__packet.html"> 162</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sdes__packet.html">rtcp_sdes_packet</a> {</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__header.html">rtcp_header</a> header;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> std::vector&lt;rtcp_sdes_chunk&gt; chunks;</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> };</div>
</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
<div class="foldopen" id="foldopen00168" data-start="{" data-end="};">
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__app__packet.html"> 168</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__app__packet.html">rtcp_app_packet</a> {</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__header.html">rtcp_header</a> header;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> uint8_t name[4] = {0};</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> uint8_t *payload = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__app__packet.html#acefa08e5025c52c0e4a0ae14255f6d01"> 174</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__app__packet.html#acefa08e5025c52c0e4a0ae14255f6d01">payload_len</a> = 0;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> };</div>
</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
<div class="foldopen" id="foldopen00178" data-start="{" data-end="};">
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__fir.html"> 178</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__fir.html">rtcp_fir</a> {</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> uint8_t seq = 0;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> };</div>
</div>
<div class="foldopen" id="foldopen00183" data-start="{" data-end="};">
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__sli.html"> 183</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sli.html">rtcp_sli</a> {</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> uint16_t first = 0;</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> uint16_t num = 0;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> uint8_t picture_id = 0;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> };</div>
</div>
<div class="foldopen" id="foldopen00189" data-start="{" data-end="};">
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__rpsi.html"> 189</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__rpsi.html">rtcp_rpsi</a> {</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> uint8_t pb = 0;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> uint8_t pt = 0;</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> uint8_t* str = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> };</div>
</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> </div>
<div class="foldopen" id="foldopen00196" data-start="{" data-end="};">
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__fb__fci.html"> 196</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__fb__fci.html">rtcp_fb_fci</a> {</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <span class="keyword">union </span>{</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__fir.html">rtcp_fir</a> fir;</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__sli.html">rtcp_sli</a> sli;</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__rpsi.html">rtcp_rpsi</a> rpsi;</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> };</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> };</div>
</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
<div class="foldopen" id="foldopen00206" data-start="{" data-end="};">
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__fb__packet.html"> 206</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__fb__packet.html">rtcp_fb_packet</a> {</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <span class="keyword">struct </span><a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtcp__header.html">rtcp_header</a> header;</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> uint32_t sender_ssrc = 0;</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> uint32_t media_ssrc = 0;</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> std::vector&lt;rtcp_fb_fci&gt; items;</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="structuvgrtp_1_1frame_1_1rtcp__fb__packet.html#a03976200a7d64f842778f2880361f981"> 212</a></span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="structuvgrtp_1_1frame_1_1rtcp__fb__packet.html#a03976200a7d64f842778f2880361f981">payload_len</a> = 0;</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> };</div>
</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> PACK(<span class="keyword">struct</span> zrtp_frame {</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> uint8_t version:4;</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> uint16_t unused:12;</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> uint16_t seq = 0;</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> uint32_t magic = 0;</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> uint32_t ssrc = 0;</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> uint8_t payload[1];</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> });</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="comment">/* Allocate an RTP frame</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="comment"> *</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span><span class="comment"> * First function allocates an empty RTP frame (no payload)</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span><span class="comment"> *</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span><span class="comment"> * Second allocates an RTP frame with payload of size &quot;payload_len&quot;,</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span><span class="comment"> *</span></div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span><span class="comment"> * Third allocate an RTP frame with payload of size &quot;payload_len&quot;</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span><span class="comment"> * + probation zone of size &quot;pz_size&quot; * MAX_PAYLOAD</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><span class="comment"> *</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><span class="comment"> * Return pointer to frame on success</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span><span class="comment"> * Return nullptr on error and set rtp_errno to:</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span><span class="comment"> * RTP_MEMORY_ERROR if allocation of memory failed */</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> rtp_frame *alloc_rtp_frame();</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> rtp_frame *alloc_rtp_frame(<span class="keywordtype">size_t</span> payload_len);</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> </div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> </div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> <span class="comment">/* Deallocate RTP frame</span></div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span><span class="comment"> *</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><span class="comment"> * Return RTP_OK on successs</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span><span class="comment"> * Return RTP_INVALID_VALUE if &quot;frame&quot; is nullptr */</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> rtp_error_t dealloc_frame(<a class="code hl_struct" href="structuvgrtp_1_1frame_1_1rtp__frame.html">uvgrtp::frame::rtp_frame</a> *frame);</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <span class="comment">/* Allocate ZRTP frame</span></div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span><span class="comment"> * Parameter &quot;payload_size&quot; defines the length of the frame</span></div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span><span class="comment"> *</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span><span class="comment"> * Return pointer to frame on success</span></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="comment"> * Return nullptr on error and set rtp_errno to:</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span><span class="comment"> * RTP_MEMORY_ERROR if allocation of memory failed</span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span><span class="comment"> * RTP_INVALID_VALUE if &quot;payload_size&quot; is 0 */</span></div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> <span class="keywordtype">void</span>* alloc_zrtp_frame(<span class="keywordtype">size_t</span> payload_size);</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> <span class="comment">/* Deallocate ZRTP frame</span></div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span><span class="comment"> *</span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><span class="comment"> * Return RTP_OK on successs</span></div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span><span class="comment"> * Return RTP_INVALID_VALUE if &quot;frame&quot; is nullptr */</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> rtp_error_t dealloc_frame(uvgrtp::frame::zrtp_frame* frame);</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> }</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span>}</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span><span class="keyword">namespace </span>uvg_rtp = uvgrtp;</div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__app__packet_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__app__packet.html">uvgrtp::frame::rtcp_app_packet</a></div><div class="ttdoc">See RFC 3550 section 6.7</div><div class="ttdef"><b>Definition</b> <a href="#l00168">frame.hh:168</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__app__packet_html_acefa08e5025c52c0e4a0ae14255f6d01"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__app__packet.html#acefa08e5025c52c0e4a0ae14255f6d01">uvgrtp::frame::rtcp_app_packet::payload_len</a></div><div class="ttdeci">size_t payload_len</div><div class="ttdoc">Size of the payload in bytes. Added by uvgRTP to help process the payload.</div><div class="ttdef"><b>Definition</b> <a href="#l00174">frame.hh:174</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__fb__fci_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__fb__fci.html">uvgrtp::frame::rtcp_fb_fci</a></div><div class="ttdoc">RTCP Feedback Control Information, See RFC 4585 section 6.1.</div><div class="ttdef"><b>Definition</b> <a href="#l00196">frame.hh:196</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__fb__packet_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__fb__packet.html">uvgrtp::frame::rtcp_fb_packet</a></div><div class="ttdoc">Feedback message. See RFC 4585 section 6.1.</div><div class="ttdef"><b>Definition</b> <a href="#l00206">frame.hh:206</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__fb__packet_html_a03976200a7d64f842778f2880361f981"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__fb__packet.html#a03976200a7d64f842778f2880361f981">uvgrtp::frame::rtcp_fb_packet::payload_len</a></div><div class="ttdeci">size_t payload_len</div><div class="ttdoc">Size of the payload in bytes. Added by uvgRTP to help process the payload.</div><div class="ttdef"><b>Definition</b> <a href="#l00212">frame.hh:212</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__fir_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__fir.html">uvgrtp::frame::rtcp_fir</a></div><div class="ttdoc">Full Intra Request, See RFC 5104 section 4.3.1.</div><div class="ttdef"><b>Definition</b> <a href="#l00178">frame.hh:178</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html">uvgrtp::frame::rtcp_header</a></div><div class="ttdoc">Header of for all RTCP packets defined in RFC 3550 section 6</div><div class="ttdef"><b>Definition</b> <a href="#l00089">frame.hh:89</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_a08120f0b6526c473c6488803388c7855"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#a08120f0b6526c473c6488803388c7855">uvgrtp::frame::rtcp_header::pkt_type</a></div><div class="ttdeci">uint8_t pkt_type</div><div class="ttdoc">Identifies the RTCP packet type.</div><div class="ttdef"><b>Definition</b> <a href="#l00104">frame.hh:104</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_a096fae3005310de937f1dab442c3b9d7"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#a096fae3005310de937f1dab442c3b9d7">uvgrtp::frame::rtcp_header::version</a></div><div class="ttdeci">uint8_t version</div><div class="ttdoc">This field identifies the version of RTP. The version defined by RFC 3550 is two (2).</div><div class="ttdef"><b>Definition</b> <a href="#l00092">frame.hh:92</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_a0ca5bbeb0619b824a07189220d27e3de"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#a0ca5bbeb0619b824a07189220d27e3de">uvgrtp::frame::rtcp_header::fmt</a></div><div class="ttdeci">uint8_t fmt</div><div class="ttdoc">Feedback message type (FMT), specified in RFC 5104 section 4.3. Alternative to count and pkt_subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00101">frame.hh:101</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_a1ed1871349edce32d60c3b1a33049fd0"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#a1ed1871349edce32d60c3b1a33049fd0">uvgrtp::frame::rtcp_header::length</a></div><div class="ttdeci">uint16_t length</div><div class="ttdoc">Length of the whole message measured in 32-bit words.</div><div class="ttdef"><b>Definition</b> <a href="#l00106">frame.hh:106</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_a4309061d7fae17a13db3d5eea71d6639"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#a4309061d7fae17a13db3d5eea71d6639">uvgrtp::frame::rtcp_header::padding</a></div><div class="ttdeci">uint8_t padding</div><div class="ttdoc">Does this packet contain padding at the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00094">frame.hh:94</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_a829dd160ba7f473f3d6c5ff2d2dae5ab"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#a829dd160ba7f473f3d6c5ff2d2dae5ab">uvgrtp::frame::rtcp_header::pkt_subtype</a></div><div class="ttdeci">uint8_t pkt_subtype</div><div class="ttdoc">Subtype in APP packets. Alternative to count.</div><div class="ttdef"><b>Definition</b> <a href="#l00099">frame.hh:99</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__header_html_af121a4cae797537270add50efd7a4e3d"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__header.html#af121a4cae797537270add50efd7a4e3d">uvgrtp::frame::rtcp_header::count</a></div><div class="ttdeci">uint8_t count</div><div class="ttdoc">Source count or report count. Alternative to pkt_subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00097">frame.hh:97</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__receiver__report_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__receiver__report.html">uvgrtp::frame::rtcp_receiver_report</a></div><div class="ttdoc">See RFC 3550 section 6.4.2</div><div class="ttdef"><b>Definition</b> <a href="#l00134">frame.hh:134</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__report__block_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__report__block.html">uvgrtp::frame::rtcp_report_block</a></div><div class="ttdoc">See RFC 3550 section 6.4.1</div><div class="ttdef"><b>Definition</b> <a href="#l00123">frame.hh:123</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__rpsi_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__rpsi.html">uvgrtp::frame::rtcp_rpsi</a></div><div class="ttdoc">Reference Picture Selection Indication, See RFC 4585 section 6.3.3.</div><div class="ttdef"><b>Definition</b> <a href="#l00189">frame.hh:189</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sdes__chunk_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sdes__chunk.html">uvgrtp::frame::rtcp_sdes_chunk</a></div><div class="ttdoc">See RFC 3550 section 6.5</div><div class="ttdef"><b>Definition</b> <a href="#l00156">frame.hh:156</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sdes__item_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sdes__item.html">uvgrtp::frame::rtcp_sdes_item</a></div><div class="ttdoc">See RFC 3550 section 6.5</div><div class="ttdef"><b>Definition</b> <a href="#l00149">frame.hh:149</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sdes__packet_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sdes__packet.html">uvgrtp::frame::rtcp_sdes_packet</a></div><div class="ttdoc">See RFC 3550 section 6.5</div><div class="ttdef"><b>Definition</b> <a href="#l00162">frame.hh:162</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sender__info_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html">uvgrtp::frame::rtcp_sender_info</a></div><div class="ttdoc">See RFC 3550 section 6.4.1</div><div class="ttdef"><b>Definition</b> <a href="#l00110">frame.hh:110</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sender__info_html_a2e9c3d1fe1b522a1d4c6fb4bc1fbdbdf"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a2e9c3d1fe1b522a1d4c6fb4bc1fbdbdf">uvgrtp::frame::rtcp_sender_info::rtp_ts</a></div><div class="ttdeci">uint32_t rtp_ts</div><div class="ttdoc">RTP timestamp corresponding to this NTP timestamp.</div><div class="ttdef"><b>Definition</b> <a href="#l00116">frame.hh:116</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sender__info_html_a41290b62c283bf5d4c8f3a86ac5975ce"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a41290b62c283bf5d4c8f3a86ac5975ce">uvgrtp::frame::rtcp_sender_info::byte_cnt</a></div><div class="ttdeci">uint32_t byte_cnt</div><div class="ttdoc">Also known as octet count.</div><div class="ttdef"><b>Definition</b> <a href="#l00119">frame.hh:119</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sender__info_html_a7c80f6082983dae0f3a5eea55a7c8ef6"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#a7c80f6082983dae0f3a5eea55a7c8ef6">uvgrtp::frame::rtcp_sender_info::ntp_lsw</a></div><div class="ttdeci">uint32_t ntp_lsw</div><div class="ttdoc">NTP timestamp, least significant word.</div><div class="ttdef"><b>Definition</b> <a href="#l00114">frame.hh:114</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sender__info_html_ae22a2bcad293efb1d642762d3eac3143"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sender__info.html#ae22a2bcad293efb1d642762d3eac3143">uvgrtp::frame::rtcp_sender_info::ntp_msw</a></div><div class="ttdeci">uint32_t ntp_msw</div><div class="ttdoc">NTP timestamp, most significant word.</div><div class="ttdef"><b>Definition</b> <a href="#l00112">frame.hh:112</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sender__report_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sender__report.html">uvgrtp::frame::rtcp_sender_report</a></div><div class="ttdoc">See RFC 3550 section 6.4.1</div><div class="ttdef"><b>Definition</b> <a href="#l00141">frame.hh:141</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtcp__sli_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtcp__sli.html">uvgrtp::frame::rtcp_sli</a></div><div class="ttdoc">Slice Loss Indication, See RFC 4585 section 6.3.2.</div><div class="ttdef"><b>Definition</b> <a href="#l00183">frame.hh:183</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtp__frame_html"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtp__frame.html">uvgrtp::frame::rtp_frame</a></div><div class="ttdoc">See RFC 3550 section 5</div><div class="ttdef"><b>Definition</b> <a href="#l00068">frame.hh:68</a></div></div>
<div class="ttc" id="astructuvgrtp_1_1frame_1_1rtp__frame_html_a2d158e0aaf23398a8a3b02c95d06e366"><div class="ttname"><a href="structuvgrtp_1_1frame_1_1rtp__frame.html#a2d158e0aaf23398a8a3b02c95d06e366">uvgrtp::frame::rtp_frame::payload_len</a></div><div class="ttdeci">size_t payload_len</div><div class="ttdoc">Length of the packet payload in bytes added by uvgRTP to help process the frame.</div><div class="ttdef"><b>Definition</b> <a href="#l00079">frame.hh:79</a></div></div>
<div class="ttc" id="autil_8hh_html"><div class="ttname"><a href="util_8hh.html">util.hh</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>