Reading MPEG4 from IP Camera

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jerry Spence1

    Reading MPEG4 from IP Camera

    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



Working...