![]() |
VideoXpert SDK
2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
|
Represents a data producer in the system hosted by a device. Each data source provides a list of data interfaces, which provide a particular protocol used to transmit and control the data produced by this data source. More...
#include <IVxDataSource.h>
Public Member Functions | |
virtual VxResult::Value | CanPtz (bool &canPtz) const =0 |
Gets a value indicating whether PTZ is enabled. More... | |
virtual VxResult::Value | CreateMjpegDataSession (IVxDataSession *&dataSession) const =0 |
Create a new MJPEG IVxDataSession. More... | |
virtual VxResult::Value | Delete () const =0 |
Deletes this instance. More... | |
virtual VxResult::Value | GetAllDataStorages (VxCollection< IVxDataStorage ** > &dataStorageCollection) const =0 |
Gets all data storages associated with this data source; includes edge and failover data storages. More... | |
virtual VxResult::Value | GetAudioRelations (VxCollection< IVxResourceRel ** > &resourceRelCollection) const =0 |
Gets all possible audio resource relations for this data source (both linked and non-linked). Each linked resource shall be considered to be associated to this data source while non-linked resources shall not be (they are available to be associated). More... | |
virtual VxResult::Value | GetClips (VxCollection< IVxClip ** > &clipCollection) const =0 |
Gets the clips associated with this data source. More... | |
virtual VxResult::Value | GetDataStorages (VxCollection< IVxDataStorage ** > &dataStorageCollection) const =0 |
Gets the data storages associated with this data source. More... | |
virtual VxResult::Value | GetEdgeClips (VxCollection< IVxClip ** > &clipCollection) const =0 |
Gets the edge clips associated with this data source; may take a long time (minutes). More... | |
virtual VxResult::Value | GetHostDevice (IVxDevice *&hostDevice) const =0 |
Gets the IVxDevice that hosts this data source. More... | |
virtual VxResult::Value | GetMultiviewInfo (VxCollection< IVxUserInfo ** > &userInfoCollection) const =0 |
Gets the multiple viewer information for this data source. This information contains details on the current viewers of this data source. More... | |
virtual VxResult::Value | GetPtzController (IVxPtzController *&ptzController) const =0 |
Gets the IVxPtzController associated with this data source. More... | |
virtual VxResult::Value | GetRtspEndpoint (char *endpoint, int &size) const =0 |
Gets the RTSP stream endpoint URI. More... | |
virtual VxResult::Value | GetVideoRelations (VxCollection< IVxResourceRel ** > &resourceRelCollection) const =0 |
Gets all possible video resource relations for this data source (both linked and non-linked). Each linked resource shall be considered to be associated to this data source while non-linked resources shall not be (they are available to be associated). More... | |
virtual VxResult::Value | Refresh ()=0 |
Refreshes the member values for this object by retrieving its current information from the VideoXpert system. More... | |
virtual VxResult::Value | SetName (char name[64])=0 |
Sets the name property. More... | |
virtual VxResult::Value | SetNumber (int number)=0 |
Sets the number property. More... | |
Public Attributes | |
bool | isCapturing |
Indicates whether this data source is currently being captured by a recorder. More... | |
bool | isRecording |
Indicates whether the data source is currently recording. More... | |
bool | hasLive |
Indicates whether the live stream is available. More... | |
bool | hasRecorded |
Indicates whether the recorded video is available. More... | |
char | id [64] |
The unique identifier of the data source. More... | |
char | ip [64] |
The IP of this data source. More... | |
char | name [64] |
The friendly name of this data source. More... | |
char | snapshotUri [512] |
The URI to retrieve the current live frame. More... | |
int | dataInterfaceSize |
The size of dataInterfaces. More... | |
int | index |
The zero-based index (per host device) indicating the "position" of the data source (per data source type) within the host device. More... | |
int | number |
The number used to designate the data source. More... | |
IVxDataInterface ** | dataInterfaces |
The data interfaces available for retrieval of data from this data source. More... | |
VxDataSourceType::Value | type |
The type of media this data source contains. More... | |
VxDeviceState::Value | state |
The current operational state of the associated device. More... | |
Protected Member Functions | |
void | Clear () |
Clears this instance. More... | |
Represents a data producer in the system hosted by a device. Each data source provides a list of data interfaces, which provide a particular protocol used to transmit and control the data produced by this data source.
Definition at line 23 of file IVxDataSource.h.
|
pure virtual |
Gets a value indicating whether PTZ is enabled.
canPtz | true if PTZ is enabled, false if not. |
|
inlineprotected |
Clears this instance.
Definition at line 191 of file IVxDataSource.h.
|
pure virtual |
Create a new MJPEG IVxDataSession.
dataSession | nullptr if it fails, else the new MJPEG streams IVxDataSession. |
|
pure virtual |
Deletes this instance.
|
pure virtual |
Gets all data storages associated with this data source; includes edge and failover data storages.
Available filters: kId, kModifiedSince, kName, kType.
dataStorageCollection | A VxCollection of data storages. |
|
pure virtual |
Gets all possible audio resource relations for this data source (both linked and non-linked). Each linked resource shall be considered to be associated to this data source while non-linked resources shall not be (they are available to be associated).
Available filters: kAllTags, kAllPrivateTags, kLinked.
resourceRelCollection | A VxCollection of related resources. |
|
pure virtual |
Gets the clips associated with this data source.
Available filters: kDataSourceId, kEndTime, kEvent, kFramerate, kPriority, kSearchEndTime, kSearchStartTime, kStartTime.
clipCollection | A VxCollection of the associated clips. |
|
pure virtual |
Gets the data storages associated with this data source.
Available filters: kId, kModifiedSince, kName, kType.
dataStorageCollection | A VxCollection of data storages. |
|
pure virtual |
Gets the edge clips associated with this data source; may take a long time (minutes).
Available filters: kDataSourceId, kEndTime, kEvent, kFramerate, kPriority, kSearchEndTime, kSearchStartTime, kStartTime.
clipCollection | A VxCollection of the associated edge clips. |
|
pure virtual |
|
pure virtual |
Gets the multiple viewer information for this data source. This information contains details on the current viewers of this data source.
userInfoCollection | A VxCollection of user information for all viewers of this data source. |
|
pure virtual |
Gets the IVxPtzController associated with this data source.
ptzController | nullptr if PTZ is not supported on the device, else the IVxPtzController. |
|
pure virtual |
Gets the RTSP stream endpoint URI.
endpoint | The RTSP endpoint. |
size | The size of endpoint . |
|
pure virtual |
Gets all possible video resource relations for this data source (both linked and non-linked). Each linked resource shall be considered to be associated to this data source while non-linked resources shall not be (they are available to be associated).
Available filters: kAllTags, kAllPrivateTags, kLinked.
resourceRelCollection | A VxCollection of related resources. |
|
pure virtual |
Refreshes the member values for this object by retrieving its current information from the VideoXpert system.
|
pure virtual |
Sets the name property.
name | The new name value. |
|
pure virtual |
Sets the number property.
number | The new number value. |
IVxDataInterface** VxSdk::IVxDataSource::dataInterfaces |
The data interfaces available for retrieval of data from this data source.
Definition at line 177 of file IVxDataSource.h.
int VxSdk::IVxDataSource::dataInterfaceSize |
The size of dataInterfaces.
Definition at line 165 of file IVxDataSource.h.
bool VxSdk::IVxDataSource::hasLive |
Indicates whether the live stream is available.
Definition at line 141 of file IVxDataSource.h.
bool VxSdk::IVxDataSource::hasRecorded |
Indicates whether the recorded video is available.
Definition at line 145 of file IVxDataSource.h.
char VxSdk::IVxDataSource::id[64] |
The unique identifier of the data source.
Definition at line 149 of file IVxDataSource.h.
int VxSdk::IVxDataSource::index |
The zero-based index (per host device) indicating the "position" of the data source (per data source type) within the host device.
Definition at line 169 of file IVxDataSource.h.
char VxSdk::IVxDataSource::ip[64] |
The IP of this data source.
Definition at line 153 of file IVxDataSource.h.
bool VxSdk::IVxDataSource::isCapturing |
Indicates whether this data source is currently being captured by a recorder.
Definition at line 133 of file IVxDataSource.h.
bool VxSdk::IVxDataSource::isRecording |
Indicates whether the data source is currently recording.
Definition at line 137 of file IVxDataSource.h.
char VxSdk::IVxDataSource::name[64] |
The friendly name of this data source.
Definition at line 157 of file IVxDataSource.h.
int VxSdk::IVxDataSource::number |
The number used to designate the data source.
Definition at line 173 of file IVxDataSource.h.
char VxSdk::IVxDataSource::snapshotUri[512] |
The URI to retrieve the current live frame.
Definition at line 161 of file IVxDataSource.h.
VxDeviceState::Value VxSdk::IVxDataSource::state |
The current operational state of the associated device.
Definition at line 185 of file IVxDataSource.h.
VxDataSourceType::Value VxSdk::IVxDataSource::type |
The type of media this data source contains.
Definition at line 181 of file IVxDataSource.h.