How to live stream from iOS Camera to server

Hi,


I'm new to live streaming, and was wondering if there are any recommendations on how to set up a live stream between the iPhone camera and a server? It would ideally take into account the device's upload speed and adjust its video quality accordingly.


Thank you