No periodic share keyframes, only on viewer request, removes the color pulse every 2 seconds
Browse files at this commit52deafbaef1bfcb86c90f9cc3f46f07dab029c59Parent: a632150- fix
- no periodic share keyframes, only on viewer request, removes the color pulse every 2 seconds
1 changed file +1 -1
crates/client/src/share/encode.rsmodified+1 -1
| @@ -11,7 +11,7 @@ use crate::media::decode::Engine; | |||
| 11 | 11 | ||
| 12 | const SOFTWARE: Codec = Codec::H264; | 12 | const SOFTWARE: Codec = Codec::H264; |
| 13 | const DEFAULT_MAX_HEIGHT: u32 = 2160; | 13 | const DEFAULT_MAX_HEIGHT: u32 = 2160; |
| 14 | -const KEYFRAME_SECONDS: u32 = 2; | 14 | +const KEYFRAME_SECONDS: u32 = 3600; |
| 15 | const SLACK_MS: u32 = 4; | 15 | const SLACK_MS: u32 = 4; |
| 16 | 16 | ||
| 17 | pub struct Capabilities { | 17 | pub struct Capabilities { |