nmos-ledger
Version:
NMOS discovery and registration APIs
97 lines (71 loc) • 3.55 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: model/Transports.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Source: model/Transports.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>/* Copyright 2015 Christine S. MacNeill
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli cable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Types of transport - v1.0
/**
* A URN describing the protocol used to send data (video, audio, events etc.)
* over a network.
*
* <p>For example, an RTP Transmitter sending to a multicast group should use the
* transport 'urn:x-ipstudio:transport:rtp.mcast', but a receiver supporting
* both unicast and multicast should present the transport
* 'urn:x-ipstudio:transport:rtp' to indicate its less restrictive state.</p>
* @readonly
* @enum {string}
*/
var transports = {
/** Value <code>urn:x-ipstudio:transport:rtp</code>. */
rtp: "urn:x-ipstudio:transport:rtp",
/** Value <code>urn:x-ipstudio:transport:rtp.ucast</code>. */
rtp_ucast: "urn:x-ipstudio:transport:rtp.ucast",
/** Value <code>urn:x-ipstudio:transport:rtp.mcast</code>. */
rtp_mcast: "urn:x-ipstudio:transport:rtp.mcast",
/** Value <code>urn:x-ipstudio:transport:dash</code>. */
dash: "urn:x-ipstudio:transport:dash"
};
transports.validTransport = function (t) {
return t === transports.rtp || t === transports.rtp_ucast ||
t === transports.rtp_mcast || t === transports.dash;
};
module.exports = Object.freeze(transports);
</code></pre>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Device.html">Device</a></li><li><a href="Flow.html">Flow</a></li><li><a href="Node.html">Node</a></li><li><a href="NodeAPI.html">NodeAPI</a></li><li><a href="NodeRAMStore.html">NodeRAMStore</a></li><li><a href="Versionned.html">Versionned</a></li></ul><h3>Interfaces</h3><ul><li><a href="NodeStore.html">NodeStore</a></li></ul><h3>Global</h3><ul><li><a href="global.html#capabilities">capabilities</a></li><li><a href="global.html#deviceTypes">deviceTypes</a></li><li><a href="global.html#formats">formats</a></li><li><a href="global.html#statusError">statusError</a></li><li><a href="global.html#transports">transports</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Mon Dec 21 2015 17:19:49 GMT+0000 (GMT)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>