Dear sir,

I am facing issue in using the REST API provided by open meetings to enter a 
room.
Whenever I enter a room by hitting the below service:

                $.ajax({
                                                                method : "POST",
                                                                url : 
"http://localhost:5080/openmeetings/services/user/hash?sid=";
                                                                                
                + sid,
                                                                data : {
                                                                                
user : JSON.stringify({
                                                                                
                firstname : stuFirstName,
                                                                                
                lastname : stuLastName,
                                                                                
                externalId : 'uid',
                                                                                
                externalType : 'myCMS',
                                                                                
                login : stuLogin
                                                                                
}),
                                                                                
options : JSON.stringify({
                                                                                
                roomId : 2,
                                                                                
                moderator : moderator,
                                                                                
                showAudioVideoTest : true
                                                                                
})
                                                                },
                                                                dataType : 
"json",
                                                                error : 
function(jqXHR) {
                                                                                
console.log(jqXHR.responseText);
                                                                },

                                                                success : 
function(result) {
                                                                                
console.log("SID-"+sid);
                                                                                
console.log("result-"+result.serviceResult.message);
                                                                                
console.log("hash-"+result.serviceResult.message);

                                                                                
var url = "http:// localhost 
:5080/openmeetings/hash?secure=<http://172.29.37.247:5080/openmeetings/hash?secure=>"
                                                                                
                                + result.serviceResult.message + "&;language=1";
                                                                                
console.log(url);
                                                                                
window.location = url;
                                                                }
                                                });

Then regardless of the moderator value being set as true or false. The first 
person who enters the room is always the moderator even if the moderator key 
has a value for false.
Please explain the same as I want that the user should be moderator based on 
the moderator key value.
So that if the value is false then the user should behave as a normal user, as 
I want to achieve it in a tutor web conferencing system where the moderator 
would be the tutor and the other normal user would be the student.

Also could you please explain me the various type of users in open meetings 
i.e. ,
GroupAdmin
              , Room
              , Dashboard
              , Login
              , Soap
And how the user type is setted by hitting the above service and its series of 
services.

Regards,
Manpreet Bedi





________________________________

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any 
virus/trojan/worms/malicious code transmitted by this email. www.motherson.com

Reply via email to