mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: add getter for CDRLogger
parent
77b93ee8f3
commit
7e05fb2eb2
|
@ -261,7 +261,7 @@ public class OpenViduServer implements JsonRpcConfigurer {
|
|||
}
|
||||
|
||||
@EventListener(ApplicationReadyEvent.class)
|
||||
public void printUrl() {
|
||||
public void whenReady() {
|
||||
final String NEW_LINE = System.lineSeparator();
|
||||
String str = NEW_LINE +
|
||||
NEW_LINE + " ACCESS IP " +
|
||||
|
|
|
@ -97,6 +97,10 @@ public class CallDetailRecord {
|
|||
this.loggers = loggers;
|
||||
}
|
||||
|
||||
public Collection<CDRLogger> getLoggers() {
|
||||
return this.loggers;
|
||||
}
|
||||
|
||||
public void recordSessionCreated(Session session) {
|
||||
CDREventSession e = new CDREventSession(session);
|
||||
this.sessions.put(session.getSessionId(), e);
|
||||
|
|
Loading…
Reference in New Issue