Commit 5b5fe54b authored by Guillaume Roguez's avatar Guillaume Roguez

ice: add prflx candidate type

PJ_ICE_CAND_TYPE_PRFLX candidate type was not supported
in SDP. This patch adds support for that.

Not supporting this type has a minor impact, but we may
miss some connectivity possibility.

Change-Id: I8acd810aee4d262083c60d1fc860f5854a822a9d
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent 4fed5df2
......@@ -832,6 +832,8 @@ IceTransport::getCandidateFromSDP(const std::string& line, IceCandidate& cand)
cand.type = PJ_ICE_CAND_TYPE_HOST;
else if (strcmp(type, "srflx")==0)
cand.type = PJ_ICE_CAND_TYPE_SRFLX;
else if (strcmp(type, "prflx")==0)
cand.type = PJ_ICE_CAND_TYPE_PRFLX;
else if (strcmp(type, "relay")==0)
cand.type = PJ_ICE_CAND_TYPE_RELAYED;
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment