@flashphoner/websdk 2.0.241 → 2.0.242
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.
- package/docTemplate/README.md +1 -1
- package/flashphoner-no-flash.js +4 -3
- package/flashphoner-no-flash.min.js +1 -1
- package/flashphoner-no-webrtc.js +2 -2
- package/flashphoner-no-wsplayer.js +4 -3
- package/flashphoner-no-wsplayer.min.js +1 -1
- package/flashphoner-room-api.js +4 -3
- package/flashphoner-room-api.min.js +1 -1
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +2 -2
- package/flashphoner-temasys-flash-websocket.js +2 -2
- package/flashphoner-webrtc-only.js +4 -3
- package/flashphoner-webrtc-only.min.js +1 -1
- package/flashphoner.js +4 -3
- package/flashphoner.min.js +1 -1
- package/package.json +1 -1
- package/src/flashphoner-core.js +2 -2
- package/src/webrtc-media-provider.js +2 -1
package/flashphoner-no-webrtc.js
CHANGED
|
@@ -9167,7 +9167,7 @@ var createSession = function createSession(options) {
|
|
|
9167
9167
|
* @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
|
|
9168
9168
|
* @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
|
|
9169
9169
|
* @param {Array<string>=} options.sipHeaders Array of custom SIP headers
|
|
9170
|
-
* @param {string=} options.videoContentHint Video content hint for browser ('
|
|
9170
|
+
* @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
|
|
9171
9171
|
* @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
|
|
9172
9172
|
* @param {Object=} options.logger Call logger options
|
|
9173
9173
|
* @param {sdpHook} sdpHook The callback that handles sdp from the server
|
|
@@ -9964,7 +9964,7 @@ var createSession = function createSession(options) {
|
|
|
9964
9964
|
* @param {Boolean=} options.cvoExtension Enable rtp video orientation extension
|
|
9965
9965
|
* @param {Integer=} options.playoutDelay Time delay between network reception of media and playout
|
|
9966
9966
|
* @param {string=} options.useCanvasMediaStream EXPERIMENTAL: when publish bind browser's media stream to the canvas. It can be useful for image filtering
|
|
9967
|
-
* @param {string=} options.videoContentHint Video content hint for browser ('
|
|
9967
|
+
* @param {string=} options.videoContentHint Video content hint for browser ('motion' by default to maintain bitrate and fps), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
|
|
9968
9968
|
* @param {Boolean=} options.unmutePlayOnStart Unmute playback on start. May be used after user gesture only, so set 'unmutePlayOnStart: false' for autoplay
|
|
9969
9969
|
* @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
|
|
9970
9970
|
* @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 ('
|
|
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 ('
|
|
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
|
|
@@ -10956,7 +10956,8 @@ var createConnection = function createConnection(options) {
|
|
|
10956
10956
|
var screenShare = false;
|
|
10957
10957
|
var playoutDelay = options.playoutDelay;
|
|
10958
10958
|
// Set video track contentHint to `detail` by default to workaround Chromium 91 bug #WCS-3257
|
|
10959
|
-
|
|
10959
|
+
// Set video track contentHint to `motion` by default to keep bitrate and fps for better camera stream quality #WCS-4109
|
|
10960
|
+
var videoContentHint = options.videoContentHint ? options.videoContentHint : 'motion';
|
|
10960
10961
|
// Pass the option to unmute automatically (true by default) #WCS-2425
|
|
10961
10962
|
var unmutePlayOnStart = options.unmutePlayOnStart !== undefined ? options.unmutePlayOnStart : true;
|
|
10962
10963
|
// Use a standard HTML5 video controls if needed (to enable fullscreen in Safari 16 for example) #WCS-3606
|