agora-appbuilder-core 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/_package-lock.json +452 -457
- package/template/agora-rn-uikit/.git/index +0 -0
- package/template/agora-rn-uikit/.git/logs/HEAD +2 -2
- package/template/agora-rn-uikit/.git/logs/refs/heads/ab-dev-auto +1 -1
- package/template/agora-rn-uikit/.git/logs/refs/heads/master +1 -1
- package/template/agora-rn-uikit/.git/logs/refs/remotes/origin/HEAD +1 -1
- package/template/agora-rn-uikit/.git/objects/pack/pack-5492d7642796f4cb5877f55e4dcb463a71db9c02.idx +0 -0
- package/template/agora-rn-uikit/.git/objects/pack/{pack-0061d00cd98162a329a32b537488a35d0abeb069.pack → pack-5492d7642796f4cb5877f55e4dcb463a71db9c02.pack} +0 -0
- package/template/agora-rn-uikit/.git/packed-refs +5 -1
- package/template/bridge/rtc/webNg/RtcEngine.ts +21 -5
- package/template/package-lock.json +452 -457
- package/template/agora-rn-uikit/.git/objects/pack/pack-0061d00cd98162a329a32b537488a35d0abeb069.idx +0 -0
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com>
|
|
2
|
-
d3828abad4998b3ae014de717a63d8a20b15762a f27948778f3d89af8ae9f1e8d881682f6103c9be nitte93 <nitte.tiwari1993@gmail.com>
|
|
1
|
+
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com> 1660285695 +0530 clone: from https://github.com/AgoraIO-Community/ReactNative-UIKit
|
|
2
|
+
d3828abad4998b3ae014de717a63d8a20b15762a f27948778f3d89af8ae9f1e8d881682f6103c9be nitte93 <nitte.tiwari1993@gmail.com> 1660285695 +0530 checkout: moving from master to ab-dev-auto
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 f27948778f3d89af8ae9f1e8d881682f6103c9be nitte93 <nitte.tiwari1993@gmail.com>
|
|
1
|
+
0000000000000000000000000000000000000000 f27948778f3d89af8ae9f1e8d881682f6103c9be nitte93 <nitte.tiwari1993@gmail.com> 1660285695 +0530 branch: Created from refs/remotes/origin/ab-dev-auto
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com>
|
|
1
|
+
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com> 1660285695 +0530 clone: from https://github.com/AgoraIO-Community/ReactNative-UIKit
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com>
|
|
1
|
+
0000000000000000000000000000000000000000 d3828abad4998b3ae014de717a63d8a20b15762a nitte93 <nitte.tiwari1993@gmail.com> 1660285695 +0530 clone: from https://github.com/AgoraIO-Community/ReactNative-UIKit
|
package/template/agora-rn-uikit/.git/objects/pack/pack-5492d7642796f4cb5877f55e4dcb463a71db9c02.idx
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -8,16 +8,20 @@ b2020fb3e8c0b39d1d39dfcf019849914bca467f refs/remotes/origin/bugfix/togglerole-s
|
|
|
8
8
|
5d4f38ae0a89b20275e2497a4e8f43b0ca2830e4 refs/remotes/origin/dev
|
|
9
9
|
4ec093e51924049e37d247d867a5482a9376a8cf refs/remotes/origin/docs
|
|
10
10
|
002960cf34f06ffd3e905e6de9865460f02bd910 refs/remotes/origin/feat/icon-tint
|
|
11
|
+
47911db51df2fe2ed35cc54bfd0d1e9b036b2fc3 refs/remotes/origin/feature/audio_room
|
|
11
12
|
82207f40106655312beafed4cfa790ac7c0f5471 refs/remotes/origin/feature/custom_layout
|
|
12
13
|
ce7c971ae62c8fd92d180fa2fb7e5600b4a0a300 refs/remotes/origin/feature/fpe-internationlization
|
|
13
|
-
|
|
14
|
+
dd04b6f873dae0d1290ccfd8bde9fe79bcaaaaa9 refs/remotes/origin/feature/fpe_changes
|
|
14
15
|
ce7c971ae62c8fd92d180fa2fb7e5600b4a0a300 refs/remotes/origin/feature/life_cycle_events
|
|
15
16
|
7c60e844f617d9c0faf6aa968fdf16b16d0e59ce refs/remotes/origin/feature/ui-kit/raise-hand
|
|
17
|
+
d51519724e4c8ee234aaf1f0cf97fae72eafc5fa refs/remotes/origin/fpe_userlist_migration
|
|
18
|
+
fd321c3fb732a0644dac707cf3f7866656e78b99 refs/remotes/origin/fpe_v1
|
|
16
19
|
2a6955df4af514b6a8d83ce9423a97594ac3789b refs/remotes/origin/geo_fencing_config
|
|
17
20
|
d3828abad4998b3ae014de717a63d8a20b15762a refs/remotes/origin/master
|
|
18
21
|
b8c591fa4ece61d69d49d2d40120664803bff25b refs/remotes/origin/merge-refactor
|
|
19
22
|
2295420e38a5ab0fe094a36855ad8d360bd4f7fd refs/remotes/origin/merge-refactor-master
|
|
20
23
|
01ad019ae514b6502b64a30b357a20af49b8c8a5 refs/remotes/origin/refactor
|
|
24
|
+
5779748a80e2de7c629f2f569dd9180f3ff41ca3 refs/remotes/origin/release/fpe-1.0.0
|
|
21
25
|
612364439bef5545d47070e9fc33c1fd14c30a76 refs/remotes/origin/release/uikit/blocker-fixes
|
|
22
26
|
ac8929fda04db3663a7c1eb9c71ca6a97728f0eb refs/remotes/origin/v2-legacy
|
|
23
27
|
d772da16c7f1299a7fc8427098aa1a63b9a79081 refs/remotes/origin/video-placeholder
|
|
@@ -31,6 +31,9 @@ import {VideoProfile} from '../quality';
|
|
|
31
31
|
import {ChannelProfile, ClientRole} from '../../../agora-rn-uikit';
|
|
32
32
|
import {role, mode} from './Types';
|
|
33
33
|
import {LOG_ENABLED, GEO_FENCING} from '../../../config.json';
|
|
34
|
+
import {Platform} from 'react-native';
|
|
35
|
+
import mobileAndTabletCheck from '../../../src/utils/mobileWebTest';
|
|
36
|
+
|
|
34
37
|
interface MediaDeviceInfo {
|
|
35
38
|
readonly deviceId: string;
|
|
36
39
|
readonly label: string;
|
|
@@ -200,19 +203,32 @@ export default class RtcEngine {
|
|
|
200
203
|
}
|
|
201
204
|
|
|
202
205
|
async enableVideo(): Promise<void> {
|
|
206
|
+
/**
|
|
207
|
+
* Issue: Backgrounding the browser or app causes the audio streaming to be cut off.
|
|
208
|
+
* Impact: All browsers and apps that use WKWebView on iOS 15.x, such as Safari and Chrome.
|
|
209
|
+
* Solution:
|
|
210
|
+
* Upgrade to the Web SDK v4.7.3 or later versions.
|
|
211
|
+
* When calling createMicrophoneAudioTrack, set bypassWebAudio as true.
|
|
212
|
+
* The Web SDK directly publishes the local audio stream without processing it through WebAudio.
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
const audioConfig =
|
|
216
|
+
Platform.OS == 'web' && mobileAndTabletCheck()
|
|
217
|
+
? {bypassWebAudio: true}
|
|
218
|
+
: {};
|
|
203
219
|
try {
|
|
204
220
|
let [localAudio, localVideo] =
|
|
205
|
-
await AgoraRTC.createMicrophoneAndCameraTracks(
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
);
|
|
221
|
+
await AgoraRTC.createMicrophoneAndCameraTracks(audioConfig, {
|
|
222
|
+
encoderConfig: this.videoProfile,
|
|
223
|
+
});
|
|
209
224
|
this.localStream.audio = localAudio;
|
|
210
225
|
this.localStream.video = localVideo;
|
|
211
226
|
} catch (e) {
|
|
212
227
|
let audioError = false;
|
|
213
228
|
let videoError = false;
|
|
214
229
|
try {
|
|
215
|
-
let localAudio = await AgoraRTC.createMicrophoneAudioTrack(
|
|
230
|
+
let localAudio = await AgoraRTC.createMicrophoneAudioTrack(audioConfig);
|
|
231
|
+
|
|
216
232
|
this.localStream.audio = localAudio;
|
|
217
233
|
} catch (error) {
|
|
218
234
|
audioError = error;
|