Class FrameRateAttribute
This gives the maximum video frame rate in frames/sec. It is intended as a recommendation for the encoding of video data. Decimal representations of fractional values using the notation "integer.fraction" are allowed. It is a media-level attribute, defined only for video media, and it is not dependent on charset.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class FrameRateAttribute : Attribute
Constructors
FrameRateAttribute(String)
Initializes a new instance of the FrameRateAttribute class.
Declaration
public FrameRateAttribute(string frameRate)
Parameters
Type | Name | Description |
---|---|---|
System.String | frameRate | The maximum video frame rate in frames/second. |
Properties
FrameRate
Gets or sets the maximum video frame rate in frames/second.
Declaration
public string FrameRate { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the FrameRateAttribute class.
Declaration
public static FrameRateAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
FrameRateAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |