You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Thibault Le Meur <Th...@supelec.fr> on 2012/03/30 11:32:56 UTC
RTMPS, error while starting red5
Hi,
I've followed the following RTMPS guide:
http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
However, when starting Red5 I get the following error:
Error creating bean with name 'rtmpsTransport' ....
Invalid property 'receiveBufferSize' ...
Bean property 'receiveBufferSize' is not writable or has an invalid
setter method.
While googling for this issue I've found a reference to a ticket in Red5:
http://code.google.com/p/red5/issues/detail?id=159
So far it is mentionned: "to be addressed post 1.0 release"
Have you been confronted to this ?
Is there a solution (for instance installing an older Red5 version, but
which one is known to work ?).
Thanks in advance for your help,
Thibault
Re: RTMPS, error while starting red5
Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Thibault,
can you please check if ScreenSharing over rtpms works for you?
Unfortunately I'm unable to test it since I have no site with valid
certificate.
Thanks in advance
On Mon, Apr 2, 2012 at 16:57, Maxim Solodovnik <so...@gmail.com> wrote:
> I think it does make sense.
> I'll correct the document as soon as I can test RTMPS for ScreenSharing
> client.
>
>
> On Mon, Apr 2, 2012 at 16:54, <t....@gmail.com> wrote:
>
>> You're right: I didn't figure out that the name of the downloaded file
>> was different from the name of the target file.
>>
>> Why not modify the "download xxx TO yyy" to "replace contents of
>> jee-container.xml with jee-container-ssl.xml" ?
>> Or even better: "download jee-container-ssl.xml, then copy it to
>> re5/conf/jee-container.xml (overwritting the existing file)".
>> It sounds less ambiguous. What do you think ?
>>
>> Thibault
>>
>>
>>
>> Le 02/04/2012 11:49, Maxim Solodovnik a écrit :
>>
>> I also thought this step is missing
>> but instruction says: download jee-container-ssl.xml to
>> jee-container.xml
>>
>> in other words replace contents of jee-container.xml with
>> jee-container-ssl.xml
>>
>> this is why I haven't changed instruction.
>>
>>
>> On Mon, Apr 2, 2012 at 16:33, <t....@gmail.com> wrote:
>>
>>> While we are looking at the
>>> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html howto, I've
>>> found a missing step when you want to configure HTTPS:
>>> In order to have the jee-container-ssl.xml container loaded, you need to
>>> update red5.xml by adding the following line (just before the last </bean>):
>>> <import resource="classpath:/jee-container-ssl.xml"/>
>>>
>>> This is at least what is missing when using openmeetings_1_9_1_r4707.zip<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>
>>> .
>>>
>>> Regards,
>>> Thibault
>>>
>>>
>>> Le 02/04/2012 10:01, Thibault Le Meur a écrit :
>>>
>>> Le 30/03/2012 19:52, Maxim Solodovnik a écrit :
>>>
>>> great
>>> I'll update the documentation at
>>> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>>>
>>>
>>> Thanks,
>>> Not however that this page is not working for the latest stable version
>>> available on code.google.com (openmeetings_1_9_1_r4707.zip<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>),
>>> because the default RTMPS section is "faulty". It works ok with the default
>>> RTMPS section from the Apache Incubator SVN trunk.
>>>
>>> Regards,
>>> Thibault
>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Maxim Solodovnik <so...@gmail.com>.
I think it does make sense.
I'll correct the document as soon as I can test RTMPS for ScreenSharing
client.
On Mon, Apr 2, 2012 at 16:54, <t....@gmail.com> wrote:
> You're right: I didn't figure out that the name of the downloaded file
> was different from the name of the target file.
>
> Why not modify the "download xxx TO yyy" to "replace contents of
> jee-container.xml with jee-container-ssl.xml" ?
> Or even better: "download jee-container-ssl.xml, then copy it to
> re5/conf/jee-container.xml (overwritting the existing file)".
> It sounds less ambiguous. What do you think ?
>
> Thibault
>
>
>
> Le 02/04/2012 11:49, Maxim Solodovnik a écrit :
>
> I also thought this step is missing
> but instruction says: download jee-container-ssl.xml to
> jee-container.xml
>
> in other words replace contents of jee-container.xml with
> jee-container-ssl.xml
>
> this is why I haven't changed instruction.
>
>
> On Mon, Apr 2, 2012 at 16:33, <t....@gmail.com> wrote:
>
>> While we are looking at the
>> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html howto, I've
>> found a missing step when you want to configure HTTPS:
>> In order to have the jee-container-ssl.xml container loaded, you need to
>> update red5.xml by adding the following line (just before the last </bean>):
>> <import resource="classpath:/jee-container-ssl.xml"/>
>>
>> This is at least what is missing when using openmeetings_1_9_1_r4707.zip<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>
>> .
>>
>> Regards,
>> Thibault
>>
>>
>> Le 02/04/2012 10:01, Thibault Le Meur a écrit :
>>
>> Le 30/03/2012 19:52, Maxim Solodovnik a écrit :
>>
>> great
>> I'll update the documentation at
>> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>>
>>
>> Thanks,
>> Not however that this page is not working for the latest stable version
>> available on code.google.com (openmeetings_1_9_1_r4707.zip<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>),
>> because the default RTMPS section is "faulty". It works ok with the default
>> RTMPS section from the Apache Incubator SVN trunk.
>>
>> Regards,
>> Thibault
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
--
WBR
Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Maxim Solodovnik <so...@gmail.com>.
I also thought this step is missing
but instruction says: download jee-container-ssl.xml to
jee-container.xml
in other words replace contents of jee-container.xml with
jee-container-ssl.xml
this is why I haven't changed instruction.
On Mon, Apr 2, 2012 at 16:33, <t....@gmail.com> wrote:
> While we are looking at the
> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html howto, I've
> found a missing step when you want to configure HTTPS:
> In order to have the jee-container-ssl.xml container loaded, you need to
> update red5.xml by adding the following line (just before the last </bean>):
> <import resource="classpath:/jee-container-ssl.xml"/>
>
> This is at least what is missing when using openmeetings_1_9_1_r4707.zip<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>
> .
>
> Regards,
> Thibault
>
>
> Le 02/04/2012 10:01, Thibault Le Meur a écrit :
>
> Le 30/03/2012 19:52, Maxim Solodovnik a écrit :
>
> great
> I'll update the documentation at
> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>
>
> Thanks,
> Not however that this page is not working for the latest stable version
> available on code.google.com (openmeetings_1_9_1_r4707.zip<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>),
> because the default RTMPS section is "faulty". It works ok with the default
> RTMPS section from the Apache Incubator SVN trunk.
>
> Regards,
> Thibault
>
>
>
--
WBR
Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Thibault Le Meur <Th...@supelec.fr>.
Le 30/03/2012 19:52, Maxim Solodovnik a écrit :
> great
> I'll update the documentation
> at http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>
Thanks,
Not however that this page is not working for the latest stable version
available on code.google.com (openmeetings_1_9_1_r4707.zip
<http://code.google.com/p/openmeetings/downloads/detail?name=openmeetings_1_9_1_r4707.zip&can=2&q=>),
because the default RTMPS section is "faulty". It works ok with the
default RTMPS section from the Apache Incubator SVN trunk.
Regards,
Thibault
Re: RTMPS, error while starting red5
Posted by Maxim Solodovnik <so...@gmail.com>.
great
I'll update the documentation at
http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
On Sat, Mar 31, 2012 at 00:50, Thibault Le Meur
<Th...@supelec.fr>wrote:
> Thanks Maxim for this test.
>
> I've followowed your recommendations and it seems to work. The differences
> between my working setup and my previous one are:
> * I' used the <!-- RTMPS definition from the current trunk (overwritting
> the old one that was referring to unsupported parameters)
> * I've changed the port to 5443 instead of 8443 (but i think this is not
> relevant)
> * I've added <proxyType>best</proxyType> (Previously it was set to
> "none").
>
> Thanks again,
> Thibault
>
>
> Le 30/03/2012 18:48, Maxim Solodovnik a écrit :
>
> Hello Thibault
>
> I was able to set up RTPMS on trunk version (rev. 1307530.) using
> following steps
>
> *Set up RTMPS*
> ------------------------------
>
>
> 1. Uncomment <!-- RTMPS --> section in red5/conf/red5-core.xml
> 2. Edit red5/conf/red5.properties and set rtmps.port=5443 and
> rtmps.keystorepass=password (password = password you set on your new
> keystore)
> 3. Edit red5/webapps/openmeetings/config.xml and set
> <rtmpsslport>5443</rtmpsslport> , <useSSL>yes</useSSL>and
> <proxyType>best</proxyType>
> 4. Restart red5 and try to connect - your connection should now be
> made via RTMPS (close port 1935 to be sure)
>
>
> Unfortunately I was unable to test it since I have NO _real_ certificate
> I'll try to get certificate to test and will update instruction on site in
> case of success
>
>
> On Fri, Mar 30, 2012 at 19:27, Thibault Le Meur <
> Thibault.LeMeur@supelec.fr> wrote:
>
>> Le 30/03/2012 13:06, Maxim Solodovnik a écrit :
>>
>> I'm going to test RTPMS today/tomorrow will let you know what I have found
>>
>>
>> Thanks,
>> I'll wait for your feedback then.
>>
>> Regards,
>> Thibault
>>
>>
>>
>>
>> On Fri, Mar 30, 2012 at 16:35, Thibault Le Meur <
>> Thibault.LeMeur@supelec.fr> wrote:
>>
>>> By the way, if I comment the 2 following lines in red5-core.xml
>>> <property name="receiveBufferSize"
>>> value="${rtmp.receive_buffer_size}" />
>>> <property name="sendBufferSize" value="${rtmp.send_buffer_size}"
>>> />
>>>
>>> Then Red5 starts, opens port 8443 (supposed to work for RTPMS), but it
>>> wont serve the RTMPS service.
>>>
>>> Le 30/03/2012 11:32, Thibault Le Meur a écrit :
>>> > Hi,
>>> >
>>> > I've followed the following RTMPS guide:
>>> > http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>>> >
>>> > However, when starting Red5 I get the following error:
>>> > Error creating bean with name 'rtmpsTransport' ....
>>> > Invalid property 'receiveBufferSize' ...
>>> > Bean property 'receiveBufferSize' is not writable or has an invalid
>>> > setter method.
>>> >
>>> >
>>> > While googling for this issue I've found a reference to a ticket in
>>> Red5:
>>> > http://code.google.com/p/red5/issues/detail?id=159
>>> > So far it is mentionned: "to be addressed post 1.0 release"
>>> >
>>> > Have you been confronted to this ?
>>> > Is there a solution (for instance installing an older Red5 version, but
>>> > which one is known to work ?).
>>> >
>>> > Thanks in advance for your help,
>>> > Thibault
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
--
WBR
Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Thibault Le Meur <Th...@supelec.fr>.
Thanks Maxim for this test.
I've followowed your recommendations and it seems to work. The
differences between my working setup and my previous one are:
* I' used the <!-- RTMPS definition from the current trunk (overwritting
the old one that was referring to unsupported parameters)
* I've changed the port to 5443 instead of 8443 (but i think this is not
relevant)
* I've added <proxyType>best</proxyType> (Previously it was set to "none").
Thanks again,
Thibault
Le 30/03/2012 18:48, Maxim Solodovnik a écrit :
> Hello Thibault
>
> I was able to set up RTPMS on trunk version (rev. 1307530.) using
> following steps
>
> *Set up RTMPS*
> ------------------------------------------------------------------------
>
> 1. Uncomment <!-- RTMPS --> section in red5/conf/red5-core.xml
> 2. Edit red5/conf/red5.properties and
> set rtmps.port=5443 and rtmps.keystorepass=password (password
> = password you set on your new keystore)
> 3. Edit red5/webapps/openmeetings/config.xml and
> set <rtmpsslport>5443</rtmpsslport> , <useSSL>yes</useSSL>and <proxyType>best</proxyType>
> 4. Restart red5 and try to connect - your connection should now
> be made via RTMPS (close port 1935 to be sure)
>
>
> Unfortunately I was unable to test it since I have NO _real_ certificate
> I'll try to get certificate to test and will update instruction on
> site in case of success
>
>
> On Fri, Mar 30, 2012 at 19:27, Thibault Le Meur
> <Thibault.LeMeur@supelec.fr <ma...@supelec.fr>> wrote:
>
> Le 30/03/2012 13:06, Maxim Solodovnik a écrit :
>> I'm going to test RTPMS today/tomorrow will let you know what I
>> have found
>
> Thanks,
> I'll wait for your feedback then.
>
> Regards,
> Thibault
>
>
>
>>
>> On Fri, Mar 30, 2012 at 16:35, Thibault Le Meur
>> <Thibault.LeMeur@supelec.fr <ma...@supelec.fr>>
>> wrote:
>>
>> By the way, if I comment the 2 following lines in red5-core.xml
>> <property name="receiveBufferSize"
>> value="${rtmp.receive_buffer_size}" />
>> <property name="sendBufferSize"
>> value="${rtmp.send_buffer_size}" />
>>
>> Then Red5 starts, opens port 8443 (supposed to work for
>> RTPMS), but it
>> wont serve the RTMPS service.
>>
>> Le 30/03/2012 11:32, Thibault Le Meur a écrit :
>> > Hi,
>> >
>> > I've followed the following RTMPS guide:
>> > http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>> >
>> > However, when starting Red5 I get the following error:
>> > Error creating bean with name 'rtmpsTransport' ....
>> > Invalid property 'receiveBufferSize' ...
>> > Bean property 'receiveBufferSize' is not writable or
>> has an invalid
>> > setter method.
>> >
>> >
>> > While googling for this issue I've found a reference to a
>> ticket in Red5:
>> > http://code.google.com/p/red5/issues/detail?id=159
>> > So far it is mentionned: "to be addressed post 1.0 release"
>> >
>> > Have you been confronted to this ?
>> > Is there a solution (for instance installing an older Red5
>> version, but
>> > which one is known to work ?).
>> >
>> > Thanks in advance for your help,
>> > Thibault
>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>
>
>
>
> --
> WBR
> Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Thibault
I was able to set up RTPMS on trunk version (rev. 1307530.) using following
steps
*Set up RTMPS*
------------------------------
1. Uncomment <!-- RTMPS --> section in red5/conf/red5-core.xml
2. Edit red5/conf/red5.properties and set rtmps.port=5443 and
rtmps.keystorepass=password (password = password you set on your new
keystore)
3. Edit red5/webapps/openmeetings/config.xml and set
<rtmpsslport>5443</rtmpsslport> , <useSSL>yes</useSSL>and
<proxyType>best</proxyType>
4. Restart red5 and try to connect - your connection should now be made
via RTMPS (close port 1935 to be sure)
Unfortunately I was unable to test it since I have NO _real_ certificate
I'll try to get certificate to test and will update instruction on site in
case of success
On Fri, Mar 30, 2012 at 19:27, Thibault Le Meur
<Th...@supelec.fr>wrote:
> Le 30/03/2012 13:06, Maxim Solodovnik a écrit :
>
> I'm going to test RTPMS today/tomorrow will let you know what I have found
>
>
> Thanks,
> I'll wait for your feedback then.
>
> Regards,
> Thibault
>
>
>
>
> On Fri, Mar 30, 2012 at 16:35, Thibault Le Meur <
> Thibault.LeMeur@supelec.fr> wrote:
>
>> By the way, if I comment the 2 following lines in red5-core.xml
>> <property name="receiveBufferSize"
>> value="${rtmp.receive_buffer_size}" />
>> <property name="sendBufferSize" value="${rtmp.send_buffer_size}" />
>>
>> Then Red5 starts, opens port 8443 (supposed to work for RTPMS), but it
>> wont serve the RTMPS service.
>>
>> Le 30/03/2012 11:32, Thibault Le Meur a écrit :
>> > Hi,
>> >
>> > I've followed the following RTMPS guide:
>> > http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>> >
>> > However, when starting Red5 I get the following error:
>> > Error creating bean with name 'rtmpsTransport' ....
>> > Invalid property 'receiveBufferSize' ...
>> > Bean property 'receiveBufferSize' is not writable or has an invalid
>> > setter method.
>> >
>> >
>> > While googling for this issue I've found a reference to a ticket in
>> Red5:
>> > http://code.google.com/p/red5/issues/detail?id=159
>> > So far it is mentionned: "to be addressed post 1.0 release"
>> >
>> > Have you been confronted to this ?
>> > Is there a solution (for instance installing an older Red5 version, but
>> > which one is known to work ?).
>> >
>> > Thanks in advance for your help,
>> > Thibault
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
--
WBR
Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Thibault Le Meur <Th...@supelec.fr>.
Le 30/03/2012 13:06, Maxim Solodovnik a écrit :
> I'm going to test RTPMS today/tomorrow will let you know what I have found
Thanks,
I'll wait for your feedback then.
Regards,
Thibault
>
> On Fri, Mar 30, 2012 at 16:35, Thibault Le Meur
> <Thibault.LeMeur@supelec.fr <ma...@supelec.fr>> wrote:
>
> By the way, if I comment the 2 following lines in red5-core.xml
> <property name="receiveBufferSize"
> value="${rtmp.receive_buffer_size}" />
> <property name="sendBufferSize"
> value="${rtmp.send_buffer_size}" />
>
> Then Red5 starts, opens port 8443 (supposed to work for RTPMS), but it
> wont serve the RTMPS service.
>
> Le 30/03/2012 11:32, Thibault Le Meur a écrit :
> > Hi,
> >
> > I've followed the following RTMPS guide:
> > http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
> >
> > However, when starting Red5 I get the following error:
> > Error creating bean with name 'rtmpsTransport' ....
> > Invalid property 'receiveBufferSize' ...
> > Bean property 'receiveBufferSize' is not writable or has an
> invalid
> > setter method.
> >
> >
> > While googling for this issue I've found a reference to a
> ticket in Red5:
> > http://code.google.com/p/red5/issues/detail?id=159
> > So far it is mentionned: "to be addressed post 1.0 release"
> >
> > Have you been confronted to this ?
> > Is there a solution (for instance installing an older Red5
> version, but
> > which one is known to work ?).
> >
> > Thanks in advance for your help,
> > Thibault
>
>
>
>
> --
> WBR
> Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Maxim Solodovnik <so...@gmail.com>.
I'm going to test RTPMS today/tomorrow will let you know what I have found
On Fri, Mar 30, 2012 at 16:35, Thibault Le Meur
<Th...@supelec.fr>wrote:
> By the way, if I comment the 2 following lines in red5-core.xml
> <property name="receiveBufferSize"
> value="${rtmp.receive_buffer_size}" />
> <property name="sendBufferSize" value="${rtmp.send_buffer_size}" />
>
> Then Red5 starts, opens port 8443 (supposed to work for RTPMS), but it
> wont serve the RTMPS service.
>
> Le 30/03/2012 11:32, Thibault Le Meur a écrit :
> > Hi,
> >
> > I've followed the following RTMPS guide:
> > http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
> >
> > However, when starting Red5 I get the following error:
> > Error creating bean with name 'rtmpsTransport' ....
> > Invalid property 'receiveBufferSize' ...
> > Bean property 'receiveBufferSize' is not writable or has an invalid
> > setter method.
> >
> >
> > While googling for this issue I've found a reference to a ticket in
> Red5:
> > http://code.google.com/p/red5/issues/detail?id=159
> > So far it is mentionned: "to be addressed post 1.0 release"
> >
> > Have you been confronted to this ?
> > Is there a solution (for instance installing an older Red5 version, but
> > which one is known to work ?).
> >
> > Thanks in advance for your help,
> > Thibault
>
>
--
WBR
Maxim aka solomax
Re: RTMPS, error while starting red5
Posted by Thibault Le Meur <Th...@supelec.fr>.
By the way, if I comment the 2 following lines in red5-core.xml
<property name="receiveBufferSize"
value="${rtmp.receive_buffer_size}" />
<property name="sendBufferSize" value="${rtmp.send_buffer_size}" />
Then Red5 starts, opens port 8443 (supposed to work for RTPMS), but it
wont serve the RTMPS service.
Le 30/03/2012 11:32, Thibault Le Meur a écrit :
> Hi,
>
> I've followed the following RTMPS guide:
> http://incubator.apache.org/openmeetings/RTMPSAndHTTPS.html
>
> However, when starting Red5 I get the following error:
> Error creating bean with name 'rtmpsTransport' ....
> Invalid property 'receiveBufferSize' ...
> Bean property 'receiveBufferSize' is not writable or has an invalid
> setter method.
>
>
> While googling for this issue I've found a reference to a ticket in Red5:
> http://code.google.com/p/red5/issues/detail?id=159
> So far it is mentionned: "to be addressed post 1.0 release"
>
> Have you been confronted to this ?
> Is there a solution (for instance installing an older Red5 version, but
> which one is known to work ?).
>
> Thanks in advance for your help,
> Thibault