1. calls later how to trigger the recording function is activated , to use multi-threading it , what is the process code .
2. recording is bidirectional, one's own call recording via mic recording, then the other side of it , it would not be recorded with the mic are they not recorded sound , do not have to open handsfree job ?
------ Solution ---------------------------------------- ----
1, guess need multi-threading
2, that under the agreement it
------ Solution ---------------------------- ----------------
recorder = new MediaRecorder();
// 设置录音为麦克风
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
recorder.setOutputFile(recordAudioFile.getAbsolutePath());
try {
recordAudioFile.createNewFile();
recorder.prepare();
recorder.start();
} catch (IOException e) {
e.printStackTrace();
}
------ Solution ------------------ --------------------------
6 F prawn if you only want to record your own voice how do like off the PC machine stereo mix has this function it
------ Solution ---------------------------- ----------------
each other's voices underlying phone module can be captured to
------ eference ----------- ----------------------------
Meirenhuida Mody, answer the first question line ah
- ---- eference ---------------------------------------
you this is not or from the mic recording it , one's own voice is heard, and the other how to do ?
------ eference ------------------------------------ ---
can detail what, the second may be more difficult to resolve , first can you give some examples or code , not necessarily recording is triggered when a call on the line
------ eference ------------------------------------ ---
each other's voices can be recorded down brother,
You can first try what I've tried OK ~
------ eference ----------------- ----------------------
good , prawns , that there is a problem in the first category . . How the recording during a call , when it is triggered . .
otherwise I would not try it . . .
------ eference --------------------------------------- < br> You can use the boot to start a backstage broadcast service to monitor the incoming broadcast time when a call broadcast soon . With phoneMamager.lisen (); to deal with.
------ eference --------------------------------------- < br> I also tried this with a mac to record each other's voices very quietly , would have VOICE_CALL can record audio down the line , but it seems a lot of phones are restricted for security right out of this , if VOICE_CALL will complain , so I been thinking about recording of the problem .. landlord if there any good way , trouble say Ha !
------ eference --------------------------------------- < br> best not to use the mic to record inside , Andrews this point do not, with the palm of the previous system , the recording is very clear.
------ eference --------------------------------------- < br> landlord do you implement two-way audio
------ eference ------------------------------------ ---
huh. Certainly can be achieved. But not yet. . Either way a lot of recordings in order to achieve the different models or else a lot of problems . . .
------ eference --------------------------------------- < br> in the end how to achieve ?
------ eference --------------------------------------- < br>
really it ?
没有评论:
发表评论