I'm trying to upload file on server which send from Flex GUI with rtmp protocol. I asked yesterday how to send file's data on server: Upload file on server through rtmps+java
But now i have problem with how to convert org.red5.io.amf3.ByteArray in something that i can correctly save in file.
Cam some one help me?
To get the array:
byte[] bytes = new byte[byteArray.length()];
byteArray.readBytes(bytes);