Fix the toDataUrl call in desktopCapturer
authorCheng Zhao <zcbenz@gmail.com>
Tue, 3 May 2016 00:16:39 +0000 (09:16 +0900)
committerKevin Sawicki <kevinsawicki@gmail.com>
Fri, 6 May 2016 17:12:56 +0000 (10:12 -0700)
lib/browser/desktop-capturer.js

index 5e8ad3e..21993a9 100644 (file)
@@ -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