w3c / mediacapture-handle

https://w3c.github.io/mediacapture-handle/
Other
14 stars 10 forks source link

[Actions] "Actions" model should be aligned with "mediasession actions" #36

Open alvestrand opened 2 years ago

alvestrand commented 2 years ago

We already have a model for media sessions that allow actions to be performed:

https://w3c.github.io/mediasession/#actions-model

We should carefully consider how the two models for "actions" can be aligned, and in particular we should introduce no more restrictions on any new actions model than what this particular interface implies. (I could also argue for fewer restrictions.)

jan-ivar commented 2 years ago

What do you mean by "align"? The security properties are wildly different:

I.e. they come from users. In contrast, capture actions can come from malicious sites. So we need to apply more restrictions than mediaSession to prevent abuse.

eladalon1983 commented 2 years ago

I think I remember some past interactions about this topic that could be illuminating: