Skip to content

Commit

Permalink
Merge pull request #10823 from nextcloud/log-error-when-starting-a-sc…
Browse files Browse the repository at this point in the history
…reen-share-fails

Log error when starting a screen share fails
  • Loading branch information
nickvergessen authored Nov 2, 2023
2 parents 3d0157c + 66c008b commit e51ccf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/webrtc/simplewebrtc/localmedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ LocalMedia.prototype.startScreenShare = function(mode, constraints, cb) {

self.emit('localScreen', stream)
} else {
console.error('Error when starting screen share: ', err)

self.emit('localScreenRequestFailed')
}

Expand Down

0 comments on commit e51ccf7

Please sign in to comment.