Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using the Reuse Port function, the hls slice stream is not online and expires #4121

Open
wangze-TIM opened this issue Jul 17, 2024 · 0 comments
Labels
EnglishNative This issue is conveyed exclusively in English.

Comments

@wangze-TIM
Copy link

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs and utilized
the Ask AI feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug
When using the Reuse Port function, the hls slice stream is not online and expires

Version
Use docker version SRS/6.0.134

To Reproduce
Steps to reproduce the behavior:

  1. Pull docker image file registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6

  2. Create multiple srs configuration files, except for the pid name, everything else is the same.

  3. Create the memory directory /mnt/ramdisk for hls slice storage. The command is mkdir -p /mnt/ramdisk && mount -o size=10G -t tmpfs none /mnt/ramdisk
    The command to start multiple srs servers is as follows
    docker run -d --privileged=true --net=host --restart=always --name serverA -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverA/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6
    docker run -d --privileged=true --net=host --restart=always --name serverB -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverB/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6
    docker run -d --privileged=true --net=host --restart=always --name serverC -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverC/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6
    docker run -d --privileged=true --net=host --restart=always --name serverD -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverD/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6

  4. After pushing the stream, I found that expired ts and m3u8 were not automatically deleted.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.!!! Before submitting a new bug report, please ensure you have searched for any existing bugs and utilized
the Ask AI feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug
When using the Reuse Port function, the hls slice stream is not online and expires

Version
Use docker version SRS/6.0.134

To Reproduce
Steps to reproduce the behavior:

  1. Pull docker image file registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6
  2. Create multiple srs configuration files, except for the pid name, everything else is the same.
image 3. Create the memory directory /mnt/ramdisk for hls slice storage. The command is mkdir -p /mnt/ramdisk && mount -o size=10G -t tmpfs none /mnt/ramdisk The command to start multiple srs servers is as follows docker run -d --privileged=true --net=host --restart=always --name serverA -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverA/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6 docker run -d --privileged=true --net=host --restart=always --name serverB -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverB/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6 docker run -d --privileged=true --net=host --restart=always --name serverC -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverC/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6 docker run -d --privileged=true --net=host --restart=always --name serverD -v /etc/localtime:/etc/localtime:ro -v /opt/srs/serverD/:/usr/local/srs/conf/ -v /mnt/ramdisk:/usr/local/srs/objs/nginx/html/ registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6
  1. After pushing the stream, I found that expired ts and m3u8 were not automatically deleted.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Additional context
Add any other context about the problem here.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

No branches or pull requests

2 participants