563 lines
49 KiB
HTML
563 lines
49 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.9.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>uvgRTP: C:/Local/rasane22/Projects/Kvazzup/libraries/uvgRTP/include/uvgrtp/util.hh File Reference</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>
|
|
<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"> 2.1.0</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.9.5 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&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&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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="summary">
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle"><div class="title">util.hh File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><a href="util_8hh_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a1f2b6bb8d6289f5942f50e1ab872d96f"><td class="memItemLeft" align="right" valign="top"><a id="a1f2b6bb8d6289f5942f50e1ab872d96f" name="a1f2b6bb8d6289f5942f50e1ab872d96f"></a>
|
|
typedef enum <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387b">RTP_ERROR</a> </td><td class="memItemRight" valign="bottom"><b>rtp_error_t</b></td></tr>
|
|
<tr class="separator:a1f2b6bb8d6289f5942f50e1ab872d96f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4ed499c47ac1c121bd8ff3cd69eff93c"><td class="memItemLeft" align="right" valign="top"><a id="a4ed499c47ac1c121bd8ff3cd69eff93c" name="a4ed499c47ac1c121bd8ff3cd69eff93c"></a>
|
|
typedef enum <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96">RTP_FORMAT</a> </td><td class="memItemRight" valign="bottom"><b>rtp_format_t</b></td></tr>
|
|
<tr class="separator:a4ed499c47ac1c121bd8ff3cd69eff93c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa5259e30034e25280e29d3987b180b85"><td class="memItemLeft" align="right" valign="top"><a id="aa5259e30034e25280e29d3987b180b85" name="aa5259e30034e25280e29d3987b180b85"></a>
|
|
typedef enum <a class="el" href="util_8hh.html#af03a75996471fc531742cd640c7caf2d">RTP_FLAGS</a> </td><td class="memItemRight" valign="bottom"><b>rtp_flags_t</b></td></tr>
|
|
<tr class="separator:aa5259e30034e25280e29d3987b180b85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:aa6dc3f3578923d1afc40045e4cbe387b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387b">RTP_ERROR</a> { <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba0d701531b2bb1c027f5e5bcc64ed29e1">RTP_OK</a> = 0
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387bafde486de26be732acf472480e3693b19">RTP_GENERIC_ERROR</a> = -1
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387bab392a7774c551eed903855248760ad06">RTP_SOCKET_ERROR</a> = -2
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba000c0166a0c38686389fc2eba0ddc458">RTP_BIND_ERROR</a> = -3
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba4cdd3c5db294a4f05294b264afbf678b">RTP_INVALID_VALUE</a> = -4
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba6c47e86944dbed4d33531236a6e28079">RTP_SEND_ERROR</a> = -5
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387bac54e582250aec15bf2aea189ccbb0348">RTP_MEMORY_ERROR</a> = -6
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba80aa5b74c1e252c2ef49e0796d4183d3">RTP_SSRC_COLLISION</a> = -7
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba0759e9bb74c7a15ef09513547ed5cc2a">RTP_INITIALIZED</a> = -8
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba32d67254c4da35568e7007ec3825f98a">RTP_NOT_INITIALIZED</a> = -9
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba756d5cd372b045f069a493ed2f2cfa22">RTP_NOT_SUPPORTED</a> = -10
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387baa499befa487c22503360adffc590f33b">RTP_RECV_ERROR</a> = -11
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387bacb40716d1ab0663c0cce56f6d03f0902">RTP_TIMEOUT</a> = -12
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba0a18f9856d2dd5890bb6ec25e4acf631">RTP_NOT_FOUND</a> = -13
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387ba6d62ec0a7250a3db7c0f3a13280ecc65">RTP_AUTH_TAG_MISMATCH</a> = -14
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:aa6dc3f3578923d1afc40045e4cbe387b"><td class="mdescLeft"> </td><td class="mdescRight">RTP error codes. <a href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387b">More...</a><br /></td></tr>
|
|
<tr class="separator:aa6dc3f3578923d1afc40045e4cbe387b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a313c6640ac5ed9384184a94ec57a9a96"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96">RTP_FORMAT</a> { <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96ad4b1be929d880baa2c2ca85c614f61b9">RTP_FORMAT_GENERIC</a> = 0
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a12448ad5b424a2f6d5028a7fd06019b7">RTP_FORMAT_PCMU</a> = 0
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96aa6d4ba4fb63005fac69fa371fdf18a68">RTP_FORMAT_GSM</a> = 3
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96aa97d1880bfcfba08dfef863dc82426d1">RTP_FORMAT_G723</a> = 4
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96abf1f20482ba40b0a4161f339978c65c8">RTP_FORMAT_DVI4_32</a> = 5
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96ae0cb5522bf562899f9001adeb669f3ef">RTP_FORMAT_DVI4_64</a> = 6
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a61c2e69b79b0fd2a8fd0bb24fb359ecd">RTP_FORMAT_LPC</a> = 7
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a518313e0a5342ff1b5b79ead46791b2e">RTP_FORMAT_PCMA</a> = 8
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a2240ad1204186f7c34aacfb27673e692">RTP_FORMAT_G722</a> = 9
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a1de81aee545949cf4609fe3cca3ab1b8">RTP_FORMAT_L16_STEREO</a> = 10
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a4c34cf9ef36a41ba3565b0e3f6ea534a">RTP_FORMAT_L16_MONO</a> = 11
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a0f194f13a6b06211c1411caf0a454313">RTP_FORMAT_G728</a> = 15
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96aa4e91d147dcc0696bae592e0de3ae295">RTP_FORMAT_DVI4_441</a> = 16
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96abb0d59c256c7ed6b0f78aff67f89ac18">RTP_FORMAT_DVI4_882</a> = 17
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a78da373e5b8fb9a83e28f5b8b715ca19">RTP_FORMAT_G729</a> = 18
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96af260843177efa05d95f98d30499db683">RTP_FORMAT_G726_40</a> = 96
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a266862cd2289619b5c4de4c259a32785">RTP_FORMAT_G726_32</a> = 97
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a8635bcd6f336c19271e7ea20eb9111cf">RTP_FORMAT_G726_24</a> = 98
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96ae118651d66f3af54be3094e7e71336c7">RTP_FORMAT_G726_16</a> = 99
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96af2981123dc924d80ed50371625927f58">RTP_FORMAT_G729D</a> = 100
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96adba054e696e9d57d316c598618580a63">RTP_FORMAT_G729E</a> = 101
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a4e41697a659bea307ca6387330d5b9ed">RTP_FORMAT_GSM_EFR</a> = 102
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96abee7466b11e455f2f2362dc39e61c6a8">RTP_FORMAT_L8</a> = 103
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a91525c8b53f821a6644803967be0e3ed">RTP_FORMAT_VDVI</a> = 104
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a4e6ef095b4645cdc8aef241aad1f974b">RTP_FORMAT_OPUS</a> = 105
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96ad785025a8de9a53f17dc84ec3eed85bd">RTP_FORMAT_H264</a> = 106
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a4ee0ab7d51bf50f8f5a5cb995ecc407b">RTP_FORMAT_H265</a> = 107
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96a0e3d0414b29804783324399c8a42c85d">RTP_FORMAT_H266</a> = 108
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:a313c6640ac5ed9384184a94ec57a9a96"><td class="mdescLeft"> </td><td class="mdescRight">These flags are given to <a class="el" href="classuvgrtp_1_1session.html#a0b9fb48e95cbfdb76fd9f61e8cafe8e4" title="Create a uni- or bidirectional media stream.">uvgrtp::session::create_stream()</a> <a href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96">More...</a><br /></td></tr>
|
|
<tr class="separator:a313c6640ac5ed9384184a94ec57a9a96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af03a75996471fc531742cd640c7caf2d"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="util_8hh.html#af03a75996471fc531742cd640c7caf2d">RTP_FLAGS</a> { <br />
|
|
  <a class="el" href="util_8hh.html#af03a75996471fc531742cd640c7caf2da084c095dae54bbbc6d9509568c58f9a6">RTP_NO_FLAGS</a> = 0
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#af03a75996471fc531742cd640c7caf2dab1d5797a23c37a33168046a2ae6aef6a">RTP_COPY</a> = 1 << 1
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#af03a75996471fc531742cd640c7caf2dafd917713b62c18d5fa4106e42f3fbde8">RTP_NO_H26X_SCL</a> = 1 << 2
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:af03a75996471fc531742cd640c7caf2d"><td class="mdescLeft"> </td><td class="mdescRight">These flags are given to <a class="el" href="classuvgrtp_1_1media__stream.html#a157e9973d92b65e82914d4028690c770" title="Send data to remote participant with a custom timestamp.">uvgrtp::media_stream::push_frame()</a> and they can be OR'ed together. <a href="util_8hh.html#af03a75996471fc531742cd640c7caf2d">More...</a><br /></td></tr>
|
|
<tr class="separator:af03a75996471fc531742cd640c7caf2d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a15b2d6364db6065a482c99827f4bd2af"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2af">RTP_CTX_ENABLE_FLAGS</a> { <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa4952226c012292c16fe04477f76e5bcb">RCE_NO_FLAGS</a> = 0
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa6bb67e1962af60c05c6062fb6f1df374">RCE_SEND_ONLY</a> = 1 << 1
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afaf89817eda89d32c43e18ed0645ac4d73">RCE_RECEIVE_ONLY</a> = 1 << 2
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afaf235cba606675b9c38284ee1a491696b">RCE_SRTP</a> = 1 << 3
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa40a3deab3893524daf7e057c6dfdaa75">RCE_SRTP_KMNGMNT_ZRTP</a> = 1 << 4
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa4722105b4fd34467a56b8aca8fc03773">RCE_SRTP_KMNGMNT_USER</a> = 1 << 5
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa877835beb990d36f59f4d9c1d61d2c35">RCE_NO_H26X_PREPEND_SC</a> = 1 << 6
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa121da451fe2a4008cec78ac4642399b2">RCE_H26X_DEPENDENCY_ENFORCEMENT</a> = 1 << 7
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa5b0a8dbb22c20ebe8c0711541fb68a79">RCE_FRAGMENT_GENERIC</a> = 1 << 8
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa9e41141dacd18def5ab83e9f671f4263">RCE_SYSTEM_CALL_CLUSTERING</a> = 1 << 9
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa4ddec7d182cec161d6b582589bc9baba">RCE_SRTP_NULL_CIPHER</a> = 1 << 10
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa820625b96886d955bc42e0cbc52cdd1e">RCE_SRTP_AUTHENTICATE_RTP</a> = 1 << 11
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afaddd5fdb170d7cc194e4165d3f9e9a1c1">RCE_SRTP_REPLAY_PROTECTION</a> = 1 << 12
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afab1342138e5af3f03d6eaf1378382bf3d">RCE_RTCP</a> = 1 << 13
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa8e66f45819774772a0156647d3788a95">RCE_HOLEPUNCH_KEEPALIVE</a> = 1 << 14
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afaedeac11cc80833b61b51ae32f787db73">RCE_SRTP_KEYSIZE_192</a> = 1 << 15
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa163744fe7c054b8396a4a07ae82a80c0">RCE_SRTP_KEYSIZE_256</a> = 1 << 16
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa3afca34d8e1e5e856113a0fa32de03c6">RCE_ZRTP_MULTISTREAM_NO_DH</a> = 1 << 17
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afae175f37ce4fdc6e7d9e01d200b8d9abc">RCE_FRAME_RATE</a> = 1 << 18
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2afa836063a6ef3da262d0805cf1571ab35c">RCE_PACE_FRAGMENT_SENDING</a> = 1 << 19
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:a15b2d6364db6065a482c99827f4bd2af"><td class="mdescLeft"> </td><td class="mdescRight">RTP context enable flags. <a href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2af">More...</a><br /></td></tr>
|
|
<tr class="separator:a15b2d6364db6065a482c99827f4bd2af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa98d9238629e33567e73af0d239e587f"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587f">RTP_CTX_CONFIGURATION_FLAGS</a> { <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fac52afca9d1a8c24b1a788bc5b8524663">RCC_UDP_RCV_BUF_SIZE</a> = 1
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fad4eba6c62183db35dd4bd0e09ddd107b">RCC_UDP_SND_BUF_SIZE</a> = 2
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fa9be732aa645fc09adde5c84a2d07e0f6">RCC_RING_BUFFER_SIZE</a> = 3
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fa5ac1245e18a420489083adddfa97b135">RCC_PKT_MAX_DELAY</a> = 4
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fac758a522806ada30386b262660f30617">RCC_DYN_PAYLOAD_TYPE</a> = 5
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587faece26b6edb4fc1fe6733b8fec0504b99">RCC_CLOCK_RATE</a> = 6
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fa7667fb72b42a2c11991b4879619f9f83">RCC_MTU_SIZE</a> = 7
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fa51034849ac8a4078f0c3b5198b92ab54">RCC_FPS_NUMERATOR</a> = 8
|
|
, <br />
|
|
  <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587fa9e60e576f72eafe6219cd9f0a9615ce9">RCC_FPS_DENOMINATOR</a> = 9
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:aa98d9238629e33567e73af0d239e587f"><td class="mdescLeft"> </td><td class="mdescRight">RTP context configuration flags. <a href="util_8hh.html#aa98d9238629e33567e73af0d239e587f">More...</a><br /></td></tr>
|
|
<tr class="separator:aa98d9238629e33567e73af0d239e587f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:a8d98cb8c9cc43ca88d9abba6d2d3529a"><td class="memItemLeft" align="right" valign="top"><a id="a8d98cb8c9cc43ca88d9abba6d2d3529a" name="a8d98cb8c9cc43ca88d9abba6d2d3529a"></a>
|
|
thread_local rtp_error_t </td><td class="memItemRight" valign="bottom"><b>rtp_errno</b></td></tr>
|
|
<tr class="separator:a8d98cb8c9cc43ca88d9abba6d2d3529a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a id="aa98d9238629e33567e73af0d239e587f" name="aa98d9238629e33567e73af0d239e587f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa98d9238629e33567e73af0d239e587f">◆ </a></span>RTP_CTX_CONFIGURATION_FLAGS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="util_8hh.html#aa98d9238629e33567e73af0d239e587f">RTP_CTX_CONFIGURATION_FLAGS</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>RTP context configuration flags. </p>
|
|
<p >These flags are given to <a class="el" href="classuvgrtp_1_1media__stream.html#a2cee4fe3bf423ec317b4a3eacc136238" title="Configure the media stream, see RTP_CTX_CONFIGURATION_FLAGS for more details.">uvgrtp::media_stream::configure_ctx</a> </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fac52afca9d1a8c24b1a788bc5b8524663" name="aa98d9238629e33567e73af0d239e587fac52afca9d1a8c24b1a788bc5b8524663"></a>RCC_UDP_RCV_BUF_SIZE </td><td class="fielddoc"><p >How large is the receiver UDP buffer size</p>
|
|
<p >Default value is 4 MB</p>
|
|
<p >For video with high bitrate (100+ fps 4K), it is advisable to set this to a high number to prevent OS from dropping packets </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fad4eba6c62183db35dd4bd0e09ddd107b" name="aa98d9238629e33567e73af0d239e587fad4eba6c62183db35dd4bd0e09ddd107b"></a>RCC_UDP_SND_BUF_SIZE </td><td class="fielddoc"><p >How large is the sender UDP buffer size</p>
|
|
<p >Default value is 4 MB</p>
|
|
<p >For video with high bitrate (100+ fps 4K), it is advisable to set this to a high number to prevent OS from dropping packets </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fa9be732aa645fc09adde5c84a2d07e0f6" name="aa98d9238629e33567e73af0d239e587fa9be732aa645fc09adde5c84a2d07e0f6"></a>RCC_RING_BUFFER_SIZE </td><td class="fielddoc"><p >How large is the uvgRTP receiver ring buffer</p>
|
|
<p >Default value is 4 MB</p>
|
|
<p >For video with high bitrate (100+ fps 4K), it is advisable to set this to a high number to prevent uvgRTP from overwriting previous packets </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fa5ac1245e18a420489083adddfa97b135" name="aa98d9238629e33567e73af0d239e587fa5ac1245e18a420489083adddfa97b135"></a>RCC_PKT_MAX_DELAY </td><td class="fielddoc"><p >How many milliseconds is each frame waited for until it is considered lost.</p>
|
|
<p >Default is 500 milliseconds</p>
|
|
<p >This is valid only for fragmented frames, i.e. RTP_FORMAT_H26X and RTP_FORMAT_GENERIC with RCE_FRAGMENT_GENERIC (TODO) </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fac758a522806ada30386b262660f30617" name="aa98d9238629e33567e73af0d239e587fac758a522806ada30386b262660f30617"></a>RCC_DYN_PAYLOAD_TYPE </td><td class="fielddoc"><p >Change uvgRTP's default payload number in RTP header </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587faece26b6edb4fc1fe6733b8fec0504b99" name="aa98d9238629e33567e73af0d239e587faece26b6edb4fc1fe6733b8fec0504b99"></a>RCC_CLOCK_RATE </td><td class="fielddoc"><p >Change uvgRTP's clock rate in RTP header and RTP timestamp calculations </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fa7667fb72b42a2c11991b4879619f9f83" name="aa98d9238629e33567e73af0d239e587fa7667fb72b42a2c11991b4879619f9f83"></a>RCC_MTU_SIZE </td><td class="fielddoc"><p >Set a maximum value for the Ethernet frame size assumed by uvgRTP.</p>
|
|
<p >Default is 1492, from this IPv4 and UDP, and RTP headers are removed, giving a payload size of 1452 bytes.</p>
|
|
<p >If application wishes to use small UDP datagram, it can set MTU size to, for example, 500 bytes or if it wishes to use jumbo frames, it can set the MTU size to 9000 bytes </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fa51034849ac8a4078f0c3b5198b92ab54" name="aa98d9238629e33567e73af0d239e587fa51034849ac8a4078f0c3b5198b92ab54"></a>RCC_FPS_NUMERATOR </td><td class="fielddoc"><p >Set the numerator of frame rate used by uvgRTP.</p>
|
|
<p >Default is 30.</p>
|
|
<p >Setting the fps for uvgRTP serves two possible functions:</p>
|
|
<p >1) if RCE_FRAME_RATE has been set, the fps is enforced and uvgRTP tries to send frames at this exact frame rate,</p>
|
|
<p >2) if RCE_PACE_FRAGMENT_SENDING has been set, the fragments are set at a constant pace spaced out evenly within frame interval </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa98d9238629e33567e73af0d239e587fa9e60e576f72eafe6219cd9f0a9615ce9" name="aa98d9238629e33567e73af0d239e587fa9e60e576f72eafe6219cd9f0a9615ce9"></a>RCC_FPS_DENOMINATOR </td><td class="fielddoc"><p >Set the denominator of frame rate used by uvgRTP.</p>
|
|
<p >Default is 1</p>
|
|
<p >See RCC_FPS_NUMERATOR for more info. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="util_8hh_source.html#l00287">287</a> of file <a class="el" href="util_8hh_source.html">util.hh</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a15b2d6364db6065a482c99827f4bd2af" name="a15b2d6364db6065a482c99827f4bd2af"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a15b2d6364db6065a482c99827f4bd2af">◆ </a></span>RTP_CTX_ENABLE_FLAGS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="util_8hh.html#a15b2d6364db6065a482c99827f4bd2af">RTP_CTX_ENABLE_FLAGS</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>RTP context enable flags. </p>
|
|
<p >These flags are passed to <a class="el" href="classuvgrtp_1_1session.html#a0b9fb48e95cbfdb76fd9f61e8cafe8e4" title="Create a uni- or bidirectional media stream.">uvgrtp::session::create_stream</a> and can be OR'ed together </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa4952226c012292c16fe04477f76e5bcb" name="a15b2d6364db6065a482c99827f4bd2afa4952226c012292c16fe04477f76e5bcb"></a>RCE_NO_FLAGS </td><td class="fielddoc"><p >Use this if you have no RCE flags. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa6bb67e1962af60c05c6062fb6f1df374" name="a15b2d6364db6065a482c99827f4bd2afa6bb67e1962af60c05c6062fb6f1df374"></a>RCE_SEND_ONLY </td><td class="fielddoc"><p >address/port interpreted as remote, no binding to local socket </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afaf89817eda89d32c43e18ed0645ac4d73" name="a15b2d6364db6065a482c99827f4bd2afaf89817eda89d32c43e18ed0645ac4d73"></a>RCE_RECEIVE_ONLY </td><td class="fielddoc"><p >address/port interpreted as local, sending not possible </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afaf235cba606675b9c38284ee1a491696b" name="a15b2d6364db6065a482c99827f4bd2afaf235cba606675b9c38284ee1a491696b"></a>RCE_SRTP </td><td class="fielddoc"><p >Use SRTP for this connection </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa40a3deab3893524daf7e057c6dfdaa75" name="a15b2d6364db6065a482c99827f4bd2afa40a3deab3893524daf7e057c6dfdaa75"></a>RCE_SRTP_KMNGMNT_ZRTP </td><td class="fielddoc"><p >Use ZRTP for key management</p>
|
|
<p >If this flag is provided, before the session starts, ZRTP will negotiate keys with the remote participants and these keys are used as salting/keying material for the session.</p>
|
|
<p >This flag must be coupled with RCE_SRTP and is mutually exclusive with RCE_SRTP_KMNGMNT_USER. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa4722105b4fd34467a56b8aca8fc03773" name="a15b2d6364db6065a482c99827f4bd2afa4722105b4fd34467a56b8aca8fc03773"></a>RCE_SRTP_KMNGMNT_USER </td><td class="fielddoc"><p >Use user-defined way to manage keys</p>
|
|
<p >If this flag is provided, before the media transportation starts, user must provide a master key and salt form which SRTP session keys are derived</p>
|
|
<p >This flag must be coupled with RCE_SRTP and is mutually exclusive with RCE_SRTP_KMNGMNT_ZRTP </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa877835beb990d36f59f4d9c1d61d2c35" name="a15b2d6364db6065a482c99827f4bd2afa877835beb990d36f59f4d9c1d61d2c35"></a>RCE_NO_H26X_PREPEND_SC </td><td class="fielddoc"><p >By default, uvgRTP restores the stream by prepending 3 or 4 byte start code to each received H26x frame, so there is no difference with sender input. You can remove start code prefix with this flag </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa121da451fe2a4008cec78ac4642399b2" name="a15b2d6364db6065a482c99827f4bd2afa121da451fe2a4008cec78ac4642399b2"></a>RCE_H26X_DEPENDENCY_ENFORCEMENT </td><td class="fielddoc"><p >Use this flag to discard inter frames that don't have their previous dependencies arrived. Does not work if the dependencies are not in monotonic order. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa5b0a8dbb22c20ebe8c0711541fb68a79" name="a15b2d6364db6065a482c99827f4bd2afa5b0a8dbb22c20ebe8c0711541fb68a79"></a>RCE_FRAGMENT_GENERIC </td><td class="fielddoc"><p >Fragment frames into RTP packets of MTU size (1492 bytes).</p>
|
|
<p >Some RTP profiles define fragmentation by setting the marker bit indicating the last fragment of the frame. You can enable this functionality using this flag at both sender and receiver. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa9e41141dacd18def5ab83e9f671f4263" name="a15b2d6364db6065a482c99827f4bd2afa9e41141dacd18def5ab83e9f671f4263"></a>RCE_SYSTEM_CALL_CLUSTERING </td><td class="fielddoc"><p >Enable System Call Clustering (SCC). Sender side flag.</p>
|
|
<p >The benefit of SCC is reduced CPU usage at the sender, but its cost is increased chance of losing frames at the receiving end due to too many packets arriving at once. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa4ddec7d182cec161d6b582589bc9baba" name="a15b2d6364db6065a482c99827f4bd2afa4ddec7d182cec161d6b582589bc9baba"></a>RCE_SRTP_NULL_CIPHER </td><td class="fielddoc"><p >Disable RTP payload encryption </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa820625b96886d955bc42e0cbc52cdd1e" name="a15b2d6364db6065a482c99827f4bd2afa820625b96886d955bc42e0cbc52cdd1e"></a>RCE_SRTP_AUTHENTICATE_RTP </td><td class="fielddoc"><p >Enable RTP packet authentication</p>
|
|
<p >This flag forces the security layer to add authentication tag to each outgoing RTP packet for all streams that have SRTP enabled.</p>
|
|
<p >NOTE: this flag must be coupled with at least RCE_SRTP </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afaddd5fdb170d7cc194e4165d3f9e9a1c1" name="a15b2d6364db6065a482c99827f4bd2afaddd5fdb170d7cc194e4165d3f9e9a1c1"></a>RCE_SRTP_REPLAY_PROTECTION </td><td class="fielddoc"><p >Enable packet replay protection </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afab1342138e5af3f03d6eaf1378382bf3d" name="a15b2d6364db6065a482c99827f4bd2afab1342138e5af3f03d6eaf1378382bf3d"></a>RCE_RTCP </td><td class="fielddoc"><p >Enable RTCP for the media stream. If SRTP is enabled, SRTCP is used instead </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa8e66f45819774772a0156647d3788a95" name="a15b2d6364db6065a482c99827f4bd2afa8e66f45819774772a0156647d3788a95"></a>RCE_HOLEPUNCH_KEEPALIVE </td><td class="fielddoc"><p >If the Mediastream object is used as a unidirectional stream but holepunching has been enabled, this flag can be used to make uvgRTP periodically send a short UDP datagram to keep the hole in the firewall open </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afaedeac11cc80833b61b51ae32f787db73" name="a15b2d6364db6065a482c99827f4bd2afaedeac11cc80833b61b51ae32f787db73"></a>RCE_SRTP_KEYSIZE_192 </td><td class="fielddoc"><p >Use 192-bit keys with SRTP, only user key management is supported </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa163744fe7c054b8396a4a07ae82a80c0" name="a15b2d6364db6065a482c99827f4bd2afa163744fe7c054b8396a4a07ae82a80c0"></a>RCE_SRTP_KEYSIZE_256 </td><td class="fielddoc"><p >Use 256-bit keys with SRTP, only user key management is supported </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa3afca34d8e1e5e856113a0fa32de03c6" name="a15b2d6364db6065a482c99827f4bd2afa3afca34d8e1e5e856113a0fa32de03c6"></a>RCE_ZRTP_MULTISTREAM_NO_DH </td><td class="fielddoc"><p >Select which ZRTP stream does not perform Diffie-Hellman negotiation </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afae175f37ce4fdc6e7d9e01d200b8d9abc" name="a15b2d6364db6065a482c99827f4bd2afae175f37ce4fdc6e7d9e01d200b8d9abc"></a>RCE_FRAME_RATE </td><td class="fielddoc"><p >Force uvgRTP to send packets at certain framerate (default 30 fps) </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a15b2d6364db6065a482c99827f4bd2afa836063a6ef3da262d0805cf1571ab35c" name="a15b2d6364db6065a482c99827f4bd2afa836063a6ef3da262d0805cf1571ab35c"></a>RCE_PACE_FRAGMENT_SENDING </td><td class="fielddoc"><p >Paces the sending of frame fragments within frame interval (default 1/30 s) </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="util_8hh_source.html#l00164">164</a> of file <a class="el" href="util_8hh_source.html">util.hh</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa6dc3f3578923d1afc40045e4cbe387b" name="aa6dc3f3578923d1afc40045e4cbe387b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa6dc3f3578923d1afc40045e4cbe387b">◆ </a></span>RTP_ERROR</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="util_8hh.html#aa6dc3f3578923d1afc40045e4cbe387b">RTP_ERROR</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>RTP error codes. </p>
|
|
<p >These error valus are returned from various uvgRTP functions. Functions that return a pointer set rtp_errno global value that should be checked if a function call failed </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba0d701531b2bb1c027f5e5bcc64ed29e1" name="aa6dc3f3578923d1afc40045e4cbe387ba0d701531b2bb1c027f5e5bcc64ed29e1"></a>RTP_OK </td><td class="fielddoc"><p >Success. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387bafde486de26be732acf472480e3693b19" name="aa6dc3f3578923d1afc40045e4cbe387bafde486de26be732acf472480e3693b19"></a>RTP_GENERIC_ERROR </td><td class="fielddoc"><p >Generic error condition. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387bab392a7774c551eed903855248760ad06" name="aa6dc3f3578923d1afc40045e4cbe387bab392a7774c551eed903855248760ad06"></a>RTP_SOCKET_ERROR </td><td class="fielddoc"><p >Failed to create socket. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba000c0166a0c38686389fc2eba0ddc458" name="aa6dc3f3578923d1afc40045e4cbe387ba000c0166a0c38686389fc2eba0ddc458"></a>RTP_BIND_ERROR </td><td class="fielddoc"><p >Failed to bind to interface. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba4cdd3c5db294a4f05294b264afbf678b" name="aa6dc3f3578923d1afc40045e4cbe387ba4cdd3c5db294a4f05294b264afbf678b"></a>RTP_INVALID_VALUE </td><td class="fielddoc"><p >Invalid value. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba6c47e86944dbed4d33531236a6e28079" name="aa6dc3f3578923d1afc40045e4cbe387ba6c47e86944dbed4d33531236a6e28079"></a>RTP_SEND_ERROR </td><td class="fielddoc"><p >System call send(2) or one of its derivatives failed. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387bac54e582250aec15bf2aea189ccbb0348" name="aa6dc3f3578923d1afc40045e4cbe387bac54e582250aec15bf2aea189ccbb0348"></a>RTP_MEMORY_ERROR </td><td class="fielddoc"><p >Memory allocation failed. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba80aa5b74c1e252c2ef49e0796d4183d3" name="aa6dc3f3578923d1afc40045e4cbe387ba80aa5b74c1e252c2ef49e0796d4183d3"></a>RTP_SSRC_COLLISION </td><td class="fielddoc"><p >SSRC collision detected. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba0759e9bb74c7a15ef09513547ed5cc2a" name="aa6dc3f3578923d1afc40045e4cbe387ba0759e9bb74c7a15ef09513547ed5cc2a"></a>RTP_INITIALIZED </td><td class="fielddoc"><p >Object already initialized. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba32d67254c4da35568e7007ec3825f98a" name="aa6dc3f3578923d1afc40045e4cbe387ba32d67254c4da35568e7007ec3825f98a"></a>RTP_NOT_INITIALIZED </td><td class="fielddoc"><p >Object has not been initialized. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba756d5cd372b045f069a493ed2f2cfa22" name="aa6dc3f3578923d1afc40045e4cbe387ba756d5cd372b045f069a493ed2f2cfa22"></a>RTP_NOT_SUPPORTED </td><td class="fielddoc"><p >Method/version/extension not supported. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387baa499befa487c22503360adffc590f33b" name="aa6dc3f3578923d1afc40045e4cbe387baa499befa487c22503360adffc590f33b"></a>RTP_RECV_ERROR </td><td class="fielddoc"><p >System call recv(2) or one of its derivatives failed. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387bacb40716d1ab0663c0cce56f6d03f0902" name="aa6dc3f3578923d1afc40045e4cbe387bacb40716d1ab0663c0cce56f6d03f0902"></a>RTP_TIMEOUT </td><td class="fielddoc"><p >Operation timed out. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba0a18f9856d2dd5890bb6ec25e4acf631" name="aa6dc3f3578923d1afc40045e4cbe387ba0a18f9856d2dd5890bb6ec25e4acf631"></a>RTP_NOT_FOUND </td><td class="fielddoc"><p >Object not found. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa6dc3f3578923d1afc40045e4cbe387ba6d62ec0a7250a3db7c0f3a13280ecc65" name="aa6dc3f3578923d1afc40045e4cbe387ba6d62ec0a7250a3db7c0f3a13280ecc65"></a>RTP_AUTH_TAG_MISMATCH </td><td class="fielddoc"><p >Authentication tag does not match the RTP packet contents. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="util_8hh_source.html#l00030">30</a> of file <a class="el" href="util_8hh_source.html">util.hh</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af03a75996471fc531742cd640c7caf2d" name="af03a75996471fc531742cd640c7caf2d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af03a75996471fc531742cd640c7caf2d">◆ </a></span>RTP_FLAGS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="util_8hh.html#af03a75996471fc531742cd640c7caf2d">RTP_FLAGS</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>These flags are given to <a class="el" href="classuvgrtp_1_1media__stream.html#a157e9973d92b65e82914d4028690c770" title="Send data to remote participant with a custom timestamp.">uvgrtp::media_stream::push_frame()</a> and they can be OR'ed together. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af03a75996471fc531742cd640c7caf2da084c095dae54bbbc6d9509568c58f9a6" name="af03a75996471fc531742cd640c7caf2da084c095dae54bbbc6d9509568c58f9a6"></a>RTP_NO_FLAGS </td><td class="fielddoc"><p >Use this if you have no RTP flags. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="af03a75996471fc531742cd640c7caf2dab1d5797a23c37a33168046a2ae6aef6a" name="af03a75996471fc531742cd640c7caf2dab1d5797a23c37a33168046a2ae6aef6a"></a>RTP_COPY </td><td class="fielddoc"><p >Make a copy of the frame and perform operation on the copy. Cannot be used with unique_ptr. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="af03a75996471fc531742cd640c7caf2dafd917713b62c18d5fa4106e42f3fbde8" name="af03a75996471fc531742cd640c7caf2dafd917713b62c18d5fa4106e42f3fbde8"></a>RTP_NO_H26X_SCL </td><td class="fielddoc"><p >By default, uvgRTP searches for start code prefixes (0x000001 or 0x00000001) from the frame to divide NAL units and remove the prefix. If you instead want to provide the NAL units without the start code prefix yourself, you may use this flag to disable Start Code Lookup (SCL) and the frames will be treated as send-ready NAL units. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="util_8hh_source.html#l00136">136</a> of file <a class="el" href="util_8hh_source.html">util.hh</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a313c6640ac5ed9384184a94ec57a9a96" name="a313c6640ac5ed9384184a94ec57a9a96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a313c6640ac5ed9384184a94ec57a9a96">◆ </a></span>RTP_FORMAT</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="util_8hh.html#a313c6640ac5ed9384184a94ec57a9a96">RTP_FORMAT</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>These flags are given to <a class="el" href="classuvgrtp_1_1session.html#a0b9fb48e95cbfdb76fd9f61e8cafe8e4" title="Create a uni- or bidirectional media stream.">uvgrtp::session::create_stream()</a> </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96ad4b1be929d880baa2c2ca85c614f61b9" name="a313c6640ac5ed9384184a94ec57a9a96ad4b1be929d880baa2c2ca85c614f61b9"></a>RTP_FORMAT_GENERIC </td><td class="fielddoc"><p >Same as PCMU. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a12448ad5b424a2f6d5028a7fd06019b7" name="a313c6640ac5ed9384184a94ec57a9a96a12448ad5b424a2f6d5028a7fd06019b7"></a>RTP_FORMAT_PCMU </td><td class="fielddoc"><p >PCMU, ITU-T G.711. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96aa6d4ba4fb63005fac69fa371fdf18a68" name="a313c6640ac5ed9384184a94ec57a9a96aa6d4ba4fb63005fac69fa371fdf18a68"></a>RTP_FORMAT_GSM </td><td class="fielddoc"><p >GSM (Group Speciale Mobile) </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96aa97d1880bfcfba08dfef863dc82426d1" name="a313c6640ac5ed9384184a94ec57a9a96aa97d1880bfcfba08dfef863dc82426d1"></a>RTP_FORMAT_G723 </td><td class="fielddoc"><p >G723. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96abf1f20482ba40b0a4161f339978c65c8" name="a313c6640ac5ed9384184a94ec57a9a96abf1f20482ba40b0a4161f339978c65c8"></a>RTP_FORMAT_DVI4_32 </td><td class="fielddoc"><p >DVI 32 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96ae0cb5522bf562899f9001adeb669f3ef" name="a313c6640ac5ed9384184a94ec57a9a96ae0cb5522bf562899f9001adeb669f3ef"></a>RTP_FORMAT_DVI4_64 </td><td class="fielddoc"><p >DVI 64 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a61c2e69b79b0fd2a8fd0bb24fb359ecd" name="a313c6640ac5ed9384184a94ec57a9a96a61c2e69b79b0fd2a8fd0bb24fb359ecd"></a>RTP_FORMAT_LPC </td><td class="fielddoc"><p >LPC. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a518313e0a5342ff1b5b79ead46791b2e" name="a313c6640ac5ed9384184a94ec57a9a96a518313e0a5342ff1b5b79ead46791b2e"></a>RTP_FORMAT_PCMA </td><td class="fielddoc"><p >PCMA. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a2240ad1204186f7c34aacfb27673e692" name="a313c6640ac5ed9384184a94ec57a9a96a2240ad1204186f7c34aacfb27673e692"></a>RTP_FORMAT_G722 </td><td class="fielddoc"><p >G722. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a1de81aee545949cf4609fe3cca3ab1b8" name="a313c6640ac5ed9384184a94ec57a9a96a1de81aee545949cf4609fe3cca3ab1b8"></a>RTP_FORMAT_L16_STEREO </td><td class="fielddoc"><p >L16 Stereo. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a4c34cf9ef36a41ba3565b0e3f6ea534a" name="a313c6640ac5ed9384184a94ec57a9a96a4c34cf9ef36a41ba3565b0e3f6ea534a"></a>RTP_FORMAT_L16_MONO </td><td class="fielddoc"><p >L16 Mono. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a0f194f13a6b06211c1411caf0a454313" name="a313c6640ac5ed9384184a94ec57a9a96a0f194f13a6b06211c1411caf0a454313"></a>RTP_FORMAT_G728 </td><td class="fielddoc"><p >G728. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96aa4e91d147dcc0696bae592e0de3ae295" name="a313c6640ac5ed9384184a94ec57a9a96aa4e91d147dcc0696bae592e0de3ae295"></a>RTP_FORMAT_DVI4_441 </td><td class="fielddoc"><p >DVI 44.1 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96abb0d59c256c7ed6b0f78aff67f89ac18" name="a313c6640ac5ed9384184a94ec57a9a96abb0d59c256c7ed6b0f78aff67f89ac18"></a>RTP_FORMAT_DVI4_882 </td><td class="fielddoc"><p >DVI 88.2 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a78da373e5b8fb9a83e28f5b8b715ca19" name="a313c6640ac5ed9384184a94ec57a9a96a78da373e5b8fb9a83e28f5b8b715ca19"></a>RTP_FORMAT_G729 </td><td class="fielddoc"><p >G729, 8 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96af260843177efa05d95f98d30499db683" name="a313c6640ac5ed9384184a94ec57a9a96af260843177efa05d95f98d30499db683"></a>RTP_FORMAT_G726_40 </td><td class="fielddoc"><p >G726, 40 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a266862cd2289619b5c4de4c259a32785" name="a313c6640ac5ed9384184a94ec57a9a96a266862cd2289619b5c4de4c259a32785"></a>RTP_FORMAT_G726_32 </td><td class="fielddoc"><p >G726, 32 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a8635bcd6f336c19271e7ea20eb9111cf" name="a313c6640ac5ed9384184a94ec57a9a96a8635bcd6f336c19271e7ea20eb9111cf"></a>RTP_FORMAT_G726_24 </td><td class="fielddoc"><p >G726, 24 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96ae118651d66f3af54be3094e7e71336c7" name="a313c6640ac5ed9384184a94ec57a9a96ae118651d66f3af54be3094e7e71336c7"></a>RTP_FORMAT_G726_16 </td><td class="fielddoc"><p >G726, 16 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96af2981123dc924d80ed50371625927f58" name="a313c6640ac5ed9384184a94ec57a9a96af2981123dc924d80ed50371625927f58"></a>RTP_FORMAT_G729D </td><td class="fielddoc"><p >G729D, 6.4 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96adba054e696e9d57d316c598618580a63" name="a313c6640ac5ed9384184a94ec57a9a96adba054e696e9d57d316c598618580a63"></a>RTP_FORMAT_G729E </td><td class="fielddoc"><p >G729E, 11.8 kbit/s. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a4e41697a659bea307ca6387330d5b9ed" name="a313c6640ac5ed9384184a94ec57a9a96a4e41697a659bea307ca6387330d5b9ed"></a>RTP_FORMAT_GSM_EFR </td><td class="fielddoc"><p >GSM enhanced full rate speech transcoding. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96abee7466b11e455f2f2362dc39e61c6a8" name="a313c6640ac5ed9384184a94ec57a9a96abee7466b11e455f2f2362dc39e61c6a8"></a>RTP_FORMAT_L8 </td><td class="fielddoc"><p >L8, linear audio data samples. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a91525c8b53f821a6644803967be0e3ed" name="a313c6640ac5ed9384184a94ec57a9a96a91525c8b53f821a6644803967be0e3ed"></a>RTP_FORMAT_VDVI </td><td class="fielddoc"><p >VDVI, variable-rate DVI4. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a4e6ef095b4645cdc8aef241aad1f974b" name="a313c6640ac5ed9384184a94ec57a9a96a4e6ef095b4645cdc8aef241aad1f974b"></a>RTP_FORMAT_OPUS </td><td class="fielddoc"><p >Opus, see RFC 7587. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96ad785025a8de9a53f17dc84ec3eed85bd" name="a313c6640ac5ed9384184a94ec57a9a96ad785025a8de9a53f17dc84ec3eed85bd"></a>RTP_FORMAT_H264 </td><td class="fielddoc"><p >H.264/AVC, see RFC 6184. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a4ee0ab7d51bf50f8f5a5cb995ecc407b" name="a313c6640ac5ed9384184a94ec57a9a96a4ee0ab7d51bf50f8f5a5cb995ecc407b"></a>RTP_FORMAT_H265 </td><td class="fielddoc"><p >H.265/HEVC, see RFC 7798. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a313c6640ac5ed9384184a94ec57a9a96a0e3d0414b29804783324399c8a42c85d" name="a313c6640ac5ed9384184a94ec57a9a96a0e3d0414b29804783324399c8a42c85d"></a>RTP_FORMAT_H266 </td><td class="fielddoc"><p >H.266/VVC. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="util_8hh_source.html#l00062">62</a> of file <a class="el" href="util_8hh_source.html">util.hh</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|