I need to create an LCCS video/audio/text chat application which will be deployed on a website with PHP as back-end. Only 2 people can comunicate with each other. There are a few questions I have related to this:
Any help would be appreciated and it would be good if someone can share URL to similar tutorial or example.
Views
Replies
Total Likes
Hi, and welcome
Yup, I’d have your PHP create a new room for each conversation on the fly, create authentication tokens for the 2 users, then send each user the authtoken and roomURL for connecting. (Use the third parameter of createRoom, $deleteOnExit, so that the room cleans itself up automatically afterwards).
hope that helps
nigel
Hi, and welcome as well.
You should check out 6.2. section of our online wiki docs at http://learn.adobe.com/wiki/display/lccs/6.2+Provisioning+rooms
But all of it is a great read and it would be a nice introduction to LCCS.
Nikola
Thanks to all those links and comments were really very helpful. Regarding the Wiki link, point 6.c and 6.d mentions that
Here we need to generate user ID and username on server side? Also how do I define roles using server side scripting?
Views
Replies
Total Likes
The docs are basically saying that you get to specify those details when you create the auth token. Take a look at the PHP serverIntegration libs, and you’ll see that getAuthenticationToken accepts name, role, userID, etc, as parameters which you can supply.
nigel
Views
Replies
Total Likes
Not sure if I fully follow your "roles" question, but .... User roles are already pre-defined, you only need to assign user a role via authToken parameter.
Please see http://learn.adobe.com/wiki/display/lccs/5.3+Managing+room+settings#5.3Managingroomsettings-Changing... for more info on user roles.
Hope this helps,
Nikola
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies