Re: Video Frozen - OpenMeetings/Red5 stuck

2013-09-11 Thread Maxim Solodovnik
Was able to start it.

here are my changes:
1) uncomment RTMPS section
2) comment property with name rtmpConnManager

*here is the diff:*
solomax@antares:~/work/openmeetings/branches/2.x$ diff -u
build/red5/server/dist/conf dist/red5/confOnly in dist/red5/conf: keystore
Only in dist/red5/conf: keystore.screen
diff -u build/red5/server/dist/conf/red5-core.xml
dist/red5/conf/red5-core.xml
--- build/red5/server/dist/conf/red5-core.xml 2013-09-11 10:20:40.0
+0700
+++ dist/red5/conf/red5-core.xml 2013-09-11 11:40:57.164516433 +0700
@@ -152,11 +152,11 @@
  /bean

!-- RTMPS --
-!--
+!-- --
 bean id=rtmpsMinaIoHandler
class=org.red5.server.net.rtmps.RTMPSMinaIoHandler
 property name=handler ref=rtmpHandler /
 property name=codecFactory ref=rtmpCodecFactory /
-property name=rtmpConnManager ref=rtmpConnManager /
+!--property name=rtmpConnManager ref=rtmpConnManager /--
 property name=keyStorePassword value=${rtmps.keystorepass} /
 property name=keystoreFile value=conf/keystore /
 /bean
@@ -174,7 +174,7 @@
 property name=ioThreads value=${rtmp.io_threads} /
 property name=tcpNoDelay value=${rtmp.tcp_nodelay} /
 /bean
---
+!-- --

!-- Enable when you need it. - - 


*modify config.xml:*
solomax@antares:~/work/openmeetings/branches/2.x$ diff -u
./WebContent/openmeetings/config.xml
./dist/red5/webapps/openmeetings/config.xml
--- ./WebContent/openmeetings/config.xml 2013-09-11 10:14:01.872499393 +0700
+++ ./dist/red5/webapps/openmeetings/config.xml 2013-09-11
11:39:36.564516170 +0700
@@ -47,16 +47,16 @@

 You can find all this configuration in your red5-Config in:
$RED5_HOME/conf/red5.properties
  --
-rtmpport1935/rtmpport
+rtmpport11935/rtmpport

 !--
 Port to use for the Server
 To this port the fallback is done once the default rtmport failed
 this should workaround 99% of all firewalls
  --
-rtmpTunnelport8088/rtmpTunnelport
+rtmpTunnelport18088/rtmpTunnelport

-rtmpsslport443/rtmpsslport
+rtmpsslport8443/rtmpsslport
 !--
 Wether it should try to connect to rtmps first or not
 Valid values: yes / no
@@ -64,7 +64,7 @@
 NOTE: The OSx and Linux Flash Player are NOT able to connect via rtmps
 The support for Windows is experimental
  --
-useSSLno/useSSL
+useSSLyes/useSSL

 !--
 Port to use for the Server
@@ -85,7 +85,7 @@
 set to value best if you are trying to use rtmp over native SSL
 see:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetConnection.html#proxyType
  --
-proxyTypenone/proxyType
+proxyTypebest/proxyType


Everything seems to work as expected



On Wed, Sep 11, 2013 at 10:16 AM, John Tran findingj...@gmail.com wrote:

 Thanks Maxim.  Once you once edit the /usr/lib/red5/conf/red5-core.xml and
 uncomment !-- RTMPS -- section by removing the !-- and the --, it would
 not start.


 On Tue, Sep 10, 2013 at 8:10 PM, Maxim Solodovnik solomax...@gmail.comwrote:

 I'll try to set this up myself and will report back


 On Wed, Sep 11, 2013 at 12:38 AM, John Tran findingj...@gmail.comwrote:

 Maxim -

 I can't get SSL to work on your build.  I am trying to get this work one
 step at time, first getting RTMPS work and it will not start.
 If I install it from a SVN check out, would it be the same that you
 complile for 2.2 with the updated red5?  I also noticed that the svn path
 frm openmeetings/branches/2.1/ has been change to
 openmeetings/branches/2.x/  would this be the svn path for 2.2?




 On Sun, Sep 8, 2013 at 9:55 PM, Maxim Solodovnik 
 solomax...@gmail.comwrote:

 Hello All,

 Here is the version with Red5 server updated

 https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%202.x/

 please NOTE: no DB changes were made, same DB without backup/restore
 can be used.

 I would really appreciate stability/compatibility reports :)


 On Sat, Sep 7, 2013 at 2:22 PM, John Tran findingj...@gmail.comwrote:

 Thank you Maxim for the reply.  I have such a problem getting SSL to
 work on standard port (443)  that is below 1024 w/o root.  I'll wait for
 your red5 update in 2.1 branch.  Once that is done, I would be happy to
 rebuilt my Linux OS and OM211 from scratch, test it out, and report back.

 -john-


 On Fri, Sep 6, 2013 at 11:08 PM, Maxim Solodovnik 
 solomax...@gmail.com wrote:

 Sorry for not responding (I was hoping anybody else can help)
 I'm not very good in SSL configuration :(

 It seems like red5 is not very stable while it is over SSL :(
 As workaround you can try to do the following:

 1) close 1935 port on your server
 2) start OM
 3) using mod_proxy set up redirect from
 http://om_server:8088/openmeetings to https://om_server/openmeetings

 all traffic in this case should go through Apache, not sure if it
 will work (i believe it should)

 I'll try to update red5 in 2.1 branch and if it all will be more
 stable maybe we can release 2.2.0

 If you can help and try intermediate builds and report back if it
 works better or not it might help :)



 

how to give initially-only attributes dynamic values?

2013-09-11 Thread Mathias Bässler
Hi @ all,

I want to give an initially-only attribute a dynamic value, but it isn't 
working as expected. For example, lets say I have sth like this:
 

text name=text1 text=$once{vid.micro.rate}
text name=text2 y=20 text=${vid.micro.rate}
 
videoview name=vid

attribute name=val value=22 type=number/

microphone name=micro rate=#value#/

/videoview


rate ist the initially-only attribute. text1 shows the rate when micro is 
initialized. If I replace rate=#value# with rate=22 text1 and text2 have 
the value 22, but if I use rate=$once{parent.val} text1 has the value 8 
(default for rate) and text2 has the value 22. Since rate is initially-only it 
seems the rate 8 is kept and the microphone quality suffers... Is there a way 
to make it work with a dynamic value? And if not, is it possible to make a new 
microphone instance in videoview with the required parameters? If yes, how? I 
tried a little bit with new lz.microphone(this, {name:micro, rate:val}); 
and the like but couldn't get anything that works.

Greetings,

Mathias


unsubscribe

2013-09-11 Thread Rishi Agarwal
unsubscribe

-- 
Rishi Agarwal
Final Year Undergraduate
Department of Mathematics
Indian Institute of Technology, Delhi


Re: unsubscribe

2013-09-11 Thread Aziz Rasool
unsubscribe

On 11 Sep 2013, at 11:08, Rishi Agarwal wrote:

 unsubscribe
 
 -- 
 Rishi Agarwal
 Final Year Undergraduate
 Department of Mathematics
 Indian Institute of Technology, Delhi



Re: Video Frozen - OpenMeetings/Red5 stuck

2013-09-11 Thread Maxim Solodovnik
red5 server was updated in 2.2.
I need help in testing of this major change.
If this build will be considered more stable I'll update the instructions.
I haven't checked SSL yet. Hopefully will check this week


On Thu, Sep 12, 2013 at 12:43 AM, John Tran findingj...@gmail.com wrote:

 Oh, Ok.  keystore file I have, just not keystore.screen
 I finally got it working, or at least up and accessible via SSL web
 interface and RTMPS port listening.

 Can you clarify the below for me?

 I did not have to comment out the below on the 2.1 build/installtion

 !--property name=rtmpConnManager ref=rtmpConnManager /--
 Why now on the 2.2 build for it to work?

 Secondly, why is the jee-container-ssl.xml missing on the 2.2 build.  The
 existing jee-container.xml that comes with the build not not seem work when
 you try to access the page via https.  I had to copy it
 jee-container-ssl.xml from the 2.1 build and rename to jee-container.xml in
 order to access the page via https successfully.

 Thank again Maxim for your guidance.

 -john-



 On Wed, Sep 11, 2013 at 10:00 AM, Maxim Solodovnik 
 solomax...@gmail.comwrote:

 you need to create it as you have created keystore file (as stated
 here: http://openmeetings.apache.org/RTMPSAndHTTPS.html)


 On Wed, Sep 11, 2013 at 11:58 PM, John Tran findingj...@gmail.comwrote:

 Where would I get that?  keystore.screen is no where to be found when I
 do a search.  I just finish a build from scratch from an svn checkout
 installation.


 On Wed, Sep 11, 2013 at 9:54 AM, Maxim Solodovnik 
 solomax...@gmail.comwrote:

 keystore.screen is necessary for screensharing via RTMPS


 On Wed, Sep 11, 2013 at 11:09 PM, John Tran findingj...@gmail.comwrote:

 Thanks Maxim.  My setting are identical int he config.xml except that
 values are different.

 As for the red5-core.xml setting. I did't comment out the below


 -property name=rtmpConnManager ref=rtmpConnManager /

 +!--property name=rtmpConnManager ref=rtmpConnManager /--

 I left as is like I did in all of my 2.1 set up configuration.  I will
 comment out on the 2.2 build and see if it works.

 As for the ../conf directory, I don't have a keystore.screen file.  I
 just have keystore file that I created and keystore.jmx file that is
 already there.




 --
 WBR
 Maxim aka solomax




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




 --
 WBR
 Maxim aka solomax




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




-- 
WBR
Maxim aka solomax


Re: Video Frozen - OpenMeetings/Red5 stuck

2013-09-11 Thread John Tran
Thanks Maxim.  My setting are identical int he config.xml except that
values are different.

As for the red5-core.xml setting. I did't comment out the below

-property name=rtmpConnManager ref=rtmpConnManager /

+!--property name=rtmpConnManager ref=rtmpConnManager /--

I left as is like I did in all of my 2.1 set up configuration.  I will
comment out on the 2.2 build and see if it works.

As for the ../conf directory, I don't have a keystore.screen file.  I just
have keystore file that I created and keystore.jmx file that is already
there.


Re: Video Frozen - OpenMeetings/Red5 stuck

2013-09-11 Thread John Tran
Maxim -

I am not getting video/audio on SSL/RTMPS connection from the far end and
vice versa.  I logged in fine and enter a room, and start a conference.  I
get a black screen from far end and vice versa.  Local video is fine.  I
hangs when logging out. Loading... in red just stays there,

Will try this non SSL/RTMPS mode if it i experience these issues.

-john-


On Wed, Sep 11, 2013 at 10:50 AM, Maxim Solodovnik solomax...@gmail.comwrote:

 red5 server was updated in 2.2.
 I need help in testing of this major change.
 If this build will be considered more stable I'll update the instructions.
 I haven't checked SSL yet. Hopefully will check this week


 On Thu, Sep 12, 2013 at 12:43 AM, John Tran findingj...@gmail.com wrote:

 Oh, Ok.  keystore file I have, just not keystore.screen
 I finally got it working, or at least up and accessible via SSL web
 interface and RTMPS port listening.

 Can you clarify the below for me?

 I did not have to comment out the below on the 2.1 build/installtion

 !--property name=rtmpConnManager ref=rtmpConnManager /--
 Why now on the 2.2 build for it to work?

 Secondly, why is the jee-container-ssl.xml missing on the 2.2 build.  The
 existing jee-container.xml that comes with the build not not seem work when
 you try to access the page via https.  I had to copy it
 jee-container-ssl.xml from the 2.1 build and rename to jee-container.xml in
 order to access the page via https successfully.

 Thank again Maxim for your guidance.

 -john-



 On Wed, Sep 11, 2013 at 10:00 AM, Maxim Solodovnik 
 solomax...@gmail.comwrote:

 you need to create it as you have created keystore file (as stated
 here: http://openmeetings.apache.org/RTMPSAndHTTPS.html)


 On Wed, Sep 11, 2013 at 11:58 PM, John Tran findingj...@gmail.comwrote:

 Where would I get that?  keystore.screen is no where to be found when I
 do a search.  I just finish a build from scratch from an svn checkout
 installation.


 On Wed, Sep 11, 2013 at 9:54 AM, Maxim Solodovnik solomax...@gmail.com
  wrote:

 keystore.screen is necessary for screensharing via RTMPS


 On Wed, Sep 11, 2013 at 11:09 PM, John Tran findingj...@gmail.comwrote:

 Thanks Maxim.  My setting are identical int he config.xml except that
 values are different.

 As for the red5-core.xml setting. I did't comment out the below


 -property name=rtmpConnManager ref=rtmpConnManager /

 +!--property name=rtmpConnManager ref=rtmpConnManager
 /--

 I left as is like I did in all of my 2.1 set up configuration.  I
 will comment out on the 2.2 build and see if it works.

 As for the ../conf directory, I don't have a keystore.screen file.  I
 just have keystore file that I created and keystore.jmx file that is
 already there.




 --
 WBR
 Maxim aka solomax




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




 --
 WBR
 Maxim aka solomax




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




 --
 WBR
 Maxim aka solomax




-- 
jt

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


Re: Video Frozen - OpenMeetings/Red5 stuck

2013-09-11 Thread John Tran
Where would I get that?  keystore.screen is no where to be found when I do
a search.  I just finish a build from scratch from an svn checkout
installation.


On Wed, Sep 11, 2013 at 9:54 AM, Maxim Solodovnik solomax...@gmail.comwrote:

 keystore.screen is necessary for screensharing via RTMPS


 On Wed, Sep 11, 2013 at 11:09 PM, John Tran findingj...@gmail.com wrote:

 Thanks Maxim.  My setting are identical int he config.xml except that
 values are different.

 As for the red5-core.xml setting. I did't comment out the below


 -property name=rtmpConnManager ref=rtmpConnManager /

 +!--property name=rtmpConnManager ref=rtmpConnManager /--

 I left as is like I did in all of my 2.1 set up configuration.  I will
 comment out on the 2.2 build and see if it works.

 As for the ../conf directory, I don't have a keystore.screen file.  I
 just have keystore file that I created and keystore.jmx file that is
 already there.




 --
 WBR
 Maxim aka solomax




-- 
jt

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


Re: Video Frozen - OpenMeetings/Red5 stuck

2013-09-11 Thread John Tran
Thanks Maxim.  I noticed the performance on the 2.2 is a little better in
navigating, saving changes, and converting and posting files to whiteboard
w/o the big X.  I will test long video session on SSL/RTMPS mode to see
if it still hangs.

-john-


On Wed, Sep 11, 2013 at 10:50 AM, Maxim Solodovnik solomax...@gmail.comwrote:

 red5 server was updated in 2.2.
 I need help in testing of this major change.
 If this build will be considered more stable I'll update the instructions.
 I haven't checked SSL yet. Hopefully will check this week


 On Thu, Sep 12, 2013 at 12:43 AM, John Tran findingj...@gmail.com wrote:

 Oh, Ok.  keystore file I have, just not keystore.screen
 I finally got it working, or at least up and accessible via SSL web
 interface and RTMPS port listening.

 Can you clarify the below for me?

 I did not have to comment out the below on the 2.1 build/installtion

 !--property name=rtmpConnManager ref=rtmpConnManager /--
 Why now on the 2.2 build for it to work?

 Secondly, why is the jee-container-ssl.xml missing on the 2.2 build.  The
 existing jee-container.xml that comes with the build not not seem work when
 you try to access the page via https.  I had to copy it
 jee-container-ssl.xml from the 2.1 build and rename to jee-container.xml in
 order to access the page via https successfully.

 Thank again Maxim for your guidance.

 -john-



 On Wed, Sep 11, 2013 at 10:00 AM, Maxim Solodovnik 
 solomax...@gmail.comwrote:

 you need to create it as you have created keystore file (as stated
 here: http://openmeetings.apache.org/RTMPSAndHTTPS.html)


 On Wed, Sep 11, 2013 at 11:58 PM, John Tran findingj...@gmail.comwrote:

 Where would I get that?  keystore.screen is no where to be found when I
 do a search.  I just finish a build from scratch from an svn checkout
 installation.


 On Wed, Sep 11, 2013 at 9:54 AM, Maxim Solodovnik solomax...@gmail.com
  wrote:

 keystore.screen is necessary for screensharing via RTMPS


 On Wed, Sep 11, 2013 at 11:09 PM, John Tran findingj...@gmail.comwrote:

 Thanks Maxim.  My setting are identical int he config.xml except that
 values are different.

 As for the red5-core.xml setting. I did't comment out the below


 -property name=rtmpConnManager ref=rtmpConnManager /

 +!--property name=rtmpConnManager ref=rtmpConnManager
 /--

 I left as is like I did in all of my 2.1 set up configuration.  I
 will comment out on the 2.2 build and see if it works.

 As for the ../conf directory, I don't have a keystore.screen file.  I
 just have keystore file that I created and keystore.jmx file that is
 already there.




 --
 WBR
 Maxim aka solomax




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




 --
 WBR
 Maxim aka solomax




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




 --
 WBR
 Maxim aka solomax




-- 
jt

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