Index: remoting/webapp/client_session.js |
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js |
index f4efe1fbb4802ba23d8a906cae9129f40005eb8a..56ccaf7c55fabadbf46db3dc99511d0edf429a82 100644 |
--- a/remoting/webapp/client_session.js |
+++ b/remoting/webapp/client_session.js |
@@ -600,6 +600,18 @@ remoting.ClientSession.prototype.pauseVideo = function(pause) { |
} |
/** |
+ * Requests that the host pause or resume audio. |
+ * |
+ * @param {boolean} pause True to pause audio, false to resume. |
+ * @return {void} Nothing. |
+ */ |
+remoting.ClientSession.prototype.pauseAudio = function(pause) { |
+ if (this.plugin) { |
+ this.plugin.pauseAudio(pause) |
+ } |
+} |
+ |
+/** |
* This is a callback that gets called when the plugin notifies us of a change |
* in the size of the remote desktop. |
* |