SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
alt_ipc_example_on_prem_client Namespace Reference

Classes

class  FileStreamReader
class  IpcApp

Functions

int main ()

Variables

bool REDIS_AVAILABLE = True
 redis = None
int PROGRAM_EXIT_SUCCESS = 0
int PROGRAM_EXIT_FAILURE = 1

Detailed Description

Alternative IPC Example - File/Redis IPC Client for Physiology Server

This example demonstrates using alternative IPC stream backends (File or Redis) instead
of gRPC streams for communication with the physiology server.

Supported stream backends:
- File: Server writes data to files, client reads from filesystem
- Redis: Server publishes to Redis, client subscribes to Redis channels

Key differences from the gRPC streaming example:
- No frame sending (server gets frames from webcam directly)
- Reads metrics from alternative IPC stream backend instead of gRPC streams
- Reads frames from the alternative stream backend for display
- Only uses gRPC for control commands and logs