summaryrefslogtreecommitdiff
path: root/spec/Call_Content_Interface_Video_Control.xml
blob: 5a11dcbae060d451c74b4d017d27749278f9c247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/Call_Content_Interface_Video_Control"
  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  <tp:copyright>Copyright © 2011 Collabora Ltd.</tp:copyright>
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
    <p>This library is free software; you can redistribute it and/or
      modify it under the terms of the GNU Lesser General Public
      License as published by the Free Software Foundation; either
      version 2.1 of the License, or (at your option) any later version.</p>

    <p>This library is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Lesser General Public License for more details.</p>

    <p>You should have received a copy of the GNU Lesser General Public
      License along with this library; if not, write to the Free Software
      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
      02110-1301, USA.</p>
  </tp:license>

  <interface name="org.freedesktop.Telepathy.Call1.Content.Interface.VideoControl">
    <tp:added version="0.25.2">(as stable API)</tp:added>
    <tp:requires interface="org.freedesktop.Telepathy.Call1.Content.Interface.Media"/>

    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
      <p>An interface that allows the connection manager to control the video
          stream.</p>
      <p>This interface is generally not needed. In cases where the connection
          manager handles the network communication and the media is transferred
          from the client to the connection manager via shared memory, it can
          sometimes be beneficial for the connection manager to be able to
          control certain aspects of the video stream.</p>
    </tp:docstring>

    <signal name="KeyFrameRequested" tp:name-for-bindings="Key_Frame_Requested">
      <tp:docstring>
        Request that the video encoder produce a new key frame as soon as
        possible.
      </tp:docstring>
    </signal>

    <tp:struct name="Video_Resolution"
      array-name="Video_Resolution_Struct">
      <tp:member type="u" name="Width">
        <tp:docstring>
          With of the video stream.
        </tp:docstring>
      </tp:member>
      <tp:member type="u" name="Height">
        <tp:docstring>
          Height of the video stream.
        </tp:docstring>
      </tp:member>
    </tp:struct>

    <property name="VideoResolution" type="(uu)" tp:type="Video_Resolution"
      access="read" tp:name-for-bindings="Video_Resolution">
      <tp:docstring>
        The resolution at which the streaming engine should be sending.

        <p>Change notification is via the
          <tp:member-ref>VideoResolutionChanged</tp:member-ref> signal.</p>
      </tp:docstring>
    </property>

    <signal name="VideoResolutionChanged"
      tp:name-for-bindings="Video_Resolution_Changed">
      <tp:docstring>
        The desired video resolution has changed.
      </tp:docstring>
      <arg type="(uu)" tp:type="Video_Resolution" name="NewResolution" />
    </signal>

    <property name="Bitrate" type="u" access="read"
      tp:name-for-bindings="Bitrate">
      <tp:docstring>
        The bitrate the streaming engine should be sending at.

        <p>Change notification is via the
          <tp:member-ref>BitrateChanged</tp:member-ref> signal.</p>
      </tp:docstring>
    </property>

    <signal name="BitrateChanged"
      tp:name-for-bindings="Bitrate_Changed">
      <tp:docstring>
        The desired bitrate has changed
      </tp:docstring>
      <arg type="u" name="NewBitrate" />
    </signal>

    <property name="Framerate" type="u" access="read"
      tp:name-for-bindings="Framerate">
      <tp:docstring>
        The framerate the streaming engine should be sending at.

        <p>Change notification is via the
          <tp:member-ref>FramerateChanged</tp:member-ref> signal.</p>
      </tp:docstring>
    </property>

    <signal name="FramerateChanged"
      tp:name-for-bindings="Framerate_Changed">
      <tp:docstring>
        The desired framerate has changed
      </tp:docstring>
      <arg type="u" name="NewFramerate" />
    </signal>

    <property name="MTU" type="u" access="read"
      tp:name-for-bindings="MTU">
      <tp:docstring>
        The Maximum Transmission Unit

        <p>Change notification is via the
          <tp:member-ref>MTUChanged</tp:member-ref> signal.</p>
      </tp:docstring>
    </property>

    <signal name="MTUChanged" tp:name-for-bindings="MTU_Changed">
      <tp:docstring>
        The Maximum Transmission Unit has changed
      </tp:docstring>
      <arg type="u" name="NewMTU" />
    </signal>

    <property name="ManualKeyFrames" type="b" access="read"
      tp:name-for-bindings="Manual_Key_Frames">
      <tp:docstring>
       Only send key frames when manually requested
      </tp:docstring>
    </property>
   </interface>
</node>