mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
XEP-0358 v0.2 -- Add <uri/> element.
This commit is contained in:
commit
b6199650d6
17
xep-0358.xml
17
xep-0358.xml
@ -25,6 +25,12 @@
|
||||
&fippo;
|
||||
&lance;
|
||||
&stpeter;
|
||||
<revision>
|
||||
<version>0.2</version>
|
||||
<date>2015-08-11</date>
|
||||
<initials>ls</initials>
|
||||
<remark><p>Add <uri/> element.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.1</version>
|
||||
<date>2015-06-29</date>
|
||||
@ -63,6 +69,7 @@
|
||||
<jinglepub xmlns='urn:xmpp:jinglepub:1'
|
||||
from='sender-jid'
|
||||
id='someid'>
|
||||
[<uri/> element for an alternate or informational URI of the content]
|
||||
[<meta/> element(s) for human-friendly information]
|
||||
[<description/> element(s) for application format(s)]
|
||||
</jinglepub>
|
||||
@ -71,6 +78,7 @@
|
||||
<p>The 'id' attribute is an opaque identifier. This attribute MUST be present, and MUST be a valid non-empty string. It uniquely identifies the published request at the session owner's JID.</p>
|
||||
<p>The <jinglepub/> element MUST contain a <description/> element qualified by the namespace of the relevant Jingle application format (e.g., <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'/> for file transfer).</p>
|
||||
<p>The <jinglepub/> element MAY contain one or more <meta/> elements qualified by the jingle-pub namespace; if more than one element is included, each element MUST have a different value for the 'xml:lang' attribute.</p>
|
||||
<p>The <jinglepub/> element MAY contain a <uri/> element which contains a URI for an alternative way to access the content, or other information about the content. The resource provided by the URI SHOULD be meaningful for clients that do not directly support the included Jingle content definitions, and accessing the URI MAY result in a different experience than initiating the published Jingle session. For example, the URI could be to a content landing page of an image hosting service from which an image could be viewed instead of directly downloading the image file.</p>
|
||||
<p>The <jinglepub/> information is typically provided via pubsub.</p>
|
||||
<p>The following example shows a possible payload for streaming of recorded audio/video sessions, here pushed out via PEP.</p>
|
||||
<example caption='Sender advertises session via PEP'><![CDATA[
|
||||
@ -251,10 +259,11 @@
|
||||
|
||||
<xs:element name='jinglepub'>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:any namespace='##other' minOccurs='1' maxOccurs='unbounded'/>
|
||||
<xs:element name='meta' type='metaElementType'/>
|
||||
</xs:sequence>
|
||||
<xs:all>
|
||||
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
|
||||
<xs:element name='meta' type='metaElementType' minOccurs='0' maxOccurs='unbounded' />
|
||||
<xs:element name='uri' type='xs:anyURI' minOccurs='0' maxOccurs='1' />
|
||||
</xs:all>
|
||||
<xs:attribute name='description' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='from' type='xs:string' use='required'/>
|
||||
<xs:attribute name='id' type='xs:string' use='required'/>
|
||||
|
Loading…
Reference in New Issue
Block a user