@agilemotion/oui-react-js 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -158,13 +158,11 @@ const VCRoomWorkspace = props => {
|
|
|
158
158
|
surfaceSwitching: 'exclude',
|
|
159
159
|
monitorTypeSurfaces: 'exclude'
|
|
160
160
|
};
|
|
161
|
-
alert('Cancelling screen share');
|
|
162
161
|
|
|
163
162
|
_SocketManager.default.emitEvent(_VCEventType.VCEventType.CANCEL_SCREEN_SHARE, {
|
|
164
163
|
roomId: props.meetingId
|
|
165
164
|
}).then(async result => {
|
|
166
165
|
navigator.mediaDevices.getDisplayMedia(videoConstraints).then(async stream => {
|
|
167
|
-
alert('Screen cancelled');
|
|
168
166
|
const track = stream.getVideoTracks()[0];
|
|
169
167
|
|
|
170
168
|
track.onended = e => {
|
|
@@ -198,7 +196,6 @@ const VCRoomWorkspace = props => {
|
|
|
198
196
|
});
|
|
199
197
|
setShareScreenProducer(null);
|
|
200
198
|
});
|
|
201
|
-
alert('Sharing starting');
|
|
202
199
|
props.onStartSharing();
|
|
203
200
|
}).catch(e => {
|
|
204
201
|
props.onStopSharing();
|