SetStreamChannelCount
Top  Previous  Next

Description

Sets the amount of stream channels in the virtual camera.

[C++]
int
 SetStreamChannelCount(unsigned int count);


Parameters
[C/C++]
 
[in] unsigned int count  
Integer value specifying the amount of stream channels in the virtual camera. Possible values are 1 or 2.  
 
Return Values

S_OK  
Success  
E_FAIL  
Failure  
E_INVALIDARG  
Value out of range  
 

Example

This fragment of code instantiates a camera object and sets the amount of stream channels to 2:

static CGevCamera* m_pCamera;  
m_pCamera = createCamera();  
 
m_pCamera->SetStreamChannelCount(2);  
 

Remarks


This method allows you to configure the virtual camera for multi-channel streaming. If this method is not used, only one stream channel will be supported.

Note that this method must be called in order for the Chunk mode to work.

The camera must be in the disconnected state in order for this method to work.