OpenVidu / openvidu

OpenVidu Platform main repository
https://openvidu.io
Apache License 2.0
1.86k stars 464 forks source link

Recording autostop timeout not working #804

Closed Alvarocda closed 1 year ago

Alvarocda commented 1 year ago

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

  1. Start an openvidu session and log in from any browser.
  2. Start a recording
  3. Close the browser without ending the recording manually

openvidu will immediately stop recording and will not wait for the defined timeout

OpenVidu deployment info

Alvarocda commented 1 year ago

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.