o0lwj0o 2018-08-31 15:38:46 +08:00 committed by GitHub
parent df25fb0478
commit 4305e9ccf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1554,16 +1554,15 @@ public class CallController extends BaseController {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append("{");
stringBuilder.append("\"fn\":\"");
stringBuilder.append(StringEscapeUtils.escapeJson(LoganSquare.serialize(ncMessageWrapper
.getSignalingMessage()))).append("\"");
stringBuilder.append(",");
stringBuilder.append("\"sessionId\":");
stringBuilder.append("\"").append(StringEscapeUtils.escapeJson(callSession)).append("\"");
stringBuilder.append(",");
stringBuilder.append("\"ev\":\"message\"");
stringBuilder.append("}");
stringBuilder.append("{")
.append("\"fn\":\"")
.append(StringEscapeUtils.escapeJson(LoganSquare.serialize(ncMessageWrapper.getSignalingMessage()))).append("\"")
.append(",")
.append("\"sessionId\":")
.append("\"").append(StringEscapeUtils.escapeJson(callSession)).append("\"")
.append(",")
.append("\"ev\":\"message\"")
.append("}");
List<String> strings = new ArrayList<>();
String stringToSend = stringBuilder.toString();
@ -1771,4 +1770,4 @@ public class CallController extends BaseController {
showCallControls();
}
}
}
}