ep_webrtc 2.0.3 → 2.0.4

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
@@ -5,7 +5,7 @@
5
5
  "url": "git@github.com:ether/ep_webrtc.git",
6
6
  "type": "git"
7
7
  },
8
- "version": "2.0.3",
8
+ "version": "2.0.4",
9
9
  "description": "WebRTC based audio/video chat to Etherpad",
10
10
  "author": "John McLear <john@mclear.co.uk>",
11
11
  "contributors": [],
@@ -886,7 +886,10 @@ exports.rtc = new class {
886
886
  autoplay: '',
887
887
  muted: isLocal ? '' : null,
888
888
  })
889
- .prop('muted', isLocal); // Setting the 'muted' attribute isn't sufficient for some reason.
889
+ .prop({
890
+ muted: isLocal, // Setting the 'muted' attribute isn't sufficient for some reason.
891
+ volume: isLocal ? 0.0 : 1.0, // Long shot attempt at fixing echo in Safari.
892
+ });
890
893
  const $interface = $('<div>')
891
894
  .addClass('interface-container')
892
895
  .attr('id', `interface_${videoId}`);