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

HLS manifest gives 404 on Edge node in cluster when subfolder is created under streams directory. #4221

Closed
Mohit-3196 opened this issue May 27, 2022 · 1 comment
Assignees

Comments

@Mohit-3196
Copy link
Contributor

Short description

In a cluster when a subfolder is created under streams directory for a broadcast, HLS manifest is not playing from the edge node and webrtc also fails to load.
Both play fine on the origin node hosting the broadcast.

Environment

  • Ant Media Server version: v2.4.3

Steps to reproduce

  1. Create a broadcast using REST API or from dashbaord.
  2. Update the subFolder for the broadcast.
  3. Play HLS manifest from the edge node.

Expected behavior

HLS manifest should play fine from the edge node.

Actual behavior

HLS manifest fails to load and gives 404, even WebRTC failes to load on edge node.

Logs

Place logs on pastebin or elsewhere and put links here

Join Google Group and be a part of Ant Media Server Community.

@mekya
Copy link
Contributor

mekya commented Oct 19, 2022

Hey Guys,

This problem has been fixed in v2.5.0. Here is the 2.5.0 changelog

Just a point that you need to give subfolder in the m3u8 url. For instance, if the subfolder is classroom and the stream id is stream1 for LiveApp. You need to access the m3u8 through this url https://{FQDN}/LiveApp/streams/classroom/stream1.m3u8
If you're using embedded player, you can give classroom/stream1 as id parameter in the url.

FYI

@dalv0911 and @LeDoTruongAn

@mekya mekya closed this as completed Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants