Skip to content
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

How to use Hikvision camera with digest authentication #82

Open
tomm1ed opened this issue May 4, 2024 · 1 comment
Open

How to use Hikvision camera with digest authentication #82

tomm1ed opened this issue May 4, 2024 · 1 comment

Comments

@tomm1ed
Copy link

tomm1ed commented May 4, 2024

Trying to use a Hikvision cam as source, but unsure how to add successfully:
Set Address to username:password@[IP]:554/Streaming/Channels/2
Protocol RTSP
Transport TCP

When clicking Apply I just see 'Applying...' and nothing else happens. I don't see the user logged in on the camera, heck netstat does not even show me a connection. What is the correct syntax of adding a cam which requires digest auth to Birdcage?

Also tried using the api on port 7007 but that just returns

401
Undocumented
	

Error: UNAUTHORIZED
Response body
Download

{
  "msg": "Missing Authorization Header"
}
@tomm1ed
Copy link
Author

tomm1ed commented May 4, 2024

Restarted the docker and now the log is spammed with:

birdcage_backend_1   |  stderr: username:password@IP:554/Streaming/Channels/2: Protocol not found
birdcage_backend_1   | Did you mean file:username:password@IP:554/Streaming/Channels/2?
birdcage_backend_1   | [2024-05-04 09:24:19,784: WARNING/ForkPoolWorker-6] Recording failed. Error: ffmpeg error (see stderr output for detail)
birdcage_backend_1   | [2024-05-04 09:24:20,889: WARNING/ForkPoolWorker-6] Error: ffmpeg error (see stderr output for detail)

@tomm1ed tomm1ed changed the title Unable to add Hikvision camera, hangs at Applying How to use Hikvision camera with digest authentication May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant