C# Class ShowIt.ConferenceSession

The ConferenceSession is a centralized object that manages the conference. This object makes a mapping between the attendees of a multicast session, and the Attendee objects that represent them in the virtual world. The general model of message distribution is to send all the frames received from a particular session participant to their Attendee object. From there, the frames can be rendered in the appropriate way for that attendee.
Inheritance: MultiSession, IReceiveConferenceFrames
Datei anzeigen Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
ConferenceSession ( IPEndPoint endPoint ) : System

Most fundamental constructor. We need at least an IP address and identifiers to get a session going. The uniqueName is generated from: Guid.NewGuid().ToString() The friendlyName is generated from: Environment.UserName

ReceiveAudioFrame ( object sender, RtpStream ea ) : void
ReceiveDesktopFrame ( object sender, RtpStream ea ) : void
ReceiveVideoFrame ( object sender, RtpStream ea ) : void
Run ( ) : void
SendAudioFrame ( BufferChunk chunk ) : void
SendDesktopFrame ( BufferChunk chunk ) : void
SendVideoFrame ( BufferChunk chunk ) : void

Protected Methods

Method Description
ParticipantAdded ( object sender, RtpEvents ea ) : void

Private Methods

Method Description
ConferenceSession ( IPEndPoint endPoint, string uniqueName, string friendlyName, bool rtpTraffic, bool receiveData, IPEndPoint reflector ) : System

Method Details

ConferenceSession() public method

Most fundamental constructor. We need at least an IP address and identifiers to get a session going. The uniqueName is generated from: Guid.NewGuid().ToString() The friendlyName is generated from: Environment.UserName
public ConferenceSession ( IPEndPoint endPoint ) : System
endPoint System.Net.IPEndPoint
return System

ParticipantAdded() protected method

protected ParticipantAdded ( object sender, RtpEvents ea ) : void
sender object
ea NewTOAPIA.Net.Rtp.RtpEvents
return void

ReceiveAudioFrame() public method

public ReceiveAudioFrame ( object sender, RtpStream ea ) : void
sender object
ea RtpStream
return void

ReceiveDesktopFrame() public method

public ReceiveDesktopFrame ( object sender, RtpStream ea ) : void
sender object
ea RtpStream
return void

ReceiveVideoFrame() public method

public ReceiveVideoFrame ( object sender, RtpStream ea ) : void
sender object
ea RtpStream
return void

Run() public method

public Run ( ) : void
return void

SendAudioFrame() public method

public SendAudioFrame ( BufferChunk chunk ) : void
chunk NewTOAPIA.BufferChunk
return void

SendDesktopFrame() public method

public SendDesktopFrame ( BufferChunk chunk ) : void
chunk NewTOAPIA.BufferChunk
return void

SendVideoFrame() public method

public SendVideoFrame ( BufferChunk chunk ) : void
chunk NewTOAPIA.BufferChunk
return void