logo
On this page

Upgrade guide for version 3.0.0 and above

2023-09-25

Warning
  • If your current SDK is lower than version 3.0.0 and you need to upgrade to any SDK version 3.0.0 or above, please be sure to read this article.
  • In addition, it is recommended that you check your business-related interfaces based on the current version number and target upgrade version number, referring to the change notes between the two versions in the Release Notes.

This article will introduce the instructions and precautions for upgrading the Express Electron SDK to version 3.0.0 and above.

Deprecation instructions

  1. Deprecated the General, Communication, and Live scenarios in the ZegoScenario scenario enumeration. Please refer to the Scenario-based Audio and Video Configuration document for adaptation.

Deletion instructions

The following interfaces that were deprecated in previous versions have been deleted.

Method nameDescription
setDebugVerboseSets the debug verbose switch and language. This function was deprecated in version 2.3.0. Please use enableDebugAssistant to implement the original functionality.
loginMultiRoomLogin to multiple rooms. This method was deprecated after version 2.9.0. If you need to implement multi-room functionality, please call the setRoomMode function to set multi-room mode before engine initialization, then use loginRoom to login to multiple rooms. If you call the loginRoom function to login to multiple rooms, please ensure that the same user information is passed in.
setPlayStreamVideoLayerSets the selection of playing stream video layer. This function was deprecated after version 2.3.0. Please use setPlayStreamVideoType instead.
onDeviceErrorDevice exception notification. This function was deprecated in version 2.15.0 and above. Please use onLocalDeviceExceptionOccurred instead.

Change example code

You can refer to the following example code for interface changes.

setDebugVerbose

loginMultiRoom

setPlayStreamVideoLayer

onDeviceError

Previous

Release Notes

Next

Common Error Codes

On this page

Back to top