Closed bubblesdev closed 6 months ago
Hi @bubblesdev ,
Some tips on how to get help with an issue:
Without these as a minimum there's not much help anyone can provide.
Thnks but i have gone through previous issues but no related ones.
It throws the error in the screenshot above when connecting to the sub stream of an onvif and it connect to the main stream. Here's a screenshot of the profile in the device from onvifer application.
I can't debug exactly why it is not processing the request. I hope this helps!
Hi @bubblesdev,
If you install and Configure the cli tools provided by the package you can get information back from your camera that can be very useful for debugging.
Your stated issue is "I'm having difficulty in connecting to the substream of Onvif device.". Since this package only covers the protocols and spec of Onvif, it provided no code that allows you to actually "connect" with a stream. It does provide the means to you to determine the uri
of a stream which you could feed to some other tool to connect.
Once you've got the cli tools configured and working, then you could run a command like:
#Where Profile_2 is the profile token of the substream
onvif media1 get-stream-uri -t Profile_2
The command will output the uri
for the stream along with some other info.
As mentioned earlier, unless you can provide some simple code that can be used to recreate your issue, then there's not much help that can be offered. Also if the problem is outside the scope of this tool set, you'll have to look outside for help.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hi there! I'm having difficulty in connecting to the substream of Onvif device. Such that it throws Dio exception while making the request which it makes difficult to debug as it comes from the package itself. Kindly look into this issue pls. Thank you for your feedback