123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- /**
- * Represents media stream(audio, video, desktop)
- * @constructor
- */
- function Stream()
- {
-
- }
-
- /**
- * Stream video type.
- * @type {string}
- */
- Stream.VIDEO = "video";
-
- /**
- * Stream audio type.
- * @type {string}
- */
- Stream.AUDIO = "audio";
-
- /**
- * Stream desktop sharing type.
- * @type {string}
- */
- Stream.DESKTOP_SHARING = "desktopsharing";
-
- /**
- * The media stream type.
- */
- Stream.prototype.streamType;
-
- /**
- * The corresponding participant identifier.
- */
- Stream.prototype.participantId;
-
- /**
- * The media stream from the browser.
- */
- Stream.prototype.originalStream;
-
- /**
- * Mutes the stream.
- */
- Stream.prototype.mute = function () {
-
- }
-
- /**
- * Unmutes the stream.
- */
- Stream.prototype.unmute = function () {
-
- }
-
- /**
- * Attaches the stream to HTML container.
- * @param container the HTML container
- */
- Stream.prototype.attachStream = function (container) {
-
- }
-
- /**
- * Removes the stream from the passed HTML container.
- * @param container the HTML container
- */
- Stream.prototype.remove = function (container) {
-
- }
-
- /**
- * Stops sending the stream. And removes it from the HTML.
- * NOTE: Works for the local stream only.
- */
- Stream.prototype.stop = function () {
-
- }
-
- module.exports = Stream;
|