A WebRTC RTCRtpSender in which to install the metadata encoder. The sender will have been modified by this library so that it is a RTCRtpSenderIS, able to support metadata.
© 2023 High Fidelity, Inc. | All rights reserved | Terms of Service | Privacy Policy |
Installs a metadata encoder in a WebRTC RTCRtpSender to inject position information into an outgoing WebRTC audio stream.
This will install an encoder using either WebRTC Insertable Streams (e.g., Chrome, Edge) or WebRTC Encoded Transform (e.g., Safari).
The position information to inject is set by calls to HRTFOutput.setPosition.
Example