更新token

This commit is contained in:
fsy
2025-03-22 19:41:08 +08:00
parent eb4ffc7761
commit ba8c73aac3
2 changed files with 6 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ class AgoraService {
this.volumeIndicator = null;
// 加入同一RTC频道
this.appid = '01a1debc964a4c6a8df1de2a6ce7aa4d';
this.token = '007eJxTYOhQ/af5fwa3YP9mzYq4WWxKco1TJJqEC9L6z39c0cf2xkuBwcAw0TAlNSnZ0swk0STZLNEiJQ3IN0o0S041T0w0SQk0u5veEMjIwFi9lhFIgiGIL8KQnJ9XlpgJJIvzc1LjDQ3NjE3MGRgACCIjzA==';
this.channel = 'convaiconsole_116347';
this.token = '007eJxTYDC9tPXind6STazfWV8ybkn1Sf8y+aTB8UeBYe+ZpmyoePlYgcHAMNEwJTUp2dLMJNEk2SzRIiUNyDdKNEtONU9MNEk5N/9eekMgI4OTki4rIwMEgvgiDMn5eWWJmUCyOD8nNd7QxMLMyJKBAQCzZyhC';
this.channel = 'convaiconsole_148629';
this.isListening = false; // 是否正在监听
this.isSpeaking = false; // 用户是否正在说话

View File

@@ -35,10 +35,10 @@ class ApiService {
const response = await this.client.post(
`${this.baseUrl}/projects/${this.projectId}/join/`,
{
"name": "convaiconsole_116347",
"name": "convaiconsole_148629",
"properties": {
"channel": "convaiconsole_116347",
"agent_rtc_uid": "87578",
"channel": "convaiconsole_148629",
"agent_rtc_uid": "66542",
"remote_rtc_uids": [
"*"
],
@@ -93,7 +93,7 @@ class ApiService {
"enable_metrics": true,
"audio_scenario": "default"
},
"token": "007eJxTYOhQ/af5fwa3YP9mzYq4WWxKco1TJJqEC9L6z39c0cf2xkuBwcAw0TAlNSnZ0swk0STZLNEiJQ3IN0o0S041T0w0SQk0u5veEMjIwFi9lhFIgiGIL8KQnJ9XlpgJJIvzc1LjDQ3NjE3MGRgACCIjzA==",
"token": "007eJxTYDC9tPXind6STazfWV8ybkn1Sf8y+aTB8UeBYe+ZpmyoePlYgcHAMNEwJTUp2dLMJNEk2SzRIiUNyDdKNEtONU9MNEk5N/9eekMgI4OTki4rIwMEgvgiDMn5eWWJmUCyOD8nNd7QxMLMyJKBAQCzZyhC",
"advanced_features": {
"enable_aivad": false
}