public FullReply GetFullReply() { FullReply frpOffer = new FullReply() { m_rptReply = m_repReply, m_iceCandidates = m_iceReplyIceCandidates }; return(frpOffer); }
public void ProcessFullReply(FullReply frpFullReply) { //process base offer ProcessReply(frpFullReply.m_rptReply.m_strValue); //process all the ice candidates for (int i = 0; i < frpFullReply.m_iceCandidates.Count; i++) { IceCandidate iceCandidate = frpFullReply.m_iceCandidates[i]; AddICE(iceCandidate.m_strType, iceCandidate.m_iIndex, iceCandidate.m_strValue); } m_webRtcObjectState = State.WaitingToConnect; }