I'm currently working on implementing live streaming via HLS for Android devices. Our mobile application uses ffmpeg behind the scenes for HLS playback to keep the experience consistent (since HLS rollout seem to be quite spotty on android).
Anyway, I'm using nexus 4 as a testing device and I have tried both ffmpeg and native for streaming and both seem to have having same problem;
- After each chunk is played out there is a short pause while the phone gets another chunk.
I'm not sure why that is. I have tried many different settings and no luck so far. The way stream is setup is encoder (HE-AAC - 32bit) -> ice cast -> Wowza. All other parts of the chain are tested and are working 100%.
My current setup
<!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->