我正在尝试查看IP CAM并将其显示在WebBroswer中,但我一直收到错误。

下面是我使用的代码。
Dim z As String = "http://ip_address/mjpeg?res=half&x0=0&y0=0&x1=1600&y1=1200&quality=12&doublescan=0&sei=on%20HTTP/1.1\r\n%20Host:%20ip_address\r\n\r\n"
WebBrowser1.Navigate(z)发布于 2016-08-03 23:36:44
不幸的是,Internet Explorer是win表单中web浏览器组件的基础。而在默认情况下,它不会理解MJPEG文件格式,因此会要求您下载该文件。
尝试使用chrome(开放源码的chrome),因为它可以处理这种文件格式。
https://thechriskent.com/2014/08/18/embedded-chromium-in-winforms/
或者,您可以查看此处的选项:Cross-browser solution for displaying MJPEG stream,因为您可能能够以另一种方式包装它
https://stackoverflow.com/questions/38744090
复制相似问题