diff --git a/lib/browser/desktop-capturer.js b/lib/browser/desktop-capturer.js index 5e8ad3e7328c..21993a9fd71d 100644 --- a/lib/browser/desktop-capturer.js +++ b/lib/browser/desktop-capturer.js @@ -45,7 +45,7 @@ desktopCapturer.emit = function (event, name, sources) { results.push({ id: source.id, name: source.name, - thumbnail: source.thumbnail.toDataUrl() + thumbnail: source.thumbnail.toDataURL() }) } return results