摘自http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/H264VideoStreamSettings.html
Method Detail
setProfileLevel | () | method |
public function setProfileLevel(profile:String, level:String):void
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 11, AIR 3 |
Set profile and level for video encoding. Possible values for profile are H264Profile.BASELINE
and H264Profile.MAIN
. Default value is H264Profile.BASELINE
. Other values are ignored and results in an error. Please see H264Profile
class for more information. Supported levels are 1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2, 5, and 5.1. Level may be increased if required by resolution and frame rate. Please see H264Level
class for more information.
Parameters
profile:String — The requested encoder profile as a String. Please see H264Profile class for possible values. | |
level:String — The requested encoder level as a String. Please see H264Level class for possible values. |