For the 0.4 branch i'm looking at...
http://svn1.cvsdude.com/osflash/red5/java/server/branches/red5-0_4-branch/src/org/red5/server/net/rtmp/RTMPHandler.java
...but the "sessionCreated" method is not there.
The trunk location you mentioned, at...
http://svn1.cvsdude.com/osflash/red5/java/server/trunk/src/org/red5/server/net/rtmp/RTMPMinaIoHandler.java
I do indeed see the "sessionCreated" method, but I don't see the ProtocolState getting 'set'
Am I looking in the wrong repositories?
Please advise. Thanks.
Philip.
On 5/29/06, Joachim Bauch <[EMAIL PROTECTED]> wrote:
Hi Philip,
Philip Posgate wrote:
> In line 14 of org.red5.server.net.rtmp.codec.RTMPMinaProtocolEncoder i
> see...
>
> final ProtocolState state = (ProtocolState)
> session.getAttribute (ProtocolState.SESSION_KEY);
>
> ...but when & where in the code do we SET the ProtocolState in the
> mina-session??? i.e.: "session.setAttribute(ProtocolState.SESSION_KEY,
> fooState); " ???
>
> I looked everywhere, but i could not find it.
The attribute is set in "org.red5.server.net.rtmp.RTMPHandler.sessionCreated"
for the 0.4 branch and in
"org.red5.server.net.rtmp.RTMPMinaIoHandler.sessionCreated " for the trunk.
HTH
Joachim
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
