@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/flashphoner.js CHANGED
@@ -11635,7 +11635,7 @@ var createSession = function createSession(options) {
11635
11635
  mediaProviders: Object.keys(MediaProvider),
11636
11636
  keepAlive: keepAlive,
11637
11637
  authToken: authToken,
11638
- clientVersion: "2.0.211",
11638
+ clientVersion: "2.0.212",
11639
11639
  clientOSVersion: window.navigator.appVersion,
11640
11640
  clientBrowserVersion: window.navigator.userAgent,
11641
11641
  msePacketizationVersion: 2,
@@ -16117,7 +16117,9 @@ var playFirstVideo = function playFirstVideo(display, isLocal, src) {
16117
16117
  if (!getCacheInstance(display)) {
16118
16118
  var video = document.createElement('video');
16119
16119
  video.setAttribute("playsinline", "");
16120
- video.setAttribute("webkit-playsinline", "");
16120
+ video.setAttribute("webkit-playsinline", ""); //Mute video tag to prevent local audio playback in Safari #WCS-3430
16121
+
16122
+ video.muted = true;
16121
16123
  video.id = uuid_v1() + (isLocal ? LOCAL_CACHED_VIDEO : REMOTE_CACHED_VIDEO); //in WCS-1560 we removed video.play() call, because it triggers the “Unhandled Promise Rejection” exception in iOS Safari
16122
16124
  //in WCS-2160 we rolled back the changes made in WCS-1560 due to no audio on first playback in iOS Safari
16123
16125