瀏覽代碼

auto commit

app
jfinn 3 年之前
父節點
當前提交
3dc14bd63c
共有 1 個檔案被更改,包括 5 行新增2 行删除
  1. 5
    2
      react/features/base/media/components/native/Video.js

+ 5
- 2
react/features/base/media/components/native/Video.js 查看文件

@@ -87,11 +87,14 @@ export default class Video extends Component<Props> {
87 87
         if (stream) {
88 88
             // RTCView
89 89
             const style = styles.video;
90
-            const objectFit
90
+            // const objectFit
91
+            var objectFit
91 92
                 = zoomEnabled
92 93
                     ? 'contain'
93 94
                     : (style && style.objectFit) || 'cover';
94
-            var video_info = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("video_info",{that:this,vc:{objectFit,style}},0) : {}
95
+            // var video_info = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("video_info",{that:this,vc:{objectFit,style}},0) : {}
96
+            var video_info = window.gvx.fns.fncb ? gvx.fns.fncb("video_info",{that:this,vc:{objectFit,style,vct:1}},0) : {}
97
+
95 98
             const rtcView
96 99
                 = (
97 100
                     <RTCView

Loading…
取消
儲存