-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attaching one live stream camera to two different usecases in stadium scenario #732
Comments
I see two services are running. Is there anything wrong? |
@xwu2git Okay, let me explain in detail, I have two IP cameras, (192.168.1.23 and 192.168.1.24) I want to run svcq with both of them and similarly entrance also with both of them, but right now its giving one IP camera (192.168.1.23) to Svcq and another to entrance (192.168.1.24). for svcq: |
The discover service uses the rtspurl to uniquely identify an IP camera. I guess there are totally two cameras discovered in your case. Try adding something unrelated to the rtspurl text to make them different: |
Thansk @xwu2git , but adding ?x=y is blocking the IP camera stream :( |
Additionally I have tried using Substream ("rtsp://admin:[email protected]:85/videoSubsc" instead of mainstream to look rtspurl unique, which playing fine in VLC but not getting streamed in smartcity. I think it is taking IP as unique ID. |
Also tried with different port ("rtsp://admin:[email protected]:554/videoMainsc"), that is also not working, which makes me think its is taking IP only as unique identifier |
It's in sensor/discover-ipcam/discover.py around line 230. You might need to modify the discovery logic to allow the same IP cameras to be registered twice for different algorithms. This usage is not supported for now. |
@xwu2git Do you mean these lines in the discover.py, where it is checking for a camera already registered. |
yes |
@xwu2git you can close this issue, problem is solved. :) |
Hi, I am also facing this issue, can you provide the solution ? |
I am not able to give one live stream camera feed from sensor-info.json to two different use cases like Entrance and svcq in Stadium scenario.
I have given same details of IP camera into sensor-info but Smart city is not taking the same feed into two use case, one use case its showing N/A. It is showing 1:1 ratio for camera and use case.
The text was updated successfully, but these errors were encountered: