-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathenable-hevc-webrtc-send-receive-by-default.patch
53 lines (44 loc) · 2.13 KB
/
enable-hevc-webrtc-send-receive-by-default.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
From 69cc2e1434a78213b02e942d0efab36196b845fb Mon Sep 17 00:00:00 2001
From: Sta Zhu <[email protected]>
Date: Fri, 22 Nov 2024 20:33:05 +0800
Subject: [PATCH] Video: Enable HEVC WebRTC Send/Receive feature by default
This will enable WebRTC HEVC Send/Receive feature which is
necessary to make WebRTC related API start working.
Also enable HEVC L1T2/L1T3 enabling by default.
---
media/webrtc/webrtc_features.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/media/webrtc/webrtc_features.cc b/media/webrtc/webrtc_features.cc
index bc2c76deab799..9bef86809713f 100644
--- a/media/webrtc/webrtc_features.cc
+++ b/media/webrtc/webrtc_features.cc
@@ -75,27 +75,27 @@ BASE_FEATURE(kWebRtcApmTellsIfPlayoutReferenceIsNeeded,
// negotiate usage of H.265 in SDP in the direction of sending.
BASE_FEATURE(kWebRtcAllowH265Send,
"WebRtcAllowH265Send",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, allow H.265 codec to be used for receiving WebRTC streams.
// Platform hardware H.265 decoder needs to be supported and enabled in order to
// negotiate usage of H.265 in SDP in the direction of receiving.
BASE_FEATURE(kWebRtcAllowH265Receive,
"WebRtcAllowH265Receive",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, allows H.265 L1T2 to be used for sending WebRTC streams, if the
// accelerator reports support of encoding in L1T2.
BASE_FEATURE(kWebRtcH265L1T2,
"WebRtcH265L1T2",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, allows H.265 L1T3 to be used for sending WebRTC streams, if the
// accelerator reports support of encoding in L1T3. If this is enabled, L1T2 is
// also implied to be enabled.
BASE_FEATURE(kWebRtcH265L1T3,
"WebRtcH265L1T3",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
#if BUILDFLAG(IS_ANDROID)
// Kill-switch for using 48 kHz as sample rate for Audio Processing Module
--
2.47.0