AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.54k stars 1.06k forks source link

Can't Use Ome with HLS (or LLHLS) stream #1661

Closed antonymarion closed 2 months ago

antonymarion commented 2 months ago

Describe the bug I start Ome with Docker then I stream an hls stream using ffmpeg then I can't load it with OvenMediaPlayer

To Reproduce Steps to reproduce the behavior:

  1. docker run -d \ -p 1935:1935 \ -p 3333:3333 \ -p 3334:3334 \ -p 3478:3478 \ -p 9000:9000 \ -p 9999:9999/udp \ -p 4000:4000/udp \ --name ovenmediaengine \ airensoft/ovenmediaengine:latest
  2. ffmpeg -v verbose -stream_loop -1 -re -i ./filename.m3u8 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f hls https://your_domain_or_localhost.net:1935/app/llhls.m3u8
  3. Launch OvenMediaplayer over https://your_domain_or_localhost.net with url hls

Expected behavior It should show the hls stream

Logs On Portainer I can see the following logs over OvenMediaEngine, but nothing else image

On ffmpeg in verbose mode, I do not see the frames sent to ovenMediaEngine whereas on a test server (https://ffmpeg-hls-test.datastream.tebi.io/test.m3u8) with the same ffmpeg command I can see them image

Server (please complete the following information):

Player (please complete the following information):

Additional context Using the same ome server (deployed with docker or locally with docker) with rtmp and webRTC everything works fine

naanlizard commented 2 months ago

Afaik ome doesn't support his ingest, especially not like you're trying to do. Use rtmp and make sure your ports are forwarded properly

On Tue, Jul 16, 2024 at 05:04 antonymarion @.***> wrote:

Describe the bug I start Ome Engine with Docker then I stream an hls stream using ffmpeg then I can't load it with OvenMediaPlayer

To Reproduce Steps to reproduce the behavior:

  1. docker run -d \ -p 1935:1935 \ -p 3333:3333 \ -p 3334:3334 \ -p 3478:3478 \ -p 9000:9000 \ -p 9999:9999/udp \ -p 4000:4000/udp \ --name ovenmediaengine \ airensoft/ovenmediaengine:latest
  2. ffmpeg -v verbose -stream_loop -1 -re -i ./filename.m3u8 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f hls https://ome.your_domain_or_localhost.net:1935/app/llhls.m3u8
  3. Launch OvenMediaplayer over https://ome.your_domain_or_localhost.net with url hls

Expected behavior It should show the hls stream

Logs On Portainer I can see the following logs over OvenMediaEngine, but nothing else image.png (view on web) https://github.com/user-attachments/assets/160c14b9-1e13-4334-ace3-967522f1ebcc

On ffmpeg in verbose mode, I do not see the frames sent to ovenMediaEngine whereas on a test server ( https://ffmpeg-hls-test.datastream.tebi.io/test.m3u8) with the same ffmpeg command I can see them image.png (view on web) https://github.com/user-attachments/assets/5dff4609-df37-4c07-9359-75f9e049bc06

Server (please complete the following information):

  • OS: Windows
  • OvenMediaEngine Version: latest
  • Branch: main

Player (please complete the following information):

  • Device: PC
  • OS: Windows
  • Browser Chrome

Additional context Add any other context about the problem here.

— Reply to this email directly, view it on GitHub https://github.com/AirenSoft/OvenMediaEngine/issues/1661, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV4BWLCLBQOYAEGKQLE3XLZMQTNNAVCNFSM6AAAAABK5GUEYWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDSNJSGU4DANQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>