Method AccountManager.getRoomInfo throwing Exception

Avatar

Avatar

Oliver_Fdez

Avatar

Oliver_Fdez

Oliver_Fdez

10-08-2011

Hello,

I'm trying to use the method getRoomInfo from AccountManager class of the Java server API, in order to obtain the usage information of a room. My problem is that this method is always throwing the following Error: com.adobe.rtc.util.RTCError: not-active.

Here is my code:

accountManager.keepalive(LCCS_USER, LCCS_PASSWORD);

accountManager.getSession(lccsRoom.getRoomName());

   

RoomInfo roomInfo = accountManager.getRoomInfo(lccsRoom.getRoomName());

I'm sure that the Room exists, is active (I checked the Room console), users can enter, and lccsRoom.getRoomName() has the correct name.

My question is: am I missing something? Is there anything I'm doing wrong? Should I wait some time since the room is created until I can call the method getRoomInfo? Should the room have some usage before I can call the method?

Thank you very much for your help!

View Entire Topic

Avatar

Avatar

nzezelj

Avatar

nzezelj

nzezelj

10-08-2011

Hi Oliver,

Can you confirm that the room name matches?  Does it have any upper-case letters in it?

Thanks,

Nikola