Permalink
Switch branches/tags
1.12 aarcher11-issue-enhancement circleci cross-platform-npm fix-eslint-config gate-team/web-sdk/spark-js-sdk--gate--cloud-apps-14 gh-pages glhewett-node-doc-update greenkeeper/babel-eslint-8.2.4 greenkeeper/babel-eslint-8.2.5 greenkeeper/babel-eslint-8.2.6 greenkeeper/babel-eslint-9.0.0 greenkeeper/babel-eslint-10.0.0 greenkeeper/babel-eslint-10.0.1 greenkeeper/babel-loader-7.1.4 greenkeeper/babel-loader-7.1.5 greenkeeper/babel-loader-8.0.0 greenkeeper/babel-loader-8.0.1 greenkeeper/babel-loader-8.0.2 greenkeeper/babel-loader-8.0.3 greenkeeper/babel-loader-8.0.4 greenkeeper/babel-plugin-lodash-3.3.3 greenkeeper/babel-plugin-lodash-3.3.4 greenkeeper/babel-plugin-transform-decorators-legacy-1.3.5 greenkeeper/babelify-10.0.0 greenkeeper/body-parser-1.18.3 greenkeeper/bowser-1.9.3 greenkeeper/bowser-1.9.4 greenkeeper/browserify-16.1.1 greenkeeper/browserify-16.2.0 greenkeeper/browserify-16.2.1 greenkeeper/browserify-16.2.2 greenkeeper/browserify-16.2.3 greenkeeper/browserify-middleware-8.1.0 greenkeeper/browserify-middleware-8.1.1 greenkeeper/@ciscospark/eslint-config-base-0.7.0 greenkeeper/commitlint-7.0.0 greenkeeper/commitlint-7.1.0 greenkeeper/commitlint-7.1.1 greenkeeper/commitlint-7.1.2 greenkeeper/commitlint-7.2.0 greenkeeper/commitlint-7.2.1 greenkeeper/@commitlint/cli-7.0.0 greenkeeper/@commitlint/cli-7.1.0 greenkeeper/@commitlint/cli-7.1.1 greenkeeper/@commitlint/cli-7.1.2 greenkeeper/@commitlint/cli-7.2.0 greenkeeper/@commitlint/cli-7.2.1 greenkeeper/@commitlint/config-conventional-7.0.0 greenkeeper/@commitlint/config-conventional-7.0.1 greenkeeper/@commitlint/config-conventional-7.1.0 greenkeeper/@commitlint/config-conventional-7.1.1 greenkeeper/@commitlint/config-conventional-7.1.2 greenkeeper/compression-1.7.3 greenkeeper/cors-2.8.5 greenkeeper/debug-3.2.0 greenkeeper/debug-3.2.1 greenkeeper/debug-3.2.2 greenkeeper/debug-3.2.3 greenkeeper/debug-4.0.0 greenkeeper/debug-4.0.1 greenkeeper/debug-4.1.0 greenkeeper/dependency-check-3.2.0 greenkeeper/dependency-check-3.2.1 greenkeeper/detectrtc-1.3.7 greenkeeper/detectrtc-1.3.8 greenkeeper/doctrine-3.0.0 greenkeeper/documentation-6.0.0 greenkeeper/documentation-6.1.0 greenkeeper/documentation-6.2.0 greenkeeper/documentation-6.3.0 greenkeeper/documentation-6.3.1 greenkeeper/documentation-6.3.2 greenkeeper/documentation-6.3.3 greenkeeper/documentation-7.0.0 greenkeeper/documentation-7.1.0 greenkeeper/documentation-8.0.0 greenkeeper/documentation-8.0.1 greenkeeper/documentation-8.0.2 greenkeeper/documentation-8.1.0 greenkeeper/documentation-8.1.1 greenkeeper/documentation-8.1.2 greenkeeper/documentation-9.0.0 greenkeeper/documentation-9.1.0 greenkeeper/dotenv-5.0.1 greenkeeper/dotenv-6.0.0 greenkeeper/dotenv-6.1.0 greenkeeper/dotenv-6.2.0 greenkeeper/es6-promise-4.2.5 greenkeeper/eslint-5.0.0 greenkeeper/eslint-5.0.1 greenkeeper/eslint-plugin-import-2.12.0 greenkeeper/eslint-plugin-import-2.13.0 greenkeeper/eslint-plugin-mocha-5.0.0 greenkeeper/eslint-plugin-mocha-5.1.0 greenkeeper/eslint-plugin-mocha-5.2.0 greenkeeper/express-validator-5.3.0 greenkeeper/file-type-7.7.0 greenkeeper/file-type-7.7.1 greenkeeper/file-type-8.0.0 greenkeeper/file-type-8.1.0 greenkeeper/file-type-9.0.0 greenkeeper/file-type-10.0.0 greenkeeper/file-type-10.1.0 greenkeeper/file-type-10.2.0 greenkeeper/file-type-10.3.0 greenkeeper/file-type-10.4.0 greenkeeper/file-type-10.5.0 greenkeeper/file-type-10.6.0 greenkeeper/firefox-profile-1.2.0 greenkeeper/glob-7.1.3 greenkeeper/grunt-1.0.3 greenkeeper/grunt-cli-1.3.0 greenkeeper/grunt-cli-1.3.1 greenkeeper/grunt-cli-1.3.2 greenkeeper/husky-1.0.0 greenkeeper/husky-1.0.1 greenkeeper/husky-1.1.0 greenkeeper/husky-1.1.1 greenkeeper/husky-1.1.2 greenkeeper/husky-1.1.3 greenkeeper/husky-1.1.4 greenkeeper/husky-1.2.0 greenkeeper/husky-1.2.1 greenkeeper/isparta-4.1.0 greenkeeper/jsonwebtoken-8.2.2 greenkeeper/jsonwebtoken-8.3.0 greenkeeper/jsonwebtoken-8.4.0 greenkeeper/karma-2.0.3 greenkeeper/karma-2.0.4 greenkeeper/karma-2.0.5 greenkeeper/karma-3.0.0 greenkeeper/karma-3.1.0 greenkeeper/karma-3.1.1 greenkeeper/karma-3.1.2 greenkeeper/karma-3.1.3 greenkeeper/karma-3.1.4 greenkeeper/karma-browserify-5.3.0 greenkeeper/karma-browserify-6.0.0 greenkeeper/karma-sauce-launcher-2.0.0 greenkeeper/karma-sauce-launcher-2.0.1 greenkeeper/karma-sauce-launcher-2.0.2 greenkeeper/lint-staged-7.0.1 greenkeeper/lint-staged-7.0.2 greenkeeper/lint-staged-7.0.3 greenkeeper/lint-staged-7.0.4 greenkeeper/lint-staged-7.0.5 greenkeeper/lint-staged-7.1.0 greenkeeper/lint-staged-7.1.1 greenkeeper/lint-staged-7.1.2 greenkeeper/lint-staged-7.1.3 greenkeeper/lint-staged-7.2.0 greenkeeper/lint-staged-7.2.1 greenkeeper/lint-staged-7.2.2 greenkeeper/lint-staged-7.3.0 greenkeeper/lint-staged-8.0.0 greenkeeper/lint-staged-8.0.1 greenkeeper/lint-staged-8.0.2 greenkeeper/lint-staged-8.0.3 greenkeeper/lint-staged-8.0.4 greenkeeper/lint-staged-8.0.5 greenkeeper/lint-staged-8.1.0 greenkeeper/load-grunt-tasks-4.0.0 greenkeeper/localforage-1.7.2 greenkeeper/localforage-1.7.3 greenkeeper/lodash-4.17.11 greenkeeper/lodash-decorators-5.0.0 greenkeeper/lodash-decorators-5.0.1 greenkeeper/lodash-decorators-6.0.0 greenkeeper/lolex-2.5.0 greenkeeper/lolex-2.6.0 greenkeeper/lolex-2.7.0 greenkeeper/lolex-2.7.1 greenkeeper/lolex-2.7.2 greenkeeper/lolex-2.7.3 greenkeeper/lolex-2.7.4 greenkeeper/lolex-2.7.5 greenkeeper/lolex-3.0.0 greenkeeper/mime-types-2.1.19 greenkeeper/mime-types-2.1.20 greenkeeper/mime-types-2.1.21 greenkeeper/mmmagic-0.5.0 greenkeeper/mmmagic-0.5.1 greenkeeper/mmmagic-0.5.2 greenkeeper/mocha-5.0.3 greenkeeper/mocha-5.0.4 greenkeeper/mocha-5.1.1 greenkeeper/mocha-5.2.0 greenkeeper/morgan-1.9.1 greenkeeper/multer-1.3.1 greenkeeper/multer-1.4.0 greenkeeper/multer-1.4.1 greenkeeper/node-jose-0.11.1 greenkeeper/node-jose-1.0.0 greenkeeper/node-jose-1.1.0 greenkeeper/qs-6.6.0 greenkeeper/read-package-json-2.0.13 greenkeeper/request-2.84.0 greenkeeper/request-2.85.0 greenkeeper/request-2.86.0 greenkeeper/request-2.87.0 greenkeeper/request-2.88.0 greenkeeper/require-dir-1.1.0 greenkeeper/require-dir-1.2.0 greenkeeper/rollup-0.68.0 greenkeeper/sdp-transform-2.5.0 greenkeeper/sdp-transform-2.6.0 greenkeeper/sdp-transform-2.7.0 greenkeeper/sinon-4.4.3 greenkeeper/sinon-4.4.4 greenkeeper/sinon-4.4.5 greenkeeper/sinon-5.0.0 greenkeeper/sinon-5.0.1 greenkeeper/sinon-5.0.2 greenkeeper/sinon-5.0.3 greenkeeper/sinon-5.0.5 greenkeeper/sinon-5.0.6 greenkeeper/sinon-5.0.8 greenkeeper/sinon-5.0.9 greenkeeper/sinon-5.0.10 greenkeeper/sinon-5.1.0 greenkeeper/sinon-5.1.1 greenkeeper/sinon-6.0.0 greenkeeper/sinon-6.0.1 greenkeeper/supertest-3.1.0 greenkeeper/supertest-3.2.0 greenkeeper/time-grunt-2.0.0 greenkeeper/uuid-3.3.0 greenkeeper/uuid-3.3.2 greenkeeper/wd-1.6.1 greenkeeper/wd-1.7.0 greenkeeper/wd-1.8.0 greenkeeper/wd-1.8.1 greenkeeper/wd-1.9.0 greenkeeper/wd-1.10.0 greenkeeper/wd-1.10.1 greenkeeper/wd-1.10.2 greenkeeper/wd-1.10.3 greenkeeper/wd-1.11.0 greenkeeper/wd-1.11.1 greenkeeper/wdio-junit-reporter-5.0.0-alpha.7 greenkeeper/wdio-mocha-framework-0.5.13 greenkeeper/wdio-mocha-framework-0.6.1 greenkeeper/wdio-mocha-framework-0.6.3 greenkeeper/wdio-mocha-framework-0.6.4 greenkeeper/wdio-mocha-framework-5.0.0-alpha.7 greenkeeper/wdio-sauce-service-0.4.9 greenkeeper/wdio-sauce-service-0.4.11 greenkeeper/wdio-sauce-service-0.4.12 greenkeeper/wdio-sauce-service-0.4.13 greenkeeper/wdio-sauce-service-0.4.14 greenkeeper/wdio-sauce-service-5.0.0-alpha.7 greenkeeper/wdio-selenium-standalone-service-0.0.10 greenkeeper/wdio-selenium-standalone-service-0.0.11 greenkeeper/wdio-selenium-standalone-service-0.0.12 greenkeeper/wdio-spec-reporter-5.0.0-alpha.7 greenkeeper/webdriverio-4.12.0 greenkeeper/webdriverio-4.13.0 greenkeeper/webdriverio-4.13.2 greenkeeper/webdriverio-4.14.0 greenkeeper/webdriverio-4.14.1 greenkeeper/webpack-4.12.1 greenkeeper/webpack-4.12.2 greenkeeper/webpack-4.13.0 greenkeeper/webpack-4.14.0 greenkeeper/webpack-4.15.0 greenkeeper/webpack-4.15.1 greenkeeper/webpack-4.16.0 greenkeeper/webpack-4.16.1 greenkeeper/webpack-4.16.2 greenkeeper/webpack-4.16.3 greenkeeper/webpack-4.16.4 greenkeeper/webpack-4.16.5 greenkeeper/webpack-4.17.0 greenkeeper/webpack-4.17.1 greenkeeper/webpack-4.17.2 greenkeeper/webpack-4.17.3 greenkeeper/webpack-4.18.0 greenkeeper/webpack-4.18.1 greenkeeper/webpack-4.19.0 greenkeeper/webpack-4.19.1 greenkeeper/webpack-4.20.0 greenkeeper/webpack-4.20.1 greenkeeper/webpack-4.20.2 greenkeeper/webpack-4.21.0 greenkeeper/webpack-4.22.0 greenkeeper/webpack-4.23.0 greenkeeper/webpack-4.23.1 greenkeeper/webpack-4.24.0 greenkeeper/webpack-4.25.0 greenkeeper/webpack-4.25.1 greenkeeper/webpack-4.26.0 greenkeeper/webpack-4.26.1 greenkeeper/webpack-4.27.0 greenkeeper/webpack-4.27.1 greenkeeper/webpack-cli-3.1.0 greenkeeper/webpack-cli-3.1.1 greenkeeper/webpack-cli-3.1.2 greenkeeper/webpack-dev-server-3.1.5 greenkeeper/webpack-dev-server-3.1.6 greenkeeper/webpack-dev-server-3.1.7 greenkeeper/webpack-dev-server-3.1.9 greenkeeper/webpack-dev-server-3.1.10 greenkeeper/webpack-merge-4.1.5 greenkeeper/webrtc-adapter-6.1.2 greenkeeper/webrtc-adapter-6.1.3 greenkeeper/webrtc-adapter-6.1.4 greenkeeper/webrtc-adapter-6.2.0 greenkeeper/webrtc-adapter-6.2.1 greenkeeper/webrtc-adapter-6.3.0 greenkeeper/webrtc-adapter-6.3.1 greenkeeper/webrtc-adapter-6.3.2 greenkeeper/webrtc-adapter-6.4.0 greenkeeper/webrtc-adapter-6.4.1 greenkeeper/webrtc-adapter-6.4.2 greenkeeper/webrtc-adapter-6.4.3 greenkeeper/webrtc-adapter-6.4.4 greenkeeper/webrtc-adapter-6.4.5 greenkeeper/webrtc-adapter-6.4.6 greenkeeper/webrtc-adapter-6.4.7 greenkeeper/webrtc-adapter-6.4.8 greenkeeper/webrtc-adapter-7.0.0 greenkeeper/webrtc-adapter-7.0.1 greenkeeper/webrtc-adapter-7.1.0 greenkeeper/webrtc-adapter-7.1.1 greenkeeper/ws-5.0.0 greenkeeper/ws-5.1.0 greenkeeper/ws-5.1.1 greenkeeper/ws-5.2.0 greenkeeper/ws-5.2.1 greenkeeper/ws-5.2.2 greenkeeper/ws-6.0.0 greenkeeper/ws-6.1.0 greenkeeper/ws-6.1.1 greenkeeper/ws-6.1.2 greenkeeper/xhr-2.5.0 greenkeeper/yargs-12.0.1 jenkinsfile master meeting-phase1 plugin-meetings re-eslint-config release validated-merge widget-chat-features widget-dev
Nothing to show
Find file Copy path
8b2ea7c Sep 19, 2018
3 contributors

Users who have contributed to this file

@bzang @ianwremmel @adamweeks
130 lines (120 sloc) 4.04 KB
<!DOCTYPE html>
<html>
<head>
<title>Sample: Local Mute/Unmute</title>
<style>
table {
border-collapse: collapse;
}
table, th, td {
border: 1px solid black;
}
th, td {
padding: 15px;
text-align: left;
}
</style>
</head>
<body>
<h1>Local Mute/Unmute</h1>
<p>This sample demonstrates local mute and unmute</p>
<form id="credentials">
<fieldset>
<legend>Credentials</legend>
<input
id="access-token"
name="accessToken"
placeholder="Your access token"
type="text">
<input id="connect" title="connect" type="submit" value="connect">
<p id="connection-status">disconnected</p>
</fieldset>
</form>
<form id="dialer">
<fieldset>
<legend>Dialer</legend>
<input
id="invitee"
name="invitee"
placeholder="Person ID or Email Address or SIP URI or Room ID"
type="text">
<input title="dial" type="submit" value="dial">
</fieldset>
</form>
<form id="call-controls">
<fieldset>
<legend>Call Controls</legend>
<button id="hangup" title="hangup" type="button">cancel/hangup</button>
<button id="stop-sending-audio" title="stop sending audio" type="button">stop sending audio</button>
<button id="start-sending-audio" title="start sending audio" type="button">start sending audio</button>
<button id="stop-sending-video" title="stop sending video" type="button">stop sending video</button>
<button id="start-sending-video" title="start sending video" type="button">start sending video</button>
<br />
<button id="stop-receiving-audio" title="stop receiving audio" type="button">stop receiving audio</button>
<button id="start-receiving-audio" title="start receiving audio" type="button">start receiving audio</button>
<button id="stop-receiving-video" title="stop receiving video" type="button">stop receiving video</button>
<button id="start-receiving-video" title="start receiving video" type="button">start receiving video</button>
</fieldset>
</form>
<div style="align-items: flex-start; display: flex; max-width: 100%">
<div style="flex: 1 1 auto">
<video style="width:50%" id="self-view" muted autoplay></video>
<table>
<thead>
<tr>
<td></td>
<td>Local State</td>
<td>Remote State</td>
</tr>
</thead>
<tbody>
<tr>
<td>camera state</td>
<td id="camera-state"></td>
<td id="camera-state-remote"></td>
</tr>
<tr>
<td>microphone state</td>
<td id="microphone-state"></td>
<td id="microphone-state-remote"></td>
</tr>
</tbody>
</table>
<div style="display: flex">
<div>
<p>Outbound Audio Stats</p>
<pre id="outgoing-audio-stats"></pre>
</div>
<div>
<p>Outbound Video Stats</p>
<pre id="outgoing-video-stats"></pre>
</div>
</div>
<div style="display: flex">
<div>
<p>Incoming Audio Stats</p>
<pre id="incoming-audio-stats"></pre>
</div>
<div>
<p>Incoming Video Stats</p>
<pre id="incoming-video-stats"></pre>
</div>
</div>
<div style="display: flex">
<div>
<p>Raw Stats</p>
<pre id="raw-video-stats"></pre>
</div>
</div>
</div>
<div style="flex: 1 1 auto; width:50%" >
<audio id="remote-view-audio" autoplay></audio>
<video id="remote-view-video" autoplay></video>
</div>
</div>
<!-- /bundle.js is the bundled CiscoSpark JavaScript SDK -->
<script src="/bundle.js"></script>
<!-- app.js is your application code -->
<script src="app.js"></script>
</body>
</html>