camera.android

class platypush.message.response.camera.android.AndroidCameraPictureResponse(image_file: str, *args, **kwargs)[source]
__init__(image_file: str, *args, **kwargs)[source]
Parameters
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.camera.android.AndroidCameraStatusListResponse(status: List[platypush.message.response.camera.android.AndroidCameraStatusResponse], **kwargs)[source]
__init__(status: List[platypush.message.response.camera.android.AndroidCameraStatusResponse], **kwargs)[source]
Parameters
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.camera.android.AndroidCameraStatusResponse(*args, name: Optional[str] = None, stream_url: Optional[str] = None, image_url: Optional[str] = None, audio_url: Optional[str] = None, orientation: Optional[str] = None, idle: Optional[str] = None, audio_only: Optional[str] = None, overlay: Optional[str] = None, quality: Optional[str] = None, focus_homing: Optional[str] = None, ip_address: Optional[str] = None, motion_limit: Optional[str] = None, adet_limit: Optional[str] = None, night_vision: Optional[str] = None, night_vision_average: Optional[str] = None, night_vision_gain: Optional[str] = None, motion_detect: Optional[str] = None, motion_display: Optional[str] = None, video_chunk_len: Optional[str] = None, gps_active: Optional[str] = None, video_size: Optional[str] = None, mirror_flip: Optional[str] = None, ffc: Optional[str] = None, rtsp_video_formats: Optional[str] = None, rtsp_audio_formats: Optional[str] = None, video_connections: Optional[str] = None, audio_connections: Optional[str] = None, ivideon_streaming: Optional[str] = None, zoom: Optional[str] = None, crop_x: Optional[str] = None, crop_y: Optional[str] = None, coloreffect: Optional[str] = None, scenemode: Optional[str] = None, focusmode: Optional[str] = None, whitebalance: Optional[str] = None, flashmode: Optional[str] = None, antibanding: Optional[str] = None, torch: Optional[str] = None, focus_distance: Optional[str] = None, focal_length: Optional[str] = None, aperture: Optional[str] = None, filter_density: Optional[str] = None, exposure_ns: Optional[str] = None, frame_duration: Optional[str] = None, iso: Optional[str] = None, manual_sensor: Optional[str] = None, photo_size: Optional[str] = None, **kwargs)[source]

Example response:

{
    "stream_url": "https://192.168.1.30:8080/video",
    "image_url": "https://192.168.1.30:8080/photo.jpg",
    "audio_url": "https://192.168.1.30:8080/audio.wav",
    "orientation": "landscape",
    "idle": "off",
    "audio_only": "off",
    "overlay": "off",
    "quality": "49",
    "focus_homing": "off",
    "ip_address": "192.168.1.30",
    "motion_limit": "250",
    "adet_limit": "200",
    "night_vision": "off",
    "night_vision_average": "2",
    "night_vision_gain": "1.0",
    "motion_detect": "off",
    "motion_display": "off",
    "video_chunk_len": "60",
    "gps_active": "off",
    "video_size": "1920x1080",
    "mirror_flip": "none",
    "ffc": "off",
    "rtsp_video_formats": "",
    "rtsp_audio_formats": "",
    "video_connections": "0",
    "audio_connections": "0",
    "ivideon_streaming": "off",
    "zoom": "100",
    "crop_x": "50",
    "crop_y": "50",
    "coloreffect": "none",
    "scenemode": "auto",
    "focusmode": "continuous-video",
    "whitebalance": "auto",
    "flashmode": "off",
    "antibanding": "off",
    "torch": "off",
    "focus_distance": "0.0",
    "focal_length": "4.25",
    "aperture": "1.7",
    "filter_density": "0.0",
    "exposure_ns": "9384",
    "frame_duration": "33333333",
    "iso": "100",
    "manual_sensor": "off",
    "photo_size": "1920x1080"
}
__init__(*args, name: Optional[str] = None, stream_url: Optional[str] = None, image_url: Optional[str] = None, audio_url: Optional[str] = None, orientation: Optional[str] = None, idle: Optional[str] = None, audio_only: Optional[str] = None, overlay: Optional[str] = None, quality: Optional[str] = None, focus_homing: Optional[str] = None, ip_address: Optional[str] = None, motion_limit: Optional[str] = None, adet_limit: Optional[str] = None, night_vision: Optional[str] = None, night_vision_average: Optional[str] = None, night_vision_gain: Optional[str] = None, motion_detect: Optional[str] = None, motion_display: Optional[str] = None, video_chunk_len: Optional[str] = None, gps_active: Optional[str] = None, video_size: Optional[str] = None, mirror_flip: Optional[str] = None, ffc: Optional[str] = None, rtsp_video_formats: Optional[str] = None, rtsp_audio_formats: Optional[str] = None, video_connections: Optional[str] = None, audio_connections: Optional[str] = None, ivideon_streaming: Optional[str] = None, zoom: Optional[str] = None, crop_x: Optional[str] = None, crop_y: Optional[str] = None, coloreffect: Optional[str] = None, scenemode: Optional[str] = None, focusmode: Optional[str] = None, whitebalance: Optional[str] = None, flashmode: Optional[str] = None, antibanding: Optional[str] = None, torch: Optional[str] = None, focus_distance: Optional[str] = None, focal_length: Optional[str] = None, aperture: Optional[str] = None, filter_density: Optional[str] = None, exposure_ns: Optional[str] = None, frame_duration: Optional[str] = None, iso: Optional[str] = None, manual_sensor: Optional[str] = None, photo_size: Optional[str] = None, **kwargs)[source]
Parameters
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp