The version of the Agora Web SDK.
Checks the Web Browser Compatibility
This method checks the compatibility between the Web SDK and the current web browser.
Use this method before calling createClient to check the compatibility between the system and the web browser.
Agora has yet to conduct comprehensive tests on Chromium kernel browsers, such as QQ and 360. Agora will gradually achieve compatibility on most mainstream browsers in subsequent versions of the Web SDK.
Enumerates the Media Devices
This method enumerates the available media input and output devices, such as microphones, cameras, headsets, and so on.
If this method succeeds, the SDK returns a list of media devices in an array of MediaDeviceInfo objects.
Gets the Sources for Screen-sharing
To share the screen on Electron, call this method to get the screen sources. See Share the Screen for details.
If this method succeeds, the SDK returns a list of screen sources in an array of DesktopCapturerSource objects.