Skip to content

Commit

Permalink
[webrtc] remove unnecessary ctx.getImageData() call
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Apr 30, 2020
1 parent 0de19dc commit e7fe47f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webrtc/RTCPeerConnection-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ const trackFactories = {
if (signal !== null) {
ctx.fillStyle = `rgb(${signal}, ${signal}, ${signal})`;
ctx.fillRect(10, 10, 20, 20);
let pixel = ctx.getImageData(15, 15, 1, 1);
}
}, 100);

Expand Down

0 comments on commit e7fe47f

Please sign in to comment.