Apache 基本身份验证替代方案

时间:2021-04-22 16:35:36

标签: linux apache http video-streaming ip-camera

我正在使用由 apache2 提供服务的轴摄像头,身份验证机制是 apache 基本身份验证。为域配置了 SSL。问题是我无法使用嵌入的 url 调用 api 进行流式传输,例如:-

https://user:pass@sub.domain.com/axis-cgi/mjpg/video.cgi

根据这篇文章,谷歌不再支持这一点,并被 chrome 阻止。 https://www.chromestatus.com/feature/5669008342777856

我尝试通过将凭据与 url 一起传递,但它也不起作用。

https://sub.domain.com/axis-cgi/mjpg/video.cgi?user=user&pwd=pass

此相机在 Linux 客户操作系统中运行,是否可以设置支持我需求的替代身份验证。此外,是否可以通过任何其他方式?

谢谢

1 个答案:

答案 0 :(得分:0)

你可以试试

https://user:pass@sub.domain.com/axis-cgi/mjpg/video.cgi

祝你好运

这是为这篇文章添加足够的内容。