agora-appbuilder-core 4.0.22-beta-8 → 4.0.22-beta-9
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
CHANGED
|
@@ -136,10 +136,13 @@ export default class AppBuilderLogger implements Logger {
|
|
|
136
136
|
? pkg.dependencies['agora-rtc-sdk-ng']
|
|
137
137
|
: pkg.dependencies['react-native-agora'];
|
|
138
138
|
let roomInfo = {
|
|
139
|
-
meeting_title:
|
|
140
|
-
phrase:
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
meeting_title: '',
|
|
140
|
+
phrase: '',
|
|
141
|
+
channel_id: '',
|
|
142
|
+
room_id: {
|
|
143
|
+
host_id: '',
|
|
144
|
+
attendee_id: '',
|
|
145
|
+
},
|
|
143
146
|
};
|
|
144
147
|
const logger =
|
|
145
148
|
(status: StatusType) =>
|
|
@@ -152,7 +155,6 @@ export default class AppBuilderLogger implements Logger {
|
|
|
152
155
|
if (!$config.LOG_ENABLED) {
|
|
153
156
|
return;
|
|
154
157
|
}
|
|
155
|
-
|
|
156
158
|
if (type === 'SET_MEETING_DETAILS') {
|
|
157
159
|
roomInfo = {...data[0]};
|
|
158
160
|
}
|
|
@@ -171,7 +173,13 @@ export default class AppBuilderLogger implements Logger {
|
|
|
171
173
|
rtm: rtmPkg,
|
|
172
174
|
rtc: rtcPkg,
|
|
173
175
|
},
|
|
174
|
-
|
|
176
|
+
meeting_title: roomInfo?.meeting_title,
|
|
177
|
+
phrase: roomInfo?.phrase,
|
|
178
|
+
channel_id: roomInfo?.channel_id,
|
|
179
|
+
room_id: {
|
|
180
|
+
host_id: roomInfo?.room_id?.host_id,
|
|
181
|
+
attendee_id: roomInfo?.room_id?.attendee_id,
|
|
182
|
+
},
|
|
175
183
|
},
|
|
176
184
|
};
|
|
177
185
|
|
|
@@ -222,8 +222,11 @@ const VideoCall: React.FC = () => {
|
|
|
222
222
|
logger.log(LogSource.Internals, 'SET_MEETING_DETAILS', 'Room details', {
|
|
223
223
|
meeting_title: data?.meetingTitle || '',
|
|
224
224
|
phrase: phrase,
|
|
225
|
-
room_id: data?.roomId,
|
|
226
225
|
channel_id: data?.channel,
|
|
226
|
+
room_id: {
|
|
227
|
+
host_id: data?.roomId?.host || '',
|
|
228
|
+
attendee_id: data?.roomId?.attendee || '',
|
|
229
|
+
},
|
|
227
230
|
});
|
|
228
231
|
}, [isJoinDataFetched, data, phrase]);
|
|
229
232
|
|