数日後、私はred5 authdemoを(Eclipse Junoで)機能させようとしています。
参照: http: //blog.infrared5.com/2012/05/red5-authentication/
demo-project source:http ://dl.dropbox.com/u/7316897/ir5/blog/red5-auth.zip
red5サーバーは正常に動作しているようです。
...
[INFO] [Launcher:/authdemo] org.red5.demo.auth.Application - Available auth providers: 1
しかし、 Flash Media Live Encoder 2.3を介して rtmp:// localhost / authdemoに接続しようとすると、次のエラー/例外が発生します。
[INFO] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action connect
[INFO] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandler - Connecting to: [WebScope@66bfa709 Depth = 1, Path = '/default', Name = 'authdemo']
[INFO] [NioProcessor-2] org.red5.demo.auth.Application - W3C x-category:session x-event:connect c-ip:127.0.0.1 c-client-id:0
[INFO] [NioProcessor-2] org.red5.demo.auth.FMSAuthenticationHandler - appConnect
[INFO] [NioProcessor-2] org.red5.demo.auth.FMSAuthenticationHandler - Connection: RTMPMinaConnection from 127.0.0.1 : 53362 to 127.0.0.1 (in: 3259 out 3073 )
[ERROR] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandler - Error connecting {}
java.lang.ClassCastException: org.red5.server.net.rtmp.status.StatusObject cannot be cast to java.lang.String
at org.red5.server.net.rtmp.RTMPConnection.connect(RTMPConnection.java:284) ~[red5.jar:na]
at org.red5.server.net.rtmp.RTMPMinaConnection.connect(RTMPMinaConnection.java:87) ~[red5.jar:na]
at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:268) ~[red5.jar:na]
(...多くの同様のエラーメッセージ...)
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 127.0.0.1 : 53362 to 127.0.0.1 (in: 3259 out 3177 ), with id 1 due to long handshake
誰かが以前にこの問題に遭遇したことがありますか?私の問題を解決するかもしれないアイデアはありますか?
前もって感謝します!