mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: fix possible ghost participant issue after network reconnection
parent
efcc15a109
commit
cc402f34d3
|
@ -785,7 +785,9 @@ public class RpcHandler extends DefaultJsonRpcHandler<JsonObject> {
|
||||||
String rpcSessionId = rpcSession.getSessionId();
|
String rpcSessionId = rpcSession.getSessionId();
|
||||||
String message = "";
|
String message = "";
|
||||||
|
|
||||||
if ("Close for not receive ping from client".equals(status)) {
|
if ("Connection closed for reconnection".equals(status)) {
|
||||||
|
message = "Evicting ghost reconnection participant with private id {}";
|
||||||
|
} else if ("Close for not receive ping from client".equals(status)) {
|
||||||
message = "Evicting participant with private id {} because of a network disconnection";
|
message = "Evicting participant with private id {} because of a network disconnection";
|
||||||
} else if (status == null) { // && this.webSocketBrokenPipeTransportError.remove(rpcSessionId) != null)) {
|
} else if (status == null) { // && this.webSocketBrokenPipeTransportError.remove(rpcSessionId) != null)) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue