~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/src/dbus/video_controls-introspec.xml

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" ?>
2
 
<node name="/video_controls-introspec" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
3
 
    <interface name="org.sflphone.SFLphone.VideoControls">
4
 
        <!-- Video device methods -->
5
 
 
6
 
        <method name="getDeviceList" tp:name-for-bindings="getDeviceList">
7
 
            <tp:docstring>Returns a list of the detected v4l2 devices</tp:docstring>
8
 
            <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
9
 
            <arg type="as" name="list" direction="out">
10
 
            </arg>
11
 
        </method>
12
 
 
13
 
        <method name="getDeviceChannelList" tp:name-for-bindings="getDeviceChannelList">
14
 
            <tp:docstring>Returns a list of the channels available for a given v4l2 device</tp:docstring>
15
 
            <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
16
 
            <arg type="s" name="device" direction="in">
17
 
            </arg>
18
 
            <arg type="as" name="list" direction="out">
19
 
            </arg>
20
 
        </method>
21
 
 
22
 
        <method name="getDeviceSizeList" tp:name-for-bindings="getDeviceSizeList">
23
 
            <tp:docstring>Returns a list of the resolutions available for a given channel of a given v4l2 device</tp:docstring>
24
 
            <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
25
 
            <arg type="s" name="device" direction="in">
26
 
            </arg>
27
 
            <arg type="s" name="channel" direction="in">
28
 
            </arg>
29
 
            <arg type="as" name="list" direction="out">
30
 
            </arg>
31
 
        </method>
32
 
 
33
 
        <method name="getDeviceRateList" tp:name-for-bindings="getDeviceRateList">
34
 
           <tp:docstring>Returns a list of the framerates available for a given resolution of a given channel of a given v4l2 device</tp:docstring>
35
 
           <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
36
 
           <arg type="s" name="device" direction="in">
37
 
           </arg>
38
 
           <arg type="s" name="channel" direction="in">
39
 
           </arg>
40
 
           <arg type="s" name="size" direction="in">
41
 
           </arg>
42
 
           <arg type="as" name="list" direction="out">
43
 
           </arg>
44
 
        </method>
45
 
 
46
 
        <method name="getActiveDevice" tp:name-for-bindings="getActiveDevice">
47
 
            <arg type="s" name="device" direction="out">
48
 
            </arg>
49
 
        </method>
50
 
 
51
 
        <method name="getActiveDeviceChannel" tp:name-for-bindings="getActiveDeviceChannel">
52
 
            <arg type="s" name="channel" direction="out">
53
 
            </arg>
54
 
        </method>
55
 
 
56
 
        <method name="getActiveDeviceSize" tp:name-for-bindings="getActiveDeviceSize">
57
 
            <arg type="s" name="size" direction="out">
58
 
            </arg>
59
 
        </method>
60
 
 
61
 
        <method name="getActiveDeviceRate" tp:name-for-bindings="getActiveDeviceRate">
62
 
            <arg type="s" name="rate" direction="out">
63
 
            </arg>
64
 
        </method>
65
 
 
66
 
        <method name="setActiveDevice" tp:name-for-bindings="setActiveDevice">
67
 
            <arg type="s" name="device" direction="in">
68
 
            </arg>
69
 
        </method>
70
 
 
71
 
        <method name="setActiveDeviceChannel" tp:name-for-bindings="setActiveDeviceChannel">
72
 
            <arg type="s" name="channel" direction="in">
73
 
            </arg>
74
 
        </method>
75
 
 
76
 
        <method name="setActiveDeviceSize" tp:name-for-bindings="setActiveDeviceSize">
77
 
            <arg type="s" name="size" direction="in">
78
 
            </arg>
79
 
        </method>
80
 
 
81
 
        <method name="setActiveDeviceRate" tp:name-for-bindings="setActiveDeviceRate">
82
 
            <arg type="s" name="rate" direction="in">
83
 
            </arg>
84
 
        </method>
85
 
 
86
 
        <!-- Video Codec related methods -->
87
 
 
88
 
        <method name="getCodecs" tp:name-for-bindings="getCodecs">
89
 
            <tp:docstring>Gets the hashtable describing all the codecs and their parameters for a given account</tp:docstring>
90
 
            <arg type="s" name="accountID" direction="in">
91
 
            </arg>
92
 
            <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorMapStringString"/>
93
 
            <arg type="aa{ss}" name="details" direction="out">
94
 
            </arg>
95
 
        </method>
96
 
 
97
 
       <method name="setCodecs" tp:name-for-bindings="setCodecs">
98
 
           <tp:docstring>Sets a vector of hashtables describing codecs and their parameters for a given account, one hashtable per codec</tp:docstring>
99
 
           <arg type="s" name="accountID" direction="in">
100
 
           </arg>
101
 
           <annotation name="com.trolltech.QtDBus.QtTypeName.In1" value="VectorMapStringString"/>
102
 
           <arg type="aa{ss}" name="details" direction="in">
103
 
           </arg>
104
 
        </method>
105
 
 
106
 
        <method name="startPreview" tp:name-for-bindings="startPreview">
107
 
            <tp:docstring> Starts the video preview, which renders the active v4l2 device's video to shared memory. Useful for testing/debugging camera settings</tp:docstring>
108
 
        </method>
109
 
 
110
 
        <method name="stopPreview" tp:name-for-bindings="stopPreview">
111
 
        </method>
112
 
 
113
 
        <method name="hasPreviewStarted" tp:name-for-bindings="hasPreviewStarted">
114
 
            <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="Bool"/>
115
 
            <arg type="b" name="started" direction="out">
116
 
            <tp:docstring>Returns true if the preview has already started, false otherwise</tp:docstring>
117
 
            </arg>
118
 
        </method>
119
 
 
120
 
        <signal name="deviceEvent" tp:name-for-bindings="deviceEvent">
121
 
           <tp:docstring>Signal triggered by changes in the detected v4l2 devices, e.g. a camera being unplugged.</tp:docstring>
122
 
        </signal>
123
 
 
124
 
        <signal name="startedDecoding" tp:name-for-bindings="startedDecoding">
125
 
            <tp:docstring>Signal triggered when video is available in a shared memory buffer.</tp:docstring>
126
 
            <arg type="s" name="id">
127
 
              <tp:docstring>The ID of the call associated with the video, or "local" in the case of local video</tp:docstring>
128
 
            </arg>
129
 
            <arg type="s" name="shmPath">
130
 
              <tp:docstring>The path of the newly created shared memory</tp:docstring>
131
 
            </arg>
132
 
            <arg type="i" name="width">
133
 
              <tp:docstring>The width of the video in the shared memory</tp:docstring>
134
 
            </arg>
135
 
            <arg type="i" name="height">
136
 
              <tp:docstring>The height of the video in the shared memory</tp:docstring>
137
 
            </arg>
138
 
        </signal>
139
 
 
140
 
        <signal name="stoppedDecoding" tp:name-for-bindings="stoppedDecoding">
141
 
            <tp:docstring>Signal triggered when video is no longer available in a shared memory buffer.</tp:docstring>
142
 
            <arg type="s" name="id">
143
 
              <tp:docstring>The ID of the call associated with the video, or "local" in the case of local video</tp:docstring>
144
 
            </arg>
145
 
            <arg type="s" name="shmPath">
146
 
              <tp:docstring>The path of the newly created shared memory</tp:docstring>
147
 
            </arg>
148
 
        </signal>
149
 
 
150
 
        <method name="getCurrentCodecName" tp:name-for-bindings="getCurrentCodecName">
151
 
            <arg type="s" name="callID" direction="in"/>
152
 
            <arg type="s" name="codecName" direction="out"/>
153
 
        </method>
154
 
    </interface>
155
 
</node>