Inital work on screenview.
parent
48cc5f56ed
commit
c87e006da2
|
|
@ -7,6 +7,7 @@ import { getDeviceInfo } from 'mediasoup-client';
|
||||||
import * as appPropTypes from './appPropTypes';
|
import * as appPropTypes from './appPropTypes';
|
||||||
import * as requestActions from '../redux/requestActions';
|
import * as requestActions from '../redux/requestActions';
|
||||||
import PeerView from './PeerView';
|
import PeerView from './PeerView';
|
||||||
|
import ScreenView from './ScreenView';
|
||||||
|
|
||||||
class Me extends React.Component
|
class Me extends React.Component
|
||||||
{
|
{
|
||||||
|
|
@ -32,6 +33,7 @@ class Me extends React.Component
|
||||||
advancedMode,
|
advancedMode,
|
||||||
micProducer,
|
micProducer,
|
||||||
webcamProducer,
|
webcamProducer,
|
||||||
|
screenProducer,
|
||||||
onChangeDisplayName,
|
onChangeDisplayName,
|
||||||
onMuteMic,
|
onMuteMic,
|
||||||
onUnmuteMic,
|
onUnmuteMic,
|
||||||
|
|
@ -65,6 +67,12 @@ class Me extends React.Component
|
||||||
!webcamProducer.remotelyPaused
|
!webcamProducer.remotelyPaused
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const screenVisible = (
|
||||||
|
Boolean(screenProducer) &&
|
||||||
|
!screenProducer.locallyPaused &&
|
||||||
|
!screenProducer.remotelyPaused
|
||||||
|
);
|
||||||
|
|
||||||
let tip;
|
let tip;
|
||||||
|
|
||||||
if (!me.displayNameSet)
|
if (!me.displayNameSet)
|
||||||
|
|
@ -115,6 +123,17 @@ class Me extends React.Component
|
||||||
onChangeDisplayName={(displayName) => onChangeDisplayName(displayName)}
|
onChangeDisplayName={(displayName) => onChangeDisplayName(displayName)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{screenProducer ?
|
||||||
|
<ScreenView
|
||||||
|
isMe
|
||||||
|
advancedMode={advancedMode}
|
||||||
|
screenTrack={screenProducer ? screenProducer.track : null}
|
||||||
|
screenVisible={screenVisible}
|
||||||
|
screenCodec={screenProducer ? screenProducer.codec : null}
|
||||||
|
/>
|
||||||
|
:null
|
||||||
|
}
|
||||||
|
|
||||||
{this._tooltip ?
|
{this._tooltip ?
|
||||||
<ReactTooltip
|
<ReactTooltip
|
||||||
effect='solid'
|
effect='solid'
|
||||||
|
|
@ -165,6 +184,7 @@ Me.propTypes =
|
||||||
me : appPropTypes.Me.isRequired,
|
me : appPropTypes.Me.isRequired,
|
||||||
micProducer : appPropTypes.Producer,
|
micProducer : appPropTypes.Producer,
|
||||||
webcamProducer : appPropTypes.Producer,
|
webcamProducer : appPropTypes.Producer,
|
||||||
|
screenProducer : appPropTypes.Producer,
|
||||||
onChangeDisplayName : PropTypes.func.isRequired,
|
onChangeDisplayName : PropTypes.func.isRequired,
|
||||||
onMuteMic : PropTypes.func.isRequired,
|
onMuteMic : PropTypes.func.isRequired,
|
||||||
onUnmuteMic : PropTypes.func.isRequired,
|
onUnmuteMic : PropTypes.func.isRequired,
|
||||||
|
|
@ -179,12 +199,15 @@ const mapStateToProps = (state) =>
|
||||||
producersArray.find((producer) => producer.source === 'mic');
|
producersArray.find((producer) => producer.source === 'mic');
|
||||||
const webcamProducer =
|
const webcamProducer =
|
||||||
producersArray.find((producer) => producer.source === 'webcam');
|
producersArray.find((producer) => producer.source === 'webcam');
|
||||||
|
const screenProducer =
|
||||||
|
producersArray.find((producer) => producer.source === 'screen');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
connected : state.room.state === 'connected',
|
connected : state.room.state === 'connected',
|
||||||
me : state.me,
|
me : state.me,
|
||||||
micProducer : micProducer,
|
micProducer : micProducer,
|
||||||
webcamProducer : webcamProducer
|
webcamProducer : webcamProducer,
|
||||||
|
screenProducer : screenProducer
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import classnames from 'classnames';
|
||||||
import * as appPropTypes from './appPropTypes';
|
import * as appPropTypes from './appPropTypes';
|
||||||
import * as requestActions from '../redux/requestActions';
|
import * as requestActions from '../redux/requestActions';
|
||||||
import PeerView from './PeerView';
|
import PeerView from './PeerView';
|
||||||
|
import ScreenView from './ScreenView';
|
||||||
|
|
||||||
const Peer = (props) =>
|
const Peer = (props) =>
|
||||||
{
|
{
|
||||||
|
|
@ -91,15 +92,22 @@ const Peer = (props) =>
|
||||||
peer={peer}
|
peer={peer}
|
||||||
audioTrack={micConsumer ? micConsumer.track : null}
|
audioTrack={micConsumer ? micConsumer.track : null}
|
||||||
videoTrack={webcamConsumer ? webcamConsumer.track : null}
|
videoTrack={webcamConsumer ? webcamConsumer.track : null}
|
||||||
screenTrack={screenConsumer ? screenConsumer.track : null}
|
|
||||||
videoVisible={videoVisible}
|
videoVisible={videoVisible}
|
||||||
videoProfile={videoProfile}
|
videoProfile={videoProfile}
|
||||||
screenVisible={screenVisible}
|
|
||||||
screenProfile={screenProfile}
|
|
||||||
audioCodec={micConsumer ? micConsumer.codec : null}
|
audioCodec={micConsumer ? micConsumer.codec : null}
|
||||||
videoCodec={webcamConsumer ? webcamConsumer.codec : null}
|
videoCodec={webcamConsumer ? webcamConsumer.codec : null}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{screenConsumer ?
|
||||||
|
<ScreenView
|
||||||
|
advancedMode={advancedMode}
|
||||||
|
screenTrack={screenConsumer ? screenConsumer.track : null}
|
||||||
|
screenVisible={screenVisible}
|
||||||
|
screenProfile={screenProfile}
|
||||||
screenCodec={screenConsumer ? screenConsumer.codec : null}
|
screenCodec={screenConsumer ? screenConsumer.codec : null}
|
||||||
/>
|
/>
|
||||||
|
:null
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,7 @@ export default class PeerView extends React.Component
|
||||||
{
|
{
|
||||||
volume : 0, // Integer from 0 to 10.,
|
volume : 0, // Integer from 0 to 10.,
|
||||||
videoWidth : null,
|
videoWidth : null,
|
||||||
videoHeight : null,
|
videoHeight : null
|
||||||
screenWidth : null,
|
|
||||||
screenHeight : null
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Latest received video track.
|
// Latest received video track.
|
||||||
|
|
@ -29,10 +27,6 @@ export default class PeerView extends React.Component
|
||||||
// @type {MediaStreamTrack}
|
// @type {MediaStreamTrack}
|
||||||
this._videoTrack = null;
|
this._videoTrack = null;
|
||||||
|
|
||||||
// Latest received screen track.
|
|
||||||
// @type {MediaStreamTrack}
|
|
||||||
this._screenTrack = null;
|
|
||||||
|
|
||||||
// Hark instance.
|
// Hark instance.
|
||||||
// @type {Object}
|
// @type {Object}
|
||||||
this._hark = null;
|
this._hark = null;
|
||||||
|
|
@ -45,54 +39,30 @@ export default class PeerView extends React.Component
|
||||||
{
|
{
|
||||||
const {
|
const {
|
||||||
isMe,
|
isMe,
|
||||||
advancedMode,
|
|
||||||
peer,
|
peer,
|
||||||
videoVisible,
|
videoVisible,
|
||||||
videoProfile,
|
videoProfile,
|
||||||
screenVisible,
|
|
||||||
screenProfile,
|
|
||||||
audioCodec,
|
audioCodec,
|
||||||
videoCodec,
|
videoCodec,
|
||||||
screenCodec,
|
|
||||||
onChangeDisplayName
|
onChangeDisplayName
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
volume,
|
volume,
|
||||||
videoWidth,
|
videoWidth,
|
||||||
videoHeight,
|
videoHeight
|
||||||
screenWidth,
|
|
||||||
screenHeight
|
|
||||||
} = this.state;
|
} = this.state;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div data-component='PeerView'>
|
<div data-component='PeerView'>
|
||||||
<div className='info'>
|
<div className='info'>
|
||||||
{advancedMode ?
|
|
||||||
<div className={classnames('media', { 'is-me': isMe })}>
|
<div className={classnames('media', { 'is-me': isMe })}>
|
||||||
{screenVisible ?
|
|
||||||
<div className='box'>
|
<div className='box'>
|
||||||
{audioCodec ?
|
{audioCodec ?
|
||||||
<p className='codec'>{audioCodec}</p>
|
<p className='codec'>{audioCodec}</p>
|
||||||
:null
|
:null
|
||||||
}
|
}
|
||||||
|
|
||||||
{screenCodec ?
|
|
||||||
<p className='codec'>{screenCodec} {screenProfile}</p>
|
|
||||||
:null
|
|
||||||
}
|
|
||||||
|
|
||||||
{(screenVisible && screenWidth !== null) ?
|
|
||||||
<p className='resolution'>{screenWidth}x{screenHeight}</p>
|
|
||||||
:null
|
|
||||||
}
|
|
||||||
</div>
|
|
||||||
:<div className='box'>
|
|
||||||
{audioCodec ?
|
|
||||||
<p className='codec'>{audioCodec}</p>
|
|
||||||
:null
|
|
||||||
}
|
|
||||||
|
|
||||||
{videoCodec ?
|
{videoCodec ?
|
||||||
<p className='codec'>{videoCodec} {videoProfile}</p>
|
<p className='codec'>{videoCodec} {videoProfile}</p>
|
||||||
:null
|
:null
|
||||||
|
|
@ -103,10 +73,7 @@ export default class PeerView extends React.Component
|
||||||
:null
|
:null
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
:null
|
|
||||||
}
|
|
||||||
|
|
||||||
<div className={classnames('peer', { 'is-me': isMe })}>
|
<div className={classnames('peer', { 'is-me': isMe })}>
|
||||||
{isMe ?
|
{isMe ?
|
||||||
|
|
@ -130,7 +97,6 @@ export default class PeerView extends React.Component
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
|
|
||||||
{advancedMode ?
|
|
||||||
<div className='row'>
|
<div className='row'>
|
||||||
<span
|
<span
|
||||||
className={classnames('device-icon', peer.device.flag)}
|
className={classnames('device-icon', peer.device.flag)}
|
||||||
|
|
@ -139,26 +105,11 @@ export default class PeerView extends React.Component
|
||||||
{peer.device.name} {Math.floor(peer.device.version) || null}
|
{peer.device.name} {Math.floor(peer.device.version) || null}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
:null
|
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<video
|
<video
|
||||||
ref='video'
|
ref='video'
|
||||||
className={classnames({
|
|
||||||
hidden : !videoVisible && !screenVisible,
|
|
||||||
'is-me' : isMe,
|
|
||||||
loading : videoProfile === 'none' && screenProfile === 'none'
|
|
||||||
})}
|
|
||||||
autoPlay
|
|
||||||
muted={isMe}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{screenVisible ?
|
|
||||||
<div className='minivideo'>
|
|
||||||
<video
|
|
||||||
ref='minivideo'
|
|
||||||
className={classnames({
|
className={classnames({
|
||||||
hidden : !videoVisible,
|
hidden : !videoVisible,
|
||||||
'is-me' : isMe,
|
'is-me' : isMe,
|
||||||
|
|
@ -167,15 +118,12 @@ export default class PeerView extends React.Component
|
||||||
autoPlay
|
autoPlay
|
||||||
muted={isMe}
|
muted={isMe}
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
:null
|
|
||||||
}
|
|
||||||
|
|
||||||
<div className='volume-container'>
|
<div className='volume-container'>
|
||||||
<div className={classnames('bar', `level${volume}`)} />
|
<div className={classnames('bar', `level${volume}`)} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{videoProfile === 'none' && screenProfile === 'none' ?
|
{videoProfile === 'none' ?
|
||||||
<div className='spinner-container'>
|
<div className='spinner-container'>
|
||||||
<Spinner />
|
<Spinner />
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -187,9 +135,9 @@ export default class PeerView extends React.Component
|
||||||
|
|
||||||
componentDidMount()
|
componentDidMount()
|
||||||
{
|
{
|
||||||
const { audioTrack, videoTrack, screenTrack } = this.props;
|
const { audioTrack, videoTrack } = this.props;
|
||||||
|
|
||||||
this._setTracks(audioTrack, videoTrack, screenTrack);
|
this._setTracks(audioTrack, videoTrack);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount()
|
componentWillUnmount()
|
||||||
|
|
@ -202,21 +150,18 @@ export default class PeerView extends React.Component
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps)
|
componentWillReceiveProps(nextProps)
|
||||||
{
|
{
|
||||||
const { audioTrack, videoTrack, screenTrack } = nextProps;
|
const { audioTrack, videoTrack } = nextProps;
|
||||||
|
|
||||||
this._setTracks(audioTrack, videoTrack, screenTrack);
|
this._setTracks(audioTrack, videoTrack);
|
||||||
}
|
}
|
||||||
|
|
||||||
_setTracks(audioTrack, videoTrack, screenTrack)
|
_setTracks(audioTrack, videoTrack)
|
||||||
{
|
{
|
||||||
if (this._audioTrack === audioTrack &&
|
if (this._audioTrack === audioTrack && this._videoTrack === videoTrack)
|
||||||
this._videoTrack === videoTrack &&
|
|
||||||
this._screenTrack === screenTrack)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this._audioTrack = audioTrack;
|
this._audioTrack = audioTrack;
|
||||||
this._videoTrack = videoTrack;
|
this._videoTrack = videoTrack;
|
||||||
this._screenTrack = screenTrack;
|
|
||||||
|
|
||||||
if (this._hark)
|
if (this._hark)
|
||||||
this._hark.stop();
|
this._hark.stop();
|
||||||
|
|
@ -224,9 +169,9 @@ export default class PeerView extends React.Component
|
||||||
clearInterval(this._videoResolutionTimer);
|
clearInterval(this._videoResolutionTimer);
|
||||||
this._hideVideoResolution();
|
this._hideVideoResolution();
|
||||||
|
|
||||||
const { video, minivideo } = this.refs;
|
const { video } = this.refs;
|
||||||
|
|
||||||
if (audioTrack || videoTrack || screenTrack)
|
if (audioTrack || videoTrack)
|
||||||
{
|
{
|
||||||
const stream = new MediaStream;
|
const stream = new MediaStream;
|
||||||
|
|
||||||
|
|
@ -236,19 +181,7 @@ export default class PeerView extends React.Component
|
||||||
if (videoTrack)
|
if (videoTrack)
|
||||||
stream.addTrack(videoTrack);
|
stream.addTrack(videoTrack);
|
||||||
|
|
||||||
if (screenTrack)
|
|
||||||
{
|
|
||||||
const screenStream = new MediaStream;
|
|
||||||
|
|
||||||
screenStream.addTrack(screenTrack);
|
|
||||||
|
|
||||||
video.srcObject = screenStream;
|
|
||||||
minivideo.srcObject = stream;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
video.srcObject = stream;
|
video.srcObject = stream;
|
||||||
}
|
|
||||||
|
|
||||||
if (audioTrack)
|
if (audioTrack)
|
||||||
this._runHark(stream);
|
this._runHark(stream);
|
||||||
|
|
@ -315,18 +248,13 @@ export default class PeerView extends React.Component
|
||||||
PeerView.propTypes =
|
PeerView.propTypes =
|
||||||
{
|
{
|
||||||
isMe : PropTypes.bool,
|
isMe : PropTypes.bool,
|
||||||
advancedMode : PropTypes.bool,
|
|
||||||
peer : PropTypes.oneOfType(
|
peer : PropTypes.oneOfType(
|
||||||
[ appPropTypes.Me, appPropTypes.Peer ]).isRequired,
|
[ appPropTypes.Me, appPropTypes.Peer ]).isRequired,
|
||||||
audioTrack : PropTypes.any,
|
audioTrack : PropTypes.any,
|
||||||
videoTrack : PropTypes.any,
|
videoTrack : PropTypes.any,
|
||||||
screenTrack : PropTypes.any,
|
|
||||||
videoVisible : PropTypes.bool.isRequired,
|
videoVisible : PropTypes.bool.isRequired,
|
||||||
videoProfile : PropTypes.string,
|
videoProfile : PropTypes.string,
|
||||||
screenVisible : PropTypes.bool,
|
|
||||||
screenProfile : PropTypes.string,
|
|
||||||
audioCodec : PropTypes.string,
|
audioCodec : PropTypes.string,
|
||||||
videoCodec : PropTypes.string,
|
videoCodec : PropTypes.string,
|
||||||
screenCodec : PropTypes.string,
|
|
||||||
onChangeDisplayName : PropTypes.func
|
onChangeDisplayName : PropTypes.func
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,168 @@
|
||||||
|
import React from 'react';
|
||||||
|
import PropTypes from 'prop-types';
|
||||||
|
import classnames from 'classnames';
|
||||||
|
import Spinner from 'react-spinner';
|
||||||
|
|
||||||
|
export default class PeerView extends React.Component
|
||||||
|
{
|
||||||
|
constructor(props)
|
||||||
|
{
|
||||||
|
super(props);
|
||||||
|
|
||||||
|
this.state =
|
||||||
|
{
|
||||||
|
screenWidth : null,
|
||||||
|
screenHeight : null
|
||||||
|
};
|
||||||
|
|
||||||
|
// Latest received screen track.
|
||||||
|
// @type {MediaStreamTrack}
|
||||||
|
this._screenTrack = null;
|
||||||
|
|
||||||
|
// Periodic timer for showing video resolution.
|
||||||
|
this._screenResolutionTimer = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
render()
|
||||||
|
{
|
||||||
|
const {
|
||||||
|
isMe,
|
||||||
|
advancedMode,
|
||||||
|
screenVisible,
|
||||||
|
screenProfile,
|
||||||
|
screenCodec
|
||||||
|
} = this.props;
|
||||||
|
|
||||||
|
const {
|
||||||
|
screenWidth,
|
||||||
|
screenHeight
|
||||||
|
} = this.state;
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div data-component='ScreenView'>
|
||||||
|
<div className='info'>
|
||||||
|
{advancedMode ?
|
||||||
|
<div className={classnames('media', { 'is-me': isMe })}>
|
||||||
|
{screenVisible ?
|
||||||
|
<div className='box'>
|
||||||
|
{screenCodec ?
|
||||||
|
<p className='codec'>{screenCodec} {screenProfile}</p>
|
||||||
|
:null
|
||||||
|
}
|
||||||
|
|
||||||
|
{(screenVisible && screenWidth !== null) ?
|
||||||
|
<p className='resolution'>{screenWidth}x{screenHeight}</p>
|
||||||
|
:null
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
:null
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
:null
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<video
|
||||||
|
ref='video'
|
||||||
|
className={classnames({
|
||||||
|
hidden : !screenVisible,
|
||||||
|
'is-me' : isMe,
|
||||||
|
loading : screenProfile === 'none'
|
||||||
|
})}
|
||||||
|
autoPlay
|
||||||
|
muted={Boolean(true)}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{screenProfile === 'none' ?
|
||||||
|
<div className='spinner-container'>
|
||||||
|
<Spinner />
|
||||||
|
</div>
|
||||||
|
:null
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
componentDidMount()
|
||||||
|
{
|
||||||
|
const { screenTrack } = this.props;
|
||||||
|
|
||||||
|
this._setTracks(screenTrack);
|
||||||
|
}
|
||||||
|
|
||||||
|
componentWillUnmount()
|
||||||
|
{
|
||||||
|
clearInterval(this._screenResolutionTimer);
|
||||||
|
}
|
||||||
|
|
||||||
|
componentWillReceiveProps(nextProps)
|
||||||
|
{
|
||||||
|
const { screenTrack } = nextProps;
|
||||||
|
|
||||||
|
this._setTracks(screenTrack);
|
||||||
|
}
|
||||||
|
|
||||||
|
_setTracks(screenTrack)
|
||||||
|
{
|
||||||
|
if (this._screenTrack === screenTrack)
|
||||||
|
return;
|
||||||
|
|
||||||
|
this._screenTrack = screenTrack;
|
||||||
|
|
||||||
|
clearInterval(this._screenResolutionTimer);
|
||||||
|
this._hideScreenResolution();
|
||||||
|
|
||||||
|
const { video } = this.refs;
|
||||||
|
|
||||||
|
if (screenTrack)
|
||||||
|
{
|
||||||
|
const stream = new MediaStream;
|
||||||
|
|
||||||
|
if (screenTrack)
|
||||||
|
stream.addTrack(screenTrack);
|
||||||
|
|
||||||
|
video.srcObject = stream;
|
||||||
|
|
||||||
|
if (screenTrack)
|
||||||
|
this._showScreenResolution();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
video.srcObject = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_showScreenResolution()
|
||||||
|
{
|
||||||
|
this._screenResolutionTimer = setInterval(() =>
|
||||||
|
{
|
||||||
|
const { screenWidth, screenHeight } = this.state;
|
||||||
|
const { video } = this.refs;
|
||||||
|
|
||||||
|
// Don't re-render if nothing changed.
|
||||||
|
if (video.videoWidth === screenWidth && video.videoHeight === screenHeight)
|
||||||
|
return;
|
||||||
|
|
||||||
|
this.setState(
|
||||||
|
{
|
||||||
|
screenWidth : video.videoWidth,
|
||||||
|
screenHeight : video.videoHeight
|
||||||
|
});
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
_hideScreenResolution()
|
||||||
|
{
|
||||||
|
this.setState({ screenWidth: null, screenHeight: null });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PeerView.propTypes =
|
||||||
|
{
|
||||||
|
isMe : PropTypes.bool,
|
||||||
|
advancedMode : PropTypes.bool,
|
||||||
|
screenTrack : PropTypes.any,
|
||||||
|
screenVisible : PropTypes.bool,
|
||||||
|
screenProfile : PropTypes.string,
|
||||||
|
screenCodec : PropTypes.string
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue