mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 03:41:30 +03:00
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;
|
||||
|
||||
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) {
|
||||
screensharingButton = (
|
||||
<AccessibleButton
|
||||
|
|
Loading…
Reference in a new issue