@flashphoner/websdk 2.0.201 → 2.0.206
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/sip/phone/phone.js +7 -10
- package/examples/demo/streaming/hls-player/hls-player.html +1 -4
- package/examples/demo/streaming/hls-player/hls-player.js +19 -1
- package/examples/demo/streaming/hls-player/player-page.html +1 -1
- package/examples/demo/streaming/hls-player/video-js.css +142 -51
- package/examples/demo/streaming/hls-player/video.js +27294 -20390
- package/examples/demo/streaming/hls-player/video.min.js +27 -0
- package/examples/demo/streaming/media_devices_manager/manager.js +27 -1
- package/examples/demo/streaming/media_devices_manager/media_device_manager.html +7 -0
- package/examples/typescript/two-way-streaming-ts/.gitignore +23 -0
- package/examples/typescript/two-way-streaming-ts/README.md +36 -0
- package/examples/typescript/two-way-streaming-ts/package.json +45 -0
- package/examples/typescript/two-way-streaming-ts/public/favicon.ico +0 -0
- package/examples/typescript/two-way-streaming-ts/public/index.html +33 -0
- package/examples/typescript/two-way-streaming-ts/public/logo192.png +0 -0
- package/examples/typescript/two-way-streaming-ts/public/logo512.png +0 -0
- package/examples/typescript/two-way-streaming-ts/public/manifest.json +25 -0
- package/examples/typescript/two-way-streaming-ts/public/media/preloader.mp4 +0 -0
- package/examples/typescript/two-way-streaming-ts/public/robots.txt +3 -0
- package/examples/typescript/two-way-streaming-ts/src/TwoWayStreamingApp.css +23 -0
- package/examples/typescript/two-way-streaming-ts/src/TwoWayStreamingApp.tsx +371 -0
- package/examples/typescript/two-way-streaming-ts/src/fp-utils.ts +117 -0
- package/examples/typescript/two-way-streaming-ts/src/index.css +13 -0
- package/examples/typescript/two-way-streaming-ts/src/index.tsx +9 -0
- package/examples/typescript/two-way-streaming-ts/tsconfig.json +26 -0
- package/examples/vue/two-way-streaming-vue/.gitignore +23 -0
- package/examples/vue/two-way-streaming-vue/README.md +36 -0
- package/examples/vue/two-way-streaming-vue/babel.config.js +5 -0
- package/examples/vue/two-way-streaming-vue/package.json +47 -0
- package/examples/vue/two-way-streaming-vue/public/favicon.ico +0 -0
- package/examples/vue/two-way-streaming-vue/public/index.html +17 -0
- package/examples/vue/two-way-streaming-vue/src/TwoWayStreamingApp.vue +346 -0
- package/examples/vue/two-way-streaming-vue/src/assets/media/preloader.mp4 +0 -0
- package/examples/vue/two-way-streaming-vue/src/fp-utils.js +117 -0
- package/examples/vue/two-way-streaming-vue/src/main.js +9 -0
- package/examples/vue/two-way-streaming-vue/vue.config.js +8 -0
- package/flashphoner-no-flash.js +4 -4
- package/flashphoner-no-flash.min.js +1 -1
- package/flashphoner-no-webrtc.js +4 -4
- package/flashphoner-no-webrtc.min.js +1 -1
- package/flashphoner-no-wsplayer.js +4 -4
- package/flashphoner-no-wsplayer.min.js +1 -1
- package/flashphoner-room-api.js +4 -4
- package/flashphoner-room-api.min.js +1 -1
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +4 -4
- package/flashphoner-temasys-flash-websocket.js +4 -4
- package/flashphoner-temasys-flash-websocket.min.js +1 -1
- package/flashphoner-webrtc-only.js +4 -4
- package/flashphoner-webrtc-only.min.js +1 -1
- package/flashphoner.js +4 -4
- package/flashphoner.min.js +1 -1
- package/package.json +2 -1
- package/src/constants.d.ts +1 -0
- package/src/flashphoner-core.d.ts +192 -0
- package/src/flashphoner-core.js +4 -4
- package/src/room-module.d.ts +29 -0
- package/examples/demo/streaming/hls-player/videojs-hls.min.js +0 -27
|
@@ -12799,7 +12799,7 @@ var createSession = function createSession(options) {
|
|
|
12799
12799
|
mediaProviders: Object.keys(MediaProvider),
|
|
12800
12800
|
keepAlive: keepAlive,
|
|
12801
12801
|
authToken: authToken,
|
|
12802
|
-
clientVersion: "2.0.
|
|
12802
|
+
clientVersion: "2.0.206",
|
|
12803
12803
|
clientOSVersion: window.navigator.appVersion,
|
|
12804
12804
|
clientBrowserVersion: window.navigator.userAgent,
|
|
12805
12805
|
msePacketizationVersion: 2,
|
|
@@ -13025,7 +13025,7 @@ var createSession = function createSession(options) {
|
|
|
13025
13025
|
* @param {HTMLElement} options.localVideoDisplay Div element local video should be displayed in
|
|
13026
13026
|
* @param {HTMLElement} options.remoteVideoDisplay Div element remote video should be displayed in
|
|
13027
13027
|
* @param {Object=} options.custom User provided custom object that will be available in REST App code
|
|
13028
|
-
* @param {
|
|
13028
|
+
* @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
|
|
13029
13029
|
* @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
|
|
13030
13030
|
* @param {Array<string>=} options.sipHeaders Array of custom SIP headers
|
|
13031
13031
|
* @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
|
|
@@ -13287,7 +13287,7 @@ var createSession = function createSession(options) {
|
|
|
13287
13287
|
* @param {Boolean=} answerOptions.receiveAudio Receive audio
|
|
13288
13288
|
* @param {Boolean=} answerOptions.receiveVideo Receive video
|
|
13289
13289
|
* @param {String=} answerOptions.constraints Answer call with constraints
|
|
13290
|
-
* @param {
|
|
13290
|
+
* @param {String=} answerOptions.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
|
|
13291
13291
|
* @param {Array<string>=} answerOptions.sipSDP Array of custom SDP params (ex. bandwidth (b=))
|
|
13292
13292
|
* @param {Array<string>=} answerOptions.sipHeaders Array of custom SIP headers
|
|
13293
13293
|
* @param {sdpHook} sdpHook The callback that handles sdp from the server
|
|
@@ -13867,7 +13867,7 @@ var createSession = function createSession(options) {
|
|
|
13867
13867
|
* @param {HTMLElement} options.display Div element stream should be displayed in
|
|
13868
13868
|
* @param {Object=} options.custom User provided custom object that will be available in REST App code
|
|
13869
13869
|
* @param {Integer} [options.flashBufferTime=0] Specifies how long to buffer messages before starting to display the stream (Flash-only)
|
|
13870
|
-
* @param {
|
|
13870
|
+
* @param {String=} options.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "H264,PCMA,PCMU,G722")
|
|
13871
13871
|
* @param {string=} options.rtmpUrl Rtmp url stream should be forwarded to
|
|
13872
13872
|
* @param {Object=} options.mediaConnectionConstraints Stream specific constraints for underlying RTCPeerConnection
|
|
13873
13873
|
* @param {Boolean=} options.flashShowFullScreenButton Show full screen button in flash
|
|
@@ -19554,7 +19554,7 @@ var createSession = function createSession(options) {
|
|
|
19554
19554
|
mediaProviders: Object.keys(MediaProvider),
|
|
19555
19555
|
keepAlive: keepAlive,
|
|
19556
19556
|
authToken: authToken,
|
|
19557
|
-
clientVersion: "2.0.
|
|
19557
|
+
clientVersion: "2.0.206",
|
|
19558
19558
|
clientOSVersion: window.navigator.appVersion,
|
|
19559
19559
|
clientBrowserVersion: window.navigator.userAgent,
|
|
19560
19560
|
msePacketizationVersion: 2,
|
|
@@ -19780,7 +19780,7 @@ var createSession = function createSession(options) {
|
|
|
19780
19780
|
* @param {HTMLElement} options.localVideoDisplay Div element local video should be displayed in
|
|
19781
19781
|
* @param {HTMLElement} options.remoteVideoDisplay Div element remote video should be displayed in
|
|
19782
19782
|
* @param {Object=} options.custom User provided custom object that will be available in REST App code
|
|
19783
|
-
* @param {
|
|
19783
|
+
* @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
|
|
19784
19784
|
* @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
|
|
19785
19785
|
* @param {Array<string>=} options.sipHeaders Array of custom SIP headers
|
|
19786
19786
|
* @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
|
|
@@ -20042,7 +20042,7 @@ var createSession = function createSession(options) {
|
|
|
20042
20042
|
* @param {Boolean=} answerOptions.receiveAudio Receive audio
|
|
20043
20043
|
* @param {Boolean=} answerOptions.receiveVideo Receive video
|
|
20044
20044
|
* @param {String=} answerOptions.constraints Answer call with constraints
|
|
20045
|
-
* @param {
|
|
20045
|
+
* @param {String=} answerOptions.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
|
|
20046
20046
|
* @param {Array<string>=} answerOptions.sipSDP Array of custom SDP params (ex. bandwidth (b=))
|
|
20047
20047
|
* @param {Array<string>=} answerOptions.sipHeaders Array of custom SIP headers
|
|
20048
20048
|
* @param {sdpHook} sdpHook The callback that handles sdp from the server
|
|
@@ -20622,7 +20622,7 @@ var createSession = function createSession(options) {
|
|
|
20622
20622
|
* @param {HTMLElement} options.display Div element stream should be displayed in
|
|
20623
20623
|
* @param {Object=} options.custom User provided custom object that will be available in REST App code
|
|
20624
20624
|
* @param {Integer} [options.flashBufferTime=0] Specifies how long to buffer messages before starting to display the stream (Flash-only)
|
|
20625
|
-
* @param {
|
|
20625
|
+
* @param {String=} options.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "H264,PCMA,PCMU,G722")
|
|
20626
20626
|
* @param {string=} options.rtmpUrl Rtmp url stream should be forwarded to
|
|
20627
20627
|
* @param {Object=} options.mediaConnectionConstraints Stream specific constraints for underlying RTCPeerConnection
|
|
20628
20628
|
* @param {Boolean=} options.flashShowFullScreenButton Show full screen button in flash
|