ODF

Version 3 (Adrian Georgescu, 11/04/2014 12:50 pm) → Version 4/21 (Adrian Georgescu, 11/04/2014 12:55 pm)

h1. ODF integration

h2. Signaling

h2. Media

A new MSRP media type can be created similar to file-transfer or screen sharing. See SIP SIMPLE Client SDK MSRP streams definition:

<pre>
sipsimple/streams/msrp.py
</pre>

h3. Example of a new type of stream:

<pre>
class ODFStream(MSRPStreamBase):
type = 'odf'

media_type = 'odf'
accept_types = ['application/odf+xml']
accept_wrapped_types = ['*']
</pre>

Once established, the MSRP stream can cary back and forth payloads of the types specified in the stream definition. Is up to the end-points to handle the actual payloads and match various files shared through this mechanism over the same session. The SIP session id can be used to group together various flows within the same stream.

h2. Presence

The end-points supporting this feature will advertise this capability by publishing it using SIP SIMPLE Presence. For this the end-point capabilities must be extended to support off.

<pre>
sipsimple/payloads/caps.py
</pre>

Presence