@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
@@ -10527,7 +10527,7 @@ var createSession = function createSession(options) {
10527
10527
  mediaProviders: Object.keys(MediaProvider),
10528
10528
  keepAlive: keepAlive,
10529
10529
  authToken: authToken,
10530
- clientVersion: "2.0.201",
10530
+ clientVersion: "2.0.206",
10531
10531
  clientOSVersion: window.navigator.appVersion,
10532
10532
  clientBrowserVersion: window.navigator.userAgent,
10533
10533
  msePacketizationVersion: 2,
@@ -10753,7 +10753,7 @@ var createSession = function createSession(options) {
10753
10753
  * @param {HTMLElement} options.localVideoDisplay Div element local video should be displayed in
10754
10754
  * @param {HTMLElement} options.remoteVideoDisplay Div element remote video should be displayed in
10755
10755
  * @param {Object=} options.custom User provided custom object that will be available in REST App code
10756
- * @param {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
10756
+ * @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
10757
10757
  * @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
10758
10758
  * @param {Array<string>=} options.sipHeaders Array of custom SIP headers
10759
10759
  * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
@@ -11015,7 +11015,7 @@ var createSession = function createSession(options) {
11015
11015
  * @param {Boolean=} answerOptions.receiveAudio Receive audio
11016
11016
  * @param {Boolean=} answerOptions.receiveVideo Receive video
11017
11017
  * @param {String=} answerOptions.constraints Answer call with constraints
11018
- * @param {Array<string>=} answerOptions.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
11018
+ * @param {String=} answerOptions.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
11019
11019
  * @param {Array<string>=} answerOptions.sipSDP Array of custom SDP params (ex. bandwidth (b=))
11020
11020
  * @param {Array<string>=} answerOptions.sipHeaders Array of custom SIP headers
11021
11021
  * @param {sdpHook} sdpHook The callback that handles sdp from the server
@@ -11595,7 +11595,7 @@ var createSession = function createSession(options) {
11595
11595
  * @param {HTMLElement} options.display Div element stream should be displayed in
11596
11596
  * @param {Object=} options.custom User provided custom object that will be available in REST App code
11597
11597
  * @param {Integer} [options.flashBufferTime=0] Specifies how long to buffer messages before starting to display the stream (Flash-only)
11598
- * @param {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
11598
+ * @param {String=} options.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "H264,PCMA,PCMU,G722")
11599
11599
  * @param {string=} options.rtmpUrl Rtmp url stream should be forwarded to
11600
11600
  * @param {Object=} options.mediaConnectionConstraints Stream specific constraints for underlying RTCPeerConnection
11601
11601
  * @param {Boolean=} options.flashShowFullScreenButton Show full screen button in flash