Hello, Stanley.
Live stream latency depends on GOP (group of pictures), or keyframe interval size: the more often keyframe is sent, the less latency. You can adjust it as follows depending on your case:
1. If you publish RTMP steam to WCS server and then client plays it using MSE, you can adjust GOP size on your RTMP source.
2. If you publish WebRTC stream, you can set these options in WCS_HOME/conf/flashphoner.properties:
Code:
periodic_fir_request=true
periodic_fir_request_interval=1000
In this case, keyframe will be requested every 1 second.
3. You can enable transcoding on your WCS server
Code:
disable_streaming_proxy=true
and set GOP size for H.264 encoder (60 is the default value)
Code:
video_encoder_h264_gop=60
Note that the less GOP, the more bandwith is required.