2011-12-13 70 views
0

我有一台红色5服务器,并使用常规rtmpt成功运行。 我也做了必要的修改按本link红色5 - 通过rtmpt连接问题

观看通过RTMP一个典型的工作连接RED5的日志。我看到以下内容。

==> /var/log/red5/error.log <== 
2011-12-12 10:48:41,261 [http-8088-exec-2] ERROR o.r.server.net.rtmp.RTMPHandshake - Unable to validate client 

==> /var/log/red5/red5.log <== 
2011-12-12 10:48:41,261 [http-8088-exec-2] ERROR o.r.server.net.rtmp.RTMPHandshake - Unable to validate client 
2011-12-12 10:48:41,484 [http-8088-exec-3] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action connect 
2011-12-12 10:48:41,492 [http-8088-exec-3] INFO o.red5.server.net.rtmp.RTMPHandler - Connecting to: [[email protected] Depth = 1, Path = '/default', Name = 'splitstream'] 
2011-12-12 10:48:41,731 [http-8088-exec-4] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action authorize1 
2011-12-12 10:48:41,971 [http-8088-exec-5] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action authorize2 
2011-12-12 10:48:42,200 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action releaseStream 
2011-12-12 10:48:42,200 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action FCPublish 
2011-12-12 10:48:42,202 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action createStream 
2011-12-12 10:48:42,432 [http-8088-exec-2] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action publish 
2011-12-12 10:48:42,440 [http-8088-exec-2] INFO o.r.s.stream.ClientBroadcastStream - Provider connect 
2011-12-12 10:48:42,441 [http-8088-exec-2] INFO o.r.s.stream.ClientBroadcastStream - Stream start 
2011-12-12 10:48:42,442 [http-8088-exec-2] INFO o.r.s.stream.ClientBroadcastStream - Provider connect 
2011-12-12 10:48:43,118 [http-8088-exec-5] INFO o.r.s.stream.codec.ScreenVideo2 - Allocating memory for 510 compressed blocks 

当我切换到RTMPT我似乎没有看到供应商连接,流开始的消息 - 当然永远不会启动我的信息流。

==> /var/log/red5/error.log <== 
2011-12-12 10:57:52,177 [http-8088-exec-2] ERROR o.r.server.net.rtmp.RTMPHandshake - Unable to validate client 

==> /var/log/red5/red5.log <== 
2011-12-12 10:57:52,177 [http-8088-exec-2] ERROR o.r.server.net.rtmp.RTMPHandshake - Unable to validate client 
2011-12-12 10:57:52,405 [http-8088-exec-3] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action connect 
2011-12-12 10:57:52,411 [http-8088-exec-3] INFO o.red5.server.net.rtmp.RTMPHandler - Connecting to: [[email protected] Depth = 1, Path = '/default', Name = 'splitstream'] 
2011-12-12 10:57:52,613 [http-8088-exec-4] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action authorize1 
2011-12-12 10:57:52,847 [http-8088-exec-5] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action authorize2 
2011-12-12 10:57:53,079 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action releaseStream 
2011-12-12 10:57:53,079 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action FCPublish 
2011-12-12 10:57:53,079 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action createStream 
2011-12-12 10:57:53,316 [http-8088-exec-2] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action publish 

我也注意到这一点在我的日志

2011-12-13 04:54:00,980 [http-8088-exec-2] INFO o.red5.server.net.rtmp.RTMPHandler - Scope :80/splitstream not found on dev-100.host.com:80:80 

==> /var/log/red5/error.log <== 
2011-12-13 04:54:05,105 [Red5_Scheduler_Worker-1] WARN o.r.server.net.rtmp.RTMPConnection - Closing RTMPTConnection from 127.0.0.1 : 47814 to localhost.localdomain (in: 3626 out 3265), with id 6 due to long handshake 

==> /var/log/red5/red5.log <== 
2011-12-13 04:54:05,105 [Red5_Scheduler_Worker-1] WARN o.r.server.net.rtmp.RTMPConnection - Closing RTMPTConnection from 127.0.0.1 : 47814 to localhost.localdomain (in: 3626 out 3265), with id 6 due to long handshake 
2011-12-13 04:54:06,402 [http-8088-exec-1] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - Action connect 
2011-12-13 04:54:06,403 [http-8088-exec-1] INFO o.red5.server.net.rtmp.RTMPHandler - Connecting to: [[email protected] Depth = 1, Path = '/default', Name = 'splitstream'] 

任何想法

回答

2

变化的rtmpt.max_inactivityred5.properties文件中的值。还要更改red5-core.xml文件的rtmpt部分中maxHandshakeTimeout的值并重试。