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
1 changed files with 14 additions and 0 deletions

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'