Avatar

Level 1

So I tried everything in the video, still not getting what I want.

In the afcs console I start out with

[ apps ]   [ rooms ]

default    templateroom

I use the FlashSimpleChat to connect to template room with my owner creds. In the trace it says "SAVED! <YourApp>" after i set template room as a new Application.

Now I have

[ apps ]   [ rooms ]

default    templateroom

templateroom

So I log in to my app, and the server side code calls account.createRoom("somenewname","templateroom"). After this user's room is created, the app swf needs an authToken, so I generate one server side getAuthenticationToken("somenewname",username,username,50) send it down.

The swf uses the authtoken to get a session, connects fine, I see FMS traces, etc. Role is 50. Then I get the SAME OWNER ERROR. This is not expected. I don't want user's to be owners of their room. However if I getAuthenticationToken("somenewname",username,username,100) and use that auth token, the connection works, no owner error! I've tried every? permutation of this cycle to the same effect. User's can only have externally authenticated rooms with chat and video if they are owners. So it seems that templating is pointless. What am I not understanding here? Thanks alot again!