Hi, I need your help for configuring avchat.
For now I'm testing the local trial version
my conf is: wordpress with BuddyPress on my local lamp with red5 1.0.6 server.
In red5 webapp i have 2 apps myavchat30 dir and myavchat30_one2one.
In my document root dir i have myavchat30 and myavchat30_one2one dir
My intent is to have two chat, a general where everyone can chat and the other (one 2 one) in the user profile.
Avchat and red5 work very well for everyone.
Now, I would like to set up one 2 one video chat IM and I have been following this guide:
but I have many doubts.
1) "Now Whenever You want to group people together 2 separately in Their Own instance:
change the last part of the connectionstring (the instance name) based
on who you want to connect with who using avc_settings.php / aspx / asp.
like this: rtmp: //yourmediaserver.com/avchat30/userA_userB. "
how to do? in the user profile (eg: subnav chat) in a php script I include avc_settings.php and then update the value of the variable
$avcSettings ['connectionstring'] = 'rtmp: //yourmediaserver.com/myavchat30_one2one/'.$userId.' _ '. $ userProfileID;
is it ok?
how do I send a chat request to the user b. ?
The user A click on a chat button (eg: subnav chat has a chat button )
and open avchat popup and in the background a query in the database writes that user A wants to chat with the user B . A process simil at buddypress notifications event check if in the db is present a request for the user B.
If user B has a request then open the Avchat popup chat with autologin?
Are there alternatives ? or is it just my reasoning?