zello-channel-api icon indicating copy to clipboard operation
zello-channel-api copied to clipboard

Unable to broadcast in Chrome or Edge

Open Skizu opened this issue 4 years ago • 2 comments

I am unable to broadcast messages in Chrome or Edge using JS SDK on both Windows and MacOS. I have confirmed this in our use of the SDK and via examples/02-player-recorder.html. This issue appears to be occurring within zelloptt/opus-recorder.

Exception

Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: ArrayBuffer is not detachable and could not be cloned.
    at OggOpusEncoder.segmentPacket (webpack-internal:///./src/encoderWorker.js:345:30)
    at OggOpusEncoder.encode (webpack-internal:///./src/encoderWorker.js:134:12)
    at eval (webpack-internal:///./src/encoderWorker.js:13:19)

MacOS Browser

Info Details
Browser Chrome
Browser Version 88.0.4324.150 (Official Build) (x86_64)
OS MacOS
OS Version 11.2.1 (20D74)

Skizu avatar Feb 12 '21 15:02 Skizu

Hi Daniel, thanks for the report. Alex may have been in touch earlier - we're investigating and will provide updates as we have them.

vocoded avatar Feb 13 '21 14:02 vocoded

Resolved by https://github.com/zelloptt/zello-channel-api/pull/128.

Skizu avatar Feb 15 '21 16:02 Skizu