I need to pass some binary data from my server side to the client side. I could use a controller and HTTP, but the source of the data is inside my live view process, plus I don’t want to have separate auth for the controller. So right now I am doing
push_event with some blob. For that to work I have to Base64 encode the data. I know this is not the best way to use liveView or the bandwidth, so my question is: is there a better way? I don’t want to have a separate process on the server side just to deal with the communication.
I think a while back there was talk of using a binary protocol in liveView instead of JSON. Is that still on the road map?