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:
- Clone this repo
- Run an https service in the root directory of this project
- Open the url on browser
- Click
callto establish a webrtc p2p connection. - Click
initto initialize the spatial audio. - Change positions and forwards of panner node and listener