Touseefelahi / GigeVision

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

Unable to stream with SVS camera #88

Closed ericlim20 closed 1 year ago

ericlim20 commented 1 year ago

Hi,

There is an exception when retrieving the Width value from the camera. But the issue can be resolved after adding the pNode.Name.EndsWith("IntReg") && pNode.Attributes["Name"].Value.EndsWith("Ctrl")) when getting the register.

image

However, I still encounter another issue when receiving the packet from the camera as below:

image

What I have to do in order to stream with SVS camera?

Touseefelahi commented 1 year ago

Enable jumbo packet if the packet size is more than 1500 bytes Sent from my iPhoneOn 30 Dec 2022, at 4:08 AM, ericlim20 @.***> wrote: Hi, There is an exception when retrieving the Width value from the camera. But the issue can be resolved after adding the pNode.Name.EndsWith("IntReg") && pNode.Attributes["Name"].Value.EndsWith("Ctrl")) when getting the register.

However, I still encounter another issue when receiving the packet from the camera as below:

What I have to do in order to stream with SVS camera?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

ericlim20 commented 1 year ago

It is working now. Perfect. Thanks a lot. But may I know why need to enable jumbo packet and what is 9KB MTU means?

image

Touseefelahi commented 1 year ago

MTU is the maximum transmit unit, the maximum no. of bytes that can be transmitted in a single ethernet packet. So by default, the library sets the Packet Size equal to one row (+ header ) per packet, if this size is less than the default MTU size of 1500 then it will work fine.

In my experience, if we set the packet size high we get better performance.

ericlim20 commented 1 year ago

Thanks for your explanation.