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 playback issue with H265 encoded SRT stream #4419

Closed
yashtandon113 opened this issue Sep 25, 2022 · 1 comment
Closed

HLS playback issue with H265 encoded SRT stream #4419

yashtandon113 opened this issue Sep 25, 2022 · 1 comment

Comments

@yashtandon113
Copy link
Contributor

Short description

There is a black video with audio in HLS playback (H264 transcoded) when the SRT stream is published with H265. In order to solve that player page to be refreshed on every new session.

Environment

  • Ant Media Server version: v2.4.3 and above

Steps to reproduce

  1. Enable at least one ABR on the server
  2. Publish SRT with H265
  3. Play the HLS stream
  4. Stop publishing after few seconds and let all the HLS files delete from the server
  5. Do not close the player Tab
  6. Publish the stream again

Expected behavior

Stream should connect and play fine

Actual behavior

Connection is established as expected and the HLS stream started playing again but there is no video and only audio is playing. To resolve that we need to refresh the page. There is no such issue while publishing stream with H264.

@mustafaboleken
Copy link
Contributor

Because of that H265 is not currently supported by browsers, this issue occurs. We added a setting to solve that. If you open <AMS_DIR>/webapps/<AppName>/WEB-INF/red5-web.properties and add settings.addOriginalMuxerIntoHlsPlaylist=false, then original stream is not played.

@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
Projects
None yet
Development

No branches or pull requests

3 participants