3 headless player listener issues: when playing MP4 in Shaka Player in one case; onEnded Called Twice, Position updates reports 0


:backhand_index_pointing_right: Bug Description


1. Summary

3 headless player listener issues: when playing MP4 in Shaka Player in one case; onEnded Called Twice, Position updates reports 0

App Name: starz.com
App Link on Amazon Appstore (found through Developer Console → Actions column in App List → View on Amazon.com):

2. Observed Behavior

Explain what actually happened, noting any discrepancies or malfunctions.

* When using Shaka Player and playing MP4 we do not get a duration update until a seek is performed by the user

* onEnded occurs twice at the end of any media played (be it MP4 or DASH-DRM-PROTECTED for us).  

* position does not report correctly just after a seek and sometimes reports 0 incorrectly

3. Environment

Please fill out the fields related to your bug below:

  • SDK Version: 0.20.3719

  • App State: Foregorund

  • OS Information
    NAME=“OS”

    OE_VERSION=“4.0.0”

    OS_MAJOR_VERSION=“1”

    OS_MINOR_VERSION=“1”

    RELEASE_ID=“10”

    OS_VERSION=“1.1”

    BRANCH_CODE=“TV Ship”

    BUILD_DESC=“OS 1.1 (TV Ship/125)”

    BUILD_FINGERPRINT=“4.0.162275.0(3072cab629675a74)/125N:user-external/release-keys”

    BUILD_VARIANT=“user-external”

    BUILD_TAGS=“release-keys”

    BUILD_DATE=“Sun Sep 21 00:45:43 UTC 2025”

    BUILD_TIMESTAMP=“1758415543”

    VERSION_NUMBER=“1001010012550”


This post was requested by our Amazon contact whom I will be sharing vpkg/build directory + relevant logs and video demonstrating these issues.


Hi @MatthewThies
Thanks for reporting this issue. Please share the VPKG files via your Amazon contacts, that will allow us to look into this further.
Warm regards,
Ivy

Hi @MatthewThies
Can you please share the steps to reproduce the issues? Also, please share the logs if possible.
Warm regards,
Ivy

Closing this topic due to inactivity.