Skip to content

[bug] filename_suffix of image_output doesn't work. #799

@jjchen01

Description

@jjchen01

filename_suffix of image_output doesn't work.

cli: lk egress start path/to/json

json:

{
  "room_name": "room1",
  "image_outputs": [
    {
      "capture_interval": 2,
      "filename_prefix": "test1/test.jpeg",
      "filename_suffix": 2,
      "s3": {
        "endpoint": "path to endpoint",
        "access_key": "",
        "secret": "",
        "bucket": "test",
        "force_path_style": true
      }
    }
  ]
}

expected file in s3:

  • test1/test.jpeg

actual files in s3

  • test1/test.jpeg00001.jpeg
  • test1/test.jpeg00002.jpeg
  • test1/test.jpeg00003.jpeg

According to https://docs.livekit.io/reference/other/egress/api/#imagefilesuffix
IMAGE_SUFFIX_NONE_OVERWRITE(value: 2): No suffix; overwrite the same file with the latest image.

I was supposed to get only one, but I received a list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions