diff --git a/lib/broadcast.js b/lib/broadcast.js index ab39d660..b1d1f6c6 100644 --- a/lib/broadcast.js +++ b/lib/broadcast.js @@ -41,6 +41,16 @@ * information about the playlist index file and media segment files for HLS. * *
hlsStatus
(string) — The possible states for the "hlsStatus" field are the following:
+* rtmp
(Object Array) — If you specified RTMP stream endpoints,
* the object includes an rtmp property. This is an array of objects that include
* information on each of the RTMP streams.
@@ -57,6 +67,9 @@
* The maximum time allowed for the broadcast, in seconds.
* After this time, the broadcast will be stopped automatically, if it is still started.
*
+* @propert { Number } maxBitRate
+* Maximum bitrate allowed for broadcast composing
+*
* @property {String} streamMode
* The stream mode for the broadcast. This can be set to one of the the following:
*
@@ -139,4 +152,3 @@ var Broadcast = function Broadcast(client, json) {
};
module.exports = Broadcast;
-
diff --git a/lib/opentok.js b/lib/opentok.js
index 08ff22b7..85abe36b 100644
--- a/lib/opentok.js
+++ b/lib/opentok.js
@@ -1158,7 +1158,7 @@ OpenTok = function (apiKey, apiSecret, env) {
* an error
object is passed in as the first parameter of the function.
* Upon success, the function is called with no error object passed in (as the first parameter)
* and the second parameter is an object with the following properties:
- *
+ *
* id
-- A unique ID identifying the Audio Streamer WebSocket connection.
@@ -1168,7 +1168,7 @@ OpenTok = function (apiKey, apiSecret, env) {
* WebSocket connection in the OpenTok session.
* streams
(optional) The stream IDs of the participants'
+ * which will be subscribed by the SIP participant. If not provided, all
+ * streams in session will be selected.
+ * e2ee
(Boolean) —
* Determines whether to enable
`end-to-end encryption