You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user