Thank you for your answer. I set cupertinoChunkDurationTarget: 1000 and in the encoder : cam.setKeyFrameInterval (15) (means the 15th frame is the keyframe means 1 keyframe in 1 sec because I set 15fps with cam.setMode (w,h,15,true) ) Earlier the number 2 I used in cam.setKeyFrameInterval (2) maybe too small key frame interval.
I use HLS for mobile streaming. After that, the delay is about 3, 4 seconds. In many loads, the video works okay with delay of 3, 4 sec. However, in some load, the video stops responding after 10 sec (but it is probably okay, only few times - However after some hours, I checked again and the number of stop responding times increased --> I have the feeling that 1 sec is not as reliable as 2 secs. The bad thing is that JW Player does not play again when it stops, it just stops forever and need a reload ).
This is not as good as RTMP streaming. RTMP streaming the delay is only around 1 sec.
Another problem related to the SOUND occurred so please help me to resolve this. I would appreciate.
- There is no sound in the HLS streaming but the RTMP player (JW Player) on desktop browser can hear the sound of the video. Do I have to make any configuration for the sound to appear for HLS?
After a while, I found out the solution is to use Wowza Transcoder. I enable Wowza Transcoder but that is not enough for the audio to work and I can not find out a document to make the translation from Speex to AAC ON THE WOWZA STREAMING MANAGER . I would like to use the Wowza Streaming Manager. Not the create files in folder way.
jwplayer(“player”).onError ( function(event) {
setTimeout(function()
{
jwplayer(“player”).play(true);
},2000);
does not work when I disconnect from the Internet and reconnect again to the Internet. The JW player does not keep playing as expected. (this test was made in an easy environment- a desktop browser).
Thank you.