Skip to content

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

@winlinvip

Description

@winlinvip

Description

Failed to play HTTP-TS or HLS with MP3 audio.

  1. SRS Version: SRS 4.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__ {
    http_remux {
        enabled     on;
        mount       [vhost]/[app]/[stream].ts;
    }
}

Replay:

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

  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
  1. Play by HTTP-TS: http://localhost:8080/live/livestream.ts
  2. Play failed.

Expect (Expected Behavior)

Play HTTP-TS/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