⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__osip__rfc3264.html

📁 关于OSIP协议栈开发的一个很有用的东东~~~
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>libosip: oSIP sdp negotiation facility.</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div><h1>oSIP sdp negotiation facility.<br><small>[<a class="el" href="group__osip2__sdp.html">The SDP modules</a>]</small></h1><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structosip__rfc3264.html">osip_rfc3264</a></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga25">MAX_AUDIO_CODECS</a>&nbsp;&nbsp;&nbsp;100</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga26">MAX_VIDEO_CODECS</a>&nbsp;&nbsp;&nbsp;100</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga27">MAX_T38_CODECS</a>&nbsp;&nbsp;&nbsp;2</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga28">MAX_APP_CODECS</a>&nbsp;&nbsp;&nbsp;100</td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga0">osip_rfc3264_init</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> **config)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga1">osip_rfc3264_free</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga2">osip_rfc3264_endof_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga3">osip_rfc3264_get</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga4">osip_rfc3264_remove</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga5">osip_rfc3264_reset_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga6">osip_rfc3264_add_audio_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__media.html">sdp_media_t</a> *med, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga7">osip_rfc3264_del_audio_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga8">osip_rfc3264_add_t38_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__media.html">sdp_media_t</a> *med, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga9">osip_rfc3264_del_t38_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga10">osip_rfc3264_add_video_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__media.html">sdp_media_t</a> *med, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga11">osip_rfc3264_del_video_media</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, int pos)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga12">osip_rfc3264_find_audio</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, char *payload, char *rtpmap)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga13">osip_rfc3264_find_video</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, char *payload, char *rtpmap)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga14">osip_rfc3264_find_t38</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, char *payload)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga15">osip_rfc3264_find_app</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, char *payload)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga16">osip_rfc3264_match</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__media.html">sdp_media_t</a> *audio_tab[], <a class="el" href="structsdp__media.html">sdp_media_t</a> *video_tab[], <a class="el" href="structsdp__media.html">sdp_media_t</a> *t38_tab[], <a class="el" href="structsdp__media.html">sdp_media_t</a> *app_tab[], int pos_media)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga17">osip_rfc3264_match_audio</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__media.html">sdp_media_t</a> *remote_med, <a class="el" href="structsdp__media.html">sdp_media_t</a> *audio_tab[])</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga18">osip_rfc3264_match_video</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__media.html">sdp_media_t</a> *remote_med, <a class="el" href="structsdp__media.html">sdp_media_t</a> *video_tab[])</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga19">osip_rfc3264_match_t38</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__media.html">sdp_media_t</a> *remote_med, <a class="el" href="structsdp__media.html">sdp_media_t</a> *t38_tab[])</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga20">osip_rfc3264_match_app</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__media.html">sdp_media_t</a> *remote_med, <a class="el" href="structsdp__media.html">sdp_media_t</a> *app_tab[])</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga21">osip_rfc3264_prepare_answer</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, char *local_sdp, int length)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga22">osip_rfc3264_complete_answer</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__message.html">sdp_message_t</a> *local_sdp, <a class="el" href="structsdp__media.html">sdp_media_t</a> *med, int mline)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga23">osip_rfc3264_accept_codec</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config, <a class="el" href="structsdp__media.html">sdp_media_t</a> *med, <a class="el" href="structsdp__message.html">sdp_message_t</a> *remote_sdp, <a class="el" href="structsdp__message.html">sdp_message_t</a> *local_sdp)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__rfc3264.html#ga24">__osip_rfc3264_print_codecs</a> (struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *config)</td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="ga28" doxytag="osip_rfc3264.h::MAX_APP_CODECS" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define MAX_APP_CODECS&nbsp;&nbsp;&nbsp;100          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum number of supported application config.     </td>  </tr></table><a class="anchor" name="ga25" doxytag="osip_rfc3264.h::MAX_AUDIO_CODECS" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define MAX_AUDIO_CODECS&nbsp;&nbsp;&nbsp;100          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum number of supported audio payload.     </td>  </tr></table><a class="anchor" name="ga27" doxytag="osip_rfc3264.h::MAX_T38_CODECS" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define MAX_T38_CODECS&nbsp;&nbsp;&nbsp;2          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum number of supported t38 config.     </td>  </tr></table><a class="anchor" name="ga26" doxytag="osip_rfc3264.h::MAX_VIDEO_CODECS" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define MAX_VIDEO_CODECS&nbsp;&nbsp;&nbsp;100          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum number of supported video payload.     </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga24" doxytag="osip_rfc3264.h::__osip_rfc3264_print_codecs" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int __osip_rfc3264_print_codecs           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>config</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>List supported codecs. (for debugging purpose only)<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>config</em>&nbsp;</td><td>The element to work on. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="ga23" doxytag="osip_rfc3264.h::osip_rfc3264_accept_codec" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int osip_rfc3264_accept_codec           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>config</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>med</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="structsdp__message.html">sdp_message_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>remote_sdp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="structsdp__message.html">sdp_message_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>local_sdp</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Agree to support a specific codec. This method should be called for each codec returned by osip_rfc3264_match(...)<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>config</em>&nbsp;</td><td>The element to work on. </td></tr>    <tr><td></td><td valign=top><em>med</em>&nbsp;</td><td>One of the media returned by osip_rfc3264_match </td></tr>    <tr><td></td><td valign=top><em>remote_sdp</em>&nbsp;</td><td>The remote SDP packet. </td></tr>    <tr><td></td><td valign=top><em>local_sdp</em>&nbsp;</td><td>The local SDP packet to prepare. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="ga6" doxytag="osip_rfc3264.h::osip_rfc3264_add_audio_media" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int osip_rfc3264_add_audio_media           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>config</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>med</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>pos</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Add a media (for audio) in the configuration. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>config</em>&nbsp;</td><td>The element to work on. </td></tr>    <tr><td></td><td valign=top><em>med</em>&nbsp;</td><td>The media element to add. </td></tr>    <tr><td></td><td valign=top><em>pos</em>&nbsp;</td><td>The index of the media element to add. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="ga8" doxytag="osip_rfc3264.h::osip_rfc3264_add_t38_media" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int osip_rfc3264_add_t38_media           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">struct <a class="el" href="structosip__rfc3264.html">osip_rfc3264</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>config</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="structsdp__media.html">sdp_media_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>med</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>pos</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -