Windows platform video recording supports video parallel mode recording [

Source: Internet
Author: User

the Windows platform (including web platform) local video recording supports parallel mode recording starting with the Anychat r4027 version.

Windows platform Local video recording supports single-user recording, synthetic recording (PIP mode), and parallel recording, where:
1, single-user recording refers to the entire video file only one user's visual information;
2, synthetic recording refers to the entire video file including the two sides of the video information, wherein the video is displayed in the form of overlapping images;
3, side-by-side recording refers to the entire video file including the two sides of the video information, wherein the video screen in the form of symmetry, will not obscure the video area of either party;

Side- by-side recording adds a record flag definition (in Web version as an example):

    1. var brac_record_flags_abreast = 0x00000100; When you record a video, record the other person's video in parallel

Copy Code

The sample code called when recording is as follows (PIP mode):

    1. var flags = Brac_record_flags_video + brac_record_flags_audio +brac_record_flags_mixaudio + brac_record_flags_mixvideo ;

    2. Brac_streamrecordctrl (userid, 1, flags, 0);

Copy Code

650) this.width=650; "id=" aimg_413 "src=" http://bbs.anychat.cn/data/attachment/forum/201403/26/ 213323qr5v5vv5vi6hrmi5.jpg "class=" Zoom "width=" 526 "alt=" 213323qr5v5vv5vi6hrmi5.jpg "/>



call the sample code as follows (in parallel mode) when recording:
    1. var flags = Brac_record_flags_video + brac_record_flags_audio +brac_record_flags_mixaudio + brac_record_flags_mixvideo + Brac_record_flags_abreast;

    2. Brac_streamrecordctrl (userid, 1, flags, 0);

Copy Code

650) this.width=650; "id=" aimg_412 "src=" http://bbs.anychat.cn/data/attachment/forum/201403/26/ 213323d4ymwlozcm9nlzd8.jpg "class=" Zoom "width=" "alt=" 213323d4ymwlozcm9nlzd8.jpg "/>"


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.