Camera Module

Represents a camera.

class CAM2CameraDatabaseAPIClient.camera.Camera[source]

Class representing a general camera.

cameraID

str – Id of the camera.

legacy_cameraID

int, optional – Id of the camera in previous CAM2 camera database.

camera_type

str – Type of the camera.

source

str, optional

frame_rate

int, optional

country

str, optional

state

str, optional

city

str, optional

longitude

float, optional

latitude

float, optional

is_active_image

bool, optional

is_active_video

bool, optional

resolution_width

int, optional

resolution_height

int, optional

utc_offset

int, optional

timezone_id

str, optional

timezone_name

str, optional

str, optional

reference_url

str, optional

class CAM2CameraDatabaseAPIClient.camera.IPCamera[source]

Represent a single ip camera. This is a subclass of Camera.

ip

str

port

str

brand

str, optional

model

str, optional

image_path

str, optional

video_path

str, optional

class CAM2CameraDatabaseAPIClient.camera.NonIPCamera[source]

Represent a single non-ip camera. This is a subclass of Camera.

snapshot_url

str

class CAM2CameraDatabaseAPIClient.camera.StreamCamera[source]

Represent a single stream camera. This is a subclass of Camera.

m3u8_url

str