Recording autostop timeout not working
Alvarocda opened this issue · comments
Describe the bug
Openvidu is not respecting the value set in the variable OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT
Expected behavior
I am making recordings with Openvidu but sometimes due to connection problems, all members of the room leave and after a few seconds they come back.
According to the documentation, Openvidu does not immediately end the recording of a session (unless it has been ended manually), it waits for the time defined in the OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT variable.
However, when all members leave the room, Openvidu immediately ends the recording of that session, not respecting the value entered in the variable OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT
Wrong current behavior
openvidu is immediately ending a recording when everyone leaves the room and is not waiting for the timeout set in the variable OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT
OpenVidu tutorial where to replicate the error
- Start an openvidu session and log in from any browser.
- Start a recording
- Close the browser without ending the recording manually
openvidu will immediately stop recording and will not wait for the defined timeout
OpenVidu deployment info
- Docker container as explained in Openvidu tutorials on linux
Sorry guys, It was a problem on my side.
I was monitoring the event of people leaving the room and I was closing the room when no one else was logged in.