Skip to content
Snippets Groups Projects

AudioPlayerViewController: Add Chromecast support

This merge requests adds the Chromecast support to the audio player.

The interface is now updated when a cast connection is:

  • established inside the audio player
  • detected when opening the audio player

The VideoPlayerInfoView class was renamed to PlayerInfoView to match the purpose of this class as it is used in both the video and the audio player.

The device button's appearance of the video player is also adjusted according to the current cast state.

This fixes a visual glitch where the button is not updated when the connection is dropped before opening the player.

Screenshot
Screen recordings Simulator_Screen_Recording_-iPhone_14-_2023-03-09_at_18.34.19 Simulator_Screen_Recording_-iPhone_14-_2023-03-09_at_18.33.51
Edited by Diogo Simao Marques

Merge request reports

Merge request pipeline #321456 passed

Merge request pipeline passed for d3372eae

Approval is optional

Merged by Felix Paul KühneFelix Paul Kühne 2 years ago (Mar 11, 2023 11:17am UTC)

Merge details

  • Changes merged into with d3372eae.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #321460 passed

Pipeline passed for d3372eae on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading