Hi,
We want to make live streaming to iOS device Where input streams are from flash (Audio Codec - Nellymoser and Video Codec- sorenson spark/h.263/h.264) and output streams require HLS (Audio Codec - AAC and Video Codec- H.264).
We have faced 2 problems -
1 - How to convert audio codec nellymoser to AAC ?
Wowza transcoder addOn is not supported nellymoser as input
so, We are working with FFMPEG to transocode input stream from flash (Audio Codec - Nellymoser and Video Codec- sorenson spark/h.263/h.264) to required output stream (Audio Codec - AAC and Video Codec- H.264).
FFmpeg command used :
ffmpeg -i rtmp://[Wowza IP Address]:1935/DemoApp/testing -c:a libvo_aacenc -ar 44100 -ab 48k -c:v libx264 -preset ultrafast -tune zerolatency -r 24 -g 48 k -keyint_min 48 -f flv rtmp://[Wowza IP Address]:1935/DemoApp/testingios
2 - How to support HLS for iOS devices ?
To support HLS, We have configured our Application.xml as per steps provided in https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming
It fulfilled our requirement but we are facing a DELAY in HLS, Significant delay (arround 10 to 15 Sec). We need optimised delay.
We have worked with Key frame as well. We have optimised our packetization settings like cupertinoChunkDurationTarget =2000 and -r 24 -g 48 k -keyint_min 48 at FFmpeg side.But there is still delay in iOS side.
How to resolve DELAY or Reduce DELAY in HLS ?
Thanks in advance.