浏览代码

fix(flow): ignore contentHint

I don't know how to modify built-in MediaStreamTrack type, so ignore the error.
factor2
paweldomas 5 年前
父节点
当前提交
ab5c8d49c3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js

+ 1
- 0
react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js 查看文件

145
 
145
 
146
         // Put emphasis on the text details for the presenter's stream
146
         // Put emphasis on the text details for the presenter's stream
147
         // See https://www.w3.org/TR/mst-content-hint/
147
         // See https://www.w3.org/TR/mst-content-hint/
148
+        // $FlowExpectedError
148
         capturedStream.getVideoTracks()[0].contentHint = 'text';
149
         capturedStream.getVideoTracks()[0].contentHint = 'text';
149
 
150
 
150
         return capturedStream;
151
         return capturedStream;

正在加载...
取消
保存