@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.
@@ -10732,7 +10732,8 @@ var createSession = function createSession(options) {
10732
10732
  if (!localVideo && mediaProvider.getVideoElement) {
10733
10733
  localVideo = mediaProvider.getVideoElement(display);
10734
10734
  }
10735
- if (localVideo) {
10735
+ // PR #19 from GitHub to prevent Sentry issue #WCS-4239
10736
+ if (localVideo && localVideo.srcObject) {
10736
10737
  localVideo.srcObject.getAudioTracks().forEach(function (track) {
10737
10738
  var device = track.label;
10738
10739
  if (device === "MediaStreamAudioDestinationNode" && mediaProvider.getAudioSourceDevice) {