Skip to content

Presentation display capability detection #348

Open

Description

@markafoltz

This is a placeholder for discussion of capability detection for presentation displays. Basically, the controller may want to provide more detailed constraints on the display through the API to further filter the list of screens shown to the user.

For example:

  • It makes little sense for a photo or video site to be able to present to wireless speakers, but it makes perfect sense for a music or podcasting site.
  • Media sites may require specific APIs (EME, MSE) or codecs to be present on the receiving UA for video playback to succeed.

This discussion is to brainstorm ways to improve this experience, while addressing privacy and implementation concerns.

Related: https://github.com/WICG/media-capabilities (not yet drafted)

Activity

  1. markafoltz commented on Sep 16, 2016

    @markafoltz
    ContributorAuthor
  2. mounirlamouri commented on Sep 22, 2016

    @mounirlamouri
    Member

    Would it make sense to have an extended constructor for PresentationRequest that takes a list of constraints that could include these information?

  3. tidoust commented on Sep 26, 2016

    @tidoust
    Member

    For reference, see related discussion at TPAC

  4. markafoltz commented on Sep 21, 2017

    @markafoltz
    ContributorAuthor

    Would be good to analyze this again with respect to MediaCapabilities.

  5. markafoltz commented on Nov 1, 2017

    @markafoltz
    ContributorAuthor

    The feedback from #444 suggests that there could be a use case for "presenting" the same page onto a VR headset, which would require knowing if there is a VR headset available for presentation. We should pick this up based on the outcome of that discussion.

  6. anssiko commented on Nov 7, 2017

    @anssiko
    Member

    Closing this per F2F decision, if concerns or new information emerges we can reopen.

  7. markafoltz commented on May 7, 2018

    @markafoltz
    ContributorAuthor

    Had a recent conversation with a user who was surprised they could present a visual document to an audio-only networked speaker, which is possible with the current API.

    Meanwhile, presenting audio-only pages to these devices makes perfect sense.

    With URL-based filtering, we would need the receiver to know in advance which documents required video output and which do not. I would consider a change allow the PresentationRequest to note whether video or audio were required to be a good usability improvement.

  8. louaybassbouss commented on May 8, 2018

    @louaybassbouss
    Contributor

    +1 but I am wondering how it works for 2-UA mode. Do you expect that the receiver URL points to an HTML page that plays an audio (in this case the audio receiver device needs to parse the receiver page/run Javascript ??) or directly to the audio itself?

  9. markafoltz commented on May 9, 2018

    @markafoltz
    ContributorAuthor

    Yes 😄 Cast applications that run on Cast for Audio/Assistant speakers work exactly this way.

  10. Marvin-Brouwer commented on Dec 28, 2024

    @Marvin-Brouwer

    I'd like to add that the navigator.mediaDevices.getUserMedia also allows for media constraints.
    So to me it makes sense to allow this for the Presentation API too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions