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 -->
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">
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">
18
<arg type="as" name="list" direction="out">
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">
27
<arg type="s" name="channel" direction="in">
29
<arg type="as" name="list" direction="out">
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">
38
<arg type="s" name="channel" direction="in">
40
<arg type="s" name="size" direction="in">
42
<arg type="as" name="list" direction="out">
46
<method name="getActiveDevice" tp:name-for-bindings="getActiveDevice">
47
<arg type="s" name="device" direction="out">
51
<method name="getActiveDeviceChannel" tp:name-for-bindings="getActiveDeviceChannel">
52
<arg type="s" name="channel" direction="out">
56
<method name="getActiveDeviceSize" tp:name-for-bindings="getActiveDeviceSize">
57
<arg type="s" name="size" direction="out">
61
<method name="getActiveDeviceRate" tp:name-for-bindings="getActiveDeviceRate">
62
<arg type="s" name="rate" direction="out">
66
<method name="setActiveDevice" tp:name-for-bindings="setActiveDevice">
67
<arg type="s" name="device" direction="in">
71
<method name="setActiveDeviceChannel" tp:name-for-bindings="setActiveDeviceChannel">
72
<arg type="s" name="channel" direction="in">
76
<method name="setActiveDeviceSize" tp:name-for-bindings="setActiveDeviceSize">
77
<arg type="s" name="size" direction="in">
81
<method name="setActiveDeviceRate" tp:name-for-bindings="setActiveDeviceRate">
82
<arg type="s" name="rate" direction="in">
86
<!-- Video Codec related methods -->
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">
92
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorMapStringString"/>
93
<arg type="aa{ss}" name="details" direction="out">
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">
101
<annotation name="com.trolltech.QtDBus.QtTypeName.In1" value="VectorMapStringString"/>
102
<arg type="aa{ss}" name="details" direction="in">
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>
110
<method name="stopPreview" tp:name-for-bindings="stopPreview">
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>
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>
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>
129
<arg type="s" name="shmPath">
130
<tp:docstring>The path of the newly created shared memory</tp:docstring>
132
<arg type="i" name="width">
133
<tp:docstring>The width of the video in the shared memory</tp:docstring>
135
<arg type="i" name="height">
136
<tp:docstring>The height of the video in the shared memory</tp:docstring>
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>
145
<arg type="s" name="shmPath">
146
<tp:docstring>The path of the newly created shared memory</tp:docstring>
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"/>