TeamTalk 5 C-API DLL  Version 5.14A
VideoCaptureDevice Struct Reference

A struct containing the properties of a video capture device. More...

#include <TeamTalk.h>

Public Attributes

TTCHAR szDeviceID [TT_STRLEN]
 A string identifying the device. More...
 
TTCHAR szDeviceName [TT_STRLEN]
 The name of the capture device. More...
 
TTCHAR szCaptureAPI [TT_STRLEN]
 The name of the API used to capture video. More...
 
VideoFormat videoFormats [TT_VIDEOFORMATS_MAX]
 The supported capture formats. More...
 
INT32 nVideoFormatsCount
 The number of capture formats available in videoFormats array. More...
 

Detailed Description

A struct containing the properties of a video capture device.

The information retrieved from the video capture device is used to initialize the video capture device using the TT_InitVideoCaptureDevice function.

See also
TT_GetVideoCaptureDevices

Definition at line 896 of file TeamTalk.h.

Member Data Documentation

◆ szDeviceID

TTCHAR VideoCaptureDevice::szDeviceID[TT_STRLEN]

A string identifying the device.

Definition at line 899 of file TeamTalk.h.

◆ szDeviceName

TTCHAR VideoCaptureDevice::szDeviceName[TT_STRLEN]

The name of the capture device.

Definition at line 901 of file TeamTalk.h.

◆ szCaptureAPI

TTCHAR VideoCaptureDevice::szCaptureAPI[TT_STRLEN]

The name of the API used to capture video.

The following video capture APIs are supported:

  • AVFoundation (Mac OS)
  • DirectShow (Windows)
  • V4L2 (Linux)

Mac OS's QTkit video capture API was removed in TeamTalk 5.2 because Apple's AppStore will reject apps which have dependencies to it.

V4L support was removed in TeamTalk 5.2.

Definition at line 914 of file TeamTalk.h.

◆ videoFormats

VideoFormat VideoCaptureDevice::videoFormats[TT_VIDEOFORMATS_MAX]

The supported capture formats.

Definition at line 916 of file TeamTalk.h.

◆ nVideoFormatsCount

INT32 VideoCaptureDevice::nVideoFormatsCount

The number of capture formats available in videoFormats array.

Definition at line 919 of file TeamTalk.h.