mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: better log on ice candidate error (show candidate)
parent
dc8a0449b9
commit
2be5be6ed4
|
@ -510,12 +510,13 @@ public abstract class MediaEndpoint {
|
|||
this.webEndpoint.addIceCandidate(candidate, new Continuation<Void>() {
|
||||
@Override
|
||||
public void onSuccess(Void result) throws Exception {
|
||||
log.trace("Ice candidate added to the internal endpoint");
|
||||
log.trace("Ice candidate \"{}\" added to the internal endpoint", candidate.getCandidate());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(Throwable cause) throws Exception {
|
||||
log.warn("EP {}: Failed to add ice candidate to the internal endpoint", endpointName, cause);
|
||||
log.warn("EP {}: Failed to add ice candidate \"{}\" to the internal endpoint: {}", endpointName,
|
||||
candidate.getCandidate(), cause.getMessage());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue