Hi,

I am looking at some api/methods for  Red5 similar to AMFData / AMFDataItem
of wowza. With Red5, how do we set a value to the AMF object? I tried the
following though am not sure if this is the correct way of doing it:

ByteBuffer buffer = ByteBuffer.allocate(1024);
buffer.setAutoExpand(true);
Output amfOutput = new Output(buffer);
amfOutput.writeNumber(c);
all.setAttribute("c", amfOutput);

I am not able to find any method to do so. May be i am missing something.
Could anyone please provide some inputs / samples.

-- 
Regards,
-Rajesh

"Stick to our roots and not to forget where we come from"
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to