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

Method SendCandidate

Src/Channel/ICE/IceSignalQxmpp.cpp:143–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143int CIceSignalQxmpp::SendCandidate(const QString &toUser,
144 const QString &channelId,
145 const rtc::Candidate &candidate,
146 const QString &fromUser)
147{
148 CIceSignalQXmppIq iq;
149 iq.setType(QXmppIq::Set);
150 iq.setTo(toUser);
151 iq.setChannelId(channelId);
152 iq.setSignalType("candidate");
153 iq.setMid(candidate.mid().c_str());
154 iq.setCandidate(std::string(candidate).c_str());
155 emit sigSendPackage(iq);
156 return 0;
157}
158
159void CIceSignalQxmpp::slotSendPackage(CIceSignalQXmppIq iq)
160{

Callers 1

CreateDataChannelMethod · 0.80

Calls 5

setTypeMethod · 0.80
setChannelIdMethod · 0.80
setSignalTypeMethod · 0.80
setMidMethod · 0.80
setCandidateMethod · 0.80

Tested by

no test coverage detected