I'm not very familiar with these timeouts :(
Maybe Sebastian can help here

On Tue, Dec 11, 2012 at 6:54 PM, "SCOYER Fabrice (Chef d'unité) - CETE
Lyon/SG/INF" <fabrice.sco...@developpement-durable.gouv.fr> wrote:

> **
> Hello Maxim,
> Thank you very much. It's work fine. Now i'm able to start immediatly on
> the rtmpt protocol.
>
> the only downside is that now no users can use openmeetings with rtmp and
> therefore better performance. Ideally, i search to set the timeout of
> rtmp to 5s instead of 30s by default. I tried to change these settingsbelow 
> without
> success in the file mainMethod.lzx (line 146)
>
>         canvas.mediaerrortimeout = 30000;
>         canvas.medialoadtimeout = 30000;
>
>
> Have you any idea where I can change this setting ?
>
> Fabrice
>
>
> Le 09/12/2012 15:43, "> Maxim Solodovnik (par Internet, dépôt
> openmeetings-user-return-3824-fabrice.scoyer=developpement-durable.gouv...@incubator.apache.org)"
> a écrit :
>
> Dear Fabrice,
>
>  sorry for the late response
> please try the following:
>
>  1) open WebContent/src/base/mainMethods.lzx
> 2) go to line 383
> 3) write:
>  hib.protocollPort = canvas.rtmpTunnelport;
> hib.protocollName = 'rtmpt';
>
>  instead of
> hib.protocollPort = canvas.rtmpport;
>
>  this should work as expected
>
>
> On Tue, Dec 4, 2012 at 8:38 PM, "SCOYER Fabrice (Chef d'unité) - CETE
> Lyon/SG/INF" <fabrice.sco...@developpement-durable.gouv.fr> wrote:
>
>>  I changed the two line and recompiled OM and made a new installation
>> from scratch (new database, etc)
>> it's seems that it's worse than before (i have to wait 1 minute instead
>> of 30 secondes before see the try 1 of the rtmpt protocol)
>> Any ideas ?
>>
>> *Fabrice SCOYER**CETE de Lyon**Responsable informatique*Tél. 04 72 14 30 
>> 31Fax. 04 72 14 30 35
>>
>>
>> Le 04/12/2012 08:18, "> Maxim Solodovnik (par Internet, dépôt
>> openmeetings-user-return-3793-fabrice.scoyer=developpement-durable.gouv...@incubator.apache.org)"
>> a écrit :
>>
>> I guess so
>> please let me know if this doesn't help
>>
>>
>> On Tue, Dec 4, 2012 at 1:57 PM, "SCOYER Fabrice (Chef d'unité) - CETE
>> Lyon/SG/INF" <fabrice.sco...@developpement-durable.gouv.fr> wrote:
>>
>>> Hello,
>>>
>>> Should I just change the 2 lines below
>>>
>>> <attribute name="protocollName" type="string" value="rtmp" />
>>> <attribute name="protocollPort" type="string" value="$once{
>>> canvas.rtmpport }" />
>>>
>>> by these
>>>
>>> <attribute name="protocollName" type="string" value="rtmpt" />
>>> <attribute name="protocollPort" type="string" value="$once{
>>> canvas.rtmpTunnelport }" />
>>>
>>> Could you confirm ?
>>>
>>> Thank you again
>>>
>>> Fabrice
>>>
>>>
>>> Le 03/12/2012 17:00, "> Maxim Solodovnik (par Internet, dépôt
>>> openmeetings-user-return-3780-fabrice.scoyer=
>>> developpement-durable.gouv...@incubator.apache.org)" a écrit :
>>>
>>>> you can slightly modify the code and recompile to start from rtmpt
>>>>
>>>> change
>>>> WebContent/src/base/hibernate/hibRtmpConnection.lzx
>>>>
>>>> line 51
>>>> and recompile
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, Dec 3, 2012 at 9:09 PM, "SCOYER Fabrice (Chef d'unité) - CETE
>>>> Lyon/SG/INF" <fabrice.sco...@developpement-durable.gouv.fr <mailto:
>>>> fabrice.sco...@developpement-durable.gouv.fr>> wrote:
>>>>
>>>>     Thank you for your quick response.
>>>>
>>>>     It is a good idea, but I tried without convincing results. My
>>>>     firewall blocks port 1935 (or another random port) and sends a
>>>>     timeout immediately.
>>>>
>>>>     Could you tell me how and where you didthe timeout settings in
>>>>     your example (firewall, proxy, reverse proxy apache which is used
>>>>     by openmeetings, or in the OpenMeetings configuration config.xml),
>>>>     I'm a little disappointed.
>>>>
>>>>     Fabrice
>>>>
>>>>
>>>>     Le 03/12/2012 08:55, "> seba.wag...@gmail.com
>>>>     <mailto:seba.wag...@gmail.com> (par Internet, dépôt
>>>>     openmeetings-user-return-3776-fabrice.scoyer=
>>>> developpement-durable.gouv...@incubator.apache.org
>>>>     <mailto:openmeetings-user-return-3776-fabrice.scoyer=
>>>> developpement-durable.gouv...@incubator.apache.org>)"
>>>>     a écrit :
>>>>
>>>>>     Hallo Fabrice,
>>>>>
>>>>>     there might be a way to fix the first 3 times to only take 1
>>>>> second.
>>>>>     For example for me if the rtmp host is down the first 3 attempts
>>>>>     to connect take only 1 second in total.
>>>>>
>>>>>     Did you try to set the rtmp port to any random port that you know
>>>>>     that there will be a timeout send back quite immediately?
>>>>>     That way the timeout for the rtmp connection should be quite fast
>>>>>     and the switch to rtmpt might be almost as if it is the first try.
>>>>>
>>>>>     Sebastian
>>>>>
>>>>>
>>>>>     2012/12/3 "SCOYER Fabrice (Chef d'unité) - CETE Lyon/SG/INF"
>>>>>     <fabrice.sco...@developpement-durable.gouv.fr
>>>>>     <mailto:fabrice.sco...@developpement-durable.gouv.fr>>
>>>>>
>>>>>         Hello,
>>>>>
>>>>>         I use OpenMeetings via a reverse proxy to provide access from
>>>>>         a chain of proxy.
>>>>>
>>>>>         By default, so I use the protocol rtmpt, and when I connect
>>>>>         to the website I have to wait 3 unsuccessful attempts before
>>>>>         OpenMeetings switches on protocol rtmpt.
>>>>>
>>>>>         During this waiting (a bit long), users have a blank page. Is
>>>>>         there a way to insert such a simple animated gif (like please
>>>>>         wait ...) in this blank page.
>>>>>
>>>>>         Thank you for all your suggestions.
>>>>>         cordially
>>>>>
>>>>>         Fabrice
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>     --     Sebastian Wagner
>>>>>     https://twitter.com/#!/dead_lock <
>>>>> https://twitter.com/#%21/dead_lock>
>>>>>     http://www.webbase-design.de
>>>>>     http://www.wagner-sebastian.com
>>>>>     seba.wag...@gmail.com <mailto:seba.wag...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>
>>
>>  --
>> WBR
>> Maxim aka solomax
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Reply via email to