Hi @Rose Power-Wowza Community Manager,thanks for your reply. Yes it’s true that I am streaming from an android phone and that it starts out with the low-latency of around 2 seconds, and then after some time the delay reaches up to 5-6 seconds that depends upon the network connectivity. If the internet is consistent then the delay is of 2-3 seconds, but if the internet connectivity is low then delay reaches up to 5-6 seconds. And if again internet is low then delay increases to 9 seconds. After all these if internet becomes stable then also the stream comes with the 9 seconds delay. After this stable internet again if internet goes low the delay increases to 15 seconds. And it continues to stream with the 15 seconds delay even if now the internet is stable.
I am just pushing the single bitrate stream on wowza streaming Engine.
Actually I have purchase the Wowza Streaming Engine with the low-latency and we push the stream by tcp on that URL only.
This is the URL we got after making account :
rtsp://vvdn:vvdn@35.154.177.236:1935/heri_icam_test/myStream
And this is the URL after applying secure token :
rtsps://stage.obotworld-videoplatform.com:443/hero-iot-live/6b7a25c0-08e2-4401-af7c-edfd12baefaa_LOW?wowzatoken=d7ijFRX99XhRXWzkGyHalVUOR98jwNQGOXdztLmmILvATpdolqCl6l1yVDcmKSFWPw5bw7hlWHjW33jwCe72mdRkVW4qE9MIWdf7IEHzbqAEz+yv4qijOituVei9RgKl&sessionId=497abdaa-5a70-4406-a488-6fce887a600f
And below is the whole command I used to push the stream:
ffmpeg -fflags nobuffer -use_wallclock_as_timestamps 1 -loglevel debug -f h264 -thread_queue_size 8 -r 20 -i /sdcard//LiveStreaming_FIFO_360.264 -f aac -thread_queue_size 8 -i /sdcard//LiveStream_Audio_FIFO_360.aac -acodec copy -vcodec copy -tune zerolatency -b:a 15k -ar 16000 -ac 1 -rtpflags latm -f rtsp -rtsp_transport tcp -y rtsps://stage.obotworld-videoplatform.com:443/hero-iot-live/6b7a25c0-08e2-4401-af7c-edfd12baefaa_LOW?wowzatoken=d7ijFRX99XhRXWzkGyHalVUOR98jwNQGOXdztLmmILvATpdolqCl6l1yVDcmKSFWPw5bw7hlWHjW33jwCe72mdRkVW4qE9MIWdf7IEHzbqAEz+yv4qijOituVei9RgKl&sessionId=497abdaa-5a70-4406-a488-6fce887a600f
One thing I would like to clear that how the frames are coming and its flow.
From the camera sensor the frames are encoded by the h.264 hardware encoder. Then these frames are write into fifo. And at last from the fifo these frames are push into wowza by using ffmpeg with tcp.
Please ask me if any more details I can provide you that I have forget to mention here.