MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / SendNewCandidate

Method SendNewCandidate

MonaCore/sources/SDP.cpp:256–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254
255
256void SDP::SendNewCandidate(Writer& writer,SDPCandidate& candidate) {
257 DataWriter& packet = writer.writeInvocation("__ice");
258 packet.beginObject();
259 packet.writeStringProperty("candidate",candidate.candidate);
260 // TODO add? packet.writeStringProperty("sdpMid",candidate.mid);
261 packet.writeNumberProperty("sdpMLineIndex",(double)candidate.mLineIndex);
262 packet.endObject();
263}
264
265} // namespace Mona

Callers

nothing calls this directly

Calls 4

writeStringPropertyMethod · 0.80
writeNumberPropertyMethod · 0.80
beginObjectMethod · 0.45
endObjectMethod · 0.45

Tested by

no test coverage detected