Video question, the video channels in Milestone are distinguished by IP address or hardware MAC address?

​Now, we developing an access method Hik-gateway based on mobile devices. For example, two devices are added to the gateway, and they are mapped to an IP(gateway IP). They are identified by a number inside the gateway.

Then, we add these two devices to Milestone separately through same IP and Port, but their login username and password are different. The flow logic diagram is shown in the attached picture.

now, We have successfully added two devices as described above method, but now only one of them has video.

Do you guys have any suggestions about this aituation? Thanks in advance.

XProtect distinguishes MAC address, IP Address and port number and unfortunately Milestone doesn’t support that the cameras use same IP address and port number.

The only way that you can do for using same IP address is to make your own driver with DriverFramework that can map devices instead of using driver.

OK,thanks for you reply, it’s very helpful to us.