# Recording file transfer after recording is finished

**URL:** <https://openvidu.discourse.group/t/recording-file-transfer-after-recording-is-finished/4735>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [August 4, 2023, 1:58am UTC](https://openvidu.discourse.group/t/recording-file-transfer-after-recording-is-finished/4735 "2023-08-04T01:58:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jyoo0323](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jyoo0323](https://openvidu.discourse.group/u/jyoo0323)\
**Post date:** [August 4, 2023, 1:58am UTC](https://openvidu.discourse.group/t/recording-file-transfer-after-recording-is-finished/4735/1 "2023-08-04T01:58:43Z")

</div>

Hi I am building a video conference app using Openvidu CE and I want to transfer the recording file to storage server(MinIO) when recording is finished.

My first attempt was to get the url of the file in my application server using Webhook (`recordingStatusChanged`) when the Recording is in ready status.  
But the problem was that the process would be like: webhook event received → HTTP get to Openvidu to get recording url → get input stream using URL → upload to MinIO → delete file in Openvidu server.

In my opinion, there are a lot of unnecessary connection to each server, so I would like to minimize that if possible. I have looked into Openvidu-server codes a little and found RecordingUploader interface which seems like a right place for me to upload the recording file after it is finished and ready to get sent. Is that the right place for me to implement what I want to do?

Or if there are better suggestions, please help me out with them too.

Thank you!

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [August 21, 2023, 2:37pm UTC](https://openvidu.discourse.group/t/recording-file-transfer-after-recording-is-finished/4735/2 "2023-08-21T14:37:00Z")

</div>

S3 uploading is available in OpenVidu PRO/ENTERPRISE.

But your approach it’s ok if you want to use OpenVidu CE.

---

<div class="post-metadata">

**Author:** ![jyoo0323](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jyoo0323](https://openvidu.discourse.group/u/jyoo0323)\
**Post date:** [August 22, 2023, 2:30am UTC](https://openvidu.discourse.group/t/recording-file-transfer-after-recording-is-finished/4735/3 "2023-08-22T02:30:17Z")

</div>

Thanks for your reply Carlos.
