diff --git a/tools/rs-server/rs-server.cpp b/tools/rs-server/rs-server.cpp index a001d04f0a..170883bb7e 100644 --- a/tools/rs-server/rs-server.cpp +++ b/tools/rs-server/rs-server.cpp @@ -80,7 +80,7 @@ int main(int argc, char **argv) "Session streamed by \"realsense streamer\"", True); } - else + else if(sensorIndex==1) { sms = RsServerMediaSession::createNew(*env,sensor, "color"/*sensor.get_sensor_name().data()*/, "", "Session streamed by \"realsense streamer\"",