mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: overwritable remote recording path
parent
d0c1d5346b
commit
26f6112b72
|
@ -228,6 +228,10 @@ public class OpenviduConfig {
|
|||
return this.openviduRecordingPath;
|
||||
}
|
||||
|
||||
public String getOpenViduRemoteRecordingPath() {
|
||||
return getOpenViduRecordingPath();
|
||||
}
|
||||
|
||||
public boolean getOpenViduRecordingPublicAccess() {
|
||||
return this.openviduRecordingPublicAccess;
|
||||
}
|
||||
|
|
|
@ -251,7 +251,7 @@ public class SingleStreamRecordingService extends RecordingService {
|
|||
MediaPipeline pipeline = kurentoParticipant.getPublisher().getPipeline();
|
||||
|
||||
RecorderEndpoint recorder = new RecorderEndpoint.Builder(pipeline,
|
||||
"file://" + this.openviduConfig.getOpenViduRecordingPath() + recordingId + "/"
|
||||
"file://" + openviduConfig.getOpenViduRemoteRecordingPath() + recordingId + "/"
|
||||
+ participant.getPublisherStreamId() + ".webm").withMediaProfile(profile).build();
|
||||
|
||||
recorder.addRecordingListener(new EventListener<RecordingEvent>() {
|
||||
|
|
Loading…
Reference in New Issue