hi all
i try to record and get access to the buffer "bytearrayoutputstream" at the same time but i couldn't the only way is when i use record.commit() that stop recording after that i could use the buffer and that wouldn't help in live streaming...
i almost give up working in j2me in this subject but i found this code i think it record to the outputstream directly so i could stream live voice via bluetooth ..could this happened ?
thank youCode://setup recording record = (RecordControl)player.getControl("RecordControl"); record.setRecordSizeLimit(300000); conn = (FileConnection)Connector.open(PATH,Connector.READ_WRITE); if(!conn.exists()) conn.create(); stream = conn.openOutputStream(); record.setRecordStream(stream); ............................... ............................... player.start(); record.startRecord();

Reply With Quote

