Add a comment about when it is possible to screenshare
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
90f4ad7a83
commit
acd0fa4c0e
1 changed files with 3 additions and 0 deletions
|
@ -505,6 +505,9 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
/> : null;
|
/> : null;
|
||||||
|
|
||||||
let screensharingButton;
|
let screensharingButton;
|
||||||
|
// Screensharing is possible, if we can send a second stream and identify
|
||||||
|
// it using SDPStreamMetadata or if we can replace the already existing
|
||||||
|
// usermedia track by a screensharing track
|
||||||
if (this.props.call.opponentSupportsSDPStreamMetadata() || this.props.call.type === CallType.Video) {
|
if (this.props.call.opponentSupportsSDPStreamMetadata() || this.props.call.type === CallType.Video) {
|
||||||
screensharingButton = (
|
screensharingButton = (
|
||||||
<AccessibleButton
|
<AccessibleButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue