-1

I'm using MediaRecorder to record screen on android device, the output file format is mpeg-4 and without a "moov atom" in front.

Now I want to stream this mpeg-4 file to remote server in real-time and make it playable, how can i achieve this?

Any suggestions will be greatly appreciated.

maytide
  • 3
  • 1
  • 1

1 Answers1

0

You can't. An MP4 without a moov is worthless. A fragmented MP4 is possible, but you still need a moov at the start, and an moof for every fragment.

szatmary
  • 29,969
  • 8
  • 44
  • 57