Skip to content

Correctly forward MediaPeriod.Callback with PillarboxMediaPeriod.#861

Merged
MGaetan89 merged 3 commits intomainfrom
forward_media_period_callback
Jan 20, 2025
Merged

Correctly forward MediaPeriod.Callback with PillarboxMediaPeriod.#861
MGaetan89 merged 3 commits intomainfrom
forward_media_period_callback

Conversation

@StaehliJ
Copy link
Contributor

Pull request

Description

The goal of this PR is to improve MediaPeriod.Callback when using PillarboxMediaPeriod.

Changes made

  • Now MediaPeriod.Callback call it's callback with the right MediaPeriodtype.

Checklist

  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).

@github-actions
Copy link

github-actions bot commented Jan 17, 2025

Code Coverage

Overall Project 52.06% 🟢
Files changed 100% 🟢

Module Coverage
:pillarbox-player 57.37% 🟢
Files
Module File Coverage
:pillarbox-player PillarboxMediaPeriod.kt 100% 🟢

@MGaetan89
Copy link
Contributor

Should we add a test to PillarboxMediaPeriodTest to ensure that we receive the PillarboxMediaPeriod in the callback?

@MGaetan89 MGaetan89 enabled auto-merge January 20, 2025 09:27
@MGaetan89 MGaetan89 added this pull request to the merge queue Jan 20, 2025
auto-merge was automatically disabled January 20, 2025 09:43

Pull Request is not mergeable

Merged via the queue into main with commit 84f40b1 Jan 20, 2025
9 checks passed
@MGaetan89 MGaetan89 deleted the forward_media_period_callback branch January 20, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants