TeamTalk 4 C-API DLL  Version 4.5A
VideoFrame Struct Reference

A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer. More...

#include <TeamTalk4.h>

Public Attributes

INT32 nWidth
 The width in pixels of the image contained in frameBuffer. More...
 
INT32 nHeight
 The height in pixels of the image contained in imageBuffer. More...
 
INT32 nStreamID
 A unique identifier for the frames which are part of the same video sequence. If the stream ID changes it means the frames which are being received are part of a new video sequence and nWidth and nHeight may have changed. The nStreamID will always be a positive integer value. More...
 
BOOL bKeyFrame
 Whether the image acquired is a key-frame. If it is not a key-frame and there has been packet loss or a key-frame has not been acquired prior then the image may look blurred. More...
 
VOID * frameBuffer
 A buffer allocated internally by TeamTalk. More...
 
INT32 nFrameBufferSize
 The size in bytes of the buffer allocate in frameBuffer. More...
 

Detailed Description

A RGB32 image where the pixels can be accessed directly in an allocated frameBuffer.

Use TT_AcquireUserVideoFrame() to acquire a user's image and remember to call TT_ReleaseUserVideoFrame() when the image has been processed so TeamTalk can release its resources.

Member Data Documentation

INT32 VideoFrame::nWidth

The width in pixels of the image contained in frameBuffer.

INT32 VideoFrame::nHeight

The height in pixels of the image contained in imageBuffer.

INT32 VideoFrame::nStreamID

A unique identifier for the frames which are part of the same video sequence. If the stream ID changes it means the frames which are being received are part of a new video sequence and nWidth and nHeight may have changed. The nStreamID will always be a positive integer value.

BOOL VideoFrame::bKeyFrame

Whether the image acquired is a key-frame. If it is not a key-frame and there has been packet loss or a key-frame has not been acquired prior then the image may look blurred.

VOID* VideoFrame::frameBuffer

A buffer allocated internally by TeamTalk.

INT32 VideoFrame::nFrameBufferSize

The size in bytes of the buffer allocate in frameBuffer.