@flashphoner/websdk 2.0.248 → 2.0.249

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.
@@ -1,4 +1,4 @@
1
- Web SDK - 2.0.248
1
+ Web SDK - 2.0.249
2
2
 
3
3
  [Download builds](https://docs.flashphoner.com/display/WEBSDK2EN/Web+SDK+release+notes)
4
4
 
@@ -11560,7 +11560,8 @@ var createSession = function createSession(options) {
11560
11560
  if (!localVideo && mediaProvider.getVideoElement) {
11561
11561
  localVideo = mediaProvider.getVideoElement(display);
11562
11562
  }
11563
- if (localVideo) {
11563
+ // PR #19 from GitHub to prevent Sentry issue #WCS-4239
11564
+ if (localVideo && localVideo.srcObject) {
11564
11565
  localVideo.srcObject.getAudioTracks().forEach(function (track) {
11565
11566
  var device = track.label;
11566
11567
  if (device === "MediaStreamAudioDestinationNode" && mediaProvider.getAudioSourceDevice) {