CameraMetaData

@Serializable
data class CameraMetaData(val name: String = "", val resolution: String = "1280x720", val framerate: Int = 15, val rotation: Int = 0, val streamPort: Int = 8443, val enabled: Boolean = true, val error: String = "") : NodeMetaData(source)

Payload for a Camera node — the editable capture configuration and an enabled toggle.

Constructors

Link copied to clipboard
constructor(name: String = "", resolution: String = "1280x720", framerate: Int = 15, rotation: Int = 0, streamPort: Int = 8443, enabled: Boolean = true, error: String = "")

Properties

Link copied to clipboard

When false, the server stops capturing to save resources.

Link copied to clipboard
open override val error: String

Last known error message for this node, or empty string when healthy.

Link copied to clipboard

Target frames per second for the MJPEG stream.

Link copied to clipboard

Display name; empty string falls back to "Camera" in the UI.

Link copied to clipboard

Capture resolution, formatted as "<width>x<height>".

Link copied to clipboard

Image rotation in degrees applied before encoding (0 / 90 / 180 / 270).

Link copied to clipboard

TCP port on the server that exposes the live stream.