-
Notifications
You must be signed in to change notification settings - Fork 58
/
enable-hevc-webrtc-send-receive-by-default.patch
36 lines (30 loc) · 1.43 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
From d58359a07a2f806187c6afafe8b34aa6c0285763 Mon Sep 17 00:00:00 2001
From: Sta Zhu <zhusidayoyo@hotmail.com>
Date: Sat, 29 Jun 2024 16:39:50 +0800
Subject: [PATCH] Video: Enable HEVC WebRTC Send/Receive feature by default
This will enable WebRTC HEVC Send/Receive feature which is
neccesary to make WebRTC related API start working.
---
media/webrtc/webrtc_features.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media/webrtc/webrtc_features.cc b/media/webrtc/webrtc_features.cc
index a0a0649d5e5f6..ed1ffd27092fb 100644
--- a/media/webrtc/webrtc_features.cc
+++ b/media/webrtc/webrtc_features.cc
@@ -75,14 +75,14 @@ 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);
#if BUILDFLAG(IS_ANDROID)
// Kill-switch for using 48 kHz as sample rate for Audio Processing Module
--
2.45.2