If there are still peers present in the room when a user refreshes the browser and if the recording was over 4 seconds long, you should be able to recover it with the getRecordings() method.

However, if there are no connected peers, when the user refreshes the browser, the room will be considered to be closed and the recording will stop. By 'rejoining' upon refresh, it will be considered as a new room. Thus, the getRecordings method will not deliver the same result as the previous room.

To retrieve your recording, you will need to set up your URL to receive a callback upon completion of the recording. For further details about this, please refer to the documentation for the Recording Notification API call.