AudioWorkletNode: port property
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021 .
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers .
port
property of the
AudioWorkletNode
interface returns the associated
MessagePort
. It can be used to communicate between the node and its
associated
AudioWorkletProcessor
.
Note:
The port at the other end of the channel is
available under the
port
property of the
processor.