Getting access to user media track for audio visua...
# support
a
Is there a way I can get the user MediaTrack on the web sdk so that I can setup an audio visualization for it?
v
Currently, the Vapi Web SDK documentation does not show a direct way to access the user's MediaTrack for custom audio visualization. You can use
navigator.mediaDevices.getUserMedia
and the Web Audio API to access and process audio data for visualization, but this is done outside the SDK itself. Are you looking for a solution that works strictly within the Vapi SDK, or is using browser APIs alongside the SDK acceptable for your visualization needs? Sources: - [Vapi WebSocket Transport Documentation](https://docs.vapi.ai/calls/websocket-transport) - [Vapi Web SDK Documentation](https://docs.vapi.ai/sdk/web)
k
^^