Get the width of connected IP camera.
STDMETHOD getWidth(int* iwidth);
|
iwidth - return the value of width.
VC++ Example: CComPtr netCamFilter; HRESULT hr; hr = _mediaSource->QueryInterface(IID_IIPCamViewerFilter, (void**)≠tCamFilter); if (FAILED(hr)) return; int iWidth,iHeight; double iFramerate; netCamFilter->getWidth(&iWidth); netCamFilter->getHeight(&iHeight); netCamFilter->getFrameRate(&iFramerate);
|