Skip to content

Commit

Permalink
Merge pull request #10827 from nextcloud/backport/10823/stable27
Browse files Browse the repository at this point in the history
[stable27] Log error when starting a screen share fails
  • Loading branch information
nickvergessen authored Nov 2, 2023
2 parents 235377b + b4a450a commit 3df8ee3
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 @@ -318,6 +318,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 3df8ee3

Please sign in to comment.