https://livekit.io logo
Join Slack
Powered by
# egress
  • b

    billions-city-57920

    07/16/2025, 10:16 PM
    Hello everyone, I setup an egress but for some reason I am getting the following warning and also the recording is immediately aborted, I am using
    lk
    to record, any help will be appreciated
    Copy code
    2025-07-16T21:25:01.239Z        INFO    egress  server/server_rpc.go:58 request received        {"nodeID": "NE_oFBbRFxeVMXW", "clusterID": "", "egressID": "EG_ttzHywiuuavF"}
    2025-07-16T21:25:01.241Z        INFO    egress  server/server_rpc.go:75 request validated       {"nodeID": "NE_oFBbRFxeVMXW", "clusterID": "", "egressID": "EG_ttzHywiuuavF", "requestType": "room_composite", "outputType": "file", "room": "vmGY1Bpo", "request": {"RoomComposite":{"room_name":"vmGY1Bpo","layout":"grid","Output":null,"Options":null,"file_outputs":[{"filepath":"/recordings/my-room-test.mp4","Output":null}]}}}
    2025-07-16T21:25:01.257Z        INFO    egress  redis/redis.go:142      connecting to redis     {"nodeID": "NE_oFBbRFxeVMXW", "handlerID": "EGH_HYXfGpSaL68G", "clusterID": "", "egressID": "EG_ttzHywiuuavF", "simple": true, "addr": "172.20.0.14:6379"}
    0:00:00.268654945    57 0x61200ffe2e40 WARN               cudanvrtc gstcudanvrtc.c:148:gst_cuda_nvrtc_load_library_once: Could not open nvrtc library libnvrtc.so: cannot open shared object file: No such file or directory
    0:00:00.387887893    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
    0:00:00.387900869    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
    0:00:00.387903314    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
    0:00:00.387905745    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
    0:00:00.387908266    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
    0:00:00.387910466    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
    0:00:00.387912397    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x230000: 'MPEG-1/2 Audio' is not mapped
    0:00:00.387914849    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
    0:00:00.387917102    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
    0:00:00.387920000    57 0x61200ffe2e40 WARN                 default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
    2025-07-16T21:25:16.907Z        INFO    egress  source/web.go:298       chrome: END_RECORDING   {"nodeID": "NE_oFBbRFxeVMXW", "handlerID": "EGH_HYXfGpSaL68G", "clusterID": "", "egressID": "EG_ttzHywiuuavF"}
    2025-07-16T21:25:16.942Z        INFO    egress  service/io.go:88        egress updated  {"nodeID": "NE_oFBbRFxeVMXW", "clusterID": "", "egressID": "EG_ttzHywiuuavF", "requestType": "room_composite", "outputType": "file", "status": "EGRESS_ABORTED"}
    • 1
    • 3
  • p

    polite-application-36252

    07/17/2025, 9:02 AM
    Hey team šŸ‘‹ I'm currently testing Auto Egress as described in the docs: https://docs.livekit.io/home/egress/autoegress/ I’ve configured both
    room
    and
    tracks
    auto egress with
    audioOnly: true
    , and the files are successfully uploaded to S3. However, when I listen to the recordings (in
    .ogg
    format), the audio is completely garbled — it's just static/noise, no clear voice or speech. šŸ”Š I’ve attached an example audio file to this message to help with debugging. šŸ› ļø LiveKit server SDK version:
    "livekit-server-sdk": "^2.12.0"
    Let me know if this is a known issue or if I should adjust anything in the config. Thanks in advance! Here’s how I’m setting it up: 🧩
    tracks
    egress:
    Copy code
    const room = await this.roomServiceClient.createRoom({
            ...options,
            egress: new RoomEgress({
              tracks: {
                filepath: `livekit/tracks/{room_name}-{publisher_identity}-{time}`,
                output: {
                  case: 's3',
                  value: {
                    accessKey: awsConfig.accessKeyId,
                    bucket: awsConfig.bucket,
                    region: awsConfig.region,
                    secret: awsConfig.secretAccessKey,
                  },
                },
              },
            }),
          })
    🧩
    room
    egress (audio only):
    Copy code
    const room = await this.roomServiceClient.createRoom({
            ...options,
            egress: new RoomEgress({
              room: {
                audioOnly: true,
                fileOutputs: [
                  {
                    fileType: EncodedFileType.OGG,
                    filepath: `livekit/calls/{room_name}-{time}`,
                    output: {
                      case: 's3',
                      value: {
                        accessKey: awsConfig.accessKeyId,
                        bucket: awsConfig.bucket,
                        region: awsConfig.region,
                        secret: awsConfig.secretAccessKey,
                      },
                    },
                  },
                ],
              },
            }),
          })
    t
    f
    • 3
    • 8
  • b

    busy-fish-13948

    07/17/2025, 4:16 PM
    Does the RemoteParticipant stop the current track and publish a new track if the user switches input device? Would a participant generate multiple audio tracks If the room has AutoTrackEgress on it then?
  • c

    crooked-dawn-11536

    07/17/2025, 9:29 PM
    If I have 3 participants in a room- 1 participant is listening to hold music and the 2 other participants are chatting with each other. How will the egress on the call sound like? Will I hear hold music along with the other 2 participants chatting? @refined-appointment-81829
    r
    • 2
    • 1
  • w

    worried-bear-98922

    07/18/2025, 10:29 AM
    Mere project me egress storage (S3/GCS) configure karne ka option nahi aa raha hai. Mujhe recording/egress enable karna hai
    t
    • 2
    • 1
  • r

    rich-painter-92574

    07/19/2025, 11:31 AM
    Hello team, quick question I've noticed that my dashboard doesn't really seem up to date, I have some egresses that have ended and the status still shows as active, I have new streams saved to aws s3, but they dont seem to be populated yet on the livekit dashboard
    t
    • 2
    • 1
  • p

    prehistoric-ram-29531

    07/19/2025, 4:07 PM
    2025-07-19 160307:37 info: User yNaJY_gW7jRv5zcJAAAD joined meeting room 687b8323076eb8ef4dbed6bf 2025-07-19 160307:37 info: Host 683eadbff821ec165340b2f2 joined meeting 687b8323076eb8ef4dbed6bf 2025-07-19 160307:37 info: Authorization check - User: 683eadbff821ec165340b2f2, Meeting: 687b8323076eb8ef4dbed6bf, isHost: true, isCoHost: false 2025-07-19 160307:37 info: Token generated successfully - User: 683eadbff821ec165340b2f2, Meeting: 687b8323076eb8ef4dbed6bf, Role: host 2025-07-19 160307:37 info: :ffff10.214.208.74 - - [19/Jul/20251603:07 +0000] "GET /api/meetings/687b8323076eb8ef4dbed6bf/token?role=host HTTP/1.1" 304 - "https://mellow-chaja-370353.netlify.app/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36" 2025-07-19 160307:37 info: Host 683eadbff821ec165340b2f2 joined waiting room for meeting 687b8323076eb8ef4dbed6bf 2025-07-19 160307:37 info: Queue info sent to host/co-host - 0 users waiting 2025-07-19 160307:37 info: Host/co-host 683eadbff821ec165340b2f2 joined waiting room for meeting 687b8323076eb8ef4dbed6bf 2025-07-19 160310:310 info: User host did not reconnect within grace period, removing from queue 2025-07-19 160311:311 info: Starting LiveKit recording for meeting 687b8323076eb8ef4dbed6bf 2025-07-19 160311:311 info: Using LiveKit API Key: APImk... and URL: speedmeetai-qlpk9eeb.livekit.cloud 2025-07-19 160311:311 info: Generating LiveKit token for identity: recorder-687b8323076eb8ef4dbed6bf with API key: APImk... 2025-07-19 160311:311 info: Generated LiveKit token successfully 2025-07-19 160312:312 info: Creating LiveKit room at: https://speedmeetai-qlpk9eeb.livekit.cloud/twirp/livekit.RoomService/CreateRoom 2025-07-19 160312:312 info: Created LiveKit room for meeting 687b8323076eb8ef4dbed6bf - Status: 200 2025-07-19 160312:312 info: Egress request payload: {"room_name":"687b8323076eb8ef4dbed6bf","output":{"file":{"filepath":"recordings/687b8323076eb8ef4dbed6bf.mp4"}}} 2025-07-19 160312:312 info: Starting LiveKit egress recording at: https://speedmeetai-qlpk9eeb.livekit.cloud/twirp/livekit.Egress/StartRoomCompositeEgress 2025-07-19 160312:312 error: Failed to start LiveKit recording: Request failed with status code 400 2025-07-19 160312:312 error: Error response data: {"code":"invalid_argument","msg":"request has missing or invalid field: output"} 2025-07-19 160312:312 error: Error response status: 400 2025-07-19 160312:312 error: Error response headers: {"content-length":"80","content-type":"application/json","date":"Sat, 19 Jul 2025 160312 GMT","vary":"Origin"} 2025-07-19 160312:312 error: Failed to start recording: Request failed with status code 400 2025-07-19 160312:312 info: Processing meeting started notifications for meeting 687b8323076eb8ef4dbed6bf started by host 683eadbff821ec165340b2f2 2025-07-19 160312:312 info: Meeting started notifications already processed recently for meeting 687b8323076eb8ef4dbed6bf 2025-07-19 160312:312 info: Processed video started notifications for meeting 687b8323076eb8ef4dbed6bf 2025-07-19 160312:312 info: :ffff10.214.192.170 - - [19/Jul/20251603:12 +0000] "POST /api/meetings/687b8323076eb8ef4dbed6bf/video/start HTTP/1.1" 200 89 "https://mellow-chaja-370353.netlify.app/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36" help me with this please
    t
    • 2
    • 3
  • l

    limited-arm-86913

    07/20/2025, 7:28 AM
    Does anyone have a working egress code example for recording the whole room, voices and videos from both the user and agent? Thanks very much if you can help me out with this, I have been dragging myself through the doc and can not find an example code.
    p
    b
    +2
    • 5
    • 7
  • s

    strong-addition-17260

    07/21/2025, 8:32 PM
    Hi Guys, i when i am starting room composite with speaker-light egress it is showing blank video with audio. Can you please tell me how do i fix it? I am on livekit cloud
    b
    t
    • 3
    • 3
  • e

    elegant-television-86674

    07/22/2025, 9:10 PM
    Hey guys, egress wont start. i have egress set up on docker on aws and after i start a broadcast on my website and add start viewing i click a button that is suppose to start egress but it just gives me an ok response. I have spent a few days getting this far but I cant seem to get egress to actually start. Any help would be appreciated.
    b
    • 2
    • 1
  • b

    billions-city-57920

    07/23/2025, 2:27 AM
    any one knows what causes the error
    start signal not received
    in egress?
    t
    • 2
    • 1
  • l

    limited-arm-86913

    07/23/2025, 5:34 AM
    hi, team, I am still working on egress, trying to save the recording on s3, got the error from the log: 2025-07-23 120520,013 - DEBUG livekit.agents - start reading stream {ā€œparticipantā€: ā€œuser-8370", ā€œsourceā€: ā€œSOURCE_MICROPHONEā€, ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€} 2025-07-23 120520,707 - INFO google_genai.live - b’{\n ā€œsetupCompleteā€: {}\n}\n’ {ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€} 2025-07-23 120522,004 - INFO vision-assistant - šŸŽ„ Recording started! Egress ID: EG_pCddGpyQGsnH {ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€} 2025-07-23 120532,006 - ERROR vision-assistant - āŒ Failed to monitor egress: EgressService.list_egress() got an unexpected keyword argument ā€˜room_name’ {ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€} 2025-07-23 120532,006 - ERROR asyncio - Unclosed client session client_session: aiohttp.client.ClientSession object at 0x10c088ec0 {ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€} 2025-07-23 120532,007 - ERROR asyncio - Unclosed connector connections: [’deque([(aiohttp.client_proto.ResponseHandler object at 0x113a5b350, 8671864.054997915)])’] connector: aiohttp.connector.TCPConnector object at 0x113396ea0 {ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€} 2025-07-23 120533,543 - DEBUG livekit.agents - start reading stream {ā€œparticipantā€: ā€œuser-8370ā€, ā€œsourceā€: ā€œSOURCE_CAMERAā€, ā€œpidā€: 77473, ā€œjob_idā€: ā€œAJ_nZnBBkEtRnZTā€}, it’s hard to see whether the problem is the recording or sending the recording. how can i fix the problem? This is egress log from dashboard,(the s3 bucket are tested with a test program successfully too)
    t
    • 2
    • 1
  • l

    limited-arm-86913

    07/23/2025, 11:59 AM
    I finally made egress work, if you are also troubled by egress, then you might want to checkout the record of my struggle and fix here: https://github.com/james-intallaga/livekit-egress-example-code-and-watchouts/tree/main.
    šŸŽ‰ 4
    šŸ‘ 1
    b
    s
    t
    • 4
    • 11
  • e

    enough-dusk-70629

    07/24/2025, 7:54 AM
    Hello team, Just tried understanding the pricing for web egress but couldn’t get much from the website. Is pricing for web egress same as room composite egress? https://docs.livekit.io/home/egress/web/
    d
    t
    • 3
    • 5
  • b

    blue-account-32459

    07/24/2025, 10:00 AM
    Hi everyone, I'm encountering an issue with the LiveKit Egress service that was working fine about a week ago. The service is running in Docker, and I'm using it to capture RTMP streams from OBS via the Ingress service and generate video/image files through Egress. Error:
    Copy code
    2025-07-24T09:36:23.140Z	ERROR	egress	server/server_ipc.go:43	internal error, shutting down	{"nodeID": "NE_rfAdieJZfob7", "clusterID": "", "error": "failed to link videoscale1 to capsfilter8"}
    <http://github.com/livekit/egress/pkg/server.(*Server).HandlerUpdate|github.com/livekit/egress/pkg/server.(*Server).HandlerUpdate>
    	/workspace/pkg/server/server_ipc.go:43
    <http://github.com/livekit/egress/pkg/ipc._EgressService_HandlerUpdate_Handler|github.com/livekit/egress/pkg/ipc._EgressService_HandlerUpdate_Handler>
    	/workspace/pkg/ipc/ipc_grpc.pb.go:147
    <http://google.golang.org/grpc.(*Server).processUnaryRPC|google.golang.org/grpc.(*Server).processUnaryRPC>
    	/root/go/pkg/mod/google.golang.org/grpc@v1.70.0/server.go:1400
    <http://google.golang.org/grpc.(*Server).handleStream|google.golang.org/grpc.(*Server).handleStream>
    	/root/go/pkg/mod/google.golang.org/grpc@v1.70.0/server.go:1810
    <http://google.golang.org/grpc.(*Server).serveStreams.func2.1|google.golang.org/grpc.(*Server).serveStreams.func2.1>
    	/root/go/pkg/mod/google.golang.org/grpc@v1.70.0/server.go:1030
    Setup: • Running LiveKit stack with Docker Compose • RTMP stream from OBS → LiveKit Ingress → LiveKit Egress • Was working fine a week ago without any config changes What I've tried: 1. Checked if it's related to the v1.8.2+ changes (adding
    cap_add: - SYS_ADMIN
    and
    enable_chrome_sandbox: false
    to egress config file) 2. Researched GStreamer pipeline issues with capsfilter (basically no such error has found) 3. Changed ingest encoder (I tried OBS and ffmpeg for software encoding and MAGEWELL Ultra Encode HDMI for hardware encoding) The error appears to be related to GStreamer's video pipeline, specifically linking videoscale to capsfilter elements. Has anyone encountered this issue or have suggestions on how to debug further? My docker-compose.yml and egress.yaml configs are pretty standard (based on the LiveKit examples). Happy to share specific config details if needed. Thanks in advance!
    t
    • 2
    • 1
  • p

    proud-match-31207

    07/24/2025, 12:28 PM
    I have opened an issue here related to Room Composite Egress where the audio recording gets blank for the AI Agent in outbound calls only. Has anyone faced a similar issue? GH Issue - https://github.com/livekit/egress/issues/952
    šŸ‘€ 1
  • b

    busy-fish-13948

    07/24/2025, 3:45 PM
    I'm trying to record audio from a participant in the room when they join using AutoTracksEgress, in what case does the same participant produce multiple OGGs at the end? ie. they publish multiple tracks? My client side is in Flutter, so mobile devices, does switching from the device's audio input create another track?
    t
    • 2
    • 1
  • n

    nutritious-scientist-91332

    07/25/2025, 9:43 AM
    hey there everyone. im having problems streaming my webrtc room to hls. if anyone can help, please let me know. been stuck in this for 4 days now
    t
    • 2
    • 1
  • b

    billions-city-57920

    07/26/2025, 5:57 PM
    I am trying to use the egress service locally but I can't get it to work .. has anyone managed to get it to work? I am setting up a local livekit server 1.9 along with egress 1.9 and redis using docker compose on linux ubuntu .. the livekit server works fine but the egress keeps getting
    start signal not recieved
    when I start a room composite recording using livekit cli .. any help would be appreciated
    • 1
    • 1
  • b

    bumpy-byte-87314

    07/27/2025, 12:56 PM
    Does a single track egress count against my egress quota? I bumped up against my quota limits for the first time yesterday but I routinely have 5x the number of tracks being egressed than I have quota for. I assume the quota was for rooms with active egress but I don't know for certain.
    t
    • 2
    • 1
  • b

    billions-city-57920

    07/29/2025, 10:05 PM
    Hi everyone, when I mount a volume into egress it generates MP4 files with
    root
    ownership .. is it possible to change that? also I don't seem to find the
    Dockerfile
    for egress in the official repo .. where can I find it?
    t
    • 2
    • 2
  • p

    polite-furniture-24847

    07/31/2025, 2:47 AM
    we're using livekit cloud. we are testing concurrent calls. but we have issues on recording. some calls were not recorded. i get this error.
    TwirpError(code=failed_precondition, message=egress with status EGRESS_COMPLETE cannot be stopped, status=412)
    h
    r
    • 3
    • 7
  • m

    mysterious-doctor-96559

    08/01/2025, 1:22 PM
    Hello Im pretty new and building incoming telephony ai call agent based on real time of openai. Is there a way to get audio of each turn or full conversation and save it on storage?
    q
    • 2
    • 4
  • b

    bulky-elephant-39024

    08/01/2025, 3:48 PM
    hello, i'm looking into setting up egress to s3 and using the python-sdk and it looks like you can only configure the S3Upload using an access key/secret. is there no way to do this using a role instead?
    t
    • 2
    • 1
  • b

    better-horse-7195

    08/03/2025, 4:09 AM
    how do we enable auto-egress for a project and not having to keep sending the request each time? is there a way?
    t
    • 2
    • 1
  • c

    creamy-horse-47432

    08/04/2025, 2:13 PM
    Hi, I am creating a streaming platform using livekit and using egress service to record and stream but i'm facing framedrop issue video is jittery not getting 60 fps when checking on webrtc-internals seeing low framerate and sometimes removed whereas I'm using 1080@60fps camera and high internet connection with the speed of 400-500mbps so how can we solve this problem and I am using livekit cloud in my application?
    f
    t
    • 3
    • 7
  • b

    busy-fish-13948

    08/05/2025, 12:06 PM
    how do I set the name of the Egress metadata file? By default it's just named after the EgressID but I want to set it to something else
    t
    • 2
    • 2
  • p

    purple-printer-83527

    08/06/2025, 1:12 AM
    Hi, I’m new to using livekit cloud. Can someone point me in the right direction on how I can get an egress recording of a room started? Would I need to pass some parameters as part of createroom? or it’s some other way?
    f
    • 2
    • 2
  • h

    happy-fall-9027

    08/06/2025, 8:34 AM
    Hey guys, I was trying to record the session using egress in my by creating a request in my entrypoint function and it starts also. but when the session ends and i try to stop recording using egress id, i get an error - Failed to stop egress recording: TwirpError(code=failed_precondition, message=egress with status EGRESS_FAILED cannot be stopped, status=412) , also i cannot find any recording in my aws bucket. can someone please help me on this!!!
  • e

    eager-elephant-38139

    08/07/2025, 2:50 PM
    Egress status is stuck at "Starting" but the duration is increasing. How to kill them? Can we just stop egress by api as there is no way to do it via ui. Are these being counted in billing?
    • 1
    • 1