@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
@@ -11630,7 +11630,7 @@ var createSession = function createSession(options) {
11630
11630
  mediaProviders: Object.keys(MediaProvider),
11631
11631
  keepAlive: keepAlive,
11632
11632
  authToken: authToken,
11633
- clientVersion: "2.0.201",
11633
+ clientVersion: "2.0.206",
11634
11634
  clientOSVersion: window.navigator.appVersion,
11635
11635
  clientBrowserVersion: window.navigator.userAgent,
11636
11636
  msePacketizationVersion: 2,
@@ -11856,7 +11856,7 @@ var createSession = function createSession(options) {
11856
11856
  * @param {HTMLElement} options.localVideoDisplay Div element local video should be displayed in
11857
11857
  * @param {HTMLElement} options.remoteVideoDisplay Div element remote video should be displayed in
11858
11858
  * @param {Object=} options.custom User provided custom object that will be available in REST App code
11859
- * @param {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
11859
+ * @param {string=} options.stripCodecs Comma separated strings of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
11860
11860
  * @param {Array<string>=} options.sipSDP Array of custom SDP params (ex. bandwidth (b=))
11861
11861
  * @param {Array<string>=} options.sipHeaders Array of custom SIP headers
11862
11862
  * @param {string=} options.videoContentHint Video content hint for browser ('detail' by default to maintain resolution), {@link Flashphoner.constants.CONTENT_HINT_TYPE}
@@ -12118,7 +12118,7 @@ var createSession = function createSession(options) {
12118
12118
  * @param {Boolean=} answerOptions.receiveAudio Receive audio
12119
12119
  * @param {Boolean=} answerOptions.receiveVideo Receive video
12120
12120
  * @param {String=} answerOptions.constraints Answer call with constraints
12121
- * @param {Array<string>=} answerOptions.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
12121
+ * @param {String=} answerOptions.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "SILK,G722")
12122
12122
  * @param {Array<string>=} answerOptions.sipSDP Array of custom SDP params (ex. bandwidth (b=))
12123
12123
  * @param {Array<string>=} answerOptions.sipHeaders Array of custom SIP headers
12124
12124
  * @param {sdpHook} sdpHook The callback that handles sdp from the server
@@ -12698,7 +12698,7 @@ var createSession = function createSession(options) {
12698
12698
  * @param {HTMLElement} options.display Div element stream should be displayed in
12699
12699
  * @param {Object=} options.custom User provided custom object that will be available in REST App code
12700
12700
  * @param {Integer} [options.flashBufferTime=0] Specifies how long to buffer messages before starting to display the stream (Flash-only)
12701
- * @param {Array<string>=} options.stripCodecs Array of codecs which should be stripped from SDP (WebRTC)
12701
+ * @param {String=} options.stripCodecs Comma separated string of codecs which should be stripped from WebRTC SDP (ex. "H264,PCMA,PCMU,G722")
12702
12702
  * @param {string=} options.rtmpUrl Rtmp url stream should be forwarded to
12703
12703
  * @param {Object=} options.mediaConnectionConstraints Stream specific constraints for underlying RTCPeerConnection
12704
12704
  * @param {Boolean=} options.flashShowFullScreenButton Show full screen button in flash