If you have an application named "vod" with StreamType "default", and you use it to stream static content, for example like this:
Code:
netconnection.connect("rtmp://[wowza-address]:1935/vod");
var nsVOD:NetStream = new NetStream(netconnection);
nsVod.play("Extremists.flv");
You can use also use this application to stream to "publish live and vod with the same application.xml"
Code:
netconnection.call("setStreamType",null,"live");
var nsLive:NetStream = new NetStream(netconnection);
Note that you call setStreamType using the netconnection before you use that netconnection to create a new NetStream.
Richard