[Red5devs] RTMP Edge/Origin has been merged to trunk (r2486)
Dan Rossi
spam at electroteque.org
Fri Nov 30 08:27:52 PST 2007
I'm also guessing a property needs to be added for the origin
connection on the edge distro
<bean id="mrtmpClient"
class="org.red5.server.net.mrtmp.MRTMPClient" init-method="start" >
<property name="ioHandler" ref="mrtmpHandler" />
<property name="server" value="localhost" />
<property name="port" value="${mrtmp.port}" />
</bean>
This is really exciting because I'm pretty sure wowza only has 'live
replication'
On 30/11/2007, at 11:20 AM, Steven Gong wrote:
> Hi all,
> It seems commit notification doesn't work any longer so I put a
> notice here. I have just merged the RTMP Edge/Origin from clustering
> branch to the trunk and done a minimal test on it successfully. Hope
> you guys can help to review the code change to make sure there won't
> be regressions. Thanks.
>
> Here are the major changes to the original code base to ease the
> merging (as well as to enhance the code design IMHO).
> (1) I have made all RTMP events to be Externalizable so that they
> can be serialized and sent between Edge and Origin. The reason why I
> didn't use AMF for serializing is that Java serializing is quite
> straight-forward and faster and the bandwidth between Edge and
> Origin is supposed to be big enough. The code is designed flexible
> enough to replace the serializing method. We can try AMF in the
> future to see if there's any benefit.
> (2) Use a RTMP Connection Manager (RTMPConnManager) to manage the
> creation and destroy and lookup of connection. The manager will
> create the client ID for all connections it creates. Add client ID
> and RTMP state to RTMPConnection (originally only RTMPTConnection
> has it). This will ease the inheritance implementation of other
> connections like RTMPOriginConnection etc.
> (3) A minor fix in PlaylistSubscriberStream to always create
> pullAndPush background thread in the beginning. This will fix the
> problem when written method() is not called somehow. I saw the
> written() is only for gluing old code. Joachim, is the comment
> written by you? Can you tell me more details about this?
> (4) Added all the MRTMP stuff and related spring configurations.
>
> I will put a notice on the user list after writing a setup doc on
> the wiki.
>
> Thanks.
>
> --
> Best Regards
> Steven Gong
>
> InfraRed5 Red5 Consultant: http://www.infrared5.com, steven at infrared5.com
>
> Red5 Developer: http://osflash.org/red5 , http://jira.red5.org/confluence/display/
> ~steven/Home
>
> Modesty is an overrated quality in men of no great accomplishment.
> -- Ricky Jay _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20071201/b1a23dcc/attachment.html
More information about the Red5devs
mailing list