Class Bandwidth
An SDP bandwidth element.
Inheritance
System.Object
Bandwidth
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class Bandwidth : object
Constructors
Bandwidth(String, Int64)
Initializes a new instance of the Bandwidth class.
Declaration
public Bandwidth(string bandwidthType, long value)
Parameters
Type | Name | Description |
---|---|---|
System. |
bandwidthType | The type of bandwidth. See Bandwidth |
System. |
value | The bandwidth, typically in kilobits per second. |
Properties
BandwidthType
Gets or sets the type of bandwidth. See Bandwidth
Declaration
public string BandwidthType { get; }
Property Value
Type | Description |
---|---|
System. |
Value
Gets or sets the bandwidth, typically in kilobits per second.
Declaration
public long Value { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Parse(String)
Creates an Bandwidth instance from a string.
Declaration
public static Bandwidth Parse(string s)
Parameters
Type | Name | Description |
---|---|---|
System. |
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. |