#include <participant.h>
Inheritance diagram for Participant:


Public Member Functions | |
| Participant (Manager &_mgr, PSafePtr< Member > member) | |
| ~Participant () | |
| virtual void | PrintOn (ostream &strm) const |
| void | ReadAndMixAudio (BYTE *ptr, PINDEX amount) |
| PString | GetMemberId () |
| void | MemberHasEnded (PString deadMember) |
Protected Attributes | |
| Manager & | manager |
| PINDEX | currentReadIndex |
| Member * | memberPtr |
| PString | memberId |
Holds a link to another member in the current conference room. This class is responsible also for knowing where we are reading from in the other members audio buffer.
Note that only one person actually uses this class, and that is the AudioRead thread which transfers audio from the Member to the network socket inside MediaConnection.
|
||||||||||||
|
Constructor, which creates this member, who has link to the manger and knows the conference we are a part of |
|
|
Destructor |
|
|
Get the id used by the Member class that this Participant looks after |
|
|
Tell the remote me we are connected that "deadMember" is to be removed |
|
|
pretty print information in this class
|
|
||||||||||||
|
This method is used to to multiplex together the audio from each of the other Members in this conference room. Suppose there are five Members in this conference. (A,B,C,D,E). Member A will call this method for Members B,C,D,E. Similarily, Member E will call this method for Members A,B,C,D |
|
|
Current read position in the buffer. |
|
|
link to the manager, who knows everything about everything |
|
|
The id of the member we link to |
|
|
The remote member that we are connected to |
1.4.4