I'm working on the live steaming app that user can upload live streaming video and others can also watching the video streaming.
While i'm researching on the streaming protocol, I found out that, for App store submission, Apple only accept the app using only HTTP Living Streaming (HLS) protocol for steaming videos. https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH102-SW5
However i'm not sure HLS should be used for both upload and download video or it's only for download.
if HLS is only for download, then what is the best solutions (or protocol) for uploading live streaming?
Also if it's possible to use HLS to upload the video, can anybody provide proper way of implementing uploading video with HLS with Swift? (Any tutorial site, sample code, or any guide should be okay)