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.