TeamTalk 4 .NET DLL  Version 4.5A
BearWare.VideoFrame Struct Reference

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

Public Attributes

int nWidth
 The width in pixels of the image contained in frameBuffer. More...
 
int nHeight
 The height in pixels of the image contained in imageBuffer. More...
 
int 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...
 
System.IntPtr frameBuffer
 A buffer allocated internally by TeamTalk. More...
 
int 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 imageBuffer.

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

Member Data Documentation

int BearWare.VideoFrame.nWidth

The width in pixels of the image contained in frameBuffer.

int BearWare.VideoFrame.nHeight

The height in pixels of the image contained in imageBuffer.

int BearWare.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 BearWare.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.

System.IntPtr BearWare.VideoFrame.frameBuffer

A buffer allocated internally by TeamTalk.

int BearWare.VideoFrame.nFrameBufferSize

The size in bytes of the buffer allocate in frameBuffer.