2011-12-13 77 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的值並重試。