roomId property

int roomId
getter/setter pair
  • Field description: numeric room ID. Users (userId) in the same room can see one another and make audio/video calls.
  • Recommended value: value range: 1–4294967294.
  • Note:
    • roomId and strRoomId are mutually exclusive. If you decide to use strRoomId , then roomId should be entered as 0. If both are entered, roomId will be used.
    • do not mix roomId and strRoomId , because they are not interchangeable. For example, the number 123 and the string 123 are two completely different rooms in TRTC.

Implementation

int roomId;