Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(presenter): apply 'text' contentHint

paweldomas820d9b2ba867
diff --git a/react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js b/react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js
index a1b6c43ed2..f3b04d3b0b 100644
--- a/react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js
+++ b/react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js
@@ -141,7 +141,13 @@ export default class JitsiStreamPresenterEffect {
timeMs: 1000 / this._frameRate
});
- return this._canvas.captureStream(this._frameRate);
+ const capturedStream = this._canvas.captureStream(this._frameRate);
+
+ // Put emphasis on the text details for the presenter's stream
+ // See https://www.w3.org/TR/mst-content-hint/
+ capturedStream.getVideoTracks()[0].contentHint = 'text';
+
+ return capturedStream;
}
/**