get width and height of streaming camera
I have a stream going through flash media server and its working. I have a simple flash app that is viewing the stream.
I need to pull the height and width of the broadcasted cam in the client. I have been trying with getting metadata but
everything always comes out undefiend.
Any help would be awesome. If there is no metadata with cams if I could create stuff on the streaming app that would be nice.
I tried to pass some but I cant figure out if it works or how to grab on the other side.
this is what I tried to send it with
var metaData:Object = new Object();
metaData.title = "myStream";
metaData.width = 320;
metaData.height = 240;
cam_ns.send("@setDataFrame", "onMetaData", metaData);
So I am stuck on as how to pull it in the client.