Re: Auto login: test loginUser()

2013-10-25 Thread Jacob C. Gaiski
The user requesting the secure hash must have admin permissions regardless of 
the user object attributed to the user.

Attributing an admin user to a user object will grant admin permissions, 
granting anonymous user attributes will grant anonymous action.

I'm fairly certain I'm correct. Please correct me if I'm wrong.

> On Oct 26, 2013, at 12:40 AM, 小野圭二  wrote:
> 
> I would like to confirm for auto login procedure. 
> 
> It seems like the username parameter of loginUser() must be a admin account.
> Dose it correct?
> If so, ordinary user (om_user.level_id=1) can not enter into any room by auto 
> login.
> The procedure is as following.
>   1.get session data by using getSession()
>   2.login to om by using loginUser() with the admin account
>   3.set user object by using setUserObjectAndGenerateRoomHash().
>   4.then redirect to om with the hash data that get by 3
> 
> If using ordinary account at 2, it get error code -26 that is mean "need 
> admin role".
> I expect loginUser() can handle a ordinary account. 
> Is this spec or bug?
> If it is bug, i try to fix it.
> 
> LFR 
> 
> -Ono
> 
> 
> 2013/10/26 小野圭二 
>> HI Maxim,
>> 
>> I have just tried one, and works fine.
>> Great.
>> Many thanks about your suggestion.
>> 
>> So, have this procedure been opened where else, that like a wiki and/or 
>> tutorial ? 
>> I could not find it.
>> If there is not yet, why not i write it on wiki ? 
>> 
>> -Ono
>> 
>> 
>> 2013/10/25 小野圭二 
>>> Thank you, Maxim.
>>> I will try it tomorrow. :)
>>> 
>>> 
>>> 2013/10/25 Maxim Solodovnik 
 Yes
 
 
> On Fri, Oct 25, 2013 at 7:37 PM, 小野圭二  wrote:
> >>you should use URL like this
> >>http://localhos:5080/openmeetings/?secureHash=&language=1
> to enter the room
> 
> 
> Is the ""  the value of "" ?
>
>  xmlns:ns="http://services.axis.openmeetings.apache.org";>a8e844da497727d8a0ec1db4447d9d60
> 
> -Ono
> 
> 
> 2013/10/25 Maxim Solodovnik 
>> you should use URL like this
>> http://localhos:5080/openmeetings/?secureHash=&language=1
>> to enter the room
>> 
>> 
>>> On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:
>>> I have made a external user by using addNewUserWithExternalType(). It 
>>> was fine.
>>> Then auto login, fuum not work on me. I checked it and got the return 
>>> as following. 
>>> 
>>> >> xmlns:ns="http://services.axis.openmeetings.apache.org";>a8e844da497727d8a0ec1db4447d9d60
>>> 
>>> It seems like containing a hash code. Should i use it to redirect 
>>> process? 
>>> Now i redirect to OM top simply without any query.
>>> 
>>> Thx a lot Maxim, very often.
>>> 
>>> -Ono
>>> 
>>> 
>>> 
>>> 2013/10/25 Maxim Solodovnik 
 The order should be:
 
 1) getSession
 2) loginUser
 3) setUserObject. NOTE externalUserId and externalUserType are 
 mandatory parameters
 
 by loginUser you authorizing your script
 by setUserObject... you are creating/editing "externaal" user and 
 creating hash for entering the room as this user
 
 
> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
> Thx Maxim,
> 
> I tried setUserObj...() , but the return was error code that mean 
> "Admin authorization required".
> 
>  xmlns:ns="http://services.axis.openmeetings.apache.org";>-26
> 
> This is the REST url that i called.
> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=o...@net8.co.jp&externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
> 
> *$sessionID was gotten by getSession()
> 
> 
> Something lack? :-<
> 
> 
> -Ono
> 
> 
> 2013/10/25 Maxim Solodovnik 
>> you need to call
>> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>> 
>> then redirect to
>> http://localhos:5080/openmeetings/?secureHash=&language=1
>> 
>> 
>>> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>>> Hi,
>>> 
>>> Let me know what should i do after loginUser() was success.
>>> 
>>> I am testing loginUser() for auto login from external site.
>>> At first, i got a session id by using getSession(), then called 
>>> loginUser() with setting the session id.
>>> So the return was as following.
>>> >> xmlns:ns="http://services.axis.openmeetings.apache.org";>1
>>> 
>>> In the element value was 1. I thought i got a success to auto  
>>> login as it was positive.
>>> Then i redirected to OpenMeetings, but the login combo appeared

Re: Auto login: test loginUser()

2013-10-25 Thread 小野圭二
I would like to confirm for auto login procedure.

It seems like the username parameter of loginUser() must be a admin account.
Dose it correct?
If so, ordinary user (om_user.level_id=1) can not enter into any room by
auto login.
The procedure is as following.
  1.get session data by using getSession()
  2.login to om by using loginUser() with the admin account
  3.set user object by using setUserObjectAndGenerateRoomHash().
  4.then redirect to om with the hash data that get by 3

If using ordinary account at 2, it get error code -26 that is mean "need
admin role".
I expect loginUser() can handle a ordinary account.
Is this spec or bug?
If it is bug, i try to fix it.

LFR

-Ono


2013/10/26 小野圭二 

> HI Maxim,
>
> I have just tried one, and works fine.
> Great.
> Many thanks about your suggestion.
>
> So, have this procedure been opened where else, that like a wiki and/or
> tutorial ?
> I could not find it.
> If there is not yet, why not i write it on wiki ?
>
> -Ono
>
>
> 2013/10/25 小野圭二 
>
>> Thank you, Maxim.
>> I will try it tomorrow. :)
>>
>>
>> 2013/10/25 Maxim Solodovnik 
>>
>>> Yes
>>>
>>>
>>> On Fri, Oct 25, 2013 at 7:37 PM, 小野圭二  wrote:
>>>
 >>you should use URL like this
 >>http://localhos:5080/openmeetings/?secureHash=<
 hash_created>&language=1
 to enter the room


 Is the ""  the value of "" ?

 http://services.axis.openmeetings.apache.org";>
 a8e844da497727d8a0ec1db4447d9d60>>> setUserObjectAndGenerateRoomHashResponse>

 -Ono


 2013/10/25 Maxim Solodovnik 

> you should use URL like this
> http://localhos:5080/openmeetings/?secureHash=<
> hash_created>&language=1
> to enter the room
>
>
> On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:
>
>> I have made a external user by using addNewUserWithExternalType(). It
>> was fine.
>> Then auto login, fuum not work on me. I checked it and got the return
>> as following.
>>
>> http://services.axis.openmeetings.apache.org
>> ">a8e844da497727d8a0ec1db4447d9d60
>>
>> It seems like containing a hash code. Should i use it to redirect
>> process?
>> Now i redirect to OM top simply without any query.
>>
>> Thx a lot Maxim, very often.
>>
>> -Ono
>>
>>
>>
>> 2013/10/25 Maxim Solodovnik 
>>
>>> The order should be:
>>>
>>> 1) getSession
>>> 2) loginUser
>>> 3) setUserObject. NOTE externalUserId and externalUserType are
>>> mandatory parameters
>>>
>>> by loginUser you authorizing your script
>>> by setUserObject... you are creating/editing "externaal" user and
>>> creating hash for entering the room as this user
>>>
>>>
>>> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
>>>
 Thx Maxim,

 I tried setUserObj...() , but the return was error code that mean
 "Admin authorization required".

 http://services.axis.openmeetings.apache.org
 ">-26

 This is the REST url that i called.

 http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
 ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
 o...@net8.co.jp
 &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0

 *$sessionID was gotten by getSession()


 Something lack? :-<


 -Ono


 2013/10/25 Maxim Solodovnik 

> you need to call
>
> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>
> then redirect to
> http://localhos:5080/openmeetings/?secureHash=
> &language=1
>
>
> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>
>> Hi,
>>
>> Let me know what should i do after loginUser() was success.
>>
>> I am testing loginUser() for auto login from external site.
>> At first, i got a session id by using getSession(), then called
>> loginUser() with setting the session id.
>> So the return was as following.
>> http://services.axis.openmeetings.apache.org
>> ">1
>>
>> In the element value was 1. I thought i got a success to auto
>>  login as it was positive.
>> Then i redirected to OpenMeetings, but the login combo appeared
>> on it.
>> Are there any wrong procedure on me?
>>
>> Thanks in advance.
>>
>> Ono
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>


>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>


>>>
>>>
>>> --
>>> WBR
>>>

Re: Auto login: test loginUser()

2013-10-25 Thread 小野圭二
HI Maxim,

I have just tried one, and works fine.
Great.
Many thanks about your suggestion.

So, have this procedure been opened where else, that like a wiki and/or
tutorial ?
I could not find it.
If there is not yet, why not i write it on wiki ?

-Ono


2013/10/25 小野圭二 

> Thank you, Maxim.
> I will try it tomorrow. :)
>
>
> 2013/10/25 Maxim Solodovnik 
>
>> Yes
>>
>>
>> On Fri, Oct 25, 2013 at 7:37 PM, 小野圭二  wrote:
>>
>>> >>you should use URL like this
>>> >>http://localhos:5080/openmeetings/?secureHash=<
>>> hash_created>&language=1
>>> to enter the room
>>>
>>>
>>> Is the ""  the value of "" ?
>>>
>>> http://services.axis.openmeetings.apache.org";>
>>> a8e844da497727d8a0ec1db4447d9d60>> setUserObjectAndGenerateRoomHashResponse>
>>>
>>> -Ono
>>>
>>>
>>> 2013/10/25 Maxim Solodovnik 
>>>
 you should use URL like this
 http://localhos:5080/openmeetings/?secureHash=&language=1
 to enter the room


 On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:

> I have made a external user by using addNewUserWithExternalType(). It
> was fine.
> Then auto login, fuum not work on me. I checked it and got the return
> as following.
>
> http://services.axis.openmeetings.apache.org
> ">a8e844da497727d8a0ec1db4447d9d60
>
> It seems like containing a hash code. Should i use it to redirect
> process?
> Now i redirect to OM top simply without any query.
>
> Thx a lot Maxim, very often.
>
> -Ono
>
>
>
> 2013/10/25 Maxim Solodovnik 
>
>> The order should be:
>>
>> 1) getSession
>> 2) loginUser
>> 3) setUserObject. NOTE externalUserId and externalUserType are
>> mandatory parameters
>>
>> by loginUser you authorizing your script
>> by setUserObject... you are creating/editing "externaal" user and
>> creating hash for entering the room as this user
>>
>>
>> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
>>
>>> Thx Maxim,
>>>
>>> I tried setUserObj...() , but the return was error code that mean
>>> "Admin authorization required".
>>>
>>> http://services.axis.openmeetings.apache.org
>>> ">-26
>>>
>>> This is the REST url that i called.
>>>
>>> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
>>> ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
>>> o...@net8.co.jp
>>> &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
>>>
>>> *$sessionID was gotten by getSession()
>>>
>>>
>>> Something lack? :-<
>>>
>>>
>>> -Ono
>>>
>>>
>>> 2013/10/25 Maxim Solodovnik 
>>>
 you need to call

 http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash

 then redirect to
 http://localhos:5080/openmeetings/?secureHash=
 &language=1


 On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:

> Hi,
>
> Let me know what should i do after loginUser() was success.
>
> I am testing loginUser() for auto login from external site.
> At first, i got a session id by using getSession(), then called
> loginUser() with setting the session id.
> So the return was as following.
> http://services.axis.openmeetings.apache.org
> ">1
>
> In the element value was 1. I thought i got a success to auto
>  login as it was positive.
> Then i redirected to OpenMeetings, but the login combo appeared on
> it.
> Are there any wrong procedure on me?
>
> Thanks in advance.
>
> Ono
>



 --
 WBR
 Maxim aka solomax

>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


 --
 WBR
 Maxim aka solomax

>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


Added fix to Room/Group SOAP functionality

2013-10-25 Thread Samuel Hagen

Hi there,

I took some time to add in the ability to match organizations with rooms
via SOAP.  Since I'm not a developer, I figured I'd send the changes to
the email list and see if they were of interest to anyone.  Edits are on
line 2517 of RoomWebService.java and on line 656 of
RoomWebServiceFacade.java as linked below respectively.

RoomWebService.java:
https://dl.dropboxusercontent.com/u/11993667/RoomWebService.java

RoomWebServiceFacade.java:
https://dl.dropboxusercontent.com/u/11993667/RoomWebServiceFacade.java

I tested it on my system and it's working fine.  The only thing is that
I didn't put anything in to check to make sure the line in
rooms_organisation didn't already exist, so they will end up doubling up
if you make the soap call multiple times.  For my purposes I figure I
can do it with PHP, since I'm hardly even a noob at java.

Anyway, take a look if you want.

-Sam



Re: change location of Chat windows

2013-10-25 Thread Alexander Brovman
I have already posted this on the  appropriate mailing lists, quite frankly
i am too tired and enraged form dealing and fixing/customizing the majority
of my plattform today. I have already configured everything that i needed
to with the help of the devs (Maxim especially) and i have been looking to
find a solution to this for the better half of the day today... Any
references on how to implement this are either non existant or within the
old googlegroups where the lack of clear instructions and lack of
helpfulness simply infuriated me, which is perhaps why i lashed out.. i
agree that this is perhaps a tad bit insensible on my part but angry people
do stupid things, lost my calm.




On Sat, Oct 26, 2013 at 12:42 AM, Jeff Clay <
jeff.c...@infotech-enterprises.com> wrote:

>  I’m going to say that you can’t read too well because you’re not even
> sending this to the updated user group. That gives a little insight on your
> reading.
>
>
>
>
>
>
>
> *From:* Alexander Brovman [mailto:alexander.brov...@gmail.com]
> *Sent:* Friday, October 25, 2013 5:14 PM
> *To:* openmeetings-u...@googlegroups.com
> *Subject:* Re: change location of Chat windows
>
>
>
> Let me be honest Brajesh,
>
> I have been searching online for the past 6 hours on how to
> modify/manipulate the Chatwindow in a public conference room and changing
> the baseconferenceroom.lzx file breaks flash, your incredibly vague and
> indescriptive answer of changing the lzx files is neither helpful nor
> useful. OpenLaszlo is a fucking mess, nobody uses it for anything relevant
> really and dealing with it in openmeetings is a fucking disaster.
>
> So the next time you try to answer someones question, either do it
> properly or dont do it at all.
>
> On Friday, June 10, 2011 9:25:54 AM UTC+2, brajesh kumar wrote:
>
> Yes, Its possible.
>
> You need to make changes in the lzx files for that chat window and
> compile the client.
>
> Thanks
> Brajesh
>
> On Jun 10, 10:13 am, "nages...@cisinlabs.com" 
> wrote:
> > Hello all
> >
> > i am using openmeetings SOAP API with asp.net 3.5 framework , i need
> > to change position of chat windows, is it possible? pls help me out.
> >
> > Thanks in advance,
> >
> > nagesh nalge
>
> --
>
> DISCLAIMER:
>
> This email may contain confidential information and is intended only for
> the use of the specific individual(s) to which it is addressed. If you are
> not the intended recipient of this email, you are hereby notified that any
> unauthorized use, dissemination or copying of this email or the information
> contained in it or attached to it is strictly prohibited. If you received
> this message in error, please immediately notify the sender at Infotech and
> delete the original message.
>


RE: change location of Chat windows

2013-10-25 Thread Jeff Clay
I’m going to say that you can’t read too well because you’re not even sending 
this to the updated user group. That gives a little insight on your reading.



From: Alexander Brovman [mailto:alexander.brov...@gmail.com]
Sent: Friday, October 25, 2013 5:14 PM
To: openmeetings-u...@googlegroups.com
Subject: Re: change location of Chat windows

Let me be honest Brajesh,

I have been searching online for the past 6 hours on how to modify/manipulate 
the Chatwindow in a public conference room and changing the 
baseconferenceroom.lzx file breaks flash, your incredibly vague and 
indescriptive answer of changing the lzx files is neither helpful nor useful. 
OpenLaszlo is a fucking mess, nobody uses it for anything relevant really and 
dealing with it in openmeetings is a fucking disaster.

So the next time you try to answer someones question, either do it properly or 
dont do it at all.

On Friday, June 10, 2011 9:25:54 AM UTC+2, brajesh kumar wrote:
Yes, Its possible.

You need to make changes in the lzx files for that chat window and
compile the client.

Thanks
Brajesh

On Jun 10, 10:13 am, "nages...@cisinlabs.com" 
mailto:nages...@cisinlabs.com>>
wrote:
> Hello all
>
> i am using openmeetings SOAP API with asp.net 3.5 framework , 
> i need
> to change position of chat windows, is it possible? pls help me out.
>
> Thanks in advance,
>
> nagesh nalge



DISCLAIMER:

This email may contain confidential information and is intended only for the 
use of the specific individual(s) to which it is addressed. If you are not the 
intended recipient of this email, you are hereby notified that any unauthorized 
use, dissemination or copying of this email or the information contained in it 
or attached to it is strictly prohibited. If you received this message in 
error, please immediately notify the sender at Infotech and delete the original 
message.


Re: change location of Chat windows

2013-10-25 Thread Alexander Brovman
Let me be honest Brajesh,

I have been searching online for the past 6 hours on how to 
modify/manipulate the Chatwindow in a public conference room and changing 
the baseconferenceroom.lzx file breaks flash, your incredibly vague and 
indescriptive answer of changing the lzx files is neither helpful nor 
useful. OpenLaszlo is a fucking mess, nobody uses it for anything relevant 
really and dealing with it in openmeetings is a fucking disaster.

So the next time you try to answer someones question, either do it properly 
or dont do it at all.

On Friday, June 10, 2011 9:25:54 AM UTC+2, brajesh kumar wrote:
>
> Yes, Its possible. 
>
> You need to make changes in the lzx files for that chat window and 
> compile the client. 
>
> Thanks 
> Brajesh 
>
> On Jun 10, 10:13 am, "nages...@cisinlabs.com"  
> wrote: 
> > Hello all 
> > 
> > i am using openmeetings SOAP API with asp.net 3.5 framework , i need 
> > to change position of chat windows, is it possible? pls help me out. 
> > 
> > Thanks in advance, 
> > 
> > nagesh nalge



Re: Moving ChatTab in Conference room to the right?

2013-10-25 Thread Alexander Brovman
I have Tested this now... It will Place the Chatbar at the bottom right Below 
the properties bar. Also if you try to open it flash will crash...

I'm open for suggestions. 

Sent from my iPhone

On 25.10.2013, at 19:42, Alexander Brovman  wrote:

> So I hope my understanding here is correct:
> 
> If i want to edit the location of the ChatTab to the righthand side of the 
> window instead of the bottom of the window for a public conference room.. i 
> would need to:
> 
> open this source file: baseConferenceRoom.LZX and modify the:
> 
> height="200" 
>x="${ parent._sidePanel.width }"  
>y="${ canvas.height - (this.height) - 
> ((canvas.currentRoomObj.hideTopBar) ? 0 : 28) }" 
>width="${ canvas.width - parent._sidePanel.width }" 
>isopen="${ !canvas.currentRoomObj.chatOpened }" />
>
> 
> If i want it on the right hand side i assume it needs to be changed to 
> something like:
> 
>   height="${canvas.height-28}" 
>   x="${canvas.width-250}"
>   y="${canvas.height-28}"
>   width="250"
>   isopen="${ !canvas.currentRoomObj.chatOpened }" />
> 
> Would this work or would i have to implement some other changes aswell in 
> order to ensure there is no interference with the screen sharing or the 
> whiteboard?
> 
> 


Moving ChatTab in Conference room to the right?

2013-10-25 Thread Alexander Brovman
So I hope my understanding here is correct:

If i want to edit the location of the ChatTab to the righthand side of the
window instead of the bottom of the window for a public conference room.. i
would need to:

open this source file: baseConferenceRoom.LZX and modify the:


   

If i want it on the right hand side i assume it needs to be changed to
something like:

   

Would this work or would i have to implement some other changes aswell in
order to ensure there is no interference with the screen sharing or the
whiteboard?


Re: Problems with Openmeetins & RTMPS

2013-10-25 Thread ict . projects

OK, Thank you very much!
Its getting late here. I will be in the office on Monday again from  
8:00 UTC+5:45 (Nepal)
And I'm very happy to help investigate that problem because if I get  
that working beginning next week I will have one big problem solved  
and my bosses will be very happy.


Artur

Quoting Maxim Solodovnik :


Seems like I was able to reproduce the issue
Will try to investigate/fix


On Fri, Oct 25, 2013 at 9:00 PM,  wrote:


I would be very keen on a test.
parallel skyping might help.
When do you like to test?


Quoting Maxim Solodovnik :

 I was able to set up

2.2.0-SNAPSHOT 1534608 22-October-2013

on  
https://demo.dataved.ru:5443/**openmeetings/

It seems to work as expected (maybe because I'm the only person in the
room)

Can send invitation link to people willing to test


On Fri, Oct 25, 2013 at 7:31 PM, Maxim Solodovnik wrote:

 I'm currently trying to double check this

Will write back to all threads


On Fri, Oct 25, 2013 at 5:07 PM,  wrote:

 Hi,

we are trying to use Openmeetings in our organisation for conferences.
It works very nice on the unencrypted protocols HTTP/RTMP but when I
switch it over to HTTPS and RTMPS I get the same problems that are
mentioned here:
http://markmail.org/thread/35cbwifpeme2loee

>
and here:  
http://markmail.org/message/cjlf2nwwpiwawg2o


>


The problem occurs different but both on 2.1.1 and 2.2.0

2.1.1
runs first fine but after a random time client and server freezes. EXIT
button does not work. Have to restart the server to log in again.

2.2.0 r1535431-24-10-2013_1638
video and voice freezes after some seconds. Chat still works! The Server
still runs and I can click the EXIT button and come into the room again
to
have some more seconds of video/voice

For both cases there are no error messages I can see when I run the
server with ./red5-debug.sh

I've build 2.1.1 myself according to this instructions:
https://cwiki.apache.org/confluence/download/
attachments/27838216/**
Installing+OM2.1.1+on+Debian64+Wheezy.pdf?version=1&
modificationDate=**1380291632000
**>


But for 2.2.0 I've used the build from jenkins.

Both versions are running on Debian Weezy on Amazon EC2. The SSL
certificate is an official certificate from http://www.cheapssls.com/
No other applications are running on the server, its dedicated for
OpenMeetings.

Does anybody got to the bottom of that? Or does somebody had more luck
with RTMPS? Can I do something more to debug that?

Greetings from Nepal
Artur Neumann
INF (www.inf.org)






--
WBR
Maxim aka solomax





--
WBR
Maxim aka solomax









--
WBR
Maxim aka solomax







Re: Problems with Openmeetins & RTMPS

2013-10-25 Thread Maxim Solodovnik
Seems like I was able to reproduce the issue
Will try to investigate/fix


On Fri, Oct 25, 2013 at 9:00 PM,  wrote:

> I would be very keen on a test.
> parallel skyping might help.
> When do you like to test?
>
>
> Quoting Maxim Solodovnik :
>
>  I was able to set up
>> 2.2.0-SNAPSHOT 1534608 22-October-2013
>>
>> on 
>> https://demo.dataved.ru:5443/**openmeetings/
>> It seems to work as expected (maybe because I'm the only person in the
>> room)
>>
>> Can send invitation link to people willing to test
>>
>>
>> On Fri, Oct 25, 2013 at 7:31 PM, Maxim Solodovnik > >wrote:
>>
>>  I'm currently trying to double check this
>>> Will write back to all threads
>>>
>>>
>>> On Fri, Oct 25, 2013 at 5:07 PM,  wrote:
>>>
>>>  Hi,
 we are trying to use Openmeetings in our organisation for conferences.
 It works very nice on the unencrypted protocols HTTP/RTMP but when I
 switch it over to HTTPS and RTMPS I get the same problems that are
 mentioned here:
 http://markmail.org/thread/35cbwifpeme2loee
 
 >
 and here: 
 http://markmail.org/message/cjlf2nwwpiwawg2o
 
 >


 The problem occurs different but both on 2.1.1 and 2.2.0

 2.1.1
 runs first fine but after a random time client and server freezes. EXIT
 button does not work. Have to restart the server to log in again.

 2.2.0 r1535431-24-10-2013_1638
 video and voice freezes after some seconds. Chat still works! The Server
 still runs and I can click the EXIT button and come into the room again
 to
 have some more seconds of video/voice

 For both cases there are no error messages I can see when I run the
 server with ./red5-debug.sh

 I've build 2.1.1 myself according to this instructions:
 https://cwiki.apache.org/confluence/download/
 attachments/27838216/**
 Installing+OM2.1.1+on+Debian64+Wheezy.pdf?version=1&
 modificationDate=**1380291632000
 **>


 But for 2.2.0 I've used the build from jenkins.

 Both versions are running on Debian Weezy on Amazon EC2. The SSL
 certificate is an official certificate from http://www.cheapssls.com/
 No other applications are running on the server, its dedicated for
 OpenMeetings.

 Does anybody got to the bottom of that? Or does somebody had more luck
 with RTMPS? Can I do something more to debug that?

 Greetings from Nepal
 Artur Neumann
 INF (www.inf.org)




>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>
>
>


-- 
WBR
Maxim aka solomax


Top Bar .lzx name/location?

2013-10-25 Thread Alexander Brovman
I was wondering where the .lzx file is or what the name of the .lzx file is
that controls that "top" bar where i have written the "Where?" in a blue
text.

http://i.imgur.com/2nuO6cF.png


Re: Video Frozen - OpenMeetings/Red5 stuck

2013-10-25 Thread ict . projects

Where to get 2.1? I would like to test it.

What ports are you using?


Quoting Jaime Balbino :

I have this frozen video in version 2.1.1. I downgrade for 2.1 and  
OM run fine.

I think this is port configuration. I suggest default ports for test.

I will test 2.2 shortly.

2013/9/6 Daniela Kirsch :

Thanks John, I did see that email but as you now know we don't have a
solution. I'm hoping someone can help us.

Daniela Kirsch
Web Developer

ExcelSystems Software Development Inc.
101 - 9274 4th St.
Sidney, BC  V8L 2Y7
Phone: (250) 655 1882 ext: 209
Email: dkir...@excelsystems.com


On Fri, Sep 6, 2013 at 4:27 PM, John Tran  wrote:


I experienced the same issue.  It seem like the issue occurs when it's in
SSL configuration.  If you notice, it looked like Danella configuration in
SSL mode.  I post the same issue back on August 27th "More  
Disconnect on ssl
connection than non ssl connection" hoping someone like yourself  
or Maxim to

respond but no luck.




On Fri, Sep 6, 2013 at 4:18 PM, George Kirkham 
wrote:


Daniela,



Sorry I cannot help you with this problem as we have never experienced
it, however others may be able to give you some assistance.



To help other assist you, can you give us more detail, please.



What version of OpenMeetings are you using (2.0, 2.1, 2.1.1, 3.0 etc)?



On what OS are you running OpenMeetings. E.g. Windows 7, Windows Server
2008, Ubuntu server 12, Debian (5/6/7), Centos, etc?



How did you get OpenMeetings, from what repository?



Did you download the compiled version or did you down load the source and
compile it locally on the server?



What installation instructions did you follow to build the environment in
which you are running OpenMeetings?  Are all the prerequisite packages
installed?



What ports are you using for OpenMeetings (e.g. netstat -anp | grep
java), and I guess all firewall ports are open otherwise people would have
been able to start the meeting.



Is the server a dedicated server for OpenMeetings or are other red5
applications also running on the server?



Thanks,



George Kirkham





From: Daniela Kirsch [mailto:dkir...@excelsystems.com]
Sent: Saturday, 7 September 2013 1:18 AM
To: user@openmeetings.apache.org
Subject: Video Frozen - OpenMeetings/Red5 stuck



Hi,



we are running into a serious issue. While being in a room with video and
audio (2 people in a normal moderated conference room) it happens that the
video of the other person freezes (audio is gone as well).

Once the video is frozen, the entire application is unusable. Meaning, if
I open a browser and go to the site all I get is a blank page. There's
nothing, not even a "Loading..." displayed. This is for everyone who's
trying to use it, not just the person who had the frozen video.



In the red5.log we have this:

2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
o.red5.server.net.rtmp.RTMPHandler - Invoke: Invoke: Service: null Method:
connect Num Params: 1 0: false

2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
o.red5.server.net.rtmp.RTMPHandler - call: Service: null Method:  
connect Num

Params: 1 0: false

2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
o.red5.server.net.rtmp.RTMPHandler - connect

2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
o.r.server.net.rtmp.BaseRTMPHandler - url:
rtmps://my.domain.com:8443/openmeetings/hibernate

2013-09-05 14:39:17,818 [Red5_Scheduler_Worker-3] WARN
o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection  
from 1.1.1.1

: 39724 to my.domain.com:8443 (in: 3729 out 4878 ), with id 16 due to long
handshake

2013-09-05 14:39:17,819 [Red5_Scheduler_Worker-3] DEBUG
o.r.s.net.rtmp.RTMPMinaConnection - RTMP state: RTMP [state=connected,
debug=false, encrypted=false, lastReadChannel=3, lastWriteChannel=0,
readHeaders={3=Header [channelId=3, dataType=20, timerBase=0,  
timerDelta=0,

size=407, streamId=0, extendedTimestamp=0, isGarbage=false]},
writeHeaders={}, readPacketHeaders={3=Header [channelId=3, dataType=20,
timerBase=0, timerDelta=0, size=407, streamId=0, extendedTimestamp=0,
isGarbage=false]}, readPackets={3=null}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0]





The only way to get it all going is by restarting Open Meetings. However
we were hoping there's a way around that, something that would  
free whatever

is stuck there.



What can we do?



Thanks,

Daniela





--
jt

John Tran
Northern California, CA
findingj...@gmail.com
 ICQ IM: 27741710
AOL IM: find1ngj0hn
Yahoo! IM: findingj0hn
   MSN IM: findingj...@hotmail.com











Re: Problems with Openmeetins & RTMPS

2013-10-25 Thread ict . projects

I would be very keen on a test.
parallel skyping might help.
When do you like to test?


Quoting Maxim Solodovnik :


I was able to set up
2.2.0-SNAPSHOT 1534608 22-October-2013

on https://demo.dataved.ru:5443/openmeetings/
It seems to work as expected (maybe because I'm the only person in the room)

Can send invitation link to people willing to test


On Fri, Oct 25, 2013 at 7:31 PM, Maxim Solodovnik  
wrote:



I'm currently trying to double check this
Will write back to all threads


On Fri, Oct 25, 2013 at 5:07 PM,  wrote:


Hi,
we are trying to use Openmeetings in our organisation for conferences.
It works very nice on the unencrypted protocols HTTP/RTMP but when I
switch it over to HTTPS and RTMPS I get the same problems that are
mentioned here:
http://markmail.org/thread/**35cbwifpeme2loee
and here:  
http://markmail.org/message/**cjlf2nwwpiwawg2o


The problem occurs different but both on 2.1.1 and 2.2.0

2.1.1
runs first fine but after a random time client and server freezes. EXIT
button does not work. Have to restart the server to log in again.

2.2.0 r1535431-24-10-2013_1638
video and voice freezes after some seconds. Chat still works! The Server
still runs and I can click the EXIT button and come into the room again to
have some more seconds of video/voice

For both cases there are no error messages I can see when I run the
server with ./red5-debug.sh

I've build 2.1.1 myself according to this instructions:
https://cwiki.apache.org/**confluence/download/**attachments/27838216/**
Installing+OM2.1.1+on+**Debian64+Wheezy.pdf?version=1&**
modificationDate=1380291632000

But for 2.2.0 I've used the build from jenkins.

Both versions are running on Debian Weezy on Amazon EC2. The SSL
certificate is an official certificate from http://www.cheapssls.com/
No other applications are running on the server, its dedicated for
OpenMeetings.

Does anybody got to the bottom of that? Or does somebody had more luck
with RTMPS? Can I do something more to debug that?

Greetings from Nepal
Artur Neumann
INF (www.inf.org)






--
WBR
Maxim aka solomax





--
WBR
Maxim aka solomax







Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-25 Thread Alexander Brovman
Maxim thanks for the code, its interessting that the screenshot capture
takes so long.. its surprising that the encode is faster than the actual
capture, i am still researching methods on how to improve this, will share
my findings with you.


On Fri, Oct 25, 2013 at 9:57 AM, Maxim Solodovnik wrote:

> The method should be changed as follows:
>
> private static final Logger log =
> LoggerFactory.getLogger(CaptureScreen.class);
>  public void run() {
> try {
> while (active && !core.isReadyToRecord()) {
>  Thread.sleep(60);
> }
> Robot robot = new Robot();
>  BufferedImage image = null;
> while (active) {
> final long ctime = System.currentTimeMillis();
>  Rectangle screen = new Rectangle(spinnerX, spinnerY, spinnerWidth,
> spinnerHeight);
>
> long start = System.currentTimeMillis();
>  image = robot.createScreenCapture(screen);
> log.debug(String.format("Image was captured in %s ms",
> System.currentTimeMillis() - start));
>  try {
> timestamp += timeBetweenFrames;
> start = System.currentTimeMillis();
>  byte[] data = se.encode(screen, image, new Rectangle(resizeX, resizeY));
> log.debug(String.format("Image was encoded in %s ms",
> System.currentTimeMillis() - start));
>
> pushVideo(data, timestamp);
> } catch (Exception e) {
> log.error("Error while encoding: ", e);
>  }
> final int spent = (int) (System.currentTimeMillis() - ctime);
>
> log.debug(String.format("Time spent %s ms; diff: %s ms", spent,
> timeBetweenFrames - spent));
>  if (sendCursor) {
> core.sendCursorStatus();
> }
>  Thread.sleep(Math.max(0, timeBetweenFrames - spent));
> }
> } catch (Exception e) {
>  log.error("Error while running: ", e);
> }
> }
>
> 1280x1024 are captured encoded for too long
> Will now try to speed up encoding.
>
>
> On Thu, Oct 24, 2013 at 8:35 PM, Alexander Brovman <
> alexander.brov...@gmail.com> wrote:
>
>> Maxim,
>>
>> A) Interessting to say the very least, how did you manage to measure the
>> encode and the screencapture? or what tools did you use in order to measure
>> those, might come in handy for me when measuring performance.
>>
>> Right now i changed the sourcecode in the following way:
>> 1) " timeBetweenFrames = (ScreenDimensions.quality ==
>> ScreenQuality.VeryHigh) ? 30 : 100;"
>>
>>
>>  2)public void run() {
>> try {
>> Robot robot = new Robot();
>> BufferedImage image = null;
>> while (active) {
>> final long ctime =
>> System.currentTimeMillis();
>> Rectangle screen = new
>> Rectangle(ScreenDimensions.spinnerX,
>> ScreenDimensions.spinnerY,
>>
>> ScreenDimensions.spinnerWidth,
>>
>> ScreenDimensions.spinnerHeight);
>>
>> image = robot.createScreenCapture(screen);
>>
>> try {
>> timestamp += timeBetweenFrames;
>>   byte[] data = se.encode(screen, image, new
>> Rectangle(ScreenDimensions.resizeX,
>>
>> ScreenDimensions.resizeY));
>>
>> pushVideo(data, timestamp);
>> } catch (Exception e) {
>> e.printStackTrace();
>> }
>> final int spent = (int)
>> (System.currentTimeMillis() - ctime);
>>
>> if (sendCursor) {
>> core.sendCursorStatus();
>> }
>> Thread.sleep(Math.max(0,
>> timeBetweenFrames - spent));
>> }
>> } catch (Exception e) {
>>  e.printStackTrace();
>> }
>> }
>>
>> I am definitely noticing a very strong improvement in terms of less video
>> delay.
>> using jnettop i can see that at a screen resolution of 1650x1080 it is
>> approximately using between 4-8mbit for 1 user.
>> So i guess the biggest issue here is the encoder, the encoder is
>> definitely not efficient, i have been looking at solutions of other people
>> on stackexchange in terms of algorithms.
>>
>> B) I have a question regarding the process, so if the screencapture takes
>> place and is sent using the RTMP method/protocol to the server. Does the
>> sever additionally encode the file again before sending it to the enduser?
>> If so which javafiles contain those settings, because i would like to test
>> if i can tweak them to reduce the delay even more by disabling the encode
>> of the images/stream on the serverside and just send the files "as is".
>> Although once again i fear the algo is the issue.
>>
>> Kind regards,
>> Alexander
>>
>>
>> On Thu, Oct 24, 2013 at 3:06 PM, Maxim Solodovnik 
>> wrote:
>>
>>> Here are my measurements:
>>> Screen is captured in ~ 160-170ms
>>> Encoded in ~120-200ms
>>> Will try to speed up this somehow
>>>
>>>
>>> On Th

Re: Video Frozen - OpenMeetings/Red5 stuck

2013-10-25 Thread Jaime Balbino
I have this frozen video in version 2.1.1. I downgrade for 2.1 and OM run fine.
I think this is port configuration. I suggest default ports for test.

I will test 2.2 shortly.

2013/9/6 Daniela Kirsch :
> Thanks John, I did see that email but as you now know we don't have a
> solution. I'm hoping someone can help us.
>
> Daniela Kirsch
> Web Developer
>
> ExcelSystems Software Development Inc.
> 101 - 9274 4th St.
> Sidney, BC  V8L 2Y7
> Phone: (250) 655 1882 ext: 209
> Email: dkir...@excelsystems.com
>
>
> On Fri, Sep 6, 2013 at 4:27 PM, John Tran  wrote:
>>
>> I experienced the same issue.  It seem like the issue occurs when it's in
>> SSL configuration.  If you notice, it looked like Danella configuration in
>> SSL mode.  I post the same issue back on August 27th "More Disconnect on ssl
>> connection than non ssl connection" hoping someone like yourself or Maxim to
>> respond but no luck.
>>
>>
>>
>>
>> On Fri, Sep 6, 2013 at 4:18 PM, George Kirkham 
>> wrote:
>>>
>>> Daniela,
>>>
>>>
>>>
>>> Sorry I cannot help you with this problem as we have never experienced
>>> it, however others may be able to give you some assistance.
>>>
>>>
>>>
>>> To help other assist you, can you give us more detail, please.
>>>
>>>
>>>
>>> What version of OpenMeetings are you using (2.0, 2.1, 2.1.1, 3.0 etc)?
>>>
>>>
>>>
>>> On what OS are you running OpenMeetings. E.g. Windows 7, Windows Server
>>> 2008, Ubuntu server 12, Debian (5/6/7), Centos, etc?
>>>
>>>
>>>
>>> How did you get OpenMeetings, from what repository?
>>>
>>>
>>>
>>> Did you download the compiled version or did you down load the source and
>>> compile it locally on the server?
>>>
>>>
>>>
>>> What installation instructions did you follow to build the environment in
>>> which you are running OpenMeetings?  Are all the prerequisite packages
>>> installed?
>>>
>>>
>>>
>>> What ports are you using for OpenMeetings (e.g. netstat -anp | grep
>>> java), and I guess all firewall ports are open otherwise people would have
>>> been able to start the meeting.
>>>
>>>
>>>
>>> Is the server a dedicated server for OpenMeetings or are other red5
>>> applications also running on the server?
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> George Kirkham
>>>
>>>
>>>
>>>
>>>
>>> From: Daniela Kirsch [mailto:dkir...@excelsystems.com]
>>> Sent: Saturday, 7 September 2013 1:18 AM
>>> To: user@openmeetings.apache.org
>>> Subject: Video Frozen - OpenMeetings/Red5 stuck
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>>
>>> we are running into a serious issue. While being in a room with video and
>>> audio (2 people in a normal moderated conference room) it happens that the
>>> video of the other person freezes (audio is gone as well).
>>>
>>> Once the video is frozen, the entire application is unusable. Meaning, if
>>> I open a browser and go to the site all I get is a blank page. There's
>>> nothing, not even a "Loading..." displayed. This is for everyone who's
>>> trying to use it, not just the person who had the frozen video.
>>>
>>>
>>>
>>> In the red5.log we have this:
>>>
>>> 2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
>>> o.red5.server.net.rtmp.RTMPHandler - Invoke: Invoke: Service: null Method:
>>> connect Num Params: 1 0: false
>>>
>>> 2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
>>> o.red5.server.net.rtmp.RTMPHandler - call: Service: null Method: connect Num
>>> Params: 1 0: false
>>>
>>> 2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
>>> o.red5.server.net.rtmp.RTMPHandler - connect
>>>
>>> 2013-09-05 14:39:13,289 [NioProcessor-33] DEBUG
>>> o.r.server.net.rtmp.BaseRTMPHandler - url:
>>> rtmps://my.domain.com:8443/openmeetings/hibernate
>>>
>>> 2013-09-05 14:39:17,818 [Red5_Scheduler_Worker-3] WARN
>>> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 1.1.1.1
>>> : 39724 to my.domain.com:8443 (in: 3729 out 4878 ), with id 16 due to long
>>> handshake
>>>
>>> 2013-09-05 14:39:17,819 [Red5_Scheduler_Worker-3] DEBUG
>>> o.r.s.net.rtmp.RTMPMinaConnection - RTMP state: RTMP [state=connected,
>>> debug=false, encrypted=false, lastReadChannel=3, lastWriteChannel=0,
>>> readHeaders={3=Header [channelId=3, dataType=20, timerBase=0, timerDelta=0,
>>> size=407, streamId=0, extendedTimestamp=0, isGarbage=false]},
>>> writeHeaders={}, readPacketHeaders={3=Header [channelId=3, dataType=20,
>>> timerBase=0, timerDelta=0, size=407, streamId=0, extendedTimestamp=0,
>>> isGarbage=false]}, readPackets={3=null}, writePackets={},
>>> writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
>>> writeChunkSize=128, encoding=AMF0]
>>>
>>>
>>>
>>>
>>>
>>> The only way to get it all going is by restarting Open Meetings. However
>>> we were hoping there's a way around that, something that would free whatever
>>> is stuck there.
>>>
>>>
>>>
>>> What can we do?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Daniela
>>
>>
>>
>>
>> --
>> jt
>> 
>> John Tran
>> Northern California, CA
>> findingj...@gmail.com
>>  ICQ IM: 27741710
>> AOL IM: find1ngj0hn
>> Yahoo! IM: findingj0hn

Re: Video Frozen - OpenMeetings/Red5 stuck

2013-10-25 Thread Maxim Solodovnik
I was able to set up
2.2.0-SNAPSHOT 1534608 22-October-2013

on https://demo.dataved.ru:5443/openmeetings/
It seems to work as expected (maybe because I'm the only person in the room)

Can send invitation link to people willing to test


On Fri, Oct 25, 2013 at 7:58 PM, Maxim Solodovnik wrote:

> I was able to set up
> 2.2.0-SNAPSHOT 1534608 22-October-2013
>
> on https://demo.dataved.ru:5443/openmeetings/
> It seems to work as expected (maybe because I'm the only person in the
> room)
>
> Can send invitation link to people willing to test
>
>
> On Mon, Sep 23, 2013 at 1:19 PM, John Tran wrote:
>
>> Nice.  Thank you Maxim for the update.
>>
>> -John-
>> __
>> Message sent via iPhone .
>> Syntax errors are expected.
>>
>> On Sep 22, 2013, at 11:16 PM, "Maxim Solodovnik" 
>> wrote:
>>
>> We are currently working on set up 2.2 with RTMPS/SSL on demo.dataved.ruand 
>> test it.
>> Hopefully we will be able to test it until the end of the week
>> Will let you know the results
>>
>>
>> On Sat, Sep 21, 2013 at 8:33 AM, John Tran  wrote:
>>
>>> Sorry Maxim to get back to you so late.  I was tied up at work and
>>> traveling this week.   Let me know when it's the next good time for you to
>>> test 2.2 with me.
>>>
>>> -john-
>>>
>>>
>>> On Sun, Sep 15, 2013 at 9:22 PM, Maxim Solodovnik 
>>> wrote:
>>>
 Hello John,
 sorry I was unable to attend :(
 If it is still possible we can reschedule our debug session to
 Wednesday 2013.09.18 after 15:00 GMT
 Is it OK?


 On Sat, Sep 14, 2013 at 10:52 PM, John Tran wrote:

> Maxim, are you still awake?
>
>
> On Sat, Sep 14, 2013 at 12:44 AM, Maxim Solodovnik <
> solomax...@gmail.com> wrote:
>
>> Great! Thanks :)
>> On Sep 14, 2013 2:30 PM, "John Tran"  wrote:
>>
>>> Wow, we on the opposite end.  I am GMT-8.  I will connect with you
>>> 22:00 your local time and send you the credential after I rebuild the OS
>>> and put the latest OM 2.2 build.
>>>
>>> -john-
>>>
>>>
>>> On Sat, Sep 14, 2013 at 12:22 AM, Maxim Solodovnik <
>>> solomax...@gmail.com> wrote:
>>>
 I'm in GMT+7
 I might be busy until ~20:00 my time (13:00 GMT)


 On Sat, Sep 14, 2013 at 2:21 PM, John Tran 
 wrote:

> What is your timezone so I know to be online tomorrow and test it
> with you?
>
>
> On Sat, Sep 14, 2013 at 12:19 AM, Maxim Solodovnik <
> solomax...@gmail.com> wrote:
>
>> Sure, please send the credentials :)
>>
>>
>> On Sat, Sep 14, 2013 at 2:18 PM, John Tran > > wrote:
>>
>>> Maxim -
>>>
>>> I thought I email you direct.  I can rebuild it tomorrow from
>>> scratch and test it with you.  Would you be willing to test with 
>>> me.  I can
>>> give you root access to check and enable the log.  It's a VPS and I 
>>> always
>>> wipe and rebuild at anything.
>>>
>>> What do you think?
>>>
>>> -john-
>>>
>>>
>>>
>>> On Sat, Sep 14, 2013 at 12:03 AM, Maxim Solodovnik <
>>> solomax...@gmail.com> wrote:
>>>
 Is it video only issue?
 Could you please try to enter to the room of type restricted
 do not start audio/video

 just type anything in the chat etc.
 Would it work longer than 5 seconds?

 Do you have anything in the logs? (maybe with increased log
 level and/or additional ssl logging enabled?)


 On Fri, Sep 13, 2013 at 11:22 PM, John Tran <
 findingj...@gmail.com> wrote:

> Daniella
>
> I don't think WiFi or wired connection makes a difference.
> The same for the browser.  I am WiFi most of the time.  When I go 
> from 2.2
> back to 2.1.1, from the same machine and browser, it works like a 
> champ on
> non SSL mode, still freeze in SSL mode.  Sometime I don't see the 
> all the
> participates in the same conference room.  It's int ermittent.
>
>
>
> On Fri, Sep 13, 2013 at 8:01 AM, Daniela Kirsch <
> dkir...@excelsystems.com> wrote:
>
>> Hi John,
>>
>> we got video once from the other end for about 5 seconds. We
>> did also have that black video window, or a frozen video 
>> basically from the
>> start. The local video was always working. Not sure if the 
>> browser makes
>> any difference, but we did use Safari on Mac and Firefox on 
>> Windows 7. So
>> it wasn't really any kind of success.
>>

Re: Problems with Openmeetins & RTMPS

2013-10-25 Thread Maxim Solodovnik
I was able to set up
2.2.0-SNAPSHOT 1534608 22-October-2013

on https://demo.dataved.ru:5443/openmeetings/
It seems to work as expected (maybe because I'm the only person in the room)

Can send invitation link to people willing to test


On Fri, Oct 25, 2013 at 7:31 PM, Maxim Solodovnik wrote:

> I'm currently trying to double check this
> Will write back to all threads
>
>
> On Fri, Oct 25, 2013 at 5:07 PM,  wrote:
>
>> Hi,
>> we are trying to use Openmeetings in our organisation for conferences.
>> It works very nice on the unencrypted protocols HTTP/RTMP but when I
>> switch it over to HTTPS and RTMPS I get the same problems that are
>> mentioned here:
>> http://markmail.org/thread/**35cbwifpeme2loee
>> and here: 
>> http://markmail.org/message/**cjlf2nwwpiwawg2o
>>
>> The problem occurs different but both on 2.1.1 and 2.2.0
>>
>> 2.1.1
>> runs first fine but after a random time client and server freezes. EXIT
>> button does not work. Have to restart the server to log in again.
>>
>> 2.2.0 r1535431-24-10-2013_1638
>> video and voice freezes after some seconds. Chat still works! The Server
>> still runs and I can click the EXIT button and come into the room again to
>> have some more seconds of video/voice
>>
>> For both cases there are no error messages I can see when I run the
>> server with ./red5-debug.sh
>>
>> I've build 2.1.1 myself according to this instructions:
>> https://cwiki.apache.org/**confluence/download/**attachments/27838216/**
>> Installing+OM2.1.1+on+**Debian64+Wheezy.pdf?version=1&**
>> modificationDate=1380291632000
>>
>> But for 2.2.0 I've used the build from jenkins.
>>
>> Both versions are running on Debian Weezy on Amazon EC2. The SSL
>> certificate is an official certificate from http://www.cheapssls.com/
>> No other applications are running on the server, its dedicated for
>> OpenMeetings.
>>
>> Does anybody got to the bottom of that? Or does somebody had more luck
>> with RTMPS? Can I do something more to debug that?
>>
>> Greetings from Nepal
>> Artur Neumann
>> INF (www.inf.org)
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax


Re: Auto login: test loginUser()

2013-10-25 Thread 小野圭二
Thank you, Maxim.
I will try it tomorrow. :)


2013/10/25 Maxim Solodovnik 

> Yes
>
>
> On Fri, Oct 25, 2013 at 7:37 PM, 小野圭二  wrote:
>
>> >>you should use URL like this
>> >>http://localhos:5080/openmeetings/?secureHash=&language=1
>> to enter the room
>>
>>
>> Is the ""  the value of "" ?
>>
>> http://services.axis.openmeetings.apache.org";>
>> a8e844da497727d8a0ec1db4447d9d60> setUserObjectAndGenerateRoomHashResponse>
>>
>> -Ono
>>
>>
>> 2013/10/25 Maxim Solodovnik 
>>
>>> you should use URL like this
>>> http://localhos:5080/openmeetings/?secureHash=&language=1
>>> to enter the room
>>>
>>>
>>> On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:
>>>
 I have made a external user by using addNewUserWithExternalType(). It
 was fine.
 Then auto login, fuum not work on me. I checked it and got the return
 as following.

 http://services.axis.openmeetings.apache.org
 ">a8e844da497727d8a0ec1db4447d9d60

 It seems like containing a hash code. Should i use it to redirect
 process?
 Now i redirect to OM top simply without any query.

 Thx a lot Maxim, very often.

 -Ono



 2013/10/25 Maxim Solodovnik 

> The order should be:
>
> 1) getSession
> 2) loginUser
> 3) setUserObject. NOTE externalUserId and externalUserType are
> mandatory parameters
>
> by loginUser you authorizing your script
> by setUserObject... you are creating/editing "externaal" user and
> creating hash for entering the room as this user
>
>
> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
>
>> Thx Maxim,
>>
>> I tried setUserObj...() , but the return was error code that mean
>> "Admin authorization required".
>>
>> http://services.axis.openmeetings.apache.org
>> ">-26
>>
>> This is the REST url that i called.
>>
>> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
>> ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
>> o...@net8.co.jp
>> &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
>>
>> *$sessionID was gotten by getSession()
>>
>>
>> Something lack? :-<
>>
>>
>> -Ono
>>
>>
>> 2013/10/25 Maxim Solodovnik 
>>
>>> you need to call
>>>
>>> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>>>
>>> then redirect to
>>> http://localhos:5080/openmeetings/?secureHash=
>>> &language=1
>>>
>>>
>>> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>>>
 Hi,

 Let me know what should i do after loginUser() was success.

 I am testing loginUser() for auto login from external site.
 At first, i got a session id by using getSession(), then called
 loginUser() with setting the session id.
 So the return was as following.
 http://services.axis.openmeetings.apache.org
 ">1

 In the element value was 1. I thought i got a success to auto
  login as it was positive.
 Then i redirected to OpenMeetings, but the login combo appeared on
 it.
 Are there any wrong procedure on me?

 Thanks in advance.

 Ono

>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>


>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>


Re: Auto login: test loginUser()

2013-10-25 Thread Maxim Solodovnik
Yes


On Fri, Oct 25, 2013 at 7:37 PM, 小野圭二  wrote:

> >>you should use URL like this
> >>http://localhos:5080/openmeetings/?secureHash=&language=1
> to enter the room
>
>
> Is the ""  the value of "" ?
>
> http://services.axis.openmeetings.apache.org";>
> a8e844da497727d8a0ec1db4447d9d60 setUserObjectAndGenerateRoomHashResponse>
>
> -Ono
>
>
> 2013/10/25 Maxim Solodovnik 
>
>> you should use URL like this
>> http://localhos:5080/openmeetings/?secureHash=&language=1
>> to enter the room
>>
>>
>> On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:
>>
>>> I have made a external user by using addNewUserWithExternalType(). It
>>> was fine.
>>> Then auto login, fuum not work on me. I checked it and got the return as
>>> following.
>>>
>>> http://services.axis.openmeetings.apache.org
>>> ">a8e844da497727d8a0ec1db4447d9d60
>>>
>>> It seems like containing a hash code. Should i use it to redirect
>>> process?
>>> Now i redirect to OM top simply without any query.
>>>
>>> Thx a lot Maxim, very often.
>>>
>>> -Ono
>>>
>>>
>>>
>>> 2013/10/25 Maxim Solodovnik 
>>>
 The order should be:

 1) getSession
 2) loginUser
 3) setUserObject. NOTE externalUserId and externalUserType are
 mandatory parameters

 by loginUser you authorizing your script
 by setUserObject... you are creating/editing "externaal" user and
 creating hash for entering the room as this user


 On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:

> Thx Maxim,
>
> I tried setUserObj...() , but the return was error code that mean
> "Admin authorization required".
>
> http://services.axis.openmeetings.apache.org
> ">-26
>
> This is the REST url that i called.
>
> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
> ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
> o...@net8.co.jp
> &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
>
> *$sessionID was gotten by getSession()
>
>
> Something lack? :-<
>
>
> -Ono
>
>
> 2013/10/25 Maxim Solodovnik 
>
>> you need to call
>>
>> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>>
>> then redirect to
>> http://localhos:5080/openmeetings/?secureHash=
>> &language=1
>>
>>
>> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>>
>>> Hi,
>>>
>>> Let me know what should i do after loginUser() was success.
>>>
>>> I am testing loginUser() for auto login from external site.
>>> At first, i got a session id by using getSession(), then called
>>> loginUser() with setting the session id.
>>> So the return was as following.
>>> http://services.axis.openmeetings.apache.org
>>> ">1
>>>
>>> In the element value was 1. I thought i got a success to auto  login
>>> as it was positive.
>>> Then i redirected to OpenMeetings, but the login combo appeared on
>>> it.
>>> Are there any wrong procedure on me?
>>>
>>> Thanks in advance.
>>>
>>> Ono
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


 --
 WBR
 Maxim aka solomax

>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax


Re: Auto login: test loginUser()

2013-10-25 Thread 小野圭二
>>you should use URL like this
>>http://localhos:5080/openmeetings/?secureHash=&language=1
to enter the room


Is the ""  the value of "" ?

http://services.axis.openmeetings.apache.org";>
a8e844da497727d8a0ec1db4447d9d60

-Ono


2013/10/25 Maxim Solodovnik 

> you should use URL like this
> http://localhos:5080/openmeetings/?secureHash=&language=1
> to enter the room
>
>
> On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:
>
>> I have made a external user by using addNewUserWithExternalType(). It was
>> fine.
>> Then auto login, fuum not work on me. I checked it and got the return as
>> following.
>>
>> http://services.axis.openmeetings.apache.org
>> ">a8e844da497727d8a0ec1db4447d9d60
>>
>> It seems like containing a hash code. Should i use it to redirect
>> process?
>> Now i redirect to OM top simply without any query.
>>
>> Thx a lot Maxim, very often.
>>
>> -Ono
>>
>>
>>
>> 2013/10/25 Maxim Solodovnik 
>>
>>> The order should be:
>>>
>>> 1) getSession
>>> 2) loginUser
>>> 3) setUserObject. NOTE externalUserId and externalUserType are
>>> mandatory parameters
>>>
>>> by loginUser you authorizing your script
>>> by setUserObject... you are creating/editing "externaal" user and
>>> creating hash for entering the room as this user
>>>
>>>
>>> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
>>>
 Thx Maxim,

 I tried setUserObj...() , but the return was error code that mean
 "Admin authorization required".

 http://services.axis.openmeetings.apache.org
 ">-26

 This is the REST url that i called.

 http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
 ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
 o...@net8.co.jp
 &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0

 *$sessionID was gotten by getSession()


 Something lack? :-<


 -Ono


 2013/10/25 Maxim Solodovnik 

> you need to call
>
> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>
> then redirect to
> http://localhos:5080/openmeetings/?secureHash=
> &language=1
>
>
> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>
>> Hi,
>>
>> Let me know what should i do after loginUser() was success.
>>
>> I am testing loginUser() for auto login from external site.
>> At first, i got a session id by using getSession(), then called
>> loginUser() with setting the session id.
>> So the return was as following.
>> http://services.axis.openmeetings.apache.org
>> ">1
>>
>> In the element value was 1. I thought i got a success to auto  login
>> as it was positive.
>> Then i redirected to OpenMeetings, but the login combo appeared on it.
>> Are there any wrong procedure on me?
>>
>> Thanks in advance.
>>
>> Ono
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>


>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>


Re: Problems with Openmeetins & RTMPS

2013-10-25 Thread Maxim Solodovnik
I'm currently trying to double check this
Will write back to all threads


On Fri, Oct 25, 2013 at 5:07 PM,  wrote:

> Hi,
> we are trying to use Openmeetings in our organisation for conferences.
> It works very nice on the unencrypted protocols HTTP/RTMP but when I
> switch it over to HTTPS and RTMPS I get the same problems that are
> mentioned here:
> http://markmail.org/thread/**35cbwifpeme2loee
> and here: 
> http://markmail.org/message/**cjlf2nwwpiwawg2o
>
> The problem occurs different but both on 2.1.1 and 2.2.0
>
> 2.1.1
> runs first fine but after a random time client and server freezes. EXIT
> button does not work. Have to restart the server to log in again.
>
> 2.2.0 r1535431-24-10-2013_1638
> video and voice freezes after some seconds. Chat still works! The Server
> still runs and I can click the EXIT button and come into the room again to
> have some more seconds of video/voice
>
> For both cases there are no error messages I can see when I run the server
> with ./red5-debug.sh
>
> I've build 2.1.1 myself according to this instructions:
> https://cwiki.apache.org/**confluence/download/**attachments/27838216/**
> Installing+OM2.1.1+on+**Debian64+Wheezy.pdf?version=1&**
> modificationDate=1380291632000
>
> But for 2.2.0 I've used the build from jenkins.
>
> Both versions are running on Debian Weezy on Amazon EC2. The SSL
> certificate is an official certificate from http://www.cheapssls.com/
> No other applications are running on the server, its dedicated for
> OpenMeetings.
>
> Does anybody got to the bottom of that? Or does somebody had more luck
> with RTMPS? Can I do something more to debug that?
>
> Greetings from Nepal
> Artur Neumann
> INF (www.inf.org)
>
>
>


-- 
WBR
Maxim aka solomax


Re: Auto login: test loginUser()

2013-10-25 Thread Maxim Solodovnik
you should use URL like this
http://localhos:5080/openmeetings/?secureHash=&language=1
to enter the room


On Fri, Oct 25, 2013 at 3:37 PM, 小野圭二  wrote:

> I have made a external user by using addNewUserWithExternalType(). It was
> fine.
> Then auto login, fuum not work on me. I checked it and got the return as
> following.
>
> http://services.axis.openmeetings.apache.org
> ">a8e844da497727d8a0ec1db4447d9d60
>
> It seems like containing a hash code. Should i use it to redirect process?
> Now i redirect to OM top simply without any query.
>
> Thx a lot Maxim, very often.
>
> -Ono
>
>
>
> 2013/10/25 Maxim Solodovnik 
>
>> The order should be:
>>
>> 1) getSession
>> 2) loginUser
>> 3) setUserObject. NOTE externalUserId and externalUserType are
>> mandatory parameters
>>
>> by loginUser you authorizing your script
>> by setUserObject... you are creating/editing "externaal" user and
>> creating hash for entering the room as this user
>>
>>
>> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
>>
>>> Thx Maxim,
>>>
>>> I tried setUserObj...() , but the return was error code that mean "Admin
>>> authorization required".
>>>
>>> http://services.axis.openmeetings.apache.org
>>> ">-26
>>>
>>> This is the REST url that i called.
>>>
>>> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
>>> ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
>>> o...@net8.co.jp
>>> &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
>>>
>>> *$sessionID was gotten by getSession()
>>>
>>>
>>> Something lack? :-<
>>>
>>>
>>> -Ono
>>>
>>>
>>> 2013/10/25 Maxim Solodovnik 
>>>
 you need to call

 http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash

 then redirect to
 http://localhos:5080/openmeetings/?secureHash=&language=1


 On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:

> Hi,
>
> Let me know what should i do after loginUser() was success.
>
> I am testing loginUser() for auto login from external site.
> At first, i got a session id by using getSession(), then called
> loginUser() with setting the session id.
> So the return was as following.
> http://services.axis.openmeetings.apache.org
> ">1
>
> In the element value was 1. I thought i got a success to auto  login
> as it was positive.
> Then i redirected to OpenMeetings, but the login combo appeared on it.
> Are there any wrong procedure on me?
>
> Thanks in advance.
>
> Ono
>



 --
 WBR
 Maxim aka solomax

>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax


Problems with Openmeetins & RTMPS

2013-10-25 Thread ict . projects

Hi,
we are trying to use Openmeetings in our organisation for conferences.
It works very nice on the unencrypted protocols HTTP/RTMP but when I  
switch it over to HTTPS and RTMPS I get the same problems that are  
mentioned here:

http://markmail.org/thread/35cbwifpeme2loee
and here: http://markmail.org/message/cjlf2nwwpiwawg2o

The problem occurs different but both on 2.1.1 and 2.2.0

2.1.1
runs first fine but after a random time client and server freezes.  
EXIT button does not work. Have to restart the server to log in again.


2.2.0 r1535431-24-10-2013_1638
video and voice freezes after some seconds. Chat still works! The  
Server still runs and I can click the EXIT button and come into the  
room again to have some more seconds of video/voice


For both cases there are no error messages I can see when I run the  
server with ./red5-debug.sh


I've build 2.1.1 myself according to this instructions:  
https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.1.1+on+Debian64+Wheezy.pdf?version=1&modificationDate=1380291632000


But for 2.2.0 I've used the build from jenkins.

Both versions are running on Debian Weezy on Amazon EC2. The SSL  
certificate is an official certificate from http://www.cheapssls.com/
No other applications are running on the server, its dedicated for  
OpenMeetings.


Does anybody got to the bottom of that? Or does somebody had more luck  
with RTMPS? Can I do something more to debug that?


Greetings from Nepal
Artur Neumann
INF (www.inf.org)




Re: Auto login: test loginUser()

2013-10-25 Thread 小野圭二
I have made a external user by using addNewUserWithExternalType(). It was
fine.
Then auto login, fuum not work on me. I checked it and got the return as
following.

http://services.axis.openmeetings.apache.org
">a8e844da497727d8a0ec1db4447d9d60

It seems like containing a hash code. Should i use it to redirect process?
Now i redirect to OM top simply without any query.

Thx a lot Maxim, very often.

-Ono



2013/10/25 Maxim Solodovnik 

> The order should be:
>
> 1) getSession
> 2) loginUser
> 3) setUserObject. NOTE externalUserId and externalUserType are
> mandatory parameters
>
> by loginUser you authorizing your script
> by setUserObject... you are creating/editing "externaal" user and creating
> hash for entering the room as this user
>
>
> On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:
>
>> Thx Maxim,
>>
>> I tried setUserObj...() , but the return was error code that mean "Admin
>> authorization required".
>>
>> http://services.axis.openmeetings.apache.org
>> ">-26
>>
>> This is the REST url that i called.
>>
>> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
>> ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
>> o...@net8.co.jp
>> &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
>>
>> *$sessionID was gotten by getSession()
>>
>>
>> Something lack? :-<
>>
>>
>> -Ono
>>
>>
>> 2013/10/25 Maxim Solodovnik 
>>
>>> you need to call
>>>
>>> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>>>
>>> then redirect to
>>> http://localhos:5080/openmeetings/?secureHash=&language=1
>>>
>>>
>>> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>>>
 Hi,

 Let me know what should i do after loginUser() was success.

 I am testing loginUser() for auto login from external site.
 At first, i got a session id by using getSession(), then called
 loginUser() with setting the session id.
 So the return was as following.
 http://services.axis.openmeetings.apache.org
 ">1

 In the element value was 1. I thought i got a success to auto  login as
 it was positive.
 Then i redirected to OpenMeetings, but the login combo appeared on it.
 Are there any wrong procedure on me?

 Thanks in advance.

 Ono

>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>


Re: No Emails Sent From Calendar Event Notification

2013-10-25 Thread Daniel Baker

Ok I will try.



On 10/25/2013 03:15 PM, Maxim Solodovnik wrote:

Hello Daniel,

Could you please perform kind of "detective" work?
According to google this might be due to more than one jar file with 
same classes?


The archives are:
webapps/openmeetings/WEB-INF/lib/geronimo-javamail_1.4_spec-bundle-1.7.1.jar
webapps/openmeetings/WEB-INF/lib/mail-jar-1.4.7.jar

Additionally you may have other *mail*.jar files in your CLASSPATH (in 
your java etc.)
Could you please try to remove above jars one by one and try to 
reproduce the problem?

Additionally please search *mail*jar files in your system?


On Thu, Oct 24, 2013 at 9:35 AM, Daniel Baker 
mailto:i...@collisiondetection.biz>> wrote:


Hi Maxim,

I tried sending a calender notification  and  invitation email to  my own 
email and nothing is being sent out.

I confirmed this with Wireshark and no smtp messages are leaving this host.


I have looked at the /usr/lib/red52/log/openmeetings.log  again and there 
seems to be a*security error*  :






DEBUG 10-24 09:18:40.039 AppointmentDaoImpl.java 665610300 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.schedul$
DEBUG 10-24 09:18:40.040 AppointmentDaoImpl.java 665610301 938
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.schedul$
DEBUG 10-24 09:18:40.043 AppointmentLogic.java 665610304 408
org.openmeetings.app.data.calendar.management.AppointmentLogic
[org.springframework.sched$
DEBUG 10-24 09:19:47.808 InvitationService.java 665678069 90
org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
sendInvitationHash:
  INFO 10-24 09:19:47.809 InvitationService.java 665678070 102
org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
validFromHour: 9
  INFO 10-24 09:19:47.809 InvitationService.java 665678070 103
org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
validFromMinute: 19
DEBUG 10-24 09:19:47.820 InvitationService.java 665678081 143
org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
addAppointment offset :$
DEBUG 10-24 09:19:47.821 Invitationmanagement.java 665678082 138
org.openmeetings.app.data.conference.Invitationmanagement
[NioProcessor-2] -http://1$
DEBUG 10-24 09:19:47.823 Roommanagement.java 665678084 232
org.openmeetings.app.data.conference.Roommanagement [NioProcessor-2] -
getRoombyId : 9
DEBUG 10-24 09:19:47.832 MailThread.java 665678093 151
org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - Message
sending in progress
DEBUG 10-24 09:19:47.833 MailThread.java 665678094 152
org.openmeetings.utils.mail.MailHandler [taskExecutor-2] -   To:
daniel.baker.cit...@gmail.com  
DEBUG 10-24 09:19:47.833 MailThread.java 665678094 153
org.openmeetings.utils.mail.MailHandler [taskExecutor-2] -   Subject:
Invitation to OpenMeetings
DEBUG 10-24 09:19:47.833 MailThread.java 665678094 77
org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - getMessage
*ERROR 10-24 09:19:47.839 MailThread.java 665678100 160
org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - [mail send]
java.lang.SecurityException: null
 at javax.mail.Session.getDefaultInstance(Session.java:137)
~[geronimo-javamail_1.4_spec-bundle-1.6.jar:1.6]
 at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.getMessage(MailThread.java:101)
[openmeetings-2.0.0-SNAPSHOT.jar:na]
 at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.send(MailThread.java:156)
[openmeetings-2.0.0-SNAPSHOT.jar:na]
 at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.run(MailThread.java:73)
[openmeetings-2.0.0-SNAPSHOT.jar:na]
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[na:1.6.0_30]
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[na:1.6.0_30]
 at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
DEBUG 10-24 09:20:20.030 Sessionmanagement.java 665710291 468
org.openmeetings.app.data.basic.Sessionmanagement
[org.springframework.scheduling.quartz$
DEBUG 10-24 09:20:20.033 Sessionmanagement.java 665710294 452
org.openmeetings.app.data.basic.Sessionmanagement*
[org.springframework.scheduling.quartz$
DEBUG 10-24 09:20:20.034 Sessionmanagement.java 665710295 472
org.openmeetings.app.data.basic.Sessionmanagement
[org.springframework.scheduling.quartz$
DEBUG 10-24 09:20:20.035 MeetingReminderJob.java 665710296 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling$
DEBUG 10-24 09:20:20.038 AppointmentDaoImpl.java 665710299 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.schedul$
DEBUG 10-24 09:20:20.

Re: about Asterisk Integration

2013-10-25 Thread Keisuke Yamada

Oh
you are right

thank you

Keisuke Yamada


(2013/10/25 17:18), Maxim Solodovnik wrote:
Just have re-downloaded same file and triple check, the file is 
under /webapps/openmeetings/WEB-INF/classes/



On Fri, Oct 25, 2013 at 3:06 PM, Keisuke Yamada 
mailto:k-yam...@idnetworks.co.jp>> wrote:


Hi

I download

https://builds.apache.org/job/openmeetings/lastSuccessfulBuild/artifact/singlewebapp/dist/apache-openmeetings-3.0.0.r1535589-25-10-2013_0017.tar.gz

And I did tar zxvf, but I could not see
"openmeetings-applicationContext.xml".

Should I get that file from "2.2"?

Keisuke



(2013/10/25 16:59), Maxim Solodovnik wrote:

In case you installed into
/usr/lib/red5
instead of
/opt/red5
the location will be:

/usr/lib/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml

right after the build :)

binary distribution can be downloaded from
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/


On Fri, Oct 25, 2013 at 2:55 PM, Keisuke Yamada
mailto:k-yam...@idnetworks.co.jp>> wrote:

I read

https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless+-+12.10.pdf?version=1&modificationDate=1362051106000

I install just like above documentation. So I installed in
/usr/lib/red5

And I did not find "openmeetings-applicationContext.xml".

I installed by "svn checkout
https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/
"
SO maybe I did not get openmeetings-applicationContext.xml.
then I should download another tar file.

Anyway I will check another file.

Best regards
Keisuke Yamada


(2013/10/25 16:38), Maxim Solodovnik wrote:

According to updated documentation it's location is:

/opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml


On Fri, Oct 25, 2013 at 2:35 PM, Keisuke Yamada
mailto:k-yam...@idnetworks.co.jp>> wrote:

Thanks for replay.

Would you please let me know about
"openmeetings-applicationContext.xml"?

Can I ignore it?
Or should I get that file from internet(or another way)?

Best regards.

Keisuke Yamada


(2013/10/25 16:28), Maxim Solodovnik wrote:

Documentation is updated
Thanks!


On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada
mailto:k-yam...@idnetworks.co.jp>> wrote:

Hi

I installed openmeeings 3.0.0.0, and I tried to
integrate with asterisk.

I read
http://openmeetings.apache.org/red5sip-integration_3.0.html

I realized in my environment there is no

"/opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
And beginning of this pages mention that it is for
"Apache OpenMeetings version 2.1".

So I guess this documentation is not for 3.0 and
there is another information for version3.

Does anyone point me for integration asterisk for
ver 3?

Best Regards
Keisuke Yamada





-- 
WBR

Maxim aka solomax





-- 
WBR

Maxim aka solomax





-- 
WBR

Maxim aka solomax





--
WBR
Maxim aka solomax




Re: A little logo's OpenMeetings presentation

2013-10-25 Thread Maxim Solodovnik
I like it :)


On Wed, Oct 23, 2013 at 11:38 PM, Alvaro  wrote:

> Hi Maxim,
>
> Attached a swf file with a little logo's OpenMeetings animated
> presentation.
>
> :)
> Alvaro
>
>
>


-- 
WBR
Maxim aka solomax


Re: about Asterisk Integration

2013-10-25 Thread Maxim Solodovnik
Just have re-downloaded same file and triple check, the file is
under /webapps/openmeetings/WEB-INF/classes/


On Fri, Oct 25, 2013 at 3:06 PM, Keisuke Yamada
wrote:

>  Hi
>
> I download
>
> https://builds.apache.org/job/openmeetings/lastSuccessfulBuild/artifact/singlewebapp/dist/apache-openmeetings-3.0.0.r1535589-25-10-2013_0017.tar.gz
>
> And I did tar zxvf, but I could not see "openmeetings-
> applicationContext.xml".
>
> Should I get that file from "2.2"?
>
> Keisuke
>
>
>
> (2013/10/25 16:59), Maxim Solodovnik wrote:
>
> In case you installed into
> /usr/lib/red5
>  instead of
>  /opt/red5
> the location will be: /usr/lib/red5/webapps/openmeetings/WEB-INF/
> openmeetings-applicationContext.xml
>
>  right after the build :)
>
>  binary distribution can be downloaded from
> https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/
>
>
> On Fri, Oct 25, 2013 at 2:55 PM, Keisuke Yamada  > wrote:
>
>>  I read
>>
>> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless+-+12.10.pdf?version=1&modificationDate=1362051106000
>>
>> I install just like above documentation. So I installed in
>> /usr/lib/red5
>>
>> And I did not find "openmeetings-applicationContext.xml".
>>
>> I installed by "svn checkout
>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/ "
>> SO maybe I did not get openmeetings-applicationContext.xml. then I
>> should download another tar file.
>>
>> Anyway I will check another file.
>>
>> Best regards
>> Keisuke Yamada
>>
>>
>> (2013/10/25 16:38), Maxim Solodovnik wrote:
>>
>> According to updated documentation it's location is:
>> /opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml
>>
>>
>> On Fri, Oct 25, 2013 at 2:35 PM, Keisuke Yamada <
>> k-yam...@idnetworks.co.jp> wrote:
>>
>>>  Thanks for replay.
>>>
>>> Would you please let me know about "
>>> openmeetings-applicationContext.xml"?
>>>
>>> Can I ignore it?
>>> Or should I get that file from internet(or another way)?
>>>
>>> Best regards.
>>>
>>> Keisuke Yamada
>>>
>>>
>>> (2013/10/25 16:28), Maxim Solodovnik wrote:
>>>
>>> Documentation is updated
>>> Thanks!
>>>
>>>
>>> On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada <
>>> k-yam...@idnetworks.co.jp> wrote:
>>>
  Hi

 I installed openmeeings 3.0.0.0, and I tried to integrate with asterisk.

 I read
 http://openmeetings.apache.org/red5sip-integration_3.0.html

 I realized in my environment there is no "
 /opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
 And beginning of this pages mention that it is for "Apache OpenMeetings
 version 2.1".

 So I guess this documentation is not for 3.0 and there is another
 information for version3.

 Does anyone point me for integration asterisk for ver 3?

 Best Regards
 Keisuke Yamada



>>>
>>>
>>>  --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>>
>>
>>
>>  --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax


Re: No Emails Sent From Calendar Event Notification

2013-10-25 Thread Maxim Solodovnik
Hello Daniel,

Could you please perform kind of "detective" work?
According to google this might be due to more than one jar file with same
classes?

The archives are:
webapps/openmeetings/WEB-INF/lib/geronimo-javamail_1.4_spec-bundle-1.7.1.jar
webapps/openmeetings/WEB-INF/lib/mail-jar-1.4.7.jar

Additionally you may have other *mail*.jar files in your CLASSPATH (in your
java etc.)
Could you please try to remove above jars one by one and try to reproduce
the problem?
Additionally please search *mail*jar files in your system?


On Thu, Oct 24, 2013 at 9:35 AM, Daniel Baker
wrote:

>  Hi Maxim,
>
> I tried sending a calender notification  and  invitation email to  my own 
> email and nothing is being sent out.
>
> I confirmed this with Wireshark and no smtp messages are leaving this host.
>
>
> I have looked at the /usr/lib/red52/log/openmeetings.log  again and there 
> seems to be a *security error* :
>
>
>
>
>
>
> DEBUG 10-24 09:18:40.039 AppointmentDaoImpl.java 665610300 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.schedul$
> DEBUG 10-24 09:18:40.040 AppointmentDaoImpl.java 665610301 938
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.schedul$
> DEBUG 10-24 09:18:40.043 AppointmentLogic.java 665610304 408
> org.openmeetings.app.data.calendar.management.AppointmentLogic
> [org.springframework.sched$
> DEBUG 10-24 09:19:47.808 InvitationService.java 665678069 90
> org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
> sendInvitationHash:
>  INFO 10-24 09:19:47.809 InvitationService.java 665678070 102
> org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
> validFromHour: 9
>  INFO 10-24 09:19:47.809 InvitationService.java 665678070 103
> org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
> validFromMinute: 19
> DEBUG 10-24 09:19:47.820 InvitationService.java 665678081 143
> org.openmeetings.app.remote.InvitationService [NioProcessor-2] -
> addAppointment offset :$
> DEBUG 10-24 09:19:47.821 Invitationmanagement.java 665678082 138
> org.openmeetings.app.data.conference.Invitationmanagement
> [NioProcessor-2] - http://1$
> DEBUG 10-24 09:19:47.823 Roommanagement.java 665678084 232
> org.openmeetings.app.data.conference.Roommanagement [NioProcessor-2] -
> getRoombyId : 9
> DEBUG 10-24 09:19:47.832 MailThread.java 665678093 151
> org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - Message
> sending in progress
> DEBUG 10-24 09:19:47.833 MailThread.java 665678094 152
> org.openmeetings.utils.mail.MailHandler [taskExecutor-2] -   
> To:daniel.baker.cit...@gmail.com
> DEBUG 10-24 09:19:47.833 MailThread.java 665678094 153
> org.openmeetings.utils.mail.MailHandler [taskExecutor-2] -   Subject:
> Invitation to OpenMeetings
> DEBUG 10-24 09:19:47.833 MailThread.java 665678094 77
> org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - getMessage*ERROR 
> 10-24 09:19:47.839 MailThread.java 665678100 160
> org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - [mail send]
> java.lang.SecurityException: null
> at javax.mail.Session.getDefaultInstance(Session.java:137)
> ~[geronimo-javamail_1.4_spec-bundle-1.6.jar:1.6]
> at 
> org.openmeetings.utils.mail.MailThread$MailSenderTask.getMessage(MailThread.java:101)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]
> at 
> org.openmeetings.utils.mail.MailThread$MailSenderTask.send(MailThread.java:156)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]
> at 
> org.openmeetings.utils.mail.MailThread$MailSenderTask.run(MailThread.java:73)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [na:1.6.0_30]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [na:1.6.0_30]
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
> DEBUG 10-24 09:20:20.030 Sessionmanagement.java 665710291 468
> org.openmeetings.app.data.basic.Sessionmanagement
> [org.springframework.scheduling.quartz$
> DEBUG 10-24 09:20:20.033 Sessionmanagement.java 665710294 452
> org.openmeetings.app.data.basic.Sessionmanagement*
> [org.springframework.scheduling.quartz$
> DEBUG 10-24 09:20:20.034 Sessionmanagement.java 665710295 472
> org.openmeetings.app.data.basic.Sessionmanagement
> [org.springframework.scheduling.quartz$
> DEBUG 10-24 09:20:20.035 MeetingReminderJob.java 665710296 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling$
> DEBUG 10-24 09:20:20.038 AppointmentDaoImpl.java 665710299 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.schedul$
> DEBUG 10-24 09:20:20.039 AppointmentDaoImpl.java 665710300 938
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.schedul$
> DEBUG 10-24 09:20:20.042 AppointmentLogic.java 665710303 408
> org.openmeetings.app.data.calendar.management.AppointmentLogic
> [org.springframewo

Re: about Asterisk Integration

2013-10-25 Thread Keisuke Yamada

Hi

I download
https://builds.apache.org/job/openmeetings/lastSuccessfulBuild/artifact/singlewebapp/dist/apache-openmeetings-3.0.0.r1535589-25-10-2013_0017.tar.gz

And I did tar zxvf, but I could not see 
"openmeetings-applicationContext.xml".


Should I get that file from "2.2"?

Keisuke



(2013/10/25 16:59), Maxim Solodovnik wrote:

In case you installed into
/usr/lib/red5
instead of
/opt/red5
the location will be: 
/usr/lib/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml


right after the build :)

binary distribution can be downloaded from 
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/



On Fri, Oct 25, 2013 at 2:55 PM, Keisuke Yamada 
mailto:k-yam...@idnetworks.co.jp>> wrote:


I read

https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless+-+12.10.pdf?version=1&modificationDate=1362051106000

I install just like above documentation. So I installed in
/usr/lib/red5

And I did not find "openmeetings-applicationContext.xml".

I installed by "svn checkout
https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/ "
SO maybe I did not get openmeetings-applicationContext.xml. then I
should download another tar file.

Anyway I will check another file.

Best regards
Keisuke Yamada


(2013/10/25 16:38), Maxim Solodovnik wrote:

According to updated documentation it's location is:

/opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml


On Fri, Oct 25, 2013 at 2:35 PM, Keisuke Yamada
mailto:k-yam...@idnetworks.co.jp>> wrote:

Thanks for replay.

Would you please let me know about
"openmeetings-applicationContext.xml"?

Can I ignore it?
Or should I get that file from internet(or another way)?

Best regards.

Keisuke Yamada


(2013/10/25 16:28), Maxim Solodovnik wrote:

Documentation is updated
Thanks!


On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada
mailto:k-yam...@idnetworks.co.jp>> wrote:

Hi

I installed openmeeings 3.0.0.0, and I tried to
integrate with asterisk.

I read
http://openmeetings.apache.org/red5sip-integration_3.0.html

I realized in my environment there is no

"/opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
And beginning of this pages mention that it is for
"Apache OpenMeetings version 2.1".

So I guess this documentation is not for 3.0 and there
is another information for version3.

Does anyone point me for integration asterisk for ver 3?

Best Regards
Keisuke Yamada





-- 
WBR

Maxim aka solomax





-- 
WBR

Maxim aka solomax





--
WBR
Maxim aka solomax




Re: about Asterisk Integration

2013-10-25 Thread Maxim Solodovnik
In case you installed into
/usr/lib/red5
instead of
/opt/red5
the location will be: /usr/lib/red5/webapps/openmeetings/WEB-INF/
openmeetings-applicationContext.xml

right after the build :)

binary distribution can be downloaded from
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/


On Fri, Oct 25, 2013 at 2:55 PM, Keisuke Yamada
wrote:

>  I read
>
> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless+-+12.10.pdf?version=1&modificationDate=1362051106000
>
> I install just like above documentation. So I installed in
> /usr/lib/red5
>
> And I did not find "openmeetings-applicationContext.xml".
>
> I installed by "svn checkout
> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/ "
> SO maybe I did not get openmeetings-applicationContext.xml. then I should
> download another tar file.
>
> Anyway I will check another file.
>
> Best regards
> Keisuke Yamada
>
>
> (2013/10/25 16:38), Maxim Solodovnik wrote:
>
> According to updated documentation it's location is:
> /opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml
>
>
> On Fri, Oct 25, 2013 at 2:35 PM, Keisuke Yamada  > wrote:
>
>>  Thanks for replay.
>>
>> Would you please let me know about "openmeetings-applicationContext.xml"?
>>
>> Can I ignore it?
>> Or should I get that file from internet(or another way)?
>>
>> Best regards.
>>
>> Keisuke Yamada
>>
>>
>> (2013/10/25 16:28), Maxim Solodovnik wrote:
>>
>> Documentation is updated
>> Thanks!
>>
>>
>> On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada <
>> k-yam...@idnetworks.co.jp> wrote:
>>
>>>  Hi
>>>
>>> I installed openmeeings 3.0.0.0, and I tried to integrate with asterisk.
>>>
>>> I read
>>> http://openmeetings.apache.org/red5sip-integration_3.0.html
>>>
>>> I realized in my environment there is no "
>>> /opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
>>> And beginning of this pages mention that it is for "Apache OpenMeetings
>>> version 2.1".
>>>
>>> So I guess this documentation is not for 3.0 and there is another
>>> information for version3.
>>>
>>> Does anyone point me for integration asterisk for ver 3?
>>>
>>> Best Regards
>>> Keisuke Yamada
>>>
>>>
>>>
>>
>>
>>  --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax


Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-25 Thread Maxim Solodovnik
The method should be changed as follows:

private static final Logger log =
LoggerFactory.getLogger(CaptureScreen.class);
public void run() {
try {
while (active && !core.isReadyToRecord()) {
Thread.sleep(60);
}
Robot robot = new Robot();
BufferedImage image = null;
while (active) {
final long ctime = System.currentTimeMillis();
Rectangle screen = new Rectangle(spinnerX, spinnerY, spinnerWidth,
spinnerHeight);

long start = System.currentTimeMillis();
image = robot.createScreenCapture(screen);
log.debug(String.format("Image was captured in %s ms",
System.currentTimeMillis() - start));
try {
timestamp += timeBetweenFrames;
start = System.currentTimeMillis();
byte[] data = se.encode(screen, image, new Rectangle(resizeX, resizeY));
log.debug(String.format("Image was encoded in %s ms",
System.currentTimeMillis() - start));

pushVideo(data, timestamp);
} catch (Exception e) {
log.error("Error while encoding: ", e);
}
final int spent = (int) (System.currentTimeMillis() - ctime);

log.debug(String.format("Time spent %s ms; diff: %s ms", spent,
timeBetweenFrames - spent));
if (sendCursor) {
core.sendCursorStatus();
}
Thread.sleep(Math.max(0, timeBetweenFrames - spent));
}
} catch (Exception e) {
log.error("Error while running: ", e);
}
}

1280x1024 are captured encoded for too long
Will now try to speed up encoding.


On Thu, Oct 24, 2013 at 8:35 PM, Alexander Brovman <
alexander.brov...@gmail.com> wrote:

> Maxim,
>
> A) Interessting to say the very least, how did you manage to measure the
> encode and the screencapture? or what tools did you use in order to measure
> those, might come in handy for me when measuring performance.
>
> Right now i changed the sourcecode in the following way:
> 1) " timeBetweenFrames = (ScreenDimensions.quality ==
> ScreenQuality.VeryHigh) ? 30 : 100;"
>
>
>  2)public void run() {
> try {
> Robot robot = new Robot();
> BufferedImage image = null;
> while (active) {
> final long ctime =
> System.currentTimeMillis();
> Rectangle screen = new
> Rectangle(ScreenDimensions.spinnerX,
> ScreenDimensions.spinnerY,
>
> ScreenDimensions.spinnerWidth,
>
> ScreenDimensions.spinnerHeight);
>
> image = robot.createScreenCapture(screen);
>
> try {
> timestamp += timeBetweenFrames;
>   byte[] data = se.encode(screen, image, new
> Rectangle(ScreenDimensions.resizeX,
>
> ScreenDimensions.resizeY));
>
> pushVideo(data, timestamp);
> } catch (Exception e) {
> e.printStackTrace();
> }
> final int spent = (int)
> (System.currentTimeMillis() - ctime);
>
> if (sendCursor) {
> core.sendCursorStatus();
> }
> Thread.sleep(Math.max(0, timeBetweenFrames
> - spent));
> }
> } catch (Exception e) {
>  e.printStackTrace();
> }
> }
>
> I am definitely noticing a very strong improvement in terms of less video
> delay.
> using jnettop i can see that at a screen resolution of 1650x1080 it is
> approximately using between 4-8mbit for 1 user.
> So i guess the biggest issue here is the encoder, the encoder is
> definitely not efficient, i have been looking at solutions of other people
> on stackexchange in terms of algorithms.
>
> B) I have a question regarding the process, so if the screencapture takes
> place and is sent using the RTMP method/protocol to the server. Does the
> sever additionally encode the file again before sending it to the enduser?
> If so which javafiles contain those settings, because i would like to test
> if i can tweak them to reduce the delay even more by disabling the encode
> of the images/stream on the serverside and just send the files "as is".
> Although once again i fear the algo is the issue.
>
> Kind regards,
> Alexander
>
>
> On Thu, Oct 24, 2013 at 3:06 PM, Maxim Solodovnik wrote:
>
>> Here are my measurements:
>> Screen is captured in ~ 160-170ms
>> Encoded in ~120-200ms
>> Will try to speed up this somehow
>>
>>
>> On Thu, Oct 24, 2013 at 3:27 PM, Alexander Brovman <
>> alexander.brov...@gmail.com> wrote:
>>
>>> nevermind used the wrong ANT build.
>>>
>>> Got it to work now :)
>>>
>>>
>>> On Thu, Oct 24, 2013 at 9:11 AM, Alexander Brovman <
>>> alexander.brov...@gmail.com> wrote:
>>>
 Maxim i made some changes to the code, i downloaded the source on the
 server, changed the lines with nano. and then from the mainfolder simply
 ran the ant command and it started compiling (albeit some errors app

Re: about Asterisk Integration

2013-10-25 Thread Keisuke Yamada

I read
https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless+-+12.10.pdf?version=1&modificationDate=1362051106000

I install just like above documentation. So I installed in
/usr/lib/red5

And I did not find "openmeetings-applicationContext.xml".

I installed by "svn checkout 
https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/ "
SO maybe I did not get openmeetings-applicationContext.xml. then I 
should download another tar file.


Anyway I will check another file.

Best regards
Keisuke Yamada


(2013/10/25 16:38), Maxim Solodovnik wrote:
According to updated documentation it's location is: 
/opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml



On Fri, Oct 25, 2013 at 2:35 PM, Keisuke Yamada 
mailto:k-yam...@idnetworks.co.jp>> wrote:


Thanks for replay.

Would you please let me know about
"openmeetings-applicationContext.xml"?

Can I ignore it?
Or should I get that file from internet(or another way)?

Best regards.

Keisuke Yamada


(2013/10/25 16:28), Maxim Solodovnik wrote:

Documentation is updated
Thanks!


On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada
mailto:k-yam...@idnetworks.co.jp>> wrote:

Hi

I installed openmeeings 3.0.0.0, and I tried to integrate
with asterisk.

I read
http://openmeetings.apache.org/red5sip-integration_3.0.html

I realized in my environment there is no

"/opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
And beginning of this pages mention that it is for "Apache
OpenMeetings version 2.1".

So I guess this documentation is not for 3.0 and there is
another information for version3.

Does anyone point me for integration asterisk for ver 3?

Best Regards
Keisuke Yamada





-- 
WBR

Maxim aka solomax





--
WBR
Maxim aka solomax




Re: Auto login: test loginUser()

2013-10-25 Thread Maxim Solodovnik
The order should be:

1) getSession
2) loginUser
3) setUserObject. NOTE externalUserId and externalUserType are
mandatory parameters

by loginUser you authorizing your script
by setUserObject... you are creating/editing "externaal" user and creating
hash for entering the room as this user


On Fri, Oct 25, 2013 at 2:41 PM, 小野圭二  wrote:

> Thx Maxim,
>
> I tried setUserObj...() , but the return was error code that mean "Admin
> authorization required".
>
> http://services.axis.openmeetings.apache.org
> ">-26
>
> This is the REST url that i called.
>
> http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
> ".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
> o...@net8.co.jp
> &externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0
>
> *$sessionID was gotten by getSession()
>
>
> Something lack? :-<
>
>
> -Ono
>
>
> 2013/10/25 Maxim Solodovnik 
>
>> you need to call
>>
>> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>>
>> then redirect to
>> http://localhos:5080/openmeetings/?secureHash=&language=1
>>
>>
>> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>>
>>> Hi,
>>>
>>> Let me know what should i do after loginUser() was success.
>>>
>>> I am testing loginUser() for auto login from external site.
>>> At first, i got a session id by using getSession(), then called
>>> loginUser() with setting the session id.
>>> So the return was as following.
>>> http://services.axis.openmeetings.apache.org
>>> ">1
>>>
>>> In the element value was 1. I thought i got a success to auto  login as
>>> it was positive.
>>> Then i redirected to OpenMeetings, but the login combo appeared on it.
>>> Are there any wrong procedure on me?
>>>
>>> Thanks in advance.
>>>
>>> Ono
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax


Re: Auto login: test loginUser()

2013-10-25 Thread 小野圭二
Thx Maxim,

I tried setUserObj...() , but the return was error code that mean "Admin
authorization required".

http://services.axis.openmeetings.apache.org
">-26

This is the REST url that i called.
http://localhost:5080/openmeetings/services/UserService/setUserObjectAndGenerateRoomHash?SID=
".$sessionID."&username=onoke&firstname=ono&lastname=keiji&profilePictureUrl=&email=
o...@net8.co.jp
&externalUserId=&externalUserType=&room_id=3&becomeModeratorAsInt=0&showAudioVideoTestAsInt=0

*$sessionID was gotten by getSession()


Something lack? :-<


-Ono


2013/10/25 Maxim Solodovnik 

> you need to call
>
> http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash
>
> then redirect to
> http://localhos:5080/openmeetings/?secureHash=&language=1
>
>
> On Fri, Oct 25, 2013 at 1:23 PM, 小野圭二  wrote:
>
>> Hi,
>>
>> Let me know what should i do after loginUser() was success.
>>
>> I am testing loginUser() for auto login from external site.
>> At first, i got a session id by using getSession(), then called
>> loginUser() with setting the session id.
>> So the return was as following.
>> http://services.axis.openmeetings.apache.org
>> ">1
>>
>> In the element value was 1. I thought i got a success to auto  login as
>> it was positive.
>> Then i redirected to OpenMeetings, but the login combo appeared on it.
>> Are there any wrong procedure on me?
>>
>> Thanks in advance.
>>
>> Ono
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>


Re: about Asterisk Integration

2013-10-25 Thread Maxim Solodovnik
According to updated documentation it's location is:
/opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml


On Fri, Oct 25, 2013 at 2:35 PM, Keisuke Yamada
wrote:

>  Thanks for replay.
>
> Would you please let me know about "openmeetings-applicationContext.xml"?
>
> Can I ignore it?
> Or should I get that file from internet(or another way)?
>
> Best regards.
>
> Keisuke Yamada
>
>
> (2013/10/25 16:28), Maxim Solodovnik wrote:
>
> Documentation is updated
> Thanks!
>
>
> On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada  > wrote:
>
>>  Hi
>>
>> I installed openmeeings 3.0.0.0, and I tried to integrate with asterisk.
>>
>> I read
>> http://openmeetings.apache.org/red5sip-integration_3.0.html
>>
>> I realized in my environment there is no "
>> /opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
>> And beginning of this pages mention that it is for "Apache OpenMeetings
>> version 2.1".
>>
>> So I guess this documentation is not for 3.0 and there is another
>> information for version3.
>>
>> Does anyone point me for integration asterisk for ver 3?
>>
>> Best Regards
>> Keisuke Yamada
>>
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax


Re: about Asterisk Integration

2013-10-25 Thread Keisuke Yamada

Thanks for replay.

Would you please let me know about "openmeetings-applicationContext.xml"?

Can I ignore it?
Or should I get that file from internet(or another way)?

Best regards.

Keisuke Yamada


(2013/10/25 16:28), Maxim Solodovnik wrote:

Documentation is updated
Thanks!


On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada 
mailto:k-yam...@idnetworks.co.jp>> wrote:


Hi

I installed openmeeings 3.0.0.0, and I tried to integrate with
asterisk.

I read
http://openmeetings.apache.org/red5sip-integration_3.0.html

I realized in my environment there is no

"/opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
And beginning of this pages mention that it is for "Apache
OpenMeetings version 2.1".

So I guess this documentation is not for 3.0 and there is another
information for version3.

Does anyone point me for integration asterisk for ver 3?

Best Regards
Keisuke Yamada





--
WBR
Maxim aka solomax




Re: about Asterisk Integration

2013-10-25 Thread Maxim Solodovnik
Documentation is updated
Thanks!


On Fri, Oct 25, 2013 at 1:21 PM, Keisuke Yamada
wrote:

>  Hi
>
> I installed openmeeings 3.0.0.0, and I tried to integrate with asterisk.
>
> I read
> http://openmeetings.apache.org/red5sip-integration_3.0.html
>
> I realized in my environment there is no "
> /opt/red5/webapps/openmeetings/WEB-INF/openmeetings-applicationContext.xml".
> And beginning of this pages mention that it is for "Apache OpenMeetings
> version 2.1".
>
> So I guess this documentation is not for 3.0 and there is another
> information for version3.
>
> Does anyone point me for integration asterisk for ver 3?
>
> Best Regards
> Keisuke Yamada
>
>
>


-- 
WBR
Maxim aka solomax