This reference describes unreleased code on main; no release documents it yet.

rlmesh::recorder::MediaRef

structPreviewuse rlmesh::recorder::MediaRef;[source]

A media manifest row; bytes live at a bundle-relative path.

struct MediaRef

Also available as rlmesh::MediaRef.

camera

field[source]
camera: String

Camera/source label.

kind

field[source]
kind: String

Media kind (normally video).

path

field[source]
path: String

Bundle-relative asset path.

format

field[source]
format: String

Container format, such as mp4.

frame_count

field[source]
frame_count: Option<i64>

Recorded frames, when known.

width

field[source]
width: Option<i64>

Pixel width, when known.

height

field[source]
height: Option<i64>

Pixel height, when known.

fps

field[source]
fps: Option<f64>

Playback frames per second, when known.

to_dict

method[source]
fn to_dict(&self) -> Metadata

JSON-native manifest row, omitting unknown optional fields.

Trait implementations

  • impl Clone for MediaRef
  • impl Debug for MediaRef
  • impl Default for MediaRef
  • impl StructuralPartialEq for MediaRef
  • impl PartialEq for MediaRef
  • impl Display for MediaRef