Anychat supports audio synthesis and stereo recording

Source: Internet
Author: User

Starting from anychat r4086, anychat supports audio synthesis and stereo recording and adds the recording mark constant:

    1. 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:

    1. VaR flags = brac_record_flags_video + brac_record_flags_audio + brac_record_flags_mixaudio + brac_record_flags_mixvideo + brac_record_flags_stereo;

    2. 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, refer: Http://bbs.anychat.cn/forum.php? .... = 581 & extra = Page % 3d1


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.