@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/docTemplate/README.md
CHANGED
package/flashphoner-no-flash.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
|
|
@@ -11784,7 +11784,8 @@ var createConnection = function createConnection(options) {
|
|
|
11784
11784
|
var screenShare = false;
|
|
11785
11785
|
var playoutDelay = options.playoutDelay;
|
|
11786
11786
|
// Set video track contentHint to `detail` by default to workaround Chromium 91 bug #WCS-3257
|
|
11787
|
-
|
|
11787
|
+
// Set video track contentHint to `motion` by default to keep bitrate and fps for better camera stream quality #WCS-4109
|
|
11788
|
+
var videoContentHint = options.videoContentHint ? options.videoContentHint : 'motion';
|
|
11788
11789
|
// Pass the option to unmute automatically (true by default) #WCS-2425
|
|
11789
11790
|
var unmutePlayOnStart = options.unmutePlayOnStart !== undefined ? options.unmutePlayOnStart : true;
|
|
11790
11791
|
// Use a standard HTML5 video controls if needed (to enable fullscreen in Safari 16 for example) #WCS-3606
|