mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: logging for recording process improved
parent
5f1c36a742
commit
8f14084b4e
|
@ -109,6 +109,10 @@ public class CompositeWrapper {
|
||||||
|
|
||||||
if (isRecording.compareAndSet(false, true)) {
|
if (isRecording.compareAndSet(false, true)) {
|
||||||
// First user publishing. Starting RecorderEndpoint
|
// First user publishing. Starting RecorderEndpoint
|
||||||
|
|
||||||
|
log.info("First stream ({}) joined to Composite in session {}. Starting RecorderEndpoint for Composite",
|
||||||
|
streamId, session.getSessionId());
|
||||||
|
|
||||||
final CountDownLatch startLatch = new CountDownLatch(1);
|
final CountDownLatch startLatch = new CountDownLatch(1);
|
||||||
this.startCompositeRecording(startLatch);
|
this.startCompositeRecording(startLatch);
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -109,6 +109,9 @@ public class ComposedRecordingService extends RecordingService {
|
||||||
|
|
||||||
public void joinPublisherEndpointToComposite(Session session, String recordingId, Participant participant)
|
public void joinPublisherEndpointToComposite(Session session, String recordingId, Participant participant)
|
||||||
throws OpenViduException {
|
throws OpenViduException {
|
||||||
|
log.info("Joining single stream {} to Composite in session {}", participant.getPublisherStreamId(),
|
||||||
|
session.getSessionId());
|
||||||
|
|
||||||
KurentoParticipant kurentoParticipant = (KurentoParticipant) participant;
|
KurentoParticipant kurentoParticipant = (KurentoParticipant) participant;
|
||||||
CompositeWrapper compositeWrapper = this.composites.get(session.getSessionId());
|
CompositeWrapper compositeWrapper = this.composites.get(session.getSessionId());
|
||||||
|
|
||||||
|
|
|
@ -319,7 +319,7 @@ public class SessionRestController {
|
||||||
@RequestMapping(value = "/recordings/start", method = RequestMethod.POST)
|
@RequestMapping(value = "/recordings/start", method = RequestMethod.POST)
|
||||||
public ResponseEntity<?> startRecordingSession(@RequestBody Map<?, ?> params) {
|
public ResponseEntity<?> startRecordingSession(@RequestBody Map<?, ?> params) {
|
||||||
|
|
||||||
log.info("REST API: POST /api/recordings/start", params.toString());
|
log.info("REST API: POST /api/recordings/start {}", params.toString());
|
||||||
|
|
||||||
String sessionId = (String) params.get("session");
|
String sessionId = (String) params.get("session");
|
||||||
String name = (String) params.get("name");
|
String name = (String) params.get("name");
|
||||||
|
|
Loading…
Reference in New Issue