Obviously, the larger your packet frame over RTMP to FMS will take longer to initially package and cache the video, thus when clients play a live stream the delay will be dictated by how quick the FMS server packages the initial 4 second, 8 second, 12 second, 16 second. Usualy by 16 seconds, the live stream is playable. I have not found a way, such as like with 'ffmpeg -re' realtime encoding, to enable this feature on FMS, or if it can be manipulated through service side action script main.asc.
Let me know if you do figure a way after packaging, that FMS can close the gap on the cache, to reduce the latency from publish to live client.
Also keep in mind, if there is any connection downtime or fluctuations in virtualization on the socket that is establishst, that the closer to real time encoding, may create undesirable live playback conditions. Whereas with a larger buffer cache server side, will serve up a smoother live video stream.
Thanks a lot!
I have reduced the delay when clients play a live stream by make Queue = false in "Server.xml" and
set EnableAggMsgs=false in PlayBack.
do you mean that I can reduce the packet frame send to FMS to accelerate uploading live stream?
how??? and are there any other options???? thx again