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

Create media session UI and fix player notification #31

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from

Conversation

ShareASmile
Copy link
Owner

@ShareASmile ShareASmile commented Jun 23, 2024

What is it?

  • Bug fix (user facing)
  • Feature (user facing)
  • Code base improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • it introduces MediaSessionPlayerUi, moving more code out of the Player, and fixes various serious issues related to the player notification and the media session. I tried to put as much info as possible in commit messages and comments, so that it is simpler to debug and git blame.

    Some useless classes were removed
    MediaSessionCallback and PlayerMediaSession was just a wrapper for some player functions (half of which used in one place, half in another), but it didn't make any sense not to use the player instance directly bca9543
    All of MediaSessionManager was moved in MediaSessionPlayerUi

Testing apk

debug.zip

Agreement

ShareASmile and others added 10 commits June 23, 2024 06:01
it introduces MediaSessionPlayerUi, moving more code out of the Player, and fixes various serious issues related to the player notification and the media session. I tried to put as much info as possible in commit messages and comments, so that it is simpler to debug and git blame.

    Some useless classes were removed
        MediaSessionCallback and PlayerMediaSession was just a wrapper for some player functions (half of which used in one place, half in another), but it didn't make any sense not to use the player instance directly bca9543
        All of MediaSessionManager was moved in MediaSessionPlayerUi

Co-Authored-By: Stypox <stypox@pm.me>
Co-Authored-By: Stypox <stypox@pm.me>
Co-Authored-By: Stypox <stypox@pm.me>
Co-Authored-By: Stypox <stypox@pm.me>
fix channel content not loading giving parsing exception could not load channel id
@ShareASmile ShareASmile changed the base branch from flora to dev July 14, 2024 10:27
ShareASmile and others added 2 commits July 14, 2024 16:19
…eams

Some services may only have video streams and no separate audio streams available.
This commit will add audio background playback support for those services.
It uses the video source as audio source for background playback.

Co-Authored-By: evermind-zz <55653+evermind-zz@users.noreply.github.com>
Co-Authored-By: evermind-zz <55653+evermind-zz@users.noreply.github.com>
Repository owner deleted a comment from Baltazar500 Jul 20, 2024
Repository owner deleted a comment from Baltazar500 Jul 20, 2024
Repository owner locked and limited conversation to collaborators Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant