I'm using JW Player and followed the steps you can see on this page. "Simple RTMP and Apple HLS streaming example" section. (Self-Hosted mode)
I have a WAMP server installed, where I have created a demo web page. There I implemented the JWPlayer as you can see above.
And now the thing is that, when I open on Chrome the demo web page I created for testing on WAMP and reproduce the Live Video using JWplayer on the computer where I have installed the Wowza Server. I'm getting 1 sec delay. (Great!)
BUT when access the demo web page I created for testing on WAMP, with an Android OR iOS device I'm getting 15-25 secs delay. This is happening in LAN so I think this shouldn't have that long delay.
I have also tried using the "Cloud-Hosted Player" version on JWPlayer, but the delay is also too long.
For some reason, when I remove the .m3u8 link from the example below the "Simple RTMP and Apple HLS streaming example" section of this page, the video cant be reproduced. I really need to add the rtmp (android) version in the example to reproduce the video. Im not sure why this is happening.
What you are describing is essentially difference between HTTP streaming vs. low-latency RTMP or RTSP protocols, and sounds normal. With HTTP streaming, once the stream is started, the video is segmented into chunks and a chunklist/manifest file is built to direct the player to the correct chunk files for playback. This process does typically take several seconds using the default settings. You can reduce this down but 1 second is probably going to be unreliable for HTTP streaming. To adjust these settings you will want to reduce the HLS packetizer settings as described in this article: