Obsolete Members for QXmppIceConnection
The following members of class QXmppIceConnection are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) void | setStunServer(const QHostAddress &host, quint16 port = 3478) |
(since QXmpp 1.3, deprecated) void | setStunServers(const QList<QPair<QHostAddress, quint16>> &servers) |
(deprecated) void | setTurnPassword(const QString &password) |
(deprecated) void | setTurnServer(const QHostAddress &host, quint16 port = 3478) |
(deprecated) void | setTurnUser(const QString &user) |
Member Function Documentation
[deprecated] void QXmppIceConnection::setStunServer(const QHostAddress &host, quint16 port = 3478)
This function is deprecated. We strongly advise against using it in new code.
Sets a single STUN server to use to determine server-reflexive addresses and ports.
Note: This may only be called prior to calling bind().
host is the address of the STUN server. port is the port of the STUN server.
Use setStunServers(const QList<QXmpp::StunServer> &)
[since QXmpp 1.3, deprecated] void QXmppIceConnection::setStunServers(const QList<QPair<QHostAddress, quint16>> &servers)
This function is deprecated. We strongly advise against using it in new code.
Sets multiple STUN servers to use to determine server-reflexive addresses and ports.
Note: This may only be called prior to calling bind().
Use setStunServers(const QList<QXmpp::StunServer> &)
This function was introduced in QXmpp 1.3.
[deprecated] void QXmppIceConnection::setTurnPassword(const QString &password)
This function is deprecated. We strongly advise against using it in new code.
Sets the password used for authentication with the TURN server.
Note: This may only be called prior to calling bind().
Use setTurnServer(const QXmpp::TurnServer &)
[deprecated] void QXmppIceConnection::setTurnServer(const QHostAddress &host, quint16 port = 3478)
This function is deprecated. We strongly advise against using it in new code.
Sets the TURN server to use to relay packets in double-NAT configurations.
Note: This may only be called prior to calling bind().
host is the address of the TURN server. port is the port of the TURN server.
Use setTurnServer(const QXmpp::TurnServer &)
[deprecated] void QXmppIceConnection::setTurnUser(const QString &user)
This function is deprecated. We strongly advise against using it in new code.
Sets the user used for authentication with the TURN server.
Note: This may only be called prior to calling bind().
Use setTurnServer(const QXmpp::TurnServer &)