Search code examples
flashactionscript-3flv

how to get flv frame rate in as3?


Well, i have to set the stage frame rate according to the frame rate of the flv and I will have differnet flv with different frame rate so i have to get frame rate of FlV using action script ??

Is there any method available in Video Class of ActionScript??


Solution

  • You can also get the FPS from the NetStream like so: var fps = ns.currentFPS;