Index: remoting/webapp/client_session.js |
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js |
index 08ad854079c63346a0f40e4dad35cf2adfd1f6cd..331702dc36e85b22620c167c29aff9fbba0fa94a 100644 |
--- a/remoting/webapp/client_session.js |
+++ b/remoting/webapp/client_session.js |
@@ -505,8 +505,11 @@ remoting.ClientSession.prototype.onPluginInitialized_ = function(initialized) { |
this.applyRemapKeys_(true); |
} |
- // Enable MediaSource-based rendering if available. |
- if (remoting.settings.USE_MEDIA_SOURCE_RENDERING && |
+ |
+ // Enable MediaSource-based rendering on Chrome 37 and above. |
+ var chromeVersionMajor = |
+ parseInt((remoting.getChromeVersion() || '0').split('.')[0], 10); |
+ if (chromeVersionMajor >= 37 && |
this.plugin_.hasFeature( |
remoting.ClientPlugin.Feature.MEDIA_SOURCE_RENDERING)) { |
this.video_ = /** @type {HTMLMediaElement} */( |