Ran into the following todo:
and it seems like without setting kVTCompressionPropertyKey_MaxKeyFrameInterval the encoder gets to decide how many keyframes to send.
Video encoders are allowed to generate key frames more frequently if
this would result in more efficient compression.
The default key frame interval is 0, which indicates that the
video encoder should choose where to place all key frames.
Trying this out on AppRTCDemo with iPhone 6S+ in a loopback call resulted in a generated keyframe approximately every 2 secs. So despite setting kVTCompressionPropertyKey_RealTime the encoder is trying to optimize for seekable content with periodic keyframes, instead of optimizing for latency and bandwidth by sending fewer keyframes. Does it make sense to set the kVTCompressionPropertyKey_MaxKeyFrameInterval to something relatively high so that only things like FIR/PLI triggers a keyframe?
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/6a7360f7-57a5-47b4-aaa9-ed20881c4057%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.