Project

General

Profile

Actions

Pull request #433

open

Streaming multiple videos of the same type

Added by Barbara Bazzana 1 day ago. Updated 1 day ago.

Status:
Feedback
Priority:
Normal
Repository URL:
Repository branch:

Description

You need to use the option index of ::realsense::stream_video, this way you will retrieve different channels of the same type, e.g. INFRA.

Example
::realsense::stream_video {type ::realsense::STREAM_INFRARED index 1 width 848 height 480 format ::or::sensor::pixmap::ANY fps 0 name infra1}
::realsense::stream_video {type ::realsense::STREAM_INFRARED index 2 width 848 height 480 format ::or::sensor::pixmap::ANY fps 0 name infra2}

The name of ::realsense::stream_video needs to match the slot option of ::realsense::publish, while bank can be chosen freely and is reflected in the name of the output port. index of ::realsense::publish can also be chosen freely and determines the index in the frameset of the output port.

Example
::realsense::publish {slot infra1 bank infra1 index 0}
::realsense::publish {slot infra2 bank infra2 index 0}

Actions

Also available in: Atom PDF