hanc-webrtc-widgets 2.2.6 → 2.2.7
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.
|
@@ -17409,7 +17409,7 @@ class wd extends EventTarget {
|
|
|
17409
17409
|
this.audioElements.delete(s.identity);
|
|
17410
17410
|
}
|
|
17411
17411
|
const a = t.attach();
|
|
17412
|
-
a.setAttribute("playsinline", "true"), a.setAttribute("webkit-playsinline", "true"), a.dataset.participantId = s.identity, this.audioContainer ? this.audioContainer.appendChild(a) : (console.warn("[LiveKit] Audio container not found, appending to body"), document.body.appendChild(a)), this.audioElements.set(s.identity, a), this.playAudioElement(a).then((c) => {
|
|
17412
|
+
a.setAttribute("playsinline", "true"), a.setAttribute("webkit-playsinline", "true"), a.dataset.participantId = s.identity, this.isAppleDevice && (a.volume = 0.8), this.audioContainer ? this.audioContainer.appendChild(a) : (console.warn("[LiveKit] Audio container not found, appending to body"), document.body.appendChild(a)), this.audioElements.set(s.identity, a), this.playAudioElement(a).then((c) => {
|
|
17413
17413
|
c || (this.audioPlaybackPrompt = !0, this.dispatchEvent(
|
|
17414
17414
|
new CustomEvent("audio-playback-status-changed", {
|
|
17415
17415
|
detail: { canPlayback: !1 }
|