AForge.NET c# streaming webcam over sockets

  • Context: C# 
  • Thread starter Thread starter Superposed_Cat
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 5K views
Superposed_Cat
Messages
388
Reaction score
5
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.
 
Physics news on Phys.org
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:
Do you have any code?

Try to update the picture box, pictureBox.Update()