TeamTalk 5 C-API DLL Version 5.15A
Loading...
Searching...
No Matches
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.
 
TTCHAR szDeviceName [TT_STRLEN]
 The name of the capture device.
 
TTCHAR szCaptureAPI [TT_STRLEN]
 The name of the API used to capture video.
 
VideoFormat videoFormats [TT_VIDEOFORMATS_MAX]
 The supported capture formats.
 
INT32 nVideoFormatsCount
 The number of capture formats available in videoFormats array.
 

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 901 of file TeamTalk.h.

Member Data Documentation

◆ szDeviceID

TTCHAR VideoCaptureDevice::szDeviceID[TT_STRLEN]

A string identifying the device.

Definition at line 904 of file TeamTalk.h.

◆ szDeviceName

TTCHAR VideoCaptureDevice::szDeviceName[TT_STRLEN]

The name of the capture device.

Definition at line 906 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 919 of file TeamTalk.h.

◆ videoFormats

VideoFormat VideoCaptureDevice::videoFormats[TT_VIDEOFORMATS_MAX]

The supported capture formats.

Definition at line 921 of file TeamTalk.h.

◆ nVideoFormatsCount

INT32 VideoCaptureDevice::nVideoFormatsCount

The number of capture formats available in videoFormats array.

Definition at line 924 of file TeamTalk.h.