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.
Manuel RaƱa wrote:
> ----------> Reading data <-------------
> clientStreams[0] = new StreamClient();
> ns1.play(ru);
> ns2.client = clientStreams[0];
>
Shouldn't be: ns1.client = objectWithOnImageDataMethod;?
The method should be called on clients playing that stream
Here, the playing NetStream is ns1
Also, try using another method name (e.g. OnImageBytes) since i think
onImageData is a reserved method and i'm not sure if this is the intended
usage (get image metadata from h264 or mp3 files?)
_______________________________________________
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org