|
@@ -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
|