fix(flow): ignore contentHint

I don't know how to modify built-in MediaStreamTrack type, so ignore the error.
This commit is contained in:
paweldomas 2020-10-14 20:23:55 -05:00 committed by Jaya Allamsetty
parent 820d9b2ba8
commit ab5c8d49c3
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ export default class JitsiStreamPresenterEffect {
// Put emphasis on the text details for the presenter's stream // Put emphasis on the text details for the presenter's stream
// See https://www.w3.org/TR/mst-content-hint/ // See https://www.w3.org/TR/mst-content-hint/
// $FlowExpectedError
capturedStream.getVideoTracks()[0].contentHint = 'text'; capturedStream.getVideoTracks()[0].contentHint = 'text';
return capturedStream; return capturedStream;