MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / SendDescription

Method SendDescription

Src/Channel/ICE/IceSignalQxmpp.cpp:128–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128int 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
143int CIceSignalQxmpp::SendCandidate(const QString &toUser,
144 const QString &channelId,

Callers 1

CreateDataChannelMethod · 0.45

Calls 4

setTypeMethod · 0.80
setChannelIdMethod · 0.80
setSignalTypeMethod · 0.80
setDescriptionMethod · 0.80

Tested by

no test coverage detected