docker run -p 4443:4443 --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/openvidu:/tmp/openvidu \
-e openvidu.recording=true \
-e MY_UID=$(id -u $USER) \
-e openvidu.recording.path=/tmp/openvidu \
-e openvidu.recording.public-access=true \
openvidu/openvidu-server-kms:2.0.0
I then edited app.component.ts so that the publisher properties looked like this for screen sharing:
let publisher = this.OV.initPublisher(undefined, {
audioSource: false, // The source of audio. If undefined default microphone
videoSource: "screen", // The source of video. If undefined default webcam
publishAudio: false, // Whether you want to start publishing with your audio unmuted or not
publishVideo: true, // Whether you want to start publishing with your video enabled or not
resolution: '640x480', // The resolution of your video
frameRate: 30, // The frame rate of your video
insertMode: 'APPEND', // How the video is inserted in the target element 'video-container'
mirror: false // Whether to mirror your local video or not
});
cd openvidu-tutorials/openvidu-insecure-angular
npm install
ng serve
This also didn't start the openvidu/openvidu-recording container.
Have I made a mistake in my configuration above or is this a bug in recording?
Thanks
Michael