Skip to content

Get stream URI not picking up rtsp server address from config file with rtsp server mode set to 'external' #288

@vyshali-chitikeshi

Description

@vyshali-chitikeshi

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in:

Device USB service

Is this a regression?

Yes, the previous version in which this bug was not present was: ....

No

Description and Minimal Reproduction [REQUIRED]

  1. Get latest code from device usb service main branch & edgex compose main branch

  2. Go to device usb service cmd/res folder, and update configuation.yaml file with below settings
    RtspServerMode set to "external"
    RtspServerHostName set to remote ip address of system where rtsp server running

  3. Build usb docker image locally with updated configuration file

  4. Go to edgex compose/compose builder, and update add-device-usb-camera.yaml file to use local usb image

  5. from compose builder, run 'make run no-secty ds-usb-camera' - this wills start edgex services and device usb services, also discovers and adds usb cameras to edgex

  6. Execute some generic api like camera info, ensure camera is accessible and it works correctly

  7. Execute ger stream uri, API
    Expected behavior: Should give rtsp stream uri with remote ipScreenshot from 2023-09-12 15-33-19address
    actual behavior: It does not retrieve rtsp server address in stream uri path

attached screenshot of stream URI api

🔥 Exception or Error




attached screenshot of stream uri api output

🌍 Your Environment

Deployment Environment:
EdgeX Version [REQUIRED]:

3.0
Anything else relevant?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions