Watch the codealong video
Steps at a glance
- Project setup — Minimal frontend (e.g. React or Next.js) with upload + results layout.
- Authentication — Exhange your key for a token (Authentication).
- Connect — WebSocket to
wss://api.interhuman.ai/v0/stream/analyzewith your token (Streaming API). - Capture & send —
getUserMedia+MediaRecorderfor WebM segments; send binary over the socket. - Handle messages — Listen for
processing,result,completed, anderror. - Display signals — Update your UI from the
signalsarray in eachresult.
Next steps
- Explore social signals and filter or trigger logic by signal type.
- Streaming API reference for production options.
- Compare with Pre-recorded Video Analysis for your use case.