timestamp branch

View: New views
6 Messages — Rating Filter:   Alert me  

timestamp branch

by Sales Department :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello again,

Finally had a chance to deploy the timestamp branch from Art Clarke a
while ago.  Been using it for several weeks without any bad things
happening :-)

Has the branch been merged into the trunk yet?

Thanks,
Bill

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: timestamp branch

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, it has and is part of the 0.9.0 RC2 release (3 Nov 09). If there are no significant errors in the next couple days, there will be a 0.9.0 Final released.

Paul

On Fri, Nov 6, 2009 at 11:14 AM, Sales Department <sales@...> wrote:
Hello again,

Finally had a chance to deploy the timestamp branch from Art Clarke a while ago.  Been using it for several weeks without any bad things happening :-)

Has the branch been merged into the trunk yet?
Thanks,
Bill

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: timestamp branch

by Michael Hollenbeck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is a bit of weirdness to it, though. I've been using the AMF servlet for inter-application communication with no significant problems. Trying out the trunk post-r3895,  it throws this error:

java.lang.ClassCastException: org.red5.server.net.rtmp.RTMPMinaConnection cannot be cast to org.red5.server.api.remoting.IRemotingConnection
    at org.red5.server.net.remoting.codec.RemotingProtocolEncoder.encode(RemotingProtocolEncoder.java:85) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.sendResponse(AMFGatewayServlet.java:266) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.serviceAMF(AMFGatewayServlet.java:183) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.service(AMFGatewayServlet.java:119) [red5.jar:na]


The culprit being this:

IRemotingConnection conn = (IRemotingConnection) Red5.getConnectionLocal();

Which works as expected pre-r3895. I wouldn't say it was significant, but it is a trifle weird.

On Fri, Nov 6, 2009 at 12:24 PM, Mondain <mondain@...> wrote:
Yes, it has and is part of the 0.9.0 RC2 release (3 Nov 09). If there are no significant errors in the next couple days, there will be a 0.9.0 Final released.

Paul


On Fri, Nov 6, 2009 at 11:14 AM, Sales Department <sales@...> wrote:
Hello again,

Finally had a chance to deploy the timestamp branch from Art Clarke a while ago.  Been using it for several weeks without any bad things happening :-)

Has the branch been merged into the trunk yet?
Thanks,
Bill

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: timestamp branch

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael,
Your issue is due to a change that I made to the encoder/decoder classes, they all used to implement some common interfaces / classes but now are more compact and specific. If youre in the servlet and using an RTMPConnection, dont cast it, just use it as is or extend it.

Paul

On Fri, Nov 6, 2009 at 1:51 PM, Michael Hollenbeck <bigdaddyexlax@...> wrote:

There is a bit of weirdness to it, though. I've been using the AMF servlet for inter-application communication with no significant problems. Trying out the trunk post-r3895,  it throws this error:

java.lang.ClassCastException: org.red5.server.net.rtmp.RTMPMinaConnection cannot be cast to org.red5.server.api.remoting.IRemotingConnection
    at org.red5.server.net.remoting.codec.RemotingProtocolEncoder.encode(RemotingProtocolEncoder.java:85) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.sendResponse(AMFGatewayServlet.java:266) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.serviceAMF(AMFGatewayServlet.java:183) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.service(AMFGatewayServlet.java:119) [red5.jar:na]


The culprit being this:

IRemotingConnection conn = (IRemotingConnection) Red5.getConnectionLocal();

Which works as expected pre-r3895. I wouldn't say it was significant, but it is a trifle weird.


On Fri, Nov 6, 2009 at 12:24 PM, Mondain <mondain@...> wrote:
Yes, it has and is part of the 0.9.0 RC2 release (3 Nov 09). If there are no significant errors in the next couple days, there will be a 0.9.0 Final released.

Paul


On Fri, Nov 6, 2009 at 11:14 AM, Sales Department <sales@...> wrote:
Hello again,

Finally had a chance to deploy the timestamp branch from Art Clarke a while ago.  Been using it for several weeks without any bad things happening :-)

Has the branch been merged into the trunk yet?
Thanks,
Bill

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: timestamp branch

by Michael Hollenbeck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Sorry, should have been more specific. The casting is being done in org.red5.server.net.remoting.codec.RemotingProtocolEncoder, line 85. Red5.getConnectionLocal() is returning an RTMPMinaConnection and not a RemotingConnection for some reason. I'm using RemotingClient in both post- and
pre-r3895.


On Fri, Nov 6, 2009 at 4:04 PM, Mondain <mondain@...> wrote:
Michael,
Your issue is due to a change that I made to the encoder/decoder classes, they all used to implement some common interfaces / classes but now are more compact and specific. If youre in the servlet and using an RTMPConnection, dont cast it, just use it as is or extend it.

Paul


On Fri, Nov 6, 2009 at 1:51 PM, Michael Hollenbeck <bigdaddyexlax@...> wrote:

There is a bit of weirdness to it, though. I've been using the AMF servlet for inter-application communication with no significant problems. Trying out the trunk post-r3895,  it throws this error:

java.lang.ClassCastException: org.red5.server.net.rtmp.RTMPMinaConnection cannot be cast to org.red5.server.api.remoting.IRemotingConnection
    at org.red5.server.net.remoting.codec.RemotingProtocolEncoder.encode(RemotingProtocolEncoder.java:85) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.sendResponse(AMFGatewayServlet.java:266) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.serviceAMF(AMFGatewayServlet.java:183) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.service(AMFGatewayServlet.java:119) [red5.jar:na]


The culprit being this:

IRemotingConnection conn = (IRemotingConnection) Red5.getConnectionLocal();

Which works as expected pre-r3895. I wouldn't say it was significant, but it is a trifle weird.


On Fri, Nov 6, 2009 at 12:24 PM, Mondain <mondain@...> wrote:
Yes, it has and is part of the 0.9.0 RC2 release (3 Nov 09). If there are no significant errors in the next couple days, there will be a 0.9.0 Final released.

Paul


On Fri, Nov 6, 2009 at 11:14 AM, Sales Department <sales@...> wrote:
Hello again,

Finally had a chance to deploy the timestamp branch from Art Clarke a while ago.  Been using it for several weeks without any bad things happening :-)

Has the branch been merged into the trunk yet?
Thanks,
Bill

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: timestamp branch

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you want to send me a working sample, I may find some time to debug it.

Paul

On Fri, Nov 6, 2009 at 4:18 PM, Michael Hollenbeck <bigdaddyexlax@...> wrote:

Sorry, should have been more specific. The casting is being done in org.red5.server.net.remoting.codec.RemotingProtocolEncoder, line 85. Red5.getConnectionLocal() is returning an RTMPMinaConnection and not a RemotingConnection for some reason. I'm using RemotingClient in both post- and
pre-r3895.



On Fri, Nov 6, 2009 at 4:04 PM, Mondain <mondain@...> wrote:
Michael,
Your issue is due to a change that I made to the encoder/decoder classes, they all used to implement some common interfaces / classes but now are more compact and specific. If youre in the servlet and using an RTMPConnection, dont cast it, just use it as is or extend it.

Paul


On Fri, Nov 6, 2009 at 1:51 PM, Michael Hollenbeck <bigdaddyexlax@...> wrote:

There is a bit of weirdness to it, though. I've been using the AMF servlet for inter-application communication with no significant problems. Trying out the trunk post-r3895,  it throws this error:

java.lang.ClassCastException: org.red5.server.net.rtmp.RTMPMinaConnection cannot be cast to org.red5.server.api.remoting.IRemotingConnection
    at org.red5.server.net.remoting.codec.RemotingProtocolEncoder.encode(RemotingProtocolEncoder.java:85) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.sendResponse(AMFGatewayServlet.java:266) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.serviceAMF(AMFGatewayServlet.java:183) [red5.jar:na]
    at org.red5.server.net.servlet.AMFGatewayServlet.service(AMFGatewayServlet.java:119) [red5.jar:na]


The culprit being this:

IRemotingConnection conn = (IRemotingConnection) Red5.getConnectionLocal();

Which works as expected pre-r3895. I wouldn't say it was significant, but it is a trifle weird.


On Fri, Nov 6, 2009 at 12:24 PM, Mondain <mondain@...> wrote:
Yes, it has and is part of the 0.9.0 RC2 release (3 Nov 09). If there are no significant errors in the next couple days, there will be a 0.9.0 Final released.

Paul


On Fri, Nov 6, 2009 at 11:14 AM, Sales Department <sales@...> wrote:
Hello again,

Finally had a chance to deploy the timestamp branch from Art Clarke a while ago.  Been using it for several weeks without any bad things happening :-)

Has the branch been merged into the trunk yet?
Thanks,
Bill

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org