Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPD with new period gets stuck during playback #1540

Closed
7 tasks
tmm1 opened this issue Apr 26, 2024 · 3 comments
Closed
7 tasks

MPD with new period gets stuck during playback #1540

tmm1 opened this issue Apr 26, 2024 · 3 comments

Comments

@tmm1
Copy link
Contributor

tmm1 commented Apr 26, 2024

Bug report

Regression of #1175

Describe the bug

Previously would show "Switching to new Period"

Now playback gets stuck and the logs show mpd refresh over and over without switching over to the next period

Expected Behavior

Here is a clear and concise description of what was expected to happen:

Actual Behavior

[AS-0] Download finished: 1711567398226item-06item_Segment-664560.mp4 (downloaded 2285902 byte, speed 57610955.24 byte/s)
[AS-1] Download finished: 1711567398226item-07item_Segment-664560.mp4 (downloaded 108040 byte, speed 3620498.81 byte/s)
ensureSegment: [AS-0] Begin WaitForSegment stream rep. id "1711567398226item-06item" period id "5760"
Download finished: master.mpd (downloaded 21646 byte, speed 322131.44 byte/s)
RefreshLiveSegments: MPD update - Done (repr. id "1711567398226item-06item", period id "5760")
RefreshLiveSegments: MPD update - Done (repr. id "1711567398226item-07item", period id "5760")
RefreshLiveSegments: Inserting new Period (id=5761, start=2593986796)
Download finished: master.mpd (downloaded 21826 byte, speed 146706.51 byte/s)
RefreshLiveSegments: MPD update - Done (repr. id "1711567398226item-06item", period id "5760")
RefreshLiveSegments: MPD update - Done (repr. id "1711567398226item-07item", period id "5760")
Download finished: master.mpd (downloaded 21844 byte, speed 713352.29 byte/s)

Possible Fix

To Reproduce

Steps to reproduce the behavior:

Debuglog

The debuglog can be found here:

MPD/M3U8s/ISM

An example or copy of a manifest (or manifests for HLS - master and variants) can be found here:

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Your Environment

Used Operating system:

  • Android

  • iOS

  • tvOS

  • Linux

  • OSX

  • Windows

  • Windows UWP

  • Operating system version/name:

  • Kodi version:

  • inputstream.adaptive version:

note: Once the issue is made we require you to update it with new information should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

@CastagnaIT
Copy link
Collaborator

how do you think we can investigate if you dont attach the full debug log and all the manifests?

@tmm1
Copy link
Contributor Author

tmm1 commented Apr 27, 2024

Don't worry I'll fix it.

@CastagnaIT
Copy link
Collaborator

closed since you havent provided any way to test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants