Class SsrcAttribute
The SDP media attribute "ssrc" indicates a property (known as a "source-level attribute") of a media source (RTP stream) within an RTP session.
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.Rtp
Assembly: FM.LiveSwitch.dll
Syntax
public class SsrcAttribute : AttributeConstructors
SsrcAttribute(Int64, String)
Initializes a new instance of the SsrcAttribute class.
Declaration
public SsrcAttribute(long synchronizationSource, string attributeName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64 | synchronizationSource | The synchronization source. | 
| System.String | attributeName | Name of the attribute. | 
SsrcAttribute(Int64, String, String)
Initializes a new instance of the SsrcAttribute class.
Declaration
public SsrcAttribute(long synchronizationSource, string attributeName, string attributeValue)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64 | synchronizationSource | The synchronization source. | 
| System.String | attributeName | Name of the attribute. | 
| System.String | attributeValue | The attribute value. | 
Properties
Name
Gets or sets the name of the attribute.
Declaration
public string Name { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public long SynchronizationSource { get; }Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
Value
Gets or sets the attribute value.
Declaration
public string Value { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
FromAttributeValue(String)
Initializes a new instance of the SsrcAttribute class.
Declaration
public static SsrcAttribute FromAttributeValue(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value | The attribute value. | 
Returns
| Type | Description | 
|---|---|
| SsrcAttribute | 
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()Returns
| Type | Description | 
|---|---|
| System.String |