According to the NetStream API, Flash can play LOCAL RAW video by calling ns.play("raw:filename");
.
My question is how can Flash play RAW video data from a ByteArray
? I have basically set my NetStream object to data generation mode by calling play(null)
, but whenever I call ns.appendBytes(byteArray)
nothing is happening because apparently, appendBytes
only support FLV data.
So now I hope that someone has also encountered this before, how can I make Flash play raw video data from a ByteArray?