Skip to content

[Bug] Issues when live switching between streams #2011

@fkoemep

Description

@fkoemep

Describe the problem

Whenever I'm watching some specific channels and try to switch to another specific one, the video stops and gets stuck in a frame from the previous stream. This happened in 2 Android TV devices but it works fine in Windows and a Samsung S23+ device.

All of these channels apparently are 29.97fps, they have widevine and playready drm protection and they are being decoded using only the decription kid:key pair from widevine drm. The only workaround I found was to disable mediacodec and mediacodec surface hardware acceleration but it's not a real solution. I also tried disabling the c2.amlogic.avc.decoder so that Kodi uses c2.android.avc.decoder but nothing changed.

I would gladly share the manifest url and keys but I'm afraid it's geo blocked to certain country in south america. If there's any dev from that region let me know so that we can debug this easily

compressed_100MB_MiTV-AFMU0.2026-03-18.00-05-45.mp4

Possible fix

I feel like Kodi is trying to recycle something from the previous video stream and ends up failing in some amlogic devices. Maybe the fix has something to do with this? #1001

Steps to reproduce

  1. Using IPTV Simple Client start watching a channel
  2. While watching the stream, switch to another channel
  3. Video gets stuck, audio keeps working. If you switch back to the previous channel then the video resumes normally.

Debug log

https://paste.kodi.tv/rimefiyefo.kodi

Stream manifest file(s)

Sample 1080p manifests that have these issues: https://paste.kodi.tv/uwohupebex https://paste.kodi.tv/pulakezupa

Sample 720p manifests that have these issues: https://paste.kodi.tv/lotenemiki https://paste.kodi.tv/vehuwedofo

Another sample 720p manifest which seems to be fine: https://paste.kodi.tv/jajisutiju

Additional info

No response

Operating system(s)

Android

Operating system version(s)

Android TV 14 and Android TV 11 (TCL P8M)

InputStream Adaptive version(s)

v21.5.18

Kodi version(s)

v21.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage: Needed(managed by bot) issue that was just created and needs someone looking at it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions