@flashphoner/websdk 2.0.211 → 2.0.212

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashphoner/websdk",
3
- "version": "2.0.211",
3
+ "version": "2.0.212",
4
4
  "description": "Official Flashphoner WebCallServer WebSDK package",
5
5
  "main": "./src/flashphoner-core.js",
6
6
  "types": "./src/flashphoner-core.d.ts",
@@ -539,7 +539,7 @@ var createSession = function (options) {
539
539
  mediaProviders: Object.keys(MediaProvider),
540
540
  keepAlive: keepAlive,
541
541
  authToken:authToken,
542
- clientVersion: "2.0.211",
542
+ clientVersion: "2.0.212",
543
543
  clientOSVersion: window.navigator.appVersion,
544
544
  clientBrowserVersion: window.navigator.userAgent,
545
545
  msePacketizationVersion: 2,
@@ -1399,6 +1399,8 @@ var playFirstVideo = function (display, isLocal, src) {
1399
1399
  var video = document.createElement('video');
1400
1400
  video.setAttribute("playsinline", "");
1401
1401
  video.setAttribute("webkit-playsinline", "");
1402
+ //Mute video tag to prevent local audio playback in Safari #WCS-3430
1403
+ video.muted = true;
1402
1404
  video.id = uuid_v1() + (isLocal ? LOCAL_CACHED_VIDEO : REMOTE_CACHED_VIDEO);
1403
1405
 
1404
1406
  //in WCS-1560 we removed video.play() call, because it triggers the “Unhandled Promise Rejection” exception in iOS Safari