Cannot play sample.mp4 on Safari

Hi,

For this problem I have found a trick on this post

by creating HTML page with video tag and I were able to view the video with Safari. But this is not what I want!

How can I configure Wowza server for iOS&MAC user can watch the video directly with their browser or apps?

My colleagues have developed an application on iOS that allows user to push live stream, and watch videos recorded. But when they use this app to watch

the sample.mp4 video on my Wowza server, the app couldn’t play the video and returned error:

Chunk with zero-length

And on the server I saw this in the error log:

WARN server comment 2013-07-16 12:03:15 - - - - - 150.463 - - - - - - - - MediaReaderFLV.open: Metadata appears to be bad: sample.mp4

WARN server comment 2013-07-16 12:03:59 - - - - - 195.049 - - - - - - - sample open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/sample.flv (No such file or directory)

Why “sample.flv”? when the app required sample.mp4?