Skip to main content
March 14, 2011
Question

get width and height of streaming camera

  • March 14, 2011
  • 1 reply
  • 515 views

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.

This topic has been closed for replies.

1 reply

Kenneth Kawamoto
Community Expert
Community Expert
March 14, 2011

Comments at the bottom of this page may be useful

http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d56e-7ff6.html

March 14, 2011

No that didn't help I had already read all that and tried those things didn't work.

I am on fms 4 ent. I did the send part and recieve part but not getting the info.

March 18, 2011

I still can't figure this out???