Currently, we decide between H.264 and HEVC based on the stream parameters (lower resolution: H.264, higher resolution: HEVC).
Maybe it would be better to always use the more efficient HEVC if sender and receiver are capable of efficiently handling it (CPU >= Skylake on the Intel receiver supports HEVC hw decode, CPU >= KabyLake on the sender reliably supports HEVC hw encode).
If that is not the case, fall back to H.264.
Currently, we decide between H.264 and HEVC based on the stream parameters (lower resolution: H.264, higher resolution: HEVC).
Maybe it would be better to always use the more efficient HEVC if sender and receiver are capable of efficiently handling it (CPU >= Skylake on the Intel receiver supports HEVC hw decode, CPU >= KabyLake on the sender reliably supports HEVC hw encode).
If that is not the case, fall back to H.264.