MJPEGStream显示streamAforge.Video.dll

我试图使用Aforge库stream式传输IPCAM D'Link,但是我没有成功:我想将videostream显示到PB控制器中。 我的代码:

Imports AForge.Video Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Try Dim stream As New MJPEGStream("http://190.6.198.3/video/mjpg.cgi") stream.Login() = "admin" stream.Password() = "" stream.Start() Catch ex As System.Net.WebException MsgBox(ex.Message.ToString) End Try End Sub End Class 

Solutions Collecting From Web of "MJPEGStream显示streamAforge.Video.dll"

你有点混合MJPEGStream和控制

 Dim mjpegSource As New MJPEGStream("rtsp://192.0.0.64:554/cam[CHANNEL]/mjpeg") mjpegSource.Login = "admin" mjpegSource.Password = "" VideoSourcePlayer1.VideoSource = mjpegSource 

错误是网址前缀不被识别这是我如何修复,但与vlc可以流