handle invalid canditates in jingle
This commit is contained in:
parent
132f81df23
commit
c965049605
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue