Skip to content

Bug: hls.js regenerating after load #1031

Open
@endymion1818

Description

@endymion1818

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

playback-core

Which browsers are you using?

Chrome, Firefox

Which operating systems are you using?

Other (add details below)

Description

I'm using this component via mux-video v0.22.0, After completing the full load, HLS.js seems to begin a new transmux session, I can't figure out what might be triggering it. Is there anything I can do to mitigate this issue? Why might it be doing this?

Reduced test case

https://codepen.io/endymion1818/pen/eYqXaYw

Steps to reproduce

  1. Load player
  2. Wait 5 / 10 seconds
  3. Observe new transmux session

Current Behavior

A new transmux session is initiated after load

Expected Behavior

Initial transmux session is not discarded and the player doesn't re-render

Errors

[log] > [transmuxer-interface, main]: Starting new transmux session for sn: 0 p: -1 level: 3 id: 1
        discontinuity: true
        trackSwitch: true
        contiguous: false
        accurateTimeOffset: true
        timeOffset: 0
        initSegmentChange: true
[log] > [mp4-remuxer]: ISGenerated flag reset

What version of the package are you using?

0.27.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions