Lines Matching refs:desc
50 rtc::scoped_ptr<TransportDescription> desc(new TransportDescription());
54 desc->transport_type = NS_JINGLE_ICE_UDP;
56 desc->transport_type = NS_JINGLE_ICE_UDP;
57 desc->AddOption(ICE_OPTION_GICE);
59 desc->transport_type = NS_GINGLE_P2P;
64 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH);
65 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH);
67 desc->ice_ufrag = current_description->ice_ufrag;
68 desc->ice_pwd = current_description->ice_pwd;
75 if (!SetSecurityInfo(desc.get(), CONNECTIONROLE_ACTPASS)) {
80 return desc.release();
89 rtc::scoped_ptr<TransportDescription> desc(new TransportDescription());
97 desc->transport_type = NS_JINGLE_ICE_UDP;
101 desc->transport_type = NS_GINGLE_P2P;
106 desc->transport_type = NS_GINGLE_P2P;
117 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH);
118 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH);
120 desc->ice_ufrag = current_description->ice_ufrag;
121 desc->ice_pwd = current_description->ice_pwd;
133 if (!SetSecurityInfo(desc.get(), role)) {
144 return desc.release();
148 TransportDescription* desc, ConnectionRole role) const {
163 desc->identity_fingerprint.reset(
165 if (!desc->identity_fingerprint.get()) {
172 desc->connection_role = role;