NTSDemo first:use Audiorecord to record and real time transfer to server by websocket. second: use AudioTrack to play the wav three:speex encode the wav .