@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.
@@ -9046,7 +9046,7 @@ var createSession = function createSession(options) {
9046
9046
  mediaProviders: Object.keys(MediaProvider),
9047
9047
  keepAlive: keepAlive,
9048
9048
  authToken: authToken,
9049
- clientVersion: "2.0.211",
9049
+ clientVersion: "2.0.212",
9050
9050
  clientOSVersion: window.navigator.appVersion,
9051
9051
  clientBrowserVersion: window.navigator.userAgent,
9052
9052
  msePacketizationVersion: 2,
@@ -13518,7 +13518,9 @@ var playFirstVideo = function playFirstVideo(display, isLocal, src) {
13518
13518
  if (!getCacheInstance(display)) {
13519
13519
  var video = document.createElement('video');
13520
13520
  video.setAttribute("playsinline", "");
13521
- video.setAttribute("webkit-playsinline", "");
13521
+ video.setAttribute("webkit-playsinline", ""); //Mute video tag to prevent local audio playback in Safari #WCS-3430
13522
+
13523
+ video.muted = true;
13522
13524
  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
13523
13525
  //in WCS-2160 we rolled back the changes made in WCS-1560 due to no audio on first playback in iOS Safari
13524
13526