Description | Hierarchy | Fields | Methods | Properties |
type unaConfRTProom = class(unaObject)
RTP Conference room
![]() |
constructor create(srv: TunaConfRTPserver; const roomName: wString; roomID: tRoomID = -1); |
![]() |
destructor Destroy(); override; |
![]() |
function dropUser(userID: u_int32): bool; |
![]() |
function hasUser(userID: u_int32): bool; |
![]() |
function userByIndexAcquire(index: int; ro: bool = true; timeout: tTimeout = 100): unaConfRTProomUser; |
![]() |
function addUser(userID: u_int32): int; |
![]() |
procedure announce(const msg: wString); |
![]() |
property bwIn: int read f_bwIn; |
![]() |
property bwOut: int read f_bwOut; |
![]() |
property closed: bool read f_closed; |
![]() |
property roomID: tRoomID read f_roomID; |
![]() |
property roomName: wString read f_roomName; |
![]() |
property userCount: int read getCC; |
![]() |
constructor create(srv: TunaConfRTPserver; const roomName: wString; roomID: tRoomID = -1); |
Creates a new room. |
![]() |
destructor Destroy(); override; |
Destroys room. |
![]() |
function dropUser(userID: u_int32): bool; |
Removes user from this room.
Parameters
ReturnsTrue if user was found and removed from room seats |
![]() |
function hasUser(userID: u_int32): bool; |
Locates user in room.
Parameters
ReturnsTrue if user with specified ID is listed in this room. |
![]() |
function userByIndexAcquire(index: int; ro: bool = true; timeout: tTimeout = 100): unaConfRTProomUser; |
Locates user in room.
Parameters
ReturnsAcquired user object or nil. Object must be released with .release() when it is no longer needed. |
![]() |
function addUser(userID: u_int32): int; |
Returns index. |
![]() |
procedure announce(const msg: wString); |
Sends some message to all clients in the room. Parameters
|
![]() |
property bwIn: int read f_bwIn; |
Incoming bandwidth. |
![]() |
property bwOut: int read f_bwOut; |
Outgoing bandwidth. |
![]() |
property closed: bool read f_closed; |
True if room is closed. Use srv.roomStartup() / srv.roomShutdown to open/close the room. |
![]() |
property roomID: tRoomID read f_roomID; |
Room ID. |
![]() |
property roomName: wString read f_roomName; |
Room Name. |
![]() |
property userCount: int read getCC; |
Number of users. |
(c) 2012 Lake of Soft