IMVIPCameraSource2
The IMVIPCameraSource2 interface extends the IMVIPCameraSource interface.
Methods:
| EnableAudio | Enable/Disable Audio Support. |
| LostConnectionText | Text for connection lost image. |
| TimestampMode | Mode for media sample timestamps as MV_TIMESTAMP_MODES. |
Header file: IMVIPCameraSource.h
Interface definition language file: IMVIPCameraSource.idl
Typelib: MVIPCameraSource
Interface ID: IID_IMVIPCameraSource2
Property IMVIPCameraSource2::EnableAudio
Declaration: Property Get/Put EnableAudio As BooleanEnable/Disable Audio Support.
Parameter:
C Prototype:
- - HRESULT put_EnableAudio(VARIANT_BOOL newVal);
HRESULT get_EnableAudio(VARIANT_BOOL *pVal);
Property IMVIPCameraSource2::LostConnectionText
Declaration: Property Get/Put LostConnectionText As StringText for connection lost image.
Parameter:
C Prototype:
- - HRESULT put_LostConnectionText(BSTR newVal);
HRESULT get_LostConnectionText(BSTR *pVal);
Property IMVIPCameraSource2::TimestampMode
Declaration: Property Get/Put TimestampMode As LongMode for media sample timestamps as MV_TIMESTAMP_MODES.
Parameter:
C Prototype:
- - HRESULT put_TimestampMode(LONG newVal);
HRESULT get_TimestampMode(LONG *pVal);
Enumerations:
typedef enum _MV_TIMESTAMP_MODES
{
MV_TIMESTAMP_DELIVERTIME,
MV_TIMESTAMP_NOTIME,
MV_TIMESTAMP_RECEIVEDTIME
}MV_TIMESTAMP_MODES;