Starting from anychat r4086, anychat supports audio synthesis and stereo recording and adds the recording mark constant:
- VaR brac_record_flags_stereo = 0x00000200; // <when recording audio, the audio of others is mixed into stereo for recording.
Copy code
The call code is:
- VaR flags = brac_record_flags_video + brac_record_flags_audio + brac_record_flags_mixaudio + brac_record_flags_mixvideo + brac_record_flags_stereo;
- Brac_streamrecordctrl (userid, 1, flags, 0 );
Copy code
Generally, the brac_record_flags_mixaudio is added to the video. The sound of both sides of the call is merged. In the left-right mode, one user is in the left and the other is in the right;
If the logo brac_record_flags_mixaudio + brac_record_flags_stereo is added, the sound of both sides of the call is combined into a stereo sound, and both sides of the call can be heard on the left and right sides.
For audio and video merging recording, see: http://bbs.anychat.cn/forum.php? ... = 581 & extra = Page % 3d1anychat supports audio merging and stereo recording