Screen Sharing (Remote Desktop) function added in anychat

Source: Internet
Author: User

Screen Sharing (Remote Desktop) has been added to anychat since version.

Currently, anychat for Windows SDK and anychat for Web SDK are supported to transmit desktop information from PCs to PCs, Web browsers, mobile phones (Android, IOS), and tablets.

Function implementation principle:
1. The new version has a built-in native screen camera device;
2. When you switch to this device, you can achieve Desktop Sharing and collect and transmit local desktop images;
3. The video that other users see is a desktop image, not a camera video;
4. During local desktop data collection, a green border is displayed around the mouse, indicating the size of the area shared by the desktop;
5. You can adjust the area size and video quality of desktop sharing by adjusting the local collection resolution and bit rate;

650) This. width = 650; "id =" aimg_395 "src =" http://bbs.anychat.cn/data/attachment/forum/201403/12/133731m63uwswwbdb3iyuu.jpg "class =" zoom "width =" 311 "alt =" 133731m63uwswwbdb3iyuu.jpg "/>



650) This. width = 650; "id =" aimg_396 "src =" http://bbs.anychat.cn/data/attachment/forum/201403/12/133737q8zby3zfzgdjybzs.jpg "class =" zoom "width =" 600 "alt =" 133737q8zby3zfzgdjybzs.jpg "/>



To enable the desktop sharing function (disabled by default), you can use the following code:
  1. // Brac_so_coresdk_screencameractrl 131 // <desktop sharing Function Control (parameter: int type, 0 disabled [Default], 1 Enabled)

  2. DWORD benablescreencamera = 1;

  3. Brac_setsdkoption (brac_so_coresdk_screencameractrl, (char *) & benablescreencamera, sizeof (DWORD ));

Copy code

To disable the desktop sharing function, you can use either of the following two methods:
1. Delete the desktop sharing component under the application directory: brscreensource. Ax;
2. Disable the service through the API:

  1. // Brac_so_coresdk_screencameractrl 131 // <desktop sharing Function Control (parameter: int type, 0 disabled [Default], 1 Enabled)

  2. DWORD benablescreencamera = 0;

  3. Brac_setsdkoption (brac_so_coresdk_screencameractrl, (char *) & benablescreencamera, sizeof (DWORD ));

Copy code


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.