I'm streaming audio(.mp4) using StreamingKit
in objective C(recorded in iPhone). It is streaming fine while playing audio from iPhone. However, when I receive an audio file recorded in android device(Samsung galaxy S4 & S5) it doesn't stream in iPhone and throws error: STKAudioPlayerErrorStreamParseBytesFailed
Later on, I tried it with different android device(Nexus 5) and it streamed fine in iPhone. Any suggestions?
Asked
Active
Viewed 460 times
3

Mughees Musaddiq
- 1,060
- 1
- 10
- 27
-
have you tried ffmpeg lib? – Vyacheslav Mar 20 '17 at 12:36
-
@Vyacheslav No, I didn't use ffmpeg lib. I'm using steamingKit for streaming. – Mughees Musaddiq Mar 20 '17 at 12:58
-
I do not know all detailes but, imho, it seems your framework does not support some codecs. I would suggest to use ffmpeg instead. – Vyacheslav Mar 20 '17 at 12:59
-
@Vyacheslav Any tutorial or sample code for using ffmpeg in iOS? I have tried few things but its not working. – Mughees Musaddiq Mar 21 '17 at 09:52
-
http://stackoverflow.com/a/23357230/1979882 ? – Vyacheslav Mar 21 '17 at 10:01