I have an IP camera and I am trying to read the MPEG4 video and save it into
a file. So far I have tried this:
Dim NcCred As New NetworkCredenti al
Dim Command As String
Dim WebRequest As WebRequest
NcCred = New NetworkCredenti al("root", "password")
Command = http://192.168.0.98/<command to product MPEG4 stream>
Dim siteUri As New System.Uri(Comm and)
WebRequest = System.Net.WebR equest.Create(s iteUri)
WebRequest.Cred entials = NcCred
Dim webResponse As System.Net.WebR esponse = WebRequest.GetR esponse()
Dim respStream As System.IO.Strea m = webResponse.Get ResponseStream( )
And then I get stuck! This also seems a very long winded way of doing it. I
just need to be able to read the stream in and save it to a file.
-Jerry
a file. So far I have tried this:
Dim NcCred As New NetworkCredenti al
Dim Command As String
Dim WebRequest As WebRequest
NcCred = New NetworkCredenti al("root", "password")
Command = http://192.168.0.98/<command to product MPEG4 stream>
Dim siteUri As New System.Uri(Comm and)
WebRequest = System.Net.WebR equest.Create(s iteUri)
WebRequest.Cred entials = NcCred
Dim webResponse As System.Net.WebR esponse = WebRequest.GetR esponse()
Dim respStream As System.IO.Strea m = webResponse.Get ResponseStream( )
And then I get stuck! This also seems a very long winded way of doing it. I
just need to be able to read the stream in and save it to a file.
-Jerry