A WebRTC RTCRtpReceiver in which to install the metadata encoder. The receiver will have been modified by this library so that it is a RTCRtpReceiverIS, able to support metadata.
An ID for this particular receiver
. This ID will be included in calls to the PositionUpdateCallback
passed into setupHRTF.
© 2023 High Fidelity, Inc. | All rights reserved | Terms of Service | Privacy Policy |
Installs a metadata decoder in a WebRTC RTCRtpSender to extract position information from an incoming WebRTC audio stream.
This will install a decoder using either WebRTC Insertable Streams (e.g., Chrome, Edge) or WebRTC Encoded Transform (e.g., Safari).
When position information is extracted, the PositionUpdateCallback passed into setupHRTF will be called.
Example