Inherits IDisposable.
|
| TeamTalk4 (bool poll_based) |
| Create a new TeamTalk client instance. More...
|
|
void | Dispose () |
|
bool | GetMessage (int nWaitMs) |
| Poll for events in the client instance. More...
|
|
BearWare.ClientFlag | GetFlags () |
| Get a bitmask describing the client's current state. More...
|
|
void | processMsg (ref TTMessage msg) |
|
bool | GetDefaultSoundDevices (out int lpnInputDeviceID, out int lpnOutputDeviceID) |
| Get the default sound devices. More...
|
|
bool | GetDefaultSoundDevicesEx (SoundSystem nSndSystem, out int lpnInputDeviceID, out int lpnOutputDeviceID) |
| Get the default sound devices for the specified sound system. More...
|
|
bool | GetSoundInputDevices (out SoundDevice[] lpSoundDevices) |
| Get information about input devices for audio recording. More...
|
|
bool | GetSoundOutputDevices (out SoundDevice[] lpSoundDevices) |
| Get the list of sound output devices for playback. More...
|
|
bool | InitSoundInputDevice (int nInputDeviceID) |
| Initialize the sound input devices (for recording audio). More...
|
|
bool | InitSoundOutputDevice (int nOutputDeviceID) |
| Initialize the sound output devices (for sound playback). More...
|
|
bool | InitSoundDuplexDevices (int nInputDeviceID, int nOutputDeviceID) |
| Enable duplex mode where multiple audio streams are mixed into a single stream using software. More...
|
|
bool | CloseSoundInputDevice () |
| Shutdown the input sound device. More...
|
|
bool | CloseSoundOutputDevice () |
| Shutdown the output sound device. More...
|
|
bool | CloseSoundDuplexDevices () |
| Shut down sound devices running in duplex mode. More...
|
|
bool | StartSoundLoopbackTest (int nInputDeviceID, int nOutputDeviceID, int nSampleRate, int nChannels) |
| Perform a record and playback test of specified sound devices. More...
|
|
bool | StartSoundLoopbackTestEx (int nInputDeviceID, int nOutputDeviceID, int nSampleRate, int nChannels, AudioConfig lpAudioConfig, bool bEchoCancel) |
| Perform a record and playback test of specified sound devices along with an audio configuration and ability to try echo cancellation. More...
|
|
bool | StopSoundLoopbackTest () |
| Stop recorder and playback test. More...
|
|
int | GetSoundInputLevel () |
| Get the volume level of the current recorded audio. More...
|
|
bool | SetSoundInputGainLevel (int nLevel) |
| Set voice gaining of recorded audio. More...
|
|
int | GetSoundInputGainLevel () |
| Get voice gain level of outgoing audio. More...
|
|
bool | SetSoundOutputVolume (int nVolume) |
| Set master volume. More...
|
|
int | GetSoundOutputVolume () |
| Get master volume. More...
|
|
bool | SetSoundOutputMute (bool bMuteAll) |
| Set all users mute. More...
|
|
bool | EnableDenoising (bool bEnable) |
| Enable denoising of recorded audio. More...
|
|
bool | SetDenoiseLevel (int nLevel) |
| Set the denoise level of recorded audio. More...
|
|
int | GetDenoiseLevel () |
| Set the denoise level of recorded audio. More...
|
|
bool | EnableEchoCancellation (bool bEnable) |
| Enable/disable acoustic echo cancellation (AEC). More...
|
|
bool | EnableAGC (bool bEnable) |
| Enable Automatic Gain Control. More...
|
|
bool | SetAGCSettings (int nGainLevel, int nMaxIncrement, int nMaxDecrement, int nMaxGain) |
| Set Automatic Gain Control (AGC) settings. More...
|
|
bool | GetAGCSettings (out int lpnGainLevel, out int lpnMaxIncrement, out int lpnMaxDecrement, out int lpnMaxGain) |
| Get Automatic Gain Control settings. More...
|
|
bool | Enable3DSoundPositioning (bool bEnable) |
| Enable automatically position users using 3D-sound. More...
|
|
bool | AutoPositionUsers () |
| Automatically position users using 3D-sound. More...
|
|
bool | EnableAudioBlockEvent (bool bEnable) |
| Enable/disable access to user's raw audio. More...
|
|
bool | EnableVoiceActivation (bool bEnable) |
| Enable voice activation. More...
|
|
bool | SetVoiceActivationLevel (int nLevel) |
| Set voice activation level. More...
|
|
int | GetVoiceActivationLevel () |
| Get voice activation level. More...
|
|
bool | SetVoiceActivationStopDelay (int nDelayMSec) |
| Set the delay of when voice activation should be stopped. More...
|
|
int | GetVoiceActivationStopDelay () |
| Get the delay of when voice active state should be disabled. More...
|
|
bool | StartRecordingMuxedAudioFile (AudioCodec lpAudioCodec, string szAudioFileName, AudioFileFormat uAFF) |
| Store audio conversations to a single file. More...
|
|
bool | StopRecordingMuxedAudioFile () |
| Stop an active muxed audio recording. More...
|
|
bool | GetVideoCaptureDevices (out VideoCaptureDevice[] lpVideoDevices) |
| Get the list of devices available for video capture. More...
|
|
bool | InitVideoCaptureDevice (string szDeviceID, CaptureFormat lpCaptureFormat, VideoCodec lpVideoCodec) |
| Initialize a video capture device. More...
|
|
bool | CloseVideoCaptureDevice () |
| Close a video capture device. More...
|
|
bool | PaintVideoFrame (int nUserID, System.IntPtr hDC, int XDest, int YDest, int nDestWidth, int nDestHeight) |
| Paint user's video frame using a Windows' DC (device context). More...
|
|
bool | PaintVideoFrameEx (int nUserID, System.IntPtr hDC, int XDest, int YDest, int nDestWidth, int nDestHeight, int XSrc, int YSrc, int nSrcWidth, int nSrcHeight) |
| Paint user's video frame using a Windows' DC (device context). More...
|
|
bool | GetUserVideoFrame (int nUserID, ref System.Drawing.Bitmap lpPicture) |
| Get or query the raw RGB32 bitmap data of a user's video frame. More...
|
|
bool | AcquireUserVideoFrame (int nUserID, ref VideoFrame lpVideoFrame) |
| Extract a user's video frame by making TeamTalk allocate the image buffer. More...
|
|
bool | ReleaseUserVideoFrame (int nUserID) |
| Delete a user's video frame, acquired through TeamTalk4.AcquireUserVideoFrame(), so its allocated resources can be released. More...
|
|
bool | EnableTransmission (TransmitType uTxType, bool bEnable) |
| Start/stop transmitting audio or video data. More...
|
|
bool | IsTransmitting (TransmitType uTxType) |
| Check if the client instance is currently transmitting. More...
|
|
bool | StartStreamingAudioFileToUser (int nUserID, string szAudioFilePath) |
| Stream a wave-file to a user in another channel. Only an administrators can use this function. More...
|
|
bool | StopStreamingAudioFileToUser (int nUserID) |
| Stop transmitting audio file. More...
|
|
bool | StartStreamingAudioFileToChannel (int nChannelID, string szAudioFilePath) |
| Stream audio file to current channel. More...
|
|
bool | StopStreamingAudioFileToChannel (int nChannelID) |
| Stop streaming audio file to current channel. More...
|
|
bool | StartStreamingMediaFileToChannel (string szMediaFilePath, VideoCodec lpVideoCodec, TransmitType uTxType) |
| Stream media file to channel, e.g. avi-, wav- or MP3-file. More...
|
|
bool | StopStreamingMediaFileToChannel () |
| Stop streaming media file to channel. More...
|
|
int | SendDesktopWindow (System.IntPtr lpBitmap, int nBitmapSize, DesktopWindow lpDesktopWindow, BitmapFormat nConvertBmpFormat) |
| Transmit a desktop window (bitmap) to users in the same channel. More...
|
|
bool | CloseDesktopWindow () |
| Close the current desktop session. More...
|
|
int | SendDesktopWindowFromHWND (System.IntPtr hWnd, BitmapFormat nBitmapFormat, DesktopProtocol nDesktopProtocol) |
| Transmit the specified window in a desktop session. More...
|
|
bool | PaintDesktopWindow (int nUserID, System.IntPtr hDC, int XDest, int YDest, int nDestWidth, int nDestHeight) |
| Paint user's desktop window using a Windows' DC (device context). More...
|
|
bool | PaintDesktopWindowEx (int nUserID, System.IntPtr hDC, int XDest, int YDest, int nDestWidth, int nDestHeight, int XSrc, int YSrc, int nSrcWidth, int nSrcHeight) |
| Paint user's desktop window using a Windows' DC (device context). More...
|
|
bool | SendDesktopCursorPosition (int nUserID, int nPosX, int nPosY) |
| Send the position of mouse cursor to users in the same channel. More...
|
|
bool | GetUserDesktopWindow (int nUserID, System.IntPtr lpBitmap, ref int lpnBitmapSize, ref DesktopWindow lpDesktopWindow) |
| Get a user's desktop window (bitmap image). More...
|
|
bool | GetUserDesktopCursor (int nSrcUserID, int nDestUserID, ref int lpnPosX, ref int lpnPosY) |
| Get the mouse cursor position of a user. More...
|
|
bool | Connect (string szHostAddress, int nTcpPort, int nUdpPort, int nLocalTcpPort, int nLocalUdpPort) |
| Connect to a server. More...
|
|
bool | ConnectEx (string szHostAddress, int nTcpPort, int nUdpPort, string szBindIPAddr, int nLocalTcpPort, int nLocalUdpPort) |
| Bind to specific IP-address priot to connecting to server. More...
|
|
bool | ConnectNonEncrypted (string szHostAddress, int nTcpPort, int nUdpPort, string szBindIPAddr, int nLocalTcpPort, int nLocalUdpPort) |
| Connect to non-encrypted TeamTalk server. More...
|
|
bool | Disconnect () |
| Disconnect from the server. More...
|
|
bool | QueryMaxPayload (int nUserID) |
| Query the maximum size of UDP data packets to the user or server. More...
|
|
bool | SetKeepAliveInterval (int nTcpPingIntervalSec, int nUdpPingIntervalSec) |
| Set how often the client should ping the server on its TCP and UDP connection. More...
|
|
bool | GetKeepAliveInterval (out int lpnTcpPingIntervalSec, out int lpnUdpPingIntervalSec) |
| Gets how often the client is sending keep-alive information to the server. More...
|
|
bool | SetServerTimeout (int nTimeoutSec) |
| Set server timeout for the client instance. More...
|
|
int | GetServerTimeout () |
| Get the server timeout for the client instance. More...
|
|
bool | EnablePeerToPeer (TransmitType mask, bool bEnable) |
| Enable/disable peer to peer data transmission. More...
|
|
bool | GetStatistics (out ClientStatistics lpStats) |
| Retrieve client statistics of bandwidth usage and response times. More...
|
|
int | GetPacketSize (AudioCodec lpCodec) |
| Get the number of bytes in a packet with the specified audio codec. More...
|
|
int | DoLogin (string szNickname, string szServerPassword, string szUsername, string szPassword) |
| Logon to a server. More...
|
|
int | DoLogout () |
| Logout of the server. More...
|
|
int | DoJoinChannel (Channel lpChannel) |
| Create a new channel and join it. This command requires that the flag UserRight USERRIGHT_CHANNEL_CREATION is set in uUserRights of BearWare.ServerProperties. More...
|
|
int | DoJoinChannelByID (int nChannelID, string szPassword) |
| Join an existing channel. More...
|
|
int | DoLeaveChannel () |
| Leave the current channel. More...
|
|
int | DoChangeNickname (string szNewNick) |
| Change the client instance's nick name. More...
|
|
int | DoChangeStatus (int nStatusMode, string szStatusMessage) |
| Change the client instance's currect status. More...
|
|
int | DoTextMessage (TextMessage lpTextMessage) |
| Send a text message to either a user or a channel. More...
|
|
int | DoChannelOp (int nUserID, int nChannelID, bool bMakeOperator) |
| Make another user operator of a channel. More...
|
|
int | DoChannelOpEx (int nUserID, int nChannelID, string szOpPassword, bool bMakeOperator) |
| Make another user operator of a channel using the szOpPassword of BearWare.Channel. More...
|
|
int | DoKickUser (int nUserID, int nChannelID) |
| Kick user out of channel. More...
|
|
int | DoSendFile (int nChannelID, string szLocalFilePath) |
| Send a file to the specified channel. More...
|
|
int | DoRecvFile (int nChannelID, int nFileID, string szLocalFilePath) |
| Download a file from the specified channel. More...
|
|
int | DoDeleteFile (int nChannelID, int nFileID) |
| Delete a file from a channel. More...
|
|
int | DoSubscribe (int nUserID, Subscription uSubscriptions) |
| Subscribe to user events and/or data. More...
|
|
int | DoUnsubscribe (int nUserID, Subscription uSubscriptions) |
| Unsubscribe to user events/data. This can be used to ignore messages or voice data from a specific user. More...
|
|
int | DoMakeChannel (Channel lpChanInfo) |
| Make a static (persistent) channel. More...
|
|
int | DoUpdateChannel (Channel lpChanInfo) |
| Update a channel's properties. More...
|
|
int | DoRemoveChannel (int nChannelID) |
| Remove a channel from a server. More...
|
|
int | DoMoveUser (int nUserID, int nChannelID) |
| Issue command to move a user from one channel to another. More...
|
|
int | DoUpdateServer (ServerProperties lpServerInfo) |
| Update server properties. More...
|
|
int | DoListUserAccounts (int nIndex, int nCount) |
| Issue command to list user accounts on the server. More...
|
|
int | DoNewUserAccount (UserAccount lpUserAccount) |
| Issue command to create a new user account on the server. More...
|
|
int | DoDeleteUserAccount (string szUsername) |
| Issue command to delete a user account on the server. More...
|
|
int | DoBanUser (int nUserID) |
| Issue a ban command on a user in a specific channel. More...
|
|
int | DoBanIPAddress (string szIpAddress) |
| Issue a ban command on an IP-address user. More...
|
|
int | DoUnBanUser (string szIpAddress) |
| Unban the user with the specified IP-address. More...
|
|
int | DoListBans (int nIndex, int nCount) |
| Issue a command to list the banned users. More...
|
|
int | DoSaveConfig () |
| Save the server's current state to its settings file (typically the server's .xml file). More...
|
|
int | DoQueryServerStats () |
| Get the server's current statistics obtained through TeamTalk4.GetServerStatistics(). More...
|
|
int | DoQuit () |
| Quit from server. More...
|
|
bool | GetServerProperties (out ServerProperties lpProperties) |
| Get the server's properties. More...
|
|
bool | GetServerStatistics (out ServerStatistics lpStatistics) |
| Get the server's statistics, i.e. bandwidth usage etc. More...
|
|
bool | GetServerUsers (out int[] lpUserIDs) |
| Get the IDs of all the users on the server. More...
|
|
int | GetRootChannelID () |
| Get the root channel's ID. More...
|
|
int | GetMyChannelID () |
| Get the channel which the local client instance is currently participating in. More...
|
|
bool | GetChannel (int nChannelID, out Channel lpChannel) |
| Get the channel with a specific ID. More...
|
|
bool | GetChannelPath (int nChannelID, out string szChannelPath) |
| Get the channel's path. Channels are separated by '/'. More...
|
|
int | GetChannelIDFromPath (string szChannelPath) |
| Get the channel ID of the supplied path. Channels are separated by '/'. More...
|
|
bool | GetChannelUsers (int nChannelID, out int[] lpUserIDs) |
| Get the IDs of all users in a channel. More...
|
|
bool | GetChannelFiles (int nChannelID, out FileInfo[] lpFileInfos) |
| Get the list of the files in a channel which can be downloaded. More...
|
|
bool | GetChannelFileInfo (int nChannelID, int nFileID, out FileInfo lpFileInfo) |
| Get information about a file which can be downloaded. More...
|
|
bool | IsChannelOperator (int nUserID, int nChannelID) |
| Check whether user is operator of a channel. More...
|
|
bool | GetServerChannels (out int[] lpChannelIDs) |
| Get the IDs of all the channels on the server. More...
|
|
int | GetMyUserID () |
| Get the local client instance's user ID. More...
|
|
bool | GetMyUserAccount (out UserAccount lpUserAccount) |
| Get the local client instance's BearWare.UserAccount. More...
|
|
UserType | GetMyUserType () |
| Get the client instance's user type. More...
|
|
int | GetMyUserData () |
| If an account was used in TeamTalk4.DoLogin() then this value will return the nUserData from the BearWare.UserAccount. More...
|
|
bool | GetUser (int nUserID, out User lpUser) |
| Get the user with the specified ID. More...
|
|
bool | GetUserStatistics (int nUserID, out UserStatistics lpStats) |
| Get statistics for data and packet reception from a user. More...
|
|
bool | GetUserByUsername (string szUsername, out User lpUser) |
| Get the user with the specified username. More...
|
|
bool | GetTextMessage (int nMsgID, bool bRemoveMsg, out TextMessage lpTextMessage) |
| Get a text-message sent by a user. More...
|
|
bool | SetUserVolume (int nUserID, int nVolume) |
| Set the volume of a user. More...
|
|
int | GetUserVolume (int nUserID) |
| Get the volume of a user. More...
|
|
bool | SetUserGainLevel (int nUserID, int nGainLevel) |
| Use software to gain a user's volume. More...
|
|
int | GetUserGainLevel (int nUserID) |
| Get the software gain level for a user. More...
|
|
bool | SetUserMute (int nUserID, bool bMute) |
| Mute a user. More...
|
|
bool | SetUserStoppedTalkingDelay (int nUserID, int nDelayMSec) |
| Set the delay of when a user should be considered to no longer be talking. More...
|
|
int | GetUserStoppedTalkingDelay (int nUserID) |
| Get the delay of when a user should no longer be considered as talking. More...
|
|
bool | SetUserPosition (int nUserID, float x, float y, float z) |
| Set the position of a user. More...
|
|
bool | GetUserPosition (int nUserID, out float x, out float y, out float z) |
| Get a user's position. More...
|
|
bool | SetUserStereo (int nUserID, bool bLeftSpeaker, bool bRightSpeaker) |
| Set whether a user should speak in the left, right or both speakers. This function only works if BearWare.AudioCodec has been set to use stereo. More...
|
|
bool | GetUserStereo (int nUserID, out bool lpbLeftSpeaker, out bool lpbRightSpeaker) |
| Check what speaker a user is outputting to. More...
|
|
bool | SetUserAudioFolder (int nUserID, string szFolderPath, string szFileNameVars, AudioFileFormat uAFF) |
| Store audio conversations to disk. More...
|
|
bool | SetUserMediaBufferSize (int nUserID, int nMSec) |
| Change the amount of media data which can be buffered in the user's playback queue. More...
|
|
bool | AcquireUserAudioBlock (int nUserID, ref AudioBlock lpAudioBlock) |
| Extract the raw audio from a user who has been talking. More...
|
|
bool | ReleaseUserAudioBlock (int nUserID) |
| Release the shared memory of an BearWare.AudioBlock. More...
|
|
bool | ReleaseAllUserAudioBlocks () |
| Release all audio blocks of the local client instance. More...
|
|
bool | GetFileTransferInfo (int nTransferID, out FileTransfer lpTransfer) |
| Get information about an active file transfer. More...
|
|
bool | CancelFileTranfer (int nTransferID) |
| Cancel an active file transfer. More...
|
|
bool | GetBannedUsers (out BannedUser[] lpBannedUsers) |
| Get the list of banned users. More...
|
|
bool | GetUserAccounts (out UserAccount[] lpUserAccounts) |
| Get the list of user accounts. More...
|
|
bool | HotKey_Register (int nHotKeyID, int[] lpnVKCodes) |
| Register a global hotkey. More...
|
|
bool | HotKey_Unregister (int nHotKeyID) |
| Unregister a registered hotkey. More...
|
|
int | HotKey_IsActive (int nHotKeyID) |
| Check whether hotkey is active. More...
|
|
bool | HotKey_InstallTestHook () |
| Install a test hook which calls the event OnHotKeyTest whenever a key or mouse button is pressed. More...
|
|
bool | HotKey_RemoveTestHook () |
| Remove the test hook again so the OnHotKeyTest event will no longer be notified. More...
|
|
bool | HotKey_GetKeyString (int nVKCode, out string szKeyName) |
| Get a string description of the virtual-key code. More...
|
|
delegate void | Connection () |
| Delegate for events OnConnectSuccess, OnConnectFailed and OnConnectionLost. More...
|
|
delegate void | ConnectionP2P (int nUserID, bool bSuccess) |
| Delegate for event OnConnectionP2P. More...
|
|
delegate void | CommandProcessing (int nCmdID, bool bComplete) |
| Delegate for event OnCmdProcessing. More...
|
|
delegate void | MyselfLoggedIn (int nMyUserID) |
| Delegate for event OnCmdMyselfLoggedIn. More...
|
|
delegate void | MyselfLoggedOut () |
| Delegate for event OnCmdMyselfLoggedOut. More...
|
|
delegate void | MyselfJoinedChannel (int nChannelID) |
| Delegate for event OnCmdMyselfJoinedChannel. More...
|
|
delegate void | MyselfLeftChannel (int nChannelID) |
| Delegate for event OnCmdMyselfLeftChannel. More...
|
|
delegate void | MyselfKickedFromChannel (int nUserID) |
| Delegate for event OnCmdMyselfKickedFromChannel. More...
|
|
delegate void | UserAuth (int nUserID) |
| Delegate for events OnCmdUserLoggedIn and OnCmdUserLoggedOut. More...
|
|
delegate void | UserUpdate (int nUserID, int nChannelID) |
| Delegate for events OnCmdUserUpdate, OnCmdUserJoinedChannel and OnCmdUserLeftChannel. More...
|
|
delegate void | UserTextMessage (int nUserID, int nMsgID) |
| Delegate for events OnCmdUserTextMessage. More...
|
|
delegate void | ChannelUpdate (int nChannelID) |
| Delegate for OnCmdChannelNew, OnCmdChannelUpdate and OnCmdChannelRemove. More...
|
|
delegate void | ServerUpdate () |
| Delegate for event OnCmdServerUpdate. More...
|
|
delegate void | FileUpdate (int nFileID, int nChannelID) |
| A delegate for events OnCmdFileNew and OnCmdFileRemove. More...
|
|
delegate void | CommandError (ClientError nErrorNo, int nCmdID) |
| Delegate for event OnCmdError. More...
|
|
delegate void | CommandSuccess (int nCmdID) |
| Delegate for event CommandSuccess. More...
|
|
delegate void | UserTalking (int nUserID, bool bTalking) |
| Delegate for event OnUserTalking. More...
|
|
delegate void | UserVideoFrame (int nUserID, int nFrameQueueSize) |
| A delegate for the event OnUserVideoFrame. More...
|
|
delegate void | UserAudioFile (int nUserID, AudioFileStatus nStatus) |
| Delegate for event OnUserAudioFile. More...
|
|
delegate void | ErrorOccured (ClientError nErrorNo) |
| Delegate for event OnInternalError. More...
|
|
delegate void | VoiceActivation (bool bVoiceActive) |
| Delegate for event OnVoiceActivation. More...
|
|
delegate void | StreamUserAudioFile (int nUserID, AudioFileStatus nStatus) |
| Delegate for event OnStreamAudioFileUser. More...
|
|
delegate void | StreamChannelAudioFile (int nChannelID, AudioFileStatus nStatus) |
| Delegate for event OnStreamAudioFileChannel. More...
|
|
delegate void | HotKeyToggle (int nHotKeyID, bool bActive) |
| Delegate for event OnHotKeyToggle. More...
|
|
delegate void | HotKeyTest (int nVkCode, bool bActive) |
| Delegate for event OnHotKeyTest. More...
|
|
delegate void | FileTransferUpdate (int nTransferID, FileTransferStatus nStatus) |
| Delegate for event OnFileTransfer. More...
|
|
delegate void | NewAudioBlock (int nUserID) |
| Delegate for event OnUserAudioBlock. More...
|
|
delegate void | NewDesktopWindow (int nUserID, int nSessionID) |
| Delegate for event OnUserDesktopWindow. More...
|
|
delegate void | DesktopTransferUpdate (int nSessionID, int nTransferRemaining) |
| Delegate for event OnDesktopWindowTransfer(). More...
|
|
delegate void | UserDesktopCursorPosition (int nSrcUserID, int nDestUserID) |
| Delegate for event OnUserDesktopCursorPosition(). More...
|
|
delegate void | MaxPayloadUpdate (int nUserID, int nMaxPayload) |
| Delegate for event OnMaxPayloadUpdate(). More...
|
|
delegate void | StreamChannelMediaFile (AudioFileStatus nStatus) |
| Delegate for event OnStreamMediaFileChannel. More...
|
|