mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
Example welformedness correction.
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1057 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
5835256268
commit
d183f1cb91
@ -41,7 +41,7 @@
|
||||
<p>The <media/> element MAY also contain one or more <data/> elements for distributing the media in-band. The <data/> element MUST contain the media data encoded according to Base64 as specified in Section 4 of &rfc4648;. The <em>encoded</em> data SHOULD NOT be larger than 8 kilobytes. <note>If a stanza contains more than one <data/> element, the sending entity MUST take care not to trigger server-defined bandwidth limits.</note></p>
|
||||
<p>Each <uri/> or <data/> element MUST include a 'type' atribute that specifies the MIME type (see &rfc2045;) of the media.</p>
|
||||
<example caption='Audio Media Element'><![CDATA[
|
||||
<media xmlns='xmlns='http://www.xmpp.org/extensions/xep-0221.html#ns'>
|
||||
<media xmlns='http://www.xmpp.org/extensions/xep-0221.html#ns'>
|
||||
<uri type='audio/x-wav'>http://victim.example.com/challenges/speech.wav?F3A6292C</uri>
|
||||
<uri type='audio/ogg-speex'>http://victim.example.com/challenges/speech.ogg?F3A6292C</uri>
|
||||
<uri type='audio/mpeg'>http://victim.example.com/challenges/speech.mp3?F3A6292C</uri>
|
||||
|
Loading…
Reference in New Issue
Block a user