Package | flash.media |
Class | public class H264VideoStreamSettings |
Inheritance | H264VideoStreamSettings VideoStreamSettings Object |
Language version: | ActionScript 3.0 |
Runtime version: | AIR 3 |
Property | Defined by | ||
---|---|---|---|
bandwidth : int
Retrieve the maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second.
| VideoStreamSettings | ||
codec : String
[read-only]
Video codec used for compression.
| H264VideoStreamSettings | ||
constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | ||
fps : Number
The maximum frame rate at which the video frames are encoded, in frames per second.
| VideoStreamSettings | ||
height : int
The current encoded height, in pixels.
| VideoStreamSettings | ||
keyFrameInterval : int
The number of video frames transmitted in full (called keyframes or IDR frames) instead of
being interpolated by the video compression algorithm.
| VideoStreamSettings | ||
level : String
[read-only]
Level used for H.264/AVC encoding.
| H264VideoStreamSettings | ||
profile : String
[read-only]
Profile used for H.264/AVC encoding.
| H264VideoStreamSettings | ||
prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | ||
quality : int
The required level of picture quality, as determined by the amount of compression being applied to each video
frame.
| VideoStreamSettings | ||
width : int
The current encoded width, in pixels.
| VideoStreamSettings |
Method | Defined by | ||
---|---|---|---|
Creates a setting object that specifies to use H.264/AVC codec for video compression.
| H264VideoStreamSettings | ||
Indicates whether an object has a specified property defined.
| Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | ||
Indicates whether the specified property exists and is enumerable.
| Object | ||
The number of video frames transmitted in full (called keyframes or Instantaneous Decoding Refresh (IDR) frames) instead of being interpolated by the video compression algorithm.
| VideoStreamSettings | ||
Sets the resolution and frame rate used for video encoding.
| VideoStreamSettings | ||
Set profile and level for video encoding.
| H264VideoStreamSettings | ||
Sets the availability of a dynamic property for loop operations.
| Object | ||
Sets maximum amount of bandwidth per second or the required picture quality that the current
outgoing video feed can use.
| VideoStreamSettings | ||
Returns the string representation of this object, formatted according to locale-specific conventions.
| Object | ||
Returns the string representation of the specified object.
| Object | ||
Returns the primitive value of the specified object.
| Object |
codec | property |
codec:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 3 |
Video codec used for compression.
Implementation public function get codec():String
level | property |
level:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 3 |
Level used for H.264/AVC encoding. To set the desired value for this
property, please use setProfileLevel()
method. This property
can be increased by H.264 codec if the selected level is not high enough
for the specified resolution and frame rate.
public function get level():String
profile | property |
profile:String
[read-only]
Language version: | ActionScript 3.0 |
Runtime version: | AIR 3 |
Profile used for H.264/AVC encoding. To set the desired value for this
property, please use setProfileLevel()
method.
public function get profile():String
H264VideoStreamSettings | () | constructor |
public function H264VideoStreamSettings()
Language version: | ActionScript 3.0 |
Runtime version: | AIR 3 |
Creates a setting object that specifies to use H.264/AVC codec for video compression.
setProfileLevel | () | method |
public function setProfileLevel(profile:String, level:String):void
Language version: | ActionScript 3.0 |
Runtime version: | 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.
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.
|
Error — If invalid profile or level is specified.
|