Plivo Stream Gateway Tester

This browser client is shaped to match your NestJS `PlivoStreamGateway`: it sends Plivo-style `start`, `media`, and `stop` events, and it listens for `playAudio` and `clearAudio` responses from the Sarvam-backed voice pipeline.

Connection

Ready

Step 1: Login

Login first

Without a token the stream buttons stay locked. Enter your credentials here and the client will manage the token, session, and websocket flow internally.

Step 2: Destination

This is the only call detail you need to enter. Session, call metadata, and websocket setup are handled internally.
Internal flow

Login → create session → fetch stream config → open websocket → send audio.

Step 3: Stream

Use this to mimic a caller speaking into the Plivo stream in real time.

File Stream

No file selected

Gateway Event Log

Useful for verifying the full STT/TTS round trip while you test the backend.

Received Audio Playback

No received audio yet