I am working on live device to server streaming in android. I am able to send data in bytes on server but when i play that file during recording on server VLC
It is possible to move the moov atom to the begining of the video file using FFMpeg.
ffmpeg -i input_video_file.mp4 -vcodec copy -acodec copy -movflags faststart output_video_file.mp4