process streaming via WebSocket