mangui / mangui/flashls

ERROR:updateFragment:seqnum 37952118 not found!

Open
#496 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fixed/answered question
Dominant language
ActionScript
Stars
744
Forks
259
PR merge metrics
No merged PRs in 30d

Description

Hi, Guillaume.

Live playback stops after a some time with error:

> DEBUG:Loaded 37952118 of [37952124,37952127],level 0 m/M PTS:617713/619633
> ERROR:updateFragment:seqnum 37952118 not found

Why flashls needed this very olders segment #37952118 (-10 sec ago from current MEDIA.SEQ)?

FF44 - often it happens, Chrome48 - rarely.

> 18:27:07.172 DEBUG:Loading 37952123 of [37952123,37952126],level 0 index.php
> 18:27:07.177 DEBUG:loading fragment:http://localhost:874/hls/4/av_37952123.ts?sid=624b319c-9d08-4fca-9b08-55303b3bfbd6&ab=aW5zdGFsbDo%3D
> index.php
> 18:27:07.501 DEBUG:level 0 playlist:
> # EXTM3U
> # EXT-X-VERSION:3
> # EXT-X-TARGETDURATION:2
> # EXT-X-ALLOW-CACHE:NO
> # EXT-X-MEDIA-SEQUENCE:37952124
> # EXTINF:1.472,
>
> /hls/4/av_37952124.ts?sid=624b319c-9d08-4fca-9b08-55303b3bfbd6&ab=aW5zdGFsbDo%3D
> # EXTINF:1.995,
>
> /hls/4/av_37952125.ts?sid=624b319c-9d08-4fca-9b08-55303b3bfbd6&ab=aW5zdGFsbDo%3D
> # EXTINF:1.956,
>
> /hls/4/av_37952126.ts?sid=624b319c-9d08-4fca-9b08-55303b3bfbd6&ab=aW5zdGFsbDo%3D
> # EXTINF:1.984,
>
> /hls/4/av_37952127.ts?sid=624b319c-9d08-4fca-9b08-55303b3bfbd6&ab=aW5zdGFsbDo%3D
> 18:27:07.509 DEBUG:updateFragments: unknown PTS info for this level index.php
> 18:27:07.513 DEBUG:Level 0 Live Playlist parsing finished: reload in 1438 ms index.php
> 18:27:07.524 DEBUG:TS: flushing demux index.php
> 18:27:07.528 DEBUG:TS: parsing complete index.php
> 18:27:07.532 DEBUG:m/M audio PTS:617713/619633 index.php
> 18:27:07.537 DEBUG:m/M video PTS:617886/619692 index.php
> 18:27:07.541 DEBUG:Delta audio/video m/M PTS:173/59 index.php
> 18:27:07.546 DEBUG:Total Process duration/length/bw:10359/309824/234 kb/s index.php
> 18:27:07.550 DEBUG:Loaded 37952118 of [37952124,37952127],level 0 m/M PTS:617713/619633 index.php
> 18:27:07.556 ERROR:updateFragment:seqnum 37952118 not found! index.php
> 18:27:07.597 DEBUG:probe fragment type index.php
> 18:27:07.603 DEBUG:AAC/MP3/TS match:false/false/true index.php
> 18:27:07.912 DEBUG:TS match + H264 signaled in Manifest, use TS demuxer index.php
> 18:27:07.917 DEBUG:loading completed index.php
> 18:27:08.220 DEBUG:Loading duration/RTT/length/speed:745/394/302492/3172 kb/s index.php
> 18:27:08.587 DEBUG:appending first level/sn/type/dts/pts/position:0/37952118/DISCONTINUITY/619547/619547/1.83 index.php
> 18:27:08.605 DEBUG:appending last level/sn/type/dts/pts/position:0/37952118/AVC_NALU/619692/619692/1.98 index.php
> 18:27:08.919 DEBUG:[SEEK_STATE] from SEEKING to SEEKED index.php
> 18:27:08.941 DEBUG:loadnextfragment() index.php
> 18:27:09.279 DEBUG:TS: PAT found.PMT PID:4096 index.php
> 18:27:09.675 DEBUG:playing fragment(level/sn/cc):0/37952118/0 index.php
> 18:27:09.698 DEBUG:custom tag:#EXT-X-ALLOW-CACHE:NO
> index.php
> 18:27:09.702 ERROR:HLSError(code/url/msg)=2/http://localhost:874/hls/4/master.m3u8?ab=aW5zdGFsbDo%3D/Cannot load M3U8: Error #2032

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the updateFragment and loadnextfragment paths against the logged live playlist and its EXT-X-MEDIA-SEQUENCE values. Use the provided playback logs and master.m3u8 request to reproduce the failure, then determine the conditions that lead to the seqnum-not-found and Error #2032 messages.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.