-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackets.LrleExtendedReport.html
More file actions
136 lines (135 loc) · 57.8 KB
/
packets.LrleExtendedReport.html
File metadata and controls
136 lines (135 loc) · 57.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LrleExtendedReport | rtp.js - v0.13.1</title><meta name="description" content="Documentation for rtp.js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css?cache=1741811046720"/><link rel="stylesheet" href="../assets/highlight.css?cache=1741811046720"/><link rel="stylesheet" href="../assets/custom.css?cache=1741811046720"/><script defer src="../assets/main.js?cache=1741811046720"></script><script async src="../assets/icons.js?cache=1741811046720" id="tsd-icons-script"></script><script async src="../assets/search.js?cache=1741811046720" id="tsd-search-script"></script><script async src="../assets/navigation.js?cache=1741811046720" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js?cache=1741811046720" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"><a href="https://github.com/versatica/rtp.js">GitHub</a><a href="https://www.npmjs.com/package/rtp.js">NPM</a></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">rtp.js - v0.13.1</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">rtp.js</a></li><li><a href="../modules/packets.html">packets</a></li><li><a href="packets.LrleExtendedReport.html">LrleExtendedReport</a></li></ul><h1>Class LrleExtendedReport</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Loss RLE Extended Report.</p>
<pre><code class="text"> 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| BT=1 | rsvd. | T | block length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| begin_seq | end_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk 1 | chunk 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ... :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk n-1 | chunk n |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</code><button type="button">Copy</button></pre>
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see" class="tsd-anchor"></a>See<a href="#see" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li><a href="https://datatracker.ietf.org/doc/html/rfc3611#section-4.1">RFC 3611 section 4.1</a></li>
</ul>
</div></div></section><section class="tsd-panel tsd-hierarchy" data-refl="2078"><h4>Hierarchy (<a href="../hierarchy.html#packets.LrleExtendedReport">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="packets.ExtendedReport.html" class="tsd-signature-type tsd-kind-class">ExtendedReport</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">LrleExtendedReport</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L55">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:55</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="packets.LrleExtendedReport.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="packets.LrleExtendedReport.html#addchunk" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Chunk</span></a>
<a href="packets.LrleExtendedReport.html#clone" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clone</span></a>
<a href="packets.LrleExtendedReport.html#dump" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump</span></a>
<a href="packets.LrleExtendedReport.html#getbeginseq" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Begin<wbr/>Seq</span></a>
<a href="packets.LrleExtendedReport.html#getbytelength" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Byte<wbr/>Length</span></a>
<a href="packets.LrleExtendedReport.html#getchunks" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Chunks</span></a>
<a href="packets.LrleExtendedReport.html#getendseq" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>End<wbr/>Seq</span></a>
<a href="packets.LrleExtendedReport.html#getreporttype" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Report<wbr/>Type</span></a>
<a href="packets.LrleExtendedReport.html#getssrc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ssrc</span></a>
<a href="packets.LrleExtendedReport.html#getthinning" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Thinning</span></a>
<a href="packets.LrleExtendedReport.html#getview" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>View</span></a>
<a href="packets.LrleExtendedReport.html#needsserialization" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>needs<wbr/>Serialization</span></a>
<a href="packets.LrleExtendedReport.html#serialize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>serialize</span></a>
<a href="packets.LrleExtendedReport.html#setbeginseq" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Begin<wbr/>Seq</span></a>
<a href="packets.LrleExtendedReport.html#setchunks" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Chunks</span></a>
<a href="packets.LrleExtendedReport.html#setendseq" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>End<wbr/>Seq</span></a>
<a href="packets.LrleExtendedReport.html#setssrc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Ssrc</span></a>
<a href="packets.LrleExtendedReport.html#setthinning" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Thinning</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructorlrleextendedreport" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">LrleExtendedReport</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">view</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">DataView</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="packets.LrleExtendedReport.html" class="tsd-signature-type tsd-kind-class">LrleExtendedReport</a><a href="#constructorlrleextendedreport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">view</span>: <span class="tsd-signature-type">DataView</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>If given it will be parsed. Otherwise an empty Loss RLE
Extended Report will be created.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="packets.LrleExtendedReport.html" class="tsd-signature-type tsd-kind-class">LrleExtendedReport</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides ExtendedReport.constructor</p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L63">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:63</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="addchunk" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Chunk</span><a href="#addchunk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="addchunk-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">addChunk</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">chunk</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addchunk-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add chunk.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">chunk</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks" class="tsd-anchor"></a>Remarks<a href="#remarks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>Chunk must be given as 2 byte integer.</li>
<li>Use <a href="../functions/packets.createExtendedReportRunLengthChunk.html" class="tsd-kind-function">createExtendedReportRunLengthChunk</a> or
<a href="../functions/packets.createExtendedReportBitVectorChunk.html" class="tsd-kind-function">createExtendedReportBitVectorChunk</a> to create it.</li>
<li>Given chunk cannot be a terminating null chunk (0 number).</li>
</ul>
</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L309">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:309</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clone</span><a href="#clone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="clone-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clone</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">buffer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">byteOffset</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">serializationBuffer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">serializationByteOffset</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="packets.LrleExtendedReport.html" class="tsd-signature-type tsd-kind-class">LrleExtendedReport</a><a href="#clone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clone the packet or item. The cloned instance does not share any memory
with the original one. The cloned instance is a new class instance
referencing a different buffer.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">buffer</span>: <span class="tsd-signature-type">ArrayBuffer</span></span><div class="tsd-comment tsd-typography"><p>Buffer in which the content will be cloned. If not given, a
new one will internally allocated.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">byteOffset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Byte offset of the given <code>buffer</code> where clonation will
start.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">serializationBuffer</span>: <span class="tsd-signature-type">ArrayBuffer</span></span><div class="tsd-comment tsd-typography"><p>Buffer in which the content will be serialized
in case serialization is needed. If not given, a new one will internally
allocated.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">serializationByteOffset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Byte offset of the given
<code>serializationBuffer</code> where serialization (if needed) will start.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="packets.LrleExtendedReport.html" class="tsd-signature-type tsd-kind-class">LrleExtendedReport</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks-1" class="tsd-anchor"></a>Remarks<a href="#remarks-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>The buffer is serialized if needed (to apply pending modifications) by
internally calling <a href="packets.Serializable.html#serialize" class="tsd-kind-method">serialize</a>.</li>
</ul>
</div><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws" class="tsd-anchor"></a>Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>If serialization is needed and it fails.</li>
<li>If given <code>buffer</code> doesn't have space enough to clone the content.</li>
<li>If given <code>serializationBuffer</code> doesn't have space enough to serialize
the content.</li>
</ul>
</div></div><aside class="tsd-sources"><p>Overrides <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#clone">clone</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L190">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:190</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="dump" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dump</span><a href="#dump" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="dump-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">dump</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/packets.LrleExtendedReportDump.html" class="tsd-signature-type tsd-kind-type-alias">LrleExtendedReportDump</a><a href="#dump-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Dump Loss RLE Extended Report info.</p>
</div><h4 class="tsd-returns-title">Returns <a href="../types/packets.LrleExtendedReportDump.html" class="tsd-signature-type tsd-kind-type-alias">LrleExtendedReportDump</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#dump">dump</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L103">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:103</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getbeginseq" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Begin<wbr/>Seq</span><a href="#getbeginseq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getbeginseq-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getBeginSeq</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getbeginseq-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get begin sequence number.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L246">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:246</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getbytelength" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Byte<wbr/>Length</span><a href="#getbytelength" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getbytelength-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getByteLength</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getbytelength-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Computes total length of the content (in bytes) including padding if any.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks-2" class="tsd-anchor"></a>Remarks<a href="#remarks-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>This methods computes the effective byte length of the content as if it
was serialized at this moment, no matter modifications have been done
before.</li>
</ul>
</div></div><aside class="tsd-sources"><p>Overrides <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#getbytelength">getByteLength</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L117">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:117</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getchunks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Chunks</span><a href="#getchunks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getchunks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getChunks</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getchunks-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get chunks.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks-3" class="tsd-anchor"></a>Remarks<a href="#remarks-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>Chunks are given as a list of 2 byte integers.</li>
<li>Use <a href="../functions/packets.parseExtendedReportChunk.html" class="tsd-kind-function">parseExtendedReportChunk</a> to parse them.</li>
</ul>
</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L282">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:282</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getendseq" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>End<wbr/>Seq</span><a href="#getendseq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getendseq-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getEndSeq</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getendseq-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get end sequence number.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L262">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:262</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getreporttype" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Report<wbr/>Type</span><a href="#getreporttype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link"><a id="getreporttype-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getReportType</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../enums/packets.ExtendedReportType.html" class="tsd-signature-type tsd-kind-enum">ExtendedReportType</a><a href="#getreporttype-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the Extended Report type.</p>
</div><h4 class="tsd-returns-title">Returns <a href="../enums/packets.ExtendedReportType.html" class="tsd-signature-type tsd-kind-enum">ExtendedReportType</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#getreporttype">getReportType</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/ExtendedReport.ts#L209">packets/RTCP/ExtendedReports/ExtendedReport.ts:209</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getssrc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Ssrc</span><a href="#getssrc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getssrc-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getSsrc</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getssrc-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get SSRC of source.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L230">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:230</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getthinning" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Thinning</span><a href="#getthinning" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getthinning-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getThinning</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getthinning-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get thinning.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L209">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:209</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getview" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>View</span><a href="#getview" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link"><a id="getview-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getView</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">serializationBuffer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">serializationByteOffset</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DataView</span><a href="#getview-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get a buffer view containing the serialized content of the packet or item.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">serializationBuffer</span>: <span class="tsd-signature-type">ArrayBuffer</span></span><div class="tsd-comment tsd-typography"><p>Buffer in which the content will be serialized
in case serialization is needed. If not given, a new one will internally
allocated.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">serializationByteOffset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Byte offset of the given <code>serializationBuffer</code>
where serialization (if needed) will start.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">DataView</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks-4" class="tsd-anchor"></a>Remarks<a href="#remarks-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>The internal buffer is serialized if needed (to apply pending
modifications) by internally calling <a href="packets.Serializable.html#serialize" class="tsd-kind-method">serialize</a>.</li>
</ul>
</div><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-1" class="tsd-anchor"></a>Throws<a href="#throws-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>If buffer serialization is needed and it fails due to invalid
content.</li>
</ul>
</div></div><aside class="tsd-sources"><p>Inherited from <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#getview">getView</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/Serializable.ts#L54">packets/Serializable.ts:54</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="needsserialization" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>needs<wbr/>Serialization</span><a href="#needsserialization" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link"><a id="needsserialization-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">needsSerialization</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#needsserialization-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Whether serialization is needed, meaning that the current buffer view
doesn't represent the current content of the packet or item (due to
modifications not applied yet). Calling <a href="packets.Serializable.html#serialize" class="tsd-kind-method">serialize</a> or <a href="packets.Serializable.html#getview" class="tsd-kind-method">getView</a>
will serialize the packet or the item.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#needsserialization">needsSerialization</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/Serializable.ts#L81">packets/Serializable.ts:81</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="serialize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>serialize</span><a href="#serialize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="serialize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">serialize</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">buffer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">byteOffset</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#serialize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Apply pending changes and serialize the content of the packet or item into
a new buffer.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">buffer</span>: <span class="tsd-signature-type">ArrayBuffer</span></span><div class="tsd-comment tsd-typography"><p>Buffer in which the content will be serialized. If not
given, a new one will internally allocated.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">byteOffset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Byte offset of the given <code>buffer</code> where serialization
will start.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks-5" class="tsd-anchor"></a>Remarks<a href="#remarks-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>In most cases there is no need to use this method since many setter
methods apply changes within the current buffer. To be sure, check
<a href="packets.Serializable.html#needsserialization" class="tsd-kind-method">needsSerialization</a> before.</li>
</ul>
</div><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-2" class="tsd-anchor"></a>Throws<a href="#throws-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>If serialization fails due to invalid content previously added.</li>
<li>If given <code>buffer</code> doesn't have space enough to serialize the content.</li>
<li>If the <code>buffer</code> member of the given <code>ArrayBuffer</code> is the same than the
internal buffer in this packet and the given <code>byteOffset</code> would make
the serialization happen in bytes currently used by the packet (this would
corrupt the packet).</li>
</ul>
</div></div><aside class="tsd-sources"><p>Overrides <a href="packets.ExtendedReport.html">ExtendedReport</a>.<a href="packets.ExtendedReport.html#serialize">serialize</a></p><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L138">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:138</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setbeginseq" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Begin<wbr/>Seq</span><a href="#setbeginseq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setbeginseq-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setBeginSeq</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">seq</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setbeginseq-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set begin sequence number.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seq</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L253">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:253</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setchunks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Chunks</span><a href="#setchunks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setchunks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setChunks</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">chunks</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setchunks-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set chunks.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">chunks</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks-6" class="tsd-anchor"></a>Remarks<a href="#remarks-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
<li>Chunks must be given as a list of 2 byte integers.</li>
<li>Use <a href="../functions/packets.createExtendedReportRunLengthChunk.html" class="tsd-kind-function">createExtendedReportRunLengthChunk</a> or
<a href="../functions/packets.createExtendedReportBitVectorChunk.html" class="tsd-kind-function">createExtendedReportBitVectorChunk</a> to create them.</li>
</ul>
</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L294">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:294</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setendseq" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>End<wbr/>Seq</span><a href="#setendseq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setendseq-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setEndSeq</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">seq</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setendseq-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set end sequence number.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seq</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L269">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:269</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setssrc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Ssrc</span><a href="#setssrc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setssrc-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setSsrc</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ssrc</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setssrc-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set SSRC of source.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ssrc</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L237">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:237</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setthinning" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Thinning</span><a href="#setthinning" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setthinning-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setThinning</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">thinning</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setthinning-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set thinning.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">thinning</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/versatica/rtp.js/blob/b68d65267ca9ee7ab7c8da9c4078309744ab0e39/src/packets/RTCP/ExtendedReports/LrleExtendedReport.ts#L216">packets/RTCP/ExtendedReports/LrleExtendedReport.ts:216</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addchunk" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Chunk</span></a><a href="#clone" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clone</span></a><a href="#dump" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump</span></a><a href="#getbeginseq" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Begin<wbr/>Seq</span></a><a href="#getbytelength" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Byte<wbr/>Length</span></a><a href="#getchunks" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Chunks</span></a><a href="#getendseq" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>End<wbr/>Seq</span></a><a href="#getreporttype" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Report<wbr/>Type</span></a><a href="#getssrc" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ssrc</span></a><a href="#getthinning" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Thinning</span></a><a href="#getview" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>View</span></a><a href="#needsserialization" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>needs<wbr/>Serialization</span></a><a href="#serialize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>serialize</span></a><a href="#setbeginseq" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Begin<wbr/>Seq</span></a><a href="#setchunks" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Chunks</span></a><a href="#setendseq" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>End<wbr/>Seq</span></a><a href="#setssrc" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Ssrc</span></a><a href="#setthinning" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Thinning</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/versatica/rtp.js" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/rtp.js" class="tsd-nav-link">NPM</a></nav><nav class="tsd-navigation"><a href="../modules.html">rtp.js - v0.13.1</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>