|
| CallStreamInterfaceMediaInterface (const QString &busName, const QString &objectPath, QObject *parent=0) |
|
| CallStreamInterfaceMediaInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0) |
|
| CallStreamInterfaceMediaInterface (Tp::DBusProxy *proxy) |
|
| CallStreamInterfaceMediaInterface (const Tp::Client::CallStreamInterface &mainInterface) |
|
| CallStreamInterfaceMediaInterface (const Tp::Client::CallStreamInterface &mainInterface, QObject *parent) |
|
Tp::PendingVariant * | requestPropertySendingState () const |
|
Tp::PendingVariant * | requestPropertyReceivingState () const |
|
Tp::PendingVariant * | requestPropertyTransport () const |
|
Tp::PendingVariant * | requestPropertyLocalCandidates () const |
|
Tp::PendingVariant * | requestPropertyLocalCredentials () const |
|
Tp::PendingVariant * | requestPropertySTUNServers () const |
|
Tp::PendingVariant * | requestPropertyRelayInfo () const |
|
Tp::PendingVariant * | requestPropertyHasServerInfo () const |
|
Tp::PendingVariant * | requestPropertyEndpoints () const |
|
Tp::PendingVariant * | requestPropertyICERestartPending () const |
|
Tp::PendingVariantMap * | requestAllProperties () const |
|
virtual | ~AbstractInterface () |
|
bool | isValid () const |
|
QString | invalidationReason () const |
|
QString | invalidationMessage () const |
|
void | setMonitorProperties (bool monitorProperties) |
|
bool | isMonitoringProperties () const |
|
virtual | ~QDBusAbstractInterface () |
|
bool | isValid () const |
|
QDBusConnection | connection () const |
|
QString | service () const |
|
QString | path () const |
|
QString | interface () const |
|
QDBusError | lastError () const |
|
void | setTimeout (int timeout) |
|
int | timeout () const |
|
QDBusMessage | call (const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8) |
|
QDBusMessage | call (QDBus::CallMode mode, const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8) |
|
QDBusMessage | callWithArgumentList (QDBus::CallMode mode, const QString &method, const QList< QVariant > &args) |
|
bool | callWithCallback (const QString &method, const QList< QVariant > &args, QObject *receiver, const char *returnMethod, const char *errorMethod) |
|
bool | callWithCallback (const QString &method, const QList< QVariant > &args, QObject *receiver, const char *slot) |
|
QDBusPendingCall | asyncCall (const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8) |
|
QDBusPendingCall | asyncCallWithArgumentList (const QString &method, const QList< QVariant > &args) |
|
| QObject (QObject *parent) |
|
virtual | ~QObject () |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
virtual const QMetaObject * | metaObject () const |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool block) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *targetThread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *parent) |
|
void | installEventFilter (QObject *filterObj) |
|
void | removeEventFilter (QObject *obj) |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | destroyed (QObject *obj) |
|
QObject * | parent () const |
|
bool | inherits (const char *className) const |
|
void | deleteLater () |
|
| QObject (QObject *parent, const char *name) |
|
void | insertChild (QObject *object) |
|
void | removeChild (QObject *object) |
|
bool | isA (const char *className) const |
|
const char * | className () const |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
void | setName (const char *name) |
|
|
static QLatin1String | staticInterfaceName () |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
|
virtual void | invalidate (Tp::DBusProxy *, const QString &, const QString &) |
|
| AbstractInterface (DBusProxy *proxy, const QLatin1String &interface) |
|
| AbstractInterface (const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent) |
|
PendingVariant * | internalRequestProperty (const QString &name) const |
|
PendingOperation * | internalSetProperty (const QString &name, const QVariant &newValue) |
|
PendingVariantMap * | internalRequestAllProperties () const |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | connectNotify (const char *signal) |
|
virtual void | disconnectNotify (const char *signal) |
|
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
|
Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Stream.Interface.Media".
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertySTUNServers |
( |
| ) |
const |
|
inline |
Asynchronous getter for the remote object property STUNServers
of type Tp::SocketAddressIPList
.
The IP addresses of possible STUN servers to use for NAT
traversal, as dotted-quad IPv4 address literals or RFC2373
IPv6 address literals. Change notification is via the
STUNServersChanged()
signal. The IP addresses MUST NOT be given as DNS hostnames.
High-quality connection managers already need an asynchronous
DNS resolver, so they might as well resolve this name to an IP
to make life easier for streaming implementations.
- Returns
- A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyRelayInfo |
( |
| ) |
const |
|
inline |
Asynchronous getter for the remote object property RelayInfo
of type Tp::StringVariantMapList
.
A list of mappings describing TURN or Google relay servers
available for the client to use in its candidate gathering, as
determined from the protocol. Well-known map keys are:
ip
- s
- The IP address of the relay server as a dotted-quad IPv4
address literal or an RFC2373 IPv6 address literal. This MUST NOT
be a DNS hostname.
High-quality connection managers already need an asynchronous
DNS resolver, so they might as well resolve this name to an IP
and make life easier for streaming implementations.
type
- s
-
Either udp
for UDP (UDP MUST be assumed if this
key is omitted), tcp
for TCP, or
tls
.
The precise meaning of this key depends on the
Transport property: if
Transport is ICE, tls
means
TLS over TCP as referenced by ICE draft 19, and if
Transport is GTalk_P2P, tls
means
a fake SSL session over TCP as implemented by libjingle.
port
- q
- The UDP or TCP port of the relay server as an ASCII unsigned
integer
unique-id
- s
- A string identifying the relay server. If two RelayInfo entries
have the same unique-id, but different
type
s, there
is usually little point in connecting to both. Use
priority
to determine which version to prefer in this
case. Can also be used by the streaming implementation to avoid
connecting to the same relay multiple times if relaying is
required for both audio and video.
priority
- u
- A number determining which version of a server to prefer (if
multiple are present with the same
unique-id
,
the one with the highest priority should be used, or the streaming
implementation should use the one whose type
has the
most desirable properties)
username
- s
- The username to use
password
- s
- The password to use
component
- u
- The component number to use this relay server for, as an
ASCII unsigned integer; if not included, this relay server
may be used for any or all components.
In ICE draft 6, as used by Google Talk, credentials are only
valid once, so each component needs relaying separately.
An equivalent of the gtalk-p2p-relay-token property on
MediaSignalling channels is not included here. The connection
manager should be responsible for making the necessary HTTP
requests to turn the token into a username and password.
The type of relay server that this represents depends on
the value of the Transport
property. If Transport is ICE, this is a TURN server;
if Transport is GTalk_P2P, this is a Google relay server;
otherwise, the meaning of RelayInfo is undefined.
If relaying is not possible for this stream, the list is
empty.
Change notification is given via the
RelayInfoChanged() signal.
- Returns
- A pending variant which will emit finished when the property has been retrieved.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::FinishInitialCandidates |
( |
int |
timeout = -1 | ) |
|
|
inlineslot |
Begins a call to the D-Bus method FinishInitialCandidates
on the remote object.
This indicates to the CM that the initial batch of candidates has been added, and should now be processed/sent to the remote side. Protocols supporting Raw UDP SHOULD wait for FinishInitialCandidates, and then set the lowest priority candidate as the Raw UDP candidate.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
- Parameters
-
timeout | The timeout in milliseconds. |