torinwalker
n3wb
Here is my setup:
I have a Dahua NVR42A16-P16-4K-2SL NVR.
I have written my own firmware for an ESP32-CAM board and am now streaming to my NVR.
The problem:
In the Live view, if I click on the Camera button (in this example, Channel 8), I get the spinning circle of death and nothing happens.
![ipcamtalk_1.jpg](/data/attachments/163/163609-4f3dd8282bde5451f20d65b5a75947c0.jpg)
If however I select from the drop-down menu and click on Main Profile, then the camera streams (that's another ESP32-CAM being programmed in case anyone is wondering.)
![ipcamtalk_2.jpg](/data/attachments/163/163611-e88862a364f4c5d6a10a59e1bd140e2b.jpg)
In my ONVIF response, I have only one profile called "main", and I don't particularly care what stream Dahua is asking for when it makes the GetProfile request; I just give it the only profile I have.
If I look under Encoding for that camera, I see only one profile - the one I gave it. So why is it trying to play a substream when I click the channel button if it knows the camera supplies only one profile?
![ipcamtalk_3.jpg](/data/attachments/163/163616-fa925ebec1037cfab87346c672554b6b.jpg)
I tried creating a second profile called "sub", but strangely Dahua made it appear as a second camera. I removed the profile and added a second encoder to the "main" profile, but Dahua never requests it, and this is where I am stuck.
Have any of you implemented ONVIF, and if so, would you happen to have a log of the SOAP calls between a properly implemented ONVIF camera that I could use as reference?
I'm looking for insight into how to provide a sub-stream that will be recognized by Dahua, but of the ONVIF docs and examples I've found online, they typically don't provide two streams.
Torin...
I have a Dahua NVR42A16-P16-4K-2SL NVR.
I have written my own firmware for an ESP32-CAM board and am now streaming to my NVR.
The problem:
In the Live view, if I click on the Camera button (in this example, Channel 8), I get the spinning circle of death and nothing happens.
![ipcamtalk_1.jpg](/data/attachments/163/163609-4f3dd8282bde5451f20d65b5a75947c0.jpg)
If however I select from the drop-down menu and click on Main Profile, then the camera streams (that's another ESP32-CAM being programmed in case anyone is wondering.)
![ipcamtalk_2.jpg](/data/attachments/163/163611-e88862a364f4c5d6a10a59e1bd140e2b.jpg)
In my ONVIF response, I have only one profile called "main", and I don't particularly care what stream Dahua is asking for when it makes the GetProfile request; I just give it the only profile I have.
If I look under Encoding for that camera, I see only one profile - the one I gave it. So why is it trying to play a substream when I click the channel button if it knows the camera supplies only one profile?
![ipcamtalk_3.jpg](/data/attachments/163/163616-fa925ebec1037cfab87346c672554b6b.jpg)
I tried creating a second profile called "sub", but strangely Dahua made it appear as a second camera. I removed the profile and added a second encoder to the "main" profile, but Dahua never requests it, and this is where I am stuck.
Have any of you implemented ONVIF, and if so, would you happen to have a log of the SOAP calls between a properly implemented ONVIF camera that I could use as reference?
I'm looking for insight into how to provide a sub-stream that will be recognized by Dahua, but of the ONVIF docs and examples I've found online, they typically don't provide two streams.
Torin...
Attachments
-
157.9 KB Views: 2