gopDuration

val gopDuration: Float = 1.0f

Video encoder I-frame interval in seconds. This is a best effort as few camera can not generate a fixed framerate. For live streaming, I-frame interval should be really low. For recording, I-frame interval should be higher. A value of 0 means that each frame is an I-frame. On device with API < 25, this value will be rounded to an integer. So don't expect a precise value and any value < 0.5 will be considered as 0.