Expand my Community achievements bar.

I can't modelize the loginDialog.

Avatar

Former Community Member

At Present,I'm developing live conference system.

But When I want to modulize live room,

it can't work normally,

At The first time I entered,

everything can work,

but the FileShare breaked down at the second time.

I'm very confused that it can't work.

In addition,the fileShare sometimes can't  upload and download files in the guest status.

May somebody help me?

Thank you! : )

The following is flex code I  edited from adobe example.

Application test_flex.mxml

compoment LoginDialog.mxml

4 Replies

Avatar

Employee

Hi,

In your code you use <session:RoomSettings id="settings" autoPromote="true"/>. Note that this property     only works the FIRST TIME the room receives a connection from an user     with an owner role.

Instead I would recommend you set the autoPromote="true" either using DevConsole or use this line to set after your connect session is synchronized

ConnectSession.primarySession.roomManager.autoPromote = true;

Hope this resolves your issue.

Thanks

Arun

Avatar

Former Community Member

Thanks sir,

But I still can't resolve files uploading problem.

Avatar

Employee

Can you explain a little better what your problem is ?

Note that the login dialog is just a dialog that sets the values of userName and password on the authenticator. You can redesign any way you want, as long as you properly setup the authenticator and call session.login()

Avatar

Former Community Member

hi raff,

this code is similar with my coference room system,

But my code is too complex,

so, I use LoginDailog example to explain my problem ,

this video descripted my problem.

http://www.youtube.com/watch?v=gdTBbyiRc9o

thank you, raff. : )