Truedepth camera capturing depthdata, how can it be send as pointcloud values over internet to the other app where it can be rendered?

i'm getting the depthdata and implementing 3D point cloud as a PointCloudMetalView. But how can we transfer these point cloud values over internet to other app?