RELAYActionsTapActionstopCopy page|View as Markdown|Open in Claude|More actionsStop media interception. Returns Promise<Record<string, unknown>> — Server acknowledgment. Example 1import { RelayClient } from '@signalwire/sdk';23const client = new RelayClient({4 project: process.env.SIGNALWIRE_PROJECT_ID!,5 token: process.env.SIGNALWIRE_TOKEN!,6 contexts: ['default']7});89client.onCall(async (call) => {10 await call.answer();11 const action = await call.tap(12 { type: 'audio', params: { direction: 'both' } },13 { type: 'ws', params: { uri: 'wss://example.com/tap' } },14 );1516 // Stop the tap when done17 await action.stop();18});1920await client.run();