Is the a way to connect my 360° camera wifi to UE4?

I’m having issues with auvidea b101 and my kodak pixpro sp360 4k, sometimes work, but most of the time, just don’t, so now i’m looking for a plan b, and since my camera has a wifi connection, i wonder if there is a way to connect it to ue4 someway, or maybe connect my raspberry pi to the camera via rtsp and then redirect to ue4 media player stream, but i’m not sure if the streaming delay or lag will be way too much to handle