Listener type enumeration
TRTCCloudwill set up a video call between two anchors from different rooms. The caller will receive the
onConnectOtherRoom()callback, which can be used to determine whether the cross-room call is successful. If it is successful, all users in both rooms will receive the
userIdof the anchor to compete with
ERR_NULLindicates a successful switch. For more information, please see Error Codes.