Skip to content

Commit f5a1879

Browse files
authored
chore: update code (#26)
* chore: update setParameter * chore: bump version
1 parent fdee456 commit f5a1879

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Web/Scenes/VoiceAgent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "convoai-v2",
3-
"version": "2.0.0",
3+
"version": "1.0.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbopack",

Web/Scenes/VoiceAgent/src/services/rtc.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,8 @@ export class RtcService extends EventService<IRtcEvents> {
4848
super()
4949
this._joined = false
5050
this.localTracks = {}
51-
// todo: tmp add dev param
5251
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5352
;(AgoraRTC as any).setParameter('ENABLE_AUDIO_PTS_METADATA', true)
54-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
55-
;(AgoraRTC as any).setParameter('GATEWAY_ADDRESS', [
56-
{ ip: '120.195.180.30', port: 18000 },
57-
])
5853
AgoraRTC.enableLogUpload();
5954
this.client = AgoraRTC.createClient({ mode: 'rtc', codec: 'vp8' })
6055
this.agoraRTC = AgoraRTC

0 commit comments

Comments
 (0)