1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00

Add ASCII art for XEP-0358 initiation process

This commit is contained in:
Florian Schmaus 2016-05-24 16:45:02 +02:00
parent 8924a917f3
commit 8dc8708acb

View File

@ -144,6 +144,20 @@
]]></example>
</section2>
<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 &lt;start xmlns='urn:xmpp:jinglepub:1'/&gt; element. This element contains the 'id' attribute to specify which published stream to retrieve:</p>
<example caption='Receiver requests start of session'><![CDATA[
<iq type='get'