Lines Matching refs:server
129 for (const auto& server : servers) { in ParseIceServersMessage() local
131 CF_EXPECT(server.isMember("urls") && server["urls"].isArray(), in ParseIceServersMessage()
133 << server.toStyledString()); in ParseIceServersMessage()
134 auto urls = server["urls"]; in ParseIceServersMessage()
141 if (server.isMember("credential") && server["credential"].isString()) { in ParseIceServersMessage()
142 ice_server.password = server["credential"].asString(); in ParseIceServersMessage()
144 if (server.isMember("username") && server["username"].isString()) { in ParseIceServersMessage()
145 ice_server.username = server["username"].asString(); in ParseIceServersMessage()
158 Json::Value server; in GenerateIceServersMessage() local
159 server["urls"] = ToArray<std::string>( in GenerateIceServersMessage()
162 server["credential"] = ice_server.password; in GenerateIceServersMessage()
163 server["username"] = ice_server.username; in GenerateIceServersMessage()
164 return server; in GenerateIceServersMessage()