TeamTalk 5 C-API DLL: TeamTalk.h Source File

TeamTalk 5 C-API DLL Version 5.11A

TeamTalk.h
Go to the documentation of this file.
1 #if !defined(TEAMTALKDLL_H)
2 #define TEAMTALKDLL_H
3
4 /*
5 * BearWare.dk TeamTalk 5 SDK.
6 *
7 * Copyright 2005-2022, BearWare.dk.
8 *
9 * Read the License.txt file included with the TeamTalk 5 SDK for
10 * terms of use.
11 */
12
19 #define TEAMTALK_VERSION "5.11.0.5099"
20
21
22 #if defined(WIN32)
23
24 #ifdef TEAMTALKDLL_EXPORTS
25 #define TEAMTALKDLL_API __declspec(dllexport)
26 #else
27 #define TEAMTALKDLL_API __declspec(dllimport)
28 #endif
29
30 #else
31
32 #define TEAMTALKDLL_API
33
34 #endif
35
36
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40
41 /* OS specific types. */
42 #if !defined(TEAMTALK_TYPES)
43
44 #define TEAMTALK_TYPES 1
45
46 #if defined(WIN32)
47 /* If you get a compiler error here you probably forgot to include
48 * <windows.h> before this file. */
49
51 typedef WCHAR TTCHAR;
52 typedef int TTBOOL;
53 #else
54 typedef char TTCHAR;
55 typedef int TTBOOL;
56 typedef unsigned short UINT16;
57 typedef int INT32;
58 typedef long long INT64;
59 typedef unsigned int UINT32;
60 typedef void VOID;
61
65 #define IN
66 #define OUT
67
68 #ifndef TRUE
69 #define TRUE 1
70 #endif
71
72 #ifndef FALSE
73 #define FALSE 0
74 #endif
75
76 #endif
77
87 #define TT_STRLEN 512
88
91 #define TT_USERID_MAX 0xFFF
92
95 #define TT_CHANNELID_MAX 0xFFF
96
101 #define TT_VIDEOFORMATS_MAX 1024
102
107 #define TT_TRANSMITUSERS_MAX 128
108
115 #define TT_CLASSROOM_FREEFORALL 0xFFF
116
119 #define TT_CLASSROOM_USERID_INDEX 0
120
123 #define TT_CLASSROOM_STREAMTYPE_INDEX 1
124
128 #define TT_TRANSMITUSERS_FREEFORALL 0xFFF
129
133 #define TT_TRANSMITUSERS_USERID_INDEX 0
134
138 #define TT_TRANSMITUSERS_STREAMTYPE_INDEX 1
139
145 #define TT_CHANNELS_OPERATOR_MAX 16
146
151 #define TT_TRANSMITQUEUE_MAX 16
152
155 #define TT_SAMPLERATES_MAX 16
156
162 #define TT_DESKTOPINPUT_MAX 16
163
171 #define TT_DESKTOPINPUT_KEYCODE_IGNORE 0xFFFFFFFF
172
179 #define TT_DESKTOPINPUT_MOUSEPOS_IGNORE 0xFFFF
180
187 #define TT_DESKTOPINPUT_KEYCODE_LMOUSEBTN 0x1000
188
195 #define TT_DESKTOPINPUT_KEYCODE_RMOUSEBTN 0x1001
196
203 #define TT_DESKTOPINPUT_KEYCODE_MMOUSEBTN 0x1002
204
212 #define TT_MEDIAPLAYBACK_OFFSET_IGNORE 0xFFFFFFFF
213
214 #endif /* TEAMTALK_TYPES */
215
221 typedef enum StreamType
222 {
224 STREAMTYPE_NONE = 0x00000000,
227 STREAMTYPE_VOICE = 0x00000001,
230 STREAMTYPE_VIDEOCAPTURE = 0x00000002,
233 STREAMTYPE_MEDIAFILE_AUDIO = 0x00000004,
236 STREAMTYPE_MEDIAFILE_VIDEO = 0x00000008,
239 STREAMTYPE_DESKTOP = 0x00000010,
243 STREAMTYPE_DESKTOPINPUT = 0x00000020,
245 STREAMTYPE_MEDIAFILE = STREAMTYPE_MEDIAFILE_AUDIO |
246 STREAMTYPE_MEDIAFILE_VIDEO,
255 STREAMTYPE_CHANNELMSG = 0x00000040,
261 STREAMTYPE_LOCALMEDIAPLAYBACK_AUDIO = 0x00000080,
262
265 STREAMTYPE_CLASSROOM_ALL = STREAMTYPE_VOICE |
266 STREAMTYPE_VIDEOCAPTURE |
267 STREAMTYPE_DESKTOP |
268 STREAMTYPE_MEDIAFILE |
269 STREAMTYPE_CHANNELMSG,
270 } StreamType;
271
273 typedef UINT32 StreamTypes;
274
287 typedef enum SoundSystem
288 {
290 SOUNDSYSTEM_NONE = 0,
292 SOUNDSYSTEM_WINMM = 1,
294 SOUNDSYSTEM_DSOUND = 2,
302 SOUNDSYSTEM_ALSA = 3,
304 SOUNDSYSTEM_COREAUDIO = 4,
315 SOUNDSYSTEM_WASAPI = 5,
322 SOUNDSYSTEM_OPENSLES_ANDROID = 7,
342 SOUNDSYSTEM_AUDIOUNIT = 8,
344 SOUNDSYSTEM_AUDIOUNIT_IOS = SOUNDSYSTEM_AUDIOUNIT,
345 } SoundSystem;
346
351 typedef enum SoundDeviceFeature
352 {
355 SOUNDDEVICEFEATURE_NONE = 0x0000,
361 SOUNDDEVICEFEATURE_AEC = 0x0001,
367 SOUNDDEVICEFEATURE_AGC = 0x0002,
372 SOUNDDEVICEFEATURE_DENOISE = 0x0004,
375 SOUNDDEVICEFEATURE_3DPOSITION = 0x0008,
378 SOUNDDEVICEFEATURE_DUPLEXMODE = 0x0010,
381 SOUNDDEVICEFEATURE_DEFAULTCOMDEVICE = 0x0020,
382 } SoundDeviceFeature;
383
386 typedef UINT32 SoundDeviceFeatures;
387
400 typedef struct SoundDevice
401 {
407 INT32 nDeviceID;
409 SoundSystem nSoundSystem;
411 TTCHAR szDeviceName[TT_STRLEN];
416 TTCHAR szDeviceID[TT_STRLEN];
433 INT32 nWaveDeviceID;
436 TTBOOL bSupports3D;
438 INT32 nMaxInputChannels;
440 INT32 nMaxOutputChannels;
444 INT32 inputSampleRates[TT_SAMPLERATES_MAX];
448 INT32 outputSampleRates[TT_SAMPLERATES_MAX];
450 INT32 nDefaultSampleRate;
456 SoundDeviceFeatures uSoundDeviceFeatures;
457 } SoundDevice;
458
467 typedef struct SoundDeviceEffects
468 {
484 TTBOOL bEnableAGC;
501 TTBOOL bEnableDenoise;
517 TTBOOL bEnableEchoCancellation;
518 } SoundDeviceEffects;
519
534 #define TT_SOUNDDEVICE_ID_SHARED_FLAG 0x00000800
535
540 #define TT_SOUNDDEVICE_ID_MASK 0x000007FF
541
544 #define TT_SOUNDDEVICE_ID_REMOTEIO 0
545
552 #define TT_SOUNDDEVICE_ID_VOICEPREPROCESSINGIO (1 | TT_SOUNDDEVICE_ID_SHARED_FLAG)
553
556 #define TT_SOUNDDEVICE_ID_OPENSLES_DEFAULT 0
557
562 #define TT_SOUNDDEVICE_ID_OPENSLES_VOICECOM 1
563
572 #define TT_SOUNDDEVICE_ID_TEAMTALK_VIRTUAL 1978
573
577 typedef enum SoundLevel
578 {
584 SOUND_VU_MAX = 100,
590 SOUND_VU_MIN = 0,
598 SOUND_VOLUME_MAX = 32000,
606 SOUND_VOLUME_DEFAULT = 1000,
612 SOUND_VOLUME_MIN = 0,
621 SOUND_GAIN_MAX = 32000,
631 SOUND_GAIN_DEFAULT = 1000,
640 SOUND_GAIN_MIN = 0
641 } SoundLevel;
642
657 typedef struct AudioBlock
658 {
662 INT32 nStreamID;
664 INT32 nSampleRate;
666 INT32 nChannels;
670 VOID* lpRawAudio;
672 INT32 nSamples;
680 UINT32 uSampleIndex;
693 StreamTypes uStreamTypes;
694 } AudioBlock;
695
709 #define TT_LOCAL_USERID 0
710
718 #define TT_LOCAL_TX_USERID 0x1002
719
726 #define TT_MUXED_USERID 0x1001 /* TT_USERID_MAX + 2 */
727
736 typedef enum MediaFileStatus
737 {
738 MFS_CLOSED = 0,
740 MFS_ERROR = 1,
742 MFS_STARTED = 2,
744 MFS_FINISHED = 3,
746 MFS_ABORTED = 4,
748 MFS_PAUSED = 5,
751 MFS_PLAYING = 6
752 } MediaFileStatus;
753
757 typedef enum AudioFileFormat
758 {
760 AFF_NONE = 0,
771 AFF_CHANNELCODEC_FORMAT = 1,
773 AFF_WAVE_FORMAT = 2,
775 AFF_MP3_16KBIT_FORMAT = 3,
777 AFF_MP3_32KBIT_FORMAT = 4,
779 AFF_MP3_64KBIT_FORMAT = 5,
781 AFF_MP3_128KBIT_FORMAT = 6,
783 AFF_MP3_256KBIT_FORMAT = 7,
784 } AudioFileFormat;
785
793 typedef struct AudioFormat
794 {
796 AudioFileFormat nAudioFmt;
798 INT32 nSampleRate;
800 INT32 nChannels;
801 } AudioFormat;
802
813 typedef enum FourCC
814 {
816 FOURCC_NONE = 0,
819 FOURCC_I420 = 100,
822 FOURCC_YUY2 = 101,
825 FOURCC_RGB32 = 102
826 } FourCC;
827
834 typedef struct VideoFormat
835 {
838 INT32 nWidth;
841 INT32 nHeight;
845 INT32 nFPS_Numerator;
849 INT32 nFPS_Denominator;
851 FourCC picFourCC;
852 } VideoFormat;
853
861 typedef struct VideoFrame
862 {
865 INT32 nWidth;
868 INT32 nHeight;
874 INT32 nStreamID;
879 TTBOOL bKeyFrame;
881 VOID* frameBuffer;
884 INT32 nFrameBufferSize;
885 } VideoFrame;
886
896 typedef struct VideoCaptureDevice
897 {
899 TTCHAR szDeviceID[TT_STRLEN];
901 TTCHAR szDeviceName[TT_STRLEN];
914 TTCHAR szCaptureAPI[TT_STRLEN];
916 VideoFormat videoFormats[TT_VIDEOFORMATS_MAX];
919 INT32 nVideoFormatsCount;
920 } VideoCaptureDevice;
921
929 typedef enum BitmapFormat
930 {
932 BMP_NONE = 0,
938 BMP_RGB8_PALETTE = 1,
941 BMP_RGB16_555 = 2,
945 BMP_RGB24 = 3,
949 BMP_RGB32 = 4
950 } BitmapFormat;
951
956 typedef enum DesktopProtocol
957 {
960 DESKTOPPROTOCOL_ZLIB_1 = 1
961 } DesktopProtocol;
962
969 typedef struct DesktopWindow
970 {
972 INT32 nWidth;
974 INT32 nHeight;
976 BitmapFormat bmpFormat;
979 INT32 nBytesPerLine;
986 INT32 nSessionID;
988 DesktopProtocol nProtocol;
990 VOID* frameBuffer;
993 INT32 nFrameBufferSize;
994 } DesktopWindow;
995
999 typedef enum DesktopKeyState
1000 {
1002 DESKTOPKEYSTATE_NONE = 0x00000000,
1004 DESKTOPKEYSTATE_DOWN = 0x00000001,
1006 DESKTOPKEYSTATE_UP = 0x00000002,
1007 } DesktopKeyState;
1008
1010 typedef UINT32 DesktopKeyStates;
1011
1019 typedef struct DesktopInput
1020 {
1024 UINT16 uMousePosX;
1028 UINT16 uMousePosY;
1034 UINT32 uKeyCode;
1037 DesktopKeyStates uKeyState;
1038 } DesktopInput;
1039
1051 typedef struct SpeexCodec
1052 {
1055 INT32 nBandmode;
1058 INT32 nQuality;
1068 INT32 nTxIntervalMSec;
1074 TTBOOL bStereoPlayback;
1075 } SpeexCodec;
1076
1081 typedef struct SpeexVBRCodec
1082 {
1085 INT32 nBandmode;
1088 INT32 nQuality;
1097 INT32 nBitRate;
1101 INT32 nMaxBitRate;
1105 TTBOOL bDTX;
1114 INT32 nTxIntervalMSec;
1120 TTBOOL bStereoPlayback;
1121 } SpeexVBRCodec;
1122
1125 #define SPEEX_NB_MIN_BITRATE 2150
1126
1128 #define SPEEX_NB_MAX_BITRATE 24600
1129
1131 #define SPEEX_WB_MIN_BITRATE 3950
1132
1134 #define SPEEX_WB_MAX_BITRATE 42200
1135
1137 #define SPEEX_UWB_MIN_BITRATE 4150
1138
1140 #define SPEEX_UWB_MAX_BITRATE 44000
1141
1144 typedef struct OpusCodec
1145 {
1148 INT32 nSampleRate;
1150 INT32 nChannels;
1154 INT32 nApplication;
1157 INT32 nComplexity;
1160 TTBOOL bFEC;
1163 TTBOOL bDTX;
1166 INT32 nBitRate;
1168 TTBOOL bVBR;
1171 TTBOOL bVBRConstraint;
1178 INT32 nTxIntervalMSec;
1182 INT32 nFrameSizeMSec;
1183 } OpusCodec;
1184
1187 #define OPUS_APPLICATION_VOIP 2048
1188
1190 #define OPUS_APPLICATION_AUDIO 2049
1191
1193 #define OPUS_MIN_BITRATE 6000
1194
1196 #define OPUS_MAX_BITRATE 510000
1197
1199 #define OPUS_MIN_FRAMESIZE 2 /* Actually it's 2.5 */
1200
1202 #define OPUS_MAX_FRAMESIZE 60
1203
1206 #define OPUS_REALMAX_FRAMESIZE 120
1207
1227 typedef struct SpeexDSP
1228 {
1236 TTBOOL bEnableAGC;
1239 INT32 nGainLevel;
1243 INT32 nMaxIncDBSec;
1248 INT32 nMaxDecDBSec;
1252 INT32 nMaxGainDB;
1255 TTBOOL bEnableDenoise;
1259 INT32 nMaxNoiseSuppressDB;
1274 TTBOOL bEnableEchoCancellation;
1278 INT32 nEchoSuppress;
1282 INT32 nEchoSuppressActive;
1283 } SpeexDSP;
1284
1287 typedef struct TTAudioPreprocessor
1288 {
1292 INT32 nGainLevel;
1294 TTBOOL bMuteLeftSpeaker;
1296 TTBOOL bMuteRightSpeaker;
1297 } TTAudioPreprocessor;
1298
1311 typedef struct WebRTCAudioPreprocessor
1312 {
1314 struct
1315 {
1318 TTBOOL bEnable;
1320 float fFixedGainFactor;
1321 } preamplifier;
1324 struct
1325 {
1331 TTBOOL bEnable;
1332 } echocanceller;
1335 struct
1336 {
1338 TTBOOL bEnable;
1341 INT32 nLevel;
1342 } noisesuppression;
1344 struct
1345 {
1355 TTBOOL bEnable;
1356 } voicedetection;
1359 struct
1360 {
1363 TTBOOL bEnable;
1366 struct
1367 {
1370 float fGainDB;
1371 } fixeddigital;
1373 struct
1374 {
1375 /* @brief Enable saturation protector where saturation
1376 * margin is 2 dB. */
1377 TTBOOL bEnable;
1378 /* Range: 0 <= x <= 100. Default: 20 dB */
1379 float fInitialSaturationMarginDB;
1380 /* Range: 0 <= x <= 100. Default: 2 dB */
1381 float fExtraSaturationMarginDB;
1382 /* Range: 0 < x < infinite. Default: 3 dB/sec */
1383 float fMaxGainChangeDBPerSecond;
1384 /* Range: -infinite < x < 0. Default: -50 */
1385 float fMaxOutputNoiseLevelDBFS;
1386 } adaptivedigital;
1387 } gaincontroller2;
1389 struct
1390 {
1396 TTBOOL bEnable;
1397 } levelestimation;
1398 } WebRTCAudioPreprocessor;
1399
1401 #define WEBRTC_GAINCONTROLLER2_FIXEDGAIN_MAX 49.9f
1402
1406 typedef enum AudioPreprocessorType
1407 {
1410 NO_AUDIOPREPROCESSOR = 0,
1412 SPEEXDSP_AUDIOPREPROCESSOR = 1,
1414 TEAMTALK_AUDIOPREPROCESSOR = 2,
1417 WEBRTC_AUDIOPREPROCESSOR = 3,
1418 } AudioPreprocessorType;
1419
1421 typedef struct AudioPreprocessor
1422 {
1424 AudioPreprocessorType nPreprocessor;
1425 union
1426 {
1428 SpeexDSP speexdsp;
1430 TTAudioPreprocessor ttpreprocessor;
1432 WebRTCAudioPreprocessor webrtc;
1433 };
1434 } AudioPreprocessor;
1435
1440 typedef struct WebMVP8Codec
1441 {
1442 union
1443 {
1445 INT32 nRcTargetBitrate;
1451 UINT32 rc_target_bitrate;
1452 };
1460 UINT32 nEncodeDeadline;
1461 } WebMVP8Codec;
1462
1465 #define WEBM_VPX_DL_REALTIME 1
1466
1468 #define WEBM_VPX_DL_GOOD_QUALITY 1000000
1469
1471 #define WEBM_VPX_DL_BEST_QUALITY 0
1472
1476 typedef enum Codec
1477 {
1479 NO_CODEC = 0,
1482 SPEEX_CODEC = 1,
1485 SPEEX_VBR_CODEC = 2,
1487 OPUS_CODEC = 3,
1489 WEBM_VP8_CODEC = 128,
1490 } Codec;
1491
1494 typedef struct AudioCodec
1495 {
1498 Codec nCodec;
1499 union
1500 {
1503 SpeexCodec speex;
1506 SpeexVBRCodec speex_vbr;
1509 OpusCodec opus;
1510 };
1511 } AudioCodec;
1512
1526 typedef struct AudioConfig
1527 {
1529 TTBOOL bEnableAGC;
1531 INT32 nGainLevel;
1532 } AudioConfig;
1533
1535 typedef struct VideoCodec
1536 {
1540 Codec nCodec;
1541 union
1542 {
1543 WebMVP8Codec webm_vp8;
1544 };
1545 } VideoCodec;
1556 typedef struct MediaFileInfo
1557 {
1560 MediaFileStatus nStatus;
1562 TTCHAR szFileName[TT_STRLEN];
1564 AudioFormat audioFmt;
1566 VideoFormat videoFmt;
1568 UINT32 uDurationMSec;
1570 UINT32 uElapsedMSec;
1571 } MediaFileInfo;
1572
1581 typedef struct MediaFilePlayback
1582 {
1588 UINT32 uOffsetMSec;
1590 TTBOOL bPaused;
1592 AudioPreprocessor audioPreprocessor;
1593 } MediaFilePlayback;
1594
1597 typedef struct AudioInputProgress
1598 {
1600 INT32 nStreamID;
1603 UINT32 uQueueMSec;
1606 UINT32 uElapsedMSec;
1607 } AudioInputProgress;
1608
1624 typedef enum UserRight
1625 {
1628 USERRIGHT_NONE = 0x00000000,
1631 USERRIGHT_MULTI_LOGIN = 0x00000001,
1633 USERRIGHT_VIEW_ALL_USERS = 0x00000002,
1637 USERRIGHT_CREATE_TEMPORARY_CHANNEL = 0x00000004,
1641 USERRIGHT_MODIFY_CHANNELS = 0x00000008,
1644 USERRIGHT_TEXTMESSAGE_BROADCAST = 0x00000010,
1646 USERRIGHT_KICK_USERS = 0x00000020,
1649 USERRIGHT_BAN_USERS = 0x00000040,
1652 USERRIGHT_MOVE_USERS = 0x00000080,
1655 USERRIGHT_OPERATOR_ENABLE = 0x00000100,
1657 USERRIGHT_UPLOAD_FILES = 0x00000200,
1660 USERRIGHT_DOWNLOAD_FILES = 0x00000400,
1663 USERRIGHT_UPDATE_SERVERPROPERTIES = 0x00000800,
1666 USERRIGHT_TRANSMIT_VOICE = 0x00001000,
1669 USERRIGHT_TRANSMIT_VIDEOCAPTURE = 0x00002000,
1672 USERRIGHT_TRANSMIT_DESKTOP = 0x00004000,
1675 USERRIGHT_TRANSMIT_DESKTOPINPUT = 0x00008000,
1678 USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO = 0x00010000,
1681 USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO = 0x00020000,
1684 USERRIGHT_TRANSMIT_MEDIAFILE = USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO | USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO,
1691 USERRIGHT_LOCKED_NICKNAME = 0x00040000,
1694 USERRIGHT_LOCKED_STATUS = 0x00080000,
1697 USERRIGHT_RECORD_VOICE = 0x00100000,
1699 USERRIGHT_VIEW_HIDDEN_CHANNELS = 0x00200000
1700 } UserRight;
1701
1706 typedef UINT32 UserRights;
1707
1708
1715 typedef enum ServerLogEvent
1716 {
1718 SERVERLOGEVENT_NONE = 0x00000000,
1720 SERVERLOGEVENT_USER_CONNECTED = 0x00000001,
1722 SERVERLOGEVENT_USER_DISCONNECTED = 0x00000002,
1724 SERVERLOGEVENT_USER_LOGGEDIN = 0x00000004,
1726 SERVERLOGEVENT_USER_LOGGEDOUT = 0x00000008,
1728 SERVERLOGEVENT_USER_LOGINFAILED = 0x00000010,
1730 SERVERLOGEVENT_USER_TIMEDOUT = 0x00000020,
1732 SERVERLOGEVENT_USER_KICKED = 0x00000040,
1734 SERVERLOGEVENT_USER_BANNED = 0x00000080,
1736 SERVERLOGEVENT_USER_UNBANNED = 0x00000100,
1738 SERVERLOGEVENT_USER_UPDATED = 0x00000200,
1740 SERVERLOGEVENT_USER_JOINEDCHANNEL = 0x00000400,
1742 SERVERLOGEVENT_USER_LEFTCHANNEL = 0x00000800,
1744 SERVERLOGEVENT_USER_MOVED = 0x00001000,
1746 SERVERLOGEVENT_USER_TEXTMESSAGE_PRIVATE = 0x00002000,
1748 SERVERLOGEVENT_USER_TEXTMESSAGE_CUSTOM = 0x00004000,
1750 SERVERLOGEVENT_USER_TEXTMESSAGE_CHANNEL = 0x00008000,
1752 SERVERLOGEVENT_USER_TEXTMESSAGE_BROADCAST = 0x00010000,
1754 SERVERLOGEVENT_CHANNEL_CREATED = 0x00020000,
1756 SERVERLOGEVENT_CHANNEL_UPDATED = 0x00040000,
1758 SERVERLOGEVENT_CHANNEL_REMOVED = 0x00080000,
1760 SERVERLOGEVENT_FILE_UPLOADED = 0x00100000,
1762 SERVERLOGEVENT_FILE_DOWNLOADED = 0x00200000,
1764 SERVERLOGEVENT_FILE_DELETED = 0x00400000,
1766 SERVERLOGEVENT_SERVER_UPDATED = 0x00800000,
1768 SERVERLOGEVENT_SERVER_SAVECONFIG = 0x01000000,
1769 } ServerLogEvent;
1770
1773 typedef UINT32 ServerLogEvents;
1774
1786 typedef struct ServerProperties
1787 {
1789 TTCHAR szServerName[TT_STRLEN];
1792 TTCHAR szMOTD[TT_STRLEN];
1801 TTCHAR szMOTDRaw[TT_STRLEN];
1804 INT32 nMaxUsers;
1807 INT32 nMaxLoginAttempts;
1810 INT32 nMaxLoginsPerIPAddress;
1814 INT32 nMaxVoiceTxPerSecond;
1819 INT32 nMaxVideoCaptureTxPerSecond;
1823 INT32 nMaxMediaFileTxPerSecond;
1827 INT32 nMaxDesktopTxPerSecond;
1831 INT32 nMaxTotalTxPerSecond;
1833 TTBOOL bAutoSave;
1835 INT32 nTcpPort;
1837 INT32 nUdpPort;
1840 INT32 nUserTimeout;
1842 TTCHAR szServerVersion[TT_STRLEN];
1845 TTCHAR szServerProtocolVersion[TT_STRLEN];
1854 INT32 nLoginDelayMSec;
1862 TTCHAR szAccessToken[TT_STRLEN];
1868 ServerLogEvents uServerLogEvents;
1869 } ServerProperties;
1870
1876 typedef struct ServerStatistics
1877 {
1880 INT64 nTotalBytesTX;
1883 INT64 nTotalBytesRX;
1886 INT64 nVoiceBytesTX;
1889 INT64 nVoiceBytesRX;
1892 INT64 nVideoCaptureBytesTX;
1895 INT64 nVideoCaptureBytesRX;
1898 INT64 nMediaFileBytesTX;
1901 INT64 nMediaFileBytesRX;
1904 INT64 nDesktopBytesTX;
1907 INT64 nDesktopBytesRX;
1909 INT32 nUsersServed;
1911 INT32 nUsersPeak;
1914 INT64 nFilesTx;
1917 INT64 nFilesRx;
1919 INT64 nUptimeMSec;
1920 } ServerStatistics;
1921
1927 typedef enum BanType
1928 {
1930 BANTYPE_NONE = 0x00,
1934 BANTYPE_CHANNEL = 0x01,
1936 BANTYPE_IPADDR = 0x02,
1938 BANTYPE_USERNAME = 0x04
1939 } BanType;
1940
1942 typedef UINT32 BanTypes;
1943
1948 typedef struct BannedUser
1949 {
1951 TTCHAR szIPAddress[TT_STRLEN];
1953 TTCHAR szChannelPath[TT_STRLEN];
1956 TTCHAR szBanTime[TT_STRLEN];
1958 TTCHAR szNickname[TT_STRLEN];
1960 TTCHAR szUsername[TT_STRLEN];
1962 BanTypes uBanTypes;
1963 } BannedUser;
1964
1968 typedef enum UserType
1969 {
1972 USERTYPE_NONE = 0x0,
1974 USERTYPE_DEFAULT = 0x01,
1976 USERTYPE_ADMIN = 0x02
1977 } UserType;
1978
1982 typedef UINT32 UserTypes;
1983
1992 typedef struct AbusePrevention
1993 {
2003 INT32 nCommandsLimit;
2005 INT32 nCommandsIntervalMSec;
2006 } AbusePrevention;
2007
2016 typedef struct UserAccount
2017 {
2019 TTCHAR szUsername[TT_STRLEN];
2021 TTCHAR szPassword[TT_STRLEN];
2023 UserTypes uUserType;
2027 UserRights uUserRights;
2031 INT32 nUserData;
2033 TTCHAR szNote[TT_STRLEN];
2038 TTCHAR szInitChannel[TT_STRLEN];
2042 INT32 autoOperatorChannels[TT_CHANNELS_OPERATOR_MAX];
2046 INT32 nAudioCodecBpsLimit;
2051 AbusePrevention abusePrevent;
2054 TTCHAR szLastModified[TT_STRLEN];
2055 } UserAccount;
2079 typedef enum Subscription
2080 {
2082 SUBSCRIBE_NONE = 0x00000000,
2085 SUBSCRIBE_USER_MSG = 0x00000001,
2088 SUBSCRIBE_CHANNEL_MSG = 0x00000002,
2091 SUBSCRIBE_BROADCAST_MSG = 0x00000004,
2094 SUBSCRIBE_CUSTOM_MSG = 0x00000008,
2096 SUBSCRIBE_VOICE = 0x00000010,
2098 SUBSCRIBE_VIDEOCAPTURE = 0x00000020,
2100 SUBSCRIBE_DESKTOP = 0x00000040,
2104 SUBSCRIBE_DESKTOPINPUT = 0x00000080,
2107 SUBSCRIBE_MEDIAFILE = 0x00000100,
2110 SUBSCRIBE_INTERCEPT_USER_MSG = 0x00010000,
2113 SUBSCRIBE_INTERCEPT_CHANNEL_MSG = 0x00020000,
2114 /* unused SUBSCRIBE_INTERCEPT_BROADCAST_MSG = 0x00040000 */
2117 SUBSCRIBE_INTERCEPT_CUSTOM_MSG = 0x00080000,
2122 SUBSCRIBE_INTERCEPT_VOICE = 0x00100000,
2127 SUBSCRIBE_INTERCEPT_VIDEOCAPTURE = 0x00200000,
2132 SUBSCRIBE_INTERCEPT_DESKTOP = 0x00400000,
2133 /* unused SUBSCRIBE_INTERCEPT_DESKTOPINPUT = 0x00800000, */
2138 SUBSCRIBE_INTERCEPT_MEDIAFILE = 0x01000000,
2139 } Subscription;
2140
2145 typedef UINT32 Subscriptions;
2146
2149 typedef enum UserState
2150 {
2152 USERSTATE_NONE = 0x0000000,
2156 USERSTATE_VOICE = 0x00000001,
2158 USERSTATE_MUTE_VOICE = 0x00000002,
2161 USERSTATE_MUTE_MEDIAFILE = 0x00000004,
2166 USERSTATE_DESKTOP = 0x00000008,
2171 USERSTATE_VIDEOCAPTURE = 0x00000010,
2177 USERSTATE_MEDIAFILE_AUDIO = 0x00000020,
2181 USERSTATE_MEDIAFILE_VIDEO = 0x00000040,
2185 USERSTATE_MEDIAFILE = USERSTATE_MEDIAFILE_AUDIO |
2186 USERSTATE_MEDIAFILE_VIDEO
2187 } UserState;
2188
2191 typedef UINT32 UserStates;
2192
2197 typedef struct User
2198 {
2202 INT32 nUserID;
2207 TTCHAR szUsername[TT_STRLEN];
2212 INT32 nUserData;
2216 UserTypes uUserType;
2218 TTCHAR szIPAddress[TT_STRLEN];
2224 UINT32 uVersion;
2230 INT32 nChannelID;
2236 Subscriptions uLocalSubscriptions;
2242 Subscriptions uPeerSubscriptions;
2247 TTCHAR szNickname[TT_STRLEN];
2252 INT32 nStatusMode;
2257 TTCHAR szStatusMsg[TT_STRLEN];
2260 UserStates uUserState;
2263 TTCHAR szMediaStorageDir[TT_STRLEN];
2269 INT32 nVolumeVoice;
2275 INT32 nVolumeMediaFile;
2279 INT32 nStoppedDelayVoice;
2283 INT32 nStoppedDelayMediaFile;
2288 float soundPositionVoice[3];
2293 float soundPositionMediaFile[3];
2298 TTBOOL stereoPlaybackVoice[2];
2303 TTBOOL stereoPlaybackMediaFile[2];
2307 INT32 nBufferMSecVoice;
2311 INT32 nBufferMSecMediaFile;
2315 INT32 nActiveAdaptiveDelayMSec;
2319 TTCHAR szClientName[TT_STRLEN];
2320 } User;
2321
2326 typedef struct UserStatistics
2327 {
2329 INT64 nVoicePacketsRecv;
2331 INT64 nVoicePacketsLost;
2334 INT64 nVideoCapturePacketsRecv;
2336 INT64 nVideoCaptureFramesRecv;
2339 INT64 nVideoCaptureFramesLost;
2342 INT64 nVideoCaptureFramesDropped;
2344 INT64 nMediaFileAudioPacketsRecv;
2346 INT64 nMediaFileAudioPacketsLost;
2349 INT64 nMediaFileVideoPacketsRecv;
2351 INT64 nMediaFileVideoFramesRecv;
2354 INT64 nMediaFileVideoFramesLost;
2357 INT64 nMediaFileVideoFramesDropped;
2358 } UserStatistics;
2359
2368 typedef enum TextMsgType
2369 {
2371 MSGTYPE_NONE = 0,
2374 MSGTYPE_USER = 1,
2379 MSGTYPE_CHANNEL = 2,
2382 MSGTYPE_BROADCAST = 3,
2385 MSGTYPE_CUSTOM = 4
2386 } TextMsgType;
2387
2394 typedef struct TextMessage
2395 {
2397 TextMsgType nMsgType;
2399 INT32 nFromUserID;
2401 TTCHAR szFromUsername[TT_STRLEN];
2403 INT32 nToUserID;
2406 INT32 nChannelID;
2409 TTCHAR szMessage[TT_STRLEN];
2412 TTBOOL bMore;
2413 } TextMessage;
2421 typedef enum ChannelType
2422 {
2425 CHANNEL_DEFAULT = 0x0000,
2428 CHANNEL_PERMANENT = 0x0001,
2430 CHANNEL_SOLO_TRANSMIT = 0x0002,
2441 CHANNEL_CLASSROOM = 0x0004,
2446 CHANNEL_OPERATOR_RECVONLY = 0x0008,
2449 CHANNEL_NO_VOICEACTIVATION = 0x0010,
2451 CHANNEL_NO_RECORDING = 0x0020,
2454 CHANNEL_HIDDEN = 0x0040
2455 } ChannelType;
2456
2459 typedef UINT32 ChannelTypes;
2460
2471 typedef struct Channel
2472 {
2475 INT32 nParentID;
2477 INT32 nChannelID;
2479 TTCHAR szName[TT_STRLEN];
2481 TTCHAR szTopic[TT_STRLEN];
2485 TTCHAR szPassword[TT_STRLEN];
2488 TTBOOL bPassword;
2490 ChannelTypes uChannelType;
2494 INT32 nUserData;
2496 INT64 nDiskQuota;
2499 TTCHAR szOpPassword[TT_STRLEN];
2501 INT32 nMaxUsers;
2503 AudioCodec audiocodec;
2506 AudioConfig audiocfg;
2562 INT32 transmitUsers[TT_TRANSMITUSERS_MAX][2];
2567 INT32 transmitUsersQueue[TT_TRANSMITQUEUE_MAX];
2575 INT32 nTransmitUsersQueueDelayMSec;
2576 } Channel;
2577
2578
2580 typedef enum FileTransferStatus
2581 {
2583 FILETRANSFER_CLOSED = 0,
2585 FILETRANSFER_ERROR = 1,
2587 FILETRANSFER_ACTIVE = 2,
2589 FILETRANSFER_FINISHED = 3
2590 } FileTransferStatus;
2591
2595 typedef struct FileTransfer
2596 {
2598 FileTransferStatus nStatus;
2600 INT32 nTransferID;
2602 INT32 nChannelID;
2604 TTCHAR szLocalFilePath[TT_STRLEN];
2606 TTCHAR szRemoteFileName[TT_STRLEN];
2608 INT64 nFileSize;
2610 INT64 nTransferred;
2612 TTBOOL bInbound;
2613 } FileTransfer;
2614
2615
2619 typedef struct RemoteFile
2620 {
2622 INT32 nChannelID;
2624 INT32 nFileID;
2626 TTCHAR szFileName[TT_STRLEN];
2628 INT64 nFileSize;
2630 TTCHAR szUsername[TT_STRLEN];
2633 TTCHAR szUploadTime[TT_STRLEN];
2634 } RemoteFile;
2645 typedef struct EncryptionContext
2646 {
2652 TTCHAR szCertificateFile[TT_STRLEN];
2654 TTCHAR szPrivateKeyFile[TT_STRLEN];
2659 TTCHAR szCAFile[TT_STRLEN];
2662 TTCHAR szCADir[TT_STRLEN];
2669 TTBOOL bVerifyPeer;
2680 TTBOOL bVerifyClientOnce;
2688 INT32 nVerifyDepth;
2689 } EncryptionContext;
2690
2697 typedef struct ClientKeepAlive
2698 {
2709 INT32 nConnectionLostMSec;
2713 INT32 nTcpKeepAliveIntervalMSec;
2719 INT32 nUdpKeepAliveIntervalMSec;
2725 INT32 nUdpKeepAliveRTXMSec;
2732 INT32 nUdpConnectRTXMSec;
2740 INT32 nUdpConnectTimeoutMSec;
2741 } ClientKeepAlive;
2742
2747 typedef struct ClientStatistics
2748 {
2750 INT64 nUdpBytesSent;
2752 INT64 nUdpBytesRecv;
2754 INT64 nVoiceBytesSent;
2756 INT64 nVoiceBytesRecv;
2758 INT64 nVideoCaptureBytesSent;
2760 INT64 nVideoCaptureBytesRecv;
2762 INT64 nMediaFileAudioBytesSent;
2764 INT64 nMediaFileAudioBytesRecv;
2766 INT64 nMediaFileVideoBytesSent;
2768 INT64 nMediaFileVideoBytesRecv;
2770 INT64 nDesktopBytesSent;
2772 INT64 nDesktopBytesRecv;
2776 INT32 nUdpPingTimeMs;
2780 INT32 nTcpPingTimeMs;
2783 INT32 nTcpServerSilenceSec;
2786 INT32 nUdpServerSilenceSec;
2798 INT32 nSoundInputDeviceDelayMSec;
2799 } ClientStatistics;
2800
2806 typedef struct JitterConfig
2807 {
2809 INT32 nFixedDelayMSec;
2811 TTBOOL bUseAdativeDejitter;
2814 INT32 nMaxAdaptiveDelayMSec;
2821 INT32 nActiveAdaptiveDelayMSec;
2822 } JitterConfig;
2823
2833 typedef enum ClientError
2834 {
2836 CMDERR_SUCCESS = 0,
2837
2838 /* COMMAND ERRORS 1000-1999 ARE DUE TO INVALID OR UNSUPPORTED
2839 * COMMANDS */
2840
2842 CMDERR_SYNTAX_ERROR = 1000,
2847 CMDERR_UNKNOWN_COMMAND = 1001,
2850 CMDERR_MISSING_PARAMETER = 1002,
2853 CMDERR_INCOMPATIBLE_PROTOCOLS = 1003,
2858 CMDERR_UNKNOWN_AUDIOCODEC = 1004,
2861 CMDERR_INVALID_USERNAME = 1005,
2862
2863 /* COMMAND ERRORS 2000-2999 ARE DUE TO INSUFFICIENT RIGHTS */
2864
2870 CMDERR_INCORRECT_CHANNEL_PASSWORD = 2001,
2876 CMDERR_INVALID_ACCOUNT = 2002,
2882 CMDERR_MAX_SERVER_USERS_EXCEEDED = 2003,
2888 CMDERR_MAX_CHANNEL_USERS_EXCEEDED = 2004,
2893 CMDERR_SERVER_BANNED = 2005,
2925 CMDERR_NOT_AUTHORIZED = 2006,
2932 CMDERR_MAX_DISKUSAGE_EXCEEDED = 2008,
2938 CMDERR_INCORRECT_OP_PASSWORD = 2010,
2939
2944 CMDERR_AUDIOCODEC_BITRATE_LIMIT_EXCEEDED = 2011,
2945
2951 CMDERR_MAX_LOGINS_PER_IPADDRESS_EXCEEDED = 2012,
2952
2955 CMDERR_MAX_CHANNELS_EXCEEDED = 2013,
2956
2961 CMDERR_COMMAND_FLOOD = 2014,
2962
2968 CMDERR_CHANNEL_BANNED = 2015,
2969
2970 /* COMMAND ERRORS 3000-3999 ARE DUE TO INVALID STATE OF CLIENT INSTANCE */
2971
2977 CMDERR_NOT_LOGGEDIN = 3000,
2978
2982 CMDERR_ALREADY_LOGGEDIN = 3001,
2986 CMDERR_NOT_IN_CHANNEL = 3002,
2991 CMDERR_ALREADY_IN_CHANNEL = 3003,
2995 CMDERR_CHANNEL_ALREADY_EXISTS = 3004,
3013 CMDERR_CHANNEL_NOT_FOUND = 3005,
3024 CMDERR_USER_NOT_FOUND = 3006,
3029 CMDERR_BAN_NOT_FOUND = 3007,
3034 CMDERR_FILETRANSFER_NOT_FOUND = 3008,
3039 CMDERR_OPENFILE_FAILED = 3009,
3044 CMDERR_ACCOUNT_NOT_FOUND = 3010,
3049 CMDERR_FILE_NOT_FOUND = 3011,
3054 CMDERR_FILE_ALREADY_EXISTS = 3012,
3059 CMDERR_FILESHARING_DISABLED = 3013,
3064 CMDERR_CHANNEL_HAS_USERS = 3015,
3065
3069 CMDERR_LOGINSERVICE_UNAVAILABLE = 3016,
3070
3075 CMDERR_CHANNEL_CANNOT_BE_HIDDEN = 3017,
3076
3077 /* ERRORS 10000-10999 ARE NOT COMMAND ERRORS BUT INSTEAD
3078 * ERRORS IN THE CLIENT INSTANCE. */
3079
3087 INTERR_SNDINPUT_FAILURE = 10000,
3096 INTERR_SNDOUTPUT_FAILURE = 10001,
3100 INTERR_AUDIOCODEC_INIT_FAILED = 10002,
3102 INTERR_SPEEXDSP_INIT_FAILED = 10003,
3110 INTERR_AUDIOPREPROCESSOR_INIT_FAILED = 10003,
3118 INTERR_TTMESSAGE_QUEUE_OVERFLOW = 10004,
3125 INTERR_SNDEFFECT_FAILURE = 10005,
3126 } ClientError;
3127
3129 typedef struct ClientErrorMsg
3130 {
3132 INT32 nErrorNo;
3134 TTCHAR szErrorMsg[TT_STRLEN];
3135 } ClientErrorMsg;
3145 typedef enum ClientEvent
3146 {
3147 CLIENTEVENT_NONE = 0,
3148
3161 CLIENTEVENT_CON_SUCCESS = CLIENTEVENT_NONE + 10,
3172 CLIENTEVENT_CON_FAILED = CLIENTEVENT_NONE + 20,
3189 CLIENTEVENT_CON_LOST = CLIENTEVENT_NONE + 30,
3201 CLIENTEVENT_CON_MAX_PAYLOAD_UPDATED = CLIENTEVENT_NONE + 40,
3216 CLIENTEVENT_CMD_PROCESSING = CLIENTEVENT_NONE + 200,
3231 CLIENTEVENT_CMD_ERROR = CLIENTEVENT_NONE + 210,
3244 CLIENTEVENT_CMD_SUCCESS = CLIENTEVENT_NONE + 220,
3263 CLIENTEVENT_CMD_MYSELF_LOGGEDIN = CLIENTEVENT_NONE + 230,
3273 CLIENTEVENT_CMD_MYSELF_LOGGEDOUT = CLIENTEVENT_NONE + 240,
3284 CLIENTEVENT_CMD_MYSELF_KICKED = CLIENTEVENT_NONE + 250,
3296 CLIENTEVENT_CMD_USER_LOGGEDIN = CLIENTEVENT_NONE + 260,
3311 CLIENTEVENT_CMD_USER_LOGGEDOUT = CLIENTEVENT_NONE + 270,
3321 CLIENTEVENT_CMD_USER_UPDATE = CLIENTEVENT_NONE + 280,
3331 CLIENTEVENT_CMD_USER_JOINED = CLIENTEVENT_NONE + 290,
3339 CLIENTEVENT_CMD_USER_LEFT = CLIENTEVENT_NONE + 300,
3350 CLIENTEVENT_CMD_USER_TEXTMSG = CLIENTEVENT_NONE + 310,
3360 CLIENTEVENT_CMD_CHANNEL_NEW = CLIENTEVENT_NONE + 320,
3370 CLIENTEVENT_CMD_CHANNEL_UPDATE = CLIENTEVENT_NONE + 330,
3381 CLIENTEVENT_CMD_CHANNEL_REMOVE = CLIENTEVENT_NONE + 340,
3392 CLIENTEVENT_CMD_SERVER_UPDATE = CLIENTEVENT_NONE + 350,
3402 CLIENTEVENT_CMD_SERVERSTATISTICS = CLIENTEVENT_NONE + 360,
3415 CLIENTEVENT_CMD_FILE_NEW = CLIENTEVENT_NONE + 370,
3423 CLIENTEVENT_CMD_FILE_REMOVE = CLIENTEVENT_NONE + 380,
3433 CLIENTEVENT_CMD_USERACCOUNT = CLIENTEVENT_NONE + 390,
3443 CLIENTEVENT_CMD_BANNEDUSER = CLIENTEVENT_NONE + 400,
3464 CLIENTEVENT_USER_STATECHANGE = CLIENTEVENT_NONE + 500,
3478 CLIENTEVENT_USER_VIDEOCAPTURE = CLIENTEVENT_NONE + 510,
3492 CLIENTEVENT_USER_MEDIAFILE_VIDEO = CLIENTEVENT_NONE + 520,
3508 CLIENTEVENT_USER_DESKTOPWINDOW = CLIENTEVENT_NONE + 530,
3520 CLIENTEVENT_USER_DESKTOPCURSOR = CLIENTEVENT_NONE + 540,
3544 CLIENTEVENT_USER_DESKTOPINPUT = CLIENTEVENT_NONE + 550,
3558 CLIENTEVENT_USER_RECORD_MEDIAFILE = CLIENTEVENT_NONE + 560,
3575 CLIENTEVENT_USER_AUDIOBLOCK = CLIENTEVENT_NONE + 570,
3590 CLIENTEVENT_INTERNAL_ERROR = CLIENTEVENT_NONE + 1000,
3605 CLIENTEVENT_VOICE_ACTIVATION = CLIENTEVENT_NONE + 1010,
3617 CLIENTEVENT_HOTKEY = CLIENTEVENT_NONE + 1020,
3637 CLIENTEVENT_HOTKEY_TEST = CLIENTEVENT_NONE + 1030,
3655 CLIENTEVENT_FILETRANSFER = CLIENTEVENT_NONE + 1040,
3672 CLIENTEVENT_DESKTOPWINDOW_TRANSFER = CLIENTEVENT_NONE + 1050,
3686 CLIENTEVENT_STREAM_MEDIAFILE = CLIENTEVENT_NONE + 1060,
3700 CLIENTEVENT_LOCAL_MEDIAFILE = CLIENTEVENT_NONE + 1070,
3723 CLIENTEVENT_AUDIOINPUT = CLIENTEVENT_NONE + 1080,
3744 CLIENTEVENT_USER_FIRSTVOICESTREAMPACKET = CLIENTEVENT_NONE + 1090,
3745 } ClientEvent;
3746
3747 /* List of structures used internally by TeamTalk. */
3748 typedef enum TTType
3749 {
3750 __NONE = 0,
3751 __AUDIOCODEC = 1,
3752 __BANNEDUSER = 2,
3753 __VIDEOFORMAT = 3,
3754 __OPUSCODEC = 4,
3755 __CHANNEL = 5,
3756 __CLIENTSTATISTICS = 6,
3757 __REMOTEFILE = 7,
3758 __FILETRANSFER = 8,
3759 __MEDIAFILESTATUS = 9,
3760 __SERVERPROPERTIES = 10,
3761 __SERVERSTATISTICS = 11,
3762 __SOUNDDEVICE = 12,
3763 __SPEEXCODEC = 13,
3764 __TEXTMESSAGE = 14,
3765 __WEBMVP8CODEC = 15,
3766 __TTMESSAGE = 16,
3767 __USER = 17,
3768 __USERACCOUNT = 18,
3769 __USERSTATISTICS = 19,
3770 __VIDEOCAPTUREDEVICE = 20,
3771 __VIDEOCODEC = 21,
3772 __AUDIOCONFIG = 22,
3773 __SPEEXVBRCODEC = 23,
3774 __VIDEOFRAME = 24,
3775 __AUDIOBLOCK = 25,
3776 __AUDIOFORMAT = 26,
3777 __MEDIAFILEINFO = 27,
3778 __CLIENTERRORMSG = 28,
3779 __TTBOOL = 29,
3780 __INT32 = 30,
3781 __DESKTOPINPUT = 31,
3782 __SPEEXDSP = 32,
3783 __STREAMTYPE = 33,
3784 __AUDIOPREPROCESSORTYPE = 34,
3785 __AUDIOPREPROCESSOR = 35,
3786 __TTAUDIOPREPROCESSOR = 36,
3787 __MEDIAFILEPLAYBACK = 37,
3788 __CLIENTKEEPALIVE = 38,
3789 __UINT32 = 39,
3790 __AUDIOINPUTPROGRESS = 40,
3791 __JITTERCONFIG = 41,
3792 __WEBRTCAUDIOPREPROCESSOR = 42,
3793 __ENCRYPTIONCONTEXT = 43,
3794 } TTType;
3795
3806 typedef struct TTMessage
3807 {
3809 ClientEvent nClientEvent;
3811 INT32 nSource;
3813 TTType ttType;
3815 UINT32 uReserved;
3816 union
3817 {
3819 Channel channel;
3821 ClientErrorMsg clienterrormsg;
3823 DesktopInput desktopinput;
3825 FileTransfer filetransfer;
3827 MediaFileInfo mediafileinfo;
3829 RemoteFile remotefile;
3831 ServerProperties serverproperties;
3833 ServerStatistics serverstatistics;
3835 TextMessage textmessage;
3837 User user;
3839 UserAccount useraccount;
3841 BannedUser banneduser;
3843 TTBOOL bActive;
3845 INT32 nBytesRemain;
3847 INT32 nStreamID;
3849 INT32 nPayloadSize;
3851 StreamType nStreamType;
3853 AudioInputProgress audioinputprogress;
3854 /* brief First byte in union. */
3855 char data[1];
3856 };
3857 } TTMessage;
3858
3877 typedef enum ClientFlag
3878 {
3883 CLIENT_CLOSED = 0x00000000,
3887 CLIENT_SNDINPUT_READY = 0x00000001,
3891 CLIENT_SNDOUTPUT_READY = 0x00000002,
3897 CLIENT_SNDINOUTPUT_DUPLEX = 0x00000004,
3904 CLIENT_SNDINPUT_VOICEACTIVATED = 0x00000008,
3911 CLIENT_SNDINPUT_VOICEACTIVE = 0x00000010,
3914 CLIENT_SNDOUTPUT_MUTE = 0x00000020,
3920 CLIENT_SNDOUTPUT_AUTO3DPOSITION = 0x00000040,
3924 CLIENT_VIDEOCAPTURE_READY = 0x00000080,
3927 CLIENT_TX_VOICE = 0x00000100,
3931 CLIENT_TX_VIDEOCAPTURE = 0x00000200,
3937 CLIENT_TX_DESKTOP = 0x00000400,
3942 CLIENT_DESKTOP_ACTIVE = 0x00000800,
3946 CLIENT_MUX_AUDIOFILE = 0x00001000,
3949 CLIENT_CONNECTING = 0x00002000,
3954 CLIENT_CONNECTED = 0x00004000,
3957 CLIENT_CONNECTION = CLIENT_CONNECTING | CLIENT_CONNECTED,
3961 CLIENT_AUTHORIZED = 0x00008000,
3966 CLIENT_STREAM_AUDIO = 0x00010000,
3971 CLIENT_STREAM_VIDEO = 0x00020000
3972 } ClientFlag;
3973
3976 typedef UINT32 ClientFlags;
3977
3982 typedef VOID TTInstance;
3983
3988 typedef VOID TTSoundLoop;
3989
3991 TEAMTALKDLL_API const TTCHAR* TT_GetVersion(void);
3992
3993 #if defined(WIN32)
3994
4008 TEAMTALKDLL_API TTInstance* TT_InitTeamTalk(IN HWND hWnd, IN UINT32 uMsg);
4009
4017 TEAMTALKDLL_API TTBOOL TT_SwapTeamTalkHWND(IN TTInstance* lpTTInstance,
4018 IN HWND hWnd);
4019 #endif
4020
4034 TEAMTALKDLL_API TTInstance* TT_InitTeamTalkPoll(void);
4035
4046 TEAMTALKDLL_API TTBOOL TT_CloseTeamTalk(IN TTInstance* lpTTInstance);
4047
4060 TEAMTALKDLL_API TTBOOL TT_GetMessage(IN TTInstance* lpTTInstance,
4061 OUT TTMessage* pMsg,
4062 IN const INT32* pnWaitMs);
4063
4093 TEAMTALKDLL_API TTBOOL TT_PumpMessage(IN TTInstance* lpTTInstance,
4094 ClientEvent nClientEvent,
4095 INT32 nIdentifier);
4096
4109 TEAMTALKDLL_API ClientFlags TT_GetFlags(IN TTInstance* lpTTInstance);
4110
4119 TEAMTALKDLL_API TTBOOL TT_SetLicenseInformation(IN const TTCHAR szRegName[TT_STRLEN],
4120 IN const TTCHAR szRegKey[TT_STRLEN]);
4133 TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevices(OUT INT32* lpnInputDeviceID,
4134 OUT INT32* lpnOutputDeviceID);
4139 TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevicesEx(IN SoundSystem nSndSystem,
4140 OUT INT32* lpnInputDeviceID,
4141 OUT INT32* lpnOutputDeviceID);
4142
4156 TEAMTALKDLL_API TTBOOL TT_GetSoundDevices(IN OUT SoundDevice* lpSoundDevices,
4157 IN OUT INT32* lpnHowMany);
4158
4159
4175 TEAMTALKDLL_API TTBOOL TT_RestartSoundSystem(void);
4176
4182 TEAMTALKDLL_API TTSoundLoop* TT_StartSoundLoopbackTest(IN INT32 nInputDeviceID,
4183 IN INT32 nOutputDeviceID,
4184 IN INT32 nSampleRate,
4185 IN INT32 nChannels,
4186 IN TTBOOL bDuplexMode,
4187 IN const SpeexDSP* lpSpeexDSP);
4188
4222 TEAMTALKDLL_API TTSoundLoop* TT_StartSoundLoopbackTestEx(IN INT32 nInputDeviceID,
4223 IN INT32 nOutputDeviceID,
4224 IN INT32 nSampleRate,
4225 IN INT32 nChannels,
4226 IN TTBOOL bDuplexMode,
4227 IN const AudioPreprocessor* lpAudioPreprocessor,
4228 IN const SoundDeviceEffects* lpSoundDeviceEffects);
4229
4230
4241 TEAMTALKDLL_API TTBOOL TT_CloseSoundLoopbackTest(IN TTSoundLoop* lpTTSoundLoop);
4242
4273 TEAMTALKDLL_API TTBOOL TT_InitSoundInputDevice(IN TTInstance* lpTTInstance,
4274 IN INT32 nInputDeviceID);
4275
4306 TEAMTALKDLL_API TTBOOL TT_InitSoundInputSharedDevice(IN INT32 nSampleRate,
4307 IN INT32 nChannels,
4308 IN INT32 nFrameSize);
4339 TEAMTALKDLL_API TTBOOL TT_InitSoundOutputDevice(IN TTInstance* lpTTInstance,
4340 IN INT32 nOutputDeviceID);
4341
4372 TEAMTALKDLL_API TTBOOL TT_InitSoundOutputSharedDevice(IN INT32 nSampleRate,
4373 IN INT32 nChannels,
4374 IN INT32 nFrameSize);
4409 TEAMTALKDLL_API TTBOOL TT_InitSoundDuplexDevices(IN TTInstance* lpTTInstance,
4410 IN INT32 nInputDeviceID,
4411 IN INT32 nOutputDeviceID);
4412
4431 TEAMTALKDLL_API TTBOOL TT_CloseSoundInputDevice(IN TTInstance* lpTTInstance);
4432
4451 TEAMTALKDLL_API TTBOOL TT_CloseSoundOutputDevice(IN TTInstance* lpTTInstance);
4452
4461 TEAMTALKDLL_API TTBOOL TT_CloseSoundDuplexDevices(IN TTInstance* lpTTInstance);
4462
4498 TEAMTALKDLL_API TTBOOL TT_SetSoundDeviceEffects(IN TTInstance* lpTTInstance,
4499 IN const SoundDeviceEffects* lpSoundDeviceEffect);
4500
4505 TEAMTALKDLL_API TTBOOL TT_GetSoundDeviceEffects(IN TTInstance* lpTTInstance,
4506 OUT SoundDeviceEffects* lpSoundDeviceEffect);
4507
4524 TEAMTALKDLL_API INT32 TT_GetSoundInputLevel(IN TTInstance* lpTTInstance);
4525
4543 TEAMTALKDLL_API TTBOOL TT_SetSoundInputGainLevel(IN TTInstance* lpTTInstance,
4544 IN INT32 nLevel);
4545
4555 TEAMTALKDLL_API INT32 TT_GetSoundInputGainLevel(IN TTInstance* lpTTInstance);
4556
4576 TEAMTALKDLL_API TTBOOL TT_SetSoundInputPreprocess(IN TTInstance* lpTTInstance,
4577 IN const SpeexDSP* lpSpeexDSP);
4578
4590 TEAMTALKDLL_API TTBOOL TT_GetSoundInputPreprocess(IN TTInstance* lpTTInstance,
4591 OUT SpeexDSP* lpSpeexDSP);
4592
4606 TEAMTALKDLL_API TTBOOL TT_SetSoundInputPreprocessEx(IN TTInstance* lpTTInstance,
4607 IN const AudioPreprocessor* lpAudioPreprocessor);
4608
4618 TEAMTALKDLL_API TTBOOL TT_GetSoundInputPreprocessEx(IN TTInstance* lpTTInstance,
4619 OUT AudioPreprocessor* lpAudioPreprocessor);
4620
4630 TEAMTALKDLL_API TTBOOL TT_SetSoundOutputVolume(IN TTInstance* lpTTInstance,
4631 IN INT32 nVolume);
4632
4641 TEAMTALKDLL_API INT32 TT_GetSoundOutputVolume(IN TTInstance* lpTTInstance);
4642
4652 TEAMTALKDLL_API TTBOOL TT_SetSoundOutputMute(IN TTInstance* lpTTInstance,
4653 IN TTBOOL bMuteAll);
4654
4667 TEAMTALKDLL_API TTBOOL TT_Enable3DSoundPositioning(IN TTInstance* lpTTInstance,
4668 IN TTBOOL bEnable);
4669
4681 TEAMTALKDLL_API TTBOOL TT_AutoPositionUsers(IN TTInstance* lpTTInstance);
4682
4697 TEAMTALKDLL_API TTBOOL TT_EnableAudioBlockEvent(IN TTInstance* lpTTInstance,
4698 IN INT32 nUserID,
4699 IN StreamTypes uStreamTypes,
4700 IN TTBOOL bEnable);
4701
4778 TEAMTALKDLL_API TTBOOL TT_EnableAudioBlockEventEx(IN TTInstance* lpTTInstance,
4779 IN INT32 nUserID,
4780 IN StreamTypes uStreamTypes,
4781 IN const AudioFormat* lpAudioFormat,
4782 IN TTBOOL bEnable);
4783
4820 TEAMTALKDLL_API TTBOOL TT_InsertAudioBlock(IN TTInstance* lpTTInstance,
4821 IN const AudioBlock* lpAudioBlock);
4822
4842 TEAMTALKDLL_API TTBOOL TT_EnableVoiceTransmission(IN TTInstance* lpTTInstance,
4843 IN TTBOOL bEnable);
4844
4873 TEAMTALKDLL_API TTBOOL TT_EnableVoiceActivation(IN TTInstance* lpTTInstance,
4874 IN TTBOOL bEnable);
4875
4893 TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationLevel(IN TTInstance* lpTTInstance,
4894 IN INT32 nLevel);
4895
4904 TEAMTALKDLL_API INT32 TT_GetVoiceActivationLevel(IN TTInstance* lpTTInstance);
4905
4918 TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationStopDelay(IN TTInstance* lpTTInstance,
4919 IN INT32 nDelayMSec);
4920
4930 TEAMTALKDLL_API INT32 TT_GetVoiceActivationStopDelay(IN TTInstance* lpTTInstance);
4931
4982 TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedAudioFile(IN TTInstance* lpTTInstance,
4983 IN const AudioCodec* lpAudioCodec,
4984 IN const TTCHAR* szAudioFileName,
4985 IN AudioFileFormat uAFF);
4986
5017 TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedAudioFileEx(IN TTInstance* lpTTInstance,
5018 IN INT32 nChannelID,
5019 IN const TTCHAR* szAudioFileName,
5020 IN AudioFileFormat uAFF);
5021
5055 TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedStreams(IN TTInstance* lpTTInstance,
5056 IN StreamTypes uStreamTypes,
5057 IN const AudioCodec* lpAudioCodec,
5058 IN const TTCHAR* szAudioFileName,
5059 IN AudioFileFormat uAFF);
5060
5075 TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFile(IN TTInstance* lpTTInstance);
5076
5083 TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFileEx(IN TTInstance* lpTTInstance,
5084 IN INT32 nChannelID);
5085
5110 TEAMTALKDLL_API TTBOOL TT_StartVideoCaptureTransmission(IN TTInstance* lpTTInstance,
5111 IN const VideoCodec* lpVideoCodec);
5112
5119 TEAMTALKDLL_API TTBOOL TT_StopVideoCaptureTransmission(IN TTInstance* lpTTInstance);
5120
5137 TEAMTALKDLL_API TTBOOL TT_GetVideoCaptureDevices(IN OUT VideoCaptureDevice* lpVideoDevices,
5138 IN OUT INT32* lpnHowMany);
5139
5153 TEAMTALKDLL_API TTBOOL TT_InitVideoCaptureDevice(IN TTInstance* lpTTInstance,
5154 IN const TTCHAR* szDeviceID,
5155 IN const VideoFormat* lpVideoFormat);
5160 TEAMTALKDLL_API TTBOOL TT_CloseVideoCaptureDevice(IN TTInstance* lpTTInstance);
5161
5162 #if defined(WIN32)
5163
5178 TEAMTALKDLL_API TTBOOL TT_PaintVideoFrame(IN HDC hDC,
5179 IN INT32 XDest,
5180 IN INT32 YDest,
5181 IN INT32 nDestWidth,
5182 IN INT32 nDestHeight,
5183 IN VideoFrame* lpVideoFrame);
5184
5216 TEAMTALKDLL_API TTBOOL TT_PaintVideoFrameEx(IN HDC hDC,
5217 IN INT32 XDest,
5218 IN INT32 YDest,
5219 IN INT32 nDestWidth,
5220 IN INT32 nDestHeight,
5221 IN INT32 XSrc,
5222 IN INT32 YSrc,
5223 IN INT32 nSrcWidth,
5224 IN INT32 nSrcHeight,
5225 IN VideoFrame* lpVideoFrame);
5226 #endif
5227
5248 TEAMTALKDLL_API VideoFrame* TT_AcquireUserVideoCaptureFrame(IN TTInstance* lpTTInstance,
5249 IN INT32 nUserID);
5250
5260 TEAMTALKDLL_API TTBOOL TT_ReleaseUserVideoCaptureFrame(IN TTInstance* lpTTInstance,
5261 IN VideoFrame* lpVideoFrame);
5269 TEAMTALKDLL_API TTBOOL TT_StartStreamingMediaFileToChannel(IN TTInstance* lpTTInstance,
5270 IN const TTCHAR* szMediaFilePath,
5271 IN const VideoCodec* lpVideoCodec);
5272
5304 TEAMTALKDLL_API TTBOOL TT_StartStreamingMediaFileToChannelEx(IN TTInstance* lpTTInstance,
5305 IN const TTCHAR* szMediaFilePath,
5306 IN const MediaFilePlayback* lpMediaFilePlayback,
5307 IN const VideoCodec* lpVideoCodec);
5308
5327 TEAMTALKDLL_API TTBOOL TT_UpdateStreamingMediaFileToChannel(IN TTInstance* lpTTInstance,
5328 IN const MediaFilePlayback* lpMediaFilePlayback,
5329 IN const VideoCodec* lpVideoCodec);
5330
5338 TEAMTALKDLL_API TTBOOL TT_StopStreamingMediaFileToChannel(IN TTInstance* lpTTInstance);
5339
5369 TEAMTALKDLL_API INT32 TT_InitLocalPlayback(IN TTInstance* lpTTInstance,
5370 IN const TTCHAR* szMediaFilePath,
5371 IN const MediaFilePlayback* lpMediaFilePlayback);
5372
5386 TEAMTALKDLL_API TTBOOL TT_UpdateLocalPlayback(IN TTInstance* lpTTInstance,
5387 IN INT32 nPlaybackSessionID,
5388 IN const MediaFilePlayback* lpMediaFilePlayback);
5389
5399 TEAMTALKDLL_API TTBOOL TT_StopLocalPlayback(IN TTInstance* lpTTInstance,
5400 IN INT32 nPlaybackSessionID);
5401
5409 TEAMTALKDLL_API TTBOOL TT_GetMediaFileInfo(IN const TTCHAR* szMediaFilePath,
5410 OUT MediaFileInfo* lpMediaFileInfo);
5411
5432 TEAMTALKDLL_API VideoFrame* TT_AcquireUserMediaVideoFrame(IN TTInstance* lpTTInstance,
5433 IN INT32 nUserID);
5434
5444 TEAMTALKDLL_API TTBOOL TT_ReleaseUserMediaVideoFrame(IN TTInstance* lpTTInstance,
5445 IN VideoFrame* lpVideoFrame);
5490 TEAMTALKDLL_API INT32 TT_SendDesktopWindow(IN TTInstance* lpTTInstance,
5491 IN const DesktopWindow* lpDesktopWindow,
5492 IN BitmapFormat nConvertBmpFormat);
5493
5503 TEAMTALKDLL_API TTBOOL TT_CloseDesktopWindow(IN TTInstance* lpTTInstance);
5504
5521 TEAMTALKDLL_API unsigned char* TT_Palette_GetColorTable(IN BitmapFormat nBmpPalette,
5522 IN INT32 nIndex);
5523 #if defined(WIN32)
5524
5527 TEAMTALKDLL_API HWND TT_Windows_GetDesktopActiveHWND(void);
5528
5530 TEAMTALKDLL_API HWND TT_Windows_GetDesktopHWND(void);
5531
5536 TEAMTALKDLL_API TTBOOL TT_Windows_GetDesktopWindowHWND(IN INT32 nIndex,
5537 OUT HWND* lpHWnd);
5538
5544 typedef struct ShareWindow
5545 {
5547 HWND hWnd;
5549 INT32 nWndX;
5551 INT32 nWndY;
5553 INT32 nWidth;
5555 INT32 nHeight;
5557 TTCHAR szWindowTitle[TT_STRLEN];
5558 } ShareWindow;
5559
5562 TEAMTALKDLL_API TTBOOL TT_Windows_GetWindow(IN HWND hWnd,
5563 OUT ShareWindow* lpShareWindow);
5564
5577 TEAMTALKDLL_API INT32 TT_SendDesktopWindowFromHWND(IN TTInstance* lpTTInstance,
5578 IN HWND hWnd,
5579 IN BitmapFormat nBitmapFormat,
5580 IN DesktopProtocol nDesktopProtocol);
5581
5597 TEAMTALKDLL_API TTBOOL TT_PaintDesktopWindow(IN TTInstance* lpTTInstance,
5598 IN INT32 nUserID,
5599 IN HDC hDC,
5600 IN INT32 XDest,
5601 IN INT32 YDest,
5602 IN INT32 nDestWidth,
5603 IN INT32 nDestHeight);
5604
5639 TEAMTALKDLL_API TTBOOL TT_PaintDesktopWindowEx(IN TTInstance* lpTTInstance,
5640 IN INT32 nUserID,
5641 IN HDC hDC,
5642 IN INT32 XDest,
5643 IN INT32 YDest,
5644 IN INT32 nDestWidth,
5645 IN INT32 nDestHeight,
5646 IN INT32 XSrc,
5647 IN INT32 YSrc,
5648 IN INT32 nSrcWidth,
5649 IN INT32 nSrcHeight);
5650 #endif
5651
5652 #if defined(__APPLE__)
5653
5659 typedef struct ShareWindow
5660 {
5662 INT64 nWindowID;
5664 INT32 nWindowX;
5666 INT32 nWindowY;
5668 INT32 nWidth;
5670 INT32 nHeight;
5672 TTCHAR szWindowTitle[TT_STRLEN];
5674 INT64 nPID;
5675 } ShareWindow;
5676
5681 TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindow(IN INT32 nIndex,
5682 OUT ShareWindow* lpShareWindow);
5683
5686 TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindowFromWindowID(IN INT64 nWindowID,
5687 OUT ShareWindow* lpShareWindow);
5688
5702 TEAMTALKDLL_API INT32 TT_SendDesktopFromWindowID(IN TTInstance* lpTTInstance,
5703 IN INT64 nWindowID,
5704 IN BitmapFormat nBitmapFormat,
5705 IN DesktopProtocol nDesktopProtocol);
5706 #endif
5707
5723 TEAMTALKDLL_API TTBOOL TT_SendDesktopCursorPosition(IN TTInstance* lpTTInstance,
5724 IN UINT16 nPosX,
5725 IN UINT16 nPosY);
5753 TEAMTALKDLL_API TTBOOL TT_SendDesktopInput(IN TTInstance* lpTTInstance,
5754 IN INT32 nUserID,
5755 IN const DesktopInput lpDesktopInputs[TT_DESKTOPINPUT_MAX],
5756 IN INT32 nDesktopInputCount);
5757
5781 TEAMTALKDLL_API DesktopWindow* TT_AcquireUserDesktopWindow(IN TTInstance* lpTTInstance,
5782 IN INT32 nUserID);
5783
5796 TEAMTALKDLL_API DesktopWindow* TT_AcquireUserDesktopWindowEx(IN TTInstance* lpTTInstance,
5797 IN INT32 nUserID,
5798 IN BitmapFormat nBitmapFormat);
5799
5806 TEAMTALKDLL_API TTBOOL TT_ReleaseUserDesktopWindow(IN TTInstance* lpTTInstance,
5807 IN DesktopWindow* lpDesktopWindow);
5826 TEAMTALKDLL_API TTBOOL TT_SetEncryptionContext(IN TTInstance* lpTTInstance,
5827 const EncryptionContext* lpEncryptionContext);
5828
5859 TEAMTALKDLL_API TTBOOL TT_Connect(IN TTInstance* lpTTInstance,
5860 IN const TTCHAR* szHostAddress,
5861 IN INT32 nTcpPort,
5862 IN INT32 nUdpPort,
5863 IN INT32 nLocalTcpPort,
5864 IN INT32 nLocalUdpPort,
5865 IN TTBOOL bEncrypted);
5866
5894 TEAMTALKDLL_API TTBOOL TT_ConnectSysID(IN TTInstance* lpTTInstance,
5895 IN const TTCHAR* szHostAddress,
5896 IN INT32 nTcpPort,
5897 IN INT32 nUdpPort,
5898 IN INT32 nLocalTcpPort,
5899 IN INT32 nLocalUdpPort,
5900 IN TTBOOL bEncrypted,
5901 IN const TTCHAR* szSystemID);
5902
5925 TEAMTALKDLL_API TTBOOL TT_ConnectEx(IN TTInstance* lpTTInstance,
5926 IN const TTCHAR* szHostAddress,
5927 IN INT32 nTcpPort,
5928 IN INT32 nUdpPort,
5929 IN const TTCHAR* szBindIPAddr,
5930 IN INT32 nLocalTcpPort,
5931 IN INT32 nLocalUdpPort,
5932 IN TTBOOL bEncrypted);
5933
5944 TEAMTALKDLL_API TTBOOL TT_Disconnect(IN TTInstance* lpTTInstance);
5945
5957 TEAMTALKDLL_API TTBOOL TT_QueryMaxPayload(IN TTInstance* lpTTInstance,
5958 IN INT32 nUserID);
5959
5965 TEAMTALKDLL_API TTBOOL TT_GetClientStatistics(IN TTInstance* lpTTInstance,
5966 OUT ClientStatistics* lpClientStatistics);
5967
5982 TEAMTALKDLL_API TTBOOL TT_SetClientKeepAlive(IN TTInstance* lpTTInstance,
5983 IN const ClientKeepAlive* lpClientKeepAlive);
5984
5991 TEAMTALKDLL_API TTBOOL TT_GetClientKeepAlive(IN TTInstance* lpTTInstance,
5992 OUT ClientKeepAlive* lpClientKeepAlive);
5993
6017 TEAMTALKDLL_API INT32 TT_DoPing(IN TTInstance* lpTTInstance);
6018
6032 TEAMTALKDLL_API INT32 TT_DoLogin(IN TTInstance* lpTTInstance,
6033 IN const TTCHAR* szNickname,
6034 IN const TTCHAR* szUsername,
6035 IN const TTCHAR* szPassword);
6036
6037
6072 TEAMTALKDLL_API INT32 TT_DoLoginEx(IN TTInstance* lpTTInstance,
6073 IN const TTCHAR* szNickname,
6074 IN const TTCHAR* szUsername,
6075 IN const TTCHAR* szPassword,
6076 IN const TTCHAR* szClientName);
6077
6093 TEAMTALKDLL_API INT32 TT_DoLogout(IN TTInstance* lpTTInstance);
6094
6134 TEAMTALKDLL_API INT32 TT_DoJoinChannel(IN TTInstance* lpTTInstance,
6135 IN const Channel* lpChannel);
6136
6162 TEAMTALKDLL_API INT32 TT_DoJoinChannelByID(IN TTInstance* lpTTInstance,
6163 IN INT32 nChannelID,
6164 IN const TTCHAR* szPassword);
6165
6187 TEAMTALKDLL_API INT32 TT_DoLeaveChannel(IN TTInstance* lpTTInstance);
6188
6207 TEAMTALKDLL_API INT32 TT_DoChangeNickname(IN TTInstance* lpTTInstance,
6208 IN const TTCHAR* szNewNick);
6209
6231 TEAMTALKDLL_API INT32 TT_DoChangeStatus(IN TTInstance* lpTTInstance,
6232 IN INT32 nStatusMode,
6233 IN const TTCHAR* szStatusMessage);
6234
6255 TEAMTALKDLL_API INT32 TT_DoTextMessage(IN TTInstance* lpTTInstance,
6256 IN const TextMessage* lpTextMessage);
6257
6279 TEAMTALKDLL_API INT32 TT_DoChannelOp(IN TTInstance* lpTTInstance,
6280 IN INT32 nUserID,
6281 IN INT32 nChannelID,
6282 IN TTBOOL bMakeOperator);
6283
6305 TEAMTALKDLL_API INT32 TT_DoChannelOpEx(IN TTInstance* lpTTInstance,
6306 IN INT32 nUserID,
6307 IN INT32 nChannelID,
6308 IN const TTCHAR* szOpPassword,
6309 IN TTBOOL bMakeOperator);
6310
6336 TEAMTALKDLL_API INT32 TT_DoKickUser(IN TTInstance* lpTTInstance,
6337 IN INT32 nUserID,
6338 IN INT32 nChannelID);
6339
6376 TEAMTALKDLL_API INT32 TT_DoSendFile(IN TTInstance* lpTTInstance,
6377 IN INT32 nChannelID,
6378 IN const TTCHAR* szLocalFilePath);
6379
6411 TEAMTALKDLL_API INT32 TT_DoRecvFile(IN TTInstance* lpTTInstance,
6412 IN INT32 nChannelID,
6413 IN INT32 nFileID,
6414 IN const TTCHAR* szLocalFilePath);
6415
6440 TEAMTALKDLL_API INT32 TT_DoDeleteFile(IN TTInstance* lpTTInstance,
6441 IN INT32 nChannelID,
6442 IN INT32 nFileID);
6443
6460 TEAMTALKDLL_API INT32 TT_DoSubscribe(IN TTInstance* lpTTInstance,
6461 IN INT32 nUserID,
6462 IN Subscriptions uSubscriptions);
6463
6481 TEAMTALKDLL_API INT32 TT_DoUnsubscribe(IN TTInstance* lpTTInstance,
6482 IN INT32 nUserID,
6483 IN Subscriptions uSubscriptions);
6484
6512 TEAMTALKDLL_API INT32 TT_DoMakeChannel(IN TTInstance* lpTTInstance,
6513 IN const Channel* lpChannel);
6514
6549 TEAMTALKDLL_API INT32 TT_DoUpdateChannel(IN TTInstance* lpTTInstance,
6550 IN const Channel* lpChannel);
6551
6573 TEAMTALKDLL_API INT32 TT_DoRemoveChannel(IN TTInstance* lpTTInstance,
6574 IN INT32 nChannelID);
6575
6597 TEAMTALKDLL_API INT32 TT_DoMoveUser(IN TTInstance* lpTTInstance,
6598 IN INT32 nUserID,
6599 IN INT32 nChannelID);
6600
6619 TEAMTALKDLL_API INT32 TT_DoUpdateServer(IN TTInstance* lpTTInstance,
6620 IN const ServerProperties* lpServerProperties);
6621
6647 TEAMTALKDLL_API INT32 TT_DoListUserAccounts(IN TTInstance* lpTTInstance,
6648 IN INT32 nIndex,
6649 IN INT32 nCount);
6650
6675 TEAMTALKDLL_API INT32 TT_DoNewUserAccount(IN TTInstance* lpTTInstance,
6676 IN const UserAccount* lpUserAccount);
6677
6698 TEAMTALKDLL_API INT32 TT_DoDeleteUserAccount(IN TTInstance* lpTTInstance,
6699 IN const TTCHAR* szUsername);
6700
6729 TEAMTALKDLL_API INT32 TT_DoBanUser(IN TTInstance* lpTTInstance,
6730 IN INT32 nUserID,
6731 IN INT32 nChannelID);
6732
6744 TEAMTALKDLL_API INT32 TT_DoBanUserEx(IN TTInstance* lpTTInstance,
6745 IN INT32 nUserID,
6746 IN BanTypes uBanTypes);
6747
6766 TEAMTALKDLL_API INT32 TT_DoBan(IN TTInstance* lpTTInstance,
6767 IN const BannedUser* lpBannedUser);
6768
6791 TEAMTALKDLL_API INT32 TT_DoBanIPAddress(IN TTInstance* lpTTInstance,
6792 IN const TTCHAR* szIPAddress,
6793 IN INT32 nChannelID);
6794
6818 TEAMTALKDLL_API INT32 TT_DoUnBanUser(IN TTInstance* lpTTInstance,
6819 IN const TTCHAR* szIPAddress,
6820 IN INT32 nChannelID);
6830 TEAMTALKDLL_API INT32 TT_DoUnBanUserEx(IN TTInstance* lpTTInstance,
6831 IN const BannedUser* lpBannedUser);
6832
6855 TEAMTALKDLL_API INT32 TT_DoListBans(IN TTInstance* lpTTInstance,
6856 IN INT32 nChannelID,
6857 IN INT32 nIndex,
6858 IN INT32 nCount);
6859
6879 TEAMTALKDLL_API INT32 TT_DoSaveConfig(IN TTInstance* lpTTInstance);
6880
6899 TEAMTALKDLL_API INT32 TT_DoQueryServerStats(IN TTInstance* lpTTInstance);
6900
6913 TEAMTALKDLL_API INT32 TT_DoQuit(IN TTInstance* lpTTInstance);
6926 TEAMTALKDLL_API TTBOOL TT_GetServerProperties(IN TTInstance* lpTTInstance,
6927 OUT ServerProperties* lpServerProperties);
6928
6944 TEAMTALKDLL_API TTBOOL TT_GetServerUsers(IN TTInstance* lpTTInstance,
6945 IN OUT User* lpUsers,
6946 IN OUT INT32* lpnHowMany);
6961 TEAMTALKDLL_API INT32 TT_GetRootChannelID(IN TTInstance* lpTTInstance);
6962
6971 TEAMTALKDLL_API INT32 TT_GetMyChannelID(IN TTInstance* lpTTInstance);
6972
6982 TEAMTALKDLL_API TTBOOL TT_GetChannel(IN TTInstance* lpTTInstance,
6983 IN INT32 nChannelID,
6984 OUT Channel* lpChannel );
6985
6994 TEAMTALKDLL_API TTBOOL TT_GetChannelPath(IN TTInstance* lpTTInstance,
6995 IN INT32 nChannelID,
6996 OUT TTCHAR szChannelPath[TT_STRLEN]);
6997
7006 TEAMTALKDLL_API INT32 TT_GetChannelIDFromPath(IN TTInstance* lpTTInstance,
7007 IN const TTCHAR* szChannelPath);
7008
7022 TEAMTALKDLL_API TTBOOL TT_GetChannelUsers(IN TTInstance* lpTTInstance,
7023 IN INT32 nChannelID,
7024 IN OUT User* lpUsers,
7025 IN OUT INT32* lpnHowMany);
7026
7042 TEAMTALKDLL_API TTBOOL TT_GetChannelFiles(IN TTInstance* lpTTInstance,
7043 IN INT32 nChannelID,
7044 IN OUT RemoteFile* lpRemoteFiles,
7045 IN OUT INT32* lpnHowMany);
7046
7056 TEAMTALKDLL_API TTBOOL TT_GetChannelFile(IN TTInstance* lpTTInstance,
7057 IN INT32 nChannelID,
7058 IN INT32 nFileID,
7059 OUT RemoteFile* lpRemoteFile);
7060
7069 TEAMTALKDLL_API TTBOOL TT_IsChannelOperator(IN TTInstance* lpTTInstance,
7070 IN INT32 nUserID,
7071 IN INT32 nChannelID);
7072
7079 TEAMTALKDLL_API TTBOOL TT_GetServerChannels(IN TTInstance* lpTTInstance,
7080 IN OUT Channel* lpChannels,
7081 IN OUT INT32* lpnHowMany);
7097 TEAMTALKDLL_API INT32 TT_GetMyUserID(IN TTInstance* lpTTInstance);
7098
7111 TEAMTALKDLL_API TTBOOL TT_GetMyUserAccount(IN TTInstance* lpTTInstance,
7112 OUT UserAccount* lpUserAccount);
7113
7126 TEAMTALKDLL_API UserTypes TT_GetMyUserType(IN TTInstance* lpTTInstance);
7127
7134 TEAMTALKDLL_API UserRights TT_GetMyUserRights(IN TTInstance* lpTTInstance);
7135
7147 TEAMTALKDLL_API INT32 TT_GetMyUserData(IN TTInstance* lpTTInstance);
7148
7157 TEAMTALKDLL_API TTBOOL TT_GetUser(IN TTInstance* lpTTInstance,
7158 IN INT32 nUserID, OUT User* lpUser);
7159
7167 TEAMTALKDLL_API TTBOOL TT_GetUserStatistics(IN TTInstance* lpTTInstance,
7168 IN INT32 nUserID,
7169 OUT UserStatistics* lpUserStatistics);
7180 TEAMTALKDLL_API TTBOOL TT_GetUserByUsername(IN TTInstance* lpTTInstance,
7181 IN const TTCHAR* szUsername,
7182 OUT User* lpUser);
7201 TEAMTALKDLL_API TTBOOL TT_SetUserVolume(IN TTInstance* lpTTInstance,
7202 IN INT32 nUserID,
7203 IN StreamType nStreamType,
7204 IN INT32 nVolume);
7205
7219 TEAMTALKDLL_API TTBOOL TT_SetUserMute(IN TTInstance* lpTTInstance,
7220 IN INT32 nUserID,
7221 IN StreamType nStreamType,
7222 IN TTBOOL bMute);
7223
7234 TEAMTALKDLL_API TTBOOL TT_SetUserStoppedPlaybackDelay(IN TTInstance* lpTTInstance,
7235 IN INT32 nUserID,
7236 IN StreamType nStreamType,
7237 IN INT32 nDelayMSec);
7238
7264 TEAMTALKDLL_API TTBOOL TT_SetUserJitterControl(IN TTInstance* lpTTInstance,
7265 IN INT32 nUserID,
7266 IN StreamType nStreamType,
7267 IN const JitterConfig* lpJitterConfig);
7268
7280 TEAMTALKDLL_API TTBOOL TT_GetUserJitterControl(IN TTInstance* lpTTInstance,
7281 IN INT32 nUserID,
7282 IN StreamType nStreamType,
7283 IN JitterConfig* lpJitterConfig);
7284
7302 TEAMTALKDLL_API TTBOOL TT_SetUserPosition(IN TTInstance* lpTTInstance,
7303 IN INT32 nUserID,
7304 IN StreamType nStreamType,
7305 IN float x,
7306 IN float y,
7307 IN float z);
7308
7321 TEAMTALKDLL_API TTBOOL TT_SetUserStereo(IN TTInstance* lpTTInstance,
7322 IN INT32 nUserID,
7323 IN StreamType nStreamType,
7324 IN TTBOOL bLeftSpeaker,
7325 IN TTBOOL bRightSpeaker);
7326
7363 TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDir(IN TTInstance* lpTTInstance,
7364 IN INT32 nUserID,
7365 IN const TTCHAR* szFolderPath,
7366 IN const TTCHAR* szFileNameVars,
7367 IN AudioFileFormat uAFF);
7368
7393 TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDirEx(IN TTInstance* lpTTInstance,
7394 IN INT32 nUserID,
7395 IN const TTCHAR* szFolderPath,
7396 IN const TTCHAR* szFileNameVars,
7397 IN AudioFileFormat uAFF,
7398 IN INT32 nStopRecordingExtraDelayMSec);
7399
7426 TEAMTALKDLL_API TTBOOL TT_SetUserAudioStreamBufferSize(IN TTInstance* lpTTInstance,
7427 IN INT32 nUserID,
7428 IN StreamTypes uStreamType,
7429 IN INT32 nMSec);
7430
7454 TEAMTALKDLL_API AudioBlock* TT_AcquireUserAudioBlock(IN TTInstance* lpTTInstance,
7455 IN StreamTypes uStreamTypes,
7456 IN INT32 nUserID);
7457
7471 TEAMTALKDLL_API TTBOOL TT_ReleaseUserAudioBlock(IN TTInstance* lpTTInstance,
7472 IN AudioBlock* lpAudioBlock);
7473
7489 TEAMTALKDLL_API TTBOOL TT_GetFileTransferInfo(IN TTInstance* lpTTInstance,
7490 IN INT32 nTransferID,
7491 OUT FileTransfer* lpFileTransfer);
7492
7503 TEAMTALKDLL_API TTBOOL TT_CancelFileTransfer(IN TTInstance* lpTTInstance,
7504 IN INT32 nTransferID);
7505
7516 TEAMTALKDLL_API void TT_GetErrorMessage(IN INT32 nError,
7517 OUT TTCHAR szErrorMsg[TT_STRLEN]);
7518
7519
7526 typedef enum TTKeyTranslate
7527 {
7529 TTKEY_NO_TRANSLATE = 0,
7533 TTKEY_WINKEYCODE_TO_TTKEYCODE = 1,
7535 TTKEY_TTKEYCODE_TO_WINKEYCODE = 2,
7539 TTKEY_MACKEYCODE_TO_TTKEYCODE = 3,
7542 TTKEY_TTKEYCODE_TO_MACKEYCODE = 4
7543 } TTKeyTranslate;
7544
7566 TEAMTALKDLL_API INT32 TT_DesktopInput_KeyTranslate(TTKeyTranslate nTranslate,
7567 IN const DesktopInput* lpDesktopInputs,
7568 OUT DesktopInput* lpTranslatedDesktopInputs,
7569 IN INT32 nDesktopInputCount);
7570
7592 TEAMTALKDLL_API INT32 TT_DesktopInput_Execute(IN const DesktopInput* lpDesktopInputs,
7593 IN INT32 nDesktopInputCount);
7594
7597 #if defined(WIN32)
7598
7630 TEAMTALKDLL_API TTBOOL TT_HotKey_Register(IN TTInstance* lpTTInstance,
7631 IN INT32 nHotKeyID,
7632 IN const INT32* lpnVKCodes,
7633 IN INT32 nVKCodeCount);
7634
7642 TEAMTALKDLL_API TTBOOL TT_HotKey_Unregister(IN TTInstance* lpTTInstance,
7643 IN INT32 nHotKeyID);
7644
7652 TEAMTALKDLL_API INT32 TT_HotKey_IsActive(IN TTInstance* lpTTInstance,
7653 IN INT32 nHotKeyID);
7654
7669 TEAMTALKDLL_API TTBOOL TT_HotKey_InstallTestHook(IN TTInstance* lpTTInstance,
7670 IN HWND hWnd, UINT32 uMsg);
7671
7679 TEAMTALKDLL_API TTBOOL TT_HotKey_RemoveTestHook(IN TTInstance* lpTTInstance);
7680
7689 TEAMTALKDLL_API TTBOOL TT_HotKey_GetKeyString(IN TTInstance* lpTTInstance,
7690 IN INT32 nVKCode,
7691 OUT TTCHAR szKeyName[TT_STRLEN]);
7693 #endif
7694
7695 /* Get the 'sizeof' of a structure used by TeamTalk. Useful to ensuring
7696 * binary compatibility when integrating with other programming
7697 * languages. */
7698 TEAMTALKDLL_API INT32 TT_DBG_SIZEOF(IN TTType nType);
7699
7700 TEAMTALKDLL_API VOID* TT_DBG_GETDATAPTR(IN TTMessage* pMsg);
7701
7702 TEAMTALKDLL_API TTBOOL TT_DBG_SetSoundInputTone(IN TTInstance* lpTTInstance,
7703 IN StreamTypes uStreamTypes,
7704 IN INT32 nFrequency);
7705
7706 TEAMTALKDLL_API TTBOOL TT_DBG_WriteAudioFileTone(IN const MediaFileInfo* lpMediaFileInfo,
7707 IN INT32 nFrequency);
7708
7709 #if defined(WIN32) /* Exclude mixer and firewall functions from
7710 * non-Windows platforms */
7711
7731 typedef enum MixerControl
7732 {
7733 WAVEOUT_MASTER,
7734 WAVEOUT_WAVE,
7735 WAVEOUT_MICROPHONE,
7736
7737 WAVEIN_MICROPHONE,
7738 WAVEIN_LINEIN,
7739 WAVEIN_WAVEOUT,
7740 } MixerControl;
7741
7748 TEAMTALKDLL_API INT32 TT_Mixer_GetMixerCount(void);
7749
7756 TEAMTALKDLL_API TTBOOL TT_Mixer_GetMixerName(IN INT32 nMixerIndex,
7757 OUT TTCHAR szMixerName[TT_STRLEN]);
7758
7766 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInName(IN INT32 nWaveDeviceID,
7767 OUT TTCHAR szMixerName[TT_STRLEN]);
7768
7776 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveOutName(IN INT32 nWaveDeviceID,
7777 OUT TTCHAR szMixerName[TT_STRLEN]);
7778
7789 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveOutMute(IN INT32 nWaveDeviceID,
7790 IN MixerControl nControl,
7791 IN TTBOOL bMute);
7792
7802 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutMute(IN INT32 nWaveDeviceID,
7803 IN MixerControl nControl);
7804
7813 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveOutVolume(IN INT32 nWaveDeviceID,
7814 IN MixerControl nControl,
7815 IN INT32 nVolume);
7816
7825 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutVolume(IN INT32 nWaveDeviceID,
7826 IN MixerControl nControl);
7827
7835 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInSelected(IN INT32 nWaveDeviceID,
7836 IN MixerControl nControl);
7837
7846 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInSelected(IN INT32 nWaveDeviceID,
7847 IN MixerControl nControl);
7848
7857 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInVolume(IN INT32 nWaveDeviceID,
7858 IN MixerControl nControl,
7859 IN INT32 nVolume);
7860
7869 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInVolume(IN INT32 nWaveDeviceID,
7870 IN MixerControl nControl);
7871
7878 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInBoost(IN INT32 nWaveDeviceID,
7879 IN TTBOOL bEnable);
7886 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInBoost(IN INT32 nWaveDeviceID);
7887
7894 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInMute(IN INT32 nWaveDeviceID,
7895 IN TTBOOL bEnable);
7896
7903 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInMute(IN INT32 nWaveDeviceID);
7904
7914 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInControlCount(IN INT32 nWaveDeviceID);
7915
7926 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInControlName(IN INT32 nWaveDeviceID,
7927 IN INT32 nControlIndex,
7928 OUT TTCHAR szDeviceName[TT_STRLEN]);
7929
7939 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInControlSelected(IN INT32 nWaveDeviceID,
7940 IN INT32 nControlIndex);
7941
7952 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInControlSelected(IN INT32 nWaveDeviceID,
7953 IN INT32 nControlIndex);
7964 TEAMTALKDLL_API TTBOOL TT_Firewall_IsEnabled(void);
7965
7975 TEAMTALKDLL_API TTBOOL TT_Firewall_Enable(IN TTBOOL bEnable);
7976
7983 TEAMTALKDLL_API TTBOOL TT_Firewall_AppExceptionExists(IN const TTCHAR* szExecutable);
7984
7994 TEAMTALKDLL_API TTBOOL TT_Firewall_AddAppException(IN const TTCHAR* szName,
7995 IN const TTCHAR* szExecutable);
7996
8006 TEAMTALKDLL_API TTBOOL TT_Firewall_RemoveAppException(IN const TTCHAR* szExecutable);
8009 #endif
8011 #ifdef __cplusplus
8012 }
8013 #endif
8014
8015 #endif
WAVEOUT_MICROPHONE
Definition: TeamTalk.h:7735
VideoFrame
struct VideoFrame VideoFrame
A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer.
TT_DoLogout
TEAMTALKDLL_API INT32 TT_DoLogout(IN TTInstance *lpTTInstance)
Logout of the server.
AudioPreprocessor
struct AudioPreprocessor AudioPreprocessor
Configure the audio preprocessor specified by nPreprocessor.
CHANNEL_DEFAULT
A default channel is a channel which disappears after the last user leaves the channel.
Definition: TeamTalk.h:2425
USERRIGHT_TEXTMESSAGE_BROADCAST
User can broadcast text message of type MSGTYPE_BROADCAST to all users.
Definition: TeamTalk.h:1644
SERVERLOGEVENT_FILE_UPLOADED
User uploaded a file is logged to file by the server.
Definition: TeamTalk.h:1760
SUBSCRIBE_INTERCEPT_VIDEOCAPTURE
Intercept all video sent by a user. Only user-type USERTYPE_ADMIN can do this. By enabling this subsc...
Definition: TeamTalk.h:2127
DesktopInput::uMousePosY
UINT16 uMousePosY
The Y coordinate of the mouse. If used with TT_DesktopInput_Execute() and the mouse position should b...
Definition: TeamTalk.h:1028
TT_EnableVoiceTransmission
TEAMTALKDLL_API TTBOOL TT_EnableVoiceTransmission(IN TTInstance *lpTTInstance, IN TTBOOL bEnable)
Start/stop transmitting of voice data from sound input.
AbusePrevention
Properties to prevent server abuse.
Definition: TeamTalk.h:1992
BMP_NONE
Used to denote nothing selected.
Definition: TeamTalk.h:932
SERVERLOGEVENT_USER_CONNECTED
User&#39;s IP-address is logged to file by serer.
Definition: TeamTalk.h:1720
SOUNDDEVICEFEATURE_DEFAULTCOMDEVICE
The SoundDevice is the default communication device. This feature is only supported on SOUNDSYSTEM_WA...
Definition: TeamTalk.h:381
__MEDIAFILEINFO
Definition: TeamTalk.h:3777
ClientStatistics::nTcpServerSilenceSec
INT32 nTcpServerSilenceSec
The number of seconds nothing has been received by the client on TCP.
Definition: TeamTalk.h:2783
TT_AcquireUserDesktopWindowEx
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 for...
TTMessage::uReserved
UINT32 uReserved
Reserved. To preserve alignment.
Definition: TeamTalk.h:3815
User
struct User User
A struct containing the properties of a user.
TT_Mixer_GetWaveInControlCount
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInControlCount(IN INT32 nWaveDeviceID)
Get the number of Windows Mixer Wave-In devices.
SpeexVBRCodec::nBandmode
INT32 nBandmode
Set to 0 for 8 KHz (narrow band), set to 1 for 16 KHz (wide band), set to 2 for 32 KHz (ultra-wide ba...
Definition: TeamTalk.h:1085
CMDERR_CHANNEL_NOT_FOUND
Channel does not exist.
Definition: TeamTalk.h:3013
TT_StartStreamingMediaFileToChannel
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.
TT_GetSoundInputPreprocessEx
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...
OpusCodec::nFrameSizeMSec
INT32 nFrameSizeMSec
OPUS supports 2.5, 5, 10, 20, 40, 60, 80, 100 and 120 msec. If nFrameSizeMSec is 0 then nFrameSizeMSe...
Definition: TeamTalk.h:1182
TT_StartSoundLoopbackTestEx
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...
INTERR_SNDINPUT_FAILURE
A sound input device failed.
Definition: TeamTalk.h:3087
FileTransfer::nChannelID
INT32 nChannelID
The channel where the file is/will be located.
Definition: TeamTalk.h:2602
ServerProperties::nMaxDesktopTxPerSecond
INT32 nMaxDesktopTxPerSecond
The maximum number of bytes per second which the server will allow for desktop packets. If this value is exceeded the server will start dropping desktop packets. 0 = disabled.
Definition: TeamTalk.h:1827
USERRIGHT_RECORD_VOICE
User can record voice in all channels. Even channels with CHANNEL_NO_RECORDING.
Definition: TeamTalk.h:1697
UserStatistics::nVoicePacketsLost
INT64 nVoicePacketsLost
Number of voice packets lost from user.
Definition: TeamTalk.h:2331
User::uUserType
UserTypes uUserType
The uUserType of the user&#39;s UserAccount. This property is set by the server and will not change after...
Definition: TeamTalk.h:2216
CLIENTEVENT_USER_STATECHANGE
A user state has changed.
Definition: TeamTalk.h:3464
SoundDevice::nWaveDeviceID
INT32 nWaveDeviceID
A Windows specific ID to the sound device.
Definition: TeamTalk.h:433
__ENCRYPTIONCONTEXT
Definition: TeamTalk.h:3793
SERVERLOGEVENT_USER_TEXTMESSAGE_CUSTOM
User&#39;s custom text messages are logged to file by the server.
Definition: TeamTalk.h:1748
DESKTOPPROTOCOL_ZLIB_1
Desktop protocol based on ZLIB for image compression and UDP for data transmission.
Definition: TeamTalk.h:960
CHANNEL_SOLO_TRANSMIT
Only one user can transmit at a time.
Definition: TeamTalk.h:2430
CLIENTEVENT_CMD_BANNEDUSER
A banned user has been received from the server.
Definition: TeamTalk.h:3443
ServerProperties::nUserTimeout
INT32 nUserTimeout
The number of seconds before a user who hasn&#39;t responded to keepalives will be kicked off the server...
Definition: TeamTalk.h:1840
SpeexDSP::nMaxNoiseSuppressDB
INT32 nMaxNoiseSuppressDB
Maximum attenuation of the noise in dB. Negative value! Default value is -30. Value is ignored if bEn...
Definition: TeamTalk.h:1259
Subscriptions
UINT32 Subscriptions
A bitmask based on Subscription describing which subscriptions are enabled.
Definition: TeamTalk.h:2145
JitterConfig::nMaxAdaptiveDelayMSec
INT32 nMaxAdaptiveDelayMSec
A hard maximum delay on the adaptive delay. Only valid when higher than zero. Default = 0...
Definition: TeamTalk.h:2814
__BANNEDUSER
Definition: TeamTalk.h:3752
TT_GetMyUserData
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...
UserStatistics::nMediaFileVideoFramesLost
INT64 nMediaFileVideoFramesLost
Media file video frames which couldn&#39;t be shown because packets were lost.
Definition: TeamTalk.h:2354
WebMVP8Codec
WebM video codec settings.
Definition: TeamTalk.h:1440
TT_MacOS_GetWindow
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...
FileTransfer::bInbound
TTBOOL bInbound
TRUE if download and FALSE if upload.
Definition: TeamTalk.h:2612
User::nBufferMSecVoice
INT32 nBufferMSecVoice
The size of the buffer (in msec) to hold voice content.
Definition: TeamTalk.h:2307
TT_StartStreamingMediaFileToChannelEx
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.
VideoFormat::nHeight
INT32 nHeight
The height in pixels of the video device supported video format.
Definition: TeamTalk.h:841
SUBSCRIBE_INTERCEPT_CUSTOM_MSG
Intercept all custom text messages sent by user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2117
MediaFilePlayback::uOffsetMSec
UINT32 uOffsetMSec
Offset in milliseconds in the media file where to start playback. Pass TT_MEDIAPLAYBACK_OFFSET_IGNORE...
Definition: TeamTalk.h:1588
User::nBufferMSecMediaFile
INT32 nBufferMSecMediaFile
The size of the buffer (in msec) to hold media file content.
Definition: TeamTalk.h:2311
BANTYPE_USERNAME
Ban szUsername specified in BannedUser.
Definition: TeamTalk.h:1938
__SPEEXCODEC
Definition: TeamTalk.h:3763
TT_CloseTeamTalk
TEAMTALKDLL_API TTBOOL TT_CloseTeamTalk(IN TTInstance *lpTTInstance)
Close the TeamTalk client instance and release its resources.
__STREAMTYPE
Definition: TeamTalk.h:3783
RemoteFile::nFileID
INT32 nFileID
The ID identifying the file.
Definition: TeamTalk.h:2624
SERVERLOGEVENT_USER_KICKED
User was kicked is logged to file by the server.
Definition: TeamTalk.h:1732
BanTypes
UINT32 BanTypes
A mask of types of bans that apply.
Definition: TeamTalk.h:1942
CLIENTEVENT_USER_AUDIOBLOCK
A new audio block can be extracted.
Definition: TeamTalk.h:3575
TT_DoMakeChannel
TEAMTALKDLL_API INT32 TT_DoMakeChannel(IN TTInstance *lpTTInstance, IN const Channel *lpChannel)
Make a new channel on the server.
TT_Mixer_GetMixerName
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.
CLIENT_SNDINPUT_VOICEACTIVE
If set GetSoundInputLevel() is higher than the voice activation level. To enable voice transmission i...
Definition: TeamTalk.h:3911
USERRIGHT_TRANSMIT_DESKTOP
User is allowed to forward desktop packets through server.
Definition: TeamTalk.h:1672
TT_GetFlags
TEAMTALKDLL_API ClientFlags TT_GetFlags(IN TTInstance *lpTTInstance)
Get a bitmask describing the client&#39;s current state.
ClientKeepAlive::nUdpKeepAliveRTXMSec
INT32 nUdpKeepAliveRTXMSec
Client instance&#39;s interval for retransmitting UDP keep alive packets. If server hasn&#39;t responded to U...
Definition: TeamTalk.h:2725
SERVERLOGEVENT_USER_LOGGEDOUT
User logged out is logged to file by the server.
Definition: TeamTalk.h:1726
SoundDeviceEffects
Set up audio effects supported by the sound device.
Definition: TeamTalk.h:467
CLIENTEVENT_USER_FIRSTVOICESTREAMPACKET
The first voice packet of a new voice stream has been received.
Definition: TeamTalk.h:3744
TT_DBG_SIZEOF
TEAMTALKDLL_API INT32 TT_DBG_SIZEOF(IN TTType nType)
SERVERLOGEVENT_FILE_DELETED
User deleted a file is logged to file by the server.
Definition: TeamTalk.h:1764
__JITTERCONFIG
Definition: TeamTalk.h:3791
CMDERR_ALREADY_IN_CHANNEL
Cannot join same channel twice.
Definition: TeamTalk.h:2991
MFS_PAUSED
Paused processing of media file.
Definition: TeamTalk.h:748
TT_SetLicenseInformation
TEAMTALKDLL_API TTBOOL TT_SetLicenseInformation(IN const TTCHAR szRegName[TT_STRLEN], IN const TTCHAR szRegKey[TT_STRLEN])
Set license information to disable trial mode.
CLIENT_SNDINPUT_VOICEACTIVATED
If set the client instance will start transmitting audio if the sound level is above the voice activa...
Definition: TeamTalk.h:3904
CLIENTEVENT_CMD_USER_UPDATE
User changed properties.
Definition: TeamTalk.h:3321
ShareWindow
struct ShareWindow ShareWindow
A struct which describes the properties of a window which can be shared.
USERRIGHT_TRANSMIT_DESKTOPINPUT
User is allowed to forward desktop input packets through server.
Definition: TeamTalk.h:1675
CMDERR_USER_NOT_FOUND
User not found.
Definition: TeamTalk.h:3024
AudioCodec::opus
OpusCodec opus
Opus codec settings if nCodec is OPUS_CODEC.
Definition: TeamTalk.h:1509
TT_SetSoundInputPreprocessEx
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 devic...
VideoFormat
A struct containing the properties of a video capture format.
Definition: TeamTalk.h:834
TT_PaintVideoFrame
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&#39;s video frame using a Windows&#39; DC (device context).
ClientStatistics::nDesktopBytesRecv
INT64 nDesktopBytesRecv
Desktop data received (on UDP).
Definition: TeamTalk.h:2772
SpeexCodec
struct SpeexCodec SpeexCodec
Speex audio codec settings for Constant Bitrate mode (CBR).
TT_HotKey_RemoveTestHook
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...
TT_StartRecordingMuxedAudioFile
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. ...
CMDERR_UNKNOWN_AUDIOCODEC
The server does not support the audio codec specified by the client. Introduced in version 4...
Definition: TeamTalk.h:2858
STREAMTYPE_DESKTOP
Desktop window stream type which is a window (or bitmap) being transmitted.
Definition: TeamTalk.h:239
TT_Mixer_GetWaveInBoost
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInBoost(IN INT32 nWaveDeviceID)
See if microphone boost is enabled.
AudioBlock
struct AudioBlock AudioBlock
An audio block containing the raw audio from a user who was talking.
AudioBlock::nSampleRate
INT32 nSampleRate
The sample rate of the raw audio.
Definition: TeamTalk.h:664
Subscription
Subscription
A user by default accepts audio, video and text messages from all users. Using subscribtions can...
Definition: TeamTalk.h:2079
TT_GetDefaultSoundDevices
TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevices(OUT INT32 *lpnInputDeviceID, OUT INT32 *lpnOutputDeviceID)
Get the default sound devices.
SUBSCRIBE_MEDIAFILE
Subscribing to STREAMTYPE_MEDIAFILE_VIDEO and STREAMTYPE_MEDIAFILE_AUDIO.
Definition: TeamTalk.h:2107
CLIENT_STREAM_VIDEO
If set the client is currently streaming the video of a media file. When streaming a video file the C...
Definition: TeamTalk.h:3971
TT_Mixer_GetWaveInVolume
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInVolume(IN INT32 nWaveDeviceID, IN MixerControl nControl)
Get the volume of a Windows Mixer Wave-In device from the &#39;enum&#39; of devices.
TT_SendDesktopInput
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.
TT_DoDeleteUserAccount
TEAMTALKDLL_API INT32 TT_DoDeleteUserAccount(IN TTInstance *lpTTInstance, IN const TTCHAR *szUsername)
Issue command to delete a user account on the server.
TextMessage::bMore
TTBOOL bMore
Whether this text message is to be merged with next text message.
Definition: TeamTalk.h:2412
ServerProperties::nMaxUsers
INT32 nMaxUsers
The maximum number of users allowed on the server. A user with admin account can ignore this...
Definition: TeamTalk.h:1804
ClientStatistics::nUdpBytesSent
INT64 nUdpBytesSent
Bytes sent on UDP.
Definition: TeamTalk.h:2750
TT_GetChannelFiles
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.
SERVERLOGEVENT_FILE_DOWNLOADED
User downloaded a file is logged to file by the server.
Definition: TeamTalk.h:1762
AudioPreprocessor::webrtc
WebRTCAudioPreprocessor webrtc
Used when nPreprocessor is WEBRTC_AUDIOPREPROCESSOR.
Definition: TeamTalk.h:1432
SOUND_VOLUME_MAX
The maximum volume.
Definition: TeamTalk.h:598
__USER
Definition: TeamTalk.h:3767
CLIENTEVENT_CMD_SERVERSTATISTICS
Server statistics available.
Definition: TeamTalk.h:3402
CLIENTEVENT_USER_DESKTOPINPUT
Desktop input (mouse or keyboard input) has been received from a user.
Definition: TeamTalk.h:3544
ClientStatistics::nMediaFileAudioBytesRecv
INT64 nMediaFileAudioBytesRecv
Audio from media file data received (on UDP).
Definition: TeamTalk.h:2764
AudioConfig
Audio configuration for clients in a channel.
Definition: TeamTalk.h:1526
ServerProperties::nTcpPort
INT32 nTcpPort
The server&#39;s TCP port.
Definition: TeamTalk.h:1835
Channel::nParentID
INT32 nParentID
Parent channel ID. 0 means no parent channel, i.e. it&#39;s the root channel.
Definition: TeamTalk.h:2475
BMP_RGB16_555
The bitmap is a 16-bit colored bitmap. The maximum pixels.
Definition: TeamTalk.h:941
ServerLogEvent
ServerLogEvent
Events that are logged by the server, i.e. written to server&#39;s log file.
Definition: TeamTalk.h:1715
ShareWindow::nWindowY
INT32 nWindowY
Y coordinate of window.
Definition: TeamTalk.h:5666
SoundDevice::nMaxInputChannels
INT32 nMaxInputChannels
The maximum number of input channels.
Definition: TeamTalk.h:438
ClientErrorMsg
struct ClientErrorMsg ClientErrorMsg
Struct containing an error message.
TT_DoUpdateServer
TEAMTALKDLL_API INT32 TT_DoUpdateServer(IN TTInstance *lpTTInstance, IN const ServerProperties *lpServerProperties)
Update server properties.
CLIENTEVENT_CON_MAX_PAYLOAD_UPDATED
The maximum size of the payload put into UDP packets has been updated.
Definition: TeamTalk.h:3201
TT_EnableAudioBlockEventEx
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 a...
TT_Firewall_AppExceptionExists
TEAMTALKDLL_API TTBOOL TT_Firewall_AppExceptionExists(IN const TTCHAR *szExecutable)
Check if an executable is already in the Windows Firewall exception list.
VideoFormat::nFPS_Numerator
INT32 nFPS_Numerator
The numerator of the video capture device&#39;s video format. Divinding nFPS_Numerator with nFPS_Denomina...
Definition: TeamTalk.h:845
TT_DoChannelOp
TEAMTALKDLL_API INT32 TT_DoChannelOp(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID, IN TTBOOL bMakeOperator)
Make another user operator of a channel.
CLIENTEVENT_HOTKEY_TEST
A button was pressed or released on the user&#39;s keyboard or mouse.
Definition: TeamTalk.h:3637
TT_Firewall_Enable
TEAMTALKDLL_API TTBOOL TT_Firewall_Enable(IN TTBOOL bEnable)
Enable/disable the Windows Firewall.
TT_Firewall_AddAppException
TEAMTALKDLL_API TTBOOL TT_Firewall_AddAppException(IN const TTCHAR *szName, IN const TTCHAR *szExecutable)
Add an application to the Windows Firewall exception list.
TTKEY_TTKEYCODE_TO_MACKEYCODE
Translate from TTKEYCODE to Mac OS X Carbon kVK_* key-code.
Definition: TeamTalk.h:7542
MixerControl
MixerControl
The Windows mixer controls which can be queried by the TT_Mixer_* functions.
Definition: TeamTalk.h:7731
WebRTCAudioPreprocessor::nLevel
INT32 nLevel
Noise suppression level. 0 = Low, 1 = Moderate, 2 = High, 3 = VeryHigh. Default: 1.
Definition: TeamTalk.h:1341
SERVERLOGEVENT_CHANNEL_UPDATED
User updated a channel is logged to file by the server.
Definition: TeamTalk.h:1756
TT_GetMyUserRights
TEAMTALKDLL_API UserRights TT_GetMyUserRights(IN TTInstance *lpTTInstance)
Convenience method for TT_GetMyUserAccount()
TT_GetChannelIDFromPath
TEAMTALKDLL_API INT32 TT_GetChannelIDFromPath(IN TTInstance *lpTTInstance, IN const TTCHAR *szChannelPath)
Get the channel ID of the supplied path. Channels are separated by &#39;/&#39;.
SUBSCRIBE_INTERCEPT_VOICE
Intercept all voice sent by a user. Only user-type USERTYPE_ADMIN can do this. By enabling this subsc...
Definition: TeamTalk.h:2122
USERRIGHT_MULTI_LOGIN
Allow multiple users to log on to the server with the same UserAccount.
Definition: TeamTalk.h:1631
FileTransfer
struct FileTransfer FileTransfer
A struct containing the properties of a file transfer.
SpeexDSP
struct SpeexDSP SpeexDSP
Speex DSP is used for specifying how recorded audio from a sound input device should be preprocessed ...
WEBRTC_AUDIOPREPROCESSOR
Use WebRTC&#39;s audio preprocessor from WebRTCAudioPreprocessor. https://webrtc.org. ...
Definition: TeamTalk.h:1417
SpeexVBRCodec
struct SpeexVBRCodec SpeexVBRCodec
Speex audio codec settings for Variable Bitrate mode (VBR).
TT_HotKey_IsActive
TEAMTALKDLL_API INT32 TT_HotKey_IsActive(IN TTInstance *lpTTInstance, IN INT32 nHotKeyID)
Check whether hotkey is active.
CMDERR_OPENFILE_FAILED
Server failed to open file.
Definition: TeamTalk.h:3039
SUBSCRIBE_CUSTOM_MSG
Subscribing to custom user messages.
Definition: TeamTalk.h:2094
AudioBlock::lpRawAudio
VOID * lpRawAudio
The raw audio in 16-bit integer format array. The size of the array in bytes is sizeof(short) * nSamp...
Definition: TeamTalk.h:670
TT_Windows_GetDesktopHWND
TEAMTALKDLL_API HWND TT_Windows_GetDesktopHWND(void)
Get the handle (HWND) of the Windows desktop (full desktop).
TT_Mixer_GetWaveOutMute
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 &#39;enum&#39; of devices. ...
__AUDIOFORMAT
Definition: TeamTalk.h:3776
BMP_RGB24
The bitmap is a 24-bit colored bitmap. The maximum size of a 24-bit bitmap is 4095 blocks of 85 by 16...
Definition: TeamTalk.h:945
TT_DoLogin
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 compatibili...
SOUNDDEVICEFEATURE_3DPOSITION
The SoundDevice can position user in 3D.
Definition: TeamTalk.h:375
TT_CloseSoundDuplexDevices
TEAMTALKDLL_API TTBOOL TT_CloseSoundDuplexDevices(IN TTInstance *lpTTInstance)
Shut down sound devices running in duplex mode.
TT_GetErrorMessage
TEAMTALKDLL_API void TT_GetErrorMessage(IN INT32 nError, OUT TTCHAR szErrorMsg[TT_STRLEN])
Get textual discription of an error message.
TT_Mixer_SetWaveOutMute
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 &#39;enum&#39; of devices.
TTMessage
A struct containing the properties of an event.
Definition: TeamTalk.h:3806
ServerStatistics::nUsersServed
INT32 nUsersServed
The number of users who have logged on to the server.
Definition: TeamTalk.h:1909
CHANNEL_NO_VOICEACTIVATION
Don&#39;t allow voice transmission if it&#39;s trigged by voice activation.
Definition: TeamTalk.h:2449
TT_CloseDesktopWindow
TEAMTALKDLL_API TTBOOL TT_CloseDesktopWindow(IN TTInstance *lpTTInstance)
Close the current desktop session.
SpeexDSP::nMaxDecDBSec
INT32 nMaxDecDBSec
Used so volume should not be attenuated too quickly (maximal gain decrease in dB/second). Negative value! Default is -40. Value is ignored if bEnableAGC is FALSE.
Definition: TeamTalk.h:1248
SPEEXDSP_AUDIOPREPROCESSOR
Use the SpeexDSP audio preprocessor.
Definition: TeamTalk.h:1412
AbusePrevention::nCommandsIntervalMSec
INT32 nCommandsIntervalMSec
Commands within given interval.
Definition: TeamTalk.h:2005
UserAccount::uUserType
UserTypes uUserType
A bitmask of the type of user based on UserType.
Definition: TeamTalk.h:2023
ServerStatistics::nVoiceBytesTX
INT64 nVoiceBytesTX
The number of bytes in audio packets sent from the server to clients.
Definition: TeamTalk.h:1886
TT_ReleaseUserMediaVideoFrame
TEAMTALKDLL_API TTBOOL TT_ReleaseUserMediaVideoFrame(IN TTInstance *lpTTInstance, IN VideoFrame *lpVideoFrame)
Delete a user&#39;s video frame, acquired through TT_AcquireUserMediaVideoFrame(), so its allocated resou...
EncryptionContext::bVerifyPeer
TTBOOL bVerifyPeer
Verify that peer (client or server) uses a certificate that has been generated by the Certificate Aut...
Definition: TeamTalk.h:2669
RemoteFile
A struct containing the properties of a file in a Channel.
Definition: TeamTalk.h:2619
TT_DesktopInput_KeyTranslate
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&#39;s intermediate format.
SERVERLOGEVENT_USER_BANNED
User was banned is logged to file by the server.
Definition: TeamTalk.h:1734
ClientFlags
UINT32 ClientFlags
A bitmask based on ClientFlag describing the local client instance&#39;s current state.
Definition: TeamTalk.h:3976
ClientKeepAlive::nTcpKeepAliveIntervalMSec
INT32 nTcpKeepAliveIntervalMSec
Client instance&#39;s interval between automatically doing TT_DoPing() command. Read-only value...
Definition: TeamTalk.h:2713
DESKTOPKEYSTATE_NONE
The key is ignored.
Definition: TeamTalk.h:1002
ServerLogEvents
UINT32 ServerLogEvents
Bitmask of ServerLogEvent.
Definition: TeamTalk.h:1773
ServerProperties::nMaxVideoCaptureTxPerSecond
INT32 nMaxVideoCaptureTxPerSecond
The maximum number of bytes per second which the server will allow for video input packets...
Definition: TeamTalk.h:1819
STREAMTYPE_MEDIAFILE_AUDIO
Audio stream type from a media file which is being streamed.
Definition: TeamTalk.h:233
SoundDeviceEffects::bEnableDenoise
TTBOOL bEnableDenoise
Enable noise suppression.
Definition: TeamTalk.h:501
SoundLevel
SoundLevel
An enum encapsulation the minimum, maximum and default sound levels for input and output sound device...
Definition: TeamTalk.h:577
TT_SetUserPosition
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.
SpeexDSP::bEnableAGC
TTBOOL bEnableAGC
Whether to enable AGC with the settings specified nGainLevel, nMaxIncDBSec, nMaxDecDBSec and nMaxGain...
Definition: TeamTalk.h:1236
CMDERR_CHANNEL_HAS_USERS
Cannot process command since channel is not empty.
Definition: TeamTalk.h:3064
INTERR_AUDIOCODEC_INIT_FAILED
Audio codec used by channel failed to initialize. Ensure the settings specified in AudioCodec are val...
Definition: TeamTalk.h:3100
MSGTYPE_NONE
An incomplete text message.
Definition: TeamTalk.h:2371
CLIENT_VIDEOCAPTURE_READY
If set the client instance&#39;s video device has been initialized, i.e. TT_InitVideoCaptureDevice has be...
Definition: TeamTalk.h:3924
WAVEOUT_WAVE
Definition: TeamTalk.h:7734
TT_PaintDesktopWindowEx
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&#39;s desktop window using a Windows&#39; DC (device context).
UserStatistics::nVoicePacketsRecv
INT64 nVoicePacketsRecv
Number of voice packets received from user.
Definition: TeamTalk.h:2329
__UINT32
Definition: TeamTalk.h:3789
TT_SetUserMediaStorageDirEx
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&#39;s audio to disk.
TTKEY_MACKEYCODE_TO_TTKEYCODE
Translate from Mac OS X Carbon kVK_* key-code to TTKEYCODE. The Mac OS X key-codes are defined in Car...
Definition: TeamTalk.h:7539
TT_Mixer_GetWaveInMute
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInMute(IN INT32 nWaveDeviceID)
See if microphone is muted.
ShareWindow::nHeight
INT32 nHeight
The height in pixels of the window.
Definition: TeamTalk.h:5555
CHANNEL_PERMANENT
A channel which persists even when the last user leaves the channel.
Definition: TeamTalk.h:2428
TT_DoBanUserEx
TEAMTALKDLL_API INT32 TT_DoBanUserEx(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN BanTypes uBanTypes)
Ban the user with nUserID using the ban types specified.
VideoFormat::nWidth
INT32 nWidth
The width in pixels of the video device supported video format.
Definition: TeamTalk.h:838
ClientKeepAlive::nUdpConnectTimeoutMSec
INT32 nUdpConnectTimeoutMSec
The duration before the client instance should give up trying to connect to the server on UDP...
Definition: TeamTalk.h:2740
MediaFileInfo::uElapsedMSec
UINT32 uElapsedMSec
The elapsed time of the media file in miliseconds.
Definition: TeamTalk.h:1570
USERRIGHT_LOCKED_STATUS
User&#39;s status is locked. TT_DoChangeStatus() cannot be used.
Definition: TeamTalk.h:1694
TT_GetSoundInputPreprocess
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...
BANTYPE_NONE
Ban type not set.
Definition: TeamTalk.h:1930
WebRTCAudioPreprocessor::fGainDB
float fGainDB
Gain level in dB. Range: 0 <= x < 50. Default: 0.
Definition: TeamTalk.h:1370
AudioFormat::nAudioFmt
AudioFileFormat nAudioFmt
The audio file format, e.g. wave or MP3.
Definition: TeamTalk.h:796
__NONE
Definition: TeamTalk.h:3750
TT_HotKey_Register
TEAMTALKDLL_API TTBOOL TT_HotKey_Register(IN TTInstance *lpTTInstance, IN INT32 nHotKeyID, IN const INT32 *lpnVKCodes, IN INT32 nVKCodeCount)
Register a global hotkey.
VideoFrame::nWidth
INT32 nWidth
The width in pixels of the image contained in frameBuffer.
Definition: TeamTalk.h:865
TT_SetUserJitterControl
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.
AudioPreprocessor::nPreprocessor
AudioPreprocessorType nPreprocessor
The audio preprocessor to use in the union of audio preprocessors.
Definition: TeamTalk.h:1424
TT_DoLoginEx
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.
TT_DoSendFile
TEAMTALKDLL_API INT32 TT_DoSendFile(IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN const TTCHAR *szLocalFilePath)
Send a file to the specified channel.
OpusCodec::nChannels
INT32 nChannels
Mono = 1 or stereo = 2.
Definition: TeamTalk.h:1150
TT_SendDesktopCursorPosition
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.
SOUND_GAIN_MIN
The minimum gain level (since it&#39;s zero it means silence).
Definition: TeamTalk.h:640
SUBSCRIBE_INTERCEPT_CHANNEL_MSG
Intercept all channel messages sent by a user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2113
NO_AUDIOPREPROCESSOR
Value for specifying that no audio preprocessing should occur.
Definition: TeamTalk.h:1410
TT_Disconnect
TEAMTALKDLL_API TTBOOL TT_Disconnect(IN TTInstance *lpTTInstance)
Disconnect from the server.
TT_SAMPLERATES_MAX
#define TT_SAMPLERATES_MAX
Definition: TeamTalk.h:155
TT_GetSoundOutputVolume
TEAMTALKDLL_API INT32 TT_GetSoundOutputVolume(IN TTInstance *lpTTInstance)
Get master volume.
ClientStatistics::nUdpPingTimeMs
INT32 nUdpPingTimeMs
Response time to server on UDP (based on ping/pong sent at a specified interval. Set to -1 if not cur...
Definition: TeamTalk.h:2776
__TTMESSAGE
Definition: TeamTalk.h:3766
User::nUserID
INT32 nUserID
The user&#39;s ID. A value from 1 - TT_USERID_MAX. This property is set by the server and will not change...
Definition: TeamTalk.h:2202
CMDERR_SYNTAX_ERROR
Command has syntax error. Only used internally.
Definition: TeamTalk.h:2842
SOUNDSYSTEM_DSOUND
DirectSound audio system. Should be used on Windows.
Definition: TeamTalk.h:294
USERRIGHT_CREATE_TEMPORARY_CHANNEL
User is allowed to create temporary channels which disappear when last user leaves the channel...
Definition: TeamTalk.h:1637
ServerProperties
A struct containing the properties of the server&#39;s settings.
Definition: TeamTalk.h:1786
TT_DoBan
TEAMTALKDLL_API INT32 TT_DoBan(IN TTInstance *lpTTInstance, IN const BannedUser *lpBannedUser)
Ban the properties specified in lpBannedUser.
TT_Firewall_IsEnabled
TEAMTALKDLL_API TTBOOL TT_Firewall_IsEnabled(void)
Check if the Windows Firewall is currently enabled.
SUBSCRIBE_DESKTOP
Subscribing to STREAMTYPE_DESKTOP.
Definition: TeamTalk.h:2100
TT_GetVersion
TEAMTALKDLL_API const TTCHAR * TT_GetVersion(void)
Get the DLL&#39;s version number.
SoundDevice::bSupports3D
TTBOOL bSupports3D
Whether the sound device supports 3D-sound effects.
Definition: TeamTalk.h:436
FOURCC_YUY2
Image format where a 640x480 pixel images takes up 614.400 bytes.
Definition: TeamTalk.h:822
SOUNDSYSTEM_AUDIOUNIT
iOS sound API.
Definition: TeamTalk.h:342
TT_ReleaseUserAudioBlock
TEAMTALKDLL_API TTBOOL TT_ReleaseUserAudioBlock(IN TTInstance *lpTTInstance, IN AudioBlock *lpAudioBlock)
Release the shared memory of an AudioBlock.
Channel::nChannelID
INT32 nChannelID
The channel&#39;s ID. A value from 1 - TT_CHANNELID_MAX.
Definition: TeamTalk.h:2477
CLIENT_CLOSED
The client instance (TTInstance) is in closed state, i.e. TT_InitTeamTalk has return a valid instance...
Definition: TeamTalk.h:3883
TT_PumpMessage
TEAMTALKDLL_API TTBOOL TT_PumpMessage(IN TTInstance *lpTTInstance, ClientEvent nClientEvent, INT32 nIdentifier)
Cause client instance event thread to schedule an update event.
AudioFormat
struct AudioFormat AudioFormat
Struct describing the audio format used by a media file.
SpeexVBRCodec::nTxIntervalMSec
INT32 nTxIntervalMSec
Milliseconds of audio data before each transmission.
Definition: TeamTalk.h:1114
CLIENT_CONNECTED
If set the client instance is connected to a server, i.e. CLIENTEVENT_CON_SUCCESS event has been issu...
Definition: TeamTalk.h:3954
__TEXTMESSAGE
Definition: TeamTalk.h:3764
TT_GetSoundInputGainLevel
TEAMTALKDLL_API INT32 TT_GetSoundInputGainLevel(IN TTInstance *lpTTInstance)
Get voice gain level of outgoing audio.
SOUND_VOLUME_DEFAULT
The default volume. Use this whenever possible since it requires the least amount of CPU usage...
Definition: TeamTalk.h:606
WebRTCAudioPreprocessor::fMaxGainChangeDBPerSecond
float fMaxGainChangeDBPerSecond
Definition: TeamTalk.h:1383
SoundDeviceFeatures
UINT32 SoundDeviceFeatures
A bitmask of available SoundDeviceFeature. Checkout uSoundDeviceFeatures on SoundDevice.
Definition: TeamTalk.h:386
BanType
BanType
Way to ban a user from either login or joining a channel.
Definition: TeamTalk.h:1927
SpeexDSP::nEchoSuppress
INT32 nEchoSuppress
Set maximum attenuation of the residual echo in dB (negative number). Default is -40. Value is ignored if bEnableEchoCancellation is FALSE.
Definition: TeamTalk.h:1278
User::nStatusMode
INT32 nStatusMode
The user&#39;s current status mode. Invoke TT_DoChangeStatus() to change this value. Event CLIENTEVENT_CM...
Definition: TeamTalk.h:2252
CLIENT_TX_VOICE
If set the client instance is currently transmitting audio.
Definition: TeamTalk.h:3927
TTMessage::channel
Channel channel
Valid if ttType is __CHANNEL.
Definition: TeamTalk.h:3819
ServerStatistics::nFilesRx
INT64 nFilesRx
The number of bytes for file transmission received by the server.
Definition: TeamTalk.h:1917
TT_DoUnsubscribe
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 us...
User::uPeerSubscriptions
Subscriptions uPeerSubscriptions
A bitmask of what this user subscribes to from local client instance. Invoking TT_DoSubscribe() and T...
Definition: TeamTalk.h:2242
TT_SetSoundDeviceEffects
TEAMTALKDLL_API TTBOOL TT_SetSoundDeviceEffects(IN TTInstance *lpTTInstance, IN const SoundDeviceEffects *lpSoundDeviceEffect)
Set up audio effects on a sound device.
ServerStatistics::nUptimeMSec
INT64 nUptimeMSec
The server&#39;s uptime in msec.
Definition: TeamTalk.h:1919
DesktopInput::uKeyCode
UINT32 uKeyCode
The key-code (or mouse button) pressed. If used with TT_DesktopInput_Execute() and no key (or mouse b...
Definition: TeamTalk.h:1034
TT_SetVoiceActivationLevel
TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationLevel(IN TTInstance *lpTTInstance, IN INT32 nLevel)
Set voice activation level.
SOUNDSYSTEM_COREAUDIO
Core Audio. Should be used on MacOS.
Definition: TeamTalk.h:304
TT_GetChannel
TEAMTALKDLL_API TTBOOL TT_GetChannel(IN TTInstance *lpTTInstance, IN INT32 nChannelID, OUT Channel *lpChannel)
Get the channel with a specific ID.
TT_ReleaseUserVideoCaptureFrame
TEAMTALKDLL_API TTBOOL TT_ReleaseUserVideoCaptureFrame(IN TTInstance *lpTTInstance, IN VideoFrame *lpVideoFrame)
Delete a user&#39;s video frame, acquired through TT_AcquireUserVideoCaptureFrame(), so its allocated res...
SERVERLOGEVENT_CHANNEL_CREATED
User created new channel is logged to file by the server.
Definition: TeamTalk.h:1754
AudioPreprocessor::speexdsp
SpeexDSP speexdsp
Used when nPreprocessor is SPEEXDSP_AUDIOPREPROCESSOR.
Definition: TeamTalk.h:1428
SUBSCRIBE_DESKTOPINPUT
Subscribing to STREAMTYPE_DESKTOPINPUT.
Definition: TeamTalk.h:2104
UserAccount::uUserRights
UserRights uUserRights
A bitmask based on UserRight which specifies the rights the user have who logs onto the server...
Definition: TeamTalk.h:2027
SUBSCRIBE_VOICE
Subscribing to STREAMTYPE_VOICE.
Definition: TeamTalk.h:2096
TT_GetVoiceActivationLevel
TEAMTALKDLL_API INT32 TT_GetVoiceActivationLevel(IN TTInstance *lpTTInstance)
Get voice activation level.
CLIENTEVENT_NONE
Definition: TeamTalk.h:3147
MediaFilePlayback::audioPreprocessor
AudioPreprocessor audioPreprocessor
Option to activate audio preprocessor on local media file playback.
Definition: TeamTalk.h:1592
ClientStatistics::nUdpBytesRecv
INT64 nUdpBytesRecv
Bytes received on UDP.
Definition: TeamTalk.h:2752
UserStatistics::nVideoCaptureFramesDropped
INT64 nVideoCaptureFramesDropped
Number of video frames dropped because user application didn&#39;t retrieve video frames in time...
Definition: TeamTalk.h:2342
USERRIGHT_DOWNLOAD_FILES
User can download files from channels.
Definition: TeamTalk.h:1660
CLIENTEVENT_USER_MEDIAFILE_VIDEO
A new video frame from a video media file was received from a user.
Definition: TeamTalk.h:3492
OpusCodec::bDTX
TTBOOL bDTX
Discontinuous transmission. Enables "null" packets during silence.
Definition: TeamTalk.h:1163
WebRTCAudioPreprocessor::fExtraSaturationMarginDB
float fExtraSaturationMarginDB
Definition: TeamTalk.h:1381
CMDERR_MAX_LOGINS_PER_IPADDRESS_EXCEEDED
The maximum number of logins allowed per IP-address has been exceeded.
Definition: TeamTalk.h:2951
AFF_CHANNELCODEC_FORMAT
Store audio in the same format as the Channel&#39;s configured audio codec.
Definition: TeamTalk.h:771
STREAMTYPE_MEDIAFILE
Shortcut to allow both audio and video media files.
Definition: TeamTalk.h:245
ServerProperties
struct ServerProperties ServerProperties
A struct containing the properties of the server&#39;s settings.
SpeexDSP::bEnableDenoise
TTBOOL bEnableDenoise
Whether clients who join the channel should automatically enable denoising.
Definition: TeamTalk.h:1255
EncryptionContext
struct EncryptionContext EncryptionContext
Configure peer verification for encrypted connection.
USERTYPE_ADMIN
A user with administrator privileges.
Definition: TeamTalk.h:1976
CLIENTEVENT_CMD_USER_TEXTMSG
A user has sent a text-message.
Definition: TeamTalk.h:3350
CLIENTEVENT_CMD_CHANNEL_UPDATE
A channel&#39;s properties has been updated.
Definition: TeamTalk.h:3370
OpusCodec::nTxIntervalMSec
INT32 nTxIntervalMSec
Duration of audio before each transmission. Minimum is 2 msec. Recommended is 40 msec. Maximum is 500 msec.
Definition: TeamTalk.h:1178
TT_EnableAudioBlockEvent
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 a...
SERVERLOGEVENT_SERVER_SAVECONFIG
User saved server&#39;s configuration is logged to file by the server.
Definition: TeamTalk.h:1768
TT_Connect
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.
USERRIGHT_VIEW_HIDDEN_CHANNELS
User can see hidden channels, CHANNEL_HIDDEN.
Definition: TeamTalk.h:1699
__TTAUDIOPREPROCESSOR
Definition: TeamTalk.h:3786
TTMessage
struct TTMessage TTMessage
A struct containing the properties of an event.
USERSTATE_MUTE_MEDIAFILE
If set the user&#39;s media file playback is muted.
Definition: TeamTalk.h:2161
CMDERR_NOT_IN_CHANNEL
Cannot leave channel because not in channel.
Definition: TeamTalk.h:2986
SpeexVBRCodec::nMaxBitRate
INT32 nMaxBitRate
The maximum bitrate at which the audio codec is allowed to output audio. Set to zero if it should be ...
Definition: TeamTalk.h:1101
USERSTATE_MEDIAFILE
If set user is streaming a media file. If this flag changes the event CLIENTEVENT_USER_STATECHANGE is...
Definition: TeamTalk.h:2185
CMDERR_INCOMPATIBLE_PROTOCOLS
The server uses a protocol which is incompatible with the client instance.
Definition: TeamTalk.h:2853
MediaFileInfo
struct MediaFileInfo MediaFileInfo
Struct describing the audio and video format used by a media file.
__SPEEXDSP
Definition: TeamTalk.h:3782
CLIENTEVENT_VOICE_ACTIVATION
Voice activation has triggered transmission.
Definition: TeamTalk.h:3605
TT_MacOS_GetWindowFromWindowID
TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindowFromWindowID(IN INT64 nWindowID, OUT ShareWindow *lpShareWindow)
Get information about a window by passing its handle (CGWindowID).
AudioFormat::nSampleRate
INT32 nSampleRate
Sample rate of media file.
Definition: TeamTalk.h:798
TTAudioPreprocessor::nGainLevel
INT32 nGainLevel
Gain level between SOUND_GAIN_MIN and SOUND_GAIN_MAX. Default is SOUND_GAIN_DEFAULT (no gain)...
Definition: TeamTalk.h:1292
OpusCodec::nSampleRate
INT32 nSampleRate
The sample rate to use. Sample rate must be 8000, 12000, 16000, 24000 or 48000 Hz.
Definition: TeamTalk.h:1148
TT_AcquireUserVideoCaptureFrame
TEAMTALKDLL_API VideoFrame * TT_AcquireUserVideoCaptureFrame(IN TTInstance *lpTTInstance, IN INT32 nUserID)
Extract a user&#39;s video capture frame for display.
AudioCodec
Struct used for specifying which audio codec a channel uses.
Definition: TeamTalk.h:1494
SoundDeviceEffects::bEnableAGC
TTBOOL bEnableAGC
Enable Automatic Gain Control.
Definition: TeamTalk.h:484
SpeexDSP::bEnableEchoCancellation
TTBOOL bEnableEchoCancellation
Enable/disable acoustic echo cancellation (AEC).
Definition: TeamTalk.h:1274
SERVERLOGEVENT_USER_DISCONNECTED
User disconnected from server is logged to file by the server.
Definition: TeamTalk.h:1722
SOUNDSYSTEM_ALSA
Advanced Linux Sound Architecture (ALSA). Should be used on Linux.
Definition: TeamTalk.h:302
TT_StopRecordingMuxedAudioFileEx
TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFileEx(IN TTInstance *lpTTInstance, IN INT32 nChannelID)
Stop recording conversations from a channel to a single file.
TT_GetClientKeepAlive
TEAMTALKDLL_API TTBOOL TT_GetClientKeepAlive(IN TTInstance *lpTTInstance, OUT ClientKeepAlive *lpClientKeepAlive)
Get the client instance&#39;s current keep alive settings.
TT_CancelFileTransfer
TEAMTALKDLL_API TTBOOL TT_CancelFileTransfer(IN TTInstance *lpTTInstance, IN INT32 nTransferID)
Cancel an active file transfer.
UserStatistics::nVideoCaptureFramesRecv
INT64 nVideoCaptureFramesRecv
Number of video frames received from user.
Definition: TeamTalk.h:2336
UserStatistics::nVideoCapturePacketsRecv
INT64 nVideoCapturePacketsRecv
Number of video packets received from user. A video frame can consist of several video packets...
Definition: TeamTalk.h:2334
TT_Enable3DSoundPositioning
TEAMTALKDLL_API TTBOOL TT_Enable3DSoundPositioning(IN TTInstance *lpTTInstance, IN TTBOOL bEnable)
Enable automatically position users using 3D-sound.
CHANNEL_HIDDEN
Hidden channel which can only be seen with USERRIGHT_VIEW_HIDDEN_CHANNELS.
Definition: TeamTalk.h:2454
TT_DoChangeStatus
TEAMTALKDLL_API INT32 TT_DoChangeStatus(IN TTInstance *lpTTInstance, IN INT32 nStatusMode, IN const TTCHAR *szStatusMessage)
Change the client instance&#39;s currect status.
TT_SetUserMute
TEAMTALKDLL_API TTBOOL TT_SetUserMute(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN TTBOOL bMute)
Mute a user.
TT_DoListBans
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.
SoundDevice::nDeviceID
INT32 nDeviceID
The ID of the sound device. Used for passing to TT_InitSoundInputDevice and TT_InitSoundOutputDevice...
Definition: TeamTalk.h:407
USERRIGHT_TRANSMIT_VIDEOCAPTURE
User is allowed to forward video packets through server. TT_StartVideoCaptureTransmission() ...
Definition: TeamTalk.h:1669
CMDERR_INCORRECT_CHANNEL_PASSWORD
Invalid channel password.
Definition: TeamTalk.h:2870
TT_GetMyChannelID
TEAMTALKDLL_API INT32 TT_GetMyChannelID(IN TTInstance *lpTTInstance)
Get the channel which the local client instance is currently participating in.
ServerStatistics
A struct containing the server&#39;s statistics, i.e. bandwidth usage and user activity.
Definition: TeamTalk.h:1876
MSGTYPE_USER
A User to user text message. A message of this type can be sent across channels.
Definition: TeamTalk.h:2374
TTMessage::bActive
TTBOOL bActive
Valid if ttType is __TTBOOL.
Definition: TeamTalk.h:3843
TT_InsertAudioBlock
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.
ClientKeepAlive::nConnectionLostMSec
INT32 nConnectionLostMSec
The duration before the TTInstance should consider the client/server connection lost.
Definition: TeamTalk.h:2709
JitterConfig::nActiveAdaptiveDelayMSec
INT32 nActiveAdaptiveDelayMSec
The current adaptive delay. When used with TT_SetUserJitterControl, this value is used as the adaptiv...
Definition: TeamTalk.h:2821
SUBSCRIBE_INTERCEPT_DESKTOP
Intercept all desktop data sent by a user. Only user-type USERTYPE_ADMIN can do this. By enabling this subscription an administrator can views desktops sent by users outside his own channel.
Definition: TeamTalk.h:2132
SOUNDSYSTEM_WASAPI
Windows Audio Session API (WASAPI). Should be used on Windows Vista/7/8/10.
Definition: TeamTalk.h:315
USERRIGHT_VIEW_ALL_USERS
User can see users in all other channels.
Definition: TeamTalk.h:1633
CMDERR_FILESHARING_DISABLED
Server does not allow file transfers.
Definition: TeamTalk.h:3059
SoundDevice::nSoundSystem
SoundSystem nSoundSystem
The sound system used by the sound device.
Definition: TeamTalk.h:409
__AUDIOCODEC
Definition: TeamTalk.h:3751
TT_SetUserStereo
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 Audi...
TTMessage::filetransfer
FileTransfer filetransfer
Valid if ttType is __FILETRANSFER.
Definition: TeamTalk.h:3825
CLIENTEVENT_CMD_PROCESSING
A command issued by TT_Do* methods is being processed.
Definition: TeamTalk.h:3216
USERSTATE_NONE
The user is in initial state.
Definition: TeamTalk.h:2152
UserStatistics::nVideoCaptureFramesLost
INT64 nVideoCaptureFramesLost
Video frames which couldn&#39;t be shown because packets were lost.
Definition: TeamTalk.h:2339
ClientStatistics::nMediaFileVideoBytesSent
INT64 nMediaFileVideoBytesSent
Video from media file data sent (on UDP).
Definition: TeamTalk.h:2766
TTMessage::serverstatistics
ServerStatistics serverstatistics
Valid if ttType is __SERVERSTATISTICS.
Definition: TeamTalk.h:3833
CHANNEL_NO_RECORDING
Don&#39;t allow recording to files in the channel.
Definition: TeamTalk.h:2451
DesktopWindow
A struct containing the properties of a shared desktop window.
Definition: TeamTalk.h:969
TT_DoUnBanUserEx
TEAMTALKDLL_API INT32 TT_DoUnBanUserEx(IN TTInstance *lpTTInstance, IN const BannedUser *lpBannedUser)
Unban the properties specified in BannedUser.
VideoFrame::nStreamID
INT32 nStreamID
A unique identifier for the frames which are part of the same video sequence. If the stream ID change...
Definition: TeamTalk.h:874
EncryptionContext::nVerifyDepth
INT32 nVerifyDepth
Set limit to depth in the certificate chain during the verification procedure.
Definition: TeamTalk.h:2688
AudioBlock::nChannels
INT32 nChannels
The number of channels used (1 for mono, 2 for stereo).
Definition: TeamTalk.h:666
SERVERLOGEVENT_USER_LOGINFAILED
User failed to log in is logged to file by the server.
Definition: TeamTalk.h:1728
FileTransferStatus
FileTransferStatus
Status of a file transfer.
Definition: TeamTalk.h:2580
TEAMTALK_AUDIOPREPROCESSOR
Use TeamTalk&#39;s internal audio preprocessor TTAudioPreprocessor.
Definition: TeamTalk.h:1414
SOUNDDEVICEFEATURE_AGC
The SoundDevice can enable Automatic Gain Control (AGC). Enable AGC use property bEnableAGC on SoundD...
Definition: TeamTalk.h:367
WebMVP8Codec::nEncodeDeadline
UINT32 nEncodeDeadline
Time that should be spent on encoding a frame.
Definition: TeamTalk.h:1460
TT_DoSubscribe
TEAMTALKDLL_API INT32 TT_DoSubscribe(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN Subscriptions uSubscriptions)
Subscribe to user events and/or data.
TTMessage::desktopinput
DesktopInput desktopinput
Valid if ttType is __DESKTOPINPUT.
Definition: TeamTalk.h:3823
JitterConfig
struct JitterConfig JitterConfig
Configuration parameters for the Jitter Buffer.
FOURCC_RGB32
The image format with the highest bandwidth usage. A 640x480 pixel images takes up 1...
Definition: TeamTalk.h:825
UserStatistics::nMediaFileVideoFramesDropped
INT64 nMediaFileVideoFramesDropped
Number of media file video frames dropped because user application didn&#39;t retrieve video frames in ti...
Definition: TeamTalk.h:2357
SERVERLOGEVENT_USER_LOGGEDIN
User logged in is logged to file by the server.
Definition: TeamTalk.h:1724
AudioInputProgress::uElapsedMSec
UINT32 uElapsedMSec
The duration of the audio that has been transmitted.
Definition: TeamTalk.h:1606
TT_SetClientKeepAlive
TEAMTALKDLL_API TTBOOL TT_SetClientKeepAlive(IN TTInstance *lpTTInstance, IN const ClientKeepAlive *lpClientKeepAlive)
Update the client instance&#39;s default keep alive settings.
CMDERR_NOT_LOGGEDIN
Client instance has not been authenticated.
Definition: TeamTalk.h:2977
Channel::audiocodec
AudioCodec audiocodec
The audio codec used by users in the channel.
Definition: TeamTalk.h:2503
TT_SetUserAudioStreamBufferSize
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&#39;s playback queue.
SPEEX_VBR_CODEC
Speex audio codec in VBR mode, http://www.speex.org.
Definition: TeamTalk.h:1485
CMDERR_CHANNEL_ALREADY_EXISTS
Channel already exists.
Definition: TeamTalk.h:2995
DesktopWindow::frameBuffer
VOID * frameBuffer
A buffer pointing to the bitmap data (often refered to as Scan0).
Definition: TeamTalk.h:990
CMDERR_INVALID_ACCOUNT
Invalid username or password for account.
Definition: TeamTalk.h:2876
WEBM_VP8_CODEC
WebM video codec.
Definition: TeamTalk.h:1489
TTType
TTType
Definition: TeamTalk.h:3748
FileTransfer::nTransferred
INT64 nTransferred
The number of bytes transferred so far.
Definition: TeamTalk.h:2610
FileTransfer::nTransferID
INT32 nTransferID
The ID identifying the file transfer.
Definition: TeamTalk.h:2600
ServerStatistics::nTotalBytesTX
INT64 nTotalBytesTX
The number of bytes sent from the server to clients.
Definition: TeamTalk.h:1880
TT_Mixer_SetWaveInVolume
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 &#39;enum&#39; of devices.
AFF_MP3_128KBIT_FORMAT
Definition: TeamTalk.h:781
WebMVP8Codec::rc_target_bitrate
UINT32 rc_target_bitrate
Target bitrate in kbits/sec. This value must be greater than 0.
Definition: TeamTalk.h:1451
TTMessage::nPayloadSize
INT32 nPayloadSize
Valid if ttType is __INT32.
Definition: TeamTalk.h:3849
__CHANNEL
Definition: TeamTalk.h:3755
DesktopWindow::nSessionID
INT32 nSessionID
The ID of the session which the bitmap belongs to. If the session ID changes it means the user has st...
Definition: TeamTalk.h:986
UserType
UserType
The types of users supported.
Definition: TeamTalk.h:1968
MediaFilePlayback::bPaused
TTBOOL bPaused
Start or pause media file playback.
Definition: TeamTalk.h:1590
ChannelTypes
UINT32 ChannelTypes
Bitmask of ChannelType.
Definition: TeamTalk.h:2459
Channel::uChannelType
ChannelTypes uChannelType
A bitmask of the type of channel based on ChannelType.
Definition: TeamTalk.h:2490
TT_StopRecordingMuxedAudioFile
TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFile(IN TTInstance *lpTTInstance)
Stop an active muxed audio recording.
CLIENT_SNDINPUT_READY
If set the client instance&#39;s sound input device has been initialized, i.e. TT_InitSoundInputDevice ha...
Definition: TeamTalk.h:3887
USERSTATE_VIDEOCAPTURE
If set the user currently has an active video stream. If this flag changes the event CLIENTEVENT_USER...
Definition: TeamTalk.h:2171
CLIENTEVENT_CMD_FILE_NEW
A new file is added to a channel.
Definition: TeamTalk.h:3415
VideoCaptureDevice
A struct containing the properties of a video capture device.
Definition: TeamTalk.h:896
CLIENTEVENT_CMD_USERACCOUNT
A user account has been received from the server.
Definition: TeamTalk.h:3433
CMDERR_MAX_DISKUSAGE_EXCEEDED
Cannot upload file because disk quota will be exceeded.
Definition: TeamTalk.h:2932
ShareWindow::nWndX
INT32 nWndX
X coordinate of the window relative to the Windows desktop.
Definition: TeamTalk.h:5549
CLIENTEVENT_HOTKEY
A hotkey has been acticated or deactivated.
Definition: TeamTalk.h:3617
ServerProperties::bAutoSave
TTBOOL bAutoSave
Whether the server automatically saves changes.
Definition: TeamTalk.h:1833
AudioPreprocessorType
AudioPreprocessorType
The types of supported audio preprocessors.
Definition: TeamTalk.h:1406
CLIENTEVENT_AUDIOINPUT
Progress is audio being injected as STREAMTYPE_VOICE.
Definition: TeamTalk.h:3723
TT_SetUserStoppedPlaybackDelay
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 f...
DesktopInput::uMousePosX
UINT16 uMousePosX
The X coordinate of the mouse. If used with TT_DesktopInput_Execute() and the mouse position should b...
Definition: TeamTalk.h:1024
ShareWindow::nWidth
INT32 nWidth
The width in pixels of the window.
Definition: TeamTalk.h:5553
TT_DBG_SetSoundInputTone
TEAMTALKDLL_API TTBOOL TT_DBG_SetSoundInputTone(IN TTInstance *lpTTInstance, IN StreamTypes uStreamTypes, IN INT32 nFrequency)
TT_CloseSoundOutputDevice
TEAMTALKDLL_API TTBOOL TT_CloseSoundOutputDevice(IN TTInstance *lpTTInstance)
Shutdown the output sound device.
CLIENT_STREAM_AUDIO
If set the client is currently streaming the audio of a media file. When streaming a video file the C...
Definition: TeamTalk.h:3966
TT_SendDesktopWindowFromHWND
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.
ClientErrorMsg::nErrorNo
INT32 nErrorNo
Error number based on ClientError.
Definition: TeamTalk.h:3132
AudioBlock::nStreamID
INT32 nStreamID
The ID of the stream. The stream id changes every time the user enables a new transmission using TT_E...
Definition: TeamTalk.h:662
NO_CODEC
No codec specified.
Definition: TeamTalk.h:1479
ClientStatistics::nDesktopBytesSent
INT64 nDesktopBytesSent
Desktop data sent (on UDP).
Definition: TeamTalk.h:2770
SERVERLOGEVENT_NONE
Nothing is logged to file by server.
Definition: TeamTalk.h:1718
OpusCodec::bVBR
TTBOOL bVBR
Enable variable bitrate.
Definition: TeamTalk.h:1168
DesktopKeyStates
UINT32 DesktopKeyStates
Mask of key states.
Definition: TeamTalk.h:1010
RemoteFile::nChannelID
INT32 nChannelID
The ID of the channel where the file is located.
Definition: TeamTalk.h:2622
MediaFilePlayback
Properties for initializing or updating a file for media streaming.
Definition: TeamTalk.h:1581
OpusCodec::bVBRConstraint
TTBOOL bVBRConstraint
Enable constrained VBR. bVBR must be enabled to enable this.
Definition: TeamTalk.h:1171
CLIENT_TX_VIDEOCAPTURE
If set the client instance is currently transmitting video.
Definition: TeamTalk.h:3931
TT_Mixer_GetWaveInControlSelected
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.
SoundDevice::szDeviceID
TTCHAR szDeviceID[TT_STRLEN]
An identifier uniquely identifying the sound device even when new sound devices are being added and r...
Definition: TeamTalk.h:416
TT_Windows_GetWindow
TEAMTALKDLL_API TTBOOL TT_Windows_GetWindow(IN HWND hWnd, OUT ShareWindow *lpShareWindow)
Get the properties of a window from its window handle (HWND).
AudioBlock::uStreamTypes
StreamTypes uStreamTypes
The stream types used to generate the AudioBlock&#39;s raw audio.
Definition: TeamTalk.h:693
TT_Firewall_RemoveAppException
TEAMTALKDLL_API TTBOOL TT_Firewall_RemoveAppException(IN const TTCHAR *szExecutable)
Remove an application from the Windows Firewall exception list.
VideoCaptureDevice::nVideoFormatsCount
INT32 nVideoFormatsCount
The number of capture formats available in videoFormats array.
Definition: TeamTalk.h:919
TT_DBG_GETDATAPTR
TEAMTALKDLL_API VOID * TT_DBG_GETDATAPTR(IN TTMessage *pMsg)
TT_GetMyUserAccount
TEAMTALKDLL_API TTBOOL TT_GetMyUserAccount(IN TTInstance *lpTTInstance, OUT UserAccount *lpUserAccount)
Get the local client instance&#39;s UserAccount.
USERRIGHT_MODIFY_CHANNELS
User is allowed to create permanent channels which are stored in the server&#39;s configuration file...
Definition: TeamTalk.h:1641
TT_SendDesktopFromWindowID
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.
SOUNDDEVICEFEATURE_DUPLEXMODE
The SoundDevice can run in duplex mode.
Definition: TeamTalk.h:378
DesktopProtocol
DesktopProtocol
The protocols supported for transferring a DesktopWindow.
Definition: TeamTalk.h:956
__SERVERSTATISTICS
Definition: TeamTalk.h:3761
TTMessage::remotefile
RemoteFile remotefile
Valid if ttType is __REMOTEFILE.
Definition: TeamTalk.h:3829
TT_DoMoveUser
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.
CLIENTEVENT_LOCAL_MEDIAFILE
Media file played locally is processing.
Definition: TeamTalk.h:3700
SUBSCRIBE_BROADCAST_MSG
Subscribing to broadcast text messsages.
Definition: TeamTalk.h:2091
CMDERR_FILE_NOT_FOUND
File does not exist.
Definition: TeamTalk.h:3049
ClientStatistics::nVideoCaptureBytesSent
INT64 nVideoCaptureBytesSent
Video data sent (on UDP).
Definition: TeamTalk.h:2758
ShareWindow::nWindowX
INT32 nWindowX
X coordinate of window.
Definition: TeamTalk.h:5664
ServerProperties::nMaxLoginsPerIPAddress
INT32 nMaxLoginsPerIPAddress
The maximum number of users allowed to log in with the same IP-address. 0 means disabled.
Definition: TeamTalk.h:1810
MediaFileInfo::audioFmt
AudioFormat audioFmt
The audio properties of the media file.
Definition: TeamTalk.h:1564
ServerStatistics::nTotalBytesRX
INT64 nTotalBytesRX
The number of bytes received by the server from clients.
Definition: TeamTalk.h:1883
TTMessage::clienterrormsg
ClientErrorMsg clienterrormsg
Valid if ttType is __CLIENTERRORMSG.
Definition: TeamTalk.h:3821
SoundDevice::szDeviceName
TTCHAR szDeviceName[TT_STRLEN]
The name of the sound device.
Definition: TeamTalk.h:411
__OPUSCODEC
Definition: TeamTalk.h:3754
SOUNDSYSTEM_NONE
Sound system denoting invalid or not found.
Definition: TeamTalk.h:290
MFS_STARTED
Started processing media file.
Definition: TeamTalk.h:742
TT_DoBanIPAddress
TEAMTALKDLL_API INT32 TT_DoBanIPAddress(IN TTInstance *lpTTInstance, IN const TTCHAR *szIPAddress, IN INT32 nChannelID)
Issue a ban command on an IP-address user.
TTMessage::useraccount
UserAccount useraccount
Valid if ttType is __USERACCOUNT.
Definition: TeamTalk.h:3839
SoundDevice::nMaxOutputChannels
INT32 nMaxOutputChannels
The maximum number of output channels.
Definition: TeamTalk.h:440
CMDERR_FILETRANSFER_NOT_FOUND
File transfer doesn&#39;t exists.
Definition: TeamTalk.h:3034
SUBSCRIBE_CHANNEL_MSG
Subscribing to channel texxt messages.
Definition: TeamTalk.h:2088
TT_StopLocalPlayback
TEAMTALKDLL_API TTBOOL TT_StopLocalPlayback(IN TTInstance *lpTTInstance, IN INT32 nPlaybackSessionID)
__DESKTOPINPUT
Definition: TeamTalk.h:3781
DesktopWindow::nWidth
INT32 nWidth
The width in pixels of the bitmap.
Definition: TeamTalk.h:972
__FILETRANSFER
Definition: TeamTalk.h:3758
TTMessage::nBytesRemain
INT32 nBytesRemain
Valid if ttType is __INT32.
Definition: TeamTalk.h:3845
SPEEX_CODEC
Speex audio codec, http://www.speex.org.
Definition: TeamTalk.h:1482
CLIENTEVENT_CMD_MYSELF_LOGGEDOUT
The client instance logged out of the server.
Definition: TeamTalk.h:3273
AudioFormat::nChannels
INT32 nChannels
Channels used by media file, mono = 1, stereo = 2.
Definition: TeamTalk.h:800
TT_StartRecordingMuxedStreams
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.
__AUDIOPREPROCESSORTYPE
Definition: TeamTalk.h:3784
MSGTYPE_CHANNEL
A User to channel text message. Users of type USERTYPE_DEFAULT can only send this text message to the...
Definition: TeamTalk.h:2379
TTAudioPreprocessor::bMuteLeftSpeaker
TTBOOL bMuteLeftSpeaker
Whether to mute left speaker in stereo playback.
Definition: TeamTalk.h:1294
MFS_FINISHED
Finished processing media file.
Definition: TeamTalk.h:744
WAVEIN_MICROPHONE
Definition: TeamTalk.h:7737
__CLIENTKEEPALIVE
Definition: TeamTalk.h:3788
OPUS_CODEC
OPUS audio codec.
Definition: TeamTalk.h:1487
TT_DoTextMessage
TEAMTALKDLL_API INT32 TT_DoTextMessage(IN TTInstance *lpTTInstance, IN const TextMessage *lpTextMessage)
Send a text message to either a user or a channel.
TT_PaintDesktopWindow
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&#39;s desktop window using a Windows&#39; DC (device context).
TT_QueryMaxPayload
TEAMTALKDLL_API TTBOOL TT_QueryMaxPayload(IN TTInstance *lpTTInstance, IN INT32 nUserID)
Query the maximum size of UDP data packets to the user or server.
UserAccount::nAudioCodecBpsLimit
INT32 nAudioCodecBpsLimit
Bandwidth restriction for audio codecs created by this user. This value will hold the highest bitrate...
Definition: TeamTalk.h:2046
CMDERR_CHANNEL_BANNED
Banned from joining a channel.
Definition: TeamTalk.h:2968
TT_GetUser
TEAMTALKDLL_API TTBOOL TT_GetUser(IN TTInstance *lpTTInstance, IN INT32 nUserID, OUT User *lpUser)
Get the user with the specified ID.
BannedUser::uBanTypes
BanTypes uBanTypes
The type of ban that applies to this banned user.
Definition: TeamTalk.h:1962
SpeexDSP::nMaxIncDBSec
INT32 nMaxIncDBSec
Used so volume should not be amplified too quickly (maximal gain increase in dB/second). Default is 12.
Definition: TeamTalk.h:1243
TT_DoRemoveChannel
TEAMTALKDLL_API INT32 TT_DoRemoveChannel(IN TTInstance *lpTTInstance, IN INT32 nChannelID)
Remove a channel from a server.
CLIENTEVENT_CMD_USER_LEFT
User has left a channel.
Definition: TeamTalk.h:3339
EncryptionContext
Configure peer verification for encrypted connection.
Definition: TeamTalk.h:2645
User::nVolumeMediaFile
INT32 nVolumeMediaFile
The user&#39;s voice volume level. Note that it&#39;s a virtual volume which is being set since the master vo...
Definition: TeamTalk.h:2275
CLIENTEVENT_CMD_SERVER_UPDATE
Server has updated its settings (server name, MOTD, etc.)
Definition: TeamTalk.h:3392
TT_GetFileTransferInfo
TEAMTALKDLL_API TTBOOL TT_GetFileTransferInfo(IN TTInstance *lpTTInstance, IN INT32 nTransferID, OUT FileTransfer *lpFileTransfer)
Get information about an active file transfer.
TTMessage::audioinputprogress
AudioInputProgress audioinputprogress
Valid if ttType is __AUDIOINPUTPROGRESS.
Definition: TeamTalk.h:3853
ServerProperties::nMaxTotalTxPerSecond
INT32 nMaxTotalTxPerSecond
The amount of bytes per second which the server will allow for packet forwarding. If this value is ex...
Definition: TeamTalk.h:1831
AudioInputProgress::uQueueMSec
UINT32 uQueueMSec
The duration of the audio currently queued for transmission.
Definition: TeamTalk.h:1603
ClientStatistics::nSoundInputDeviceDelayMSec
INT32 nSoundInputDeviceDelayMSec
Delay of sound input device until the first audio frame is delivered (in msec).
Definition: TeamTalk.h:2798
TT_DoUnBanUser
TEAMTALKDLL_API INT32 TT_DoUnBanUser(IN TTInstance *lpTTInstance, IN const TTCHAR *szIPAddress, IN INT32 nChannelID)
Unban the user with the specified IP-address.
__AUDIOPREPROCESSOR
Definition: TeamTalk.h:3785
ShareWindow::nWindowID
INT64 nWindowID
The CGWindowID.
Definition: TeamTalk.h:5662
USERTYPE_DEFAULT
A default user who can join channels.
Definition: TeamTalk.h:1974
AudioPreprocessor
Configure the audio preprocessor specified by nPreprocessor.
Definition: TeamTalk.h:1421
TEAMTALKDLL_API
#define TEAMTALKDLL_API
Definition: TeamTalk.h:27
CLIENT_SNDOUTPUT_AUTO3DPOSITION
If set the client instance will auto position users in a 180 degree circle using 3D-sound. This option is only available with SOUNDSYSTEM_DSOUND.
Definition: TeamTalk.h:3920
TTMessage::nStreamID
INT32 nStreamID
Valid if ttType is __INT32.
Definition: TeamTalk.h:3847
USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO
User is allowed to stream audio files to channel.
Definition: TeamTalk.h:1678
WebRTCAudioPreprocessor
struct WebRTCAudioPreprocessor WebRTCAudioPreprocessor
WebRTC&#39;s audio preprocessor.
TT_UpdateStreamingMediaFileToChannel
TEAMTALKDLL_API TTBOOL TT_UpdateStreamingMediaFileToChannel(IN TTInstance *lpTTInstance, IN const MediaFilePlayback *lpMediaFilePlayback, IN const VideoCodec *lpVideoCodec)
Update active media file being streamed to channel.
USERRIGHT_KICK_USERS
User can kick users off the server.
Definition: TeamTalk.h:1646
TT_InitTeamTalkPoll
TEAMTALKDLL_API TTInstance * TT_InitTeamTalkPoll(void)
Create a new TeamTalk client instance where events are &#39;polled&#39; using TT_GetMessage.
AudioCodec::speex
SpeexCodec speex
Speex codec settings if nCodec is SPEEX_CODEC.
Definition: TeamTalk.h:1503
TTBOOL
int TTBOOL
Definition: TeamTalk.h:52
SoundDevice
A struct containing the properties of a sound device for either playback or recording.
Definition: TeamTalk.h:400
CMDERR_ALREADY_LOGGEDIN
Already logged in.
Definition: TeamTalk.h:2982
BMP_RGB32
The bitmap is a 32-bit colored bitmap. The maximum size of a 32-bit bitmap is 4095 blocks of 51 by 20...
Definition: TeamTalk.h:949
AudioBlock::uSampleIndex
UINT32 uSampleIndex
The index of the first sample in lpRawAudio. Its value will be a multiple of nSamples. The sample index can be used to detect overflows of the internal buffer. When a user initially starts talking the nSampleIndex will be 0 and while the user is talking nSampleIndex will be greater than 0. When the user stops talking nSampleIndex will be reset to 0 again.
Definition: TeamTalk.h:680
__VIDEOFORMAT
Definition: TeamTalk.h:3753
SpeexVBRCodec::nQuality
INT32 nQuality
A value from 0-10. If nBitRate is non-zero it will override this value.
Definition: TeamTalk.h:1088
ClientErrorMsg
Struct containing an error message.
Definition: TeamTalk.h:3129
SERVERLOGEVENT_USER_TEXTMESSAGE_CHANNEL
User&#39;s channel text messages are logged to file by the server.
Definition: TeamTalk.h:1750
TT_ConnectSysID
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.
CLIENT_DESKTOP_ACTIVE
If set the client instance current have an active desktop session, i.e. TT_SendDesktopWindow() has be...
Definition: TeamTalk.h:3942
__CLIENTERRORMSG
Definition: TeamTalk.h:3778
User::uLocalSubscriptions
Subscriptions uLocalSubscriptions
A bitmask of what the local user subscribes to from this user. Invoking TT_DoSubscribe() and TT_DoUns...
Definition: TeamTalk.h:2236
TT_DoQuit
TEAMTALKDLL_API INT32 TT_DoQuit(IN TTInstance *lpTTInstance)
Quit from server.
TT_TRANSMITUSERS_MAX
#define TT_TRANSMITUSERS_MAX
Definition: TeamTalk.h:107
SoundDevice::uSoundDeviceFeatures
SoundDeviceFeatures uSoundDeviceFeatures
Additional features available for this sound device. The sound device features can be used to enable ...
Definition: TeamTalk.h:456
WebRTCAudioPreprocessor::fFixedGainFactor
float fFixedGainFactor
Gain factor. Default: 1.
Definition: TeamTalk.h:1320
TT_Mixer_SetWaveInControlSelected
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.
SpeexVBRCodec::bStereoPlayback
TTBOOL bStereoPlayback
Playback should be done in stereo. Doing so will disable 3d-positioning.
Definition: TeamTalk.h:1120
SOUND_VOLUME_MIN
The minimum volume.
Definition: TeamTalk.h:612
VideoFrame::nFrameBufferSize
INT32 nFrameBufferSize
The size in bytes of the buffer allocate in frameBuffer.
Definition: TeamTalk.h:884
AFF_MP3_32KBIT_FORMAT
Definition: TeamTalk.h:777
TT_DoJoinChannelByID
TEAMTALKDLL_API INT32 TT_DoJoinChannelByID(IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN const TTCHAR *szPassword)
Join an existing channel.
AudioInputProgress
The progress of the audio currently being processed as audio input.
Definition: TeamTalk.h:1597
TT_GetSoundDeviceEffects
TEAMTALKDLL_API TTBOOL TT_GetSoundDeviceEffects(IN TTInstance *lpTTInstance, OUT SoundDeviceEffects *lpSoundDeviceEffect)
Get the audio effects that are currently enabled.
AudioConfig::bEnableAGC
TTBOOL bEnableAGC
Users should enable automatic gain control.
Definition: TeamTalk.h:1529
AFF_NONE
Used to denote nothing selected.
Definition: TeamTalk.h:760
SOUNDDEVICEFEATURE_DENOISE
The SoundDevice can enable denoising. Enable denoising use property bEnableDenoising on SoundDeviceEf...
Definition: TeamTalk.h:372
CLIENTEVENT_CMD_FILE_REMOVE
A file has been removed from a channel.
Definition: TeamTalk.h:3423
AudioInputProgress
struct AudioInputProgress AudioInputProgress
The progress of the audio currently being processed as audio input.
TT_RestartSoundSystem
TEAMTALKDLL_API TTBOOL TT_RestartSoundSystem(void)
Reinitialize sound system (in order to detect new/removed devices).
USERRIGHT_UPDATE_SERVERPROPERTIES
User can update server properties.
Definition: TeamTalk.h:1663
TT_AutoPositionUsers
TEAMTALKDLL_API TTBOOL TT_AutoPositionUsers(IN TTInstance *lpTTInstance)
Automatically position users using 3D-sound.
TT_SetUserMediaStorageDir
TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDir(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN const TTCHAR *szFolderPath, IN const TTCHAR *szFileNameVars, IN AudioFileFormat uAFF)
Store user&#39;s audio to disk.
TT_GetChannelUsers
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.
__AUDIOINPUTPROGRESS
Definition: TeamTalk.h:3790
USERTYPE_NONE
Used internally to denote an unauthenticated user.
Definition: TeamTalk.h:1972
TT_Mixer_SetWaveOutVolume
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 &#39;enum&#39; of devices.
VideoCodec::nCodec
Codec nCodec
Specifies member holds the codec settings. So far there is only one video codec to choose from...
Definition: TeamTalk.h:1540
USERSTATE_MEDIAFILE_VIDEO
If set the user currently streams a video file. If this flag changes the event CLIENTEVENT_USER_STATE...
Definition: TeamTalk.h:2181
Channel::bPassword
TTBOOL bPassword
Whether password is required to join channel. Read-only property.
Definition: TeamTalk.h:2488
ClientKeepAlive::nUdpConnectRTXMSec
INT32 nUdpConnectRTXMSec
Client instance&#39;s interval for retransmitting UDP connect packets. UDP connect packets are only sent ...
Definition: TeamTalk.h:2732
SUBSCRIBE_INTERCEPT_USER_MSG
Intercept all user text messages sent by a user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2110
ClientStatistics::nMediaFileVideoBytesRecv
INT64 nMediaFileVideoBytesRecv
Video from media file data received (on UDP).
Definition: TeamTalk.h:2768
__MEDIAFILEPLAYBACK
Definition: TeamTalk.h:3787
TT_Palette_GetColorTable
TEAMTALKDLL_API unsigned char * TT_Palette_GetColorTable(IN BitmapFormat nBmpPalette, IN INT32 nIndex)
Get RGB values of the palette for the bitmap format.
TT_DESKTOPINPUT_MAX
#define TT_DESKTOPINPUT_MAX
Definition: TeamTalk.h:162
TT_Mixer_GetWaveInName
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.
MediaFileStatus
MediaFileStatus
Status of media file being written to disk.
Definition: TeamTalk.h:736
SERVERLOGEVENT_USER_TIMEDOUT
User disconnected due to connection timeout is logged to file by the server.
Definition: TeamTalk.h:1730
TTKEY_WINKEYCODE_TO_TTKEYCODE
Translate from Windows scan-code to TTKEYCODE. The Windows scan-code can be retrieved in Windows&#39; WM_...
Definition: TeamTalk.h:7533
ClientKeepAlive::nUdpKeepAliveIntervalMSec
INT32 nUdpKeepAliveIntervalMSec
Client instance&#39;s interval between sending UDP keep alive packets. The UDP keep alive packets are use...
Definition: TeamTalk.h:2719
SpeexVBRCodec
Speex audio codec settings for Variable Bitrate mode (VBR).
Definition: TeamTalk.h:1081
CLIENT_CONNECTION
Helper for CLIENT_CONNECTING and CLIENT_CONNECTED to see if TT_Disconnect should be called...
Definition: TeamTalk.h:3957
UserStatistics::nMediaFileVideoPacketsRecv
INT64 nMediaFileVideoPacketsRecv
Number of media file video packets received from user. A video frame can consist of several video pac...
Definition: TeamTalk.h:2349
TT_IsChannelOperator
TEAMTALKDLL_API TTBOOL TT_IsChannelOperator(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
Check whether user is operator of a channel.
CLIENTEVENT_DESKTOPWINDOW_TRANSFER
Used for tracking when a desktop window has been transmitted to the server.
Definition: TeamTalk.h:3672
TT_Mixer_SetWaveInMute
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInMute(IN INT32 nWaveDeviceID, IN TTBOOL bEnable)
Mute/unmute microphone input.
TTSoundLoop
VOID TTSoundLoop
Pointer to a sound loop for testing sound devices created by TT_StartSoundLoopbackTest() ...
Definition: TeamTalk.h:3988
MSGTYPE_CUSTOM
A custom user to user text message. Works the same way as MSGTYPE_USER.
Definition: TeamTalk.h:2385
TT_DoKickUser
TEAMTALKDLL_API INT32 TT_DoKickUser(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
Kick user from either channel or server.
FILETRANSFER_ERROR
Error during file transfer.
Definition: TeamTalk.h:2585
ServerStatistics::nDesktopBytesTX
INT64 nDesktopBytesTX
The number of bytes in desktop packets sent from the server to clients.
Definition: TeamTalk.h:1904
DesktopWindow::bmpFormat
BitmapFormat bmpFormat
The format of the bitmap.
Definition: TeamTalk.h:976
SpeexDSP::nEchoSuppressActive
INT32 nEchoSuppressActive
Set maximum attenuation of the residual echo in dB when near end is active (negative number)...
Definition: TeamTalk.h:1282
DesktopInput::uKeyState
DesktopKeyStates uKeyState
The state of the key (or mouse button) pressed, i.e. if it&#39;s up or down.
Definition: TeamTalk.h:1037
USERRIGHT_UPLOAD_FILES
User can upload files to channels.
Definition: TeamTalk.h:1657
__CLIENTSTATISTICS
Definition: TeamTalk.h:3756
TT_ReleaseUserDesktopWindow
TEAMTALKDLL_API TTBOOL TT_ReleaseUserDesktopWindow(IN TTInstance *lpTTInstance, IN DesktopWindow *lpDesktopWindow)
Release memory allocated by the DesktopWindow.
TT_HotKey_GetKeyString
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.
__VIDEOCODEC
Definition: TeamTalk.h:3771
ClientStatistics::nMediaFileAudioBytesSent
INT64 nMediaFileAudioBytesSent
Audio from media file data sent (on UDP).
Definition: TeamTalk.h:2762
WebMVP8Codec
struct WebMVP8Codec WebMVP8Codec
WebM video codec settings.
TextMessage
A struct containing the properties of a text message sent by a user.
Definition: TeamTalk.h:2394
CLIENTEVENT_CON_LOST
Connection to server has been lost.
Definition: TeamTalk.h:3189
CLIENTEVENT_CMD_CHANNEL_NEW
A new channel has been created.
Definition: TeamTalk.h:3360
ServerProperties::nMaxMediaFileTxPerSecond
INT32 nMaxMediaFileTxPerSecond
The maximum number of bytes per second which the server will allow for media file packets...
Definition: TeamTalk.h:1823
TTInstance
VOID TTInstance
Pointer to a TeamTalk client instance created by TT_InitTeamTalk.
Definition: TeamTalk.h:3982
MFS_PLAYING
Playing media file with updated uElapsedMSec of MediaFileInfo.
Definition: TeamTalk.h:751
UserStates
UINT32 UserStates
A bitmask based on UserState indicating a User&#39;s current state.
Definition: TeamTalk.h:2191
CMDERR_SUCCESS
Command indicating success. Only used internally.
Definition: TeamTalk.h:2836
STREAMTYPE_NONE
No stream.
Definition: TeamTalk.h:224
TT_DoRecvFile
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.
CLIENTEVENT_CMD_USER_LOGGEDIN
A new user logged on to the server.
Definition: TeamTalk.h:3296
SOUNDSYSTEM_WINMM
Windows legacy audio system. Should be used on Windows Mobile.
Definition: TeamTalk.h:292
TT_PaintVideoFrameEx
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&#39;s video frame using a Windows&#39; DC (device context).
SERVERLOGEVENT_USER_UNBANNED
User was removed from ban list is logged to file by the server.
Definition: TeamTalk.h:1736
TT_SwapTeamTalkHWND
TEAMTALKDLL_API TTBOOL TT_SwapTeamTalkHWND(IN TTInstance *lpTTInstance, IN HWND hWnd)
Replace the HWND passed as parameter to TT_InitTeamTalk with this HWND.
TT_DoUpdateChannel
TEAMTALKDLL_API INT32 TT_DoUpdateChannel(IN TTInstance *lpTTInstance, IN const Channel *lpChannel)
Update a channel&#39;s properties.
TT_Windows_GetDesktopActiveHWND
TEAMTALKDLL_API HWND TT_Windows_GetDesktopActiveHWND(void)
Get the handle (HWND) of the window which is currently active (focused) on the Windows desktop...
SOUND_VU_MAX
The maximum value of recorded audio.
Definition: TeamTalk.h:584
AFF_MP3_256KBIT_FORMAT
Definition: TeamTalk.h:783
SpeexCodec::nTxIntervalMSec
INT32 nTxIntervalMSec
Milliseconds of audio data before each transmission.
Definition: TeamTalk.h:1068
TT_DoPing
TEAMTALKDLL_API INT32 TT_DoPing(IN TTInstance *lpTTInstance)
Ping server and wait for server to reply.
SpeexCodec
Speex audio codec settings for Constant Bitrate mode (CBR).
Definition: TeamTalk.h:1051
TT_DoNewUserAccount
TEAMTALKDLL_API INT32 TT_DoNewUserAccount(IN TTInstance *lpTTInstance, IN const UserAccount *lpUserAccount)
Issue command to create a new user account on the server.
TTMessage::nClientEvent
ClientEvent nClientEvent
The event&#39;s message number.
Definition: TeamTalk.h:3809
TT_InitSoundDuplexDevices
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...
USERRIGHT_TRANSMIT_MEDIAFILE
User is allowed to stream media files to channel.
Definition: TeamTalk.h:1684
TTAudioPreprocessor
Use TeamTalk&#39;s internal audio preprocessor for gain audio. Same as used for TT_SetSoundInputGainLevel...
Definition: TeamTalk.h:1287
TT_GetSoundDevices
TEAMTALKDLL_API TTBOOL TT_GetSoundDevices(IN OUT SoundDevice *lpSoundDevices, IN OUT INT32 *lpnHowMany)
Retrieve list of sound devices for recording and playback.
USERRIGHT_NONE
Users who log onto the server has none of the rights below.
Definition: TeamTalk.h:1628
__WEBMVP8CODEC
Definition: TeamTalk.h:3765
TextMessage::nChannelID
INT32 nChannelID
Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.
Definition: TeamTalk.h:2406
CLIENTEVENT_STREAM_MEDIAFILE
Media file being streamed to a channel is processing.
Definition: TeamTalk.h:3686
ClientStatistics
struct ClientStatistics ClientStatistics
Statistics of bandwidth usage and ping times in the local client instance.
ServerStatistics::nVoiceBytesRX
INT64 nVoiceBytesRX
The number of bytes in audio packets received by the server from clients.
Definition: TeamTalk.h:1889
UserAccount
struct UserAccount UserAccount
A struct containing the properties of a user account.
TT_AcquireUserAudioBlock
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.
Codec
Codec
The codecs supported.
Definition: TeamTalk.h:1476
TT_ConnectEx
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.
TextMessage::nToUserID
INT32 nToUserID
Set to zero if channel message.
Definition: TeamTalk.h:2403
EncryptionContext::bVerifyClientOnce
TTBOOL bVerifyClientOnce
Whether to only verify client&#39;s certificate once during initial connection.
Definition: TeamTalk.h:2680
ClientFlag
ClientFlag
Flags used to describe the the client instance current state.
Definition: TeamTalk.h:3877
TT_SetVoiceActivationStopDelay
TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationStopDelay(IN TTInstance *lpTTInstance, IN INT32 nDelayMSec)
Set the delay of when voice activation should be stopped.
AFF_WAVE_FORMAT
Store in PCM 16-bit wave format.
Definition: TeamTalk.h:773
TTKeyTranslate
TTKeyTranslate
Translate to and from TeamTalk&#39;s intermediate key-codes (TTKEYCODE).
Definition: TeamTalk.h:7526
SoundDeviceFeature
SoundDeviceFeature
Features available on a sound device. Checkout uSoundDeviceFeatures on SoundDevice.
Definition: TeamTalk.h:351
FourCC
FourCC
The picture format used by a capture device.
Definition: TeamTalk.h:813
VideoFormat::picFourCC
FourCC picFourCC
Picture format for capturing.
Definition: TeamTalk.h:851
CLIENTEVENT_CMD_MYSELF_KICKED
The client instance was kicked from a channel.
Definition: TeamTalk.h:3284
TT_GetServerUsers
TEAMTALKDLL_API TTBOOL TT_GetServerUsers(IN TTInstance *lpTTInstance, IN OUT User *lpUsers, IN OUT INT32 *lpnHowMany)
Get all the users on the server.
DESKTOPKEYSTATE_DOWN
The key is pressed.
Definition: TeamTalk.h:1004
TT_HotKey_Unregister
TEAMTALKDLL_API TTBOOL TT_HotKey_Unregister(IN TTInstance *lpTTInstance, IN INT32 nHotKeyID)
Unregister a registered hotkey.
WebRTCAudioPreprocessor
WebRTC&#39;s audio preprocessor.
Definition: TeamTalk.h:1311
TTKEY_TTKEYCODE_TO_WINKEYCODE
Translate from TTKEYCODE to Windows scan-code.
Definition: TeamTalk.h:7535
CLIENTEVENT_CMD_CHANNEL_REMOVE
A channel has been removed.
Definition: TeamTalk.h:3381
SpeexDSP
Speex DSP is used for specifying how recorded audio from a sound input device should be preprocessed ...
Definition: TeamTalk.h:1227
BANTYPE_IPADDR
Ban szIPAddress specified in BannedUser.
Definition: TeamTalk.h:1936
TT_Windows_GetDesktopWindowHWND
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 FALS...
ServerProperties::nUdpPort
INT32 nUdpPort
The server&#39;s UDP port.
Definition: TeamTalk.h:1837
TT_StartVideoCaptureTransmission
TEAMTALKDLL_API TTBOOL TT_StartVideoCaptureTransmission(IN TTInstance *lpTTInstance, IN const VideoCodec *lpVideoCodec)
Start transmitting from video capture device.
UserStatistics::nMediaFileAudioPacketsLost
INT64 nMediaFileAudioPacketsLost
Number of media file audio packets lost from user.
Definition: TeamTalk.h:2346
SoundSystem
SoundSystem
The supported sound systems.
Definition: TeamTalk.h:287
ClientStatistics::nVoiceBytesRecv
INT64 nVoiceBytesRecv
Voice data received (on UDP).
Definition: TeamTalk.h:2756
TT_GetMyUserID
TEAMTALKDLL_API INT32 TT_GetMyUserID(IN TTInstance *lpTTInstance)
Get the local client instance&#39;s user ID.
MSGTYPE_BROADCAST
A broadcast message. Requires USERRIGHT_TEXTMESSAGE_BROADCAST.
Definition: TeamTalk.h:2382
TT_GetChannelFile
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.
CMDERR_AUDIOCODEC_BITRATE_LIMIT_EXCEEDED
The selected AudioCodec exceeds what the server allows.
Definition: TeamTalk.h:2944
__TTBOOL
Definition: TeamTalk.h:3779
SERVERLOGEVENT_USER_TEXTMESSAGE_BROADCAST
User&#39;s broadcast text messages are logged to file by the server.
Definition: TeamTalk.h:1752
UserStatistics::nMediaFileVideoFramesRecv
INT64 nMediaFileVideoFramesRecv
Number of media file video frames received from user.
Definition: TeamTalk.h:2351
SpeexVBRCodec::nBitRate
INT32 nBitRate
The bitrate at which the audio codec should output encoded audio data. Dividing it by 8 gives roughly...
Definition: TeamTalk.h:1097
TT_StopStreamingMediaFileToChannel
TEAMTALKDLL_API TTBOOL TT_StopStreamingMediaFileToChannel(IN TTInstance *lpTTInstance)
Stop streaming media file to channel.
JitterConfig::bUseAdativeDejitter
TTBOOL bUseAdativeDejitter
Turns adaptive jitter buffering ON/OFF. Default is OFF.
Definition: TeamTalk.h:2811
STREAMTYPE_DESKTOPINPUT
Desktop input stream type which is keyboard or mouse input being transmitted.
Definition: TeamTalk.h:243
TT_TRANSMITQUEUE_MAX
#define TT_TRANSMITQUEUE_MAX
Definition: TeamTalk.h:151
SUBSCRIBE_VIDEOCAPTURE
Subscribing to STREAMTYPE_VIDEOCAPTURE.
Definition: TeamTalk.h:2098
DESKTOPKEYSTATE_UP
The key is released.
Definition: TeamTalk.h:1006
TT_DoBanUser
TEAMTALKDLL_API INT32 TT_DoBanUser(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
Issue a ban command on a user.
__INT32
Definition: TeamTalk.h:3780
ClientKeepAlive
struct ClientKeepAlive ClientKeepAlive
Control timers for sending keep alive information to the server.
ShareWindow::hWnd
HWND hWnd
The Windows handle of the window.
Definition: TeamTalk.h:5547
TT_EnableVoiceActivation
TEAMTALKDLL_API TTBOOL TT_EnableVoiceActivation(IN TTInstance *lpTTInstance, IN TTBOOL bEnable)
Enable voice activation.
CLIENTEVENT_CMD_SUCCESS
The server successfully processed a command issued by the local client instance.
Definition: TeamTalk.h:3244
StreamTypes
UINT32 StreamTypes
Mask of StreamType.
Definition: TeamTalk.h:273
FOURCC_I420
Prefered image format with the lowest bandwidth usage. A 640x480 pixel image takes up 460...
Definition: TeamTalk.h:819
TTMessage::user
User user
Valid if ttType is __USER.
Definition: TeamTalk.h:3837
AudioPreprocessor::ttpreprocessor
TTAudioPreprocessor ttpreprocessor
Used when nPreprocessor is TEAMTALK_AUDIOPREPROCESSOR.
Definition: TeamTalk.h:1430
INTERR_AUDIOPREPROCESSOR_INIT_FAILED
AudioPreprocessor failed to initialize.
Definition: TeamTalk.h:3110
CLIENTEVENT_USER_DESKTOPWINDOW
A new or updated desktop window has been received from a user.
Definition: TeamTalk.h:3508
FileTransfer::nFileSize
INT64 nFileSize
The size of the file being transferred.
Definition: TeamTalk.h:2608
CLIENTEVENT_CMD_ERROR
The server rejected a command issued by the local client instance.
Definition: TeamTalk.h:3231
CMDERR_INCORRECT_OP_PASSWORD
Invalid password for becoming channel operator.
Definition: TeamTalk.h:2938
ShareWindow::nWndY
INT32 nWndY
Y coordinate of the window relative to the Windows desktop.
Definition: TeamTalk.h:5551
TT_GetSoundInputLevel
TEAMTALKDLL_API INT32 TT_GetSoundInputLevel(IN TTInstance *lpTTInstance)
Get the volume level of the current recorded audio.
TT_VIDEOFORMATS_MAX
#define TT_VIDEOFORMATS_MAX
Definition: TeamTalk.h:101
SERVERLOGEVENT_CHANNEL_REMOVED
User removed a channel is logged to file by the server.
Definition: TeamTalk.h:1758
OpusCodec::nBitRate
INT32 nBitRate
Bitrate for encoded audio. Should be between OPUS_MIN_BITRATE and OPUS_MAX_BITRATE.
Definition: TeamTalk.h:1166
SpeexDSP::nGainLevel
INT32 nGainLevel
A value from 0 to 32768. Default is 8000. Value is ignored if bEnableAGC is FALSE.
Definition: TeamTalk.h:1239
TT_CHANNELS_OPERATOR_MAX
#define TT_CHANNELS_OPERATOR_MAX
Definition: TeamTalk.h:145
ClientStatistics::nUdpServerSilenceSec
INT32 nUdpServerSilenceSec
The number of seconds nothing has been received by the client on UDP.
Definition: TeamTalk.h:2786
TT_DoQueryServerStats
TEAMTALKDLL_API INT32 TT_DoQueryServerStats(IN TTInstance *lpTTInstance)
Get the server&#39;s current statistics.
USERRIGHT_MOVE_USERS
User can move users from one channel to another.
Definition: TeamTalk.h:1652
SUBSCRIBE_INTERCEPT_MEDIAFILE
Intercept all media file data sent by a user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2138
TT_SetSoundOutputMute
TEAMTALKDLL_API TTBOOL TT_SetSoundOutputMute(IN TTInstance *lpTTInstance, IN TTBOOL bMuteAll)
Set all users mute.
UserRights
UINT32 UserRights
A bitmask based on UserRight for holding the rights users have who log on the server.
Definition: TeamTalk.h:1706
FILETRANSFER_FINISHED
File transfer finished.
Definition: TeamTalk.h:2589
TextMsgType
TextMsgType
Text message types.
Definition: TeamTalk.h:2368
CLIENT_SNDOUTPUT_READY
If set the client instance&#39;s sound output device has been initialized, i.e. TT_InitSoundOutputDevice ...
Definition: TeamTalk.h:3891
ServerStatistics::nVideoCaptureBytesRX
INT64 nVideoCaptureBytesRX
The number of bytes in video packets received by the server from clients.
Definition: TeamTalk.h:1895
TT_GetClientStatistics
TEAMTALKDLL_API TTBOOL TT_GetClientStatistics(IN TTInstance *lpTTInstance, OUT ClientStatistics *lpClientStatistics)
Retrieve client statistics of bandwidth usage and response times.
DesktopInput
A struct containing a mouse or keyboard event.
Definition: TeamTalk.h:1019
TT_DoLeaveChannel
TEAMTALKDLL_API INT32 TT_DoLeaveChannel(IN TTInstance *lpTTInstance)
Leave the current channel.
VideoCodec
Struct used for specifying the video codec to use.
Definition: TeamTalk.h:1535
USERSTATE_VOICE
If set the user is currently talking. If this flag changes the event CLIENTEVENT_USER_STATECHANGE is ...
Definition: TeamTalk.h:2156
AudioConfig::nGainLevel
INT32 nGainLevel
Reference gain level to be used by all users.
Definition: TeamTalk.h:1531
CLIENTEVENT_USER_DESKTOPCURSOR
A user has sent the position of the mouse cursor.
Definition: TeamTalk.h:3520
RemoteFile::nFileSize
INT64 nFileSize
The size of the file.
Definition: TeamTalk.h:2628
CMDERR_MISSING_PARAMETER
Command cannot be performed due to missing parameter. Only used internally.
Definition: TeamTalk.h:2850
TT_StartSoundLoopbackTest
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...
SOUNDDEVICEFEATURE_NONE
No sound device features are available on this sound device.
Definition: TeamTalk.h:355
CMDERR_MAX_CHANNEL_USERS_EXCEEDED
Cannot join channel because it has maximum number of users.
Definition: TeamTalk.h:2888
TT_STRLEN
#define TT_STRLEN
Definition: TeamTalk.h:87
UserStatistics
Packet reception and data statistics for a user.
Definition: TeamTalk.h:2326
UserAccount::abusePrevent
AbusePrevention abusePrevent
Properties which can be set to prevent abuse of a server, e.g. limit number of commands issued...
Definition: TeamTalk.h:2051
UserAccount::nUserData
INT32 nUserData
A user data field which can be used for additional information. The nUserData field of the User struc...
Definition: TeamTalk.h:2031
TT_GetChannelPath
TEAMTALKDLL_API TTBOOL TT_GetChannelPath(IN TTInstance *lpTTInstance, IN INT32 nChannelID, OUT TTCHAR szChannelPath[TT_STRLEN])
Get the channel&#39;s path. Channels are separated by &#39;/&#39;.
ServerStatistics::nVideoCaptureBytesTX
INT64 nVideoCaptureBytesTX
The number of bytes in video packets sent from the server to clients.
Definition: TeamTalk.h:1892
TextMessage::nMsgType
TextMsgType nMsgType
The type of text message.
Definition: TeamTalk.h:2397
TT_Mixer_SetWaveInBoost
TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInBoost(IN INT32 nWaveDeviceID, IN TTBOOL bEnable)
Enable and disable microphone boost.
TextMessage
struct TextMessage TextMessage
A struct containing the properties of a text message sent by a user.
INTERR_TTMESSAGE_QUEUE_OVERFLOW
TTMessage event queue overflowed.
Definition: TeamTalk.h:3118
__WEBRTCAUDIOPREPROCESSOR
Definition: TeamTalk.h:3792
TTMessage::ttType
TTType ttType
Specifies which member to access in the union.
Definition: TeamTalk.h:3813
TT_Mixer_GetWaveOutVolume
TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutVolume(IN INT32 nWaveDeviceID, IN MixerControl nControl)
Get the volume of a Windows Mixer Wave-Out device from the &#39;enum&#39; of devices.
CMDERR_FILE_ALREADY_EXISTS
File already exist.
Definition: TeamTalk.h:3054
TT_GetUserStatistics
TEAMTALKDLL_API TTBOOL TT_GetUserStatistics(IN TTInstance *lpTTInstance, IN INT32 nUserID, OUT UserStatistics *lpUserStatistics)
Get statistics for data and packet reception from a user.
CLIENTEVENT_USER_VIDEOCAPTURE
A new video frame from a video capture device was received from a user.
Definition: TeamTalk.h:3478
ClientStatistics::nVideoCaptureBytesRecv
INT64 nVideoCaptureBytesRecv
Video data received (on UDP).
Definition: TeamTalk.h:2760
CMDERR_LOGINSERVICE_UNAVAILABLE
The login service is currently unavailable.
Definition: TeamTalk.h:3069
SOUNDSYSTEM_OPENSLES_ANDROID
Android sound API.
Definition: TeamTalk.h:322
TT_GetUserByUsername
TEAMTALKDLL_API TTBOOL TT_GetUserByUsername(IN TTInstance *lpTTInstance, IN const TTCHAR *szUsername, OUT User *lpUser)
Get the user with the specified username.
User::uUserState
UserStates uUserState
A bitmask of the user&#39;s current state, e.g. talking, muted, etc.
Definition: TeamTalk.h:2260
CMDERR_COMMAND_FLOOD
Command flooding prevented by server.
Definition: TeamTalk.h:2961
CMDERR_SERVER_BANNED
IP-address has been banned from server.
Definition: TeamTalk.h:2893
CMDERR_UNKNOWN_COMMAND
The server doesn&#39;t support the issued command.
Definition: TeamTalk.h:2847
TT_SetSoundOutputVolume
TEAMTALKDLL_API TTBOOL TT_SetSoundOutputVolume(IN TTInstance *lpTTInstance, IN INT32 nVolume)
Set master volume.
CLIENT_SNDOUTPUT_MUTE
If set the client instance has muted all users.
Definition: TeamTalk.h:3914
TTCHAR
WCHAR TTCHAR
TeamTalk uses Unicode on Windows.
Definition: TeamTalk.h:51
BANTYPE_CHANNEL
The ban applies to the channel specified in the szChannel of BannedUser. Otherwise the ban applies to...
Definition: TeamTalk.h:1934
TT_Mixer_GetMixerCount
TEAMTALKDLL_API INT32 TT_Mixer_GetMixerCount(void)
Get the number of Windows Mixers available.
TTMessage::textmessage
TextMessage textmessage
Valid if ttType is __TEXTMESSAGE.
Definition: TeamTalk.h:3835
TT_InitTeamTalk
TEAMTALKDLL_API TTInstance * TT_InitTeamTalk(IN HWND hWnd, IN UINT32 uMsg)
Create a new TeamTalk client instance where events are posted to a HWND.
CMDERR_INVALID_USERNAME
Invalid username for UserAccount.
Definition: TeamTalk.h:2861
TT_HotKey_InstallTestHook
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...
SOUND_VU_MIN
The minimum value of recorded audio.
Definition: TeamTalk.h:590
AudioBlock::nSamples
INT32 nSamples
The number of samples in the raw audio array.
Definition: TeamTalk.h:672
ClientStatistics::nVoiceBytesSent
INT64 nVoiceBytesSent
Voice data sent (on UDP).
Definition: TeamTalk.h:2754
CLIENTEVENT_FILETRANSFER
A file transfer is processing.
Definition: TeamTalk.h:3655
UserStatistics
struct UserStatistics UserStatistics
Packet reception and data statistics for a user.
AudioConfig
struct AudioConfig AudioConfig
Audio configuration for clients in a channel.
TT_GetUserJitterControl
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.
WAVEIN_WAVEOUT
Definition: TeamTalk.h:7739
TT_InitVideoCaptureDevice
TEAMTALKDLL_API TTBOOL TT_InitVideoCaptureDevice(IN TTInstance *lpTTInstance, IN const TTCHAR *szDeviceID, IN const VideoFormat *lpVideoFormat)
Initialize a video capture device.
User::uVersion
UINT32 uVersion
The user&#39;s client version. This property is set by the server and will not change after login...
Definition: TeamTalk.h:2224
TT_StopVideoCaptureTransmission
TEAMTALKDLL_API TTBOOL TT_StopVideoCaptureTransmission(IN TTInstance *lpTTInstance)
Stop transmitting from video capture device.
AbusePrevention
struct AbusePrevention AbusePrevention
Properties to prevent server abuse.
TT_SetSoundInputPreprocess
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 devic...
CLIENT_MUX_AUDIOFILE
If set the client instance is currently muxing audio streams into a single file. This is enabled by c...
Definition: TeamTalk.h:3946
__USERACCOUNT
Definition: TeamTalk.h:3768
BannedUser
struct BannedUser BannedUser
A struct containing the properties of a banned user.
OpusCodec
struct OpusCodec OpusCodec
OPUS audio codec settings. For detailed information about the OPUS codec check out http://www...
User::nChannelID
INT32 nChannelID
The channel which the user is currently participating in. 0 if none. This value can change as a resul...
Definition: TeamTalk.h:2230
USERRIGHT_OPERATOR_ENABLE
User can make other users channel operator.
Definition: TeamTalk.h:1655
TT_Mixer_GetWaveInSelected
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 &#39;enum&#39; of devices.
StreamType
StreamType
The types of streams which are available for transmission.
Definition: TeamTalk.h:221
DesktopKeyState
DesktopKeyState
The state of a key (or mouse button), i.e. if it&#39;s pressed or released.
Definition: TeamTalk.h:999
SOUND_GAIN_DEFAULT
The default gain level.
Definition: TeamTalk.h:631
CLIENTEVENT_USER_RECORD_MEDIAFILE
A media file recording has changed status.
Definition: TeamTalk.h:3558
TT_CloseSoundLoopbackTest
TEAMTALKDLL_API TTBOOL TT_CloseSoundLoopbackTest(IN TTSoundLoop *lpTTSoundLoop)
Stop recorder and playback test.
CLIENTEVENT_CON_SUCCESS
Connected successfully to the server.
Definition: TeamTalk.h:3161
WebRTCAudioPreprocessor::fInitialSaturationMarginDB
float fInitialSaturationMarginDB
Definition: TeamTalk.h:1379
INTERR_SNDOUTPUT_FAILURE
A sound output device failed.
Definition: TeamTalk.h:3096
TT_Mixer_SetWaveInSelected
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 &#39;enum&#39; of devices.
TT_DoChannelOpEx
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.
VideoCodec
struct VideoCodec VideoCodec
Struct used for specifying the video codec to use.
TT_AcquireUserDesktopWindow
TEAMTALKDLL_API DesktopWindow * TT_AcquireUserDesktopWindow(IN TTInstance *lpTTInstance, IN INT32 nUserID)
Acquire a user&#39;s desktop window (bitmap image).
AudioInputProgress::nStreamID
INT32 nStreamID
The stream ID provided in the AudioBlock.
Definition: TeamTalk.h:1600
DesktopInput
struct DesktopInput DesktopInput
A struct containing a mouse or keyboard event.
AudioCodec
struct AudioCodec AudioCodec
Struct used for specifying which audio codec a channel uses.
MediaFileInfo
Struct describing the audio and video format used by a media file.
Definition: TeamTalk.h:1556
TT_InitSoundOutputSharedDevice
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.
USERRIGHT_BAN_USERS
User can add and remove banned users.
Definition: TeamTalk.h:1649
CHANNEL_CLASSROOM
Voice and video transmission in the channel is controlled by a channel operator.
Definition: TeamTalk.h:2441
SOUNDDEVICEFEATURE_AEC
The SoundDevice can enable Acoustic Echo Canceler (AEC). Enable AEC use property bEnableAEC on SoundD...
Definition: TeamTalk.h:361
SpeexCodec::bStereoPlayback
TTBOOL bStereoPlayback
Playback should be done in stereo. Doing so will disable 3d-positioning.
Definition: TeamTalk.h:1074
BMP_RGB8_PALETTE
The bitmap is a 256-colored bitmap requiring a palette. The default 256 colored palette is the Netsca...
Definition: TeamTalk.h:938
__AUDIOCONFIG
Definition: TeamTalk.h:3772
ClientStatistics::nTcpPingTimeMs
INT32 nTcpPingTimeMs
Response time to server on TCP (based on ping/pong sent at a specified interval. Set to -1 if not cur...
Definition: TeamTalk.h:2780
VideoFrame::bKeyFrame
TTBOOL bKeyFrame
Whether the image acquired is a key-frame. If it is not a key-frame and there has been packet loss or...
Definition: TeamTalk.h:879
TT_SendDesktopWindow
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.
Channel::nDiskQuota
INT64 nDiskQuota
Number of bytes available for file storage.
Definition: TeamTalk.h:2496
USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO
User is allowed to stream video files to channel.
Definition: TeamTalk.h:1681
SoundDeviceEffects
struct SoundDeviceEffects SoundDeviceEffects
Set up audio effects supported by the sound device.
CLIENT_TX_DESKTOP
If set the client instance is currently transmitting a desktop window. A desktop window update is iss...
Definition: TeamTalk.h:3937
SERVERLOGEVENT_USER_UPDATED
User&#39;s status is logged to file by the server.
Definition: TeamTalk.h:1738
CLIENTEVENT_CON_FAILED
Failed to connect to server.
Definition: TeamTalk.h:3172
__VIDEOCAPTUREDEVICE
Definition: TeamTalk.h:3770
VideoFrame
A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer.
Definition: TeamTalk.h:861
ShareWindow
A struct which describes the properties of a window which can be shared.
Definition: TeamTalk.h:5544
__SERVERPROPERTIES
Definition: TeamTalk.h:3760
Channel::nMaxUsers
INT32 nMaxUsers
Max number of users in channel.
Definition: TeamTalk.h:2501
VideoCaptureDevice
struct VideoCaptureDevice VideoCaptureDevice
A struct containing the properties of a video capture device.
SOUNDSYSTEM_AUDIOUNIT_IOS
Same as SOUNDSYSTEM_AUDIOUNIT.
Definition: TeamTalk.h:344
AudioFormat
Struct describing the audio format used by a media file.
Definition: TeamTalk.h:793
CMDERR_BAN_NOT_FOUND
Banned IP-address does not exist.
Definition: TeamTalk.h:3029
VideoFormat
struct VideoFormat VideoFormat
A struct containing the properties of a video capture format.
ServerStatistics
struct ServerStatistics ServerStatistics
A struct containing the server&#39;s statistics, i.e. bandwidth usage and user activity.
INTERR_SPEEXDSP_INIT_FAILED
Same as INTERR_AUDIOPREPROCESSOR_INIT_FAILED.
Definition: TeamTalk.h:3102
Channel
struct Channel Channel
A struct containing the properties of a channel.
JitterConfig
Configuration parameters for the Jitter Buffer.
Definition: TeamTalk.h:2806
User::nStoppedDelayMediaFile
INT32 nStoppedDelayMediaFile
The delay of when a user should no longer be considered playing audio of a media file.
Definition: TeamTalk.h:2283
TT_GetRootChannelID
TEAMTALKDLL_API INT32 TT_GetRootChannelID(IN TTInstance *lpTTInstance)
Get the root channel&#39;s ID.
SERVERLOGEVENT_USER_JOINEDCHANNEL
User joined a channel is logged to file by the server.
Definition: TeamTalk.h:1740
TT_DBG_WriteAudioFileTone
TEAMTALKDLL_API TTBOOL TT_DBG_WriteAudioFileTone(IN const MediaFileInfo *lpMediaFileInfo, IN INT32 nFrequency)
Channel::nTransmitUsersQueueDelayMSec
INT32 nTransmitUsersQueueDelayMSec
Delay for switching to next active voice user in transmitUsersQueue.
Definition: TeamTalk.h:2575
User::nStoppedDelayVoice
INT32 nStoppedDelayVoice
The delay of when a user should no longer be considered as talking.
Definition: TeamTalk.h:2279
SoundDevice::outputSampleRates
INT32 outputSampleRates[TT_SAMPLERATES_MAX]
Supported sample rates by device for playback. A zero value terminates the list of supported sample r...
Definition: TeamTalk.h:448
TTMessage::mediafileinfo
MediaFileInfo mediafileinfo
Valid if ttType is __MEDIAFILEINFO.
Definition: TeamTalk.h:3827
__REMOTEFILE
Definition: TeamTalk.h:3757
User::nUserData
INT32 nUserData
The nUserData of the user&#39;s UserAccount. This field can be use to denote e.g. a database ID...
Definition: TeamTalk.h:2212
AudioCodec::speex_vbr
SpeexVBRCodec speex_vbr
Speex codec settings if nCodec is SPEEX_VBR_CODEC.
Definition: TeamTalk.h:1506
AudioFileFormat
AudioFileFormat
Media file formats supported for muxed audio recordings.
Definition: TeamTalk.h:757
JitterConfig::nFixedDelayMSec
INT32 nFixedDelayMSec
The fixed delay in milliseconds. Default = 0.
Definition: TeamTalk.h:2809
ServerProperties::nLoginDelayMSec
INT32 nLoginDelayMSec
Number of msec before an IP-address can make another login attempt. If less than this amount then TT_...
Definition: TeamTalk.h:1854
User::nVolumeVoice
INT32 nVolumeVoice
The user&#39;s voice volume level. Note that it&#39;s a virtual volume which is being set since the master vo...
Definition: TeamTalk.h:2269
FOURCC_NONE
Internal use to denote no supported formats.
Definition: TeamTalk.h:816
TT_GetMessage
TEAMTALKDLL_API TTBOOL TT_GetMessage(IN TTInstance *lpTTInstance, OUT TTMessage *pMsg, IN const INT32 *pnWaitMs)
Poll for events in the client instance.
WAVEOUT_MASTER
Definition: TeamTalk.h:7733
AFF_MP3_64KBIT_FORMAT
Definition: TeamTalk.h:779
BannedUser
A struct containing the properties of a banned user.
Definition: TeamTalk.h:1948
WebRTCAudioPreprocessor::fMaxOutputNoiseLevelDBFS
float fMaxOutputNoiseLevelDBFS
Definition: TeamTalk.h:1385
WAVEIN_LINEIN
Definition: TeamTalk.h:7738
ServerStatistics::nMediaFileBytesRX
INT64 nMediaFileBytesRX
The number of bytes in media file packets received by the server from clients.
Definition: TeamTalk.h:1901
UserRight
UserRight
The rights users have once they have logged on to the server.
Definition: TeamTalk.h:1624
CMDERR_ACCOUNT_NOT_FOUND
Cannot find user account.
Definition: TeamTalk.h:3044
STREAMTYPE_CHANNELMSG
Channel text messages as stream type.
Definition: TeamTalk.h:255
TT_GetServerProperties
TEAMTALKDLL_API TTBOOL TT_GetServerProperties(IN TTInstance *lpTTInstance, OUT ServerProperties *lpServerProperties)
Get the server&#39;s properties.
TT_UpdateLocalPlayback
TEAMTALKDLL_API TTBOOL TT_UpdateLocalPlayback(IN TTInstance *lpTTInstance, IN INT32 nPlaybackSessionID, IN const MediaFilePlayback *lpMediaFilePlayback)
ServerProperties::nMaxLoginAttempts
INT32 nMaxLoginAttempts
The maximum number of logins with wrong password before banning user&#39;s IP-address.
Definition: TeamTalk.h:1807
CLIENT_SNDINOUTPUT_DUPLEX
If set the client instance is running in sound duplex mode where multiple audio output streams are mi...
Definition: TeamTalk.h:3897
TT_GetServerChannels
TEAMTALKDLL_API TTBOOL TT_GetServerChannels(IN TTInstance *lpTTInstance, IN OUT Channel *lpChannels, IN OUT INT32 *lpnHowMany)
Get all the channels on the server.
SoundDevice::nDefaultSampleRate
INT32 nDefaultSampleRate
The default sample rate for the sound device.
Definition: TeamTalk.h:450
ClientError
ClientError
Errors which can occur either as a result of client commands or as a result of internal errors...
Definition: TeamTalk.h:2833
CHANNEL_OPERATOR_RECVONLY
Only channel operators (and administrators) will receive audio/video/desktop transmissions. Default channel users will only see transmissions from operators and/or administrators.
Definition: TeamTalk.h:2446
TT_GetMyUserType
TEAMTALKDLL_API UserTypes TT_GetMyUserType(IN TTInstance *lpTTInstance)
Get the client instance&#39;s user type.
TT_CloseSoundInputDevice
TEAMTALKDLL_API TTBOOL TT_CloseSoundInputDevice(IN TTInstance *lpTTInstance)
Shutdown the input sound device.
DesktopWindow
struct DesktopWindow DesktopWindow
A struct containing the properties of a shared desktop window.
TT_Mixer_GetWaveOutName
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.
CLIENT_AUTHORIZED
If set the client instance is logged on to a server, i.e. got CLIENTEVENT_CMD_MYSELF_LOGGEDIN event a...
Definition: TeamTalk.h:3961
__AUDIOBLOCK
Definition: TeamTalk.h:3775
SOUND_GAIN_MAX
The maximum gain level.
Definition: TeamTalk.h:621
STREAMTYPE_VIDEOCAPTURE
Video capture stream type which is video recorded from a webcam.
Definition: TeamTalk.h:230
TT_DesktopInput_Execute
TEAMTALKDLL_API INT32 TT_DesktopInput_Execute(IN const DesktopInput *lpDesktopInputs, IN INT32 nDesktopInputCount)
Execute desktop (mouse or keyboard) input.
ChannelType
ChannelType
The types of channels supported.
Definition: TeamTalk.h:2421
USERSTATE_MUTE_VOICE
If set the user&#39;s voice is muted.
Definition: TeamTalk.h:2158
ServerStatistics::nUsersPeak
INT32 nUsersPeak
The highest numbers of users online.
Definition: TeamTalk.h:1911
SUBSCRIBE_USER_MSG
Subscribing to user text messages.
Definition: TeamTalk.h:2085
MediaFileInfo::videoFmt
VideoFormat videoFmt
The video properties of the media file.
Definition: TeamTalk.h:1566
TT_GetVideoCaptureDevices
TEAMTALKDLL_API TTBOOL TT_GetVideoCaptureDevices(IN OUT VideoCaptureDevice *lpVideoDevices, IN OUT INT32 *lpnHowMany)
Get the list of devices available for video capture.
MediaFileInfo::uDurationMSec
UINT32 uDurationMSec
The duration of the media file in miliseconds.
Definition: TeamTalk.h:1568
CLIENT_CONNECTING
If set the client instance is currently try to connect to a server, i.e. TT_Connect has been called...
Definition: TeamTalk.h:3949
MFS_ABORTED
Aborted processing of media file.
Definition: TeamTalk.h:746
TT_InitSoundInputDevice
TEAMTALKDLL_API TTBOOL TT_InitSoundInputDevice(IN TTInstance *lpTTInstance, IN INT32 nInputDeviceID)
Initialize the sound input device (for recording audio).
TT_StartRecordingMuxedAudioFileEx
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.
UserState
UserState
The possible states for a user. Used for User&#39;s uUserState variable.
Definition: TeamTalk.h:2149
SUBSCRIBE_NONE
No subscriptions.
Definition: TeamTalk.h:2082
DesktopWindow::nProtocol
DesktopProtocol nProtocol
The desktop protocol used for transmitting the desktop window.
Definition: TeamTalk.h:988
USERRIGHT_TRANSMIT_VOICE
Users are allowed to forward audio packets through server. TT_EnableVoiceTransmission() ...
Definition: TeamTalk.h:1666
SERVERLOGEVENT_SERVER_UPDATED
User updated server&#39;s properties is logged to file by the server.
Definition: TeamTalk.h:1766
TTMessage::banneduser
BannedUser banneduser
Valid if ttType is __BANNEDUSER.
Definition: TeamTalk.h:3841
CLIENTEVENT_INTERNAL_ERROR
An internal error occurred in the client instance.
Definition: TeamTalk.h:3590
MediaFilePlayback
struct MediaFilePlayback MediaFilePlayback
Properties for initializing or updating a file for media streaming.
AFF_MP3_16KBIT_FORMAT
Store in MP3-format.
Definition: TeamTalk.h:775
TT_DoJoinChannel
TEAMTALKDLL_API INT32 TT_DoJoinChannel(IN TTInstance *lpTTInstance, IN const Channel *lpChannel)
Create a new channel and join it.
User
A struct containing the properties of a user.
Definition: TeamTalk.h:2197
TT_CloseVideoCaptureDevice
TEAMTALKDLL_API TTBOOL TT_CloseVideoCaptureDevice(IN TTInstance *lpTTInstance)
Close a video capture device.
VideoFrame::frameBuffer
VOID * frameBuffer
A buffer allocated internally by client instance.
Definition: TeamTalk.h:881
Channel::audiocfg
AudioConfig audiocfg
The audio configuration which users who join the channel should use.
Definition: TeamTalk.h:2506
ShareWindow::nPID
INT64 nPID
The PID of the owning process.
Definition: TeamTalk.h:5674
__VIDEOFRAME
Definition: TeamTalk.h:3774
TT_SetUserVolume
TEAMTALKDLL_API TTBOOL TT_SetUserVolume(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN StreamType nStreamType, IN INT32 nVolume)
Set the volume of a user.
OpusCodec
OPUS audio codec settings. For detailed information about the OPUS codec check out http://www...
Definition: TeamTalk.h:1144
TTMessage::nStreamType
StreamType nStreamType
Valid if ttType is __STREAMTYPE.
Definition: TeamTalk.h:3851
INTERR_SNDEFFECT_FAILURE
SoundDeviceEffects failed to initialize.
Definition: TeamTalk.h:3125
TT_AcquireUserMediaVideoFrame
TEAMTALKDLL_API VideoFrame * TT_AcquireUserMediaVideoFrame(IN TTInstance *lpTTInstance, IN INT32 nUserID)
Extract a user&#39;s media video frame for display.
OpusCodec::nApplication
INT32 nApplication
Application of encoded audio, i.e. VoIP or music.
Definition: TeamTalk.h:1154
SpeexDSP::nMaxGainDB
INT32 nMaxGainDB
Ensure volume doesn&#39;t become too loud (maximal gain in dB). Default is 30. Value is ignored if bEnabl...
Definition: TeamTalk.h:1252
__SOUNDDEVICE
Definition: TeamTalk.h:3762
TextMessage::nFromUserID
INT32 nFromUserID
Will be set automatically on outgoing message.
Definition: TeamTalk.h:2399
TT_GetDefaultSoundDevicesEx
TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevicesEx(IN SoundSystem nSndSystem, OUT INT32 *lpnInputDeviceID, OUT INT32 *lpnOutputDeviceID)
Get the default sound devices for the specified sound system.
SoundDevice
struct SoundDevice SoundDevice
A struct containing the properties of a sound device for either playback or recording.
BitmapFormat
BitmapFormat
The bitmap format used for a DesktopWindow.
Definition: TeamTalk.h:929
CMDERR_MAX_CHANNELS_EXCEEDED
The maximum number of channels has been exceeded.
Definition: TeamTalk.h:2955
CLIENTEVENT_CMD_USER_LOGGEDOUT
A client logged out of the server.
Definition: TeamTalk.h:3311
TT_InitSoundInputSharedDevice
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.
TTMessage::serverproperties
ServerProperties serverproperties
Valid if ttType is __SERVERPROPERTIES.
Definition: TeamTalk.h:3831
User::nActiveAdaptiveDelayMSec
INT32 nActiveAdaptiveDelayMSec
the currently active adaptive jitter delay for received voice streams for this user.
Definition: TeamTalk.h:2315
USERSTATE_MEDIAFILE_AUDIO
If set the user currently streams an audio file. If user is streaming a video file with audio then th...
Definition: TeamTalk.h:2177
TT_DoDeleteFile
TEAMTALKDLL_API INT32 TT_DoDeleteFile(IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN INT32 nFileID)
Delete a file from a channel.
SpeexCodec::nBandmode
INT32 nBandmode
Set to 0 for 8 KHz (narrow band), set to 1 for 16 KHz (wide band), set to 2 for 32 KHz (ultra-wide ba...
Definition: TeamTalk.h:1055
FILETRANSFER_CLOSED
Definition: TeamTalk.h:2583
USERSTATE_DESKTOP
If set the user currently has an active desktop session. If this flag changes the event CLIENTEVENT_U...
Definition: TeamTalk.h:2166
ServerProperties::nMaxVoiceTxPerSecond
INT32 nMaxVoiceTxPerSecond
The maximum number of bytes per second which the server will allow for voice packets. If this value is exceeded the server will start dropping audio packets. 0 = disabled.
Definition: TeamTalk.h:1814
CMDERR_NOT_AUTHORIZED
Command not authorized.
Definition: TeamTalk.h:2925
CLIENTEVENT_CMD_USER_JOINED
A user has joined a channel.
Definition: TeamTalk.h:3331
ClientEvent
ClientEvent
TeamTalk client event messages.
Definition: TeamTalk.h:3145
ServerStatistics::nDesktopBytesRX
INT64 nDesktopBytesRX
The number of bytes in desktop packets received by the server from clients.
Definition: TeamTalk.h:1907
DesktopWindow::nHeight
INT32 nHeight
The height in pixels of the bitmap.
Definition: TeamTalk.h:974
DesktopWindow::nBytesPerLine
INT32 nBytesPerLine
The number of bytes for each scan-line in the bitmap. Zero means 4-byte aligned.
Definition: TeamTalk.h:979
TT_Mixer_GetWaveInControlName
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.
TTAudioPreprocessor::bMuteRightSpeaker
TTBOOL bMuteRightSpeaker
Whether to mute right speaker in stereo playback.
Definition: TeamTalk.h:1296
STREAMTYPE_LOCALMEDIAPLAYBACK_AUDIO
Stream type for audio of local playback.
Definition: TeamTalk.h:261
VideoFrame::nHeight
INT32 nHeight
The height in pixels of the image contained in imageBuffer.
Definition: TeamTalk.h:868
ServerStatistics::nMediaFileBytesTX
INT64 nMediaFileBytesTX
The number of bytes in media file packets sent from the server to clients.
Definition: TeamTalk.h:1898
OpusCodec::nComplexity
INT32 nComplexity
Complexity of encoding (affects CPU usage). Value from 0-10.
Definition: TeamTalk.h:1157
USERRIGHT_LOCKED_NICKNAME
User&#39;s nick name is locked. TT_DoChangeNickname() cannot be used and TT_DoLogin() will ignore szNickn...
Definition: TeamTalk.h:1691
TT_DoChangeNickname
TEAMTALKDLL_API INT32 TT_DoChangeNickname(IN TTInstance *lpTTInstance, IN const TTCHAR *szNewNick)
Change the client instance&#39;s nick name.
CMDERR_MAX_SERVER_USERS_EXCEEDED
Login failed due to maximum number of users on server.
Definition: TeamTalk.h:2882
TT_SetSoundInputGainLevel
TEAMTALKDLL_API TTBOOL TT_SetSoundInputGainLevel(IN TTInstance *lpTTInstance, IN INT32 nLevel)
Set voice gaining of recorded audio.
__MEDIAFILESTATUS
Definition: TeamTalk.h:3759
MediaFileInfo::nStatus
MediaFileStatus nStatus
Status of media file if it&#39;s being saved to disk.
Definition: TeamTalk.h:1560
FileTransfer
A struct containing the properties of a file transfer.
Definition: TeamTalk.h:2595
OpusCodec::bFEC
TTBOOL bFEC
Forward error correction. Corrects errors if there&#39;s packetloss.
Definition: TeamTalk.h:1160
CMDERR_CHANNEL_CANNOT_BE_HIDDEN
Cannot apply CHANNEL_HIDDEN to Channel&#39;s type.
Definition: TeamTalk.h:3075
STREAMTYPE_MEDIAFILE_VIDEO
Video stream type from a media file which is being streamed.
Definition: TeamTalk.h:236
TT_GetMediaFileInfo
TEAMTALKDLL_API TTBOOL TT_GetMediaFileInfo(IN const TTCHAR *szMediaFilePath, OUT MediaFileInfo *lpMediaFileInfo)
Get the properties of a media file.
MFS_ERROR
Error while processing media file.
Definition: TeamTalk.h:740
FILETRANSFER_ACTIVE
File transfer active.
Definition: TeamTalk.h:2587
TT_DoListUserAccounts
TEAMTALKDLL_API INT32 TT_DoListUserAccounts(IN TTInstance *lpTTInstance, IN INT32 nIndex, IN INT32 nCount)
Issue command to list user accounts on the server.
STREAMTYPE_CLASSROOM_ALL
Shortcut to allow voice, media files, desktop, webcamera and channel messages.
Definition: TeamTalk.h:265
WebRTCAudioPreprocessor::bEnable
TTBOOL bEnable
Enable pre-amplifier. Replacement for TT_SetSoundInputGainLevel()
Definition: TeamTalk.h:1318
SERVERLOGEVENT_USER_TEXTMESSAGE_PRIVATE
User&#39;s private text messages are logged to file by the server.
Definition: TeamTalk.h:1746
TTKEY_NO_TRANSLATE
Perform no translation.
Definition: TeamTalk.h:7529
CLIENTEVENT_CMD_MYSELF_LOGGEDIN
The client instance successfully logged on to server.
Definition: TeamTalk.h:3263
AudioCodec::nCodec
Codec nCodec
Specifies whether the member speex, speex_vbr or opus holds the codec settings.
Definition: TeamTalk.h:1498
Channel::nUserData
INT32 nUserData
User specific data which will be stored on persistent storage on the server if the channel type is CH...
Definition: TeamTalk.h:2494
WebMVP8Codec::nRcTargetBitrate
INT32 nRcTargetBitrate
Same as rc_target_bitrate.
Definition: TeamTalk.h:1445
Channel
A struct containing the properties of a channel.
Definition: TeamTalk.h:2471
UserStatistics::nMediaFileAudioPacketsRecv
INT64 nMediaFileAudioPacketsRecv
Number of media file audio packets received from user.
Definition: TeamTalk.h:2344
DesktopWindow::nFrameBufferSize
INT32 nFrameBufferSize
The size in bytes of the buffer allocate in frameBuffer. Typically nBytesPerLine * nHeight...
Definition: TeamTalk.h:993
TT_SetEncryptionContext
TEAMTALKDLL_API TTBOOL TT_SetEncryptionContext(IN TTInstance *lpTTInstance, const EncryptionContext *lpEncryptionContext)
Setup encryption properties prior to TT_Connect().
MFS_CLOSED
Definition: TeamTalk.h:738
ClientKeepAlive
Control timers for sending keep alive information to the server.
Definition: TeamTalk.h:2697
TT_GetVoiceActivationStopDelay
TEAMTALKDLL_API INT32 TT_GetVoiceActivationStopDelay(IN TTInstance *lpTTInstance)
Get the delay of when voice active state should be disabled.
__SPEEXVBRCODEC
Definition: TeamTalk.h:3773
TT_InitSoundOutputDevice
TEAMTALKDLL_API TTBOOL TT_InitSoundOutputDevice(IN TTInstance *lpTTInstance, IN INT32 nOutputDeviceID)
Initialize the sound output device (for audio playback).
UserAccount
A struct containing the properties of a user account.
Definition: TeamTalk.h:2016
AudioBlock
An audio block containing the raw audio from a user who was talking.
Definition: TeamTalk.h:657
SpeexVBRCodec::bDTX
TTBOOL bDTX
Enable/disable discontinuous transmission. When enabled Speex will ignore silence, so the bitrate will become very low.
Definition: TeamTalk.h:1105
SoundDevice::inputSampleRates
INT32 inputSampleRates[TT_SAMPLERATES_MAX]
Supported sample rates by device for recording. A zero value terminates the list of supported sample ...
Definition: TeamTalk.h:444
TT_DoSaveConfig
TEAMTALKDLL_API INT32 TT_DoSaveConfig(IN TTInstance *lpTTInstance)
Save the server&#39;s current state to its settings file (typically the server&#39;s .xml file)...
SERVERLOGEVENT_USER_LEFTCHANNEL
User left a channel is logged to file by the server.
Definition: TeamTalk.h:1742
VideoFormat::nFPS_Denominator
INT32 nFPS_Denominator
The denominator of the video capture device&#39;s video format. Divinding nFPS_Numerator with nFPS_Denomi...
Definition: TeamTalk.h:849
TT_InitLocalPlayback
TEAMTALKDLL_API INT32 TT_InitLocalPlayback(IN TTInstance *lpTTInstance, IN const TTCHAR *szMediaFilePath, IN const MediaFilePlayback *lpMediaFilePlayback)
Play media file using settings from TTInstance.
SpeexCodec::nQuality
INT32 nQuality
A value from 1-10. As of DLL version 4.2 also 0 is supported.
Definition: TeamTalk.h:1058
SERVERLOGEVENT_USER_MOVED
User was moved to another channel is logged to file by the server.
Definition: TeamTalk.h:1744
STREAMTYPE_VOICE
Voice stream type which is audio recorded from a sound input device.
Definition: TeamTalk.h:227
ServerProperties::uServerLogEvents
ServerLogEvents uServerLogEvents
The events that are logged on the server.
Definition: TeamTalk.h:1868
TTAudioPreprocessor
struct TTAudioPreprocessor TTAudioPreprocessor
Use TeamTalk&#39;s internal audio preprocessor for gain audio. Same as used for TT_SetSoundInputGainLevel...
ServerStatistics::nFilesTx
INT64 nFilesTx
The number of bytes for file transmission transmitted from the server.
Definition: TeamTalk.h:1914
__USERSTATISTICS
Definition: TeamTalk.h:3769
AbusePrevention::nCommandsLimit
INT32 nCommandsLimit
Limit number of commands a user can send to the server.
Definition: TeamTalk.h:2003
RemoteFile
struct RemoteFile RemoteFile
A struct containing the properties of a file in a Channel.
UserTypes
UINT32 UserTypes
A bitmask based on UserType describing the user type.
Definition: TeamTalk.h:1982
TTMessage::nSource
INT32 nSource
The source of the event depends on wmMsg.
Definition: TeamTalk.h:3811
FileTransfer::nStatus
FileTransferStatus nStatus
Status of file transfer.
Definition: TeamTalk.h:2598
ClientStatistics
Statistics of bandwidth usage and ping times in the local client instance.
Definition: TeamTalk.h:2747
SoundDeviceEffects::bEnableEchoCancellation
TTBOOL bEnableEchoCancellation
Enable echo cancellation.
Definition: TeamTalk.h:517
VideoCodec::webm_vp8
WebMVP8Codec webm_vp8
Definition: TeamTalk.h:1543