TeamTalk 5 C-API DLL  Version 5.8B
TeamTalk.h File Reference

Go to the source code of this file.

Classes

struct  SoundDevice
 A struct containing the properties of a sound device for either playback or recording. More...
 
struct  SoundDeviceEffects
 Set up audio effects supported by the sound device. More...
 
struct  AudioBlock
 An audio block containing the raw audio from a user who was talking. More...
 
struct  AudioFormat
 Struct describing the audio format used by a media file. More...
 
struct  VideoFormat
 A struct containing the properties of a video capture format. More...
 
struct  VideoFrame
 A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer. More...
 
struct  VideoCaptureDevice
 A struct containing the properties of a video capture device. More...
 
struct  DesktopWindow
 A struct containing the properties of a shared desktop window. More...
 
struct  DesktopInput
 A struct containing a mouse or keyboard event. More...
 
struct  SpeexCodec
 Speex audio codec settings for Constant Bitrate mode (CBR). More...
 
struct  SpeexVBRCodec
 Speex audio codec settings for Variable Bitrate mode (VBR). More...
 
struct  OpusCodec
 OPUS audio codec settings. For detailed information about the OPUS codec check out http://www.opus-codec.org. More...
 
struct  SpeexDSP
 Speex DSP is used for specifying how recorded audio from a sound input device should be preprocessed before transmission. More...
 
struct  TTAudioPreprocessor
 Use TeamTalk's internal audio preprocessor for gain audio. Same as used for TT_SetSoundInputGainLevel(). More...
 
struct  WebRTCAudioPreprocessor
 WebRTC's audio preprocessor. More...
 
struct  AudioPreprocessor
 Configure the audio preprocessor specified by nPreprocessor. More...
 
struct  WebMVP8Codec
 WebM video codec settings. More...
 
struct  AudioCodec
 Struct used for specifying which audio codec a channel uses. More...
 
struct  AudioConfig
 Audio configuration for clients in a channel. More...
 
struct  VideoCodec
 Struct used for specifying the video codec to use. More...
 
struct  MediaFileInfo
 Struct describing the audio and video format used by a media file. More...
 
struct  MediaFilePlayback
 Properties for initializing or updating a file for media streaming. More...
 
struct  AudioInputProgress
 The progress of the audio currently being processed as audio input. More...
 
struct  ServerProperties
 A struct containing the properties of the server's settings. More...
 
struct  ServerStatistics
 A struct containing the server's statistics, i.e. bandwidth usage and user activity. More...
 
struct  BannedUser
 A struct containing the properties of a banned user. More...
 
struct  AbusePrevention
 Properties to prevent server abuse. More...
 
struct  UserAccount
 A struct containing the properties of a user account. More...
 
struct  User
 A struct containing the properties of a user. More...
 
struct  UserStatistics
 Packet reception and data statistics for a user. More...
 
struct  TextMessage
 A struct containing the properties of a text message sent by a user. More...
 
struct  Channel
 A struct containing the properties of a channel. More...
 
struct  FileTransfer
 A struct containing the properties of a file transfer. More...
 
struct  RemoteFile
 A struct containing the properties of a file in a Channel. More...
 
struct  EncryptionContext
 Configure peer verification for encrypted connection. More...
 
struct  ClientKeepAlive
 Control timers for sending keep alive information to the server. More...
 
struct  ClientStatistics
 Statistics of bandwidth usage and ping times in the local client instance. More...
 
struct  JitterConfig
 Configuration parameters for the Jitter Buffer. More...
 
struct  ClientErrorMsg
 Struct containing an error message. More...
 
struct  TTMessage
 A struct containing the properties of an event. More...
 
struct  ShareWindow
 A struct which describes the properties of a window which can be shared. More...
 

Macros

#define TEAMTALK_VERSION   "5.8.1.5048"
 Ensure the header and DLL are exactly the same version. To get the version of the loaded DLL call TT_GetVersion(). A remote client's version can be seen in the szVersion member of the User-struct. More...
 
#define TEAMTALKDLL_API   __declspec(dllimport)
 
#define TEAMTALK_TYPES   1
 
#define TT_STRLEN   512
 
#define TT_USERID_MAX   0xFFF
 
#define TT_CHANNELID_MAX   0xFFF
 
#define TT_VIDEOFORMATS_MAX   1024
 
#define TT_TRANSMITUSERS_MAX   128
 
#define TT_CLASSROOM_FREEFORALL   0xFFF
 
#define TT_CLASSROOM_USERID_INDEX   0
 
#define TT_CLASSROOM_STREAMTYPE_INDEX   1
 
#define TT_TRANSMITUSERS_FREEFORALL   0xFFF
 
#define TT_TRANSMITUSERS_USERID_INDEX   0
 
#define TT_TRANSMITUSERS_STREAMTYPE_INDEX   1
 
#define TT_CHANNELS_OPERATOR_MAX   16
 
#define TT_TRANSMITQUEUE_MAX   16
 
#define TT_SAMPLERATES_MAX   16
 
#define TT_DESKTOPINPUT_MAX   16
 
#define TT_DESKTOPINPUT_KEYCODE_IGNORE   0xFFFFFFFF
 
#define TT_DESKTOPINPUT_MOUSEPOS_IGNORE   0xFFFF
 
#define TT_DESKTOPINPUT_KEYCODE_LMOUSEBTN   0x1000
 
#define TT_DESKTOPINPUT_KEYCODE_RMOUSEBTN   0x1001
 
#define TT_DESKTOPINPUT_KEYCODE_MMOUSEBTN   0x1002
 
#define TT_MEDIAPLAYBACK_OFFSET_IGNORE   0xFFFFFFFF
 
#define TT_SOUNDDEVICE_ID_SHARED_FLAG   0x00000800
 Flag/bit in nDeviceID telling if the SoundDevice is a shared version of an existing sound device. More...
 
#define TT_SOUNDDEVICE_ID_MASK   0x000007FF
 Extract sound device ID of nDeviceID in SoundDevice by and'ing this value. More...
 
#define TT_SOUNDDEVICE_ID_REMOTEIO   0
 Sound device ID for iOS AudioUnit subtype Remote I/O Unit. More...
 
#define TT_SOUNDDEVICE_ID_VOICEPREPROCESSINGIO   (1 | TT_SOUNDDEVICE_ID_SHARED_FLAG)
 Sound device ID for iOS AudioUnit subtype Voice-Processing I/O Unit. More...
 
#define TT_SOUNDDEVICE_ID_OPENSLES_DEFAULT   0
 Sound device ID for Android OpenSL ES default audio device. More...
 
#define TT_SOUNDDEVICE_ID_OPENSLES_VOICECOM   1
 Sound device ID for Android OpenSL ES voice communication mode. This device uses the OpenSL ES' AndroidConfiguration SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION. More...
 
#define TT_SOUNDDEVICE_ID_TEAMTALK_VIRTUAL   1978
 Sound device ID for virtual TeamTalk sound device. More...
 
#define TT_LOCAL_USERID   0
 User ID passed to TT_EnableAudioBlockEvent() in order to receive AudioBlock directly from sound input device after joining a channel. More...
 
#define TT_LOCAL_TX_USERID   0x1002
 User ID passed to TT_EnableAudioBlockEvent() in order to receive AudioBlock when voice transmission is activated. More...
 
#define TT_MUXED_USERID   0x1001 /* TT_USERID_MAX + 2 */
 User ID used to identify muxed audio that has been mixed into a single stream. More...
 
#define SPEEX_NB_MIN_BITRATE   2150
 The minimum bitrate for Speex codec in 8 KHz mode. Bandmode = 0. More...
 
#define SPEEX_NB_MAX_BITRATE   24600
 The maximum bitrate for Speex codec in 8 KHz mode. Bandmode = 0. More...
 
#define SPEEX_WB_MIN_BITRATE   3950
 The minimum bitrate for Speex codec in 16 KHz mode. Bandmode = 1. More...
 
#define SPEEX_WB_MAX_BITRATE   42200
 The maximum bitrate for Speex codec in 16 KHz mode. Bandmode = 1. More...
 
#define SPEEX_UWB_MIN_BITRATE   4150
 The minimum bitrate for Speex codec in 32 KHz mode. Bandmode = 2. More...
 
#define SPEEX_UWB_MAX_BITRATE   44000
 The maximum bitrate for Speex codec in 32 KHz mode. Bandmode = 2. More...
 
#define OPUS_APPLICATION_VOIP   2048
 Audio encoding is for VoIP. This value should be set as nApplicaton in OpusCodec. More...
 
#define OPUS_APPLICATION_AUDIO   2049
 Audio encoding is for music. This value should be set as nApplicaton in OpusCodec. More...
 
#define OPUS_MIN_BITRATE   6000
 The minimum bitrate for OPUS codec. Checkout nBitRate of OpusCodec. More...
 
#define OPUS_MAX_BITRATE   510000
 The maximum bitrate for OPUS codec. Checkout nBitRate of OpusCodec. More...
 
#define OPUS_MIN_FRAMESIZE   2 /* Actually it's 2.5 */
 The minimum frame size for OPUS codec. Checkout nFrameSizeMSec of OpusCodec. More...
 
#define OPUS_MAX_FRAMESIZE   60
 The maximum frame size for OPUS codec. Checkout nFrameSizeMSec of OpusCodec. More...
 
#define OPUS_REALMAX_FRAMESIZE   120
 The real maximum frame size for OPUS codec. Checkout nFrameSizeMSec of OpusCodec. Although OPUS states it only supports 2.5 - 60 msec, it actually support up to 120 msec. More...
 
#define WEBRTC_GAINCONTROLLER2_FIXEDGAIN_MAX   49.9f
 Max value for fGainDB in WebRTCAudioPreprocessor's gaincontroller2. More...
 
#define WEBM_VPX_DL_REALTIME   1
 nEncodeDeadline value for fastest encoding. More...
 
#define WEBM_VPX_DL_GOOD_QUALITY   1000000
 nEncodeDeadline value for good encoding. More...
 
#define WEBM_VPX_DL_BEST_QUALITY   0
 nEncodeDeadline value for best encoding. More...
 

Typedefs

typedef WCHAR TTCHAR
 TeamTalk uses Unicode on Windows. More...
 
typedef int TTBOOL
 
typedef enum StreamType StreamType
 The types of streams which are available for transmission. More...
 
typedef UINT32 StreamTypes
 Mask of StreamType. More...
 
typedef enum SoundSystem SoundSystem
 The supported sound systems. More...
 
typedef enum SoundDeviceFeature SoundDeviceFeature
 Features available on a sound device. Checkout uSoundDeviceFeatures on SoundDevice. More...
 
typedef UINT32 SoundDeviceFeatures
 A bitmask of available SoundDeviceFeature. Checkout uSoundDeviceFeatures on SoundDevice. More...
 
typedef struct SoundDevice SoundDevice
 A struct containing the properties of a sound device for either playback or recording. More...
 
typedef struct SoundDeviceEffects SoundDeviceEffects
 Set up audio effects supported by the sound device. More...
 
typedef enum SoundLevel SoundLevel
 An enum encapsulation the minimum, maximum and default sound levels for input and output sound devices. More...
 
typedef struct AudioBlock AudioBlock
 An audio block containing the raw audio from a user who was talking. More...
 
typedef enum MediaFileStatus MediaFileStatus
 Status of media file being written to disk. More...
 
typedef enum AudioFileFormat AudioFileFormat
 Media file formats supported for muxed audio recordings. More...
 
typedef struct AudioFormat AudioFormat
 Struct describing the audio format used by a media file. More...
 
typedef enum FourCC FourCC
 The picture format used by a capture device. More...
 
typedef struct VideoFormat VideoFormat
 A struct containing the properties of a video capture format. More...
 
typedef struct VideoFrame VideoFrame
 A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer. More...
 
typedef struct VideoCaptureDevice VideoCaptureDevice
 A struct containing the properties of a video capture device. More...
 
typedef enum BitmapFormat BitmapFormat
 The bitmap format used for a DesktopWindow. More...
 
typedef enum DesktopProtocol DesktopProtocol
 The protocols supported for transferring a DesktopWindow. More...
 
typedef struct DesktopWindow DesktopWindow
 A struct containing the properties of a shared desktop window. More...
 
typedef enum DesktopKeyState DesktopKeyState
 The state of a key (or mouse button), i.e. if it's pressed or released. More...
 
typedef UINT32 DesktopKeyStates
 Mask of key states.
More...
 
typedef struct DesktopInput DesktopInput
 A struct containing a mouse or keyboard event. More...
 
typedef struct SpeexCodec SpeexCodec
 Speex audio codec settings for Constant Bitrate mode (CBR). More...
 
typedef struct SpeexVBRCodec SpeexVBRCodec
 Speex audio codec settings for Variable Bitrate mode (VBR). More...
 
typedef struct OpusCodec OpusCodec
 OPUS audio codec settings. For detailed information about the OPUS codec check out http://www.opus-codec.org. More...
 
typedef struct SpeexDSP SpeexDSP
 Speex DSP is used for specifying how recorded audio from a sound input device should be preprocessed before transmission. More...
 
typedef struct TTAudioPreprocessor TTAudioPreprocessor
 Use TeamTalk's internal audio preprocessor for gain audio. Same as used for TT_SetSoundInputGainLevel(). More...
 
typedef struct WebRTCAudioPreprocessor WebRTCAudioPreprocessor
 WebRTC's audio preprocessor. More...
 
typedef enum AudioPreprocessorType AudioPreprocessorType
 The types of supported audio preprocessors. More...
 
typedef struct AudioPreprocessor AudioPreprocessor
 Configure the audio preprocessor specified by nPreprocessor. More...
 
typedef struct WebMVP8Codec WebMVP8Codec
 WebM video codec settings. More...
 
typedef enum Codec Codec
 The codecs supported. More...
 
typedef struct AudioCodec AudioCodec
 Struct used for specifying which audio codec a channel uses. More...
 
typedef struct AudioConfig AudioConfig
 Audio configuration for clients in a channel. More...
 
typedef struct VideoCodec VideoCodec
 Struct used for specifying the video codec to use. More...
 
typedef struct MediaFileInfo MediaFileInfo
 Struct describing the audio and video format used by a media file. More...
 
typedef struct MediaFilePlayback MediaFilePlayback
 Properties for initializing or updating a file for media streaming. More...
 
typedef struct AudioInputProgress AudioInputProgress
 The progress of the audio currently being processed as audio input. More...
 
typedef enum UserRight UserRight
 The rights users have once they have logged on to the server. More...
 
typedef UINT32 UserRights
 A bitmask based on UserRight for holding the rights users have who log on the server. More...
 
typedef struct ServerProperties ServerProperties
 A struct containing the properties of the server's settings. More...
 
typedef struct ServerStatistics ServerStatistics
 A struct containing the server's statistics, i.e. bandwidth usage and user activity. More...
 
typedef enum BanType BanType
 Way to ban a user from either login or joining a channel. More...
 
typedef UINT32 BanTypes
 A mask of types of bans that apply. More...
 
typedef struct BannedUser BannedUser
 A struct containing the properties of a banned user. More...
 
typedef enum UserType UserType
 The types of users supported. More...
 
typedef UINT32 UserTypes
 A bitmask based on UserType describing the user type. More...
 
typedef struct AbusePrevention AbusePrevention
 Properties to prevent server abuse. More...
 
typedef struct UserAccount UserAccount
 A struct containing the properties of a user account. More...
 
typedef enum Subscription Subscription
 A user by default accepts audio, video and text messages from all users. Using subscribtions can, however, change what the local client instance is willing to accept from other users. More...
 
typedef UINT32 Subscriptions
 A bitmask based on Subscription describing which subscriptions are enabled. More...
 
typedef enum UserState UserState
 The possible states for a user. Used for User's uUserState variable. More...
 
typedef UINT32 UserStates
 A bitmask based on UserState indicating a User's current state. More...
 
typedef struct User User
 A struct containing the properties of a user. More...
 
typedef struct UserStatistics UserStatistics
 Packet reception and data statistics for a user. More...
 
typedef enum TextMsgType TextMsgType
 Text message types. More...
 
typedef struct TextMessage TextMessage
 A struct containing the properties of a text message sent by a user. More...
 
typedef enum ChannelType ChannelType
 The types of channels supported. More...
 
typedef UINT32 ChannelTypes
 Bitmask of ChannelType. More...
 
typedef struct Channel Channel
 A struct containing the properties of a channel. More...
 
typedef enum FileTransferStatus FileTransferStatus
 Status of a file transfer. More...
 
typedef struct FileTransfer FileTransfer
 A struct containing the properties of a file transfer. More...
 
typedef struct RemoteFile RemoteFile
 A struct containing the properties of a file in a Channel. More...
 
typedef struct EncryptionContext EncryptionContext
 Configure peer verification for encrypted connection. More...
 
typedef struct ClientKeepAlive ClientKeepAlive
 Control timers for sending keep alive information to the server. More...
 
typedef struct ClientStatistics ClientStatistics
 Statistics of bandwidth usage and ping times in the local client instance. More...
 
typedef struct JitterConfig JitterConfig
 Configuration parameters for the Jitter Buffer. More...
 
typedef enum ClientError ClientError
 Errors which can occur either as a result of client commands or as a result of internal errors. More...
 
typedef struct ClientErrorMsg ClientErrorMsg
 Struct containing an error message. More...
 
typedef enum ClientEvent ClientEvent
 TeamTalk client event messages. More...
 
typedef enum TTType TTType
 
typedef struct TTMessage TTMessage
 A struct containing the properties of an event. More...
 
typedef enum ClientFlag ClientFlag
 Flags used to describe the the client instance current state. More...
 
typedef UINT32 ClientFlags
 A bitmask based on ClientFlag describing the local client instance's current state.
More...
 
typedef VOID TTInstance
 Pointer to a TeamTalk client instance created by TT_InitTeamTalk. More...
 
typedef VOID TTSoundLoop
 Pointer to a sound loop for testing sound devices created by TT_StartSoundLoopbackTest() More...
 
typedef struct ShareWindow ShareWindow
 A struct which describes the properties of a window which can be shared. More...
 
typedef enum TTKeyTranslate TTKeyTranslate
 Translate to and from TeamTalk's intermediate key-codes (TTKEYCODE). More...
 
typedef enum MixerControl MixerControl
 The Windows mixer controls which can be queried by the TT_Mixer_* functions. More...
 

Enumerations

enum  StreamType {
  STREAMTYPE_NONE = 0x00000000 , STREAMTYPE_VOICE = 0x00000001 , STREAMTYPE_VIDEOCAPTURE = 0x00000002 , STREAMTYPE_MEDIAFILE_AUDIO = 0x00000004 ,
  STREAMTYPE_MEDIAFILE_VIDEO = 0x00000008 , STREAMTYPE_DESKTOP = 0x00000010 , STREAMTYPE_DESKTOPINPUT = 0x00000020 , STREAMTYPE_MEDIAFILE ,
  STREAMTYPE_CHANNELMSG = 0x00000040 , STREAMTYPE_LOCALMEDIAPLAYBACK_AUDIO = 0x00000080 , STREAMTYPE_CLASSROOM_ALL
}
 The types of streams which are available for transmission. More...
 
enum  SoundSystem {
  SOUNDSYSTEM_NONE = 0 , SOUNDSYSTEM_WINMM = 1 , SOUNDSYSTEM_DSOUND = 2 , SOUNDSYSTEM_ALSA = 3 ,
  SOUNDSYSTEM_COREAUDIO = 4 , SOUNDSYSTEM_WASAPI = 5 , SOUNDSYSTEM_OPENSLES_ANDROID = 7 , SOUNDSYSTEM_AUDIOUNIT = 8 ,
  SOUNDSYSTEM_AUDIOUNIT_IOS = SOUNDSYSTEM_AUDIOUNIT
}
 The supported sound systems. More...
 
enum  SoundDeviceFeature {
  SOUNDDEVICEFEATURE_NONE = 0x0000 , SOUNDDEVICEFEATURE_AEC = 0x0001 , SOUNDDEVICEFEATURE_AGC = 0x0002 , SOUNDDEVICEFEATURE_DENOISE = 0x0004 ,
  SOUNDDEVICEFEATURE_3DPOSITION = 0x0008 , SOUNDDEVICEFEATURE_DUPLEXMODE = 0x0010 , SOUNDDEVICEFEATURE_DEFAULTCOMDEVICE = 0x0020
}
 Features available on a sound device. Checkout uSoundDeviceFeatures on SoundDevice. More...
 
enum  SoundLevel {
  SOUND_VU_MAX = 100 , SOUND_VU_MIN = 0 , SOUND_VOLUME_MAX = 32000 , SOUND_VOLUME_DEFAULT = 1000 ,
  SOUND_VOLUME_MIN = 0 , SOUND_GAIN_MAX = 32000 , SOUND_GAIN_DEFAULT = 1000 , SOUND_GAIN_MIN = 0
}
 An enum encapsulation the minimum, maximum and default sound levels for input and output sound devices. More...
 
enum  MediaFileStatus {
  MFS_CLOSED = 0 , MFS_ERROR = 1 , MFS_STARTED = 2 , MFS_FINISHED = 3 ,
  MFS_ABORTED = 4 , MFS_PAUSED = 5 , MFS_PLAYING = 6
}
 Status of media file being written to disk. More...
 
enum  AudioFileFormat {
  AFF_NONE = 0 , AFF_CHANNELCODEC_FORMAT = 1 , AFF_WAVE_FORMAT = 2 , AFF_MP3_16KBIT_FORMAT = 3 ,
  AFF_MP3_32KBIT_FORMAT = 4 , AFF_MP3_64KBIT_FORMAT = 5 , AFF_MP3_128KBIT_FORMAT = 6 , AFF_MP3_256KBIT_FORMAT = 7
}
 Media file formats supported for muxed audio recordings. More...
 
enum  FourCC { FOURCC_NONE = 0 , FOURCC_I420 = 100 , FOURCC_YUY2 = 101 , FOURCC_RGB32 = 102 }
 The picture format used by a capture device. More...
 
enum  BitmapFormat {
  BMP_NONE = 0 , BMP_RGB8_PALETTE = 1 , BMP_RGB16_555 = 2 , BMP_RGB24 = 3 ,
  BMP_RGB32 = 4
}
 The bitmap format used for a DesktopWindow. More...
 
enum  DesktopProtocol { DESKTOPPROTOCOL_ZLIB_1 = 1 }
 The protocols supported for transferring a DesktopWindow. More...
 
enum  DesktopKeyState { DESKTOPKEYSTATE_NONE = 0x00000000 , DESKTOPKEYSTATE_DOWN = 0x00000001 , DESKTOPKEYSTATE_UP = 0x00000002 }
 The state of a key (or mouse button), i.e. if it's pressed or released. More...
 
enum  AudioPreprocessorType { NO_AUDIOPREPROCESSOR = 0 , SPEEXDSP_AUDIOPREPROCESSOR = 1 , TEAMTALK_AUDIOPREPROCESSOR = 2 , WEBRTC_AUDIOPREPROCESSOR = 3 }
 The types of supported audio preprocessors. More...
 
enum  Codec {
  NO_CODEC = 0 , SPEEX_CODEC = 1 , SPEEX_VBR_CODEC = 2 , OPUS_CODEC = 3 ,
  WEBM_VP8_CODEC = 128
}
 The codecs supported. More...
 
enum  UserRight {
  USERRIGHT_NONE = 0x00000000 , USERRIGHT_MULTI_LOGIN = 0x00000001 , USERRIGHT_VIEW_ALL_USERS = 0x00000002 , USERRIGHT_CREATE_TEMPORARY_CHANNEL = 0x00000004 ,
  USERRIGHT_MODIFY_CHANNELS = 0x00000008 , USERRIGHT_TEXTMESSAGE_BROADCAST = 0x00000010 , USERRIGHT_KICK_USERS = 0x00000020 , USERRIGHT_BAN_USERS = 0x00000040 ,
  USERRIGHT_MOVE_USERS = 0x00000080 , USERRIGHT_OPERATOR_ENABLE = 0x00000100 , USERRIGHT_UPLOAD_FILES = 0x00000200 , USERRIGHT_DOWNLOAD_FILES = 0x00000400 ,
  USERRIGHT_UPDATE_SERVERPROPERTIES = 0x00000800 , USERRIGHT_TRANSMIT_VOICE = 0x00001000 , USERRIGHT_TRANSMIT_VIDEOCAPTURE = 0x00002000 , USERRIGHT_TRANSMIT_DESKTOP = 0x00004000 ,
  USERRIGHT_TRANSMIT_DESKTOPINPUT = 0x00008000 , USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO = 0x00010000 , USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO = 0x00020000 , USERRIGHT_TRANSMIT_MEDIAFILE = USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO | USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO ,
  USERRIGHT_LOCKED_NICKNAME = 0x00040000 , USERRIGHT_LOCKED_STATUS = 0x00080000 , USERRIGHT_RECORD_VOICE = 0x00100000 , USERRIGHT_VIEW_HIDDEN_CHANNELS = 0x00200000
}
 The rights users have once they have logged on to the server. More...
 
enum  BanType { BANTYPE_NONE = 0x00 , BANTYPE_CHANNEL = 0x01 , BANTYPE_IPADDR = 0x02 , BANTYPE_USERNAME = 0x04 }
 Way to ban a user from either login or joining a channel. More...
 
enum  UserType { USERTYPE_NONE = 0x0 , USERTYPE_DEFAULT = 0x01 , USERTYPE_ADMIN = 0x02 }
 The types of users supported. More...
 
enum  Subscription {
  SUBSCRIBE_NONE = 0x00000000 , SUBSCRIBE_USER_MSG = 0x00000001 , SUBSCRIBE_CHANNEL_MSG = 0x00000002 , SUBSCRIBE_BROADCAST_MSG = 0x00000004 ,
  SUBSCRIBE_CUSTOM_MSG = 0x00000008 , SUBSCRIBE_VOICE = 0x00000010 , SUBSCRIBE_VIDEOCAPTURE = 0x00000020 , SUBSCRIBE_DESKTOP = 0x00000040 ,
  SUBSCRIBE_DESKTOPINPUT = 0x00000080 , SUBSCRIBE_MEDIAFILE = 0x00000100 , SUBSCRIBE_INTERCEPT_USER_MSG = 0x00010000 , SUBSCRIBE_INTERCEPT_CHANNEL_MSG = 0x00020000 ,
  SUBSCRIBE_INTERCEPT_CUSTOM_MSG = 0x00080000 , SUBSCRIBE_INTERCEPT_VOICE = 0x00100000 , SUBSCRIBE_INTERCEPT_VIDEOCAPTURE = 0x00200000 , SUBSCRIBE_INTERCEPT_DESKTOP = 0x00400000 ,
  SUBSCRIBE_INTERCEPT_MEDIAFILE = 0x01000000
}
 A user by default accepts audio, video and text messages from all users. Using subscribtions can, however, change what the local client instance is willing to accept from other users. More...
 
enum  UserState {
  USERSTATE_NONE = 0x0000000 , USERSTATE_VOICE = 0x00000001 , USERSTATE_MUTE_VOICE = 0x00000002 , USERSTATE_MUTE_MEDIAFILE = 0x00000004 ,
  USERSTATE_DESKTOP = 0x00000008 , USERSTATE_VIDEOCAPTURE = 0x00000010 , USERSTATE_MEDIAFILE_AUDIO = 0x00000020 , USERSTATE_MEDIAFILE_VIDEO = 0x00000040 ,
  USERSTATE_MEDIAFILE
}
 The possible states for a user. Used for User's uUserState variable. More...
 
enum  TextMsgType { MSGTYPE_USER = 1 , MSGTYPE_CHANNEL = 2 , MSGTYPE_BROADCAST = 3 , MSGTYPE_CUSTOM = 4 }
 Text message types. More...
 
enum  ChannelType {
  CHANNEL_DEFAULT = 0x0000 , CHANNEL_PERMANENT = 0x0001 , CHANNEL_SOLO_TRANSMIT = 0x0002 , CHANNEL_CLASSROOM = 0x0004 ,
  CHANNEL_OPERATOR_RECVONLY = 0x0008 , CHANNEL_NO_VOICEACTIVATION = 0x0010 , CHANNEL_NO_RECORDING = 0x0020 , CHANNEL_HIDDEN = 0x0040
}
 The types of channels supported. More...
 
enum  FileTransferStatus { FILETRANSFER_CLOSED = 0 , FILETRANSFER_ERROR = 1 , FILETRANSFER_ACTIVE = 2 , FILETRANSFER_FINISHED = 3 }
 Status of a file transfer. More...
 
enum  ClientError {
  CMDERR_SUCCESS = 0 , CMDERR_SYNTAX_ERROR = 1000 , CMDERR_UNKNOWN_COMMAND = 1001 , CMDERR_MISSING_PARAMETER = 1002 ,
  CMDERR_INCOMPATIBLE_PROTOCOLS = 1003 , CMDERR_UNKNOWN_AUDIOCODEC = 1004 , CMDERR_INVALID_USERNAME = 1005 , CMDERR_INCORRECT_CHANNEL_PASSWORD = 2001 ,
  CMDERR_INVALID_ACCOUNT = 2002 , CMDERR_MAX_SERVER_USERS_EXCEEDED = 2003 , CMDERR_MAX_CHANNEL_USERS_EXCEEDED = 2004 , CMDERR_SERVER_BANNED = 2005 ,
  CMDERR_NOT_AUTHORIZED = 2006 , CMDERR_MAX_DISKUSAGE_EXCEEDED = 2008 , CMDERR_INCORRECT_OP_PASSWORD = 2010 , CMDERR_AUDIOCODEC_BITRATE_LIMIT_EXCEEDED = 2011 ,
  CMDERR_MAX_LOGINS_PER_IPADDRESS_EXCEEDED = 2012 , CMDERR_MAX_CHANNELS_EXCEEDED = 2013 , CMDERR_COMMAND_FLOOD = 2014 , CMDERR_CHANNEL_BANNED = 2015 ,
  CMDERR_NOT_LOGGEDIN = 3000 , CMDERR_ALREADY_LOGGEDIN = 3001 , CMDERR_NOT_IN_CHANNEL = 3002 , CMDERR_ALREADY_IN_CHANNEL = 3003 ,
  CMDERR_CHANNEL_ALREADY_EXISTS = 3004 , CMDERR_CHANNEL_NOT_FOUND = 3005 , CMDERR_USER_NOT_FOUND = 3006 , CMDERR_BAN_NOT_FOUND = 3007 ,
  CMDERR_FILETRANSFER_NOT_FOUND = 3008 , CMDERR_OPENFILE_FAILED = 3009 , CMDERR_ACCOUNT_NOT_FOUND = 3010 , CMDERR_FILE_NOT_FOUND = 3011 ,
  CMDERR_FILE_ALREADY_EXISTS = 3012 , CMDERR_FILESHARING_DISABLED = 3013 , CMDERR_CHANNEL_HAS_USERS = 3015 , CMDERR_LOGINSERVICE_UNAVAILABLE = 3016 ,
  CMDERR_CHANNEL_CANNOT_BE_HIDDEN = 3017 , INTERR_SNDINPUT_FAILURE = 10000 , INTERR_SNDOUTPUT_FAILURE = 10001 , INTERR_AUDIOCODEC_INIT_FAILED = 10002 ,
  INTERR_SPEEXDSP_INIT_FAILED = 10003 , INTERR_AUDIOPREPROCESSOR_INIT_FAILED = 10003 , INTERR_TTMESSAGE_QUEUE_OVERFLOW = 10004 , INTERR_SNDEFFECT_FAILURE = 10005
}
 Errors which can occur either as a result of client commands or as a result of internal errors. More...
 
enum  ClientEvent {
  CLIENTEVENT_NONE = 0 , CLIENTEVENT_CON_SUCCESS = CLIENTEVENT_NONE + 10 , CLIENTEVENT_CON_FAILED = CLIENTEVENT_NONE + 20 , CLIENTEVENT_CON_LOST = CLIENTEVENT_NONE + 30 ,
  CLIENTEVENT_CON_MAX_PAYLOAD_UPDATED = CLIENTEVENT_NONE + 40 , CLIENTEVENT_CMD_PROCESSING = CLIENTEVENT_NONE + 200 , CLIENTEVENT_CMD_ERROR = CLIENTEVENT_NONE + 210 , CLIENTEVENT_CMD_SUCCESS = CLIENTEVENT_NONE + 220 ,
  CLIENTEVENT_CMD_MYSELF_LOGGEDIN = CLIENTEVENT_NONE + 230 , CLIENTEVENT_CMD_MYSELF_LOGGEDOUT = CLIENTEVENT_NONE + 240 , CLIENTEVENT_CMD_MYSELF_KICKED = CLIENTEVENT_NONE + 250 , CLIENTEVENT_CMD_USER_LOGGEDIN = CLIENTEVENT_NONE + 260 ,
  CLIENTEVENT_CMD_USER_LOGGEDOUT = CLIENTEVENT_NONE + 270 , CLIENTEVENT_CMD_USER_UPDATE = CLIENTEVENT_NONE + 280 , CLIENTEVENT_CMD_USER_JOINED = CLIENTEVENT_NONE + 290 , CLIENTEVENT_CMD_USER_LEFT = CLIENTEVENT_NONE + 300 ,
  CLIENTEVENT_CMD_USER_TEXTMSG = CLIENTEVENT_NONE + 310 , CLIENTEVENT_CMD_CHANNEL_NEW = CLIENTEVENT_NONE + 320 , CLIENTEVENT_CMD_CHANNEL_UPDATE = CLIENTEVENT_NONE + 330 , CLIENTEVENT_CMD_CHANNEL_REMOVE = CLIENTEVENT_NONE + 340 ,
  CLIENTEVENT_CMD_SERVER_UPDATE = CLIENTEVENT_NONE + 350 , CLIENTEVENT_CMD_SERVERSTATISTICS = CLIENTEVENT_NONE + 360 , CLIENTEVENT_CMD_FILE_NEW = CLIENTEVENT_NONE + 370 , CLIENTEVENT_CMD_FILE_REMOVE = CLIENTEVENT_NONE + 380 ,
  CLIENTEVENT_CMD_USERACCOUNT = CLIENTEVENT_NONE + 390 , CLIENTEVENT_CMD_BANNEDUSER = CLIENTEVENT_NONE + 400 , CLIENTEVENT_USER_STATECHANGE = CLIENTEVENT_NONE + 500 , CLIENTEVENT_USER_VIDEOCAPTURE = CLIENTEVENT_NONE + 510 ,
  CLIENTEVENT_USER_MEDIAFILE_VIDEO = CLIENTEVENT_NONE + 520 , CLIENTEVENT_USER_DESKTOPWINDOW = CLIENTEVENT_NONE + 530 , CLIENTEVENT_USER_DESKTOPCURSOR = CLIENTEVENT_NONE + 540 , CLIENTEVENT_USER_DESKTOPINPUT = CLIENTEVENT_NONE + 550 ,
  CLIENTEVENT_USER_RECORD_MEDIAFILE = CLIENTEVENT_NONE + 560 , CLIENTEVENT_USER_AUDIOBLOCK = CLIENTEVENT_NONE + 570 , CLIENTEVENT_INTERNAL_ERROR = CLIENTEVENT_NONE + 1000 , CLIENTEVENT_VOICE_ACTIVATION = CLIENTEVENT_NONE + 1010 ,
  CLIENTEVENT_HOTKEY = CLIENTEVENT_NONE + 1020 , CLIENTEVENT_HOTKEY_TEST = CLIENTEVENT_NONE + 1030 , CLIENTEVENT_FILETRANSFER = CLIENTEVENT_NONE + 1040 , CLIENTEVENT_DESKTOPWINDOW_TRANSFER = CLIENTEVENT_NONE + 1050 ,
  CLIENTEVENT_STREAM_MEDIAFILE = CLIENTEVENT_NONE + 1060 , CLIENTEVENT_LOCAL_MEDIAFILE = CLIENTEVENT_NONE + 1070 , CLIENTEVENT_AUDIOINPUT = CLIENTEVENT_NONE + 1080 , CLIENTEVENT_USER_FIRSTVOICESTREAMPACKET = CLIENTEVENT_NONE + 1090
}
 TeamTalk client event messages. More...
 
enum  TTType {
  __NONE = 0 , __AUDIOCODEC = 1 , __BANNEDUSER = 2 , __VIDEOFORMAT = 3 ,
  __OPUSCODEC = 4 , __CHANNEL = 5 , __CLIENTSTATISTICS = 6 , __REMOTEFILE = 7 ,
  __FILETRANSFER = 8 , __MEDIAFILESTATUS = 9 , __SERVERPROPERTIES = 10 , __SERVERSTATISTICS = 11 ,
  __SOUNDDEVICE = 12 , __SPEEXCODEC = 13 , __TEXTMESSAGE = 14 , __WEBMVP8CODEC = 15 ,
  __TTMESSAGE = 16 , __USER = 17 , __USERACCOUNT = 18 , __USERSTATISTICS = 19 ,
  __VIDEOCAPTUREDEVICE = 20 , __VIDEOCODEC = 21 , __AUDIOCONFIG = 22 , __SPEEXVBRCODEC = 23 ,
  __VIDEOFRAME = 24 , __AUDIOBLOCK = 25 , __AUDIOFORMAT = 26 , __MEDIAFILEINFO = 27 ,
  __CLIENTERRORMSG = 28 , __TTBOOL = 29 , __INT32 = 30 , __DESKTOPINPUT = 31 ,
  __SPEEXDSP = 32 , __STREAMTYPE = 33 , __AUDIOPREPROCESSORTYPE = 34 , __AUDIOPREPROCESSOR = 35 ,
  __TTAUDIOPREPROCESSOR = 36 , __MEDIAFILEPLAYBACK = 37 , __CLIENTKEEPALIVE = 38 , __UINT32 = 39 ,
  __AUDIOINPUTPROGRESS = 40 , __JITTERCONFIG = 41 , __WEBRTCAUDIOPREPROCESSOR = 42 , __ENCRYPTIONCONTEXT = 43
}
 
enum  ClientFlag {
  CLIENT_CLOSED = 0x00000000 , CLIENT_SNDINPUT_READY = 0x00000001 , CLIENT_SNDOUTPUT_READY = 0x00000002 , CLIENT_SNDINOUTPUT_DUPLEX = 0x00000004 ,
  CLIENT_SNDINPUT_VOICEACTIVATED = 0x00000008 , CLIENT_SNDINPUT_VOICEACTIVE = 0x00000010 , CLIENT_SNDOUTPUT_MUTE = 0x00000020 , CLIENT_SNDOUTPUT_AUTO3DPOSITION = 0x00000040 ,
  CLIENT_VIDEOCAPTURE_READY = 0x00000080 , CLIENT_TX_VOICE = 0x00000100 , CLIENT_TX_VIDEOCAPTURE = 0x00000200 , CLIENT_TX_DESKTOP = 0x00000400 ,
  CLIENT_DESKTOP_ACTIVE = 0x00000800 , CLIENT_MUX_AUDIOFILE = 0x00001000 , CLIENT_CONNECTING = 0x00002000 , CLIENT_CONNECTED = 0x00004000 ,
  CLIENT_CONNECTION = CLIENT_CONNECTING | CLIENT_CONNECTED , CLIENT_AUTHORIZED = 0x00008000 , CLIENT_STREAM_AUDIO = 0x00010000 , CLIENT_STREAM_VIDEO = 0x00020000
}
 Flags used to describe the the client instance current state. More...
 
enum  TTKeyTranslate {
  TTKEY_NO_TRANSLATE = 0 , TTKEY_WINKEYCODE_TO_TTKEYCODE = 1 , TTKEY_TTKEYCODE_TO_WINKEYCODE = 2 , TTKEY_MACKEYCODE_TO_TTKEYCODE = 3 ,
  TTKEY_TTKEYCODE_TO_MACKEYCODE = 4
}
 Translate to and from TeamTalk's intermediate key-codes (TTKEYCODE). More...
 
enum  MixerControl {
  WAVEOUT_MASTER , WAVEOUT_WAVE , WAVEOUT_MICROPHONE , WAVEIN_MICROPHONE ,
  WAVEIN_LINEIN , WAVEIN_WAVEOUT
}
 The Windows mixer controls which can be queried by the TT_Mixer_* functions. More...
 

Functions

TEAMTALKDLL_API const TTCHARTT_GetVersion (void)
 Get the DLL's version number. More...
 
TEAMTALKDLL_API TTInstanceTT_InitTeamTalk (IN HWND hWnd, IN UINT32 uMsg)
 Create a new TeamTalk client instance where events are posted to a HWND. More...
 
TEAMTALKDLL_API TTBOOL TT_SwapTeamTalkHWND (IN TTInstance *lpTTInstance, IN HWND hWnd)
 Replace the HWND passed as parameter to TT_InitTeamTalk with this HWND. More...
 
TEAMTALKDLL_API TTInstanceTT_InitTeamTalkPoll (void)
 Create a new TeamTalk client instance where events are 'polled' using TT_GetMessage. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseTeamTalk (IN TTInstance *lpTTInstance)
 Close the TeamTalk client instance and release its resources. More...
 
TEAMTALKDLL_API TTBOOL TT_GetMessage (IN TTInstance *lpTTInstance, OUT TTMessage *pMsg, IN const INT32 *pnWaitMs)
 Poll for events in the client instance. More...
 
TEAMTALKDLL_API TTBOOL TT_PumpMessage (IN TTInstance *lpTTInstance, ClientEvent nClientEvent, INT32 nIdentifier)
 Cause client instance event thread to schedule an update event. More...
 
TEAMTALKDLL_API ClientFlags TT_GetFlags (IN TTInstance *lpTTInstance)
 Get a bitmask describing the client's current state. More...
 
TEAMTALKDLL_API TTBOOL TT_SetLicenseInformation (IN const TTCHAR szRegName[TT_STRLEN], IN const TTCHAR szRegKey[TT_STRLEN])
 Set license information to disable trial mode. More...
 
TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevices (OUT INT32 *lpnInputDeviceID, OUT INT32 *lpnOutputDeviceID)
 Get the default sound devices. More...
 
TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevicesEx (IN SoundSystem nSndSystem, OUT INT32 *lpnInputDeviceID, OUT INT32 *lpnOutputDeviceID)
 Get the default sound devices for the specified sound system. More...
 
TEAMTALKDLL_API TTBOOL TT_GetSoundDevices (IN OUT SoundDevice *lpSoundDevices, IN OUT INT32 *lpnHowMany)
 Retrieve list of sound devices for recording and playback. More...
 
TEAMTALKDLL_API TTBOOL TT_RestartSoundSystem (void)
 Reinitialize sound system (in order to detect new/removed devices). More...
 
TEAMTALKDLL_API TTSoundLoopTT_StartSoundLoopbackTest (IN INT32 nInputDeviceID, IN INT32 nOutputDeviceID, IN INT32 nSampleRate, IN INT32 nChannels, IN TTBOOL bDuplexMode, IN const SpeexDSP *lpSpeexDSP)
 Perform a record and playback test of specified sound devices along with an audio configuration. More...
 
TEAMTALKDLL_API TTSoundLoopTT_StartSoundLoopbackTestEx (IN INT32 nInputDeviceID, IN INT32 nOutputDeviceID, IN INT32 nSampleRate, IN INT32 nChannels, IN TTBOOL bDuplexMode, IN const AudioPreprocessor *lpAudioPreprocessor, IN const SoundDeviceEffects *lpSoundDeviceEffects)
 Perform a record and playback test of specified sound devices along with an audio configuration. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseSoundLoopbackTest (IN TTSoundLoop *lpTTSoundLoop)
 Stop recorder and playback test. More...
 
TEAMTALKDLL_API TTBOOL TT_InitSoundInputDevice (IN TTInstance *lpTTInstance, IN INT32 nInputDeviceID)
 Initialize the sound input device (for recording audio). More...
 
TEAMTALKDLL_API TTBOOL TT_InitSoundInputSharedDevice (IN INT32 nSampleRate, IN INT32 nChannels, IN INT32 nFrameSize)
 Setup sample rate, channels and frame size of shared sound input device. More...
 
TEAMTALKDLL_API TTBOOL TT_InitSoundOutputDevice (IN TTInstance *lpTTInstance, IN INT32 nOutputDeviceID)
 Initialize the sound output device (for audio playback). More...
 
TEAMTALKDLL_API TTBOOL TT_InitSoundOutputSharedDevice (IN INT32 nSampleRate, IN INT32 nChannels, IN INT32 nFrameSize)
 Setup sample rate, channels and frame size of shared sound output device. More...
 
TEAMTALKDLL_API TTBOOL TT_InitSoundDuplexDevices (IN TTInstance *lpTTInstance, IN INT32 nInputDeviceID, IN INT32 nOutputDeviceID)
 Enable duplex mode where multiple audio streams are mixed into a single stream using software. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseSoundInputDevice (IN TTInstance *lpTTInstance)
 Shutdown the input sound device. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseSoundOutputDevice (IN TTInstance *lpTTInstance)
 Shutdown the output sound device. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseSoundDuplexDevices (IN TTInstance *lpTTInstance)
 Shut down sound devices running in duplex mode. More...
 
TEAMTALKDLL_API TTBOOL TT_SetSoundDeviceEffects (IN TTInstance *lpTTInstance, IN const SoundDeviceEffects *lpSoundDeviceEffect)
 Set up audio effects on a sound device. More...
 
TEAMTALKDLL_API TTBOOL TT_GetSoundDeviceEffects (IN TTInstance *lpTTInstance, OUT SoundDeviceEffects *lpSoundDeviceEffect)
 Get the audio effects that are currently enabled. More...
 
TEAMTALKDLL_API INT32 TT_GetSoundInputLevel (IN TTInstance *lpTTInstance)
 Get the volume level of the current recorded audio. More...
 
TEAMTALKDLL_API TTBOOL TT_SetSoundInputGainLevel (IN TTInstance *lpTTInstance, IN INT32 nLevel)
 Set voice gaining of recorded audio. More...
 
TEAMTALKDLL_API INT32 TT_GetSoundInputGainLevel (IN TTInstance *lpTTInstance)
 Get voice gain level of outgoing audio. More...
 
TEAMTALKDLL_API TTBOOL TT_SetSoundInputPreprocess (IN TTInstance *lpTTInstance, IN const SpeexDSP *lpSpeexDSP)
 Enable sound preprocessor which should be used for processing audio recorded by the sound input device (voice input). More...
 
TEAMTALKDLL_API TTBOOL TT_GetSoundInputPreprocess (IN TTInstance *lpTTInstance, OUT SpeexDSP *lpSpeexDSP)
 Get the sound preprocessor settings which are currently in use for recorded sound input device (voice input). More...
 
TEAMTALKDLL_API TTBOOL TT_SetSoundInputPreprocessEx (IN TTInstance *lpTTInstance, IN const AudioPreprocessor *lpAudioPreprocessor)
 Enable sound preprocessor which should be used for processing audio recorded by the sound input device (voice input). More...
 
TEAMTALKDLL_API TTBOOL TT_GetSoundInputPreprocessEx (IN TTInstance *lpTTInstance, OUT AudioPreprocessor *lpAudioPreprocessor)
 Get the sound preprocessor settings which are currently in use for recorded sound input device (voice input). More...
 
TEAMTALKDLL_API TTBOOL TT_SetSoundOutputVolume (IN TTInstance *lpTTInstance, IN INT32 nVolume)
 Set master volume. More...
 
TEAMTALKDLL_API INT32 TT_GetSoundOutputVolume (IN TTInstance *lpTTInstance)
 Get master volume. More...
 
TEAMTALKDLL_API TTBOOL TT_SetSoundOutputMute (IN TTInstance *lpTTInstance, IN TTBOOL bMuteAll)
 Set all users mute. More...
 
TEAMTALKDLL_API TTBOOL TT_Enable3DSoundPositioning (IN TTInstance *lpTTInstance, IN TTBOOL bEnable)
 Enable automatically position users using 3D-sound. More...
 
TEAMTALKDLL_API TTBOOL TT_AutoPositionUsers (IN TTInstance *lpTTInstance)
 Automatically position users using 3D-sound. More...
 
TEAMTALKDLL_API TTBOOL TT_EnableAudioBlockEvent (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamTypes uStreamTypes, IN TTBOOL bEnable)
 Enable/disable access to raw audio from individual users, local microphone input or mixed stream of all users. More...
 
TEAMTALKDLL_API TTBOOL TT_EnableAudioBlockEventEx (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamTypes uStreamTypes, IN const AudioFormat *lpAudioFormat, IN TTBOOL bEnable)
 Enable/disable access to raw audio from individual users, local microphone input or mixed stream of all users. More...
 
TEAMTALKDLL_API TTBOOL TT_InsertAudioBlock (IN TTInstance *lpTTInstance, IN const AudioBlock *lpAudioBlock)
 Transmit application provided raw audio in AudioBlock-structs as STREAMTYPE_VOICE, i.e. microphone input. More...
 
TEAMTALKDLL_API TTBOOL TT_EnableVoiceTransmission (IN TTInstance *lpTTInstance, IN TTBOOL bEnable)
 Start/stop transmitting of voice data from sound input. More...
 
TEAMTALKDLL_API TTBOOL TT_EnableVoiceActivation (IN TTInstance *lpTTInstance, IN TTBOOL bEnable)
 Enable voice activation. More...
 
TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationLevel (IN TTInstance *lpTTInstance, IN INT32 nLevel)
 Set voice activation level. More...
 
TEAMTALKDLL_API INT32 TT_GetVoiceActivationLevel (IN TTInstance *lpTTInstance)
 Get voice activation level. More...
 
TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationStopDelay (IN TTInstance *lpTTInstance, IN INT32 nDelayMSec)
 Set the delay of when voice activation should be stopped. More...
 
TEAMTALKDLL_API INT32 TT_GetVoiceActivationStopDelay (IN TTInstance *lpTTInstance)
 Get the delay of when voice active state should be disabled. More...
 
TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedAudioFile (IN TTInstance *lpTTInstance, IN const AudioCodec *lpAudioCodec, IN const TTCHAR *szAudioFileName, IN AudioFileFormat uAFF)
 Store all audio conversations with specific AudioCodec settings to a single file. More...
 
TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedAudioFileEx (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN const TTCHAR *szAudioFileName, IN AudioFileFormat uAFF)
 Store audio conversations from a specific channel into a single file. More...
 
TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedStreams (IN TTInstance *lpTTInstance, IN StreamTypes uStreamTypes, IN const AudioCodec *lpAudioCodec, IN const TTCHAR *szAudioFileName, IN AudioFileFormat uAFF)
 Mix multiple StreamTypes into a single audio file. More...
 
TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFile (IN TTInstance *lpTTInstance)
 Stop an active muxed audio recording. More...
 
TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFileEx (IN TTInstance *lpTTInstance, IN INT32 nChannelID)
 Stop recording conversations from a channel to a single file. More...
 
TEAMTALKDLL_API TTBOOL TT_StartVideoCaptureTransmission (IN TTInstance *lpTTInstance, IN const VideoCodec *lpVideoCodec)
 Start transmitting from video capture device. More...
 
TEAMTALKDLL_API TTBOOL TT_StopVideoCaptureTransmission (IN TTInstance *lpTTInstance)
 Stop transmitting from video capture device. More...
 
TEAMTALKDLL_API TTBOOL TT_GetVideoCaptureDevices (IN OUT VideoCaptureDevice *lpVideoDevices, IN OUT INT32 *lpnHowMany)
 Get the list of devices available for video capture. More...
 
TEAMTALKDLL_API TTBOOL TT_InitVideoCaptureDevice (IN TTInstance *lpTTInstance, IN const TTCHAR *szDeviceID, IN const VideoFormat *lpVideoFormat)
 Initialize a video capture device. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseVideoCaptureDevice (IN TTInstance *lpTTInstance)
 Close a video capture device. More...
 
TEAMTALKDLL_API TTBOOL TT_PaintVideoFrame (IN HDC hDC, IN INT32 XDest, IN INT32 YDest, IN INT32 nDestWidth, IN INT32 nDestHeight, IN VideoFrame *lpVideoFrame)
 Paint user's video frame using a Windows' DC (device context). More...
 
TEAMTALKDLL_API TTBOOL TT_PaintVideoFrameEx (IN HDC hDC, IN INT32 XDest, IN INT32 YDest, IN INT32 nDestWidth, IN INT32 nDestHeight, IN INT32 XSrc, IN INT32 YSrc, IN INT32 nSrcWidth, IN INT32 nSrcHeight, IN VideoFrame *lpVideoFrame)
 Paint user's video frame using a Windows' DC (device context). More...
 
TEAMTALKDLL_API VideoFrameTT_AcquireUserVideoCaptureFrame (IN TTInstance *lpTTInstance, IN INT32 nUserID)
 Extract a user's video capture frame for display. More...
 
TEAMTALKDLL_API TTBOOL TT_ReleaseUserVideoCaptureFrame (IN TTInstance *lpTTInstance, IN VideoFrame *lpVideoFrame)
 Delete a user's video frame, acquired through TT_AcquireUserVideoCaptureFrame(), so its allocated resources can be released. More...
 
TEAMTALKDLL_API TTBOOL TT_StartStreamingMediaFileToChannel (IN TTInstance *lpTTInstance, IN const TTCHAR *szMediaFilePath, IN const VideoCodec *lpVideoCodec)
 Stream media file to channel, e.g. avi-, wav- or MP3-file. More...
 
TEAMTALKDLL_API TTBOOL TT_StartStreamingMediaFileToChannelEx (IN TTInstance *lpTTInstance, IN const TTCHAR *szMediaFilePath, IN const MediaFilePlayback *lpMediaFilePlayback, IN const VideoCodec *lpVideoCodec)
 Stream media file to channel, e.g. avi, wav or MP3-file. More...
 
TEAMTALKDLL_API TTBOOL TT_UpdateStreamingMediaFileToChannel (IN TTInstance *lpTTInstance, IN const MediaFilePlayback *lpMediaFilePlayback, IN const VideoCodec *lpVideoCodec)
 Update active media file being streamed to channel. More...
 
TEAMTALKDLL_API TTBOOL TT_StopStreamingMediaFileToChannel (IN TTInstance *lpTTInstance)
 Stop streaming media file to channel. More...
 
TEAMTALKDLL_API INT32 TT_InitLocalPlayback (IN TTInstance *lpTTInstance, IN const TTCHAR *szMediaFilePath, IN const MediaFilePlayback *lpMediaFilePlayback)
 Play media file using settings from TTInstance. More...
 
TEAMTALKDLL_API TTBOOL TT_UpdateLocalPlayback (IN TTInstance *lpTTInstance, IN INT32 nPlaybackSessionID, IN const MediaFilePlayback *lpMediaFilePlayback)
 
TEAMTALKDLL_API TTBOOL TT_StopLocalPlayback (IN TTInstance *lpTTInstance, IN INT32 nPlaybackSessionID)
 
TEAMTALKDLL_API TTBOOL TT_GetMediaFileInfo (IN const TTCHAR *szMediaFilePath, OUT MediaFileInfo *lpMediaFileInfo)
 Get the properties of a media file. More...
 
TEAMTALKDLL_API VideoFrameTT_AcquireUserMediaVideoFrame (IN TTInstance *lpTTInstance, IN INT32 nUserID)
 Extract a user's media video frame for display. More...
 
TEAMTALKDLL_API TTBOOL TT_ReleaseUserMediaVideoFrame (IN TTInstance *lpTTInstance, IN VideoFrame *lpVideoFrame)
 Delete a user's video frame, acquired through TT_AcquireUserMediaVideoFrame(), so its allocated resources can be released. More...
 
TEAMTALKDLL_API INT32 TT_SendDesktopWindow (IN TTInstance *lpTTInstance, IN const DesktopWindow *lpDesktopWindow, IN BitmapFormat nConvertBmpFormat)
 Transmit a desktop window (bitmap) to users in the same channel. More...
 
TEAMTALKDLL_API TTBOOL TT_CloseDesktopWindow (IN TTInstance *lpTTInstance)
 Close the current desktop session. More...
 
TEAMTALKDLL_API unsigned char * TT_Palette_GetColorTable (IN BitmapFormat nBmpPalette, IN INT32 nIndex)
 Get RGB values of the palette for the bitmap format. More...
 
TEAMTALKDLL_API HWND TT_Windows_GetDesktopActiveHWND (void)
 Get the handle (HWND) of the window which is currently active (focused) on the Windows desktop. More...
 
TEAMTALKDLL_API HWND TT_Windows_GetDesktopHWND (void)
 Get the handle (HWND) of the Windows desktop (full desktop). More...
 
TEAMTALKDLL_API TTBOOL TT_Windows_GetDesktopWindowHWND (IN INT32 nIndex, OUT HWND *lpHWnd)
 Enumerate all the handles (HWND) of visible windows. Increment nIndex until the function returns FALSE. Use TT_Windows_GetWindow() to get information about each window. More...
 
TEAMTALKDLL_API TTBOOL TT_Windows_GetWindow (IN HWND hWnd, OUT ShareWindow *lpShareWindow)
 Get the properties of a window from its window handle (HWND). More...
 
TEAMTALKDLL_API INT32 TT_SendDesktopWindowFromHWND (IN TTInstance *lpTTInstance, IN HWND hWnd, IN BitmapFormat nBitmapFormat, IN DesktopProtocol nDesktopProtocol)
 Transmit the specified window in a desktop session. More...
 
TEAMTALKDLL_API TTBOOL TT_PaintDesktopWindow (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN HDC hDC, IN INT32 XDest, IN INT32 YDest, IN INT32 nDestWidth, IN INT32 nDestHeight)
 Paint user's desktop window using a Windows' DC (device context). More...
 
TEAMTALKDLL_API TTBOOL TT_PaintDesktopWindowEx (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN HDC hDC, IN INT32 XDest, IN INT32 YDest, IN INT32 nDestWidth, IN INT32 nDestHeight, IN INT32 XSrc, IN INT32 YSrc, IN INT32 nSrcWidth, IN INT32 nSrcHeight)
 Paint user's desktop window using a Windows' DC (device context). More...
 
TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindow (IN INT32 nIndex, OUT ShareWindow *lpShareWindow)
 Enumerate all windows on the desktop. Increment nIndex until the function returns FALSE. Use TT_MacOS_GetWindowFromWindowID() to get information about the window, e.g. title, dimensions, etc. More...
 
TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindowFromWindowID (IN INT64 nWindowID, OUT ShareWindow *lpShareWindow)
 Get information about a window by passing its handle (CGWindowID). More...
 
TEAMTALKDLL_API INT32 TT_SendDesktopFromWindowID (IN TTInstance *lpTTInstance, IN INT64 nWindowID, IN BitmapFormat nBitmapFormat, IN DesktopProtocol nDesktopProtocol)
 Transmit the specified window in a desktop session. More...
 
TEAMTALKDLL_API TTBOOL TT_SendDesktopCursorPosition (IN TTInstance *lpTTInstance, IN UINT16 nPosX, IN UINT16 nPosY)
 Send the position of mouse cursor to users in the same channel. More...
 
TEAMTALKDLL_API TTBOOL TT_SendDesktopInput (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN const DesktopInput lpDesktopInputs[TT_DESKTOPINPUT_MAX], IN INT32 nDesktopInputCount)
 Send a mouse or keyboard event to a shared desktop window. More...
 
TEAMTALKDLL_API DesktopWindowTT_AcquireUserDesktopWindow (IN TTInstance *lpTTInstance, IN INT32 nUserID)
 Acquire a user's desktop window (bitmap image). More...
 
TEAMTALKDLL_API DesktopWindowTT_AcquireUserDesktopWindowEx (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN BitmapFormat nBitmapFormat)
 Same as TT_AcquireUserDesktopWindow() except an extra option for converting bitmap to a different format. More...
 
TEAMTALKDLL_API TTBOOL TT_ReleaseUserDesktopWindow (IN TTInstance *lpTTInstance, IN DesktopWindow *lpDesktopWindow)
 Release memory allocated by the DesktopWindow. More...
 
TEAMTALKDLL_API TTBOOL TT_SetEncryptionContext (IN TTInstance *lpTTInstance, const EncryptionContext *lpEncryptionContext)
 Setup encryption properties prior to TT_Connect(). More...
 
TEAMTALKDLL_API TTBOOL TT_Connect (IN TTInstance *lpTTInstance, IN const TTCHAR *szHostAddress, IN INT32 nTcpPort, IN INT32 nUdpPort, IN INT32 nLocalTcpPort, IN INT32 nLocalUdpPort, IN TTBOOL bEncrypted)
 Connect to a server. More...
 
TEAMTALKDLL_API TTBOOL TT_ConnectSysID (IN TTInstance *lpTTInstance, IN const TTCHAR *szHostAddress, IN INT32 nTcpPort, IN INT32 nUdpPort, IN INT32 nLocalTcpPort, IN INT32 nLocalUdpPort, IN TTBOOL bEncrypted, IN const TTCHAR *szSystemID)
 Same as TT_Connect() but the option of providing a unique system-ID. More...
 
TEAMTALKDLL_API TTBOOL TT_ConnectEx (IN TTInstance *lpTTInstance, IN const TTCHAR *szHostAddress, IN INT32 nTcpPort, IN INT32 nUdpPort, IN const TTCHAR *szBindIPAddr, IN INT32 nLocalTcpPort, IN INT32 nLocalUdpPort, IN TTBOOL bEncrypted)
 Bind to specific IP-address prior to connecting to server. More...
 
TEAMTALKDLL_API TTBOOL TT_Disconnect (IN TTInstance *lpTTInstance)
 Disconnect from the server. More...
 
TEAMTALKDLL_API TTBOOL TT_QueryMaxPayload (IN TTInstance *lpTTInstance, IN INT32 nUserID)
 Query the maximum size of UDP data packets to the user or server. More...
 
TEAMTALKDLL_API TTBOOL TT_GetClientStatistics (IN TTInstance *lpTTInstance, OUT ClientStatistics *lpClientStatistics)
 Retrieve client statistics of bandwidth usage and response times. More...
 
TEAMTALKDLL_API TTBOOL TT_SetClientKeepAlive (IN TTInstance *lpTTInstance, IN const ClientKeepAlive *lpClientKeepAlive)
 Update the client instance's default keep alive settings. More...
 
TEAMTALKDLL_API TTBOOL TT_GetClientKeepAlive (IN TTInstance *lpTTInstance, OUT ClientKeepAlive *lpClientKeepAlive)
 Get the client instance's current keep alive settings. More...
 
TEAMTALKDLL_API INT32 TT_DoPing (IN TTInstance *lpTTInstance)
 Ping server and wait for server to reply. More...
 
TEAMTALKDLL_API INT32 TT_DoLogin (IN TTInstance *lpTTInstance, IN const TTCHAR *szNickname, IN const TTCHAR *szUsername, IN const TTCHAR *szPassword)
 Same as TT_DologinEx() but without the option to specify szClientName. Kept for backwards compatibility. More...
 
TEAMTALKDLL_API INT32 TT_DoLoginEx (IN TTInstance *lpTTInstance, IN const TTCHAR *szNickname, IN const TTCHAR *szUsername, IN const TTCHAR *szPassword, IN const TTCHAR *szClientName)
 Logon to a server. More...
 
TEAMTALKDLL_API INT32 TT_DoLogout (IN TTInstance *lpTTInstance)
 Logout of the server. More...
 
TEAMTALKDLL_API INT32 TT_DoJoinChannel (IN TTInstance *lpTTInstance, IN const Channel *lpChannel)
 Create a new channel and join it. More...
 
TEAMTALKDLL_API INT32 TT_DoJoinChannelByID (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN const TTCHAR *szPassword)
 Join an existing channel. More...
 
TEAMTALKDLL_API INT32 TT_DoLeaveChannel (IN TTInstance *lpTTInstance)
 Leave the current channel. More...
 
TEAMTALKDLL_API INT32 TT_DoChangeNickname (IN TTInstance *lpTTInstance, IN const TTCHAR *szNewNick)
 Change the client instance's nick name. More...
 
TEAMTALKDLL_API INT32 TT_DoChangeStatus (IN TTInstance *lpTTInstance, IN INT32 nStatusMode, IN const TTCHAR *szStatusMessage)
 Change the client instance's currect status. More...
 
TEAMTALKDLL_API INT32 TT_DoTextMessage (IN TTInstance *lpTTInstance, IN const TextMessage *lpTextMessage)
 Send a text message to either a user or a channel. More...
 
TEAMTALKDLL_API INT32 TT_DoChannelOp (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID, IN TTBOOL bMakeOperator)
 Make another user operator of a channel. More...
 
TEAMTALKDLL_API INT32 TT_DoChannelOpEx (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID, IN const TTCHAR *szOpPassword, IN TTBOOL bMakeOperator)
 Make another user operator of a channel using the szOpPassword of Channel. More...
 
TEAMTALKDLL_API INT32 TT_DoKickUser (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
 Kick user from either channel or server. More...
 
TEAMTALKDLL_API INT32 TT_DoSendFile (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN const TTCHAR *szLocalFilePath)
 Send a file to the specified channel. More...
 
TEAMTALKDLL_API INT32 TT_DoRecvFile (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN INT32 nFileID, IN const TTCHAR *szLocalFilePath)
 Download a file from the specified channel. More...
 
TEAMTALKDLL_API INT32 TT_DoDeleteFile (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN INT32 nFileID)
 Delete a file from a channel. More...
 
TEAMTALKDLL_API INT32 TT_DoSubscribe (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN Subscriptions uSubscriptions)
 Subscribe to user events and/or data. More...
 
TEAMTALKDLL_API INT32 TT_DoUnsubscribe (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN Subscriptions uSubscriptions)
 Unsubscribe to user events/data. This can be used to ignore messages or voice data from a specific user. More...
 
TEAMTALKDLL_API INT32 TT_DoMakeChannel (IN TTInstance *lpTTInstance, IN const Channel *lpChannel)
 Make a new channel on the server. More...
 
TEAMTALKDLL_API INT32 TT_DoUpdateChannel (IN TTInstance *lpTTInstance, IN const Channel *lpChannel)
 Update a channel's properties. More...
 
TEAMTALKDLL_API INT32 TT_DoRemoveChannel (IN TTInstance *lpTTInstance, IN INT32 nChannelID)
 Remove a channel from a server. More...
 
TEAMTALKDLL_API INT32 TT_DoMoveUser (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
 Issue command to move a user from one channel to another. More...
 
TEAMTALKDLL_API INT32 TT_DoUpdateServer (IN TTInstance *lpTTInstance, IN const ServerProperties *lpServerProperties)
 Update server properties. More...
 
TEAMTALKDLL_API INT32 TT_DoListUserAccounts (IN TTInstance *lpTTInstance, IN INT32 nIndex, IN INT32 nCount)
 Issue command to list user accounts on the server. More...
 
TEAMTALKDLL_API INT32 TT_DoNewUserAccount (IN TTInstance *lpTTInstance, IN const UserAccount *lpUserAccount)
 Issue command to create a new user account on the server. More...
 
TEAMTALKDLL_API INT32 TT_DoDeleteUserAccount (IN TTInstance *lpTTInstance, IN const TTCHAR *szUsername)
 Issue command to delete a user account on the server. More...
 
TEAMTALKDLL_API INT32 TT_DoBanUser (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
 Issue a ban command on a user. More...
 
TEAMTALKDLL_API INT32 TT_DoBanUserEx (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN BanTypes uBanTypes)
 Ban the user with nUserID using the ban types specified. More...
 
TEAMTALKDLL_API INT32 TT_DoBan (IN TTInstance *lpTTInstance, IN const BannedUser *lpBannedUser)
 Ban the properties specified in lpBannedUser. More...
 
TEAMTALKDLL_API INT32 TT_DoBanIPAddress (IN TTInstance *lpTTInstance, IN const TTCHAR *szIPAddress, IN INT32 nChannelID)
 Issue a ban command on an IP-address user. More...
 
TEAMTALKDLL_API INT32 TT_DoUnBanUser (IN TTInstance *lpTTInstance, IN const TTCHAR *szIPAddress, IN INT32 nChannelID)
 Unban the user with the specified IP-address. More...
 
TEAMTALKDLL_API INT32 TT_DoUnBanUserEx (IN TTInstance *lpTTInstance, IN const BannedUser *lpBannedUser)
 Unban the properties specified in BannedUser. More...
 
TEAMTALKDLL_API INT32 TT_DoListBans (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN INT32 nIndex, IN INT32 nCount)
 Issue a command to list the banned users. More...
 
TEAMTALKDLL_API INT32 TT_DoSaveConfig (IN TTInstance *lpTTInstance)
 Save the server's current state to its settings file (typically the server's .xml file). More...
 
TEAMTALKDLL_API INT32 TT_DoQueryServerStats (IN TTInstance *lpTTInstance)
 Get the server's current statistics. More...
 
TEAMTALKDLL_API INT32 TT_DoQuit (IN TTInstance *lpTTInstance)
 Quit from server. More...
 
TEAMTALKDLL_API TTBOOL TT_GetServerProperties (IN TTInstance *lpTTInstance, OUT ServerProperties *lpServerProperties)
 Get the server's properties. More...
 
TEAMTALKDLL_API TTBOOL TT_GetServerUsers (IN TTInstance *lpTTInstance, IN OUT User *lpUsers, IN OUT INT32 *lpnHowMany)
 Get all the users on the server. More...
 
TEAMTALKDLL_API INT32 TT_GetRootChannelID (IN TTInstance *lpTTInstance)
 Get the root channel's ID. More...
 
TEAMTALKDLL_API INT32 TT_GetMyChannelID (IN TTInstance *lpTTInstance)
 Get the channel which the local client instance is currently participating in. More...
 
TEAMTALKDLL_API TTBOOL TT_GetChannel (IN TTInstance *lpTTInstance, IN INT32 nChannelID, OUT Channel *lpChannel)
 Get the channel with a specific ID. More...
 
TEAMTALKDLL_API TTBOOL TT_GetChannelPath (IN TTInstance *lpTTInstance, IN INT32 nChannelID, OUT TTCHAR szChannelPath[TT_STRLEN])
 Get the channel's path. Channels are separated by '/'. More...
 
TEAMTALKDLL_API INT32 TT_GetChannelIDFromPath (IN TTInstance *lpTTInstance, IN const TTCHAR *szChannelPath)
 Get the channel ID of the supplied path. Channels are separated by '/'. More...
 
TEAMTALKDLL_API TTBOOL TT_GetChannelUsers (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN OUT User *lpUsers, IN OUT INT32 *lpnHowMany)
 Get the IDs of all users in a channel. More...
 
TEAMTALKDLL_API TTBOOL TT_GetChannelFiles (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN OUT RemoteFile *lpRemoteFiles, IN OUT INT32 *lpnHowMany)
 Get the list of the files in a channel which can be downloaded. More...
 
TEAMTALKDLL_API TTBOOL TT_GetChannelFile (IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN INT32 nFileID, OUT RemoteFile *lpRemoteFile)
 Get information about a file which can be downloaded. More...
 
TEAMTALKDLL_API TTBOOL TT_IsChannelOperator (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
 Check whether user is operator of a channel. More...
 
TEAMTALKDLL_API TTBOOL TT_GetServerChannels (IN TTInstance *lpTTInstance, IN OUT Channel *lpChannels, IN OUT INT32 *lpnHowMany)
 Get all the channels on the server. More...
 
TEAMTALKDLL_API INT32 TT_GetMyUserID (IN TTInstance *lpTTInstance)
 Get the local client instance's user ID. More...
 
TEAMTALKDLL_API TTBOOL TT_GetMyUserAccount (IN TTInstance *lpTTInstance, OUT UserAccount *lpUserAccount)
 Get the local client instance's UserAccount. More...
 
TEAMTALKDLL_API UserTypes TT_GetMyUserType (IN TTInstance *lpTTInstance)
 Get the client instance's user type. More...
 
TEAMTALKDLL_API UserRights TT_GetMyUserRights (IN TTInstance *lpTTInstance)
 Convenience method for TT_GetMyUserAccount() More...
 
TEAMTALKDLL_API INT32 TT_GetMyUserData (IN TTInstance *lpTTInstance)
 If an account was used in TT_DoLogin then this value will return the nUserData from the UserAccount. More...
 
TEAMTALKDLL_API TTBOOL TT_GetUser (IN TTInstance *lpTTInstance, IN INT32 nUserID, OUT User *lpUser)
 Get the user with the specified ID. More...
 
TEAMTALKDLL_API TTBOOL TT_GetUserStatistics (IN TTInstance *lpTTInstance, IN INT32 nUserID, OUT UserStatistics *lpUserStatistics)
 Get statistics for data and packet reception from a user. More...
 
TEAMTALKDLL_API TTBOOL TT_GetUserByUsername (IN TTInstance *lpTTInstance, IN const TTCHAR *szUsername, OUT User *lpUser)
 Get the user with the specified username. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserVolume (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN INT32 nVolume)
 Set the volume of a user. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserMute (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN TTBOOL bMute)
 Mute a user. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserStoppedPlaybackDelay (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN INT32 nDelayMSec)
 Set the delay of when a user should no longer be considered as playing audio (either voice or audio from media file). More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserJitterControl (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN const JitterConfig *lpJitterConfig)
 Set the configuration for de-jitter measures for a user. More...
 
TEAMTALKDLL_API TTBOOL TT_GetUserJitterControl (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN JitterConfig *lpJitterConfig)
 Get the de-jitter configuration for a user. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserPosition (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN float x, IN float y, IN float z)
 Set the position of a user. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserStereo (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN TTBOOL bLeftSpeaker, IN TTBOOL bRightSpeaker)
 Set whether a user should speak in the left, right or both speakers. This function only works if AudioCodec has been set to use stereo. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDir (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN const TTCHAR *szFolderPath, IN const TTCHAR *szFileNameVars, IN AudioFileFormat uAFF)
 Store user's audio to disk. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDirEx (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN const TTCHAR *szFolderPath, IN const TTCHAR *szFileNameVars, IN AudioFileFormat uAFF, IN INT32 nStopRecordingExtraDelayMSec)
 Store user's audio to disk. More...
 
TEAMTALKDLL_API TTBOOL TT_SetUserAudioStreamBufferSize (IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamTypes uStreamType, IN INT32 nMSec)
 Change the amount of media data which can be buffered in the user's playback queue. More...
 
TEAMTALKDLL_API AudioBlockTT_AcquireUserAudioBlock (IN TTInstance *lpTTInstance, IN StreamTypes uStreamTypes, IN INT32 nUserID)
 Extract the raw audio associated with the event CLIENTEVENT_USER_AUDIOBLOCK. More...
 
TEAMTALKDLL_API TTBOOL TT_ReleaseUserAudioBlock (IN TTInstance *lpTTInstance, IN AudioBlock *lpAudioBlock)
 Release the shared memory of an AudioBlock. More...
 
TEAMTALKDLL_API TTBOOL TT_GetFileTransferInfo (IN TTInstance *lpTTInstance, IN INT32 nTransferID, OUT FileTransfer *lpFileTransfer)
 Get information about an active file transfer.
More...
 
TEAMTALKDLL_API TTBOOL TT_CancelFileTransfer (IN TTInstance *lpTTInstance, IN INT32 nTransferID)
 Cancel an active file transfer. More...
 
TEAMTALKDLL_API void TT_GetErrorMessage (IN INT32 nError, OUT TTCHAR szErrorMsg[TT_STRLEN])
 Get textual discription of an error message. More...
 
TEAMTALKDLL_API INT32 TT_DesktopInput_KeyTranslate (TTKeyTranslate nTranslate, IN const DesktopInput *lpDesktopInputs, OUT DesktopInput *lpTranslatedDesktopInputs, IN INT32 nDesktopInputCount)
 Translate platform key-code to and from TeamTalk's intermediate format. More...
 
TEAMTALKDLL_API INT32 TT_DesktopInput_Execute (IN const DesktopInput *lpDesktopInputs, IN INT32 nDesktopInputCount)
 Execute desktop (mouse or keyboard) input. More...
 
TEAMTALKDLL_API TTBOOL TT_HotKey_Register (IN TTInstance *lpTTInstance, IN INT32 nHotKeyID, IN const INT32 *lpnVKCodes, IN INT32 nVKCodeCount)
 Register a global hotkey. More...
 
TEAMTALKDLL_API TTBOOL TT_HotKey_Unregister (IN TTInstance *lpTTInstance, IN INT32 nHotKeyID)
 Unregister a registered hotkey. More...
 
TEAMTALKDLL_API INT32 TT_HotKey_IsActive (IN TTInstance *lpTTInstance, IN INT32 nHotKeyID)
 Check whether hotkey is active. More...
 
TEAMTALKDLL_API TTBOOL TT_HotKey_InstallTestHook (IN TTInstance *lpTTInstance, IN HWND hWnd, UINT32 uMsg)
 Install a test hook so the HWND will be messaged whenever a key or mouse button is pressed. More...
 
TEAMTALKDLL_API TTBOOL TT_HotKey_RemoveTestHook (IN TTInstance *lpTTInstance)
 Remove the test hook again so the hWnd in TT_HotKey_InstallTestHook will no longer be notified. More...
 
TEAMTALKDLL_API TTBOOL TT_HotKey_GetKeyString (IN TTInstance *lpTTInstance, IN INT32 nVKCode, OUT TTCHAR szKeyName[TT_STRLEN])
 Get a string description of the virtual-key code. More...
 
TEAMTALKDLL_API INT32 TT_DBG_SIZEOF (IN TTType nType)
 
TEAMTALKDLL_API VOID * TT_DBG_GETDATAPTR (IN TTMessage *pMsg)
 
TEAMTALKDLL_API TTBOOL TT_DBG_SetSoundInputTone (IN TTInstance *lpTTInstance, IN StreamTypes uStreamTypes, IN INT32 nFrequency)
 
TEAMTALKDLL_API TTBOOL TT_DBG_WriteAudioFileTone (IN const MediaFileInfo *lpMediaFileInfo, IN INT32 nFrequency)
 
TEAMTALKDLL_API INT32 TT_Mixer_GetMixerCount (void)
 Get the number of Windows Mixers available. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_GetMixerName (IN INT32 nMixerIndex, OUT TTCHAR szMixerName[TT_STRLEN])
 Get the name of a Windows Mixer based on its name. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInName (IN INT32 nWaveDeviceID, OUT TTCHAR szMixerName[TT_STRLEN])
 Get the name of the mixer associated with a wave-in device. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveOutName (IN INT32 nWaveDeviceID, OUT TTCHAR szMixerName[TT_STRLEN])
 Get the name of the mixer associated with a wave-out device. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveOutMute (IN INT32 nWaveDeviceID, IN MixerControl nControl, IN TTBOOL bMute)
 Mute or unmute a Windows Mixer Wave-Out device from the 'enum' of devices. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutMute (IN INT32 nWaveDeviceID, IN MixerControl nControl)
 Get the mute state of a Windows Mixer Wave-Out device from the 'enum' of devices. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveOutVolume (IN INT32 nWaveDeviceID, IN MixerControl nControl, IN INT32 nVolume)
 Set the volume of a Windows Mixer Wave-Out device from the 'enum' of devices. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutVolume (IN INT32 nWaveDeviceID, IN MixerControl nControl)
 Get the volume of a Windows Mixer Wave-Out device from the 'enum' of devices. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInSelected (IN INT32 nWaveDeviceID, IN MixerControl nControl)
 Set the selected state of a Windows Mixer Wave-In device from the 'enum' of devices. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInSelected (IN INT32 nWaveDeviceID, IN MixerControl nControl)
 Get the selected state of a Windows Mixer Wave-In device from the 'enum' of devices. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInVolume (IN INT32 nWaveDeviceID, IN MixerControl nControl, IN INT32 nVolume)
 Set the volume of a Windows Mixer Wave-In device from the 'enum' of devices. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInVolume (IN INT32 nWaveDeviceID, IN MixerControl nControl)
 Get the volume of a Windows Mixer Wave-In device from the 'enum' of devices. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInBoost (IN INT32 nWaveDeviceID, IN TTBOOL bEnable)
 Enable and disable microphone boost. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInBoost (IN INT32 nWaveDeviceID)
 See if microphone boost is enabled. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInMute (IN INT32 nWaveDeviceID, IN TTBOOL bEnable)
 Mute/unmute microphone input. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInMute (IN INT32 nWaveDeviceID)
 See if microphone is muted. More...
 
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInControlCount (IN INT32 nWaveDeviceID)
 Get the number of Windows Mixer Wave-In devices. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInControlName (IN INT32 nWaveDeviceID, IN INT32 nControlIndex, OUT TTCHAR szDeviceName[TT_STRLEN])
 Get the name of the Wave-In device with the specified index. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInControlSelected (IN INT32 nWaveDeviceID, IN INT32 nControlIndex)
 Set the selected state of a Wave-In device in the Windows Mixer. More...
 
TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInControlSelected (IN INT32 nWaveDeviceID, IN INT32 nControlIndex)
 Get the selected state of a Wave-In device in the Windows Mixer. More...
 
TEAMTALKDLL_API TTBOOL TT_Firewall_IsEnabled (void)
 Check if the Windows Firewall is currently enabled. More...
 
TEAMTALKDLL_API TTBOOL TT_Firewall_Enable (IN TTBOOL bEnable)
 Enable/disable the Windows Firewall. More...
 
TEAMTALKDLL_API TTBOOL TT_Firewall_AppExceptionExists (IN const TTCHAR *szExecutable)
 Check if an executable is already in the Windows Firewall exception list. More...
 
TEAMTALKDLL_API TTBOOL TT_Firewall_AddAppException (IN const TTCHAR *szName, IN const TTCHAR *szExecutable)
 Add an application to the Windows Firewall exception list. More...
 
TEAMTALKDLL_API TTBOOL TT_Firewall_RemoveAppException (IN const TTCHAR *szExecutable)
 Remove an application from the Windows Firewall exception list. More...
 

Macro Definition Documentation

◆ TEAMTALK_VERSION

#define TEAMTALK_VERSION   "5.8.1.5048"

Ensure the header and DLL are exactly the same version. To get the version of the loaded DLL call TT_GetVersion(). A remote client's version can be seen in the szVersion member of the User-struct.

Definition at line 19 of file TeamTalk.h.

◆ TEAMTALKDLL_API

#define TEAMTALKDLL_API   __declspec(dllimport)

Definition at line 27 of file TeamTalk.h.

◆ TEAMTALK_TYPES

#define TEAMTALK_TYPES   1

Definition at line 44 of file TeamTalk.h.

◆ TT_STRLEN

#define TT_STRLEN   512

If a string is passed to the client instance is longer than TT_STRLEN it will be truncated.

On Windows the client instance converts unicode characters to UTF-8 before transmission, so be aware of non-ASCII characters if communicating with the TeamTalk server from another applications than the TeamTalk client.

Definition at line 87 of file TeamTalk.h.

◆ TT_USERID_MAX

#define TT_USERID_MAX   0xFFF

The highest user ID

Definition at line 91 of file TeamTalk.h.

◆ TT_CHANNELID_MAX

#define TT_CHANNELID_MAX   0xFFF

The highest channel ID. Also used for TT_CLASSROOM_FREEFORALL

Definition at line 95 of file TeamTalk.h.

Typedef Documentation

◆ TTCHAR

typedef WCHAR TTCHAR

TeamTalk uses Unicode on Windows.

See also
TT_STRLEN

Definition at line 51 of file TeamTalk.h.

◆ TTBOOL

typedef int TTBOOL

Definition at line 52 of file TeamTalk.h.

Function Documentation

◆ TT_DBG_SIZEOF()

TEAMTALKDLL_API INT32 TT_DBG_SIZEOF ( IN TTType  nType)

◆ TT_DBG_GETDATAPTR()

TEAMTALKDLL_API VOID* TT_DBG_GETDATAPTR ( IN TTMessage pMsg)

◆ TT_DBG_SetSoundInputTone()

TEAMTALKDLL_API TTBOOL TT_DBG_SetSoundInputTone ( IN TTInstance lpTTInstance,
IN StreamTypes  uStreamTypes,
IN INT32  nFrequency 
)

◆ TT_DBG_WriteAudioFileTone()

TEAMTALKDLL_API TTBOOL TT_DBG_WriteAudioFileTone ( IN const MediaFileInfo lpMediaFileInfo,
IN INT32  nFrequency 
)