You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
* @desc This function registers a callback function as a handler for the corresponding event. It's shortened form is on(eventType, listener). See the event description in the following table.
45
+
* @desc This function registers a callback function as a handler for the
46
+
* corresponding event. It's shortened form is on(eventType, listener). See
47
+
* the event description in the following table.
46
48
* @instance
47
49
* @memberof Owt.Base.EventDispatcher
48
50
* @param {string} eventType Event string.
@@ -136,7 +138,8 @@ export class MessageEvent extends OwtEvent {
136
138
* @member {string} to
137
139
* @instance
138
140
* @memberof Owt.Base.MessageEvent
139
-
* @desc Values could be "all", "me" in conference mode, or undefined in P2P mode..
141
+
* @desc Values could be "all", "me" in conference mode, or undefined in
* @classDesc A factory to create MediaStream. You can also create MediaStream by yourself.
123
+
* @classDesc A factory to create MediaStream. You can also create MediaStream
124
+
* by yourself.
124
125
* @memberof Owt.Base
125
126
*/
126
127
exportclassMediaStreamFactory{
127
128
/**
128
129
* @function createMediaStream
129
130
* @static
130
-
* @desc Create a MediaStream with given constraints. If you want to create a MediaStream for screen cast, please make sure both audio and video's source are "screen-cast".
131
+
* @desc Create a MediaStream with given constraints. If you want to create a
132
+
* MediaStream for screen cast, please make sure both audio and video's source
133
+
* are "screen-cast".
131
134
* @memberof Owt.Base.MediaStreamFactory
132
-
* @return {Promise<MediaStream, Error>} Return a promise that is resolved when stream is successfully created, or rejected if one of the following error happened:
135
+
* @return {Promise<MediaStream, Error>} Return a promise that is resolved
136
+
* when stream is successfully created, or rejected if one of the following
137
+
* error happened:
133
138
* - One or more parameters cannot be satisfied.
134
139
* - Specified device is busy.
135
140
* - Cannot obtain necessary permission or operation is canceled by user.
* @desc Extra capabilities remote endpoint provides for subscription. Extra capabilities don't include original settings. This property is only valid in conference mode.
179
+
* @desc Extra capabilities remote endpoint provides for subscription. Extra
180
+
* capabilities don't include original settings. This property is only valid
0 commit comments