SetAdvancedOptions
|
|
[in] const AdvancedOptions* advOpt
|
Pointer to an AdvancedOptions structure containing the following fields:
|
|
Interval in frames between packet drops.
|
Index of the first packet in a frame to be dropped.
|
S_OK
|
Success
|
E_FAIL
|
Failure
|
E_INVALIDARG
|
Unsupported format
|
|
|
|
CGevCamera::AdvancedOptions options;
|
memcpy(&options, 0, sizeof(CGevCamera::AdvancedOptions));
|
options.dropEnabled=true;
|
options.dropPeriod=3;
|
options.dropFrom=10;
|
options.dropCount=2;
|
options.interPacketDelay=htonl(1000);
|
m_pCamera->SetAdvancedOptions(&options);
|
|