問題タブ [get-display-media]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - ブラウザのスクリーン キャプチャ API の Logical Display Surface とは何ですか?
Logical Display Surface とは実際には何なのか疑問に思っています。
MDN ドキュメント:
A logical display surface is one which is in part or completely obscured, either by being overlapped by another object to some extent, or by being entirely hidden or offscreen. How these are handled by the Screen Capture API varies. Generally, the browser will provide an image which obscures the hidden portion of the logical display surface in some way, such as by blurring or replacing with a color or pattern. This is done for security reasons, as the content that cannot be seen by the user may contain data which they do not want to share.
しかし、logicalSurface: true
ビデオ定数に追加しても、何も変更されていません。に設定するとlogicalSurface: false
、何も変更されません。誰もがこれの本当の例を教えてくれますか?
ありがとうございました。