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

Media Session: video conferencing actions #608

Closed
1 task done
mounirlamouri opened this issue Feb 12, 2021 · 8 comments
Closed
1 task done

Media Session: video conferencing actions #608

mounirlamouri opened this issue Feb 12, 2021 · 8 comments
Assignees
Labels
privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response. Progress: propose closing we think it should be closed but are waiting on some feedback or consensus Resolution: satisfied The TAG is satisfied with this design Review type: CG early review An early review of general direction from a Community Group Review type: small delta Topic: media Venue: Media WG

Comments

@mounirlamouri
Copy link

Ya ya yawm TAG!

I'm requesting a TAG review of Media Session: video conferencing actions.

Make Media Session useful for video conferencing use cases. This addition to the Media Session specification allows websites to handle microphone, camera, and hangup via new actions and states.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): Media WG
  • The group where standardization of this work is intended to be done ("unknown" if not known): Media WG
  • Existing major pieces of multi-stakeholder review or discussion of this design: N/A but GH issue is meant for that
  • Major unresolved issues with or opposition to this design: N/A
  • This work is being funded by: N/A

You should also know that...

This is a small addition of the Media Session specification that has already launched in Chrome and (afaik) Firefox. Safari expressed interest and has a WIP implementation. Apple mentioned that they want to add a hangup action to the Media Session specification during the Media WG meeting in January.

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @steimelchrome @mounirlamouri

@mounirlamouri mounirlamouri added Progress: untriaged Review type: CG early review An early review of general direction from a Community Group labels Feb 12, 2021
@kenchris
Copy link

Considering that people are asking about the use-cases (w3c/mediasession#264 (comment)) it probably makes sense to write a minimal explainer with those

@mounirlamouri
Copy link
Author

Considering that people are asking about the use-cases (w3c/mediasession#264 (comment)) it probably makes sense to write a minimal explainer with those

We are going to update the issue to be clearer. Having everything scoped into that issue would be better than having documents around for a change so small. We will update the original explainer to take into account the new actions.

However, the use cases are fairly obvious: when you are on a call, you could mute/unmute yourself, stop/start your camera, and hang up from another location than the website where the video call is happening. Accessing these actions from a notification or some media centre or from a Picture-in-Picture window are usage we are considering. Those are very similar use cases than the media playback ones: controlling your media from outside the scope of the page.

@mounirlamouri
Copy link
Author

The issue has been updated to include the use cases.

@torgo torgo added Topic: media Venue: Media WG and removed Venue: WebRTC WebRTC and media capture labels Feb 23, 2021
@cynthia
Copy link
Member

cynthia commented Feb 23, 2021

Design-wise, I think this looks fine.Two things are a bit confusing:

  1. muted / turnedon naming - would be nice to have a generic name to indicate enabled/activeness of the underlying device.
  2. muted is negative while turnedon is positive, feels like this should be both positive or negative?

@torgo
Copy link
Member

torgo commented Feb 23, 2021

Are there any additional privacy issues that need to be discussed in the explainer, considering that we are talking about muting / unmuting a user's microphone and activating / deactivating the user's camera? Even if not, it might be good to document why not.

@torgo torgo added the privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response. label Feb 23, 2021
@mounirlamouri
Copy link
Author

Are there any additional privacy issues that need to be discussed in the explainer, considering that we are talking about muting / unmuting a user's microphone and activating / deactivating the user's camera? Even if not, it might be good to document why not.

There is no privacy implications here. The Media Session API allows websites to register actions. If example.com registers a given action, the UA will notify them when that action should be triggered. The UA is only the middle person in this and no third party is involved. If you are not familiar with Media Session, I understand that it can be unclear.

Design-wise, I think this looks fine.Two things are a bit confusing:

  1. muted / turnedon naming - would be nice to have a generic name to indicate enabled/activeness of the underlying device.
  2. muted is negative while turnedon is positive, feels like this should be both positive or negative?

The naming isn't great, I agree. @kenchris suggested a naming in the issue that I'm fine with. I will let @steimelchrome make the last call as he is the one actually driving this.

@torgo torgo added Progress: propose closing we think it should be closed but are waiting on some feedback or consensus and removed Missing: explainer labels Mar 9, 2021
@kenchris
Copy link

kenchris commented Mar 9, 2021

Thanks for taking our feedback into consideration. We are fine with this feature

@steimelchrome
Copy link

Thanks for reviewing! For the record, we made a gist version of the explainer in response to your earlier comment

@torgo torgo added the Resolution: satisfied The TAG is satisfied with this design label Mar 10, 2021
@torgo torgo closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response. Progress: propose closing we think it should be closed but are waiting on some feedback or consensus Resolution: satisfied The TAG is satisfied with this design Review type: CG early review An early review of general direction from a Community Group Review type: small delta Topic: media Venue: Media WG
Projects
None yet
Development

No branches or pull requests

6 participants