mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 04:02:20 -05:00
Add ASCII art for XEP-0358 initiation process
This commit is contained in:
parent
8924a917f3
commit
8dc8708acb
14
xep-0358.xml
14
xep-0358.xml
@ -144,6 +144,20 @@
|
|||||||
]]></example>
|
]]></example>
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic='Triggering the Stream Initiation Request' anchor='usecase.trigger'>
|
<section2 topic='Triggering the Stream Initiation Request' anchor='usecase.trigger'>
|
||||||
|
<p>In general, the process to trigger a stream initiation request is as follows:</p>
|
||||||
|
<code><![CDATA[
|
||||||
|
Initiator Responder
|
||||||
|
| |
|
||||||
|
| <start/> |
|
||||||
|
|---------------------------->|
|
||||||
|
| <starting/> |
|
||||||
|
|<----------------------------|
|
||||||
|
| session-initiate |
|
||||||
|
|<----------------------------|
|
||||||
|
| [further jingle |
|
||||||
|
| negotiation] |
|
||||||
|
|<--------------------------->|
|
||||||
|
| |]]></code>
|
||||||
<p>A potential receiver requests initiation of the session by sending an IQ-get to the sender, using the <start xmlns='urn:xmpp:jinglepub:1'/> element. This element contains the 'id' attribute to specify which published stream to retrieve:</p>
|
<p>A potential receiver requests initiation of the session by sending an IQ-get to the sender, using the <start xmlns='urn:xmpp:jinglepub:1'/> element. This element contains the 'id' attribute to specify which published stream to retrieve:</p>
|
||||||
<example caption='Receiver requests start of session'><![CDATA[
|
<example caption='Receiver requests start of session'><![CDATA[
|
||||||
<iq type='get'
|
<iq type='get'
|
||||||
|
Loading…
Reference in New Issue
Block a user