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) {
|
||||
if (type == null) {
|
||||
this.type = TYPE_UNKNOWN;
|
||||
return;
|
||||
}
|
||||
switch (type) {
|
||||
case "proxy":
|
||||
this.type = TYPE_PROXY;
|
||||
|
|
Loading…
Reference in a new issue