Maxim,
Please can you look at the rmtps code that I pasted below in the earlier mail, 
everything looks good to me according to the instructions, except that I change 
http port 5080 to 80 and 5443 to 443 due to firewall blockages at my place 
work. Do appreciate your input.
Thanks

oluwaseun

On Jul 22, 2015 9:30 AM, Maxim Solodovnik <solomax...@gmail.com> wrote:
>
> according to your screensharing.log RTMPS is not configured properly
> keystore.screen is not passed to the client
>
> On Wed, Jul 22, 2015 at 8:12 PM, awotipe oluwaseun 
> <awotipeoluwas...@yahoo.com> wrote:
>>
>> hi wild,
>> thanks for your input, but i have checked the sugested part and correct 
>> everyports that need adjustment, below is the complete configuratin code 
>> from each file, and also as for the certs i copied main keystore.jks and 
>> rename it as screen.keystore.jks as well as trustores.
>> thanks
>>
>>
>>
>> configuration in /red5/conf# vi red5.properties
>>
>> # Socket policy
>> policy.host=0.0.0.0
>> policy.port=843
>>
>> # HTTP
>> http.host=174.141.252.78
>> http.port=80
>> https.port=5443
>> http.URIEncoding=UTF-8
>> http.max_keep_alive_requests=-1
>> http.max_threads=20
>> http.acceptor_thread_count=10
>> http.processor_cache=20
>>
>> # RTMP
>> rtmp.host=174.141.252.78
>> rtmp.port=1935
>> rtmp.io_threads=16
>> rtmp.send_buffer_size=65536
>> rtmp.receive_buffer_size=65536
>> rtmp.ping_interval=1000
>> rtmp.max_inactivity=60000
>> rtmp.max_handshake_time=5000
>> rtmp.tcp_nodelay=true
>> rtmp.tcp_keepalive=false
>> rtmp.default_server_bandwidth=10000000
>> rtmp.default_client_bandwidth=10000000
>> rtmp.client_bandwidth_limit_type=2
>> rtmp.bandwidth_detection=false
>> rtmp.encoder_base_tolerance=5000
>> rtmp.encoder_drop_live_future=false
>> # traffic optimization hinting. to disable set traffic class set to -1
>> # low delay + high throughput == 24 (0x18)
>> rtmp.traffic_class=-1
>> # requested maximum length of the queue of incoming connections
>> rtmp.backlog=32
>> # the interval (seconds) between each throughput calculation
>> rtmp.thoughput_calc_interval=15
>> # enable use of the default mina acceptor
>> rtmp.default_acceptor=true
>> # socket i/o pool sizes used when default acceptor is disabled
>> rtmp.initial_pool_size=0
>> rtmp.max_pool_size=2
>> rtmp.max_processor_pool_size=16
>> rtmp.executor_keepalive_time=60000
>> mina.logfilter.enable=false
>> # scheduler configs (per connection)
>> rtmp.scheduler.pool_size=2
>> # adjust this as needed if you get tasks rejected
>> rtmp.executor.queue_capacity=64
>> # drop audio packets when queue is almost full, to disable this, set to 0
>> rtmp.executor.queue_size_to_drop_audio_packets=60
>> # maximum amount of time allotted to process a single rtmp message / packet 
>> in milliseconds, set it as 0 to disable timeout
>> rtmp.max_handling_time=5000
>>
>> # RTMPS
>> rtmps.host=174.141.252.78
>> rtmps.port=8443
>> rtmps.ping_interval=5000
>> rtmps.max_inactivity=60000
>> rtmps.max_keep_alive_requests=-1
>> rtmps.max_threads=20
>> rtmps.acceptor_thread_count=2
>> rtmps.processor_cache=20
>> # RTMPS Key and Trust store parameters
>> rtmps.keystorepass=password
>> rtmps.keystorefile=conf/keystore.jks
>> rtmps.truststorepass=password
>> rtmps.truststorefile=conf/truststore.jks
>> rtmps.screen.keystorepass=password
>> rtmps.screen.keystorefile=conf/screen.keystore.jks
>> rtmps.screen.truststorepass=password
>> rtmps.screen.truststorefile=conf/screen.truststore.jks
>> # RTMPT
>>
>>
>>
>> configuration in folder   red5/webapps/openmeetings/public/config.xml
>>
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>>
>> <config
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>     xsi:noNamespaceSchemaLocation="config.xsd">
>>
>> <!-- URL/IP to use for the Server for RTMP and RTMPT traffic.
>>     If this value is empty it will try to connect to the
>>     domain-name the OpenMeetings-Client has been loading from
>>
>>     Can be either and IP or a domain name.
>>     For example:
>>     <rtmphostlocal>192.168.254.182</rtmphostlocal>
>>     or
>>     <rtmphostlocal>mysubdomain.streaming.to</rtmphostlocal>
>>     -->
>> <rtmphostlocal></rtmphostlocal>
>>
>> <!-- URL/IP to use for the Server for HTTP and HTTPS traffic.
>>     If this value is empty it will use the rtmphostlocal
>>     variable (and in that way try to connect to the
>>     domain-name the OpenMeetings-Client has been loading from)
>>     -->
>> <httphostlocal></httphostlocal>
>>
>>
>> <rtmpport>1935</rtmpport>
>>
>> <rtmpsslport>8443</rtmpsslport>
>>
>> <useSSL>yes</useSSL>
>>
>> <red5httpport>443</red5httpport>
>>
>>
>> <protocol>https</protocol>
>>
>>
>> <proxyType>best</proxyType>
>>
>>
>> configuration on red5/webapps/openmeetings/WEB-INF/conf/axis2.xml
>>
>>   <transportReceiver name="http"
>>                        
>> class="org.apache.axis2.transport.http.SimpleHTTPServer">
>>         <parameter name="port">8080</parameter>
>>         <!-- Here is the complete list of supported parameters (see example 
>> settings further below):
>>             port: the port to listen on (default 6060)
>>             hostname:  if non-null, url prefix used in reply-to endpoint 
>> references                                 (default null)
>>             originServer:  value of http Server header in outgoing messages  
>>                                        (default "Simple-Server/1.1")
>>             requestTimeout:  value in millis of time that requests can wait 
>> for data                                (default 20000)
>>             requestTcpNoDelay:  true to maximize performance and minimize 
>> latency                                   (default true)
>>                                 false to minimize bandwidth consumption by 
>> combining segments
>>             requestCoreThreadPoolSize:  number of threads available for 
>> request processing (unless queue fills up)  (default 25)
>>             requestMaxThreadPoolSize:  number of threads available for 
>> request processing if queue fills up         (default 150)
>>                                        note that default queue never fills 
>> up:  see HttpFactory
>>             threadKeepAliveTime:  time to keep threads in excess of core 
>> size alive while inactive                  (default 180)
>>                                   note that no such threads can exist with 
>> default unbounded request queue
>>             threadKeepAliveTimeUnit:  TimeUnit of value in 
>> threadKeepAliveTime (default SECONDS)                    (default SECONDS)
>>         -->
>>         <!-- <parameter name="hostname">http://www.myApp.com/ws</parameter> 
>> -->
>>         <!-- <parameter name="originServer">My-Server/1.1</parameter>        
>>    -->
>>         <!-- <parameter name="requestTimeout">10000</parameter>              
>>      -->
>>         <!-- <parameter name="requestTcpNoDelay">false</parameter>           
>>         -->
>>         <!-- <parameter name="requestCoreThreadPoolSize">50</parameter>      
>>                 -->
>>         <!-- <parameter name="requestMaxThreadPoolSize">100</parameter>      
>>                -->
>>         <!-- <parameter name="threadKeepAliveTime">240000</parameter>        
>>           -->
>>         <!-- <parameter 
>> name="threadKeepAliveTimeUnit">MILLISECONDS</parameter>            -->
>>     </transportReceiver>
>>     <transportReceiver name="https" 
>> class="org.apache.axis2.transport.http.AxisServletListener">
>>     <parameter name="port">443</parameter>
>>    </transportReceiver>
>>
>>
>>
>>
>>
>> On Tuesday, July 21, 2015 5:33 PM, "Wild, Rodney" 
>> <rodney.w...@cybastevens.com> wrote:
>>
>>
>> One more thing, I noticed you change the default ports from 5080 to 80, make 
>> sure you changed the config.xml (you need to either stop and restart the 
>> service or reboot your server in order for this to take effect) file in the 
>> /openmeetings/webapps/openmeetings/public folder.  That could also be the 
>> reason it is not working.
>>  
>> http://openmeetings.apache.org/PortSettings.html
>>  
>> Rodney Wild
>>  
>>  
>> From: Awotipe Oluwaseun [mailto:awotipeoluwas...@yahoo.com] 
>> Sent: July-21-15 1:02 PM
>> To: Wild, Rodney
>> Subject: RE: screen sharing not working
>>  
>> The instructions from the openmeetings site is silent about this part of the 
>> config, also every other part of the application works as expected, that is 
>> why I am confused.
>> Please kindly let me know if I need to more than this only part.
>> Thanks
>> oluwaseun
>> On Jul 21, 2015 1:51 PM, "Wild, Rodney" <rodney.w...@cybastevens.com> wrote:
>> There are four lines in your config file that need to be set to the host 
>> name or ip of your server:
>>  
>> http.host=0.0.0.0
>> rtmp.host=0.0.0.0
>> rtmps.host=0.0.0.0
>> rtmpt.host=0.0.0.0
>>  
>> Rodney Wild | IT Support
>>  
>> From: awotipe oluwaseun [mailto:awotipeoluwas...@yahoo.com] 
>> Sent: July-21-15 12:48 PM
>> To: user@openmeetings.apache.org
>> Subject: screen sharing not working
>>  
>> I have two signed certificate in the server one for screen sharing and the 
>> other for regular rmpts ,I had keystore.jks rmtps and screen.keystore  for 
>> screen sharing, I have tried to follow the instruction piece by piece , 
>> could not figure out why the screen sharing is not working, please help me 
>> out with  possible advice on how to resolve thi.have attached the screen 
>> share log and the last open meetings log and my configuration settings on 
>> red5.properies is as below
>>  
>>  
>> thanks
>>  
>>  
>>  
>>  
>> root@openmeeting:/opt/red5306/conf# ls
>> access.properties             no-jee-container.xml  red5.policy
>> catalina.policy               OATICA2.cer           red5.properties
>> context.xml                   OATIIA2013.cer        red5.xml
>> ehcache.xml                   password.properties   screen.csr
>> jee-container.xml             quartz.properties     screen.keystore.jks
>> keystore.jks                  realm.properties      screen.truststore.jks
>> keystore.jmx                  red5-common.xml       tomcat-users.xml
>> logback.xml                   red5-core.xml         truststore.jks
>> meetings.oati.net.cer         red5.csr              truststore.jmx
>> meetings.screen.oati.net.cer  red5.globals          web.xml
>>  
>>  
>>  
>>  
>> # Socket policy
>> policy.host=0.0.0.0
>> policy.port=843
>>  
>> # HTTP
>> http.host=0.0.0.0
>> http.port=80
>> https.port=443
>> http.URIEncoding=UTF-8
>> http.max_keep_alive_requests=-1
>> http.max_threads=20
>> http.acceptor_thread_count=10
>> http.processor_cache=20
>> # RTMP
>> rtmp.host=0.0.0.0
>> rtmp.port=1935
>> rtmp.io_threads=16
>> rtmp.send_buffer_size=65536
>> rtmp.receive_buffer_size=65536
>> rtmp.ping_interval=1000
>> rtmp.max_inactivity=60000
>> rtmp.max_handshake_time=5000
>> rtmp.tcp_nodelay=true
>> rtmp.tcp_keepalive=false
>> rtmp.default_server_bandwidth=10000000
>> rtmp.default_client_bandwidth=10000000
>> rtmp.client_bandwidth_limit_type=2
>> rtmp.bandwidth_detection=false
>> rtmp.encoder_base_tolerance=5000
>> rtmp.encoder_drop_live_future=false
>> # traffic optimization hinting. to disable set traffic class set to -1
>> # low delay + high throughput == 24 (0x18)
>> rtmp.traffic_class=-1
>> # requested maximum length of the queue of incoming connections
>> rtmp.backlog=32
>> # the interval (seconds) between each throughput calculation
>> rtmp.thoughput_calc_interval=15
>> # enable use of the default mina acceptor
>> rtmp.default_acceptor=true
>> # socket i/o pool sizes used when default acceptor is disabled
>> rtmp.initial_pool_size=0
>> rtmp.max_pool_size=2
>> rtmp.max_processor_pool_size=16
>> rtmp.executor_keepalive_time=60000
>> mina.logfilter.enable=false
>> # scheduler configs (per connection)
>> rtmp.scheduler.pool_size=2
>> rtmp.executor.queue_capacity=64
>> # drop audio packets when queue is almost full, to disable this, set to 0
>> rtmp.executor.queue_size_to_drop_audio_packets=60
>> # maximum amount of time allotted to process a single rtmp message / packet 
>> in milliseconds, set it as 0 to disable timeout
>> rtmp.max_handling_time=5000
>>  
>> # RTMPS
>> rtmps.host=0.0.0.0
>> rtmps.port=8443
>> rtmps.ping_interval=5000
>> rtmps.max_inactivity=60000
>> rtmps.max_keep_alive_requests=-1
>> rtmps.max_threads=20
>> rtmps.acceptor_thread_count=2
>> rtmps.processor_cache=20
>> # RTMPS Key and Trust store parameters
>> rtmps.keystorepass=password
>> rtmps.keystorefile=conf/keystore.jks
>> rtmps.truststorepass=password
>> rtmps.truststorefile=conf/truststore.jks
>>   rtmps.screen.keystorepass=password
>> rtmps.screen.keystorefile=conf/screen.keystore.jks
>> rtmps.screen.truststorepass=password
>> rtmps.screen.truststorefile=conf/screen.truststore.jks
>> # RTMPT
>> rtmpt.host=0.0.0.0
>> rtmpt.port=8088
>> rtmpt.ping_interval=5000
>> rtmpt.max_inactivity=60000
>> rtmpt.max_handshake_time=5000
>> rtmpt.max_keep_alive_requests=-1
>> rtmpt.max_threads=20
>> rtmpt.acceptor_thread_count=2
>> rtmpt.processor_cache=20
>> rtmpt.encoder_base_tolerance=5000
>>  
>>
>>
>
>
>
> -- 
> WBR
> Maxim aka solomax

Reply via email to