@flashphoner/websdk 2.0.209 → 2.0.210
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/examples/demo/streaming/2players/2players.js +0 -5
- package/examples/demo/streaming/canvas_streaming/canvas_streaming.js +0 -12
- package/examples/demo/streaming/embed_player/player.js +127 -198
- package/examples/demo/streaming/firewall-traversal-streaming/firewall-traversal-streaming.js +0 -12
- package/examples/demo/streaming/mcu_client/mcu_client.js +0 -8
- package/examples/demo/streaming/media_devices_manager/manager.js +0 -12
- package/examples/demo/streaming/player/player.js +10 -9
- package/examples/demo/streaming/stream-diagnostic/stream-diagnostic.js +0 -8
- package/examples/demo/streaming/stream-local-snapshot/stream-local-snapshot.js +0 -6
- package/examples/demo/streaming/stream-snapshot/stream-snapshot.js +0 -6
- package/examples/demo/streaming/stream_recording/recording.js +0 -6
- package/examples/demo/streaming/streamer/streamer.js +0 -8
- package/examples/demo/streaming/two_way_streaming/two_way_streaming.js +0 -11
- package/examples/demo/streaming/webrtc-as-rtmp-republishing/webrtc-as-rtmp-republishing.js +0 -6
- package/flashphoner-no-flash.js +32 -11
- package/flashphoner-no-flash.min.js +2 -2
- package/flashphoner-no-webrtc.js +6 -3
- package/flashphoner-no-webrtc.min.js +1 -1
- package/flashphoner-no-wsplayer.js +32 -11
- package/flashphoner-no-wsplayer.min.js +2 -2
- package/flashphoner-room-api.js +29 -9
- package/flashphoner-room-api.min.js +2 -2
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +6 -3
- package/flashphoner-temasys-flash-websocket.js +6 -3
- package/flashphoner-temasys-flash-websocket.min.js +1 -1
- package/flashphoner-webrtc-only.js +32 -11
- package/flashphoner-webrtc-only.min.js +1 -1
- package/flashphoner.js +32 -11
- package/flashphoner.min.js +2 -2
- package/package.json +1 -1
- package/src/flashphoner-core.d.ts +18 -4
- package/src/flashphoner-core.js +6 -3
- package/src/webrtc-media-provider.js +23 -6
package/flashphoner-no-webrtc.js
CHANGED
|
@@ -11635,7 +11635,7 @@ var createSession = function createSession(options) {
|
|
|
11635
11635
|
mediaProviders: Object.keys(MediaProvider),
|
|
11636
11636
|
keepAlive: keepAlive,
|
|
11637
11637
|
authToken: authToken,
|
|
11638
|
-
clientVersion: "2.0.
|
|
11638
|
+
clientVersion: "2.0.210",
|
|
11639
11639
|
clientOSVersion: window.navigator.appVersion,
|
|
11640
11640
|
clientBrowserVersion: window.navigator.userAgent,
|
|
11641
11641
|
msePacketizationVersion: 2,
|
|
@@ -12779,7 +12779,7 @@ var createSession = function createSession(options) {
|
|
|
12779
12779
|
* @param {HTMLElement} options.display Div element stream should be displayed in
|
|
12780
12780
|
* @param {Object=} options.custom User provided custom object that will be available in REST App code
|
|
12781
12781
|
* @param {Integer} [options.flashBufferTime=0] Specifies how long to buffer messages before starting to display the stream (Flash-only)
|
|
12782
|
-
* @param {
|
|
12782
|
+
* @param {string=} options.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "H264,PCMA,PCMU,G722")
|
|
12783
12783
|
* @param {string=} options.rtmpUrl Rtmp url stream should be forwarded to
|
|
12784
12784
|
* @param {Object=} options.mediaConnectionConstraints Stream specific constraints for underlying RTCPeerConnection
|
|
12785
12785
|
* @param {Boolean=} options.flashShowFullScreenButton Show full screen button in flash
|
|
@@ -12788,6 +12788,7 @@ var createSession = function createSession(options) {
|
|
|
12788
12788
|
* @param {Integer=} options.playoutDelay Time delay between network reception of media and playout
|
|
12789
12789
|
* @param {string=} options.useCanvasMediaStream EXPERIMENTAL: when publish bind browser's media stream to the canvas. It can be useful for image filtering
|
|
12790
12790
|
* @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
|
|
12791
|
+
* @param {Boolean=} options.unmutePlayOnStart Unmute playback on start. May be used after user gesture only, so set 'unmutePlayOnStart: false' for autoplay
|
|
12791
12792
|
* @param {sdpHook} sdpHook The callback that handles sdp from the server
|
|
12792
12793
|
* @returns {Stream} Stream
|
|
12793
12794
|
* @throws {TypeError} Error if no options provided
|
|
@@ -12899,6 +12900,7 @@ var createSession = function createSession(options) {
|
|
|
12899
12900
|
var playoutDelay = options.playoutDelay;
|
|
12900
12901
|
var useCanvasMediaStream = options.useCanvasMediaStream;
|
|
12901
12902
|
var videoContentHint = options.videoContentHint;
|
|
12903
|
+
var unmutePlayOnStart = options.unmutePlayOnStart;
|
|
12902
12904
|
var audioState_;
|
|
12903
12905
|
var videoState_;
|
|
12904
12906
|
var connectionQuality;
|
|
@@ -13075,7 +13077,8 @@ var createSession = function createSession(options) {
|
|
|
13075
13077
|
connectionConstraints: mediaConnectionConstraints,
|
|
13076
13078
|
audioOutputId: audioOutputId,
|
|
13077
13079
|
remoteVideo: remoteVideo,
|
|
13078
|
-
playoutDelay: playoutDelay
|
|
13080
|
+
playoutDelay: playoutDelay,
|
|
13081
|
+
unmutePlayOnStart: unmutePlayOnStart
|
|
13079
13082
|
}, streamRefreshHandlers[id_]).then(function (newConnection) {
|
|
13080
13083
|
mediaConnection = newConnection;
|
|
13081
13084
|
|