@wgroovy/audiohook-client
v1.0.9
Published
Command line client for testing AudioHook servers
Downloads
928
Readme
@wgroovy/audiohook-client
Command line client for testing AudioHook servers.
Install
npm install -g @wgroovy/audiohook-clientOr run it without a global install:
npx @wgroovy/audiohook-client --helpUsage
- The arguments
--uriand--api-keyare mandatory. - The arguments
--client-secretand--orgidare optional. In most scenarios, they're required to enhance security. - In general, the server admin should provide the values of
uri,api-key, andclient-secret.
Probe connection
audiohook-client --uri wss://audiohook.example.com/api/v1/audiohook/ws --api-key SGVsbG8sIEkgYW0gdGhlIEFQSSBrZXkh --client-secret TXlTdXBlclNlY3JldEtleVRlbGxOby0xITJAMyM0JDU= --connection-probeSend audio streams
audiohook-client --uri wss://audiohook.example.com/api/v1/audiohook/ws --api-key SGVsbG8sIEkgYW0gdGhlIEFQSSBrZXkh --client-secret TXlTdXBlclNlY3JldEtleVRlbGxOby0xITJAMyM0JDU= --wavfile example.wavConnect local AudioHook server using unsecured websocket
audiohook-client --uri ws://localhost:3000/api/v1/audiohook/ws --api-key SGVsbG8sIEkgYW0gdGhlIEFQSSBrZXkh --client-secret TXlTdXBlclNlY3JldEtleVRlbGxOby0xITJAMyM0JDU=