[Red5] RTMPConnection questions

Thomas Williams thomas.williams at dubitlimited.com
Mon Jul 31 12:40:05 EDT 2006


Hi Guys,
I was hoping that you could answer some questions I had about the Java
classes. We are working on RTMP streaming, and I have been looking at
the classes that you have set up, and I just wanted to clarify some of
the functions.

RTMPConnection has two sets of methods that look very similar, invoke &
notify. I have successfully sent messages back to the client with
something along the lines of 

<java>
this.connection.notify("inform", new Object[]{_message});
</java>
<as>
nc = new NetConnection();
nc.connect("rtmp://localhost/nexus");
nc.inform = function(obj:Object){
			
				//do fireworks, etc.
		}
</as>

However, notify has no such effect.

Could someone let me know the difference?

Many thanks,
Tom




More information about the Red5 mailing list