I am trying to build an android app which will capture video and stream it live. We want to use HLS for streaming the video to other the target devices. We are thinking of handling the delivering the video stream to the server in one of the below two ways.
1. create an output stream to write to a location on the server and use wowza media server to publish and stream the video from that location. Is this possible as we will have an incomplete file
2. use rtp stream to transfer the video stream to the server.
I would like to have some pointers which will help me to take the decision.