ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.47k stars 5.35k forks source link

The duration information in the on_hls callback is inaccurate, causing the reassembled m3u8 to be unplayable #3762

Closed timfengzi closed 1 year ago

timfengzi commented 1 year ago

Note: Please read FAQ before file an issue, see #2716

Description

Please description your issue here

  1. SRS Version: 5

  2. SRS Log:

  3. SRS Config:

hls { enabled on; hls_dispose 60; hls_fragment 2; hls_window 1800; hls_ts_file [app]/[stream]/[seq]-[timestamp].ts; hls_m3u8_file [app]/[stream]/[stream].m3u8; }

Replay

Please describe how to replay the bug?

Step 1: xxxxxx Normal recording of HLS

Expect

Please describe your expectation.

TRANS_BY_GPT4

timfengzi commented 1 year ago

I am testing again

TRANS_BY_GPT4

timfengzi commented 1 year ago

Sorry, it turns out to be a cross-domain issue causing this.

TRANS_BY_GPT4