| 126 | } |
| 127 | |
| 128 | int CIceSignalQxmpp::SendDescription(const QString &toUser, |
| 129 | const QString &channelId, |
| 130 | const rtc::Description &description, |
| 131 | const QString &fromUser) |
| 132 | { |
| 133 | CIceSignalQXmppIq iq; |
| 134 | iq.setType(QXmppIq::Set); |
| 135 | iq.setTo(toUser); |
| 136 | iq.setChannelId(channelId); |
| 137 | iq.setSignalType(description.typeString().c_str()); |
| 138 | iq.setDescription(std::string(description).c_str()); |
| 139 | emit sigSendPackage(iq); |
| 140 | return 0; |
| 141 | } |
| 142 | |
| 143 | int CIceSignalQxmpp::SendCandidate(const QString &toUser, |
| 144 | const QString &channelId, |
no test coverage detected