Intent to Ship: MediaTrackSupportedConstraints.suppressLocalAudioPlayback

已查看 167 次
跳至第一个未读帖子

Elad Alon

未读,
2022年5月25日 08:44:012022/5/25
收件人 blink-dev

Contact emails

elad...@chromium.org

Explainer

https://docs.google.com/document/d/1OmuV1W4f2UvToeNxUVGHv8NcFuL63r94gWwz9i_-VBc/edit?usp=sharing

Specification

https://github.com/w3c/mediacapture-screen-share/pull/164/files

Summary

Consider a Web application APP which is display-capturing a tab TAB. We add a mechanism by which APP may control whether the audio playing in TAB would be played out of the user’s local speakers.



Blink component

Blink

TAG review

N/A. This is just an addition of a single flag to an existing dictionary, following well-known patterns.

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Gecko: Positive (https://github.com/mozilla/standards-positions/issues/641) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

WebKit: Positive (https://lists.webkit.org/pipermail/webkit-dev/2022-May/032252.html) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

Web developers: Positive
  • This was requested by multiple Web-dev teams inside of Google.
  • External developers have asked for a different change in Chrome, which we'll be able to uncontroversially affect only once this API surface is shipped - see crbug.com/1317964 for some details.

Other signals:

WebView application risks

N/A



Debuggability

N/A



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No. Supported on all platforms that support getDisplayMedia. (Namely, all desktop platforms.)

Is this feature fully tested by web-platform-tests?

No


Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5201258309746688

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/cANVKeNMHyE

This intent message was generated by Chrome Platform Status.

Yoav Weiss

未读,
2022年6月1日 02:42:462022/6/1
收件人 blink-dev、Elad Alon
On Wednesday, May 25, 2022 at 2:44:01 PM UTC+2 Elad Alon wrote:

Contact emails

elad...@chromium.org

Explainer

https://docs.google.com/document/d/1OmuV1W4f2UvToeNxUVGHv8NcFuL63r94gWwz9i_-VBc/edit?usp=sharing

Specification

https://github.com/w3c/mediacapture-screen-share/pull/164/files

Summary

Consider a Web application APP which is display-capturing a tab TAB. We add a mechanism by which APP may control whether the audio playing in TAB would be played out of the user’s local speakers.



Blink component

Blink

TAG review

N/A. This is just an addition of a single flag to an existing dictionary, following well-known patterns.

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Gecko: Positive (https://github.com/mozilla/standards-positions/issues/641) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

WebKit: Positive (https://lists.webkit.org/pipermail/webkit-dev/2022-May/032252.html) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

Similar to other intents, this doesn't count as an official positive signal. Let's wait a few days to see if one emerges.
 

Web developers: Positive
  • This was requested by multiple Web-dev teams inside of Google.
  • External developers have asked for a different change in Chrome, which we'll be able to uncontroversially affect only once this API surface is shipped - see crbug.com/1317964 for some details.

That's encouraging!

Elad Alon

未读,
2022年6月1日 03:40:022022/6/1
收件人 Yoav Weiss、blink-dev
Similar to other intents, this doesn't count as an official positive signal. Let's wait a few days to see if one emerges.

Thanks. I've set a reminder to ping this thread in one week, as suggested in the other intent thread.

Andy Paicu

未读,
2022年6月13日 14:02:082022/6/13
收件人 blink-dev、Elad Alon、blink-dev、yoav...@chromium.org
A question came up when reviewing this, I'm hoping you can help clarify:

How does the capturing web app (i.e. Meet) know what I want to do with audio? Would I not be able to achieve the same result by simply muting the tab or even just muting the device (since it seems unlikely that there are other sounds wanted from the local device when sharing a tab with audio)?

This seems like it would be better under the control of the user instead of being a decision made by the application especially since I don't see a mention of how this would be presented to the user and/or potentially reverted by them.

Kind Regards,
Andy Paicu

Elad Alon

未读,
2022年6月13日 14:18:052022/6/13
收件人 Andy Paicu、blink-dev、yoav...@chromium.org
Hi Andy,


How does the capturing web app (i.e. Meet) know what I want to do with audio?
 
The capturing application might know that you're in a physical room and "presenting" to the equipment there.
  • You use a special user-journey to trigger sharing to a room.
  • The application could be "watermarking" audio coming in through the room's speakers.
  • You might have indicated a desire to suppress-local-audio through in-content controls the application exposes.
In either case, it is extremely likely that you only want to hear the audio only through one set of speakers. The application would be saving you effort by muting one set of speakers for you.


This seems like it would be better under the control of the user

Users can mute tabs manually. This new API surface will not prevent this.

i.e. Meet

It bears mentioning that Meet is currently using screen-sharing through an API which I am trying to deprecate. That API already hard-codes to always suppress-local-audio on a captured tab. The present new API surface improves on the state of the art by (i) making this conditional and (ii) exposing it to the Web at large.

Thanks,
Elad

Andy Paicu

未读,
2022年6月14日 07:11:122022/6/14
收件人 Elad Alon、blink-dev、yoav...@chromium.org
Sounds good, thank you for the clarifications.

Kind Regards,
Andy Paicu

Chris Harrelson

未读,
2022年6月22日 11:41:512022/6/22
收件人 Andy Paicu、Elad Alon、blink-dev、yoav...@chromium.org
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACnmqYiUCZ_En3oei9xgn9T5CH9t%3D4FNb50RzHDdg%3DE69mL62A%40mail.gmail.com.

Yoav Weiss

未读,
2022年6月22日 11:42:052022/6/22
收件人 blink-dev、Chris Harrelson、Elad Alon、blink-dev、Yoav Weiss、andy...@google.com
LGTM2

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Daniel Bratell

未读,
2022年6月22日 12:14:362022/6/22
收件人 Yoav Weiss、blink-dev、Chris Harrelson、Elad Alon、andy...@google.com

LGTM3

/Daniel

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/05fcc18f-d8e7-426a-a04e-d636433cd01en%40chromium.org.

Joe Medley

未读,
2022年6月22日 13:16:182022/6/22
收件人 Daniel Bratell、Yoav Weiss、blink-dev、Chris Harrelson、Elad Alon、andy...@google.com
When do you hope to ship this?
Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.


LGTM2

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACnmqYiUCZ_En3oei9xgn9T5CH9t%3D4FNb50RzHDdg%3DE69mL62A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/05fcc18f-d8e7-426a-a04e-d636433cd01en%40chromium.org.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Elad Alon

未读,
2022年6月22日 13:20:422022/6/22
收件人 Joe Medley、Daniel Bratell、Yoav Weiss、blink-dev、Chris Harrelson、andy...@google.com
When I have an exact date, I will update ChromeStatus and ping this thread with the target. Currently, I only know that it will be before EoY, but no earlier than August.

Elad Alon

未读,
2022年11月8日 07:56:282022/11/8
收件人 blink-dev、Elad Alon、Daniel Bratell、yoav...@chromium.org、blink-dev、Chris Harrelson、Andy Paicu、Joe Medley
This is shipping in m109.

Joe Medley

未读,
2022年11月8日 12:40:132022/11/8
收件人 Elad Alon、blink-dev、Daniel Bratell、yoav...@chromium.org、Chris Harrelson、Andy Paicu
Thanks.

Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.

回复全部
回复作者
转发
0 个新帖子