This message was deleted.
# helpdesk
s
This message was deleted.
a
It means your template never called
START_RECORDING
, either because it could not establish an rtc connection to the room, or because there were no tracks published to the room
b
My livekit server works fine and it is
self hosted
then this is my
code
@able-gigabyte-21598
Copy code
const egressClient = new EgressClient(
            'url',
            'apikey',
            'apisecret'
        );
        const output = {
            fileType: EncodedFileType.MP4,
            filepath: 'room-composite-test.mp4',
            s3: {
                accessKey: 'key',
                secret: 'secret',
                region: 'region',
                bucket: 'name'
            }
        };
        return await egressClient.startRoomCompositeEgress('roomId', output, {
            layout: 'speaker',
        });