handle invalid canditates in jingle

This commit is contained in:
Daniel Gultsch 2019-05-22 17:30:51 +02:00
parent 132f81df23
commit c965049605

View file

@ -60,6 +60,10 @@ public class JingleCandidate {
} }
public void setType(String type) { public void setType(String type) {
if (type == null) {
this.type = TYPE_UNKNOWN;
return;
}
switch (type) { switch (type) {
case "proxy": case "proxy":
this.type = TYPE_PROXY; this.type = TYPE_PROXY;