# Issue with Recording Video Conference: Audio Not Recorded Using RoomComposite

**URL:** <https://openvidu.discourse.group/t/issue-with-recording-video-conference-audio-not-recorded-using-roomcomposite/5187>\
**Category:** Issues developing apps\
**Created:** [September 16, 2024, 2:29pm UTC](https://openvidu.discourse.group/t/issue-with-recording-video-conference-audio-not-recorded-using-roomcomposite/5187 "2024-09-16T14:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lily.menorah](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@lily.menorah](https://openvidu.discourse.group/u/lily.menorah)\
**Post date:** [September 16, 2024, 2:29pm UTC](https://openvidu.discourse.group/t/issue-with-recording-video-conference-audio-not-recorded-using-roomcomposite/5187/1 "2024-09-16T14:29:11Z")

</div>

Hi Team,

When attempting to record a video conference using RoomComposite, I have encountered a problem where the video is playing, but the audio is either not being recorded or not playing during playback.

```auto
egressClient.startRoomCompositeEgress(
        roomName,
        {
          fileType: 1,
          filepath: `recordings/${prefix}/${suffix}.mp4`,
          disableManifest: true,
        },
        {
          layout: "grid",
        }
      );

```

I would appreciate your assistance in troubleshooting this issue. If there are specific configuration settings or steps that need to be adjusted for proper video recording in RoomComposite, please provide guidance.

Thank you in advance for your assistance.

---

<div class="post-metadata">

**Author:** ![lily.menorah](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@lily.menorah](https://openvidu.discourse.group/u/lily.menorah)\
**Post date:** [September 18, 2024, 5:25am UTC](https://openvidu.discourse.group/t/issue-with-recording-video-conference-audio-not-recorded-using-roomcomposite/5187/2 "2024-09-18T05:25:12Z")

</div>

Initially, we implemented the audio conference, and the recording was perfect. Later, we added the video conference, and now we’re facing an issue with the MP4 recording output. We’re using version 3 (v3).

Does that cover everything?  
Any insights on fixing this would be appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [September 18, 2024, 10:03am UTC](https://openvidu.discourse.group/t/issue-with-recording-video-conference-audio-not-recorded-using-roomcomposite/5187/3 "2024-09-18T10:03:28Z")

</div>

> [@lily.menorah](#):
>
> `startRoomCompositeEgress`

If the participant’s audio and video track are reaching other participants in the Room, the Egress module should be able to record them at the same time using the RoomComposite API.  
Your configuration seems correct. This should be the equivalent in JSON for a simple [Server API request](https://docs.livekit.io/realtime/egress/api/):

```json
{
  "room_name": "TestRoom",
  "layout": "grid",
  "audio_only": false,
  "video_only": false,
  "file_outputs": [
    {
      "fileType": "MP4",
      "filepath": "{room_id}-{room_name}-{time}",
      "disableManifest": true
    }
  ]
}

```

In fact properties `audio_only` and `video_only` are not mandatory. If not included,  
RoomComposite records audio and video tracks by default, if available.

Have you tried testing the TrackCompositeEgress and the TrackEgress with the exact same Room and Tracks that are failing with RoomComposite? That should provide some insights to the issue.

---

<div class="post-metadata">

**Author:** ![lily.menorah](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@lily.menorah](https://openvidu.discourse.group/u/lily.menorah)\
**Post date:** [September 18, 2024, 10:41am UTC](https://openvidu.discourse.group/t/issue-with-recording-video-conference-audio-not-recorded-using-roomcomposite/5187/4 "2024-09-18T10:41:01Z")

</div>

> [@pabloFuente](#):
>
> some insights to the issue

Thanks for the reply.

Everyone in the room can hear each other, and the issue only exists with the recording output. We’ll check the TrackCompositeEgress and TrackEgress for more insights into the issue and will keep you updated.

Thank you again!
