Avatar

Employee

Again, getRoomInfo only returns valid data when the room is running. Did you try with a running room and verified that you get the data you need ?

If that is the case you have a couple of options:

- if you have a limited number of rooms you could either access the room via DevConsole (that will start the room) or write a Flex/AIR application that starts the room and then calls a method on your server that will cause getRoomInfo to be called.

- implement server side notification (with the server to server API) and intercept the room termination message in RoomManager. When you get the room termination message the room will still be active (but with no users) and you should be able to call getRoomInfo to get the current usage. Then you should store these values in a database that you can query to generate billing information