92 lines
2.6 KiB
XML
92 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<node>
|
|
|
|
<interface name='net.sourceforge.emacs_jabber.ToxSession'>
|
|
<method name='Destroy'/>
|
|
|
|
<method name='SetDefaultAudioSink'/>
|
|
|
|
<method name='SetOggVorbisAudioSource'>
|
|
<arg name='filename' direction='in' type='s'/>
|
|
</method>
|
|
|
|
<method name='AddRemoteCandidate'>
|
|
<arg name='transport' direction='in' type='a(susqsssyyss)'/>
|
|
<!-- Each element is a candidate component. (Usually each
|
|
candidate has only one component)
|
|
|
|
Struct members are:
|
|
- Candidate ID
|
|
- Component (starting from 1)
|
|
- IP number (as a string)
|
|
- Port number
|
|
- Protocol ("tcp" or "udp")
|
|
- Protocol subtype (only "RTP" supported)
|
|
- Protocol profile (only "AVP" supported)
|
|
- Preference, between 0 and 100
|
|
- Type. 0 means local, 1 means derived (e.g. through
|
|
STUN), 2 means relay
|
|
- Username (may be empty)
|
|
- Password (may be empty)
|
|
-->
|
|
</method>
|
|
|
|
<signal name="NewNativeCandidate">
|
|
<arg name="candidates" type="a(susqsssyyss)"/>
|
|
<!-- Argument as to AddRemoteCandidate -->
|
|
</signal>
|
|
|
|
<signal name="NativeCandidatesPrepared">
|
|
<arg name="candidates" type="a(susqsssyyss)"/>
|
|
<!-- Argument as to AddRemoteCandidate -->
|
|
</signal>
|
|
|
|
<method name='SetRemoteCodecs'>
|
|
<arg name='codec-list' direction='in' type='a(isyuua{ss})'/>
|
|
<!-- Each element is a codec. Struct members are:
|
|
|
|
- numeric identifier
|
|
- codec name
|
|
- media type: 0 is audio, 1 is video
|
|
- clock rate
|
|
- number of channels
|
|
- optional parameters
|
|
-->
|
|
</method>
|
|
|
|
<method name='GetLocalCodecs'>
|
|
<arg name='codec-list' direction='out' type='a(isyuua{ss})'/>
|
|
<!-- Argument as to SetRemoteCodecs -->
|
|
</method>
|
|
|
|
<method name='GetCodecIntersection'>
|
|
<arg name='codec-list' direction='out' type='a(isyuua{ss})'/>
|
|
<!-- Argument layout: see SetRemoteCodecs -->
|
|
</method>
|
|
|
|
<signal name="StateChanged">
|
|
<!-- state is one of:
|
|
0: disconnected
|
|
1: connecting
|
|
2: connected
|
|
-->
|
|
<arg name='newstate' type='y'/>
|
|
<!-- direction is one of:
|
|
0: nothing
|
|
1: send only.
|
|
2: receive only.
|
|
3: send and receive.
|
|
-->
|
|
<arg name='direction' type='y'/>
|
|
</signal>
|
|
|
|
<signal name="NewActiveCandidatePair">
|
|
<arg name="nativeCandidateId" type="s"/>
|
|
<arg name="removeCandidateId" type="s"/>
|
|
</signal>
|
|
|
|
</interface>
|
|
</node>
|