mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
codec corrections
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@147 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
20781470dc
commit
0a71f4a6e1
17
xep-0167.xml
17
xep-0167.xml
@ -133,16 +133,13 @@
|
||||
<p>The encodings SHOULD be provided in order of preference.</p>
|
||||
<example caption="Audio Description Format"><![CDATA[
|
||||
<description xmlns='http://jabber.org/protocol/jingle/description/audio'>
|
||||
<payload-type id='96' name='SPEEX' clockrate='16000'/>
|
||||
<payload-type id='97' name='SPEEX' clockrate='8000'/>
|
||||
<payload-type id='96' name='speex' clockrate='16000'/>
|
||||
<payload-type id='97' name='speex' clockrate='8000'/>
|
||||
<payload-type id='18' name='G729'/>
|
||||
<payload-type id='99' name='IPCMWB'/>
|
||||
<payload-type id='103' name='L16' clockrate='16000' channels='2'/>
|
||||
<payload-type id='98' name='ISAC' clockrate='8000'/>
|
||||
<payload-type id='98' name='x-ISAC' clockrate='8000'/>
|
||||
<payload-type id='102' name='iLBC'/>
|
||||
<payload-type id='4' name='G723'/>
|
||||
<payload-type id='100' name='EG711U'/>
|
||||
<payload-type id='101' name='EG711A'/>
|
||||
<payload-type id='0' name='PCMU' clockrate='16000'/>
|
||||
<payload-type id='8' name='PCMA'/>
|
||||
<payload-type id='13' name='CN'/>
|
||||
@ -238,22 +235,22 @@ m=audio 9999 RTP/AVP 13
|
||||
<p>If the payload type is dynamic (payload-type IDs 96 through 127 inclusive), it SHOULD be mapped to an SDP media field plus an SDP attribute field named "rtpmap".</p>
|
||||
<p>For example, consider a payload of 16-bit linear-encoded stereo audio sampled at 16KHz associated with dynamic payload-type 98:</p>
|
||||
<example caption="Jingle Format for Dynamic Payload-Type"><![CDATA[
|
||||
<payload-type id='96' name='SPEEX' clockrate='16000'/>
|
||||
<payload-type id='96' name='speex' clockrate='16000'/>
|
||||
]]></example>
|
||||
<example caption="SDP Mapping of Dynamic Payload-Type"><![CDATA[
|
||||
m=audio 9999 RTP/AVP 96
|
||||
a=rtpmap:96 SPEEX/16000
|
||||
a=rtpmap:96 speex/16000
|
||||
]]></example>
|
||||
<p>As noted, if additional parameters are to be specified, they shall be represented as attributes of the <payload-type/> element or of the child <parameter/> element, as in the following example.</p>
|
||||
<example caption="Jingle Format for Dynamic Payload-Type With Parameters"><![CDATA[
|
||||
<payload-type id='96' name='SPEEX' clockrate='16000' ptime='40'>
|
||||
<payload-type id='96' name='speex' clockrate='16000' ptime='40'>
|
||||
<parameter name='vbr' value='on'/>
|
||||
<parameter name='cng' value='on'/>
|
||||
</payload-type>
|
||||
]]></example>
|
||||
<example caption="SDP Mapping of Dynamic Payload-Type With Parameters"><![CDATA[
|
||||
m=audio 9999 RTP/AVP 96
|
||||
a=rtpmap:96 SPEEX/16000
|
||||
a=rtpmap:96 speex/16000
|
||||
a=ptime:40
|
||||
a=fmtp:96 vbr=on;cng=on
|
||||
]]></example>
|
||||
|
Loading…
Reference in New Issue
Block a user