17 #define MAX_ACTIVE_STREAMS 4 19 #define NUM_OF_SENSORS 2 21 #define POLLING_SW_DEVICE_STATE_INTERVAL 100 23 #define DEFAULT_PROFILE_FPS 15 25 #define DEFAULT_PROFILE_WIDTH 424 27 #define DEFAULT_PROFILE_HIGHT 240 29 #define DEFAULT_PROFILE_COLOR_FORMAT RS2_FORMAT_RGB8 66 void update_sensor_state(
int sensor_index, std::vector<rs2::stream_profile> updated_streams,
bool recover);
74 std::vector<IpDeviceControlData>
get_controls(
int sensor_id);
void get_option_value(int sensor_index, rs2_option opt, float &val)
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
std::map< long long int, std::shared_ptr< rs_rtp_stream > > streams_collection
std::thread sw_device_status_check
void update_option_value(int sensor_index, rs2_option opt, float val)
GLsizei const GLchar *const * string
void update_sensor_state(int sensor_index, std::vector< rs2::stream_profile > updated_streams, bool recover)
void polling_state_loop()
std::vector< IpDeviceControlData > get_controls(int sensor_id)
std::map< long long int, rs_rtp_callback * > rtp_callbacks
bool init_device_data(rs2::software_device sw_device)
void inject_frames_loop(std::shared_ptr< rs_rtp_stream > rtp_stream)
std::vector< rs2_video_stream > query_streams(int sensor_id)
ip_device(rs2::software_device sw_device, std::string ip_address)
void set_option_value(int sensor_index, rs2_option opt, float val)
void recover_rtsp_client(int sensor_index)
std::map< long long int, std::thread > inject_frames_thread
std::map< std::pair< rs2_stream, int >, int > default_streams
void stop_sensor_streams(int sensor_id)
ip_sensor * remote_sensors[NUM_OF_SENSORS]