• When metadata is enabled, call setupSenderMetadata to install an encoder in an RTCRtpSender. This will install either a RTCRtpScriptTransform (Safari) or use Insertable Streams (Chrome) to inject position information into transmitted audio data.


    let senders = peerConnection.getSenders();
    let sender = senders.find(e => e.track?.kind === 'audio');


    • sender: RTCRtpSenderIS

      an RTCRtpSender in which to install a position encoder.

    Returns void

© 2023 High Fidelity, Inc. | All rights reserved Terms of Service | Privacy Policy