mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: recording http handler always available
parent
159cc99776
commit
d4e78636bf
|
@ -18,7 +18,6 @@
|
|||
package io.openvidu.server.recording;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
||||
|
@ -26,7 +25,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
|
|||
import io.openvidu.server.config.OpenviduConfig;
|
||||
|
||||
@Configuration
|
||||
@ConditionalOnProperty(name = "openvidu.recording", havingValue = "true")
|
||||
public class RecordingsHttpHandler extends WebMvcConfigurerAdapter {
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -48,6 +48,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.github.dockerjava.api.exception.DockerClientException;
|
||||
import com.github.dockerjava.api.exception.InternalServerErrorException;
|
||||
|
@ -72,6 +73,7 @@ import io.openvidu.server.kurento.OpenViduKurentoClientSessionInfo;
|
|||
import io.openvidu.server.recording.Recording;
|
||||
import io.openvidu.server.utils.CustomFileManager;
|
||||
|
||||
@Service
|
||||
public class RecordingManager {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(RecordingManager.class);
|
||||
|
|
Loading…
Reference in New Issue