Class Bandwidth
An SDP bandwidth element.
Inheritance
System.Object
Bandwidth
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class Bandwidth
Constructors
Bandwidth(String, Int64)
Initializes a new instance of the Bandwidth class.
Declaration
public Bandwidth(string bandwidthType, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | bandwidthType | The type of bandwidth. See BandwidthType for possible values. |
System.Int64 | value | The bandwidth, typically in kilobits per second. |
Properties
BandwidthType
Gets or sets the type of bandwidth. See BandwidthType for possible values.
Declaration
public string BandwidthType { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets or sets the bandwidth, typically in kilobits per second.
Declaration
public long Value { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
Parse(String)
Creates an Bandwidth instance from a string.
Declaration
public static Bandwidth Parse(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string to parse. |
Returns
Type | Description |
---|---|
Bandwidth |
ToString()
Converts this instance to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()