Share via


MediaName Property

Gets or sets the type of media represented by the "m" line.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property MediaName As String
    Get
    Set
'Usage
Dim instance As SdpMediaDescription
Dim value As String

value = instance.MediaName

instance.MediaName = value
public string MediaName { get; set; }

Property Value

Type: System..::..String

Exceptions

Exception Condition
ArgumentNullException
ArgumentException

Thrown when it is an empty string.

Remarks

Typical values include "audio" and "video".

See Also

Reference

SdpMediaDescription Class

SdpMediaDescription Members

Microsoft.Rtc.Signaling Namespace