Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the new screen sharing function of AnyChat?

Shulou Source: shulou.com Published: 2022-06-02 10:06:24 10月02日 Update

In this issue, the editor will bring you about the new screen sharing function of AnyChat. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Since the AnyChat R4020 release, AnyChat has added screen sharing (remote Desktop) functionality.

At present, both AnyChat for Windows SDK and AnyChat for Web SDK are supported, and the desktop information of PC can be transferred to PC, Web browser, mobile phone (Android, iOS) and Pad.

The principle of function realization:

1. The new version has a "Native Screen Camera" camera device built in.

2. When switching to the device, desktop sharing can be realized, and local desktop images can be collected and transmitted.

3. The video seen by other users is the desktop image, not the camera video.

4. When collecting local desktop data, a green border is displayed around the mouse, indicating the size of the shared area of the desktop.

5. The area size and video quality of desktop sharing can be adjusted by adjusting the local acquisition resolution, bit rate and other parameters.

If you need to turn on desktop sharing (off by default), you can do so by using the following code:

/ / BRAC_SO_CORESDK_SCREENCAMERACTRL 131 / / < Desktop sharing function control (parameter: int, 0 off [default], 1 on)

DWORD bEnableScreenCamera = 1

BRAC_SetSDKOption (BRAC_SO_CORESDK_SCREENCAMERACTRL, (char*) & bEnableScreenCamera, sizeof (DWORD))

If you need to turn off desktop sharing, you can do so in either of the following two ways:

1. Delete the desktop sharing component in the application directory: brScreenSource.ax

2. Shut down through the API API:

/ / BRAC_SO_CORESDK_SCREENCAMERACTRL 131 / / < Desktop sharing function control (parameter: int, 0 off [default], 1 on)

DWORD bEnableScreenCamera = 0

BRAC_SetSDKOption (BRAC_SO_CORESDK_SCREENCAMERACTRL, (char*) & bEnableScreenCamera, sizeof (DWORD))

This is what the new screen sharing function of AnyChat is like. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Desktop function screen parameters video content area can pass image size camera device transmission analysis control camera adjustment professional small and medium code Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB Xiaomi macOS vpn