Network-Cahing not working because of keyframes
Posted: 18 Sep 2020 01:00
This is easy. If I set the network caching to something less than the amount of keyframes, it will still "Stream buffering done" the amount of keyframes I'm sending.
I'm using "tcp/ts://HOST:PORT" to receive the stream, and the stream is created using ffmpeg with mpegts output.
I tested this by having a 1 keyframe each 2 seconds stream and setting network-caching over 2 seconds, working as expected, then reducing it to 100ms and still having 2 seconds of caching.
If I change the keyframes to 1 per second, the network caching reduces to 1000ms, but sill not 100ms, which is what I want.
What option do I need to set to avoid this?
I'm using "tcp/ts://HOST:PORT" to receive the stream, and the stream is created using ffmpeg with mpegts output.
I tested this by having a 1 keyframe each 2 seconds stream and setting network-caching over 2 seconds, working as expected, then reducing it to 100ms and still having 2 seconds of caching.
If I change the keyframes to 1 per second, the network caching reduces to 1000ms, but sill not 100ms, which is what I want.
What option do I need to set to avoid this?