@flashphoner/websdk 2.0.241 → 2.0.243

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10228,7 +10228,7 @@ var createSession = function createSession(options) {
10228
10228
  * @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
10229
10229
  * @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
10230
10230
  * @param {Array<string>=} options.sipHeaders Array of custom SIP headers
10231
- * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
10231
+ * @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
10232
10232
  * @param {Boolean=} options.useControls Use a standard HTML5 video controls (play, pause, fullscreen). May be a workaround for fullscreen mode to work in Safari 16
10233
10233
  * @param {Object=} options.logger Call logger options
10234
10234
  * @param {sdpHook} sdpHook The callback that handles sdp from the server
@@ -11025,7 +11025,7 @@ var createSession = function createSession(options) {
11025
11025
  * @param {Boolean=} options.cvoExtension Enable rtp video orientation extension
11026
11026
  * @param {Integer=} options.playoutDelay Time delay between network reception of media and playout
11027
11027
  * @param {string=} options.useCanvasMediaStream EXPERIMENTAL: when publish bind browser's media stream to the canvas. It can be useful for image filtering
11028
- * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
11028
+ * @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
11029
11029
  * @param {Boolean=} options.unmutePlayOnStart Unmute playback on start. May be used after user gesture only, so set 'unmutePlayOnStart: false' for autoplay
11030
11030
  * @param {Boolean=} options.useControls Use a standard HTML5 video controls (play, pause, fullscreen). May be a workaround for fullscreen mode to work in Safari 16
11031
11031
  * @param {Object=} options.logger Stream logger options
@@ -16983,7 +16983,7 @@ var createSession = function createSession(options) {
16983
16983
  * @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
16984
16984
  * @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
16985
16985
  * @param {Array<string>=} options.sipHeaders Array of custom SIP headers
16986
- * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
16986
+ * @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
16987
16987
  * @param {Boolean=} options.useControls Use a standard HTML5 video controls (play, pause, fullscreen). May be a workaround for fullscreen mode to work in Safari 16
16988
16988
  * @param {Object=} options.logger Call logger options
16989
16989
  * @param {sdpHook} sdpHook The callback that handles sdp from the server
@@ -17780,7 +17780,7 @@ var createSession = function createSession(options) {
17780
17780
  * @param {Boolean=} options.cvoExtension Enable rtp video orientation extension
17781
17781
  * @param {Integer=} options.playoutDelay Time delay between network reception of media and playout
17782
17782
  * @param {string=} options.useCanvasMediaStream EXPERIMENTAL: when publish bind browser's media stream to the canvas. It can be useful for image filtering
17783
- * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
17783
+ * @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
17784
17784
  * @param {Boolean=} options.unmutePlayOnStart Unmute playback on start. May be used after user gesture only, so set 'unmutePlayOnStart: false' for autoplay
17785
17785
  * @param {Boolean=} options.useControls Use a standard HTML5 video controls (play, pause, fullscreen). May be a workaround for fullscreen mode to work in Safari 16
17786
17786
  * @param {Object=} options.logger Stream logger options
@@ -8339,7 +8339,7 @@ var createSession = function createSession(options) {
8339
8339
  * @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
8340
8340
  * @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
8341
8341
  * @param {Array<string>=} options.sipHeaders Array of custom SIP headers
8342
- * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
8342
+ * @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
8343
8343
  * @param {Boolean=} options.useControls Use a standard HTML5 video controls (play, pause, fullscreen). May be a workaround for fullscreen mode to work in Safari 16
8344
8344
  * @param {Object=} options.logger Call logger options
8345
8345
  * @param {sdpHook} sdpHook The callback that handles sdp from the server
@@ -9136,7 +9136,7 @@ var createSession = function createSession(options) {
9136
9136
  * @param {Boolean=} options.cvoExtension Enable rtp video orientation extension
9137
9137
  * @param {Integer=} options.playoutDelay Time delay between network reception of media and playout
9138
9138
  * @param {string=} options.useCanvasMediaStream EXPERIMENTAL: when publish bind browser's media stream to the canvas. It can be useful for image filtering
9139
- * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
9139
+ * @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
9140
9140
  * @param {Boolean=} options.unmutePlayOnStart Unmute playback on start. May be used after user gesture only, so set 'unmutePlayOnStart: false' for autoplay
9141
9141
  * @param {Boolean=} options.useControls Use a standard HTML5 video controls (play, pause, fullscreen). May be a workaround for fullscreen mode to work in Safari 16
9142
9142
  * @param {Object=} options.logger Stream logger options
@@ -10946,7 +10946,8 @@ var createConnection = function createConnection(options) {
10946
10946
  var screenShare = false;
10947
10947
  var playoutDelay = options.playoutDelay;
10948
10948
  // Set video track contentHint to `detail` by default to workaround Chromium 91 bug #WCS-3257
10949
- var videoContentHint = options.videoContentHint ? options.videoContentHint : 'detail';
10949
+ // Set video track contentHint to `motion` by default to keep bitrate and fps for better camera stream quality #WCS-4109
10950
+ var videoContentHint = options.videoContentHint ? options.videoContentHint : 'motion';
10950
10951
  // Pass the option to unmute automatically (true by default) #WCS-2425
10951
10952
  var unmutePlayOnStart = options.unmutePlayOnStart !== undefined ? options.unmutePlayOnStart : true;
10952
10953
  // Use a standard HTML5 video controls if needed (to enable fullscreen in Safari 16 for example) #WCS-3606