Skm Camera represents an Skm camera object
More...
|
| string | GetLiveUrl (bool analytics=false) |
| | Gets the live Rtsp url for a Skm camera More...
|
| |
| string | GetArchiveUrl (DateTime StartTime, DateTime EndTime, bool skipGaps=false) |
| | Gets the Rtsp Url for an archive time span. The times requested must be in Utc/Universal time. The method will create a single use ticket, that is a part of the returned string, on the Skm server. This Url/ticket is only good for ten seconds. More...
|
| |
| Bitmap | GetThumbnail () |
| | Retrieves the thumbnail/snapshot for a specific device.
This method will return a null Bitmap if there is an error. More...
|
| |
| byte[] | GetRawThumbnail () |
| | Retrieves the thumbnail for a specific device More...
|
| |
| DownloadTask | StartDownloadMediaClip (string FilePath, DateTime StartTime, DateTime EndTime) |
| | Starts video export from the server. More...
|
| |
| | SkmBase (SkmSession Session) |
| | Constructor More...
|
| |
|
| string | ThumbnailUrl [get] |
| | Gets the Url for the thumbnail of a Skm camera More...
|
| |
| MemoryStream | RawThumbnailStream [get] |
| | Retrieves the thumbnail for a specific device More...
|
| |
| string | TimeZone [get] |
| | Time zone name in IANA format (TZ database name). More...
|
| |
| SkmObject | Audio [get, set] |
| | Audio object corresponding to the camera. More...
|
| |
| Dictionary< string, string > | CameraData = new Dictionary<string, string>() [get] |
| | Camera metadata. Can contain the following keys: Id, Name, TimeZone, PTZ, MD, Analytics, GeoLat, GeoLong, GeoAlt, Location, Note, AudioId, AudioName, etc. More...
|
| |
| SkmObjectType | ObjectType [get] |
| | Skm resource object type More...
|
| |
| int | Id [get] |
| | Skm's object identifier More...
|
| |
| string | Name [get, set] |
| | The Skm name of the Skm object More...
|
| |
| string | Location [get, set] |
| | The user defined location of the Skm object More...
|
| |
| List< SkmPermissionList > | Roles [get] |
| | The user's roles that are associated to the resource More...
|
| |
| bool | IsPtz [get] |
| | Flag is set true if the camera is a PTZ device. More...
|
| |
| ObjectAttributes | Attributes [get, protected set] |
| | Skm object attributes. More...
|
| |
| SkmSession | Session [get] |
| | The current Skm session of the Skm object More...
|
| |
Skm Camera represents an Skm camera object
◆ GetArchiveUrl()
| string SkmXmlApi.Camera.GetArchiveUrl |
( |
DateTime |
StartTime, |
|
|
DateTime |
EndTime, |
|
|
bool |
skipGaps = false |
|
) |
| |
Gets the Rtsp Url for an archive time span. The times requested must be in Utc/Universal time. The method will create a single use ticket, that is a part of the returned string, on the Skm server. This Url/ticket is only good for ten seconds.
- Parameters
-
| StartTime | Start time of the archive clip in Utc/Universal time |
| EndTime | End time of the archive clip in Utc/Universal |
| skipGaps | Skip archive gaps |
- Returns
- Rtsp Url of the requested archive clip
string url = string.Empty;
try
{
◆ GetLiveUrl()
| string SkmXmlApi.Camera.GetLiveUrl |
( |
bool |
analytics = false | ) |
|
Gets the live Rtsp url for a Skm camera
- Parameters
-
| analytics | True for analytics |
- Returns
- Live Rtsp Url of the camera
string url = string.Empty;
try
{
◆ GetRawThumbnail()
| byte [] SkmXmlApi.Camera.GetRawThumbnail |
( |
| ) |
|
Retrieves the thumbnail for a specific device
- Returns
- Raw bytes of the thumbnail, usually in Jpeg format
Bitmap image = null;
byte[] imageBytes = null;
◆ GetThumbnail()
| Bitmap SkmXmlApi.Camera.GetThumbnail |
( |
| ) |
|
Retrieves the thumbnail/snapshot for a specific device.
This method will return a null Bitmap if there is an error.
- Returns
- Bitmap image of the thumbnail
Bitmap image = null;
try
{
◆ StartDownloadMediaClip()
| DownloadTask SkmXmlApi.Camera.StartDownloadMediaClip |
( |
string |
FilePath, |
|
|
DateTime |
StartTime, |
|
|
DateTime |
EndTime |
|
) |
| |
Starts video export from the server.
- Parameters
-
| FilePath | Path and filename of where to store the media clip. |
| StartTime | The UTC time of where the export should begin. |
| EndTime | The UTC time of where the export should end. |
◆ Audio
Audio object corresponding to the camera.
◆ CameraData
| Dictionary<string, string> SkmXmlApi.Camera.CameraData = new Dictionary<string, string>() |
|
get |
Camera metadata. Can contain the following keys: Id, Name, TimeZone, PTZ, MD, Analytics, GeoLat, GeoLong, GeoAlt, Location, Note, AudioId, AudioName, etc.
◆ RawThumbnailStream
| MemoryStream SkmXmlApi.Camera.RawThumbnailStream |
|
get |
Retrieves the thumbnail for a specific device
- Returns
- Raw bytes of the thumbnail, usually in Jpeg format
Bitmap image = null;
MemoryStream imageBytes = null;
◆ ThumbnailUrl
| string SkmXmlApi.Camera.ThumbnailUrl |
|
get |
Gets the Url for the thumbnail of a Skm camera
◆ TimeZone
| string SkmXmlApi.Camera.TimeZone |
|
get |
Time zone name in IANA format (TZ database name).
◆ DownloadMediaClipProgress
The documentation for this class was generated from the following file: