RTP: VAAPI seems to not support VBR and low-power mode at the same time
This commit is contained in:
parent
37cfbd8c76
commit
f270fc7686
|
@ -140,7 +140,7 @@ public class Dino.Plugins.Rtp.CodecUtil {
|
||||||
public static string? get_encode_args(string media, string codec, string encode, JingleRtp.PayloadType? payload_type) {
|
public static string? get_encode_args(string media, string codec, string encode, JingleRtp.PayloadType? payload_type) {
|
||||||
// H264
|
// H264
|
||||||
if (encode == "msdkh264enc") return @" rate-control=vbr";
|
if (encode == "msdkh264enc") return @" rate-control=vbr";
|
||||||
if (encode == "vaapih264enc") return @" rate-control=vbr tune=low-power";
|
if (encode == "vaapih264enc") return @" rate-control=vbr";
|
||||||
if (encode == "x264enc") return @" byte-stream=1 speed-preset=ultrafast tune=zerolatency bframes=0 cabac=false dct8x8=false";
|
if (encode == "x264enc") return @" byte-stream=1 speed-preset=ultrafast tune=zerolatency bframes=0 cabac=false dct8x8=false";
|
||||||
|
|
||||||
// VP8
|
// VP8
|
||||||
|
|
Loading…
Reference in a new issue