Open IgnacioEscorz opened 1 year ago
you need to set TransmissionType_Multicast to be able to set the destination IP.
you need to set TransmissionType_Multicast to be able to set the destination IP.
Thank you @SMA2016a , and what is the code line to change it in Pypylon? I could not find it either. camera.GetStreamGrabberParams().TransmissionType.SetValue didnt work
try this:
cam.StreamGrabber.TransmissionType ="Multicast"
Hello!
I've been trying to set the transmission type to Unicast, and to set the destination IP and Port, unsuccesfully. I tried C++ code provided by the Pylon Viewer on WIndows.
camera.GetStreamGrabberParams().TransmissionType.SetValue(TransmissionType_Unicast); camera.GetStreamGrabberParams().DestinationPort.SetValue(34978); int64_t i = camera.GetStreamGrabberParams().DestinationPort.GetValue();
The reason for this is that I'm using a Docker that can not be used as host network mode, but I need to have a defined fixed transmission port and use port fordwarding.
Thank you!