FreeStreamer icon indicating copy to clipboard operation
FreeStreamer copied to clipboard

Streaming a file from an offset not working.

Open humayunharoon opened this issue 7 years ago • 0 comments

In my app i stream mp4's from a server, and i was trying to get the "resume audio after a phone call" feature to work and the code is already inside the Library. But the issue i am facing is, the audio stops just fine, but doesn't resume.

I investigated the issue and i get the following error 2018-03-07 17:56:45.780219+0500 xxxxxx[2032:842547] FSAudioStream: Error parsing the stream: Audio file stream parse bytes error: error code 'typ?' [FreeStreamer 3.8.2] URL: http://streaming.patari.pk/video/a0c72b14-cd71-4ed6-a7b3-9bf2a4049546.mp4

I then also tried and started a file normally with an offset, and it would still throw the same error. I also used https://github.com/danielgtaylor/qtfaststart to check if the file is correctly optimized for streaming by having the moov atom in the beginning and it indeed is. So i'm kinda bummed as to why i'm getting the typ? error. Any clues?

humayunharoon avatar Mar 07 '18 13:03 humayunharoon