Pass a PNG to other players via PUN

Options
Hey there,

Is there a way to pass a PNG or a MOV file (probably base64) from one player to other players? Either through an RPC or any other kind of networking?

Thank you,
zelena

Comments

  • Gage_IAG
    Options
    A png, technically you can easily if the PNG is already hosted online somewhere by simply having a pixel reader enumeration on each client to decode the RPC with the hard image link.

    If its something on one users local machine, you can still pass a pixel array from one user to another, however i dont know about data caps for sending that info with photon or if its efficient. If its this case though perhaps look into a library that allows users to upload files to a shared directory where you can still pass the image link.