Skip to content

[BUG] Egress room composite session shows blank video despite of adding audioOnly: false #951

@sahilk01

Description

@sahilk01

Describe the bug
Egress room composite session shows blank video despite of adding audioOnly: false. Output file shows audio only without any video.

Egress Version
Livekit cloud, "livekit-server-sdk": "^2.13.1"

Egress Request

export async function startRecording(roomName, roomId, companyId,) {
 
  const result = await egressClient.startRoomCompositeEgress(
    roomName,
    { 
      file: getRecordingOutput(roomId, companyId),
     },
     {
      layout: 'speaker-light',
      audioOnly: false
     }
  );
  
function getRecordingOutput(roomId, companyId) {
    const outputs = new EncodedFileOutput({
      filepath: `compositerecording/${roomId}-test.mp4`,
      output: {
        case: 's3',
        value: new S3Upload({
          accessKey: process.env.AWS_ACCESS_KEY,
          secret: process.env.AWS_SECRET,
          bucket: process.env.AWS_BUCKET,
          region: process.env.AWS_REGION
        }),
      },
    });
      return outputs
}

Additional context
I want to record room with interactions and layout

Logs
Livekit cloud might have it

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions