presentation-api icon indicating copy to clipboard operation
presentation-api copied to clipboard

Presentation display capability detection

Open markafoltz opened this issue 9 years ago • 9 comments

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)

markafoltz avatar Sep 16 '16 23:09 markafoltz

CC @mounirlamouri

markafoltz avatar Sep 16 '16 23:09 markafoltz

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

mounirlamouri avatar Sep 22 '16 13:09 mounirlamouri

For reference, see related discussion at TPAC

tidoust avatar Sep 26 '16 12:09 tidoust

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

markafoltz avatar Sep 21 '17 22:09 markafoltz

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.

markafoltz avatar Nov 01 '17 21:11 markafoltz

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

anssiko avatar Nov 07 '17 01:11 anssiko

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.

markafoltz avatar May 07 '18 22:05 markafoltz

+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?

louaybassbouss avatar May 08 '18 06:05 louaybassbouss

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

markafoltz avatar May 09 '18 17:05 markafoltz