« Return to Thread: OnImageData

Re: OnImageData

by rfkrocktk :: Rate this Message:

Reply to Author | View in Thread

ns.client = { onImageData: function(...arguments):void { trace("HELLO!"); } };

On Mon, Jul 6, 2009 at 9:22 AM, Andy Shaules <bowljoman@...> wrote:
Should be able to call it manually, if implemented on ALL clients INCLUDING broadcaster client.
 
Not only your subscribers, but your broadcaster ALSO must have the function.
----- Original Message -----
From: info@...
Sent: Monday, July 06, 2009 6:56 AM
Subject: Re: [Red5] OnImageData

I read this on this link:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#event:onImageData

"Dispatched when Flash Player receives image data as a byte array embedded in a media file that is playing"

So i'm not sure if you can use that method for ns.send.
Have you tried another method name e.g. "onMyCustomImageData"?




2009/7/6 ddprasad <ddprasad@...>

Oh Sorry,

I posted wrong information about Reading Data

>>>>>>. clientStreams[0] = new StreamClient();
>>>>>>  ns2.play(ru);
>>>>>>  ns2.client = clientStreams[0];

Now I hope thing would be easier to understand.


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

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




--
And do this, knowing the time, that now it is high time to awake out of sleep;
for now our salvation is nearer than when we first believed.

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

 « Return to Thread: OnImageData