문제

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);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top