@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.
Files changed (58) hide show
  1. package/docTemplate/README.md +1 -1
  2. package/examples/demo/sip/phone/phone.js +7 -10
  3. package/examples/demo/streaming/hls-player/hls-player.html +1 -4
  4. package/examples/demo/streaming/hls-player/hls-player.js +19 -1
  5. package/examples/demo/streaming/hls-player/player-page.html +1 -1
  6. package/examples/demo/streaming/hls-player/video-js.css +142 -51
  7. package/examples/demo/streaming/hls-player/video.js +27294 -20390
  8. package/examples/demo/streaming/hls-player/video.min.js +27 -0
  9. package/examples/demo/streaming/media_devices_manager/manager.js +27 -1
  10. package/examples/demo/streaming/media_devices_manager/media_device_manager.html +7 -0
  11. package/examples/typescript/two-way-streaming-ts/.gitignore +23 -0
  12. package/examples/typescript/two-way-streaming-ts/README.md +36 -0
  13. package/examples/typescript/two-way-streaming-ts/package.json +45 -0
  14. package/examples/typescript/two-way-streaming-ts/public/favicon.ico +0 -0
  15. package/examples/typescript/two-way-streaming-ts/public/index.html +33 -0
  16. package/examples/typescript/two-way-streaming-ts/public/logo192.png +0 -0
  17. package/examples/typescript/two-way-streaming-ts/public/logo512.png +0 -0
  18. package/examples/typescript/two-way-streaming-ts/public/manifest.json +25 -0
  19. package/examples/typescript/two-way-streaming-ts/public/media/preloader.mp4 +0 -0
  20. package/examples/typescript/two-way-streaming-ts/public/robots.txt +3 -0
  21. package/examples/typescript/two-way-streaming-ts/src/TwoWayStreamingApp.css +23 -0
  22. package/examples/typescript/two-way-streaming-ts/src/TwoWayStreamingApp.tsx +371 -0
  23. package/examples/typescript/two-way-streaming-ts/src/fp-utils.ts +117 -0
  24. package/examples/typescript/two-way-streaming-ts/src/index.css +13 -0
  25. package/examples/typescript/two-way-streaming-ts/src/index.tsx +9 -0
  26. package/examples/typescript/two-way-streaming-ts/tsconfig.json +26 -0
  27. package/examples/vue/two-way-streaming-vue/.gitignore +23 -0
  28. package/examples/vue/two-way-streaming-vue/README.md +36 -0
  29. package/examples/vue/two-way-streaming-vue/babel.config.js +5 -0
  30. package/examples/vue/two-way-streaming-vue/package.json +47 -0
  31. package/examples/vue/two-way-streaming-vue/public/favicon.ico +0 -0
  32. package/examples/vue/two-way-streaming-vue/public/index.html +17 -0
  33. package/examples/vue/two-way-streaming-vue/src/TwoWayStreamingApp.vue +346 -0
  34. package/examples/vue/two-way-streaming-vue/src/assets/media/preloader.mp4 +0 -0
  35. package/examples/vue/two-way-streaming-vue/src/fp-utils.js +117 -0
  36. package/examples/vue/two-way-streaming-vue/src/main.js +9 -0
  37. package/examples/vue/two-way-streaming-vue/vue.config.js +8 -0
  38. package/flashphoner-no-flash.js +4 -4
  39. package/flashphoner-no-flash.min.js +1 -1
  40. package/flashphoner-no-webrtc.js +4 -4
  41. package/flashphoner-no-webrtc.min.js +1 -1
  42. package/flashphoner-no-wsplayer.js +4 -4
  43. package/flashphoner-no-wsplayer.min.js +1 -1
  44. package/flashphoner-room-api.js +4 -4
  45. package/flashphoner-room-api.min.js +1 -1
  46. package/flashphoner-temasys-flash-websocket-without-adapterjs.js +4 -4
  47. package/flashphoner-temasys-flash-websocket.js +4 -4
  48. package/flashphoner-temasys-flash-websocket.min.js +1 -1
  49. package/flashphoner-webrtc-only.js +4 -4
  50. package/flashphoner-webrtc-only.min.js +1 -1
  51. package/flashphoner.js +4 -4
  52. package/flashphoner.min.js +1 -1
  53. package/package.json +2 -1
  54. package/src/constants.d.ts +1 -0
  55. package/src/flashphoner-core.d.ts +192 -0
  56. package/src/flashphoner-core.js +4 -4
  57. package/src/room-module.d.ts +29 -0
  58. 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.201",
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 {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
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 {Array<string>=} answerOptions.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
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 {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
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.201",
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 {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
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 {Array<string>=} answerOptions.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
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 {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
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