Skip to content

Provide alternative ways of implementing route selection #1237

@defagos

Description

@defagos

As a UI/UX designer I would like to be able to add route selection (usually AirPlay) in alternative ways, most notably when other route picking options are available (e.g. Google Cast).

Acceptance criteria

  • Options have been investigated.
  • A list of useful UI components is provided to answer this need.

Hints

Modern route picking occurs using AVRoutePickerView. Since iOS 16 this view makes it possible to customize route selection via customRoutingController, so this might open up new possibilities. Moreover some apps (e.g. YouTube) provide a consolidated menu for route selection, especially since Google Cast is also supported. This could possibly make integration with Castor receiver selection even more natural.

Also check the official documentation.

Tasks

  • Create a PoC to integrate a route picker view as a Menu item.
  • Create a PoC to integrate non-standard routes (not related to AirPlay) using customRoutingController. Might not be possible since it is likely we can only re-route AVFoundation playback.
  • Try to have the connection state displayed in PoC components (if meaningful).
  • Implement identified useful components based on PoC output.
  • Update our route picker views so that they support customRoutingController as well.
  • Create a Castor issue to implement a customRoutingController if a PoC shows this is possible, and create a method to return a menu item content as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions