joinRoom method
void
joinRoom()
Sends the joinRoom to WebSocket server
Implementation
void joinRoom() {
final joinRoomParams = {
JsonConstants.metadata:
'{"clientData": "${session.localParticipant?.participantName}"}',
'secret': '',
'session': session.id,
'platform':
'${Platform.isAndroid ? "Android" : "iOS"} ${Platform.operatingSystemVersion}',
'token': session.token,
'sdkVersion': '2.29.0',
};
idJoinRoom = sendJson(JsonConstants.joinRoomMethod, joinRoomParams);
}