[Red5] VOD streaming: how to get picture width & height ?

Victor dreamland_skib2 at mail333.com
Fri Apr 18 10:24:58 PDT 2008


Hello,

in our Flex app we are playing a recorded video files and trying to 
scale video window according to real stream resolution. We are handling 
"onMetaData" events in Flex. According to Adobe specs, metadata should 
contain many useful info:

http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_Video_17.html:

width
audiodelay
canSeekToEnd
height
cuePoints
audiodatarate
duration
videodatarate
framerate
videocodecid
audiocodecid

But when we save a live stream from a Flex app (captured from a webcam) 
via ClientBroadcastStream.save() and then playing it in "VOD" mode we do 
not get width and height in metadata. Our metadata only contains:

canSeekToEnd
videocodecid
audiocodecid
duration

How do you determine video resolution when playing recorded video?

Thanks,
Victor



More information about the Red5 mailing list