|
IMVIPCameraSource
The IMVIPCameraSource interface contains methods and properties
to configure the MV IP
Camera Source filter.
Methods:
Header file: IMVIPCameraSource.h
Interface definition language file: IMVIPCameraSource.idl
Typelib: MVIPCameraSource
Interface ID: IID_IMVIPCameraSource
Property IMVIPCameraSource::Address
Declaration:
Property Get/Put Address As String
Cameras IP address.
C Prototype:
HRESULT put_Address(BSTR newVal);
HRESULT get_Address(BSTR *pVal);
Property IMVIPCameraSource::CGIFile
Declaration:
Property Get/Put CGIFile As String
File on server (cgi).
C Prototype:
HRESULT put_CGIFile(BSTR newVal);
HRESULT get_CGIFile(BSTR *pVal);
Property
IMVIPCameraSource::CGIParameters
Declaration:
Property Get/Put CGIParameters As String
CGI parameters.
C Prototype:
HRESULT put_CGIParameters(BSTR
newVal);
HRESULT get_CGIParameters(BSTR *pVal);
Property IMVIPCameraSource::Domain
Declaration:
Property Get/Put Domain As String
Cameras domain.
C Prototype:
HRESULT put_Domain(BSTR newVal);
HRESULT get_Domain(BSTR *pVal);
Method
IMVIPCameraSource::GetAverageBPS
Declaration:
Function GetAverageBPS As Long
Get average data rate (bytes/second).
C Prototype:
HRESULT GetAverageBPS(LONG*
value);
Method
IMVIPCameraSource::GetCurrentBPS
Declaration:
Function GetCurrentBPS As Long
Get current data rate (bytes/second).
C Prototype:
HRESULT GetCurrentBPS(LONG*
value);
Method IMVIPCameraSource::GetFPS
Declaration:
Function GetFPS As Double
Get average number of frames/second.
C Prototype:
HRESULT GetFPS(DOUBLE* value);
Method
IMVIPCameraSource::GetKBReceived
Declaration:
Function GetKBReceived As Empty
Get number of kilobytes received.
C Prototype:
HRESULT GetKBReceived(EMPTY*
value);
Method
IMVIPCameraSource::GetNumImages
Declaration:
Function GetNumImages As Empty
Get number of images received.
C Prototype:
HRESULT GetNumImages(EMPTY*
value);
Method
IMVIPCameraSource::GetNumOfPackets
Declaration:
Function GetNumOfPackets As Empty
Get number of packets received.
C Prototype:
HRESULT GetNumOfPackets(EMPTY*
value);
Method
IMVIPCameraSource::GetNumOfReconnects
Declaration:
Function GetNumOfReconnects As Long
Get number of reconnects since start.
C Prototype:
HRESULT GetNumOfReconnects(LONG*
value);
Method
IMVIPCameraSource::GetSocketState
Declaration:
Function GetSocketState As Long
Get current socket state.
| State
|
Value
|
Description
|
| MV_SOCKET_DISCONNECTED |
0
|
Disconnected |
| MV_SOCKET_CONNECTED |
1
|
Connected |
| MV_SOCKET_RECEIVING |
2
|
Receiving |
| MV_SOCKET_IDLE |
3
|
Idle |
C Prototype:
HRESULT GetSocketState(LONG*
value);
Method
IMVIPCameraSource::IsInitialized
Declaration:
Function IsInitialized As Boolean
Is connection initialized?.
C Prototype:
HRESULT IsInitialized(VARIANT_BOOL*
value);
Property IMVIPCameraSource::Password
Declaration:
Property Get/Put Password As String
User password.
C Prototype:
HRESULT put_Password(BSTR
newVal);
HRESULT get_Password(BSTR *pVal);
Property IMVIPCameraSource::Port
Declaration:
Property Get/Put Port As Long
Cameras TCP port.
C Prototype:
HRESULT put_Port(LONG newVal);
HRESULT get_Port(LONG *pVal);
Method
IMVIPCameraSource::ResetStatistics
Declaration: Sub
ResetStatistics
Reset statistics.
C Prototype:
HRESULT ResetStatistics();
Property IMVIPCameraSource::Timeout
Declaration:
Property Get/Put Timeout As Long
Reconnect after X seconds idle time.
C Prototype:
HRESULT put_Timeout(LONG newVal);
HRESULT get_Timeout(LONG *pVal);
Property
IMVIPCameraSource::URL
Declaration:
Property Get/Put URL As String
Cameras URL. If setting the URL succeeds, the filter is
initialized and ready to connect its output pin to e.g. a video
decoder.
When using the Smart ActiveX Control to create an application,
the URL can be set on the Smart Controls OnFilterCreated event.
C Prototype:
HRESULT put_URL(bstr newval);
HRESULT get_URL(bstr *pval);
Property IMVIPCameraSource::User
Declaration:
Property Get/Put User As String
User login.
C Prototype:
HRESULT put_User(BSTR newVal);
HRESULT get_User(BSTR *pVal);
|