Crate strand_http_video_streaming_types

Crate strand_http_video_streaming_types 

Source
Expand description

Type definitions for HTTP video streaming functionality in the Strand Camera ecosystem.

This crate provides serializable data structures for streaming video frames over HTTP with annotations, shapes, and drawing capabilities. It’s designed to work with Strand Camera and Braid.

§Features

  • Video frame data structures with annotations
  • Geometric shapes (circles, polygons) for region marking
  • Drawing styles and colors for canvas rendering
  • Serialization support via serde

Structs§

CanvasDrawableShape
Canvas-optimized representation of a drawable shape.
CircleParams
Parameters defining a circle shape.
DrawableShape
A shape with associated drawing properties for canvas rendering.
Point
Represents a 2D point with optional orientation and area information.
PolygonParams
Parameters defining a polygon shape.
RgbaColor
RGBA color representation for drawing operations.
ToClient
Message structure sent from server to client containing video frame data and annotations.

Enums§

Shape
Geometric shapes that can be used for regions, annotations, or masks.
StrokeStyle
Stroke style options for drawing shapes and annotations.

Constants§

VIDEO_STREAM_EVENT_NAME
Event name used for Server-Sent Events (SSE) video streaming.