remove sendFrame from api