Skip to content

Play HLS stream with mp3 audio by VLC/ffplay/H5(srs-player). SRS 4.0.269+ #3337

@winlinvip

Description

@winlinvip

Description

Failed to play HLS with MP3 audio.

  1. SRS Version: v4.0.268

  2. SRS Config:

listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;
http_server {
    enabled         on;
    listen          8080;
    dir             ./objs/nginx/html;
}
vhost __defaultVhost__ {
    hls {
        enabled     on;
    }
}

Replay:
Make sure to maintain the markdown structure.

Please describe how to replay the bug? (重现Bug的步骤)

Make sure to maintain the markdown structure.

Step 1: Publish RTMP with MP3 audio.

ffmpeg -stream_loop -1  -re -i doc/source.flv -vcodec copy -acodec libmp3lame \
    -f flv rtmp://localhost/live/livestream

Step 2: Play by HLS: http://localhost:8080/live/livestream.m3u8

Step 3: Play failed.

Expect (Expected Behavior)

Make sure to maintain the markdown structure.

Play HLS with MP3 audio successfully.

TRANS_BY_GPT3

Metadata

Metadata

Assignees

Labels

FeatureIt's a new feature.HLSFor HLS, MPEG-DASH or CMAF.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions