A NetStream in Data Generation Mode only supports FLV formatted data. It is possible to support other data formats but you have to manually modify the bytes to conform to the FLV format.
It's a huge pain and takes quite a bit of time, but it's certainly possible to implement. I've done it several times for several different projects.
Here is an example that I've used to play TS files via NetStream: https://github.com/nweber/hls-as/blob/master/hlsPluginLib/src/at/matthew/httpstreaming/HTTPStreamingMP2PESVideo.as (Not code I wrote; taken from another open source project and updated to OSMF 2.0)