void BitRateEstimation(IltmfCapture *pCapture)
{
long PossibleBitRate, ActualBitRate;
// get the estimate bit rate before capturing starts (theoretical)
pCapture->EstimateOutputBitRate(&PossibleBitRate);
// start the capture
pCapture->StartCapture(ltmfCapture_Mode_VideoAndAudio);
// After starting capture, get the estimate output bit rate (estimate from actually written bytes)
pCapture->EstimateOutputBitRate(&ActualBitRate);
// do something with the returned values.
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET