Touseefelahi / GigeVision

Simple GigeVision implementation, GVSP, GVCP protocol implemented
97 stars 31 forks source link

FrameReady not fired #90

Closed nadavbeno closed 1 year ago

nadavbeno commented 1 year ago

Hi, what can I do if FrameReady is not fired? The camera is connected, I pressed on start stream, the UpdateFps is fired, but fps count is always 0.

Touseefelahi commented 1 year ago

check for the Updates by hooking to the Updates event https://github.com/Touseefelahi/GigeVision/blob/886b2bf9eed74699e08179b717c3dfd83191f28e/GigeVision.Core/Interfaces/ICamera.cs#L59

You must allow exception to the firewall to receive the GVSP stream

nadavbeno commented 1 year ago

I disabled my firewall and still don't see nothing, and fps counter stays on 0. The messages in updates:

  1. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  2. A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.
Touseefelahi commented 1 year ago

Try increasing the mtu size. Go to network settings and increase the mtu size to max: 9000

Let me know it it fixes the issue

nadavbeno commented 1 year ago

I can set it only up to 1500 image

and getting the message: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

Touseefelahi commented 1 year ago

Okay then manually set the packet size to 1400 and test. The property name would be Payload or PacketSize in Camera class.

nadavbeno commented 1 year ago

Works! Thanks!

Touseefelahi commented 1 year ago

Great! Now just to check, I believe you can increase the mtu size from control panel, from network driver settings. Do a little search about it.