1
Call Session Lifecycle
- Pending: Call created, waiting for interpreter
- Live: Interpreter joined, billing starts
- Ended: Call completed normally
- Cancelled: Call cancelled before completion
Diagram of call session lifecycle states
2
Stream Video Room Management
- Each call has a Stream Video room (call_id)
- Room created when call is initiated
- Participants join the room via Stream Video
- Room persists for the duration of the call
Screenshot showing Stream Video room management
3
Call Status Tracking
- Remoto tracks call status separately from Stream Video
- Status updates when interpreter joins (pending → live)
- Billing starts when status becomes 'live'
- Call session stored in database for history and billing
Screenshot of call status tracking
4
Billing Integration
- Billing calculated based on call duration
- Charges start when call becomes 'live' (interpreter joined)
- Per-minute rates applied based on language pair
- Call sessions linked to billing records
Screenshot showing billing integration with call sessions
Was this article helpful?
Coming Soon
Coming Soon