The web audio panner node processing webRTC stream has no spatial effect on iOS safari 15.1.1

The web audio panner node processing webRTC stream has no spatial effect on iOS safari 15.1.1.

I move the positions of panner node or listener to no effect at all.

Stream:

webRTC p2p stream , audio only

Browser:

iOS safari 15.1.1


DEMO

This is my demo code: https://github.com/random-vincent/webRTCP2Pdemo-spatial-audio

This is a Demo based on WebRTC Team GitHub.

webRTC Stream -> MediaStream source node -> panner node -> destination

Usage:

  1. Clone this repo
  2. Run an https service in the root directory of this project
  3. Open the url on browser
  4. Click call to establish a webrtc p2p connection.
  5. Click init to initialize the spatial audio.
  6. Change positions and forwards of panner node and listener

No matter how you adjust the position and orientation of pannerNode and listener, there is no change in the sound of the left and right channels of the headset.

The web audio panner node processing webRTC stream has no spatial effect on iOS safari 15.1.1
 
 
Q