You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by 读你 <10...@qq.com> on 2017/06/28 08:11:44 UTC
consulting :use URL to enter the room but didn't show the whole page
Hello,
use WebService.getRoomHash method get hash String, use URL(http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-fe2ae410aca1) enter room ,
but The page doesn't show.
but Official site description .
How to through the url into the specified meeting room?
Looking forward to your reply
With best wishes.
回复: consulting :use URL to enter the room but didn't show the whole page
Posted by 读你 <10...@qq.com>.
oh!
I am sorry !ok now!
Thank you very much!
(My English is not very good and for the first time to use Also please forgive me!)
------------------ 原始邮件 ------------------
发件人: "solomax666";<so...@gmail.com>;
发送时间: 2017年6月28日(星期三) 下午4:30
收件人: "Openmeetings user-list"<us...@openmeetings.apache.org>;
主题: Re: consulting :use URL to enter the room but didn't show the whole page
In your code:
RoomOptionsDTO options = new RoomOptionsDTO();
options.setRecordingId(16L);
options.setModerator(true);
In case you need room URL you have to write
RoomOptionsDTO options = new RoomOptionsDTO();
options.setRoomId(16L);
options.setModerator(true);
On Wed, Jun 28, 2017 at 3:27 PM, 读你 <10...@qq.com> wrote:
yes ,I am in accordance with the interface method of parameter passing
OrgApacheOpenmeetingsWebserviceUserWebService us =new OrgApacheOpenmeetingsWebserviceUserWebService();
List<UserDTO> userList;
try {
userList = us.getUserService().get(sid);
ExternalUserDTO user = new ExternalUserDTO();
user.setEmail(userList.get(0).getAddress().getEmail());
user.setFirstname(userList.get(0).getFirstname());
user.setLastname(userList.get(0).getLastname());
user.setLogin(userList.get(0).getLogin());
user.setExternalId(userList.get(0).getExternalId());
user.setExternalType(userList.get(0).getExternalType());
RoomOptionsDTO options = new RoomOptionsDTO();
options.setRecordingId(16L);
options.setModerator(true);
options.setShowAudioVideoTest(true);
ServiceResult result = us.getUserService().getRoomHash(sid, user, options);
System.out.println(result.getCode()+","+result.getMessage());
} catch (ServiceException_Exception e) {
e.printStackTrace();
}
------------------ 原始邮件 ------------------
发件人: "solomax666";<so...@gmail.com>;
发送时间: 2017年6月28日(星期三) 下午4:24
收件人: "Openmeetings user-list"<us...@openmeetings.apache.org>;
主题: Re: consulting :use URL to enter the room but didn't show the whole page
Seems to be bad call
UserWebService.getRoomHash(
@WebParam(name="sid") @QueryParam("sid") String sid
, @WebParam(name="user") @FormParam("user") ExternalUserDTO user
, @WebParam(name="options") @FormParam("options") RoomOptionsDTO options
)
so you have to pass "sid, ExternalUserDTO, RoomOptionsDTO"
On Wed, Jun 28, 2017 at 3:21 PM, 读你 <10...@qq.com> wrote:
The first step:UserWebService.login method get sid
The second step:UserWebService.getRoomHash(sid,1L)
------------------ 原始邮件 ------------------
发件人: "solomax666";<so...@gmail.com>;
发送时间: 2017年6月28日(星期三) 下午4:13
收件人: "Openmeetings user-list"<us...@openmeetings.apache.org>;
主题: Re: consulting :use URL to enter the room but didn't show the whole page
According to screenshot you have created recording hashWhat parameters have you used?
On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
Hello,
use WebService.getRoomHash method get hash String, use URL(http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-fe2ae410aca1) enter room ,
but The page doesn't show.
but Official site description .
How to through the url into the specified meeting room?
Looking forward to your reply
With best wishes.
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Re: consulting :use URL to enter the room but didn't show the whole page
Posted by Maxim Solodovnik <so...@gmail.com>.
In your code:
RoomOptionsDTO options = new RoomOptionsDTO();
options.setRecordingId(16L);
options.setModerator(true);
In case you need room URL you have to write
RoomOptionsDTO options = new RoomOptionsDTO();
options.*setRoomId(16L);*
options.setModerator(true);
On Wed, Jun 28, 2017 at 3:27 PM, 读你 <10...@qq.com> wrote:
>
> yes ,I am in accordance with the interface method of parameter passing
> OrgApacheOpenmeetingsWebserviceUserWebService us =new
> OrgApacheOpenmeetingsWebserviceUserWebService();
> List<UserDTO> userList;
> try {
> userList = us.getUserService().get(sid);
> ExternalUserDTO user = new ExternalUserDTO();
> user.setEmail(userList.get(0).getAddress().getEmail());
> user.setFirstname(userList.get(0).getFirstname());
> user.setLastname(userList.get(0).getLastname());
> user.setLogin(userList.get(0).getLogin());
> user.setExternalId(userList.get(0).getExternalId());
> user.setExternalType(userList.get(0).getExternalType());
> RoomOptionsDTO options = new RoomOptionsDTO();
> options.setRecordingId(16L);
> options.setModerator(true);
> options.setShowAudioVideoTest(true);
>
> ServiceResult result = us.getUserService().getRoomHash(sid, user,
> options);
> System.out.println(result.getCode()+","+result.getMessage());
> } catch (ServiceException_Exception e) {
> e.printStackTrace();
> }
>
> ------------------ 原始邮件 ------------------
> *发件人:* "solomax666";<so...@gmail.com>;
> *发送时间:* 2017年6月28日(星期三) 下午4:24
> *收件人:* "Openmeetings user-list"<us...@openmeetings.apache.org>;
> *主题:* Re: consulting :use URL to enter the room but didn't show the whole
> page
>
> Seems to be bad call
>
> UserWebService.getRoomHash(
> @WebParam(name="sid") @QueryParam("sid") String sid
> , @WebParam(name="user") @FormParam("user") ExternalUserDTO user
> , @WebParam(name="options") @FormParam("options") RoomOptionsDTO options
> )
>
> so you have to pass "sid, ExternalUserDTO, RoomOptionsDTO"
>
>
> On Wed, Jun 28, 2017 at 3:21 PM, 读你 <10...@qq.com> wrote:
>
>>
>> The first step:UserWebService.login method get sid
>> The second step:UserWebService.getRoomHash(sid,1L)
>>
>>
>> ------------------ 原始邮件 ------------------
>> *发件人:* "solomax666";<so...@gmail.com>;
>> *发送时间:* 2017年6月28日(星期三) 下午4:13
>> *收件人:* "Openmeetings user-list"<us...@openmeetings.apache.org>;
>> *主题:* Re: consulting :use URL to enter the room but didn't show the
>> whole page
>>
>> According to screenshot you have created recording hash
>> What parameters have you used?
>>
>> On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
>>
>>>
>>> Hello,
>>> use WebService.getRoomHash method get hash String, use URL(
>>> http://localhost:5080/openmeetings/hash?secure=4d398a70-
>>> d041-4f26-8fa1-fe2ae410aca1) enter room ,
>>> but The page doesn't show.
>>> but Official site description .
>>> How to through the url into the specified meeting room?
>>> Looking forward to your reply
>>> With best wishes.
>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
回复: consulting :use URL to enter the room but didn't show the whole page
Posted by 读你 <10...@qq.com>.
yes ,I am in accordance with the interface method of parameter passing
OrgApacheOpenmeetingsWebserviceUserWebService us =new OrgApacheOpenmeetingsWebserviceUserWebService();
List<UserDTO> userList;
try {
userList = us.getUserService().get(sid);
ExternalUserDTO user = new ExternalUserDTO();
user.setEmail(userList.get(0).getAddress().getEmail());
user.setFirstname(userList.get(0).getFirstname());
user.setLastname(userList.get(0).getLastname());
user.setLogin(userList.get(0).getLogin());
user.setExternalId(userList.get(0).getExternalId());
user.setExternalType(userList.get(0).getExternalType());
RoomOptionsDTO options = new RoomOptionsDTO();
options.setRecordingId(16L);
options.setModerator(true);
options.setShowAudioVideoTest(true);
ServiceResult result = us.getUserService().getRoomHash(sid, user, options);
System.out.println(result.getCode()+","+result.getMessage());
} catch (ServiceException_Exception e) {
e.printStackTrace();
}
------------------ 原始邮件 ------------------
发件人: "solomax666";<so...@gmail.com>;
发送时间: 2017年6月28日(星期三) 下午4:24
收件人: "Openmeetings user-list"<us...@openmeetings.apache.org>;
主题: Re: consulting :use URL to enter the room but didn't show the whole page
Seems to be bad call
UserWebService.getRoomHash(
@WebParam(name="sid") @QueryParam("sid") String sid
, @WebParam(name="user") @FormParam("user") ExternalUserDTO user
, @WebParam(name="options") @FormParam("options") RoomOptionsDTO options
)
so you have to pass "sid, ExternalUserDTO, RoomOptionsDTO"
On Wed, Jun 28, 2017 at 3:21 PM, 读你 <10...@qq.com> wrote:
The first step:UserWebService.login method get sid
The second step:UserWebService.getRoomHash(sid,1L)
------------------ 原始邮件 ------------------
发件人: "solomax666";<so...@gmail.com>;
发送时间: 2017年6月28日(星期三) 下午4:13
收件人: "Openmeetings user-list"<us...@openmeetings.apache.org>;
主题: Re: consulting :use URL to enter the room but didn't show the whole page
According to screenshot you have created recording hashWhat parameters have you used?
On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
Hello,
use WebService.getRoomHash method get hash String, use URL(http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-fe2ae410aca1) enter room ,
but The page doesn't show.
but Official site description .
How to through the url into the specified meeting room?
Looking forward to your reply
With best wishes.
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Re: consulting :use URL to enter the room but didn't show the whole page
Posted by Maxim Solodovnik <so...@gmail.com>.
Seems to be bad call
UserWebService.getRoomHash(
@WebParam(name="sid") @QueryParam("sid") String sid
, @WebParam(name="user") @FormParam("user") ExternalUserDTO user
, @WebParam(name="options") @FormParam("options") RoomOptionsDTO options
)
so you have to pass "sid, ExternalUserDTO, RoomOptionsDTO"
On Wed, Jun 28, 2017 at 3:21 PM, 读你 <10...@qq.com> wrote:
>
> The first step:UserWebService.login method get sid
> The second step:UserWebService.getRoomHash(sid,1L)
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "solomax666";<so...@gmail.com>;
> *发送时间:* 2017年6月28日(星期三) 下午4:13
> *收件人:* "Openmeetings user-list"<us...@openmeetings.apache.org>;
> *主题:* Re: consulting :use URL to enter the room but didn't show the whole
> page
>
> According to screenshot you have created recording hash
> What parameters have you used?
>
> On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
>
>>
>> Hello,
>> use WebService.getRoomHash method get hash String, use URL(
>> http://localhost:5080/openmeetings/hash?secure=4d398a70-
>> d041-4f26-8fa1-fe2ae410aca1) enter room ,
>> but The page doesn't show.
>> but Official site description .
>> How to through the url into the specified meeting room?
>> Looking forward to your reply
>> With best wishes.
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
回复: consulting :use URL to enter the room but didn't show the whole page
Posted by 读你 <10...@qq.com>.
The first step:UserWebService.login method get sid
The second step:UserWebService.getRoomHash(sid,1L)
------------------ 原始邮件 ------------------
发件人: "solomax666";<so...@gmail.com>;
发送时间: 2017年6月28日(星期三) 下午4:13
收件人: "Openmeetings user-list"<us...@openmeetings.apache.org>;
主题: Re: consulting :use URL to enter the room but didn't show the whole page
According to screenshot you have created recording hashWhat parameters have you used?
On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
Hello,
use WebService.getRoomHash method get hash String, use URL(http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-fe2ae410aca1) enter room ,
but The page doesn't show.
but Official site description .
How to through the url into the specified meeting room?
Looking forward to your reply
With best wishes.
--
WBR
Maxim aka solomax
Re: consulting :use URL to enter the room but didn't show the whole page
Posted by Maxim Solodovnik <so...@gmail.com>.
Yep, "user" and "option" in your example :)
both required
On Wed, Jun 28, 2017 at 3:21 PM, K, Amit (MIND) <Am...@mind-infotech.com>
wrote:
> Hi,
>
>
>
> I am entering in to room directly… The way I followed is:
>
>
>
> 1. This method is used to call my owened JS function:
>
>
>
> function directMod(){
>
> var attendeeLimit =20;
>
> var sid = login('manpreet','manpreet');
>
> var roomId = createRoom(sid, "Test Room", attendeeLimit);
>
> joinClass(sid, roomId, 'Tutor','Test', 'tutor', true);
>
> console.log("roomId = "+roomId);
>
> }
>
>
>
> 2. Below are the functions thoese called by above function:
>
>
>
> function login(adminLogin, adminPass) {
>
> var sid = "";
>
> $.ajax({
>
> method : "GET",
>
> url : "http://localhost:5080/
> openmeetings/services/user/login",
>
> data : {
>
> user : adminLogin,
>
> pass : adminPass
>
> },
>
> dataType : "json",
>
> async : false,
>
> error : function(jqXHR) {
>
> console.log(jqXHR.
> responseText);
>
> },
>
> success : function(result) {
>
> sid =
> result.serviceResult.message;
>
> console.log("sid -" +
> sid);
>
> }
>
> });
>
> return sid;
>
> }
>
>
>
> function createRoom(sid, roomName, totalParticipants) {
>
> var roomId = 0;
>
> $.ajax({
>
> method : "POST",
>
> url : "http://localhost:5080/
> openmeetings/services/room/?sid=" + sid,
>
> data : {
>
> room : JSON.stringify({
>
> name :
> roomName,
>
> type :
> 'conference',
>
> isPublic
> : true,
>
> moderated
> : true,
>
>
> allowRecording : true,
>
>
> allowUserQuestions: true,
>
>
> numberOfPartizipants : totalParticipants
>
> })
>
> },
>
> dataType : "json",
>
> async : false,
>
> error : function(jqXHR) {
>
> console.log(jqXHR.
> responseText);
>
> },
>
>
>
> success : function(result) {
>
> roomId = result.roomDTO.id
> ;
>
> console.log("roomId-" +
> roomId);
>
> }
>
> })
>
> return roomId;
>
> }
>
>
>
> function joinClass(sid, roomId, stuFirstName, stuLastName, stuLogin,
> moderator) {
>
> console.log(stuFirstName + ": " + moderator);
>
> $.ajax({
>
> method : "POST",
>
> url : "http://localhost:5080/
> openmeetings/services/user/hash?sid="
>
> + sid,
>
> data : {
>
> user : JSON.stringify({
>
> firstname
> : stuFirstName,
>
> lastname
> : stuLastName,
>
>
> externalId : stuLogin,
>
>
> externalType : stuLogin,
>
> login :
> stuLogin
>
> }),
>
> options : JSON.stringify({
>
> roomId :
> roomId,
>
> moderator
> : moderator,
>
>
> allowSameURLMultipleTimes: true,
>
>
> allowRecording:true,
>
>
> 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="
>
>
> + result.serviceResult.message +
> "&;language=1";
>
> console.log(url);
>
> window.location = url;
>
> }
>
> })
>
> }
>
>
>
> After that I get in to room success fully.
>
> Here I am creating room myself.. You may pass room id if you remember
> existing.
>
>
>
> Regards,
>
> Amit
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, June 28, 2017 1:43 PM
> *To:* Openmeetings user-list <us...@openmeetings.apache.org>
> *Subject:* Re: consulting :use URL to enter the room but didn't show the
> whole page
>
>
>
> According to screenshot you have created recording hash
>
> What parameters have you used?
>
>
>
> On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
>
>
>
> Hello,
>
> use WebService.getRoomHash method get hash String, use URL(
> http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-
> fe2ae410aca1) enter room ,
> but The page doesn't show.
>
> but Official site description .
>
> How to through the url into the specified meeting room?
>
> Looking forward to your reply
>
> With best wishes.
>
>
>
>
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
> ------------------------------
>
> 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
>
--
WBR
Maxim aka solomax
RE: consulting :use URL to enter the room but didn't show the whole page
Posted by "K, Amit (MIND)" <Am...@mind-infotech.com>.
Hi,
I am entering in to room directly… The way I followed is:
1. This method is used to call my owened JS function:
function directMod(){
var attendeeLimit =20;
var sid = login('manpreet','manpreet');
var roomId = createRoom(sid, "Test Room", attendeeLimit);
joinClass(sid, roomId, 'Tutor','Test', 'tutor', true);
console.log("roomId = "+roomId);
}
2. Below are the functions thoese called by above function:
function login(adminLogin, adminPass) {
var sid = "";
$.ajax({
method : "GET",
url : "http://localhost:5080/openmeetings/services/user/login",
data : {
user : adminLogin,
pass : adminPass
},
dataType : "json",
async : false,
error : function(jqXHR) {
console.log(jqXHR.responseText);
},
success : function(result) {
sid = result.serviceResult.message;
console.log("sid -" + sid);
}
});
return sid;
}
function createRoom(sid, roomName, totalParticipants) {
var roomId = 0;
$.ajax({
method : "POST",
url : "http://localhost:5080/openmeetings/services/room/?sid=" + sid,
data : {
room : JSON.stringify({
name : roomName,
type : 'conference',
isPublic : true,
moderated : true,
allowRecording : true,
allowUserQuestions: true,
numberOfPartizipants : totalParticipants
})
},
dataType : "json",
async : false,
error : function(jqXHR) {
console.log(jqXHR.responseText);
},
success : function(result) {
roomId = result.roomDTO.id;
console.log("roomId-" + roomId);
}
})
return roomId;
}
function joinClass(sid, roomId, stuFirstName, stuLastName, stuLogin, moderator) {
console.log(stuFirstName + ": " + moderator);
$.ajax({
method : "POST",
url : "http://localhost:5080/openmeetings/services/user/hash?sid="
+ sid,
data : {
user : JSON.stringify({
firstname : stuFirstName,
lastname : stuLastName,
externalId : stuLogin,
externalType : stuLogin,
login : stuLogin
}),
options : JSON.stringify({
roomId : roomId,
moderator : moderator,
allowSameURLMultipleTimes: true,
allowRecording:true,
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="
+ result.serviceResult.message + "&;language=1";
console.log(url);
window.location = url;
}
})
}
After that I get in to room success fully.
Here I am creating room myself.. You may pass room id if you remember existing.
Regards,
Amit
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, June 28, 2017 1:43 PM
To: Openmeetings user-list <us...@openmeetings.apache.org>
Subject: Re: consulting :use URL to enter the room but didn't show the whole page
According to screenshot you have created recording hash
What parameters have you used?
On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com>> wrote:
Hello,
use WebService.getRoomHash method get hash String, use URL(http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-fe2ae410aca1) enter room ,
but The page doesn't show.
but Official site description .
How to through the url into the specified meeting room?
Looking forward to your reply
With best wishes.
[cid:image001.jpg@01D2F015.AEF3FA10]
[cid:image002.jpg@01D2F015.AEF3FA10]
--
WBR
Maxim aka solomax
________________________________
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
Re: consulting :use URL to enter the room but didn't show the whole page
Posted by Maxim Solodovnik <so...@gmail.com>.
According to screenshot you have created recording hash
What parameters have you used?
On Wed, Jun 28, 2017 at 3:11 PM, 读你 <10...@qq.com> wrote:
>
> Hello,
> use WebService.getRoomHash method get hash String, use URL(
> http://localhost:5080/openmeetings/hash?secure=4d398a70-d041-4f26-8fa1-
> fe2ae410aca1) enter room ,
> but The page doesn't show.
> but Official site description .
> How to through the url into the specified meeting room?
> Looking forward to your reply
> With best wishes.
>
>
>
--
WBR
Maxim aka solomax