Skip to content

Commit 41a10fd

Browse files
Add custom libwebrtc jar files with fix to fps drop issues observed in Android devices
1 parent 99b61cd commit 41a10fd

File tree

4 files changed

+10
-55
lines changed

4 files changed

+10
-55
lines changed

android/gradle.properties

+4
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
3838
# to write custom TurboModules/Fabric components OR use libraries that
3939
# are providing them.
4040
newArchEnabled=false
41+
42+
# Use this property to enable or disable the Hermes JS engine.
43+
# If set to false, you will be using JSC instead.
44+
hermesEnabled=true

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"react-native-screen": "^1.0.1",
3030
"react-native-screens": "^3.20.0",
3131
"react-native-svg": "^12.3.0",
32-
"react-native-webrtc": "github:montanaeli/react-native-webrtc#2c7b6e3",
32+
"react-native-webrtc": "github:aravind-raveendran/react-native-webrtc#045ef81",
3333
"react-redux": "^8.1.3",
3434
"redux": "^4.2.1",
3535
"redux-persist": "^6.0.0"

src/screens/multiview/MultiView.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ export const MultiView = ({ navigation }) => {
261261
const { active, layers } = (data as MediaStreamLayers).medias[mediaId] ?? {};
262262
const streamQualities = buildQualityOptions(active, layers);
263263

264+
console.log('---> data', data);
265+
264266
dispatch({
265267
type: 'viewer/setActiveLayers',
266268
payload: { mediaId, streamQualities },

yarn.lock

+3-54
Original file line numberDiff line numberDiff line change
@@ -1872,11 +1872,6 @@ acorn@^8.9.0:
18721872
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a"
18731873
integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==
18741874

1875-
1876-
version "0.5.9"
1877-
resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.5.9.tgz#b33691028333821c0cf95c31374c5462f2905a83"
1878-
integrity sha512-s+3fXLkeeLjZ2kLjCBwQufpI5fuN+kIGBxu6530nVQZGVol0d7Y/M88/xw9HGGUcJjKf8LutN3VPRUBq6N7Ajg==
1879-
18801875
ajv@^6.12.4:
18811876
version "6.12.6"
18821877
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
@@ -2502,11 +2497,6 @@ chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2:
25022497
ansi-styles "^4.1.0"
25032498
supports-color "^7.1.0"
25042499

2505-
chownr@^2.0.0:
2506-
version "2.0.0"
2507-
resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
2508-
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
2509-
25102500
ci-info@^2.0.0:
25112501
version "2.0.0"
25122502
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
@@ -3705,13 +3695,6 @@ fs-extra@^8.1.0:
37053695
jsonfile "^4.0.0"
37063696
universalify "^0.1.0"
37073697

3708-
fs-minipass@^2.0.0:
3709-
version "2.1.0"
3710-
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
3711-
integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==
3712-
dependencies:
3713-
minipass "^3.0.0"
3714-
37153698
fs.realpath@^1.0.0:
37163699
version "1.0.0"
37173700
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@@ -5404,21 +5387,6 @@ minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.6:
54045387
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
54055388
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
54065389

5407-
minipass@^3.0.0:
5408-
version "3.3.6"
5409-
resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a"
5410-
integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==
5411-
dependencies:
5412-
yallist "^4.0.0"
5413-
5414-
minizlib@^2.1.1:
5415-
version "2.1.2"
5416-
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
5417-
integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==
5418-
dependencies:
5419-
minipass "^3.0.0"
5420-
yallist "^4.0.0"
5421-
54225390
mixin-deep@^1.2.0:
54235391
version "1.3.2"
54245392
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
@@ -5434,11 +5402,6 @@ mkdirp@^0.5.1:
54345402
dependencies:
54355403
minimist "^1.2.6"
54365404

5437-
mkdirp@^1.0.3:
5438-
version "1.0.4"
5439-
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
5440-
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
5441-
54425405
54435406
version "2.0.0"
54445407
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
@@ -6186,15 +6149,13 @@ react-native-svg@^12.3.0:
61866149
css-select "^5.1.0"
61876150
css-tree "^1.1.3"
61886151

6189-
"react-native-webrtc@github:montanaeli/react-native-webrtc#2c7b6e3":
6190-
version "111.0.1"
6191-
resolved "https://codeload.github.com/montanaeli/react-native-webrtc/tar.gz/2c7b6e370e245dee84a72912f6e246ef885a0955"
6152+
"react-native-webrtc@github:aravind-raveendran/react-native-webrtc#045ef81":
6153+
version "118.0.5"
6154+
resolved "https://codeload.github.com/aravind-raveendran/react-native-webrtc/tar.gz/045ef81baa52189a47f8d436fbb105ff728bd5b5"
61926155
dependencies:
6193-
adm-zip "0.5.9"
61946156
base64-js "1.5.1"
61956157
debug "4.3.4"
61966158
event-target-shim "6.0.2"
6197-
tar "6.1.11"
61986159

61996160
"react-native@npm:[email protected]":
62006161
version "0.69.8-2"
@@ -7124,18 +7085,6 @@ svgo@^3.0.2:
71247085
csso "^5.0.5"
71257086
picocolors "^1.0.0"
71267087

7127-
7128-
version "6.1.11"
7129-
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621"
7130-
integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==
7131-
dependencies:
7132-
chownr "^2.0.0"
7133-
fs-minipass "^2.0.0"
7134-
minipass "^3.0.0"
7135-
minizlib "^2.1.1"
7136-
mkdirp "^1.0.3"
7137-
yallist "^4.0.0"
7138-
71397088
71407089
version "0.8.3"
71417090
resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.3.tgz#e0c6bc4d26b903124410e4fed81103014dfc1f59"

0 commit comments

Comments
 (0)