C# Класс 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).
Наследование: SdesData
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddSSRC void
RemoveSSRC void
RtpParticipant System
UpdateData void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

RtpParticipant() публичный метод

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
Результат System

ToString() публичный метод

Override for RtpParticipant
public ToString ( ) : string
Результат string