Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

AForge.NET c# streaming webcam over sockets

  1. May 6, 2014 #1
    Hi, I have been able to take a picture and send it over a socket in c# using AForge, NetworkStream and sockets, but I am unable to stream live video over them. I keep altering my code (it's n00bish code albeit) but it won't work. I think it is because you would have to know the size of each frame server side before displaying it in a picturebox. Any help/links appreciated.
     
  2. jcsd
  3. May 6, 2014 #2

    DavidSnider

    User Avatar
    Gold Member

    Can you post some code on github?

    Can you adjust the size of the picture box after the server receives the image but before you display it?
     
    Last edited: May 6, 2014
  4. May 12, 2014 #3
    Do you have any code?

    Try to update the picture box, pictureBox.Update()
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: AForge.NET c# streaming webcam over sockets
Loading...