Show / Hide Table of Contents

Class MediaStreamStatusType

Inheritance
System.Object
MediaStreamStatusType
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)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class MediaStreamStatusType

Fields

| Improve this Doc View Source

INACTIVE_ATTRIBUTE

Declaration
public const string INACTIVE_ATTRIBUTE = "a=inactive"
Field Value
Type Description
System.String
| Improve this Doc View Source

RECV_ONLY_ATTRIBUTE

Declaration
public const string RECV_ONLY_ATTRIBUTE = "a=recvonly"
Field Value
Type Description
System.String
| Improve this Doc View Source

SEND_ONLY_ATTRIBUTE

Declaration
public const string SEND_ONLY_ATTRIBUTE = "a=sendonly"
Field Value
Type Description
System.String
| Improve this Doc View Source

SEND_RECV_ATTRIBUTE

Declaration
public const string SEND_RECV_ATTRIBUTE = "a=sendrecv"
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetAttributeForMediaStreamStatus(MediaStreamStatusEnum)

Gets the attribute to include in a serialised SDP payload for a media stream status.

Declaration
public static string GetAttributeForMediaStreamStatus(MediaStreamStatusEnum mediaStreamStatus)
Parameters
Type Name Description
MediaStreamStatusEnum mediaStreamStatus

The status to get the attribute for.

Returns
Type Description
System.String

An attribute string matching the status value.

| Improve this Doc View Source

IsMediaStreamStatusAttribute(String, out MediaStreamStatusEnum)

Checks whether an SDP attribute is one of the four possible media stream attributes.

Declaration
public static bool IsMediaStreamStatusAttribute(string attributeString, out MediaStreamStatusEnum mediaStreamStatus)
Parameters
Type Name Description
System.String attributeString

The attribute string to check.

MediaStreamStatusEnum mediaStreamStatus

If the attribute was recognised as a media stream attribute this will hold it.

Returns
Type Description
System.Boolean

True if the attribute matched or false if not.

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX