C# Class NewTOAPIA.Net.Rtp.RtpParticipant

RtpParticipant is the object shared between Rtp and Rtcp for describing a participant. Most of the public properties are a thin wrapper around the SdesData used in Rtcp. This class was created in order to shield the user from needing to understand Rtcp/Sdes, and give them a familiar concept that is easy to understand. The most important aspect of a participant is their uniqueName. It needs to be unique within the context of a session in order to differentiate them from other participants. A domain account, email, GUID, etc. would be good unique names. The participant also contains some other properties, such as the IPAddress the participant originates from, as well as all the streams the participant "owns" (is sending).
Inheritance: SdesData
Mostrar archivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Private Properties

Property Type Description
AddSSRC void
RemoveSSRC void
RtpParticipant System
UpdateData void

Public Methods

Method Description
RtpParticipant ( string uniqueName, string friendlyName ) : System

Called when creating an RtpSession and providing it with the local participant's data

ToString ( ) : string

Override for RtpParticipant

Private Methods

Method Description
AddSSRC ( uint ssrc ) : void
RemoveSSRC ( uint ssrc ) : void
RtpParticipant ( SdesData data, IPAddress ipAddress ) : System

Called when an SdesPacket arrives with an ID (CNAME) that no other session Participant has

UpdateData ( SdesData data ) : void

Raises the ParticipantStatusChanged event if the data changed

Method Details

RtpParticipant() public method

Called when creating an RtpSession and providing it with the local participant's data
public RtpParticipant ( string uniqueName, string friendlyName ) : System
uniqueName string
friendlyName string
return System

ToString() public method

Override for RtpParticipant
public ToString ( ) : string
return string