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

TeamTalk 5 C-API DLL Version 5.15A

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.15.0.5135"
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,
347 SOUNDSYSTEM_PULSEAUDIO = 10,
348 } SoundSystem;
349
354 typedef enum SoundDeviceFeature
355 {
358 SOUNDDEVICEFEATURE_NONE = 0x0000,
364 SOUNDDEVICEFEATURE_AEC = 0x0001,
370 SOUNDDEVICEFEATURE_AGC = 0x0002,
375 SOUNDDEVICEFEATURE_DENOISE = 0x0004,
378 SOUNDDEVICEFEATURE_3DPOSITION = 0x0008,
381 SOUNDDEVICEFEATURE_DUPLEXMODE = 0x0010,
384 SOUNDDEVICEFEATURE_DEFAULTCOMDEVICE = 0x0020,
385 } SoundDeviceFeature;
386
389 typedef UINT32 SoundDeviceFeatures;
390
403 typedef struct SoundDevice
404 {
410 INT32 nDeviceID;
412 SoundSystem nSoundSystem;
414 TTCHAR szDeviceName[TT_STRLEN];
419 TTCHAR szDeviceID[TT_STRLEN];
436 INT32 nWaveDeviceID;
439 TTBOOL bSupports3D;
441 INT32 nMaxInputChannels;
443 INT32 nMaxOutputChannels;
447 INT32 inputSampleRates[TT_SAMPLERATES_MAX];
451 INT32 outputSampleRates[TT_SAMPLERATES_MAX];
453 INT32 nDefaultSampleRate;
459 SoundDeviceFeatures uSoundDeviceFeatures;
460 } SoundDevice;
461
470 typedef struct SoundDeviceEffects
471 {
487 TTBOOL bEnableAGC;
504 TTBOOL bEnableDenoise;
520 TTBOOL bEnableEchoCancellation;
521 } SoundDeviceEffects;
522
537 #define TT_SOUNDDEVICE_ID_SHARED_FLAG 0x00000800
538
543 #define TT_SOUNDDEVICE_ID_MASK 0x000007FF
544
547 #define TT_SOUNDDEVICE_ID_REMOTEIO 0
548
555 #define TT_SOUNDDEVICE_ID_VOICEPREPROCESSINGIO (1 | TT_SOUNDDEVICE_ID_SHARED_FLAG)
556
559 #define TT_SOUNDDEVICE_ID_OPENSLES_DEFAULT 0
560
565 #define TT_SOUNDDEVICE_ID_OPENSLES_VOICECOM 1
566
575 #define TT_SOUNDDEVICE_ID_TEAMTALK_VIRTUAL 1978
576
580 typedef enum SoundLevel
581 {
587 SOUND_VU_MAX = 100,
593 SOUND_VU_MIN = 0,
601 SOUND_VOLUME_MAX = 32000,
609 SOUND_VOLUME_DEFAULT = 1000,
615 SOUND_VOLUME_MIN = 0,
624 SOUND_GAIN_MAX = 32000,
634 SOUND_GAIN_DEFAULT = 1000,
643 SOUND_GAIN_MIN = 0
644 } SoundLevel;
645
660 typedef struct AudioBlock
661 {
665 INT32 nStreamID;
667 INT32 nSampleRate;
669 INT32 nChannels;
673 VOID* lpRawAudio;
675 INT32 nSamples;
683 UINT32 uSampleIndex;
696 StreamTypes uStreamTypes;
697 } AudioBlock;
698
712 #define TT_LOCAL_USERID 0
713
721 #define TT_LOCAL_TX_USERID 0x1002
722
729 #define TT_MUXED_USERID 0x1001 /* TT_USERID_MAX + 2 */
730
739 typedef enum MediaFileStatus
740 {
741 MFS_CLOSED = 0,
743 MFS_ERROR = 1,
745 MFS_STARTED = 2,
747 MFS_FINISHED = 3,
749 MFS_ABORTED = 4,
751 MFS_PAUSED = 5,
754 MFS_PLAYING = 6
755 } MediaFileStatus;
756
760 typedef enum AudioFileFormat
761 {
763 AFF_NONE = 0,
774 AFF_CHANNELCODEC_FORMAT = 1,
776 AFF_WAVE_FORMAT = 2,
778 AFF_MP3_16KBIT_FORMAT = 3,
780 AFF_MP3_32KBIT_FORMAT = 4,
782 AFF_MP3_64KBIT_FORMAT = 5,
784 AFF_MP3_128KBIT_FORMAT = 6,
786 AFF_MP3_256KBIT_FORMAT = 7,
788 AFF_MP3_320KBIT_FORMAT = 8,
789 } AudioFileFormat;
790
798 typedef struct AudioFormat
799 {
801 AudioFileFormat nAudioFmt;
803 INT32 nSampleRate;
805 INT32 nChannels;
806 } AudioFormat;
807
818 typedef enum FourCC
819 {
821 FOURCC_NONE = 0,
824 FOURCC_I420 = 100,
827 FOURCC_YUY2 = 101,
830 FOURCC_RGB32 = 102
831 } FourCC;
832
839 typedef struct VideoFormat
840 {
843 INT32 nWidth;
846 INT32 nHeight;
850 INT32 nFPS_Numerator;
854 INT32 nFPS_Denominator;
856 FourCC picFourCC;
857 } VideoFormat;
858
866 typedef struct VideoFrame
867 {
870 INT32 nWidth;
873 INT32 nHeight;
879 INT32 nStreamID;
884 TTBOOL bKeyFrame;
886 VOID* frameBuffer;
889 INT32 nFrameBufferSize;
890 } VideoFrame;
891
901 typedef struct VideoCaptureDevice
902 {
904 TTCHAR szDeviceID[TT_STRLEN];
906 TTCHAR szDeviceName[TT_STRLEN];
919 TTCHAR szCaptureAPI[TT_STRLEN];
921 VideoFormat videoFormats[TT_VIDEOFORMATS_MAX];
924 INT32 nVideoFormatsCount;
925 } VideoCaptureDevice;
926
934 typedef enum BitmapFormat
935 {
937 BMP_NONE = 0,
943 BMP_RGB8_PALETTE = 1,
946 BMP_RGB16_555 = 2,
950 BMP_RGB24 = 3,
954 BMP_RGB32 = 4
955 } BitmapFormat;
956
961 typedef enum DesktopProtocol
962 {
965 DESKTOPPROTOCOL_ZLIB_1 = 1
966 } DesktopProtocol;
967
974 typedef struct DesktopWindow
975 {
977 INT32 nWidth;
979 INT32 nHeight;
981 BitmapFormat bmpFormat;
984 INT32 nBytesPerLine;
991 INT32 nSessionID;
993 DesktopProtocol nProtocol;
995 VOID* frameBuffer;
998 INT32 nFrameBufferSize;
999 } DesktopWindow;
1000
1004 typedef enum DesktopKeyState
1005 {
1007 DESKTOPKEYSTATE_NONE = 0x00000000,
1009 DESKTOPKEYSTATE_DOWN = 0x00000001,
1011 DESKTOPKEYSTATE_UP = 0x00000002,
1012 } DesktopKeyState;
1013
1015 typedef UINT32 DesktopKeyStates;
1016
1024 typedef struct DesktopInput
1025 {
1029 UINT16 uMousePosX;
1033 UINT16 uMousePosY;
1039 UINT32 uKeyCode;
1042 DesktopKeyStates uKeyState;
1043 } DesktopInput;
1044
1056 typedef struct SpeexCodec
1057 {
1060 INT32 nBandmode;
1063 INT32 nQuality;
1073 INT32 nTxIntervalMSec;
1079 TTBOOL bStereoPlayback;
1080 } SpeexCodec;
1081
1086 typedef struct SpeexVBRCodec
1087 {
1090 INT32 nBandmode;
1093 INT32 nQuality;
1102 INT32 nBitRate;
1106 INT32 nMaxBitRate;
1110 TTBOOL bDTX;
1119 INT32 nTxIntervalMSec;
1125 TTBOOL bStereoPlayback;
1126 } SpeexVBRCodec;
1127
1130 #define SPEEX_NB_MIN_BITRATE 2150
1131
1133 #define SPEEX_NB_MAX_BITRATE 24600
1134
1136 #define SPEEX_WB_MIN_BITRATE 3950
1137
1139 #define SPEEX_WB_MAX_BITRATE 42200
1140
1142 #define SPEEX_UWB_MIN_BITRATE 4150
1143
1145 #define SPEEX_UWB_MAX_BITRATE 44000
1146
1149 typedef struct OpusCodec
1150 {
1153 INT32 nSampleRate;
1155 INT32 nChannels;
1159 INT32 nApplication;
1162 INT32 nComplexity;
1165 TTBOOL bFEC;
1168 TTBOOL bDTX;
1171 INT32 nBitRate;
1173 TTBOOL bVBR;
1176 TTBOOL bVBRConstraint;
1183 INT32 nTxIntervalMSec;
1187 INT32 nFrameSizeMSec;
1188 } OpusCodec;
1189
1192 #define OPUS_APPLICATION_VOIP 2048
1193
1195 #define OPUS_APPLICATION_AUDIO 2049
1196
1198 #define OPUS_MIN_BITRATE 6000
1199
1201 #define OPUS_MAX_BITRATE 510000
1202
1204 #define OPUS_MIN_FRAMESIZE 2 /* Actually it's 2.5 */
1205
1207 #define OPUS_MAX_FRAMESIZE 60
1208
1211 #define OPUS_REALMAX_FRAMESIZE 120
1212
1232 typedef struct SpeexDSP
1233 {
1241 TTBOOL bEnableAGC;
1244 INT32 nGainLevel;
1248 INT32 nMaxIncDBSec;
1253 INT32 nMaxDecDBSec;
1257 INT32 nMaxGainDB;
1260 TTBOOL bEnableDenoise;
1264 INT32 nMaxNoiseSuppressDB;
1279 TTBOOL bEnableEchoCancellation;
1283 INT32 nEchoSuppress;
1287 INT32 nEchoSuppressActive;
1288 } SpeexDSP;
1289
1292 typedef struct TTAudioPreprocessor
1293 {
1297 INT32 nGainLevel;
1299 TTBOOL bMuteLeftSpeaker;
1301 TTBOOL bMuteRightSpeaker;
1302 } TTAudioPreprocessor;
1303
1316 typedef struct WebRTCAudioPreprocessor
1317 {
1319 struct
1320 {
1323 TTBOOL bEnable;
1325 float fFixedGainFactor;
1326 } preamplifier;
1329 struct
1330 {
1336 TTBOOL bEnable;
1337 } echocanceller;
1340 struct
1341 {
1343 TTBOOL bEnable;
1346 INT32 nLevel;
1347 } noisesuppression;
1349 struct
1350 {
1360 TTBOOL bEnable;
1361 } voicedetection;
1364 struct
1365 {
1368 TTBOOL bEnable;
1371 struct
1372 {
1375 float fGainDB;
1376 } fixeddigital;
1378 struct
1379 {
1380 /* @brief Enable saturation protector where saturation
1381 * margin is 2 dB. */
1382 TTBOOL bEnable;
1383 /* Range: 0 <= x <= 100. Default: 20 dB */
1384 float fInitialSaturationMarginDB;
1385 /* Range: 0 <= x <= 100. Default: 2 dB */
1386 float fExtraSaturationMarginDB;
1387 /* Range: 0 < x < infinite. Default: 3 dB/sec */
1388 float fMaxGainChangeDBPerSecond;
1389 /* Range: -infinite < x < 0. Default: -50 */
1390 float fMaxOutputNoiseLevelDBFS;
1391 } adaptivedigital;
1392 } gaincontroller2;
1394 struct
1395 {
1401 TTBOOL bEnable;
1402 } levelestimation;
1403 } WebRTCAudioPreprocessor;
1404
1406 #define WEBRTC_GAINCONTROLLER2_FIXEDGAIN_MAX 49.9f
1407
1411 typedef enum AudioPreprocessorType
1412 {
1415 NO_AUDIOPREPROCESSOR = 0,
1417 SPEEXDSP_AUDIOPREPROCESSOR = 1,
1419 TEAMTALK_AUDIOPREPROCESSOR = 2,
1422 WEBRTC_AUDIOPREPROCESSOR = 3,
1423 } AudioPreprocessorType;
1424
1426 typedef struct AudioPreprocessor
1427 {
1429 AudioPreprocessorType nPreprocessor;
1430 union
1431 {
1433 SpeexDSP speexdsp;
1435 TTAudioPreprocessor ttpreprocessor;
1437 WebRTCAudioPreprocessor webrtc;
1438 };
1439 } AudioPreprocessor;
1440
1445 typedef struct WebMVP8Codec
1446 {
1447 union
1448 {
1450 INT32 nRcTargetBitrate;
1456 UINT32 rc_target_bitrate;
1457 };
1465 UINT32 nEncodeDeadline;
1466 } WebMVP8Codec;
1467
1470 #define WEBM_VPX_DL_REALTIME 1
1471
1473 #define WEBM_VPX_DL_GOOD_QUALITY 1000000
1474
1476 #define WEBM_VPX_DL_BEST_QUALITY 0
1477
1481 typedef enum Codec
1482 {
1484 NO_CODEC = 0,
1487 SPEEX_CODEC = 1,
1490 SPEEX_VBR_CODEC = 2,
1492 OPUS_CODEC = 3,
1494 WEBM_VP8_CODEC = 128,
1495 } Codec;
1496
1499 typedef struct AudioCodec
1500 {
1503 Codec nCodec;
1504 union
1505 {
1508 SpeexCodec speex;
1511 SpeexVBRCodec speex_vbr;
1514 OpusCodec opus;
1515 };
1516 } AudioCodec;
1517
1531 typedef struct AudioConfig
1532 {
1534 TTBOOL bEnableAGC;
1536 INT32 nGainLevel;
1537 } AudioConfig;
1538
1540 typedef struct VideoCodec
1541 {
1545 Codec nCodec;
1546 union
1547 {
1548 WebMVP8Codec webm_vp8;
1549 };
1550 } VideoCodec;
1561 typedef struct MediaFileInfo
1562 {
1565 MediaFileStatus nStatus;
1567 TTCHAR szFileName[TT_STRLEN];
1569 AudioFormat audioFmt;
1571 VideoFormat videoFmt;
1573 UINT32 uDurationMSec;
1575 UINT32 uElapsedMSec;
1576 } MediaFileInfo;
1577
1586 typedef struct MediaFilePlayback
1587 {
1593 UINT32 uOffsetMSec;
1595 TTBOOL bPaused;
1597 AudioPreprocessor audioPreprocessor;
1598 } MediaFilePlayback;
1599
1602 typedef struct AudioInputProgress
1603 {
1605 INT32 nStreamID;
1608 UINT32 uQueueMSec;
1611 UINT32 uElapsedMSec;
1612 } AudioInputProgress;
1613
1629 typedef enum UserRight
1630 {
1633 USERRIGHT_NONE = 0x00000000,
1636 USERRIGHT_MULTI_LOGIN = 0x00000001,
1638 USERRIGHT_VIEW_ALL_USERS = 0x00000002,
1642 USERRIGHT_CREATE_TEMPORARY_CHANNEL = 0x00000004,
1646 USERRIGHT_MODIFY_CHANNELS = 0x00000008,
1649 USERRIGHT_TEXTMESSAGE_BROADCAST = 0x00000010,
1651 USERRIGHT_KICK_USERS = 0x00000020,
1654 USERRIGHT_BAN_USERS = 0x00000040,
1657 USERRIGHT_MOVE_USERS = 0x00000080,
1660 USERRIGHT_OPERATOR_ENABLE = 0x00000100,
1662 USERRIGHT_UPLOAD_FILES = 0x00000200,
1665 USERRIGHT_DOWNLOAD_FILES = 0x00000400,
1668 USERRIGHT_UPDATE_SERVERPROPERTIES = 0x00000800,
1671 USERRIGHT_TRANSMIT_VOICE = 0x00001000,
1674 USERRIGHT_TRANSMIT_VIDEOCAPTURE = 0x00002000,
1677 USERRIGHT_TRANSMIT_DESKTOP = 0x00004000,
1680 USERRIGHT_TRANSMIT_DESKTOPINPUT = 0x00008000,
1683 USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO = 0x00010000,
1686 USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO = 0x00020000,
1689 USERRIGHT_TRANSMIT_MEDIAFILE = USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO | USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO,
1696 USERRIGHT_LOCKED_NICKNAME = 0x00040000,
1699 USERRIGHT_LOCKED_STATUS = 0x00080000,
1702 USERRIGHT_RECORD_VOICE = 0x00100000,
1704 USERRIGHT_VIEW_HIDDEN_CHANNELS = 0x00200000,
1707 USERRIGHT_TEXTMESSAGE_USER = 0x00400000,
1710 USERRIGHT_TEXTMESSAGE_CHANNEL = 0x00800000,
1711 } UserRight;
1712
1717 typedef UINT32 UserRights;
1718
1719
1726 typedef enum ServerLogEvent
1727 {
1729 SERVERLOGEVENT_NONE = 0x00000000,
1731 SERVERLOGEVENT_USER_CONNECTED = 0x00000001,
1733 SERVERLOGEVENT_USER_DISCONNECTED = 0x00000002,
1735 SERVERLOGEVENT_USER_LOGGEDIN = 0x00000004,
1737 SERVERLOGEVENT_USER_LOGGEDOUT = 0x00000008,
1739 SERVERLOGEVENT_USER_LOGINFAILED = 0x00000010,
1741 SERVERLOGEVENT_USER_TIMEDOUT = 0x00000020,
1743 SERVERLOGEVENT_USER_KICKED = 0x00000040,
1745 SERVERLOGEVENT_USER_BANNED = 0x00000080,
1747 SERVERLOGEVENT_USER_UNBANNED = 0x00000100,
1749 SERVERLOGEVENT_USER_UPDATED = 0x00000200,
1751 SERVERLOGEVENT_USER_JOINEDCHANNEL = 0x00000400,
1753 SERVERLOGEVENT_USER_LEFTCHANNEL = 0x00000800,
1755 SERVERLOGEVENT_USER_MOVED = 0x00001000,
1757 SERVERLOGEVENT_USER_TEXTMESSAGE_PRIVATE = 0x00002000,
1759 SERVERLOGEVENT_USER_TEXTMESSAGE_CUSTOM = 0x00004000,
1761 SERVERLOGEVENT_USER_TEXTMESSAGE_CHANNEL = 0x00008000,
1763 SERVERLOGEVENT_USER_TEXTMESSAGE_BROADCAST = 0x00010000,
1765 SERVERLOGEVENT_CHANNEL_CREATED = 0x00020000,
1767 SERVERLOGEVENT_CHANNEL_UPDATED = 0x00040000,
1769 SERVERLOGEVENT_CHANNEL_REMOVED = 0x00080000,
1771 SERVERLOGEVENT_FILE_UPLOADED = 0x00100000,
1773 SERVERLOGEVENT_FILE_DOWNLOADED = 0x00200000,
1775 SERVERLOGEVENT_FILE_DELETED = 0x00400000,
1777 SERVERLOGEVENT_SERVER_UPDATED = 0x00800000,
1779 SERVERLOGEVENT_SERVER_SAVECONFIG = 0x01000000,
1780 } ServerLogEvent;
1781
1784 typedef UINT32 ServerLogEvents;
1785
1797 typedef struct ServerProperties
1798 {
1800 TTCHAR szServerName[TT_STRLEN];
1803 TTCHAR szMOTD[TT_STRLEN];
1812 TTCHAR szMOTDRaw[TT_STRLEN];
1815 INT32 nMaxUsers;
1818 INT32 nMaxLoginAttempts;
1821 INT32 nMaxLoginsPerIPAddress;
1825 INT32 nMaxVoiceTxPerSecond;
1830 INT32 nMaxVideoCaptureTxPerSecond;
1834 INT32 nMaxMediaFileTxPerSecond;
1838 INT32 nMaxDesktopTxPerSecond;
1842 INT32 nMaxTotalTxPerSecond;
1844 TTBOOL bAutoSave;
1846 INT32 nTcpPort;
1848 INT32 nUdpPort;
1851 INT32 nUserTimeout;
1853 TTCHAR szServerVersion[TT_STRLEN];
1856 TTCHAR szServerProtocolVersion[TT_STRLEN];
1865 INT32 nLoginDelayMSec;
1873 TTCHAR szAccessToken[TT_STRLEN];
1879 ServerLogEvents uServerLogEvents;
1880 } ServerProperties;
1881
1887 typedef struct ServerStatistics
1888 {
1891 INT64 nTotalBytesTX;
1894 INT64 nTotalBytesRX;
1897 INT64 nVoiceBytesTX;
1900 INT64 nVoiceBytesRX;
1903 INT64 nVideoCaptureBytesTX;
1906 INT64 nVideoCaptureBytesRX;
1909 INT64 nMediaFileBytesTX;
1912 INT64 nMediaFileBytesRX;
1915 INT64 nDesktopBytesTX;
1918 INT64 nDesktopBytesRX;
1920 INT32 nUsersServed;
1922 INT32 nUsersPeak;
1925 INT64 nFilesTx;
1928 INT64 nFilesRx;
1930 INT64 nUptimeMSec;
1931 } ServerStatistics;
1932
1938 typedef enum BanType
1939 {
1941 BANTYPE_NONE = 0x00,
1945 BANTYPE_CHANNEL = 0x01,
1949 BANTYPE_IPADDR = 0x02,
1951 BANTYPE_USERNAME = 0x04
1952 } BanType;
1953
1955 typedef UINT32 BanTypes;
1956
1961 typedef struct BannedUser
1962 {
1964 TTCHAR szIPAddress[TT_STRLEN];
1966 TTCHAR szChannelPath[TT_STRLEN];
1969 TTCHAR szBanTime[TT_STRLEN];
1971 TTCHAR szNickname[TT_STRLEN];
1973 TTCHAR szUsername[TT_STRLEN];
1975 BanTypes uBanTypes;
1977 TTCHAR szOwner[TT_STRLEN];
1978 } BannedUser;
1979
1983 typedef enum UserType
1984 {
1987 USERTYPE_NONE = 0x0,
1989 USERTYPE_DEFAULT = 0x01,
1991 USERTYPE_ADMIN = 0x02
1992 } UserType;
1993
1997 typedef UINT32 UserTypes;
1998
2007 typedef struct AbusePrevention
2008 {
2018 INT32 nCommandsLimit;
2020 INT32 nCommandsIntervalMSec;
2021 } AbusePrevention;
2022
2031 typedef struct UserAccount
2032 {
2034 TTCHAR szUsername[TT_STRLEN];
2036 TTCHAR szPassword[TT_STRLEN];
2038 UserTypes uUserType;
2042 UserRights uUserRights;
2046 INT32 nUserData;
2048 TTCHAR szNote[TT_STRLEN];
2053 TTCHAR szInitChannel[TT_STRLEN];
2057 INT32 autoOperatorChannels[TT_CHANNELS_OPERATOR_MAX];
2061 INT32 nAudioCodecBpsLimit;
2066 AbusePrevention abusePrevent;
2069 TTCHAR szLastModified[TT_STRLEN];
2070 } UserAccount;
2094 typedef enum Subscription
2095 {
2097 SUBSCRIBE_NONE = 0x00000000,
2100 SUBSCRIBE_USER_MSG = 0x00000001,
2103 SUBSCRIBE_CHANNEL_MSG = 0x00000002,
2106 SUBSCRIBE_BROADCAST_MSG = 0x00000004,
2109 SUBSCRIBE_CUSTOM_MSG = 0x00000008,
2111 SUBSCRIBE_VOICE = 0x00000010,
2113 SUBSCRIBE_VIDEOCAPTURE = 0x00000020,
2115 SUBSCRIBE_DESKTOP = 0x00000040,
2119 SUBSCRIBE_DESKTOPINPUT = 0x00000080,
2122 SUBSCRIBE_MEDIAFILE = 0x00000100,
2125 SUBSCRIBE_INTERCEPT_USER_MSG = 0x00010000,
2128 SUBSCRIBE_INTERCEPT_CHANNEL_MSG = 0x00020000,
2129 /* unused SUBSCRIBE_INTERCEPT_BROADCAST_MSG = 0x00040000 */
2132 SUBSCRIBE_INTERCEPT_CUSTOM_MSG = 0x00080000,
2137 SUBSCRIBE_INTERCEPT_VOICE = 0x00100000,
2142 SUBSCRIBE_INTERCEPT_VIDEOCAPTURE = 0x00200000,
2147 SUBSCRIBE_INTERCEPT_DESKTOP = 0x00400000,
2148 /* unused SUBSCRIBE_INTERCEPT_DESKTOPINPUT = 0x00800000, */
2153 SUBSCRIBE_INTERCEPT_MEDIAFILE = 0x01000000,
2154 } Subscription;
2155
2160 typedef UINT32 Subscriptions;
2161
2164 typedef enum UserState
2165 {
2167 USERSTATE_NONE = 0x0000000,
2171 USERSTATE_VOICE = 0x00000001,
2173 USERSTATE_MUTE_VOICE = 0x00000002,
2176 USERSTATE_MUTE_MEDIAFILE = 0x00000004,
2181 USERSTATE_DESKTOP = 0x00000008,
2186 USERSTATE_VIDEOCAPTURE = 0x00000010,
2192 USERSTATE_MEDIAFILE_AUDIO = 0x00000020,
2196 USERSTATE_MEDIAFILE_VIDEO = 0x00000040,
2200 USERSTATE_MEDIAFILE = USERSTATE_MEDIAFILE_AUDIO |
2201 USERSTATE_MEDIAFILE_VIDEO
2202 } UserState;
2203
2206 typedef UINT32 UserStates;
2207
2212 typedef struct User
2213 {
2217 INT32 nUserID;
2222 TTCHAR szUsername[TT_STRLEN];
2227 INT32 nUserData;
2231 UserTypes uUserType;
2233 TTCHAR szIPAddress[TT_STRLEN];
2239 UINT32 uVersion;
2245 INT32 nChannelID;
2251 Subscriptions uLocalSubscriptions;
2257 Subscriptions uPeerSubscriptions;
2262 TTCHAR szNickname[TT_STRLEN];
2267 INT32 nStatusMode;
2272 TTCHAR szStatusMsg[TT_STRLEN];
2275 UserStates uUserState;
2278 TTCHAR szMediaStorageDir[TT_STRLEN];
2284 INT32 nVolumeVoice;
2290 INT32 nVolumeMediaFile;
2294 INT32 nStoppedDelayVoice;
2298 INT32 nStoppedDelayMediaFile;
2303 float soundPositionVoice[3];
2308 float soundPositionMediaFile[3];
2313 TTBOOL stereoPlaybackVoice[2];
2318 TTBOOL stereoPlaybackMediaFile[2];
2322 INT32 nBufferMSecVoice;
2326 INT32 nBufferMSecMediaFile;
2330 INT32 nActiveAdaptiveDelayMSec;
2334 TTCHAR szClientName[TT_STRLEN];
2335 } User;
2336
2341 typedef struct UserStatistics
2342 {
2344 INT64 nVoicePacketsRecv;
2346 INT64 nVoicePacketsLost;
2349 INT64 nVideoCapturePacketsRecv;
2351 INT64 nVideoCaptureFramesRecv;
2354 INT64 nVideoCaptureFramesLost;
2357 INT64 nVideoCaptureFramesDropped;
2359 INT64 nMediaFileAudioPacketsRecv;
2361 INT64 nMediaFileAudioPacketsLost;
2364 INT64 nMediaFileVideoPacketsRecv;
2366 INT64 nMediaFileVideoFramesRecv;
2369 INT64 nMediaFileVideoFramesLost;
2372 INT64 nMediaFileVideoFramesDropped;
2373 } UserStatistics;
2374
2383 typedef enum TextMsgType
2384 {
2386 MSGTYPE_NONE = 0,
2389 MSGTYPE_USER = 1,
2394 MSGTYPE_CHANNEL = 2,
2397 MSGTYPE_BROADCAST = 3,
2400 MSGTYPE_CUSTOM = 4
2401 } TextMsgType;
2402
2409 typedef struct TextMessage
2410 {
2412 TextMsgType nMsgType;
2414 INT32 nFromUserID;
2416 TTCHAR szFromUsername[TT_STRLEN];
2418 INT32 nToUserID;
2421 INT32 nChannelID;
2424 TTCHAR szMessage[TT_STRLEN];
2427 TTBOOL bMore;
2428 } TextMessage;
2436 typedef enum ChannelType
2437 {
2440 CHANNEL_DEFAULT = 0x0000,
2443 CHANNEL_PERMANENT = 0x0001,
2445 CHANNEL_SOLO_TRANSMIT = 0x0002,
2456 CHANNEL_CLASSROOM = 0x0004,
2461 CHANNEL_OPERATOR_RECVONLY = 0x0008,
2464 CHANNEL_NO_VOICEACTIVATION = 0x0010,
2466 CHANNEL_NO_RECORDING = 0x0020,
2469 CHANNEL_HIDDEN = 0x0040
2470 } ChannelType;
2471
2474 typedef UINT32 ChannelTypes;
2475
2486 typedef struct Channel
2487 {
2490 INT32 nParentID;
2492 INT32 nChannelID;
2494 TTCHAR szName[TT_STRLEN];
2496 TTCHAR szTopic[TT_STRLEN];
2500 TTCHAR szPassword[TT_STRLEN];
2503 TTBOOL bPassword;
2505 ChannelTypes uChannelType;
2509 INT32 nUserData;
2511 INT64 nDiskQuota;
2514 TTCHAR szOpPassword[TT_STRLEN];
2516 INT32 nMaxUsers;
2518 AudioCodec audiocodec;
2521 AudioConfig audiocfg;
2577 INT32 transmitUsers[TT_TRANSMITUSERS_MAX][2];
2582 INT32 transmitUsersQueue[TT_TRANSMITQUEUE_MAX];
2590 INT32 nTransmitUsersQueueDelayMSec;
2594 INT32 nTimeOutTimerVoiceMSec;
2598 INT32 nTimeOutTimerMediaFileMSec;
2599 } Channel;
2600
2601
2603 typedef enum FileTransferStatus
2604 {
2606 FILETRANSFER_CLOSED = 0,
2608 FILETRANSFER_ERROR = 1,
2610 FILETRANSFER_ACTIVE = 2,
2612 FILETRANSFER_FINISHED = 3
2613 } FileTransferStatus;
2614
2618 typedef struct FileTransfer
2619 {
2621 FileTransferStatus nStatus;
2623 INT32 nTransferID;
2625 INT32 nChannelID;
2627 TTCHAR szLocalFilePath[TT_STRLEN];
2629 TTCHAR szRemoteFileName[TT_STRLEN];
2631 INT64 nFileSize;
2633 INT64 nTransferred;
2635 TTBOOL bInbound;
2636 } FileTransfer;
2637
2638
2642 typedef struct RemoteFile
2643 {
2645 INT32 nChannelID;
2647 INT32 nFileID;
2649 TTCHAR szFileName[TT_STRLEN];
2651 INT64 nFileSize;
2653 TTCHAR szUsername[TT_STRLEN];
2656 TTCHAR szUploadTime[TT_STRLEN];
2657 } RemoteFile;
2668 typedef struct EncryptionContext
2669 {
2675 TTCHAR szCertificateFile[TT_STRLEN];
2677 TTCHAR szPrivateKeyFile[TT_STRLEN];
2682 TTCHAR szCAFile[TT_STRLEN];
2685 TTCHAR szCADir[TT_STRLEN];
2692 TTBOOL bVerifyPeer;
2703 TTBOOL bVerifyClientOnce;
2714 INT32 nVerifyDepth;
2715 } EncryptionContext;
2716
2723 typedef struct ClientKeepAlive
2724 {
2735 INT32 nConnectionLostMSec;
2739 INT32 nTcpKeepAliveIntervalMSec;
2745 INT32 nUdpKeepAliveIntervalMSec;
2751 INT32 nUdpKeepAliveRTXMSec;
2758 INT32 nUdpConnectRTXMSec;
2766 INT32 nUdpConnectTimeoutMSec;
2767 } ClientKeepAlive;
2768
2773 typedef struct ClientStatistics
2774 {
2776 INT64 nUdpBytesSent;
2778 INT64 nUdpBytesRecv;
2780 INT64 nVoiceBytesSent;
2782 INT64 nVoiceBytesRecv;
2784 INT64 nVideoCaptureBytesSent;
2786 INT64 nVideoCaptureBytesRecv;
2788 INT64 nMediaFileAudioBytesSent;
2790 INT64 nMediaFileAudioBytesRecv;
2792 INT64 nMediaFileVideoBytesSent;
2794 INT64 nMediaFileVideoBytesRecv;
2796 INT64 nDesktopBytesSent;
2798 INT64 nDesktopBytesRecv;
2802 INT32 nUdpPingTimeMs;
2806 INT32 nTcpPingTimeMs;
2809 INT32 nTcpServerSilenceSec;
2812 INT32 nUdpServerSilenceSec;
2824 INT32 nSoundInputDeviceDelayMSec;
2825 } ClientStatistics;
2826
2832 typedef struct JitterConfig
2833 {
2835 INT32 nFixedDelayMSec;
2837 TTBOOL bUseAdativeDejitter;
2840 INT32 nMaxAdaptiveDelayMSec;
2847 INT32 nActiveAdaptiveDelayMSec;
2848 } JitterConfig;
2849
2859 typedef enum ClientError
2860 {
2862 CMDERR_SUCCESS = 0,
2863
2864 /* COMMAND ERRORS 1000-1999 ARE DUE TO INVALID OR UNSUPPORTED
2865 * COMMANDS */
2866
2868 CMDERR_SYNTAX_ERROR = 1000,
2873 CMDERR_UNKNOWN_COMMAND = 1001,
2876 CMDERR_MISSING_PARAMETER = 1002,
2879 CMDERR_INCOMPATIBLE_PROTOCOLS = 1003,
2884 CMDERR_UNKNOWN_AUDIOCODEC = 1004,
2887 CMDERR_INVALID_USERNAME = 1005,
2888
2889 /* COMMAND ERRORS 2000-2999 ARE DUE TO INSUFFICIENT RIGHTS */
2890
2896 CMDERR_INCORRECT_CHANNEL_PASSWORD = 2001,
2902 CMDERR_INVALID_ACCOUNT = 2002,
2908 CMDERR_MAX_SERVER_USERS_EXCEEDED = 2003,
2914 CMDERR_MAX_CHANNEL_USERS_EXCEEDED = 2004,
2919 CMDERR_SERVER_BANNED = 2005,
2951 CMDERR_NOT_AUTHORIZED = 2006,
2958 CMDERR_MAX_DISKUSAGE_EXCEEDED = 2008,
2964 CMDERR_INCORRECT_OP_PASSWORD = 2010,
2965
2970 CMDERR_AUDIOCODEC_BITRATE_LIMIT_EXCEEDED = 2011,
2971
2977 CMDERR_MAX_LOGINS_PER_IPADDRESS_EXCEEDED = 2012,
2978
2981 CMDERR_MAX_CHANNELS_EXCEEDED = 2013,
2982
2987 CMDERR_COMMAND_FLOOD = 2014,
2988
2994 CMDERR_CHANNEL_BANNED = 2015,
2995
3000 CMDERR_MAX_FILETRANSFERS_EXCEEDED = 2016,
3001
3002 /* COMMAND ERRORS 3000-3999 ARE DUE TO INVALID STATE OF CLIENT INSTANCE */
3003
3009 CMDERR_NOT_LOGGEDIN = 3000,
3010
3014 CMDERR_ALREADY_LOGGEDIN = 3001,
3018 CMDERR_NOT_IN_CHANNEL = 3002,
3023 CMDERR_ALREADY_IN_CHANNEL = 3003,
3027 CMDERR_CHANNEL_ALREADY_EXISTS = 3004,
3045 CMDERR_CHANNEL_NOT_FOUND = 3005,
3056 CMDERR_USER_NOT_FOUND = 3006,
3061 CMDERR_BAN_NOT_FOUND = 3007,
3066 CMDERR_FILETRANSFER_NOT_FOUND = 3008,
3071 CMDERR_OPENFILE_FAILED = 3009,
3076 CMDERR_ACCOUNT_NOT_FOUND = 3010,
3081 CMDERR_FILE_NOT_FOUND = 3011,
3086 CMDERR_FILE_ALREADY_EXISTS = 3012,
3091 CMDERR_FILESHARING_DISABLED = 3013,
3096 CMDERR_CHANNEL_HAS_USERS = 3015,
3097
3101 CMDERR_LOGINSERVICE_UNAVAILABLE = 3016,
3102
3107 CMDERR_CHANNEL_CANNOT_BE_HIDDEN = 3017,
3108
3109 /* ERRORS 10000-10999 ARE NOT COMMAND ERRORS BUT INSTEAD
3110 * ERRORS IN THE CLIENT INSTANCE. */
3111
3119 INTERR_SNDINPUT_FAILURE = 10000,
3128 INTERR_SNDOUTPUT_FAILURE = 10001,
3132 INTERR_AUDIOCODEC_INIT_FAILED = 10002,
3134 INTERR_SPEEXDSP_INIT_FAILED = 10003,
3142 INTERR_AUDIOPREPROCESSOR_INIT_FAILED = 10003,
3150 INTERR_TTMESSAGE_QUEUE_OVERFLOW = 10004,
3157 INTERR_SNDEFFECT_FAILURE = 10005,
3158 } ClientError;
3159
3161 typedef struct ClientErrorMsg
3162 {
3164 INT32 nErrorNo;
3166 TTCHAR szErrorMsg[TT_STRLEN];
3167 } ClientErrorMsg;
3177 typedef enum ClientEvent
3178 {
3179 CLIENTEVENT_NONE = 0,
3180
3193 CLIENTEVENT_CON_SUCCESS = CLIENTEVENT_NONE + 10,
3204 CLIENTEVENT_CON_CRYPT_ERROR = CLIENTEVENT_NONE + 15,
3215 CLIENTEVENT_CON_FAILED = CLIENTEVENT_NONE + 20,
3232 CLIENTEVENT_CON_LOST = CLIENTEVENT_NONE + 30,
3244 CLIENTEVENT_CON_MAX_PAYLOAD_UPDATED = CLIENTEVENT_NONE + 40,
3259 CLIENTEVENT_CMD_PROCESSING = CLIENTEVENT_NONE + 200,
3274 CLIENTEVENT_CMD_ERROR = CLIENTEVENT_NONE + 210,
3287 CLIENTEVENT_CMD_SUCCESS = CLIENTEVENT_NONE + 220,
3306 CLIENTEVENT_CMD_MYSELF_LOGGEDIN = CLIENTEVENT_NONE + 230,
3316 CLIENTEVENT_CMD_MYSELF_LOGGEDOUT = CLIENTEVENT_NONE + 240,
3327 CLIENTEVENT_CMD_MYSELF_KICKED = CLIENTEVENT_NONE + 250,
3339 CLIENTEVENT_CMD_USER_LOGGEDIN = CLIENTEVENT_NONE + 260,
3354 CLIENTEVENT_CMD_USER_LOGGEDOUT = CLIENTEVENT_NONE + 270,
3364 CLIENTEVENT_CMD_USER_UPDATE = CLIENTEVENT_NONE + 280,
3374 CLIENTEVENT_CMD_USER_JOINED = CLIENTEVENT_NONE + 290,
3382 CLIENTEVENT_CMD_USER_LEFT = CLIENTEVENT_NONE + 300,
3393 CLIENTEVENT_CMD_USER_TEXTMSG = CLIENTEVENT_NONE + 310,
3403 CLIENTEVENT_CMD_CHANNEL_NEW = CLIENTEVENT_NONE + 320,
3413 CLIENTEVENT_CMD_CHANNEL_UPDATE = CLIENTEVENT_NONE + 330,
3424 CLIENTEVENT_CMD_CHANNEL_REMOVE = CLIENTEVENT_NONE + 340,
3435 CLIENTEVENT_CMD_SERVER_UPDATE = CLIENTEVENT_NONE + 350,
3445 CLIENTEVENT_CMD_SERVERSTATISTICS = CLIENTEVENT_NONE + 360,
3458 CLIENTEVENT_CMD_FILE_NEW = CLIENTEVENT_NONE + 370,
3466 CLIENTEVENT_CMD_FILE_REMOVE = CLIENTEVENT_NONE + 380,
3476 CLIENTEVENT_CMD_USERACCOUNT = CLIENTEVENT_NONE + 390,
3486 CLIENTEVENT_CMD_BANNEDUSER = CLIENTEVENT_NONE + 400,
3496 CLIENTEVENT_CMD_USERACCOUNT_NEW = CLIENTEVENT_NONE + 410,
3506 CLIENTEVENT_CMD_USERACCOUNT_REMOVE = CLIENTEVENT_NONE + 420,
3527 CLIENTEVENT_USER_STATECHANGE = CLIENTEVENT_NONE + 500,
3541 CLIENTEVENT_USER_VIDEOCAPTURE = CLIENTEVENT_NONE + 510,
3555 CLIENTEVENT_USER_MEDIAFILE_VIDEO = CLIENTEVENT_NONE + 520,
3571 CLIENTEVENT_USER_DESKTOPWINDOW = CLIENTEVENT_NONE + 530,
3583 CLIENTEVENT_USER_DESKTOPCURSOR = CLIENTEVENT_NONE + 540,
3607 CLIENTEVENT_USER_DESKTOPINPUT = CLIENTEVENT_NONE + 550,
3621 CLIENTEVENT_USER_RECORD_MEDIAFILE = CLIENTEVENT_NONE + 560,
3639 CLIENTEVENT_USER_AUDIOBLOCK = CLIENTEVENT_NONE + 570,
3654 CLIENTEVENT_INTERNAL_ERROR = CLIENTEVENT_NONE + 1000,
3669 CLIENTEVENT_VOICE_ACTIVATION = CLIENTEVENT_NONE + 1010,
3681 CLIENTEVENT_HOTKEY = CLIENTEVENT_NONE + 1020,
3701 CLIENTEVENT_HOTKEY_TEST = CLIENTEVENT_NONE + 1030,
3719 CLIENTEVENT_FILETRANSFER = CLIENTEVENT_NONE + 1040,
3736 CLIENTEVENT_DESKTOPWINDOW_TRANSFER = CLIENTEVENT_NONE + 1050,
3750 CLIENTEVENT_STREAM_MEDIAFILE = CLIENTEVENT_NONE + 1060,
3764 CLIENTEVENT_LOCAL_MEDIAFILE = CLIENTEVENT_NONE + 1070,
3787 CLIENTEVENT_AUDIOINPUT = CLIENTEVENT_NONE + 1080,
3808 CLIENTEVENT_USER_FIRSTVOICESTREAMPACKET = CLIENTEVENT_NONE + 1090,
3825 CLIENTEVENT_SOUNDDEVICE_ADDED = CLIENTEVENT_NONE + 1100,
3843 CLIENTEVENT_SOUNDDEVICE_REMOVED = CLIENTEVENT_NONE + 1110,
3861 CLIENTEVENT_SOUNDDEVICE_UNPLUGGED = CLIENTEVENT_NONE + 1120,
3878 CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_INPUT = CLIENTEVENT_NONE + 1130,
3895 CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_OUTPUT = CLIENTEVENT_NONE + 1140,
3914 CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_INPUT_COMDEVICE = CLIENTEVENT_NONE + 1150,
3933 CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_OUTPUT_COMDEVICE = CLIENTEVENT_NONE + 1160,
3934
3935 } ClientEvent;
3936
3937 /* List of structures used internally by TeamTalk. */
3938 typedef enum TTType
3939 {
3940 __NONE = 0,
3941 __AUDIOCODEC = 1,
3942 __BANNEDUSER = 2,
3943 __VIDEOFORMAT = 3,
3944 __OPUSCODEC = 4,
3945 __CHANNEL = 5,
3946 __CLIENTSTATISTICS = 6,
3947 __REMOTEFILE = 7,
3948 __FILETRANSFER = 8,
3949 __MEDIAFILESTATUS = 9,
3950 __SERVERPROPERTIES = 10,
3951 __SERVERSTATISTICS = 11,
3952 __SOUNDDEVICE = 12,
3953 __SPEEXCODEC = 13,
3954 __TEXTMESSAGE = 14,
3955 __WEBMVP8CODEC = 15,
3956 __TTMESSAGE = 16,
3957 __USER = 17,
3958 __USERACCOUNT = 18,
3959 __USERSTATISTICS = 19,
3960 __VIDEOCAPTUREDEVICE = 20,
3961 __VIDEOCODEC = 21,
3962 __AUDIOCONFIG = 22,
3963 __SPEEXVBRCODEC = 23,
3964 __VIDEOFRAME = 24,
3965 __AUDIOBLOCK = 25,
3966 __AUDIOFORMAT = 26,
3967 __MEDIAFILEINFO = 27,
3968 __CLIENTERRORMSG = 28,
3969 __TTBOOL = 29,
3970 __INT32 = 30,
3971 __DESKTOPINPUT = 31,
3972 __SPEEXDSP = 32,
3973 __STREAMTYPE = 33,
3974 __AUDIOPREPROCESSORTYPE = 34,
3975 __AUDIOPREPROCESSOR = 35,
3976 __TTAUDIOPREPROCESSOR = 36,
3977 __MEDIAFILEPLAYBACK = 37,
3978 __CLIENTKEEPALIVE = 38,
3979 __UINT32 = 39,
3980 __AUDIOINPUTPROGRESS = 40,
3981 __JITTERCONFIG = 41,
3982 __WEBRTCAUDIOPREPROCESSOR = 42,
3983 __ENCRYPTIONCONTEXT = 43,
3984 __SOUNDDEVICEEFFECTS = 44,
3985 __DESKTOPWINDOW = 45,
3986 __ABUSEPREVENTION = 46,
3987 } TTType;
3988
3999 typedef struct TTMessage
4000 {
4002 ClientEvent nClientEvent;
4004 INT32 nSource;
4006 TTType ttType;
4008 UINT32 uReserved;
4009 union
4010 {
4012 Channel channel;
4014 ClientErrorMsg clienterrormsg;
4016 DesktopInput desktopinput;
4018 FileTransfer filetransfer;
4020 MediaFileInfo mediafileinfo;
4022 RemoteFile remotefile;
4024 ServerProperties serverproperties;
4026 ServerStatistics serverstatistics;
4028 TextMessage textmessage;
4030 User user;
4032 UserAccount useraccount;
4034 BannedUser banneduser;
4036 TTBOOL bActive;
4038 INT32 nBytesRemain;
4040 INT32 nStreamID;
4042 INT32 nPayloadSize;
4044 StreamType nStreamType;
4046 AudioInputProgress audioinputprogress;
4048 SoundDevice sounddevice;
4049 /* brief First byte in union. */
4050 char data[1];
4051 };
4052 } TTMessage;
4053
4072 typedef enum ClientFlag
4073 {
4078 CLIENT_CLOSED = 0x00000000,
4082 CLIENT_SNDINPUT_READY = 0x00000001,
4086 CLIENT_SNDOUTPUT_READY = 0x00000002,
4092 CLIENT_SNDINOUTPUT_DUPLEX = 0x00000004,
4099 CLIENT_SNDINPUT_VOICEACTIVATED = 0x00000008,
4106 CLIENT_SNDINPUT_VOICEACTIVE = 0x00000010,
4109 CLIENT_SNDOUTPUT_MUTE = 0x00000020,
4115 CLIENT_SNDOUTPUT_AUTO3DPOSITION = 0x00000040,
4119 CLIENT_VIDEOCAPTURE_READY = 0x00000080,
4122 CLIENT_TX_VOICE = 0x00000100,
4126 CLIENT_TX_VIDEOCAPTURE = 0x00000200,
4132 CLIENT_TX_DESKTOP = 0x00000400,
4137 CLIENT_DESKTOP_ACTIVE = 0x00000800,
4141 CLIENT_MUX_AUDIOFILE = 0x00001000,
4144 CLIENT_CONNECTING = 0x00002000,
4149 CLIENT_CONNECTED = 0x00004000,
4152 CLIENT_CONNECTION = CLIENT_CONNECTING | CLIENT_CONNECTED,
4156 CLIENT_AUTHORIZED = 0x00008000,
4161 CLIENT_STREAM_AUDIO = 0x00010000,
4166 CLIENT_STREAM_VIDEO = 0x00020000
4167 } ClientFlag;
4168
4171 typedef UINT32 ClientFlags;
4172
4177 typedef VOID TTInstance;
4178
4183 typedef VOID TTSoundLoop;
4184
4186 TEAMTALKDLL_API const TTCHAR* TT_GetVersion(void);
4187
4188 #if defined(WIN32)
4189
4203 TEAMTALKDLL_API TTInstance* TT_InitTeamTalk(IN HWND hWnd, IN UINT32 uMsg);
4204
4212 TEAMTALKDLL_API TTBOOL TT_SwapTeamTalkHWND(IN TTInstance* lpTTInstance,
4213 IN HWND hWnd);
4214 #endif
4215
4229 TEAMTALKDLL_API TTInstance* TT_InitTeamTalkPoll(void);
4230
4241 TEAMTALKDLL_API TTBOOL TT_CloseTeamTalk(IN TTInstance* lpTTInstance);
4242
4255 TEAMTALKDLL_API TTBOOL TT_GetMessage(IN TTInstance* lpTTInstance,
4256 OUT TTMessage* pMsg,
4257 IN const INT32* pnWaitMs);
4258
4288 TEAMTALKDLL_API TTBOOL TT_PumpMessage(IN TTInstance* lpTTInstance,
4289 ClientEvent nClientEvent,
4290 INT32 nIdentifier);
4291
4304 TEAMTALKDLL_API ClientFlags TT_GetFlags(IN TTInstance* lpTTInstance);
4305
4314 TEAMTALKDLL_API TTBOOL TT_SetLicenseInformation(IN const TTCHAR szRegName[TT_STRLEN],
4315 IN const TTCHAR szRegKey[TT_STRLEN]);
4328 TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevices(OUT INT32* lpnInputDeviceID,
4329 OUT INT32* lpnOutputDeviceID);
4334 TEAMTALKDLL_API TTBOOL TT_GetDefaultSoundDevicesEx(IN SoundSystem nSndSystem,
4335 OUT INT32* lpnInputDeviceID,
4336 OUT INT32* lpnOutputDeviceID);
4337
4351 TEAMTALKDLL_API TTBOOL TT_GetSoundDevices(IN OUT SoundDevice* lpSoundDevices,
4352 IN OUT INT32* lpnHowMany);
4353
4354
4370 TEAMTALKDLL_API TTBOOL TT_RestartSoundSystem(void);
4371
4377 TEAMTALKDLL_API TTSoundLoop* TT_StartSoundLoopbackTest(IN INT32 nInputDeviceID,
4378 IN INT32 nOutputDeviceID,
4379 IN INT32 nSampleRate,
4380 IN INT32 nChannels,
4381 IN TTBOOL bDuplexMode,
4382 IN const SpeexDSP* lpSpeexDSP);
4383
4417 TEAMTALKDLL_API TTSoundLoop* TT_StartSoundLoopbackTestEx(IN INT32 nInputDeviceID,
4418 IN INT32 nOutputDeviceID,
4419 IN INT32 nSampleRate,
4420 IN INT32 nChannels,
4421 IN TTBOOL bDuplexMode,
4422 IN const AudioPreprocessor* lpAudioPreprocessor,
4423 IN const SoundDeviceEffects* lpSoundDeviceEffects);
4424
4425
4436 TEAMTALKDLL_API TTBOOL TT_CloseSoundLoopbackTest(IN TTSoundLoop* lpTTSoundLoop);
4437
4468 TEAMTALKDLL_API TTBOOL TT_InitSoundInputDevice(IN TTInstance* lpTTInstance,
4469 IN INT32 nInputDeviceID);
4470
4501 TEAMTALKDLL_API TTBOOL TT_InitSoundInputSharedDevice(IN INT32 nSampleRate,
4502 IN INT32 nChannels,
4503 IN INT32 nFrameSize);
4534 TEAMTALKDLL_API TTBOOL TT_InitSoundOutputDevice(IN TTInstance* lpTTInstance,
4535 IN INT32 nOutputDeviceID);
4536
4567 TEAMTALKDLL_API TTBOOL TT_InitSoundOutputSharedDevice(IN INT32 nSampleRate,
4568 IN INT32 nChannels,
4569 IN INT32 nFrameSize);
4604 TEAMTALKDLL_API TTBOOL TT_InitSoundDuplexDevices(IN TTInstance* lpTTInstance,
4605 IN INT32 nInputDeviceID,
4606 IN INT32 nOutputDeviceID);
4607
4626 TEAMTALKDLL_API TTBOOL TT_CloseSoundInputDevice(IN TTInstance* lpTTInstance);
4627
4646 TEAMTALKDLL_API TTBOOL TT_CloseSoundOutputDevice(IN TTInstance* lpTTInstance);
4647
4656 TEAMTALKDLL_API TTBOOL TT_CloseSoundDuplexDevices(IN TTInstance* lpTTInstance);
4657
4693 TEAMTALKDLL_API TTBOOL TT_SetSoundDeviceEffects(IN TTInstance* lpTTInstance,
4694 IN const SoundDeviceEffects* lpSoundDeviceEffect);
4695
4700 TEAMTALKDLL_API TTBOOL TT_GetSoundDeviceEffects(IN TTInstance* lpTTInstance,
4701 OUT SoundDeviceEffects* lpSoundDeviceEffect);
4702
4719 TEAMTALKDLL_API INT32 TT_GetSoundInputLevel(IN TTInstance* lpTTInstance);
4720
4738 TEAMTALKDLL_API TTBOOL TT_SetSoundInputGainLevel(IN TTInstance* lpTTInstance,
4739 IN INT32 nLevel);
4740
4750 TEAMTALKDLL_API INT32 TT_GetSoundInputGainLevel(IN TTInstance* lpTTInstance);
4751
4771 TEAMTALKDLL_API TTBOOL TT_SetSoundInputPreprocess(IN TTInstance* lpTTInstance,
4772 IN const SpeexDSP* lpSpeexDSP);
4773
4785 TEAMTALKDLL_API TTBOOL TT_GetSoundInputPreprocess(IN TTInstance* lpTTInstance,
4786 OUT SpeexDSP* lpSpeexDSP);
4787
4801 TEAMTALKDLL_API TTBOOL TT_SetSoundInputPreprocessEx(IN TTInstance* lpTTInstance,
4802 IN const AudioPreprocessor* lpAudioPreprocessor);
4803
4813 TEAMTALKDLL_API TTBOOL TT_GetSoundInputPreprocessEx(IN TTInstance* lpTTInstance,
4814 OUT AudioPreprocessor* lpAudioPreprocessor);
4815
4825 TEAMTALKDLL_API TTBOOL TT_SetSoundOutputVolume(IN TTInstance* lpTTInstance,
4826 IN INT32 nVolume);
4827
4836 TEAMTALKDLL_API INT32 TT_GetSoundOutputVolume(IN TTInstance* lpTTInstance);
4837
4847 TEAMTALKDLL_API TTBOOL TT_SetSoundOutputMute(IN TTInstance* lpTTInstance,
4848 IN TTBOOL bMuteAll);
4849
4862 TEAMTALKDLL_API TTBOOL TT_Enable3DSoundPositioning(IN TTInstance* lpTTInstance,
4863 IN TTBOOL bEnable);
4864
4876 TEAMTALKDLL_API TTBOOL TT_AutoPositionUsers(IN TTInstance* lpTTInstance);
4877
4892 TEAMTALKDLL_API TTBOOL TT_EnableAudioBlockEvent(IN TTInstance* lpTTInstance,
4893 IN INT32 nUserID,
4894 IN StreamTypes uStreamTypes,
4895 IN TTBOOL bEnable);
4896
4973 TEAMTALKDLL_API TTBOOL TT_EnableAudioBlockEventEx(IN TTInstance* lpTTInstance,
4974 IN INT32 nUserID,
4975 IN StreamTypes uStreamTypes,
4976 IN const AudioFormat* lpAudioFormat,
4977 IN TTBOOL bEnable);
4978
5015 TEAMTALKDLL_API TTBOOL TT_InsertAudioBlock(IN TTInstance* lpTTInstance,
5016 IN const AudioBlock* lpAudioBlock);
5017
5037 TEAMTALKDLL_API TTBOOL TT_EnableVoiceTransmission(IN TTInstance* lpTTInstance,
5038 IN TTBOOL bEnable);
5039
5068 TEAMTALKDLL_API TTBOOL TT_EnableVoiceActivation(IN TTInstance* lpTTInstance,
5069 IN TTBOOL bEnable);
5070
5088 TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationLevel(IN TTInstance* lpTTInstance,
5089 IN INT32 nLevel);
5090
5099 TEAMTALKDLL_API INT32 TT_GetVoiceActivationLevel(IN TTInstance* lpTTInstance);
5100
5113 TEAMTALKDLL_API TTBOOL TT_SetVoiceActivationStopDelay(IN TTInstance* lpTTInstance,
5114 IN INT32 nDelayMSec);
5115
5125 TEAMTALKDLL_API INT32 TT_GetVoiceActivationStopDelay(IN TTInstance* lpTTInstance);
5126
5177 TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedAudioFile(IN TTInstance* lpTTInstance,
5178 IN const AudioCodec* lpAudioCodec,
5179 IN const TTCHAR* szAudioFileName,
5180 IN AudioFileFormat uAFF);
5181
5212 TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedAudioFileEx(IN TTInstance* lpTTInstance,
5213 IN INT32 nChannelID,
5214 IN const TTCHAR* szAudioFileName,
5215 IN AudioFileFormat uAFF);
5216
5250 TEAMTALKDLL_API TTBOOL TT_StartRecordingMuxedStreams(IN TTInstance* lpTTInstance,
5251 IN StreamTypes uStreamTypes,
5252 IN const AudioCodec* lpAudioCodec,
5253 IN const TTCHAR* szAudioFileName,
5254 IN AudioFileFormat uAFF);
5255
5270 TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFile(IN TTInstance* lpTTInstance);
5271
5278 TEAMTALKDLL_API TTBOOL TT_StopRecordingMuxedAudioFileEx(IN TTInstance* lpTTInstance,
5279 IN INT32 nChannelID);
5280
5305 TEAMTALKDLL_API TTBOOL TT_StartVideoCaptureTransmission(IN TTInstance* lpTTInstance,
5306 IN const VideoCodec* lpVideoCodec);
5307
5314 TEAMTALKDLL_API TTBOOL TT_StopVideoCaptureTransmission(IN TTInstance* lpTTInstance);
5315
5332 TEAMTALKDLL_API TTBOOL TT_GetVideoCaptureDevices(IN OUT VideoCaptureDevice* lpVideoDevices,
5333 IN OUT INT32* lpnHowMany);
5334
5348 TEAMTALKDLL_API TTBOOL TT_InitVideoCaptureDevice(IN TTInstance* lpTTInstance,
5349 IN const TTCHAR* szDeviceID,
5350 IN const VideoFormat* lpVideoFormat);
5355 TEAMTALKDLL_API TTBOOL TT_CloseVideoCaptureDevice(IN TTInstance* lpTTInstance);
5356
5357 #if defined(WIN32)
5358
5373 TEAMTALKDLL_API TTBOOL TT_PaintVideoFrame(IN HDC hDC,
5374 IN INT32 XDest,
5375 IN INT32 YDest,
5376 IN INT32 nDestWidth,
5377 IN INT32 nDestHeight,
5378 IN VideoFrame* lpVideoFrame);
5379
5411 TEAMTALKDLL_API TTBOOL TT_PaintVideoFrameEx(IN HDC hDC,
5412 IN INT32 XDest,
5413 IN INT32 YDest,
5414 IN INT32 nDestWidth,
5415 IN INT32 nDestHeight,
5416 IN INT32 XSrc,
5417 IN INT32 YSrc,
5418 IN INT32 nSrcWidth,
5419 IN INT32 nSrcHeight,
5420 IN VideoFrame* lpVideoFrame);
5421 #endif
5422
5443 TEAMTALKDLL_API VideoFrame* TT_AcquireUserVideoCaptureFrame(IN TTInstance* lpTTInstance,
5444 IN INT32 nUserID);
5445
5455 TEAMTALKDLL_API TTBOOL TT_ReleaseUserVideoCaptureFrame(IN TTInstance* lpTTInstance,
5456 IN VideoFrame* lpVideoFrame);
5464 TEAMTALKDLL_API TTBOOL TT_StartStreamingMediaFileToChannel(IN TTInstance* lpTTInstance,
5465 IN const TTCHAR* szMediaFilePath,
5466 IN const VideoCodec* lpVideoCodec);
5467
5499 TEAMTALKDLL_API TTBOOL TT_StartStreamingMediaFileToChannelEx(IN TTInstance* lpTTInstance,
5500 IN const TTCHAR* szMediaFilePath,
5501 IN const MediaFilePlayback* lpMediaFilePlayback,
5502 IN const VideoCodec* lpVideoCodec);
5503
5522 TEAMTALKDLL_API TTBOOL TT_UpdateStreamingMediaFileToChannel(IN TTInstance* lpTTInstance,
5523 IN const MediaFilePlayback* lpMediaFilePlayback,
5524 IN const VideoCodec* lpVideoCodec);
5525
5533 TEAMTALKDLL_API TTBOOL TT_StopStreamingMediaFileToChannel(IN TTInstance* lpTTInstance);
5534
5564 TEAMTALKDLL_API INT32 TT_InitLocalPlayback(IN TTInstance* lpTTInstance,
5565 IN const TTCHAR* szMediaFilePath,
5566 IN const MediaFilePlayback* lpMediaFilePlayback);
5567
5581 TEAMTALKDLL_API TTBOOL TT_UpdateLocalPlayback(IN TTInstance* lpTTInstance,
5582 IN INT32 nPlaybackSessionID,
5583 IN const MediaFilePlayback* lpMediaFilePlayback);
5584
5594 TEAMTALKDLL_API TTBOOL TT_StopLocalPlayback(IN TTInstance* lpTTInstance,
5595 IN INT32 nPlaybackSessionID);
5596
5604 TEAMTALKDLL_API TTBOOL TT_GetMediaFileInfo(IN const TTCHAR* szMediaFilePath,
5605 OUT MediaFileInfo* lpMediaFileInfo);
5606
5627 TEAMTALKDLL_API VideoFrame* TT_AcquireUserMediaVideoFrame(IN TTInstance* lpTTInstance,
5628 IN INT32 nUserID);
5629
5639 TEAMTALKDLL_API TTBOOL TT_ReleaseUserMediaVideoFrame(IN TTInstance* lpTTInstance,
5640 IN VideoFrame* lpVideoFrame);
5685 TEAMTALKDLL_API INT32 TT_SendDesktopWindow(IN TTInstance* lpTTInstance,
5686 IN const DesktopWindow* lpDesktopWindow,
5687 IN BitmapFormat nConvertBmpFormat);
5688
5698 TEAMTALKDLL_API TTBOOL TT_CloseDesktopWindow(IN TTInstance* lpTTInstance);
5699
5716 TEAMTALKDLL_API unsigned char* TT_Palette_GetColorTable(IN BitmapFormat nBmpPalette,
5717 IN INT32 nIndex);
5718 #if defined(WIN32)
5719
5722 TEAMTALKDLL_API HWND TT_Windows_GetDesktopActiveHWND(void);
5723
5725 TEAMTALKDLL_API HWND TT_Windows_GetDesktopHWND(void);
5726
5731 TEAMTALKDLL_API TTBOOL TT_Windows_GetDesktopWindowHWND(IN INT32 nIndex,
5732 OUT HWND* lpHWnd);
5733
5739 typedef struct ShareWindow
5740 {
5742 HWND hWnd;
5744 INT32 nWndX;
5746 INT32 nWndY;
5748 INT32 nWidth;
5750 INT32 nHeight;
5752 TTCHAR szWindowTitle[TT_STRLEN];
5753 } ShareWindow;
5754
5757 TEAMTALKDLL_API TTBOOL TT_Windows_GetWindow(IN HWND hWnd,
5758 OUT ShareWindow* lpShareWindow);
5759
5772 TEAMTALKDLL_API INT32 TT_SendDesktopWindowFromHWND(IN TTInstance* lpTTInstance,
5773 IN HWND hWnd,
5774 IN BitmapFormat nBitmapFormat,
5775 IN DesktopProtocol nDesktopProtocol);
5776
5792 TEAMTALKDLL_API TTBOOL TT_PaintDesktopWindow(IN TTInstance* lpTTInstance,
5793 IN INT32 nUserID,
5794 IN HDC hDC,
5795 IN INT32 XDest,
5796 IN INT32 YDest,
5797 IN INT32 nDestWidth,
5798 IN INT32 nDestHeight);
5799
5834 TEAMTALKDLL_API TTBOOL TT_PaintDesktopWindowEx(IN TTInstance* lpTTInstance,
5835 IN INT32 nUserID,
5836 IN HDC hDC,
5837 IN INT32 XDest,
5838 IN INT32 YDest,
5839 IN INT32 nDestWidth,
5840 IN INT32 nDestHeight,
5841 IN INT32 XSrc,
5842 IN INT32 YSrc,
5843 IN INT32 nSrcWidth,
5844 IN INT32 nSrcHeight);
5845 #endif
5846
5847 #if defined(__APPLE__)
5848
5854 typedef struct ShareWindow
5855 {
5857 INT64 nWindowID;
5859 INT32 nWindowX;
5861 INT32 nWindowY;
5863 INT32 nWidth;
5865 INT32 nHeight;
5867 TTCHAR szWindowTitle[TT_STRLEN];
5869 INT64 nPID;
5870 } ShareWindow;
5871
5876 TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindow(IN INT32 nIndex,
5877 OUT ShareWindow* lpShareWindow);
5878
5881 TEAMTALKDLL_API TTBOOL TT_MacOS_GetWindowFromWindowID(IN INT64 nWindowID,
5882 OUT ShareWindow* lpShareWindow);
5883
5897 TEAMTALKDLL_API INT32 TT_SendDesktopFromWindowID(IN TTInstance* lpTTInstance,
5898 IN INT64 nWindowID,
5899 IN BitmapFormat nBitmapFormat,
5900 IN DesktopProtocol nDesktopProtocol);
5901 #endif
5902
5918 TEAMTALKDLL_API TTBOOL TT_SendDesktopCursorPosition(IN TTInstance* lpTTInstance,
5919 IN UINT16 nPosX,
5920 IN UINT16 nPosY);
5948 TEAMTALKDLL_API TTBOOL TT_SendDesktopInput(IN TTInstance* lpTTInstance,
5949 IN INT32 nUserID,
5950 IN const DesktopInput lpDesktopInputs[TT_DESKTOPINPUT_MAX],
5951 IN INT32 nDesktopInputCount);
5952
5976 TEAMTALKDLL_API DesktopWindow* TT_AcquireUserDesktopWindow(IN TTInstance* lpTTInstance,
5977 IN INT32 nUserID);
5978
5991 TEAMTALKDLL_API DesktopWindow* TT_AcquireUserDesktopWindowEx(IN TTInstance* lpTTInstance,
5992 IN INT32 nUserID,
5993 IN BitmapFormat nBitmapFormat);
5994
6001 TEAMTALKDLL_API TTBOOL TT_ReleaseUserDesktopWindow(IN TTInstance* lpTTInstance,
6002 IN DesktopWindow* lpDesktopWindow);
6021 TEAMTALKDLL_API TTBOOL TT_SetEncryptionContext(IN TTInstance* lpTTInstance,
6022 const EncryptionContext* lpEncryptionContext);
6023
6054 TEAMTALKDLL_API TTBOOL TT_Connect(IN TTInstance* lpTTInstance,
6055 IN const TTCHAR* szHostAddress,
6056 IN INT32 nTcpPort,
6057 IN INT32 nUdpPort,
6058 IN INT32 nLocalTcpPort,
6059 IN INT32 nLocalUdpPort,
6060 IN TTBOOL bEncrypted);
6061
6089 TEAMTALKDLL_API TTBOOL TT_ConnectSysID(IN TTInstance* lpTTInstance,
6090 IN const TTCHAR* szHostAddress,
6091 IN INT32 nTcpPort,
6092 IN INT32 nUdpPort,
6093 IN INT32 nLocalTcpPort,
6094 IN INT32 nLocalUdpPort,
6095 IN TTBOOL bEncrypted,
6096 IN const TTCHAR* szSystemID);
6097
6120 TEAMTALKDLL_API TTBOOL TT_ConnectEx(IN TTInstance* lpTTInstance,
6121 IN const TTCHAR* szHostAddress,
6122 IN INT32 nTcpPort,
6123 IN INT32 nUdpPort,
6124 IN const TTCHAR* szBindIPAddr,
6125 IN INT32 nLocalTcpPort,
6126 IN INT32 nLocalUdpPort,
6127 IN TTBOOL bEncrypted);
6128
6139 TEAMTALKDLL_API TTBOOL TT_Disconnect(IN TTInstance* lpTTInstance);
6140
6152 TEAMTALKDLL_API TTBOOL TT_QueryMaxPayload(IN TTInstance* lpTTInstance,
6153 IN INT32 nUserID);
6154
6160 TEAMTALKDLL_API TTBOOL TT_GetClientStatistics(IN TTInstance* lpTTInstance,
6161 OUT ClientStatistics* lpClientStatistics);
6162
6177 TEAMTALKDLL_API TTBOOL TT_SetClientKeepAlive(IN TTInstance* lpTTInstance,
6178 IN const ClientKeepAlive* lpClientKeepAlive);
6179
6186 TEAMTALKDLL_API TTBOOL TT_GetClientKeepAlive(IN TTInstance* lpTTInstance,
6187 OUT ClientKeepAlive* lpClientKeepAlive);
6188
6212 TEAMTALKDLL_API INT32 TT_DoPing(IN TTInstance* lpTTInstance);
6213
6227 TEAMTALKDLL_API INT32 TT_DoLogin(IN TTInstance* lpTTInstance,
6228 IN const TTCHAR* szNickname,
6229 IN const TTCHAR* szUsername,
6230 IN const TTCHAR* szPassword);
6231
6232
6267 TEAMTALKDLL_API INT32 TT_DoLoginEx(IN TTInstance* lpTTInstance,
6268 IN const TTCHAR* szNickname,
6269 IN const TTCHAR* szUsername,
6270 IN const TTCHAR* szPassword,
6271 IN const TTCHAR* szClientName);
6272
6288 TEAMTALKDLL_API INT32 TT_DoLogout(IN TTInstance* lpTTInstance);
6289
6329 TEAMTALKDLL_API INT32 TT_DoJoinChannel(IN TTInstance* lpTTInstance,
6330 IN const Channel* lpChannel);
6331
6357 TEAMTALKDLL_API INT32 TT_DoJoinChannelByID(IN TTInstance* lpTTInstance,
6358 IN INT32 nChannelID,
6359 IN const TTCHAR* szPassword);
6360
6382 TEAMTALKDLL_API INT32 TT_DoLeaveChannel(IN TTInstance* lpTTInstance);
6383
6402 TEAMTALKDLL_API INT32 TT_DoChangeNickname(IN TTInstance* lpTTInstance,
6403 IN const TTCHAR* szNewNick);
6404
6426 TEAMTALKDLL_API INT32 TT_DoChangeStatus(IN TTInstance* lpTTInstance,
6427 IN INT32 nStatusMode,
6428 IN const TTCHAR* szStatusMessage);
6429
6450 TEAMTALKDLL_API INT32 TT_DoTextMessage(IN TTInstance* lpTTInstance,
6451 IN const TextMessage* lpTextMessage);
6452
6474 TEAMTALKDLL_API INT32 TT_DoChannelOp(IN TTInstance* lpTTInstance,
6475 IN INT32 nUserID,
6476 IN INT32 nChannelID,
6477 IN TTBOOL bMakeOperator);
6478
6500 TEAMTALKDLL_API INT32 TT_DoChannelOpEx(IN TTInstance* lpTTInstance,
6501 IN INT32 nUserID,
6502 IN INT32 nChannelID,
6503 IN const TTCHAR* szOpPassword,
6504 IN TTBOOL bMakeOperator);
6505
6531 TEAMTALKDLL_API INT32 TT_DoKickUser(IN TTInstance* lpTTInstance,
6532 IN INT32 nUserID,
6533 IN INT32 nChannelID);
6534
6571 TEAMTALKDLL_API INT32 TT_DoSendFile(IN TTInstance* lpTTInstance,
6572 IN INT32 nChannelID,
6573 IN const TTCHAR* szLocalFilePath);
6574
6606 TEAMTALKDLL_API INT32 TT_DoRecvFile(IN TTInstance* lpTTInstance,
6607 IN INT32 nChannelID,
6608 IN INT32 nFileID,
6609 IN const TTCHAR* szLocalFilePath);
6610
6635 TEAMTALKDLL_API INT32 TT_DoDeleteFile(IN TTInstance* lpTTInstance,
6636 IN INT32 nChannelID,
6637 IN INT32 nFileID);
6638
6655 TEAMTALKDLL_API INT32 TT_DoSubscribe(IN TTInstance* lpTTInstance,
6656 IN INT32 nUserID,
6657 IN Subscriptions uSubscriptions);
6658
6676 TEAMTALKDLL_API INT32 TT_DoUnsubscribe(IN TTInstance* lpTTInstance,
6677 IN INT32 nUserID,
6678 IN Subscriptions uSubscriptions);
6679
6707 TEAMTALKDLL_API INT32 TT_DoMakeChannel(IN TTInstance* lpTTInstance,
6708 IN const Channel* lpChannel);
6709
6744 TEAMTALKDLL_API INT32 TT_DoUpdateChannel(IN TTInstance* lpTTInstance,
6745 IN const Channel* lpChannel);
6746
6768 TEAMTALKDLL_API INT32 TT_DoRemoveChannel(IN TTInstance* lpTTInstance,
6769 IN INT32 nChannelID);
6770
6792 TEAMTALKDLL_API INT32 TT_DoMoveUser(IN TTInstance* lpTTInstance,
6793 IN INT32 nUserID,
6794 IN INT32 nChannelID);
6795
6814 TEAMTALKDLL_API INT32 TT_DoUpdateServer(IN TTInstance* lpTTInstance,
6815 IN const ServerProperties* lpServerProperties);
6816
6842 TEAMTALKDLL_API INT32 TT_DoListUserAccounts(IN TTInstance* lpTTInstance,
6843 IN INT32 nIndex,
6844 IN INT32 nCount);
6845
6870 TEAMTALKDLL_API INT32 TT_DoNewUserAccount(IN TTInstance* lpTTInstance,
6871 IN const UserAccount* lpUserAccount);
6872
6893 TEAMTALKDLL_API INT32 TT_DoDeleteUserAccount(IN TTInstance* lpTTInstance,
6894 IN const TTCHAR* szUsername);
6895
6924 TEAMTALKDLL_API INT32 TT_DoBanUser(IN TTInstance* lpTTInstance,
6925 IN INT32 nUserID,
6926 IN INT32 nChannelID);
6927
6939 TEAMTALKDLL_API INT32 TT_DoBanUserEx(IN TTInstance* lpTTInstance,
6940 IN INT32 nUserID,
6941 IN BanTypes uBanTypes);
6942
6961 TEAMTALKDLL_API INT32 TT_DoBan(IN TTInstance* lpTTInstance,
6962 IN const BannedUser* lpBannedUser);
6963
6986 TEAMTALKDLL_API INT32 TT_DoBanIPAddress(IN TTInstance* lpTTInstance,
6987 IN const TTCHAR* szIPAddress,
6988 IN INT32 nChannelID);
6989
7013 TEAMTALKDLL_API INT32 TT_DoUnBanUser(IN TTInstance* lpTTInstance,
7014 IN const TTCHAR* szIPAddress,
7015 IN INT32 nChannelID);
7025 TEAMTALKDLL_API INT32 TT_DoUnBanUserEx(IN TTInstance* lpTTInstance,
7026 IN const BannedUser* lpBannedUser);
7027
7050 TEAMTALKDLL_API INT32 TT_DoListBans(IN TTInstance* lpTTInstance,
7051 IN INT32 nChannelID,
7052 IN INT32 nIndex,
7053 IN INT32 nCount);
7054
7074 TEAMTALKDLL_API INT32 TT_DoSaveConfig(IN TTInstance* lpTTInstance);
7075
7094 TEAMTALKDLL_API INT32 TT_DoQueryServerStats(IN TTInstance* lpTTInstance);
7095
7108 TEAMTALKDLL_API INT32 TT_DoQuit(IN TTInstance* lpTTInstance);
7121 TEAMTALKDLL_API TTBOOL TT_GetServerProperties(IN TTInstance* lpTTInstance,
7122 OUT ServerProperties* lpServerProperties);
7123
7139 TEAMTALKDLL_API TTBOOL TT_GetServerUsers(IN TTInstance* lpTTInstance,
7140 IN OUT User* lpUsers,
7141 IN OUT INT32* lpnHowMany);
7156 TEAMTALKDLL_API INT32 TT_GetRootChannelID(IN TTInstance* lpTTInstance);
7157
7166 TEAMTALKDLL_API INT32 TT_GetMyChannelID(IN TTInstance* lpTTInstance);
7167
7177 TEAMTALKDLL_API TTBOOL TT_GetChannel(IN TTInstance* lpTTInstance,
7178 IN INT32 nChannelID,
7179 OUT Channel* lpChannel );
7180
7189 TEAMTALKDLL_API TTBOOL TT_GetChannelPath(IN TTInstance* lpTTInstance,
7190 IN INT32 nChannelID,
7191 OUT TTCHAR szChannelPath[TT_STRLEN]);
7192
7201 TEAMTALKDLL_API INT32 TT_GetChannelIDFromPath(IN TTInstance* lpTTInstance,
7202 IN const TTCHAR* szChannelPath);
7203
7217 TEAMTALKDLL_API TTBOOL TT_GetChannelUsers(IN TTInstance* lpTTInstance,
7218 IN INT32 nChannelID,
7219 IN OUT User* lpUsers,
7220 IN OUT INT32* lpnHowMany);
7221
7237 TEAMTALKDLL_API TTBOOL TT_GetChannelFiles(IN TTInstance* lpTTInstance,
7238 IN INT32 nChannelID,
7239 IN OUT RemoteFile* lpRemoteFiles,
7240 IN OUT INT32* lpnHowMany);
7241
7251 TEAMTALKDLL_API TTBOOL TT_GetChannelFile(IN TTInstance* lpTTInstance,
7252 IN INT32 nChannelID,
7253 IN INT32 nFileID,
7254 OUT RemoteFile* lpRemoteFile);
7255
7264 TEAMTALKDLL_API TTBOOL TT_IsChannelOperator(IN TTInstance* lpTTInstance,
7265 IN INT32 nUserID,
7266 IN INT32 nChannelID);
7267
7274 TEAMTALKDLL_API TTBOOL TT_GetServerChannels(IN TTInstance* lpTTInstance,
7275 IN OUT Channel* lpChannels,
7276 IN OUT INT32* lpnHowMany);
7292 TEAMTALKDLL_API INT32 TT_GetMyUserID(IN TTInstance* lpTTInstance);
7293
7306 TEAMTALKDLL_API TTBOOL TT_GetMyUserAccount(IN TTInstance* lpTTInstance,
7307 OUT UserAccount* lpUserAccount);
7308
7321 TEAMTALKDLL_API UserTypes TT_GetMyUserType(IN TTInstance* lpTTInstance);
7322
7329 TEAMTALKDLL_API UserRights TT_GetMyUserRights(IN TTInstance* lpTTInstance);
7330
7342 TEAMTALKDLL_API INT32 TT_GetMyUserData(IN TTInstance* lpTTInstance);
7343
7352 TEAMTALKDLL_API TTBOOL TT_GetUser(IN TTInstance* lpTTInstance,
7353 IN INT32 nUserID, OUT User* lpUser);
7354
7362 TEAMTALKDLL_API TTBOOL TT_GetUserStatistics(IN TTInstance* lpTTInstance,
7363 IN INT32 nUserID,
7364 OUT UserStatistics* lpUserStatistics);
7375 TEAMTALKDLL_API TTBOOL TT_GetUserByUsername(IN TTInstance* lpTTInstance,
7376 IN const TTCHAR* szUsername,
7377 OUT User* lpUser);
7396 TEAMTALKDLL_API TTBOOL TT_SetUserVolume(IN TTInstance* lpTTInstance,
7397 IN INT32 nUserID,
7398 IN StreamType nStreamType,
7399 IN INT32 nVolume);
7400
7414 TEAMTALKDLL_API TTBOOL TT_SetUserMute(IN TTInstance* lpTTInstance,
7415 IN INT32 nUserID,
7416 IN StreamType nStreamType,
7417 IN TTBOOL bMute);
7418
7436 TEAMTALKDLL_API TTBOOL TT_SetUserStoppedPlaybackDelay(IN TTInstance* lpTTInstance,
7437 IN INT32 nUserID,
7438 IN StreamType nStreamType,
7439 IN INT32 nDelayMSec);
7440
7466 TEAMTALKDLL_API TTBOOL TT_SetUserJitterControl(IN TTInstance* lpTTInstance,
7467 IN INT32 nUserID,
7468 IN StreamType nStreamType,
7469 IN const JitterConfig* lpJitterConfig);
7470
7482 TEAMTALKDLL_API TTBOOL TT_GetUserJitterControl(IN TTInstance* lpTTInstance,
7483 IN INT32 nUserID,
7484 IN StreamType nStreamType,
7485 IN JitterConfig* lpJitterConfig);
7486
7504 TEAMTALKDLL_API TTBOOL TT_SetUserPosition(IN TTInstance* lpTTInstance,
7505 IN INT32 nUserID,
7506 IN StreamType nStreamType,
7507 IN float x,
7508 IN float y,
7509 IN float z);
7510
7523 TEAMTALKDLL_API TTBOOL TT_SetUserStereo(IN TTInstance* lpTTInstance,
7524 IN INT32 nUserID,
7525 IN StreamType nStreamType,
7526 IN TTBOOL bLeftSpeaker,
7527 IN TTBOOL bRightSpeaker);
7528
7565 TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDir(IN TTInstance* lpTTInstance,
7566 IN INT32 nUserID,
7567 IN const TTCHAR* szFolderPath,
7568 IN const TTCHAR* szFileNameVars,
7569 IN AudioFileFormat uAFF);
7570
7595 TEAMTALKDLL_API TTBOOL TT_SetUserMediaStorageDirEx(IN TTInstance* lpTTInstance,
7596 IN INT32 nUserID,
7597 IN const TTCHAR* szFolderPath,
7598 IN const TTCHAR* szFileNameVars,
7599 IN AudioFileFormat uAFF,
7600 IN INT32 nStopRecordingExtraDelayMSec);
7601
7628 TEAMTALKDLL_API TTBOOL TT_SetUserAudioStreamBufferSize(IN TTInstance* lpTTInstance,
7629 IN INT32 nUserID,
7630 IN StreamTypes uStreamType,
7631 IN INT32 nMSec);
7632
7656 TEAMTALKDLL_API AudioBlock* TT_AcquireUserAudioBlock(IN TTInstance* lpTTInstance,
7657 IN StreamTypes uStreamTypes,
7658 IN INT32 nUserID);
7659
7673 TEAMTALKDLL_API TTBOOL TT_ReleaseUserAudioBlock(IN TTInstance* lpTTInstance,
7674 IN AudioBlock* lpAudioBlock);
7675
7691 TEAMTALKDLL_API TTBOOL TT_GetFileTransferInfo(IN TTInstance* lpTTInstance,
7692 IN INT32 nTransferID,
7693 OUT FileTransfer* lpFileTransfer);
7694
7705 TEAMTALKDLL_API TTBOOL TT_CancelFileTransfer(IN TTInstance* lpTTInstance,
7706 IN INT32 nTransferID);
7707
7718 TEAMTALKDLL_API void TT_GetErrorMessage(IN INT32 nError,
7719 OUT TTCHAR szErrorMsg[TT_STRLEN]);
7720
7721
7728 typedef enum TTKeyTranslate
7729 {
7731 TTKEY_NO_TRANSLATE = 0,
7735 TTKEY_WINKEYCODE_TO_TTKEYCODE = 1,
7737 TTKEY_TTKEYCODE_TO_WINKEYCODE = 2,
7741 TTKEY_MACKEYCODE_TO_TTKEYCODE = 3,
7744 TTKEY_TTKEYCODE_TO_MACKEYCODE = 4
7745 } TTKeyTranslate;
7746
7768 TEAMTALKDLL_API INT32 TT_DesktopInput_KeyTranslate(TTKeyTranslate nTranslate,
7769 IN const DesktopInput* lpDesktopInputs,
7770 OUT DesktopInput* lpTranslatedDesktopInputs,
7771 IN INT32 nDesktopInputCount);
7772
7794 TEAMTALKDLL_API INT32 TT_DesktopInput_Execute(IN const DesktopInput* lpDesktopInputs,
7795 IN INT32 nDesktopInputCount);
7796
7799 #if defined(WIN32)
7800
7832 TEAMTALKDLL_API TTBOOL TT_HotKey_Register(IN TTInstance* lpTTInstance,
7833 IN INT32 nHotKeyID,
7834 IN const INT32* lpnVKCodes,
7835 IN INT32 nVKCodeCount);
7836
7844 TEAMTALKDLL_API TTBOOL TT_HotKey_Unregister(IN TTInstance* lpTTInstance,
7845 IN INT32 nHotKeyID);
7846
7854 TEAMTALKDLL_API INT32 TT_HotKey_IsActive(IN TTInstance* lpTTInstance,
7855 IN INT32 nHotKeyID);
7856
7871 TEAMTALKDLL_API TTBOOL TT_HotKey_InstallTestHook(IN TTInstance* lpTTInstance,
7872 IN HWND hWnd, UINT32 uMsg);
7873
7881 TEAMTALKDLL_API TTBOOL TT_HotKey_RemoveTestHook(IN TTInstance* lpTTInstance);
7882
7891 TEAMTALKDLL_API TTBOOL TT_HotKey_GetKeyString(IN TTInstance* lpTTInstance,
7892 IN INT32 nVKCode,
7893 OUT TTCHAR szKeyName[TT_STRLEN]);
7895 #endif
7896
7897 /* Get the 'sizeof' of a structure used by TeamTalk. Useful to ensuring
7898 * binary compatibility when integrating with other programming
7899 * languages. */
7900 TEAMTALKDLL_API INT32 TT_DBG_SIZEOF(IN TTType nType);
7901
7902 TEAMTALKDLL_API VOID* TT_DBG_GETDATAPTR(IN TTMessage* pMsg);
7903
7904 TEAMTALKDLL_API TTBOOL TT_DBG_SetSoundInputTone(IN TTInstance* lpTTInstance,
7905 IN StreamTypes uStreamTypes,
7906 IN INT32 nFrequency);
7907
7908 TEAMTALKDLL_API TTBOOL TT_DBG_WriteAudioFileTone(IN const MediaFileInfo* lpMediaFileInfo,
7909 IN INT32 nFrequency);
7910
7911 #if defined(WIN32) /* Exclude mixer and firewall functions from
7912 * non-Windows platforms */
7913
7933 typedef enum MixerControl
7934 {
7935 WAVEOUT_MASTER,
7936 WAVEOUT_WAVE,
7937 WAVEOUT_MICROPHONE,
7938
7939 WAVEIN_MICROPHONE,
7940 WAVEIN_LINEIN,
7941 WAVEIN_WAVEOUT,
7942 } MixerControl;
7943
7950 TEAMTALKDLL_API INT32 TT_Mixer_GetMixerCount(void);
7951
7958 TEAMTALKDLL_API TTBOOL TT_Mixer_GetMixerName(IN INT32 nMixerIndex,
7959 OUT TTCHAR szMixerName[TT_STRLEN]);
7960
7968 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInName(IN INT32 nWaveDeviceID,
7969 OUT TTCHAR szMixerName[TT_STRLEN]);
7970
7978 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveOutName(IN INT32 nWaveDeviceID,
7979 OUT TTCHAR szMixerName[TT_STRLEN]);
7980
7991 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveOutMute(IN INT32 nWaveDeviceID,
7992 IN MixerControl nControl,
7993 IN TTBOOL bMute);
7994
8004 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutMute(IN INT32 nWaveDeviceID,
8005 IN MixerControl nControl);
8006
8015 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveOutVolume(IN INT32 nWaveDeviceID,
8016 IN MixerControl nControl,
8017 IN INT32 nVolume);
8018
8027 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveOutVolume(IN INT32 nWaveDeviceID,
8028 IN MixerControl nControl);
8029
8037 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInSelected(IN INT32 nWaveDeviceID,
8038 IN MixerControl nControl);
8039
8048 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInSelected(IN INT32 nWaveDeviceID,
8049 IN MixerControl nControl);
8050
8059 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInVolume(IN INT32 nWaveDeviceID,
8060 IN MixerControl nControl,
8061 IN INT32 nVolume);
8062
8071 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInVolume(IN INT32 nWaveDeviceID,
8072 IN MixerControl nControl);
8073
8080 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInBoost(IN INT32 nWaveDeviceID,
8081 IN TTBOOL bEnable);
8088 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInBoost(IN INT32 nWaveDeviceID);
8089
8096 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInMute(IN INT32 nWaveDeviceID,
8097 IN TTBOOL bEnable);
8098
8105 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInMute(IN INT32 nWaveDeviceID);
8106
8116 TEAMTALKDLL_API INT32 TT_Mixer_GetWaveInControlCount(IN INT32 nWaveDeviceID);
8117
8128 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInControlName(IN INT32 nWaveDeviceID,
8129 IN INT32 nControlIndex,
8130 OUT TTCHAR szDeviceName[TT_STRLEN]);
8131
8141 TEAMTALKDLL_API TTBOOL TT_Mixer_SetWaveInControlSelected(IN INT32 nWaveDeviceID,
8142 IN INT32 nControlIndex);
8143
8154 TEAMTALKDLL_API TTBOOL TT_Mixer_GetWaveInControlSelected(IN INT32 nWaveDeviceID,
8155 IN INT32 nControlIndex);
8166 TEAMTALKDLL_API TTBOOL TT_Firewall_IsEnabled(void);
8167
8177 TEAMTALKDLL_API TTBOOL TT_Firewall_Enable(IN TTBOOL bEnable);
8178
8185 TEAMTALKDLL_API TTBOOL TT_Firewall_AppExceptionExists(IN const TTCHAR* szExecutable);
8186
8196 TEAMTALKDLL_API TTBOOL TT_Firewall_AddAppException(IN const TTCHAR* szName,
8197 IN const TTCHAR* szExecutable);
8198
8208 TEAMTALKDLL_API TTBOOL TT_Firewall_RemoveAppException(IN const TTCHAR* szExecutable);
8211 #endif
8213 #ifdef __cplusplus
8214 }
8215 #endif
8216
8217 #endif
WAVEOUT_MICROPHONE
Definition: TeamTalk.h:7937
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:2440
USERRIGHT_TEXTMESSAGE_BROADCAST
User can broadcast text message of type MSGTYPE_BROADCAST to all users.
Definition: TeamTalk.h:1649
SERVERLOGEVENT_FILE_UPLOADED
User uploaded a file is logged to file by the server.
Definition: TeamTalk.h:1771
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:2142
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:1033
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:2007
BMP_NONE
Used to denote nothing selected.
Definition: TeamTalk.h:937
USERRIGHT_TEXTMESSAGE_CHANNEL
User can send channel text messages, i.e. MSGTYPE_CHANNEL.
Definition: TeamTalk.h:1710
SERVERLOGEVENT_USER_CONNECTED
User&#39;s IP-address is logged to file by serer.
Definition: TeamTalk.h:1731
SOUNDDEVICEFEATURE_DEFAULTCOMDEVICE
The SoundDevice is the default communication device. This feature is only supported on SOUNDSYSTEM_WA...
Definition: TeamTalk.h:384
__MEDIAFILEINFO
Definition: TeamTalk.h:3967
ClientStatistics::nTcpServerSilenceSec
INT32 nTcpServerSilenceSec
The number of seconds nothing has been received by the client on TCP.
Definition: TeamTalk.h:2809
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:4008
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:1090
CMDERR_CHANNEL_NOT_FOUND
Channel does not exist.
Definition: TeamTalk.h:3045
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.
__ABUSEPREVENTION
Definition: TeamTalk.h:3986
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:1187
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:3119
FileTransfer::nChannelID
INT32 nChannelID
The channel where the file is/will be located.
Definition: TeamTalk.h:2625
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:1838
USERRIGHT_RECORD_VOICE
User can record voice in all channels. Even channels with CHANNEL_NO_RECORDING.
Definition: TeamTalk.h:1702
UserStatistics::nVoicePacketsLost
INT64 nVoicePacketsLost
Number of voice packets lost from user.
Definition: TeamTalk.h:2346
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:2231
CLIENTEVENT_USER_STATECHANGE
A user state has changed.
Definition: TeamTalk.h:3527
SoundDevice::nWaveDeviceID
INT32 nWaveDeviceID
A Windows specific ID to the sound device.
Definition: TeamTalk.h:436
__ENCRYPTIONCONTEXT
Definition: TeamTalk.h:3983
SERVERLOGEVENT_USER_TEXTMESSAGE_CUSTOM
User&#39;s custom text messages are logged to file by the server.
Definition: TeamTalk.h:1759
DESKTOPPROTOCOL_ZLIB_1
Desktop protocol based on ZLIB for image compression and UDP for data transmission.
Definition: TeamTalk.h:965
CHANNEL_SOLO_TRANSMIT
Only one user can transmit at a time.
Definition: TeamTalk.h:2445
CLIENTEVENT_CMD_BANNEDUSER
A banned user has been received from the server.
Definition: TeamTalk.h:3486
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:1851
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:1264
Subscriptions
UINT32 Subscriptions
A bitmask based on Subscription describing which subscriptions are enabled.
Definition: TeamTalk.h:2160
JitterConfig::nMaxAdaptiveDelayMSec
INT32 nMaxAdaptiveDelayMSec
A hard maximum delay on the adaptive delay. Only valid when higher than zero. Default = 0...
Definition: TeamTalk.h:2840
__BANNEDUSER
Definition: TeamTalk.h:3942
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:2369
WebMVP8Codec
WebM video codec settings.
Definition: TeamTalk.h:1445
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:2635
User::nBufferMSecVoice
INT32 nBufferMSecVoice
The size of the buffer (in msec) to hold voice content.
Definition: TeamTalk.h:2322
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:846
SUBSCRIBE_INTERCEPT_CUSTOM_MSG
Intercept all custom text messages sent by user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2132
MediaFilePlayback::uOffsetMSec
UINT32 uOffsetMSec
Offset in milliseconds in the media file where to start playback. Pass TT_MEDIAPLAYBACK_OFFSET_IGNORE...
Definition: TeamTalk.h:1593
User::nBufferMSecMediaFile
INT32 nBufferMSecMediaFile
The size of the buffer (in msec) to hold media file content.
Definition: TeamTalk.h:2326
BANTYPE_USERNAME
Ban szUsername specified in BannedUser.
Definition: TeamTalk.h:1951
__SPEEXCODEC
Definition: TeamTalk.h:3953
TT_CloseTeamTalk
TEAMTALKDLL_API TTBOOL TT_CloseTeamTalk(IN TTInstance *lpTTInstance)
Close the TeamTalk client instance and release its resources.
__STREAMTYPE
Definition: TeamTalk.h:3973
RemoteFile::nFileID
INT32 nFileID
The ID identifying the file.
Definition: TeamTalk.h:2647
SERVERLOGEVENT_USER_KICKED
User was kicked is logged to file by the server.
Definition: TeamTalk.h:1743
BanTypes
UINT32 BanTypes
A mask of types of bans that apply.
Definition: TeamTalk.h:1955
CLIENTEVENT_USER_AUDIOBLOCK
A new audio block can be extracted.
Definition: TeamTalk.h:3639
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:4106
USERRIGHT_TRANSMIT_DESKTOP
User is allowed to forward desktop packets through server.
Definition: TeamTalk.h:1677
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:2751
SERVERLOGEVENT_USER_LOGGEDOUT
User logged out is logged to file by the server.
Definition: TeamTalk.h:1737
SoundDeviceEffects
Set up audio effects supported by the sound device.
Definition: TeamTalk.h:470
CLIENTEVENT_USER_FIRSTVOICESTREAMPACKET
The first voice packet of a new voice stream has been received.
Definition: TeamTalk.h:3808
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:1775
__JITTERCONFIG
Definition: TeamTalk.h:3981
CMDERR_ALREADY_IN_CHANNEL
Cannot join same channel twice.
Definition: TeamTalk.h:3023
MFS_PAUSED
Paused processing of media file.
Definition: TeamTalk.h:751
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:4099
CLIENTEVENT_CMD_USER_UPDATE
User changed properties.
Definition: TeamTalk.h:3364
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:1680
CMDERR_USER_NOT_FOUND
User not found.
Definition: TeamTalk.h:3056
AudioCodec::opus
OpusCodec opus
Opus codec settings if nCodec is OPUS_CODEC.
Definition: TeamTalk.h:1514
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:839
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:2798
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:2884
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:667
Subscription
Subscription
A user by default accepts audio, video and text messages from all users. Using subscribtions can...
Definition: TeamTalk.h:2094
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:2122
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:4166
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:2427
ServerProperties::nMaxUsers
INT32 nMaxUsers
The maximum number of users allowed on the server. A user with admin account can ignore this...
Definition: TeamTalk.h:1815
ClientStatistics::nUdpBytesSent
INT64 nUdpBytesSent
Bytes sent on UDP.
Definition: TeamTalk.h:2776
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:1773
AudioPreprocessor::webrtc
WebRTCAudioPreprocessor webrtc
Used when nPreprocessor is WEBRTC_AUDIOPREPROCESSOR.
Definition: TeamTalk.h:1437
SOUND_VOLUME_MAX
The maximum volume.
Definition: TeamTalk.h:601
__USER
Definition: TeamTalk.h:3957
CLIENTEVENT_CMD_SERVERSTATISTICS
Server statistics available.
Definition: TeamTalk.h:3445
CLIENTEVENT_USER_DESKTOPINPUT
Desktop input (mouse or keyboard input) has been received from a user.
Definition: TeamTalk.h:3607
ClientStatistics::nMediaFileAudioBytesRecv
INT64 nMediaFileAudioBytesRecv
Audio from media file data received (on UDP).
Definition: TeamTalk.h:2790
AudioConfig
Audio configuration for clients in a channel.
Definition: TeamTalk.h:1531
ServerProperties::nTcpPort
INT32 nTcpPort
The server&#39;s TCP port.
Definition: TeamTalk.h:1846
Channel::nParentID
INT32 nParentID
Parent channel ID. 0 means no parent channel, i.e. it&#39;s the root channel.
Definition: TeamTalk.h:2490
BMP_RGB16_555
The bitmap is a 16-bit colored bitmap. The maximum pixels.
Definition: TeamTalk.h:946
ServerLogEvent
ServerLogEvent
Events that are logged by the server, i.e. written to server&#39;s log file.
Definition: TeamTalk.h:1726
ShareWindow::nWindowY
INT32 nWindowY
Y coordinate of window.
Definition: TeamTalk.h:5861
SoundDevice::nMaxInputChannels
INT32 nMaxInputChannels
The maximum number of input channels.
Definition: TeamTalk.h:441
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:3244
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:850
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:3701
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:7744
MixerControl
MixerControl
The Windows mixer controls which can be queried by the TT_Mixer_* functions.
Definition: TeamTalk.h:7933
WebRTCAudioPreprocessor::nLevel
INT32 nLevel
Noise suppression level. 0 = Low, 1 = Moderate, 2 = High, 3 = VeryHigh. Default: 1.
Definition: TeamTalk.h:1346
SERVERLOGEVENT_CHANNEL_UPDATED
User updated a channel is logged to file by the server.
Definition: TeamTalk.h:1767
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:2137
USERRIGHT_MULTI_LOGIN
Allow multiple users to log on to the server with the same UserAccount.
Definition: TeamTalk.h:1636
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:1422
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:3071
SUBSCRIBE_CUSTOM_MSG
Subscribing to custom user messages.
Definition: TeamTalk.h:2109
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:673
TT_Windows_GetDesktopHWND
TEAMTALKDLL_API HWND TT_Windows_GetDesktopHWND(void)
Get the handle (HWND) of the Windows desktop (full desktop).
Channel::nTimeOutTimerMediaFileMSec
INT32 nTimeOutTimerMediaFileMSec
Time out timer for media file stream. The maximum time in miliseconds a user can transmit a media fil...
Definition: TeamTalk.h:2598
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:3966
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:950
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:378
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:3999
ServerStatistics::nUsersServed
INT32 nUsersServed
The number of users who have logged on to the server.
Definition: TeamTalk.h:1920
CHANNEL_NO_VOICEACTIVATION
Don&#39;t allow voice transmission if it&#39;s trigged by voice activation.
Definition: TeamTalk.h:2464
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:1253
SPEEXDSP_AUDIOPREPROCESSOR
Use the SpeexDSP audio preprocessor.
Definition: TeamTalk.h:1417
AbusePrevention::nCommandsIntervalMSec
INT32 nCommandsIntervalMSec
Commands within given interval.
Definition: TeamTalk.h:2020
UserAccount::uUserType
UserTypes uUserType
A bitmask of the type of user based on UserType.
Definition: TeamTalk.h:2038
CLIENTEVENT_CMD_USERACCOUNT_REMOVE
A user account has been removed.
Definition: TeamTalk.h:3506
ServerStatistics::nVoiceBytesTX
INT64 nVoiceBytesTX
The number of bytes in audio packets sent from the server to clients.
Definition: TeamTalk.h:1897
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:2692
RemoteFile
A struct containing the properties of a file in a Channel.
Definition: TeamTalk.h:2642
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:1745
ClientFlags
UINT32 ClientFlags
A bitmask based on ClientFlag describing the local client instance&#39;s current state.
Definition: TeamTalk.h:4171
ClientKeepAlive::nTcpKeepAliveIntervalMSec
INT32 nTcpKeepAliveIntervalMSec
Client instance&#39;s interval between automatically doing TT_DoPing() command. Read-only value...
Definition: TeamTalk.h:2739
DESKTOPKEYSTATE_NONE
The key is ignored.
Definition: TeamTalk.h:1007
ServerLogEvents
UINT32 ServerLogEvents
Bitmask of ServerLogEvent.
Definition: TeamTalk.h:1784
ServerProperties::nMaxVideoCaptureTxPerSecond
INT32 nMaxVideoCaptureTxPerSecond
The maximum number of bytes per second which the server will allow for video input packets...
Definition: TeamTalk.h:1830
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:504
SoundLevel
SoundLevel
An enum encapsulation the minimum, maximum and default sound levels for input and output sound device...
Definition: TeamTalk.h:580
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:1241
CMDERR_CHANNEL_HAS_USERS
Cannot process command since channel is not empty.
Definition: TeamTalk.h:3096
INTERR_AUDIOCODEC_INIT_FAILED
Audio codec used by channel failed to initialize. Ensure the settings specified in AudioCodec are val...
Definition: TeamTalk.h:3132
MSGTYPE_NONE
An incomplete text message.
Definition: TeamTalk.h:2386
CLIENT_VIDEOCAPTURE_READY
If set the client instance&#39;s video device has been initialized, i.e. TT_InitVideoCaptureDevice has be...
Definition: TeamTalk.h:4119
WAVEOUT_WAVE
Definition: TeamTalk.h:7936
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:2344
__UINT32
Definition: TeamTalk.h:3979
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:7741
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:5750
CHANNEL_PERMANENT
A channel which persists even when the last user leaves the channel.
Definition: TeamTalk.h:2443
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:843
ClientKeepAlive::nUdpConnectTimeoutMSec
INT32 nUdpConnectTimeoutMSec
The duration before the client instance should give up trying to connect to the server on UDP...
Definition: TeamTalk.h:2766
MediaFileInfo::uElapsedMSec
UINT32 uElapsedMSec
The elapsed time of the media file in miliseconds.
Definition: TeamTalk.h:1575
USERRIGHT_LOCKED_STATUS
User&#39;s status is locked. TT_DoChangeStatus() cannot be used.
Definition: TeamTalk.h:1699
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:1941
WebRTCAudioPreprocessor::fGainDB
float fGainDB
Gain level in dB. Range: 0 <= x < 50. Default: 0.
Definition: TeamTalk.h:1375
AudioFormat::nAudioFmt
AudioFileFormat nAudioFmt
The audio file format, e.g. wave or MP3.
Definition: TeamTalk.h:801
__NONE
Definition: TeamTalk.h:3940
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:870
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:1429
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:1155
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:643
SUBSCRIBE_INTERCEPT_CHANNEL_MSG
Intercept all channel messages sent by a user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2128
NO_AUDIOPREPROCESSOR
Value for specifying that no audio preprocessing should occur.
Definition: TeamTalk.h:1415
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:2802
__TTMESSAGE
Definition: TeamTalk.h:3956
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:2217
CMDERR_SYNTAX_ERROR
Command has syntax error. Only used internally.
Definition: TeamTalk.h:2868
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:1642
ServerProperties
A struct containing the properties of the server&#39;s settings.
Definition: TeamTalk.h:1797
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:2115
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:439
FOURCC_YUY2
Image format where a 640x480 pixel images takes up 614.400 bytes.
Definition: TeamTalk.h:827
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:2492
CLIENT_CLOSED
The client instance (TTInstance) is in closed state, i.e. TT_InitTeamTalk has return a valid instance...
Definition: TeamTalk.h:4078
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:1119
CLIENT_CONNECTED
If set the client instance is connected to a server, i.e. CLIENTEVENT_CON_SUCCESS event has been issu...
Definition: TeamTalk.h:4149
__TEXTMESSAGE
Definition: TeamTalk.h:3954
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:609
WebRTCAudioPreprocessor::fMaxGainChangeDBPerSecond
float fMaxGainChangeDBPerSecond
Definition: TeamTalk.h:1388
SoundDeviceFeatures
UINT32 SoundDeviceFeatures
A bitmask of available SoundDeviceFeature. Checkout uSoundDeviceFeatures on SoundDevice.
Definition: TeamTalk.h:389
BanType
BanType
Way to ban a user from either login or joining a channel.
Definition: TeamTalk.h:1938
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:1283
User::nStatusMode
INT32 nStatusMode
The user&#39;s current status mode. Invoke TT_DoChangeStatus() to change this value. Event CLIENTEVENT_CM...
Definition: TeamTalk.h:2267
CLIENT_TX_VOICE
If set the client instance is currently transmitting audio.
Definition: TeamTalk.h:4122
TTMessage::channel
Channel channel
Valid if ttType is __CHANNEL.
Definition: TeamTalk.h:4012
ServerStatistics::nFilesRx
INT64 nFilesRx
The number of bytes for file transmission received by the server.
Definition: TeamTalk.h:1928
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:2257
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:1930
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:1039
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:1765
AudioPreprocessor::speexdsp
SpeexDSP speexdsp
Used when nPreprocessor is SPEEXDSP_AUDIOPREPROCESSOR.
Definition: TeamTalk.h:1433
SUBSCRIBE_DESKTOPINPUT
Subscribing to STREAMTYPE_DESKTOPINPUT.
Definition: TeamTalk.h:2119
UserAccount::uUserRights
UserRights uUserRights
A bitmask based on UserRight which specifies the rights the user have who logs onto the server...
Definition: TeamTalk.h:2042
SUBSCRIBE_VOICE
Subscribing to STREAMTYPE_VOICE.
Definition: TeamTalk.h:2111
TT_GetVoiceActivationLevel
TEAMTALKDLL_API INT32 TT_GetVoiceActivationLevel(IN TTInstance *lpTTInstance)
Get voice activation level.
CLIENTEVENT_NONE
Definition: TeamTalk.h:3179
MediaFilePlayback::audioPreprocessor
AudioPreprocessor audioPreprocessor
Option to activate audio preprocessor on local media file playback.
Definition: TeamTalk.h:1597
ClientStatistics::nUdpBytesRecv
INT64 nUdpBytesRecv
Bytes received on UDP.
Definition: TeamTalk.h:2778
UserStatistics::nVideoCaptureFramesDropped
INT64 nVideoCaptureFramesDropped
Number of video frames dropped because user application didn&#39;t retrieve video frames in time...
Definition: TeamTalk.h:2357
USERRIGHT_DOWNLOAD_FILES
User can download files from channels.
Definition: TeamTalk.h:1665
CLIENTEVENT_USER_MEDIAFILE_VIDEO
A new video frame from a video media file was received from a user.
Definition: TeamTalk.h:3555
OpusCodec::bDTX
TTBOOL bDTX
Discontinuous transmission. Enables "null" packets during silence.
Definition: TeamTalk.h:1168
WebRTCAudioPreprocessor::fExtraSaturationMarginDB
float fExtraSaturationMarginDB
Definition: TeamTalk.h:1386
CMDERR_MAX_LOGINS_PER_IPADDRESS_EXCEEDED
The maximum number of logins allowed per IP-address has been exceeded.
Definition: TeamTalk.h:2977
AFF_CHANNELCODEC_FORMAT
Store audio in the same format as the Channel&#39;s configured audio codec.
Definition: TeamTalk.h:774
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:1260
EncryptionContext
struct EncryptionContext EncryptionContext
Configure peer verification for encrypted connection.
USERTYPE_ADMIN
A user with administrator privileges.
Definition: TeamTalk.h:1991
CLIENTEVENT_CMD_USER_TEXTMSG
A user has sent a text-message.
Definition: TeamTalk.h:3393
CLIENTEVENT_CMD_CHANNEL_UPDATE
A channel&#39;s properties has been updated.
Definition: TeamTalk.h:3413
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:1183
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:1779
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:1704
__TTAUDIOPREPROCESSOR
Definition: TeamTalk.h:3976
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:2176
CMDERR_NOT_IN_CHANNEL
Cannot leave channel because not in channel.
Definition: TeamTalk.h:3018
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:1106
USERSTATE_MEDIAFILE
If set user is streaming a media file. If this flag changes the event CLIENTEVENT_USER_STATECHANGE is...
Definition: TeamTalk.h:2200
CMDERR_INCOMPATIBLE_PROTOCOLS
The server uses a protocol which is incompatible with the client instance.
Definition: TeamTalk.h:2879
MediaFileInfo
struct MediaFileInfo MediaFileInfo
Struct describing the audio and video format used by a media file.
__SPEEXDSP
Definition: TeamTalk.h:3972
CLIENTEVENT_VOICE_ACTIVATION
Voice activation has triggered transmission.
Definition: TeamTalk.h:3669
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).
SOUNDSYSTEM_PULSEAUDIO
PulseAudio API. PulseAudio is typically used on Ubuntu 22.
Definition: TeamTalk.h:347
AudioFormat::nSampleRate
INT32 nSampleRate
Sample rate of media file.
Definition: TeamTalk.h:803
TTAudioPreprocessor::nGainLevel
INT32 nGainLevel
Gain level between SOUND_GAIN_MIN and SOUND_GAIN_MAX. Default is SOUND_GAIN_DEFAULT (no gain)...
Definition: TeamTalk.h:1297
OpusCodec::nSampleRate
INT32 nSampleRate
The sample rate to use. Sample rate must be 8000, 12000, 16000, 24000 or 48000 Hz.
Definition: TeamTalk.h:1153
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:1499
SoundDeviceEffects::bEnableAGC
TTBOOL bEnableAGC
Enable Automatic Gain Control.
Definition: TeamTalk.h:487
SpeexDSP::bEnableEchoCancellation
TTBOOL bEnableEchoCancellation
Enable/disable acoustic echo cancellation (AEC).
Definition: TeamTalk.h:1279
SERVERLOGEVENT_USER_DISCONNECTED
User disconnected from server is logged to file by the server.
Definition: TeamTalk.h:1733
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:2351
UserStatistics::nVideoCapturePacketsRecv
INT64 nVideoCapturePacketsRecv
Number of video packets received from user. A video frame can consist of several video packets...
Definition: TeamTalk.h:2349
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:2469
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:410
USERRIGHT_TRANSMIT_VIDEOCAPTURE
User is allowed to forward video packets through server. TT_StartVideoCaptureTransmission() ...
Definition: TeamTalk.h:1674
CMDERR_INCORRECT_CHANNEL_PASSWORD
Invalid channel password.
Definition: TeamTalk.h:2896
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:1887
MSGTYPE_USER
A User to user text message. A message of this type can be sent across channels.
Definition: TeamTalk.h:2389
TTMessage::bActive
TTBOOL bActive
Valid if ttType is __TTBOOL.
Definition: TeamTalk.h:4036
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:2735
JitterConfig::nActiveAdaptiveDelayMSec
INT32 nActiveAdaptiveDelayMSec
The current adaptive delay. When used with TT_SetUserJitterControl, this value is used as the adaptiv...
Definition: TeamTalk.h:2847
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:2147
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:1638
CMDERR_FILESHARING_DISABLED
Server does not allow file transfers.
Definition: TeamTalk.h:3091
SoundDevice::nSoundSystem
SoundSystem nSoundSystem
The sound system used by the sound device.
Definition: TeamTalk.h:412
__AUDIOCODEC
Definition: TeamTalk.h:3941
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:4018
CLIENTEVENT_CMD_PROCESSING
A command issued by TT_Do* methods is being processed.
Definition: TeamTalk.h:3259
USERSTATE_NONE
The user is in initial state.
Definition: TeamTalk.h:2167
UserStatistics::nVideoCaptureFramesLost
INT64 nVideoCaptureFramesLost
Video frames which couldn&#39;t be shown because packets were lost.
Definition: TeamTalk.h:2354
ClientStatistics::nMediaFileVideoBytesSent
INT64 nMediaFileVideoBytesSent
Video from media file data sent (on UDP).
Definition: TeamTalk.h:2792
TTMessage::serverstatistics
ServerStatistics serverstatistics
Valid if ttType is __SERVERSTATISTICS.
Definition: TeamTalk.h:4026
CHANNEL_NO_RECORDING
Don&#39;t allow recording to files in the channel.
Definition: TeamTalk.h:2466
DesktopWindow
A struct containing the properties of a shared desktop window.
Definition: TeamTalk.h:974
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:879
EncryptionContext::nVerifyDepth
INT32 nVerifyDepth
Set limit to depth in the certificate chain during the verification procedure.
Definition: TeamTalk.h:2714
AudioBlock::nChannels
INT32 nChannels
The number of channels used (1 for mono, 2 for stereo).
Definition: TeamTalk.h:669
SERVERLOGEVENT_USER_LOGINFAILED
User failed to log in is logged to file by the server.
Definition: TeamTalk.h:1739
FileTransferStatus
FileTransferStatus
Status of a file transfer.
Definition: TeamTalk.h:2603
TEAMTALK_AUDIOPREPROCESSOR
Use TeamTalk&#39;s internal audio preprocessor TTAudioPreprocessor.
Definition: TeamTalk.h:1419
SOUNDDEVICEFEATURE_AGC
The SoundDevice can enable Automatic Gain Control (AGC). Enable AGC use property bEnableAGC on SoundD...
Definition: TeamTalk.h:370
WebMVP8Codec::nEncodeDeadline
UINT32 nEncodeDeadline
Time that should be spent on encoding a frame.
Definition: TeamTalk.h:1465
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:4016
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:830
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:2372
SERVERLOGEVENT_USER_LOGGEDIN
User logged in is logged to file by the server.
Definition: TeamTalk.h:1735
AudioInputProgress::uElapsedMSec
UINT32 uElapsedMSec
The duration of the audio that has been transmitted.
Definition: TeamTalk.h:1611
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:3009
Channel::audiocodec
AudioCodec audiocodec
The audio codec used by users in the channel.
Definition: TeamTalk.h:2518
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:1490
CMDERR_CHANNEL_ALREADY_EXISTS
Channel already exists.
Definition: TeamTalk.h:3027
DesktopWindow::frameBuffer
VOID * frameBuffer
A buffer pointing to the bitmap data (often refered to as Scan0).
Definition: TeamTalk.h:995
CMDERR_INVALID_ACCOUNT
Invalid username or password for account.
Definition: TeamTalk.h:2902
WEBM_VP8_CODEC
WebM video codec.
Definition: TeamTalk.h:1494
__DESKTOPWINDOW
Definition: TeamTalk.h:3985
TTType
TTType
Definition: TeamTalk.h:3938
FileTransfer::nTransferred
INT64 nTransferred
The number of bytes transferred so far.
Definition: TeamTalk.h:2633
FileTransfer::nTransferID
INT32 nTransferID
The ID identifying the file transfer.
Definition: TeamTalk.h:2623
ServerStatistics::nTotalBytesTX
INT64 nTotalBytesTX
The number of bytes sent from the server to clients.
Definition: TeamTalk.h:1891
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:784
WebMVP8Codec::rc_target_bitrate
UINT32 rc_target_bitrate
Target bitrate in kbits/sec. This value must be greater than 0.
Definition: TeamTalk.h:1456
TTMessage::nPayloadSize
INT32 nPayloadSize
Valid if ttType is __INT32.
Definition: TeamTalk.h:4042
__CHANNEL
Definition: TeamTalk.h:3945
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:991
UserType
UserType
The types of users supported.
Definition: TeamTalk.h:1983
MediaFilePlayback::bPaused
TTBOOL bPaused
Start or pause media file playback.
Definition: TeamTalk.h:1595
ChannelTypes
UINT32 ChannelTypes
Bitmask of ChannelType.
Definition: TeamTalk.h:2474
Channel::uChannelType
ChannelTypes uChannelType
A bitmask of the type of channel based on ChannelType.
Definition: TeamTalk.h:2505
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:4082
USERSTATE_VIDEOCAPTURE
If set the user currently has an active video stream. If this flag changes the event CLIENTEVENT_USER...
Definition: TeamTalk.h:2186
CLIENTEVENT_CMD_FILE_NEW
A new file is added to a channel.
Definition: TeamTalk.h:3458
VideoCaptureDevice
A struct containing the properties of a video capture device.
Definition: TeamTalk.h:901
CLIENTEVENT_CMD_USERACCOUNT
A user account has been received from the server.
Definition: TeamTalk.h:3476
CMDERR_MAX_DISKUSAGE_EXCEEDED
Cannot upload file because disk quota will be exceeded.
Definition: TeamTalk.h:2958
ShareWindow::nWndX
INT32 nWndX
X coordinate of the window relative to the Windows desktop.
Definition: TeamTalk.h:5744
CLIENTEVENT_HOTKEY
A hotkey has been acticated or deactivated.
Definition: TeamTalk.h:3681
ServerProperties::bAutoSave
TTBOOL bAutoSave
Whether the server automatically saves changes.
Definition: TeamTalk.h:1844
AudioPreprocessorType
AudioPreprocessorType
The types of supported audio preprocessors.
Definition: TeamTalk.h:1411
CLIENTEVENT_AUDIOINPUT
Progress is audio being injected as STREAMTYPE_VOICE.
Definition: TeamTalk.h:3787
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:1029
ShareWindow::nWidth
INT32 nWidth
The width in pixels of the window.
Definition: TeamTalk.h:5748
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:4161
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:3164
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:665
NO_CODEC
No codec specified.
Definition: TeamTalk.h:1484
CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_INPUT
New sound device has been selected as default input device.
Definition: TeamTalk.h:3878
ClientStatistics::nDesktopBytesSent
INT64 nDesktopBytesSent
Desktop data sent (on UDP).
Definition: TeamTalk.h:2796
SERVERLOGEVENT_NONE
Nothing is logged to file by server.
Definition: TeamTalk.h:1729
OpusCodec::bVBR
TTBOOL bVBR
Enable variable bitrate.
Definition: TeamTalk.h:1173
DesktopKeyStates
UINT32 DesktopKeyStates
Mask of key states.
Definition: TeamTalk.h:1015
RemoteFile::nChannelID
INT32 nChannelID
The ID of the channel where the file is located.
Definition: TeamTalk.h:2645
MediaFilePlayback
Properties for initializing or updating a file for media streaming.
Definition: TeamTalk.h:1586
OpusCodec::bVBRConstraint
TTBOOL bVBRConstraint
Enable constrained VBR. bVBR must be enabled to enable this.
Definition: TeamTalk.h:1176
CLIENT_TX_VIDEOCAPTURE
If set the client instance is currently transmitting video.
Definition: TeamTalk.h:4126
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:419
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:696
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:924
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:1646
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:381
DesktopProtocol
DesktopProtocol
The protocols supported for transferring a DesktopWindow.
Definition: TeamTalk.h:961
__SERVERSTATISTICS
Definition: TeamTalk.h:3951
TTMessage::remotefile
RemoteFile remotefile
Valid if ttType is __REMOTEFILE.
Definition: TeamTalk.h:4022
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:3764
SUBSCRIBE_BROADCAST_MSG
Subscribing to broadcast text messsages.
Definition: TeamTalk.h:2106
CMDERR_FILE_NOT_FOUND
File does not exist.
Definition: TeamTalk.h:3081
ClientStatistics::nVideoCaptureBytesSent
INT64 nVideoCaptureBytesSent
Video data sent (on UDP).
Definition: TeamTalk.h:2784
ShareWindow::nWindowX
INT32 nWindowX
X coordinate of window.
Definition: TeamTalk.h:5859
ServerProperties::nMaxLoginsPerIPAddress
INT32 nMaxLoginsPerIPAddress
The maximum number of users allowed to log in with the same IP-address. 0 means disabled.
Definition: TeamTalk.h:1821
MediaFileInfo::audioFmt
AudioFormat audioFmt
The audio properties of the media file.
Definition: TeamTalk.h:1569
ServerStatistics::nTotalBytesRX
INT64 nTotalBytesRX
The number of bytes received by the server from clients.
Definition: TeamTalk.h:1894
TTMessage::clienterrormsg
ClientErrorMsg clienterrormsg
Valid if ttType is __CLIENTERRORMSG.
Definition: TeamTalk.h:4014
SoundDevice::szDeviceName
TTCHAR szDeviceName[TT_STRLEN]
The name of the sound device.
Definition: TeamTalk.h:414
__OPUSCODEC
Definition: TeamTalk.h:3944
SOUNDSYSTEM_NONE
Sound system denoting invalid or not found.
Definition: TeamTalk.h:290
MFS_STARTED
Started processing media file.
Definition: TeamTalk.h:745
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:4032
SoundDevice::nMaxOutputChannels
INT32 nMaxOutputChannels
The maximum number of output channels.
Definition: TeamTalk.h:443
CMDERR_FILETRANSFER_NOT_FOUND
File transfer doesn&#39;t exists.
Definition: TeamTalk.h:3066
SUBSCRIBE_CHANNEL_MSG
Subscribing to channel texxt messages.
Definition: TeamTalk.h:2103
TT_StopLocalPlayback
TEAMTALKDLL_API TTBOOL TT_StopLocalPlayback(IN TTInstance *lpTTInstance, IN INT32 nPlaybackSessionID)
__DESKTOPINPUT
Definition: TeamTalk.h:3971
DesktopWindow::nWidth
INT32 nWidth
The width in pixels of the bitmap.
Definition: TeamTalk.h:977
__FILETRANSFER
Definition: TeamTalk.h:3948
TTMessage::nBytesRemain
INT32 nBytesRemain
Valid if ttType is __INT32.
Definition: TeamTalk.h:4038
SPEEX_CODEC
Speex audio codec, http://www.speex.org.
Definition: TeamTalk.h:1487
CLIENTEVENT_CMD_MYSELF_LOGGEDOUT
The client instance logged out of the server.
Definition: TeamTalk.h:3316
AudioFormat::nChannels
INT32 nChannels
Channels used by media file, mono = 1, stereo = 2.
Definition: TeamTalk.h:805
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:3974
MSGTYPE_CHANNEL
A User to channel text message. Users of type USERTYPE_DEFAULT can only send this text message to the...
Definition: TeamTalk.h:2394
TTAudioPreprocessor::bMuteLeftSpeaker
TTBOOL bMuteLeftSpeaker
Whether to mute left speaker in stereo playback.
Definition: TeamTalk.h:1299
MFS_FINISHED
Finished processing media file.
Definition: TeamTalk.h:747
WAVEIN_MICROPHONE
Definition: TeamTalk.h:7939
__CLIENTKEEPALIVE
Definition: TeamTalk.h:3978
OPUS_CODEC
OPUS audio codec.
Definition: TeamTalk.h:1492
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:2061
CMDERR_CHANNEL_BANNED
Banned from joining a channel.
Definition: TeamTalk.h:2994
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:1975
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:1248
Channel::nTimeOutTimerVoiceMSec
INT32 nTimeOutTimerVoiceMSec
Time out timer for voice stream. The maximum time in miliseconds a user can transmit voice without ch...
Definition: TeamTalk.h:2594
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:3382
EncryptionContext
Configure peer verification for encrypted connection.
Definition: TeamTalk.h:2668
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:2290
CLIENTEVENT_CMD_SERVER_UPDATE
Server has updated its settings (server name, MOTD, etc.)
Definition: TeamTalk.h:3435
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:4046
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:1842
AudioInputProgress::uQueueMSec
UINT32 uQueueMSec
The duration of the audio currently queued for transmission.
Definition: TeamTalk.h:1608
ClientStatistics::nSoundInputDeviceDelayMSec
INT32 nSoundInputDeviceDelayMSec
Delay of sound input device until the first audio frame is delivered (in msec).
Definition: TeamTalk.h:2824
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:3975
CMDERR_MAX_FILETRANSFERS_EXCEEDED
Maximum number of file transfers exceeded.
Definition: TeamTalk.h:3000
ShareWindow::nWindowID
INT64 nWindowID
The CGWindowID.
Definition: TeamTalk.h:5857
USERTYPE_DEFAULT
A default user who can join channels.
Definition: TeamTalk.h:1989
AudioPreprocessor
Configure the audio preprocessor specified by nPreprocessor.
Definition: TeamTalk.h:1426
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:4115
TTMessage::nStreamID
INT32 nStreamID
Valid if ttType is __INT32.
Definition: TeamTalk.h:4040
USERRIGHT_TRANSMIT_MEDIAFILE_AUDIO
User is allowed to stream audio files to channel.
Definition: TeamTalk.h:1683
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:1651
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:1508
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:403
CMDERR_ALREADY_LOGGEDIN
Already logged in.
Definition: TeamTalk.h:3014
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:954
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:683
__VIDEOFORMAT
Definition: TeamTalk.h:3943
SpeexVBRCodec::nQuality
INT32 nQuality
A value from 0-10. If nBitRate is non-zero it will override this value.
Definition: TeamTalk.h:1093
ClientErrorMsg
Struct containing an error message.
Definition: TeamTalk.h:3161
SERVERLOGEVENT_USER_TEXTMESSAGE_CHANNEL
User&#39;s channel text messages are logged to file by the server.
Definition: TeamTalk.h:1761
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:4137
__CLIENTERRORMSG
Definition: TeamTalk.h:3968
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:2251
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:459
WebRTCAudioPreprocessor::fFixedGainFactor
float fFixedGainFactor
Gain factor. Default: 1.
Definition: TeamTalk.h:1325
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:1125
SOUND_VOLUME_MIN
The minimum volume.
Definition: TeamTalk.h:615
VideoFrame::nFrameBufferSize
INT32 nFrameBufferSize
The size in bytes of the buffer allocate in frameBuffer.
Definition: TeamTalk.h:889
AFF_MP3_32KBIT_FORMAT
Definition: TeamTalk.h:780
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:1602
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:1534
AFF_NONE
Used to denote nothing selected.
Definition: TeamTalk.h:763
SOUNDDEVICEFEATURE_DENOISE
The SoundDevice can enable denoising. Enable denoising use property bEnableDenoising on SoundDeviceEf...
Definition: TeamTalk.h:375
CLIENTEVENT_CMD_FILE_REMOVE
A file has been removed from a channel.
Definition: TeamTalk.h:3466
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:1668
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:3980
USERTYPE_NONE
Used internally to denote an unauthenticated user.
Definition: TeamTalk.h:1987
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:1545
USERSTATE_MEDIAFILE_VIDEO
If set the user currently streams a video file. If this flag changes the event CLIENTEVENT_USER_STATE...
Definition: TeamTalk.h:2196
Channel::bPassword
TTBOOL bPassword
Whether password is required to join channel. Read-only property.
Definition: TeamTalk.h:2503
ClientKeepAlive::nUdpConnectRTXMSec
INT32 nUdpConnectRTXMSec
Client instance&#39;s interval for retransmitting UDP connect packets. UDP connect packets are only sent ...
Definition: TeamTalk.h:2758
SUBSCRIBE_INTERCEPT_USER_MSG
Intercept all user text messages sent by a user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2125
ClientStatistics::nMediaFileVideoBytesRecv
INT64 nMediaFileVideoBytesRecv
Video from media file data received (on UDP).
Definition: TeamTalk.h:2794
__MEDIAFILEPLAYBACK
Definition: TeamTalk.h:3977
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:739
SERVERLOGEVENT_USER_TIMEDOUT
User disconnected due to connection timeout is logged to file by the server.
Definition: TeamTalk.h:1741
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:7735
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:2745
SpeexVBRCodec
Speex audio codec settings for Variable Bitrate mode (VBR).
Definition: TeamTalk.h:1086
CLIENT_CONNECTION
Helper for CLIENT_CONNECTING and CLIENT_CONNECTED to see if TT_Disconnect should be called...
Definition: TeamTalk.h:4152
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:2364
TT_IsChannelOperator
TEAMTALKDLL_API TTBOOL TT_IsChannelOperator(IN TTInstance *lpTTInstance, IN INT32 nUserID, IN INT32 nChannelID)
Check whether user is operator of a channel.
__SOUNDDEVICEEFFECTS
Definition: TeamTalk.h:3984
CLIENTEVENT_DESKTOPWINDOW_TRANSFER
Used for tracking when a desktop window has been transmitted to the server.
Definition: TeamTalk.h:3736
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:4183
MSGTYPE_CUSTOM
A custom user to user text message. Works the same way as MSGTYPE_USER.
Definition: TeamTalk.h:2400
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:2608
ServerStatistics::nDesktopBytesTX
INT64 nDesktopBytesTX
The number of bytes in desktop packets sent from the server to clients.
Definition: TeamTalk.h:1915
DesktopWindow::bmpFormat
BitmapFormat bmpFormat
The format of the bitmap.
Definition: TeamTalk.h:981
SpeexDSP::nEchoSuppressActive
INT32 nEchoSuppressActive
Set maximum attenuation of the residual echo in dB when near end is active (negative number)...
Definition: TeamTalk.h:1287
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:1042
USERRIGHT_UPLOAD_FILES
User can upload files to channels.
Definition: TeamTalk.h:1662
__CLIENTSTATISTICS
Definition: TeamTalk.h:3946
CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_OUTPUT
New sound device has been selected as default output device.
Definition: TeamTalk.h:3895
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:3961
ClientStatistics::nMediaFileAudioBytesSent
INT64 nMediaFileAudioBytesSent
Audio from media file data sent (on UDP).
Definition: TeamTalk.h:2788
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:2409
CLIENTEVENT_CON_LOST
Connection to server has been lost.
Definition: TeamTalk.h:3232
CLIENTEVENT_CMD_CHANNEL_NEW
A new channel has been created.
Definition: TeamTalk.h:3403
ServerProperties::nMaxMediaFileTxPerSecond
INT32 nMaxMediaFileTxPerSecond
The maximum number of bytes per second which the server will allow for media file packets...
Definition: TeamTalk.h:1834
TTInstance
VOID TTInstance
Pointer to a TeamTalk client instance created by TT_InitTeamTalk.
Definition: TeamTalk.h:4177
MFS_PLAYING
Playing media file with updated uElapsedMSec of MediaFileInfo.
Definition: TeamTalk.h:754
UserStates
UINT32 UserStates
A bitmask based on UserState indicating a User&#39;s current state.
Definition: TeamTalk.h:2206
CMDERR_SUCCESS
Command indicating success. Only used internally.
Definition: TeamTalk.h:2862
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:3339
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:1747
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:587
AFF_MP3_256KBIT_FORMAT
Definition: TeamTalk.h:786
SpeexCodec::nTxIntervalMSec
INT32 nTxIntervalMSec
Milliseconds of audio data before each transmission.
Definition: TeamTalk.h:1073
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:1056
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:4002
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:1689
TTAudioPreprocessor
Use TeamTalk&#39;s internal audio preprocessor for gain audio. Same as used for TT_SetSoundInputGainLevel...
Definition: TeamTalk.h:1292
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:1633
__WEBMVP8CODEC
Definition: TeamTalk.h:3955
TextMessage::nChannelID
INT32 nChannelID
Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.
Definition: TeamTalk.h:2421
CLIENTEVENT_STREAM_MEDIAFILE
Media file being streamed to a channel is processing.
Definition: TeamTalk.h:3750
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:1900
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:1481
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:2418
EncryptionContext::bVerifyClientOnce
TTBOOL bVerifyClientOnce
Whether to only verify client&#39;s certificate once during initial connection.
Definition: TeamTalk.h:2703
ClientFlag
ClientFlag
Flags used to describe the the client instance current state.
Definition: TeamTalk.h:4072
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:776
CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_OUTPUT_COMDEVICE
New sound output device has been selected as default communication device.
Definition: TeamTalk.h:3933
TTKeyTranslate
TTKeyTranslate
Translate to and from TeamTalk&#39;s intermediate key-codes (TTKEYCODE).
Definition: TeamTalk.h:7728
SoundDeviceFeature
SoundDeviceFeature
Features available on a sound device. Checkout uSoundDeviceFeatures on SoundDevice.
Definition: TeamTalk.h:354
FourCC
FourCC
The picture format used by a capture device.
Definition: TeamTalk.h:818
VideoFormat::picFourCC
FourCC picFourCC
Picture format for capturing.
Definition: TeamTalk.h:856
CLIENTEVENT_CMD_MYSELF_KICKED
The client instance was kicked from a channel.
Definition: TeamTalk.h:3327
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:1009
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:1316
TTKEY_TTKEYCODE_TO_WINKEYCODE
Translate from TTKEYCODE to Windows scan-code.
Definition: TeamTalk.h:7737
CLIENTEVENT_CMD_CHANNEL_REMOVE
A channel has been removed.
Definition: TeamTalk.h:3424
SpeexDSP
Speex DSP is used for specifying how recorded audio from a sound input device should be preprocessed ...
Definition: TeamTalk.h:1232
BANTYPE_IPADDR
Ban szIPAddress specified in BannedUser. szIPAddress can be a regular expression, i...
Definition: TeamTalk.h:1949
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:1848
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:2361
SoundSystem
SoundSystem
The supported sound systems.
Definition: TeamTalk.h:287
ClientStatistics::nVoiceBytesRecv
INT64 nVoiceBytesRecv
Voice data received (on UDP).
Definition: TeamTalk.h:2782
TT_GetMyUserID
TEAMTALKDLL_API INT32 TT_GetMyUserID(IN TTInstance *lpTTInstance)
Get the local client instance&#39;s user ID.
CLIENTEVENT_SOUNDDEVICE_UNPLUGGED
Sound device unplugged.
Definition: TeamTalk.h:3861
MSGTYPE_BROADCAST
A broadcast message. Requires USERRIGHT_TEXTMESSAGE_BROADCAST.
Definition: TeamTalk.h:2397
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:2970
__TTBOOL
Definition: TeamTalk.h:3969
SERVERLOGEVENT_USER_TEXTMESSAGE_BROADCAST
User&#39;s broadcast text messages are logged to file by the server.
Definition: TeamTalk.h:1763
UserStatistics::nMediaFileVideoFramesRecv
INT64 nMediaFileVideoFramesRecv
Number of media file video frames received from user.
Definition: TeamTalk.h:2366
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:1102
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:2837
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:2113
DESKTOPKEYSTATE_UP
The key is released.
Definition: TeamTalk.h:1011
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:3970
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:5742
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:3287
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:824
TTMessage::user
User user
Valid if ttType is __USER.
Definition: TeamTalk.h:4030
AudioPreprocessor::ttpreprocessor
TTAudioPreprocessor ttpreprocessor
Used when nPreprocessor is TEAMTALK_AUDIOPREPROCESSOR.
Definition: TeamTalk.h:1435
INTERR_AUDIOPREPROCESSOR_INIT_FAILED
AudioPreprocessor failed to initialize.
Definition: TeamTalk.h:3142
CLIENTEVENT_USER_DESKTOPWINDOW
A new or updated desktop window has been received from a user.
Definition: TeamTalk.h:3571
FileTransfer::nFileSize
INT64 nFileSize
The size of the file being transferred.
Definition: TeamTalk.h:2631
CLIENTEVENT_CMD_ERROR
The server rejected a command issued by the local client instance.
Definition: TeamTalk.h:3274
CMDERR_INCORRECT_OP_PASSWORD
Invalid password for becoming channel operator.
Definition: TeamTalk.h:2964
ShareWindow::nWndY
INT32 nWndY
Y coordinate of the window relative to the Windows desktop.
Definition: TeamTalk.h:5746
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:1769
OpusCodec::nBitRate
INT32 nBitRate
Bitrate for encoded audio. Should be between OPUS_MIN_BITRATE and OPUS_MAX_BITRATE.
Definition: TeamTalk.h:1171
SpeexDSP::nGainLevel
INT32 nGainLevel
A value from 0 to 32768. Default is 8000. Value is ignored if bEnableAGC is FALSE.
Definition: TeamTalk.h:1244
AFF_MP3_320KBIT_FORMAT
Definition: TeamTalk.h:788
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:2812
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:1657
SUBSCRIBE_INTERCEPT_MEDIAFILE
Intercept all media file data sent by a user. Only user-type USERTYPE_ADMIN can do this...
Definition: TeamTalk.h:2153
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:1717
FILETRANSFER_FINISHED
File transfer finished.
Definition: TeamTalk.h:2612
TextMsgType
TextMsgType
Text message types.
Definition: TeamTalk.h:2383
CLIENT_SNDOUTPUT_READY
If set the client instance&#39;s sound output device has been initialized, i.e. TT_InitSoundOutputDevice ...
Definition: TeamTalk.h:4086
ServerStatistics::nVideoCaptureBytesRX
INT64 nVideoCaptureBytesRX
The number of bytes in video packets received by the server from clients.
Definition: TeamTalk.h:1906
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:1024
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:1540
USERSTATE_VOICE
If set the user is currently talking. If this flag changes the event CLIENTEVENT_USER_STATECHANGE is ...
Definition: TeamTalk.h:2171
AudioConfig::nGainLevel
INT32 nGainLevel
Reference gain level to be used by all users.
Definition: TeamTalk.h:1536
CLIENTEVENT_USER_DESKTOPCURSOR
A user has sent the position of the mouse cursor.
Definition: TeamTalk.h:3583
RemoteFile::nFileSize
INT64 nFileSize
The size of the file.
Definition: TeamTalk.h:2651
CMDERR_MISSING_PARAMETER
Command cannot be performed due to missing parameter. Only used internally.
Definition: TeamTalk.h:2876
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:358
CMDERR_MAX_CHANNEL_USERS_EXCEEDED
Cannot join channel because it has maximum number of users.
Definition: TeamTalk.h:2914
TT_STRLEN
#define TT_STRLEN
Definition: TeamTalk.h:87
UserStatistics
Packet reception and data statistics for a user.
Definition: TeamTalk.h:2341
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:2066
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:2046
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:1903
TextMessage::nMsgType
TextMsgType nMsgType
The type of text message.
Definition: TeamTalk.h:2412
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:3150
__WEBRTCAUDIOPREPROCESSOR
Definition: TeamTalk.h:3982
TTMessage::ttType
TTType ttType
Specifies which member to access in the union.
Definition: TeamTalk.h:4006
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:3086
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:3541
ClientStatistics::nVideoCaptureBytesRecv
INT64 nVideoCaptureBytesRecv
Video data received (on UDP).
Definition: TeamTalk.h:2786
CMDERR_LOGINSERVICE_UNAVAILABLE
The login service is currently unavailable.
Definition: TeamTalk.h:3101
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:2275
CMDERR_COMMAND_FLOOD
Command flooding prevented by server.
Definition: TeamTalk.h:2987
CMDERR_SERVER_BANNED
IP-address has been banned from server.
Definition: TeamTalk.h:2919
CMDERR_UNKNOWN_COMMAND
The server doesn&#39;t support the issued command.
Definition: TeamTalk.h:2873
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:4109
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:1945
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:4028
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:2887
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:593
AudioBlock::nSamples
INT32 nSamples
The number of samples in the raw audio array.
Definition: TeamTalk.h:675
ClientStatistics::nVoiceBytesSent
INT64 nVoiceBytesSent
Voice data sent (on UDP).
Definition: TeamTalk.h:2780
CLIENTEVENT_FILETRANSFER
A file transfer is processing.
Definition: TeamTalk.h:3719
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:7941
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:2239
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:4141
__USERACCOUNT
Definition: TeamTalk.h:3958
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:2245
USERRIGHT_OPERATOR_ENABLE
User can make other users channel operator.
Definition: TeamTalk.h:1660
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:1004
SOUND_GAIN_DEFAULT
The default gain level.
Definition: TeamTalk.h:634
CLIENTEVENT_USER_RECORD_MEDIAFILE
A media file recording has changed status.
Definition: TeamTalk.h:3621
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:3193
WebRTCAudioPreprocessor::fInitialSaturationMarginDB
float fInitialSaturationMarginDB
Definition: TeamTalk.h:1384
INTERR_SNDOUTPUT_FAILURE
A sound output device failed.
Definition: TeamTalk.h:3128
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.
TTMessage::sounddevice
SoundDevice sounddevice
Valid if ttType is __SOUNDDEVICE.
Definition: TeamTalk.h:4048
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:1605
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:1561
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:1654
CHANNEL_CLASSROOM
Voice and video transmission in the channel is controlled by a channel operator.
Definition: TeamTalk.h:2456
SOUNDDEVICEFEATURE_AEC
The SoundDevice can enable Acoustic Echo Canceler (AEC). Enable AEC use property bEnableAEC on SoundD...
Definition: TeamTalk.h:364
SpeexCodec::bStereoPlayback
TTBOOL bStereoPlayback
Playback should be done in stereo. Doing so will disable 3d-positioning.
Definition: TeamTalk.h:1079
BMP_RGB8_PALETTE
The bitmap is a 256-colored bitmap requiring a palette. The default 256 colored palette is the Netsca...
Definition: TeamTalk.h:943
__AUDIOCONFIG
Definition: TeamTalk.h:3962
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:2806
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:884
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:2511
USERRIGHT_TRANSMIT_MEDIAFILE_VIDEO
User is allowed to stream video files to channel.
Definition: TeamTalk.h:1686
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:4132
SERVERLOGEVENT_USER_UPDATED
User&#39;s status is logged to file by the server.
Definition: TeamTalk.h:1749
CLIENTEVENT_CON_FAILED
Failed to connect to server.
Definition: TeamTalk.h:3215
__VIDEOCAPTUREDEVICE
Definition: TeamTalk.h:3960
VideoFrame
A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer.
Definition: TeamTalk.h:866
ShareWindow
A struct which describes the properties of a window which can be shared.
Definition: TeamTalk.h:5739
__SERVERPROPERTIES
Definition: TeamTalk.h:3950
Channel::nMaxUsers
INT32 nMaxUsers
Max number of users in channel.
Definition: TeamTalk.h:2516
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:798
CMDERR_BAN_NOT_FOUND
Banned IP-address does not exist.
Definition: TeamTalk.h:3061
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:3134
CLIENTEVENT_CON_CRYPT_ERROR
Failed to connect to server due to encryption error.
Definition: TeamTalk.h:3204
Channel
struct Channel Channel
A struct containing the properties of a channel.
JitterConfig
Configuration parameters for the Jitter Buffer.
Definition: TeamTalk.h:2832
User::nStoppedDelayMediaFile
INT32 nStoppedDelayMediaFile
The delay of when a user should no longer be considered playing audio of a media file.
Definition: TeamTalk.h:2298
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:1751
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:2590
User::nStoppedDelayVoice
INT32 nStoppedDelayVoice
The delay of when a user should no longer be considered as talking.
Definition: TeamTalk.h:2294
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:451
TTMessage::mediafileinfo
MediaFileInfo mediafileinfo
Valid if ttType is __MEDIAFILEINFO.
Definition: TeamTalk.h:4020
__REMOTEFILE
Definition: TeamTalk.h:3947
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:2227
AudioCodec::speex_vbr
SpeexVBRCodec speex_vbr
Speex codec settings if nCodec is SPEEX_VBR_CODEC.
Definition: TeamTalk.h:1511
AudioFileFormat
AudioFileFormat
Media file formats supported for muxed audio recordings.
Definition: TeamTalk.h:760
JitterConfig::nFixedDelayMSec
INT32 nFixedDelayMSec
The fixed delay in milliseconds. Default = 0.
Definition: TeamTalk.h:2835
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:1865
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:2284
FOURCC_NONE
Internal use to denote no supported formats.
Definition: TeamTalk.h:821
CLIENTEVENT_CMD_USERACCOUNT_NEW
A user account has been created.
Definition: TeamTalk.h:3496
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:7935
AFF_MP3_64KBIT_FORMAT
Definition: TeamTalk.h:782
BannedUser
A struct containing the properties of a banned user.
Definition: TeamTalk.h:1961
WebRTCAudioPreprocessor::fMaxOutputNoiseLevelDBFS
float fMaxOutputNoiseLevelDBFS
Definition: TeamTalk.h:1390
WAVEIN_LINEIN
Definition: TeamTalk.h:7940
ServerStatistics::nMediaFileBytesRX
INT64 nMediaFileBytesRX
The number of bytes in media file packets received by the server from clients.
Definition: TeamTalk.h:1912
UserRight
UserRight
The rights users have once they have logged on to the server.
Definition: TeamTalk.h:1629
CMDERR_ACCOUNT_NOT_FOUND
Cannot find user account.
Definition: TeamTalk.h:3076
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:1818
CLIENT_SNDINOUTPUT_DUPLEX
If set the client instance is running in sound duplex mode where multiple audio output streams are mi...
Definition: TeamTalk.h:4092
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:453
ClientError
ClientError
Errors which can occur either as a result of client commands or as a result of internal errors...
Definition: TeamTalk.h:2859
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:2461
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:4156
__AUDIOBLOCK
Definition: TeamTalk.h:3965
SOUND_GAIN_MAX
The maximum gain level.
Definition: TeamTalk.h:624
CLIENTEVENT_SOUNDDEVICE_NEW_DEFAULT_INPUT_COMDEVICE
New sound input device has been selected as default communication device.
Definition: TeamTalk.h:3914
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:2436
USERSTATE_MUTE_VOICE
If set the user&#39;s voice is muted.
Definition: TeamTalk.h:2173
ServerStatistics::nUsersPeak
INT32 nUsersPeak
The highest numbers of users online.
Definition: TeamTalk.h:1922
SUBSCRIBE_USER_MSG
Subscribing to user text messages.
Definition: TeamTalk.h:2100
MediaFileInfo::videoFmt
VideoFormat videoFmt
The video properties of the media file.
Definition: TeamTalk.h:1571
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:1573
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:4144
MFS_ABORTED
Aborted processing of media file.
Definition: TeamTalk.h:749
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:2164
SUBSCRIBE_NONE
No subscriptions.
Definition: TeamTalk.h:2097
DesktopWindow::nProtocol
DesktopProtocol nProtocol
The desktop protocol used for transmitting the desktop window.
Definition: TeamTalk.h:993
USERRIGHT_TRANSMIT_VOICE
Users are allowed to forward audio packets through server. TT_EnableVoiceTransmission() ...
Definition: TeamTalk.h:1671
SERVERLOGEVENT_SERVER_UPDATED
User updated server&#39;s properties is logged to file by the server.
Definition: TeamTalk.h:1777
TTMessage::banneduser
BannedUser banneduser
Valid if ttType is __BANNEDUSER.
Definition: TeamTalk.h:4034
CLIENTEVENT_INTERNAL_ERROR
An internal error occurred in the client instance.
Definition: TeamTalk.h:3654
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:778
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:2212
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:886
Channel::audiocfg
AudioConfig audiocfg
The audio configuration which users who join the channel should use.
Definition: TeamTalk.h:2521
ShareWindow::nPID
INT64 nPID
The PID of the owning process.
Definition: TeamTalk.h:5869
__VIDEOFRAME
Definition: TeamTalk.h:3964
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:1149
TTMessage::nStreamType
StreamType nStreamType
Valid if ttType is __STREAMTYPE.
Definition: TeamTalk.h:4044
INTERR_SNDEFFECT_FAILURE
SoundDeviceEffects failed to initialize.
Definition: TeamTalk.h:3157
TT_AcquireUserMediaVideoFrame
TEAMTALKDLL_API VideoFrame * TT_AcquireUserMediaVideoFrame(IN TTInstance *lpTTInstance, IN INT32 nUserID)
Extract a user&#39;s media video frame for display.
CLIENTEVENT_SOUNDDEVICE_REMOVED
Sound device removed.
Definition: TeamTalk.h:3843
OpusCodec::nApplication
INT32 nApplication
Application of encoded audio, i.e. VoIP or music.
Definition: TeamTalk.h:1159
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:1257
__SOUNDDEVICE
Definition: TeamTalk.h:3952
TextMessage::nFromUserID
INT32 nFromUserID
Will be set automatically on outgoing message.
Definition: TeamTalk.h:2414
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:934
CMDERR_MAX_CHANNELS_EXCEEDED
The maximum number of channels has been exceeded.
Definition: TeamTalk.h:2981
CLIENTEVENT_CMD_USER_LOGGEDOUT
A client logged out of the server.
Definition: TeamTalk.h:3354
USERRIGHT_TEXTMESSAGE_USER
User can send private text messages, i.e. MSGTYPE_USER.
Definition: TeamTalk.h:1707
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:4024
User::nActiveAdaptiveDelayMSec
INT32 nActiveAdaptiveDelayMSec
the currently active adaptive jitter delay for received voice streams for this user.
Definition: TeamTalk.h:2330
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:2192
TT_DoDeleteFile
TEAMTALKDLL_API INT32 TT_DoDeleteFile(IN TTInstance *lpTTInstance, IN INT32 nChannelID, IN INT32 nFileID)
Delete a file from a channel.
CLIENTEVENT_SOUNDDEVICE_ADDED
New sound device available.
Definition: TeamTalk.h:3825
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:1060
FILETRANSFER_CLOSED
Definition: TeamTalk.h:2606
USERSTATE_DESKTOP
If set the user currently has an active desktop session. If this flag changes the event CLIENTEVENT_U...
Definition: TeamTalk.h:2181
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:1825
CMDERR_NOT_AUTHORIZED
Command not authorized.
Definition: TeamTalk.h:2951
CLIENTEVENT_CMD_USER_JOINED
A user has joined a channel.
Definition: TeamTalk.h:3374
ClientEvent
ClientEvent
TeamTalk client event messages.
Definition: TeamTalk.h:3177
ServerStatistics::nDesktopBytesRX
INT64 nDesktopBytesRX
The number of bytes in desktop packets received by the server from clients.
Definition: TeamTalk.h:1918
DesktopWindow::nHeight
INT32 nHeight
The height in pixels of the bitmap.
Definition: TeamTalk.h:979
DesktopWindow::nBytesPerLine
INT32 nBytesPerLine
The number of bytes for each scan-line in the bitmap. Zero means 4-byte aligned.
Definition: TeamTalk.h:984
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:1301
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:873
ServerStatistics::nMediaFileBytesTX
INT64 nMediaFileBytesTX
The number of bytes in media file packets sent from the server to clients.
Definition: TeamTalk.h:1909
OpusCodec::nComplexity
INT32 nComplexity
Complexity of encoding (affects CPU usage). Value from 0-10.
Definition: TeamTalk.h:1162
USERRIGHT_LOCKED_NICKNAME
User&#39;s nick name is locked. TT_DoChangeNickname() cannot be used and TT_DoLogin() will ignore szNickn...
Definition: TeamTalk.h:1696
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:2908
TT_SetSoundInputGainLevel
TEAMTALKDLL_API TTBOOL TT_SetSoundInputGainLevel(IN TTInstance *lpTTInstance, IN INT32 nLevel)
Set voice gaining of recorded audio.
__MEDIAFILESTATUS
Definition: TeamTalk.h:3949
MediaFileInfo::nStatus
MediaFileStatus nStatus
Status of media file if it&#39;s being saved to disk.
Definition: TeamTalk.h:1565
FileTransfer
A struct containing the properties of a file transfer.
Definition: TeamTalk.h:2618
OpusCodec::bFEC
TTBOOL bFEC
Forward error correction. Corrects errors if there&#39;s packetloss.
Definition: TeamTalk.h:1165
CMDERR_CHANNEL_CANNOT_BE_HIDDEN
Cannot apply CHANNEL_HIDDEN to Channel&#39;s type.
Definition: TeamTalk.h:3107
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:743
FILETRANSFER_ACTIVE
File transfer active.
Definition: TeamTalk.h:2610
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:1323
SERVERLOGEVENT_USER_TEXTMESSAGE_PRIVATE
User&#39;s private text messages are logged to file by the server.
Definition: TeamTalk.h:1757
TTKEY_NO_TRANSLATE
Perform no translation.
Definition: TeamTalk.h:7731
CLIENTEVENT_CMD_MYSELF_LOGGEDIN
The client instance successfully logged on to server.
Definition: TeamTalk.h:3306
AudioCodec::nCodec
Codec nCodec
Specifies whether the member speex, speex_vbr or opus holds the codec settings.
Definition: TeamTalk.h:1503
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:2509
WebMVP8Codec::nRcTargetBitrate
INT32 nRcTargetBitrate
Same as rc_target_bitrate.
Definition: TeamTalk.h:1450
Channel
A struct containing the properties of a channel.
Definition: TeamTalk.h:2486
UserStatistics::nMediaFileAudioPacketsRecv
INT64 nMediaFileAudioPacketsRecv
Number of media file audio packets received from user.
Definition: TeamTalk.h:2359
DesktopWindow::nFrameBufferSize
INT32 nFrameBufferSize
The size in bytes of the buffer allocate in frameBuffer. Typically nBytesPerLine * nHeight...
Definition: TeamTalk.h:998
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:741
ClientKeepAlive
Control timers for sending keep alive information to the server.
Definition: TeamTalk.h:2723
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:3963
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:2031
AudioBlock
An audio block containing the raw audio from a user who was talking.
Definition: TeamTalk.h:660
SpeexVBRCodec::bDTX
TTBOOL bDTX
Enable/disable discontinuous transmission. When enabled Speex will ignore silence, so the bitrate will become very low.
Definition: TeamTalk.h:1110
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:447
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:1753
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:854
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:1063
SERVERLOGEVENT_USER_MOVED
User was moved to another channel is logged to file by the server.
Definition: TeamTalk.h:1755
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:1879
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:1925
__USERSTATISTICS
Definition: TeamTalk.h:3959
AbusePrevention::nCommandsLimit
INT32 nCommandsLimit
Limit number of commands a user can send to the server.
Definition: TeamTalk.h:2018
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:1997
TTMessage::nSource
INT32 nSource
The source of the event depends on wmMsg.
Definition: TeamTalk.h:4004
FileTransfer::nStatus
FileTransferStatus nStatus
Status of file transfer.
Definition: TeamTalk.h:2621
ClientStatistics
Statistics of bandwidth usage and ping times in the local client instance.
Definition: TeamTalk.h:2773
SoundDeviceEffects::bEnableEchoCancellation
TTBOOL bEnableEchoCancellation
Enable echo cancellation.
Definition: TeamTalk.h:520
VideoCodec::webm_vp8
WebMVP8Codec webm_vp8
Definition: TeamTalk.h:1548