2016-08-03 27 views
0

我想查看一個IP CAM並在WebBroswer中顯示它,但我一直在創建一個錯誤。 enter image description here 這裏是我使用的代碼。VB.net使用WebBroswer查看IP CAM

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) 
+0

請記住在你的問題格式化代碼。最簡單的方法是在每個代碼行的開頭插入四個空格(更多請參閱[如何格式化](http://stackoverflow.com/help/formatting))。 - 至於你的問題,請嘗試改變[瀏覽器模擬](http://www.codeproject.com/Articles/793687/Configuring-the-emulation-mode-of-an-Internet-Expl),看看是否修復你的問題。 –

+1

'WebBrowser'本身就是* Internet Explorer *和IE [不支持MJPEG流](https://en.wikipedia.org/wiki/Motion_JPEG#Client_software) – specializt

回答