# mediasoup recorder issue

**URL:** <https://mediasoup.discourse.group/t/mediasoup-recorder-issue/1478>\
**Category:** Deployment & Scalability\
**Created:** [July 25, 2020, 4:06am UTC](https://mediasoup.discourse.group/t/mediasoup-recorder-issue/1478 "2020-07-25T04:06:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zro00](https://avatars.discourse-cdn.com/v4/letter/z/cc9497/32.png) [@zro00](https://mediasoup.discourse.group/u/zro00)\
**Post date:** [July 25, 2020, 4:06am UTC](https://mediasoup.discourse.group/t/mediasoup-recorder-issue/1478/1 "2020-07-25T04:06:58Z")

</div>

> **[ethand91/mediasoup3-record-demo](https://github.com/ethand91/mediasoup3-record-demo)**
>
> Simple Record Demo using Mediasoup 3 and GStreamer - ethand91/mediasoup3-record-demo

  

> <https://github.com/Kurento/mediasoup-demos/blob/master/mediasoup-recording/README.md>

Hi both these projects are listed on examples page. I realize done by 3rd party developers but does anybody have any insight on how to make them run correctly on the gcp or azure?

I have used both Ubuntu 18.04LTS and 20.04LTS and still get the same issue. The webrtc connection is setup correctly on both sides. However when I go to hit record FFmpeg or GStreamer will always fail and create either a mp4 or v8 container that is zero bytes.

The sdp file looks fine to me and looking through the docs both libraries are following the correct procedure when creating a plainrtp transport so that RTP stream can be consumed by either FFmpeg or GStreamer. I have disabled all my firewall protections against the ports. I have used both GCP and Azure VMs and get the same issue.

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [July 27, 2020, 12:52am UTC](https://mediasoup.discourse.group/t/mediasoup-recorder-issue/1478/2 "2020-07-27T00:52:16Z")

</div>

Have you checked this?

[https://mediasoup.org/faq/#running-mediasoup-in-hosts-with-private-ip](https://mediasoup.org/faq/#running-mediasoup-in-hosts-with-private-ip)

---

<div class="post-metadata">

**Author:** ![zro00](https://avatars.discourse-cdn.com/v4/letter/z/cc9497/32.png) [@zro00](https://mediasoup.discourse.group/u/zro00)\
**Post date:** [July 27, 2020, 6:31am UTC](https://mediasoup.discourse.group/t/mediasoup-recorder-issue/1478/3 "2020-07-27T06:31:19Z")

</div>

The link you provided doesn’t open. Is there an alternative link I can use?

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [July 27, 2020, 7:26am UTC](https://mediasoup.discourse.group/t/mediasoup-recorder-issue/1478/4 "2020-07-27T07:26:50Z")

</div>

Is the webrtc transport ip in your config correct? Also you will most likely need to set “announcedIp”

Related:

> [@Mediasoup only working on local network](https://mediasoup.discourse.group/t/mediasoup-only-working-on-local-network/1453/10):
>
> Please don’t try random things. Your clients need to know your media server ICE public IP, so you have to put your public IP into announcedIp.
