Tutorial: Upgrade Guide

Upgrade Guide

Please note that there are interface changes or Breaking Changes in the following SDK versions.

Version 5.1.0 @2023.08.11

【Background】

  • The string type roomId "123" is not the same room as the numeric type roomId 123.
  • Before version v5.1.0, the roomId parameter of the trtc.enterRoom interface supported both number and string types. It was easy to encounter situations where different roomId types caused communication issues between different platforms.

【Breaking Change】

To prevent the above situation, starting from version v5.1.0, the roomId parameter of the trtc.enterRoom interface is limited to the number type and no longer supports string type. If you want to use a string roomId, please use the strRoomId parameter.