# libtmux::Snapshot::from_recording

- **Module:** libtmux::Snapshot
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/snapshot.hpp#L179
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-snapshot-from_recording/

```
libtmux::Snapshot::from_recording(fields: std::span< const std::string_view >, output: std::string) -> std::shared_ptr< const Snapshot >
```

Output that did not come from a live server: a recording, a fixture, a test.

Entities read and filter exactly as they would from a listing, and anything that would run a command reports that there is no connection. Returns null if a row does not match the fields it claims to have.
