Skip to content

[BUG] filename_suffix of image_output doesn't work. #1154

@jjchen01

Description

@jjchen01

Describe the bug
filename_suffix of image_output doesn't work.

Egress Version
v1.12

Egress Request

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.

Additional context

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.

Logs

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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