TeamTalk 5 C-API DLL
Version 5.14A
|
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.14.0.5128" |
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 enum ServerLogEvent | ServerLogEvent |
Events that are logged by the server, i.e. written to server's log file. More... | |
typedef UINT32 | ServerLogEvents |
Bitmask of ServerLogEvent. 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... | |
Functions | |
TEAMTALKDLL_API const TTCHAR * | TT_GetVersion (void) |
Get the DLL's version number. More... | |
TEAMTALKDLL_API TTInstance * | TT_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 TTInstance * | TT_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 TTSoundLoop * | TT_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 TTSoundLoop * | TT_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 VideoFrame * | TT_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 VideoFrame * | TT_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 DesktopWindow * | TT_AcquireUserDesktopWindow (IN TTInstance *lpTTInstance, IN INT32 nUserID) |
Acquire a user's desktop window (bitmap image). More... | |
TEAMTALKDLL_API DesktopWindow * | TT_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 AudioBlock * | TT_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... | |
#define TEAMTALK_VERSION "5.14.0.5128" |
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.
#define TEAMTALKDLL_API __declspec(dllimport) |
Definition at line 27 of file TeamTalk.h.
#define TEAMTALK_TYPES 1 |
Definition at line 44 of file TeamTalk.h.
#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.
#define TT_USERID_MAX 0xFFF |
The highest user ID
Definition at line 91 of file TeamTalk.h.
#define TT_CHANNELID_MAX 0xFFF |
The highest channel ID. Also used for TT_CLASSROOM_FREEFORALL
Definition at line 95 of file TeamTalk.h.
typedef WCHAR TTCHAR |
typedef int TTBOOL |
Definition at line 52 of file TeamTalk.h.
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 | ||
) |