private String stashResolutionScript(boolean remote) {
    return "window.resolution = {width: -1, height: -1};"
      + "appController.call_.pcClient_.pc_.getStats().then(data => {"
      + "   [...data.values()].forEach(function(e){"
      + "       if (e.type.startsWith('track')){"
      + "           if ((e.remoteSource=="
      + remote
      + ") && (typeof e.audioLevel == 'undefined')) { "
      + "               window.resolution.width = e.frameWidth;"
      + "               window.resolution.height = e.frameHeight;"
      + "           }"
      + "       }"
      + "   });"
      + "});";
  }
Returns the test's canvasCheck to check if the video is blank, and if it changes overtime.

@return the getRemoteVideoPixelSumScript as string.
KITE-AppRTC-Test/src/main/java/org/webrtc/kite/apprtc/pages/AppRTCMeetingPage.java