Represents a data session that is being transmitted by a data source, via a data interface, to a client.
More...
#include <IVxDataSession.h>
|
char | id [64] |
| The unique identifier of the data session. More...
|
|
char | jpegUri [512] |
| The URI of the JPEG frame. More...
|
|
float | speed |
| The play speed of the data. More...
|
|
unsigned short | quality |
| The image quality of the data from 1 to 100. Smaller numbers have better quality than larger numbers. More...
|
|
unsigned short | xResolution |
| The horizontal resolution of the data (Width). More...
|
|
unsigned short | yResolution |
| The vertical resolution of the data (Height). More...
|
|
Represents a data session that is being transmitted by a data source, via a data interface, to a client.
Definition at line 15 of file IVxDataSession.h.
void VxSdk::IVxDataSession::Clear |
( |
| ) |
|
|
inlineprotected |
Clears this instance.
Definition at line 124 of file IVxDataSession.h.
char jpegUri[512]
The URI of the JPEG frame.
unsigned short quality
The image quality of the data from 1 to 100. Smaller numbers have better quality than larger numbers...
unsigned short xResolution
The horizontal resolution of the data (Width).
unsigned short yResolution
The vertical resolution of the data (Height).
float speed
The play speed of the data.
Deletes this instance.
- Returns
- The Result of deleting this instance.
Terminates the current data session.
- Returns
- The Result of the request.
virtual VxResult::Value VxSdk::IVxDataSession::GetAuthToken |
( |
char * |
token, |
|
|
int & |
size |
|
) |
| const |
|
pure virtual |
Gets the data session authentication token.
- Parameters
-
token | The authentication token. |
size | The size of token . |
- Returns
- The Result of the request.
Gets the IVxDataSource from which this session is retrieving data.
- Parameters
-
- Returns
- The Result of the request.
Gets the IVxUser that this session is being used by, if any.
- Parameters
-
user | The IVxUser using this session. |
- Returns
- The Result of the request.
Sets the position of the data session as close to live as possible.
- Returns
- The Result of the request.
Pauses the data session.
- Returns
- The Result of the request.
Starts or resumes the data session.
- Returns
- The Result of the request.
virtual VxResult::Value VxSdk::IVxDataSession::Seek |
( |
long long |
unixTime, |
|
|
float |
speed |
|
) |
| |
|
pure virtual |
Seeks to the frame nearest to the given time.
- Parameters
-
unixTime | The seek time in unix time format. |
speed | The playback speed. |
- Returns
- The Result of the request.
virtual VxResult::Value VxSdk::IVxDataSession::SetQuality |
( |
unsigned short |
quality | ) |
|
|
pure virtual |
Sets the quality property.
- Parameters
-
quality | The new quality value. |
- Returns
- The Result of setting the property.
virtual VxResult::Value VxSdk::IVxDataSession::SetResolution |
( |
unsigned short |
xResolution, |
|
|
unsigned short |
yResolution |
|
) |
| |
|
pure virtual |
Sets the resolution properties.
- Parameters
-
xResolution | The new horizontal resolution value. |
yResolution | The new vertical resolution value. |
- Returns
- The Result of setting the properties.
Sets the play speed of the data session. Negative values indicate reverse speeds while positive values indicate forward speeds (1 is normal speed).
- Parameters
-
- Returns
- The Result of the request.
Updates the values of this instance.
- Returns
- The Result of updating this instance.
char VxSdk::IVxDataSession::id[64] |
The unique identifier of the data session.
Definition at line 98 of file IVxDataSession.h.
char VxSdk::IVxDataSession::jpegUri[512] |
unsigned short VxSdk::IVxDataSession::quality |
The image quality of the data from 1 to 100. Smaller numbers have better quality than larger numbers.
Definition at line 110 of file IVxDataSession.h.
float VxSdk::IVxDataSession::speed |
unsigned short VxSdk::IVxDataSession::xResolution |
The horizontal resolution of the data (Width).
Definition at line 114 of file IVxDataSession.h.
unsigned short VxSdk::IVxDataSession::yResolution |
The documentation for this struct was generated from the following file: