mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: CallDetailRecord logger
parent
6518166c0b
commit
10cb00ed10
|
@ -25,6 +25,8 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||
import java.util.concurrent.ConcurrentSkipListSet;
|
||||
|
||||
import org.kurento.client.GenericMediaEvent;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import io.openvidu.java.client.Recording.Status;
|
||||
|
@ -91,6 +93,8 @@ import io.openvidu.server.webhook.CDRLoggerWebhook;
|
|||
*/
|
||||
public class CallDetailRecord {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(CallDetailRecord.class);
|
||||
|
||||
@Autowired
|
||||
private SessionManager sessionManager;
|
||||
|
||||
|
@ -193,6 +197,8 @@ public class CallDetailRecord {
|
|||
.get(participantPublicId).addSubscriberClosed(streamId, eventSubscriberEnd);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
log.error("No subscriptions map in CDR for session participant {}", participantPublicId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue