@tencentcloud/sdk-mcp 0.1.0

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.
Files changed (31) hide show
  1. package/README.md +20 -0
  2. package/index.js +16 -0
  3. package/index.js.map +1 -0
  4. package/package.json +37 -0
  5. package/resource/doc/tuicallkit/android/.gitkeep +0 -0
  6. package/resource/doc/tuicallkit/android/api_TUICallKit.md +663 -0
  7. package/resource/doc/tuicallkit/android/api_TUICallObserver.md +786 -0
  8. package/resource/doc/tuicallkit/android/how_to_integrated_android_callkit.md +302 -0
  9. package/resource/doc/tuicallkit/faq/faq.md +1068 -0
  10. package/resource/doc/tuicallkit/flutter/api_TUICallDefine.md +932 -0
  11. package/resource/doc/tuicallkit/flutter/api_TUICallKit.md +452 -0
  12. package/resource/doc/tuicallkit/flutter/api_TUICallObserver.md +926 -0
  13. package/resource/doc/tuicallkit/flutter/how_to_integrated_flutter_callkit.md +226 -0
  14. package/resource/doc/tuicallkit/flutter/how_to_run_flutter_callkit_demo.md +101 -0
  15. package/resource/doc/tuicallkit/iOS/api_TUICallKit.md +635 -0
  16. package/resource/doc/tuicallkit/iOS/api_TUICallObserver.md +779 -0
  17. package/resource/doc/tuicallkit/iOS/how_to_integrated_iOS_callkit.md +269 -0
  18. package/resource/doc/tuicallkit/iOS/how_to_run_iOS_callkit_demo.md +98 -0
  19. package/resource/doc/tuicallkit/react/.gitkeep +0 -0
  20. package/resource/doc/tuicallkit/react/api_TUICallKit.md +1909 -0
  21. package/resource/doc/tuicallkit/react/how_to_integrated_react_callkit.md +195 -0
  22. package/resource/doc/tuicallkit/react/how_to_run_react_callkit_demo.md +93 -0
  23. package/resource/doc/tuicallkit/vue/.gitkeep +0 -0
  24. package/resource/doc/tuicallkit/vue/api_TUICallKit.md +1909 -0
  25. package/resource/doc/tuicallkit/vue/api_TUICallObserver.md +926 -0
  26. package/resource/doc/tuicallkit/vue/how_to_integrated_vue_callkit.md +415 -0
  27. package/resource/doc/tuicallkit/vue/how_to_run_vue_callkit_demo.md +93 -0
  28. package/server.js +124 -0
  29. package/server.js.map +1 -0
  30. package/streamableHttp.js +74 -0
  31. package/streamableHttp.js.map +1 -0
@@ -0,0 +1,663 @@
1
+ ## TUICallKit API 简介
2
+
3
+ TUICallKit API 是音视频通话组件的**含 UI 接口**,使用 TUICallKit API,您可以通过简单接口快速实现一个类微信的音视频通话场景,更详细的接入步骤,详情请参见 [快速接入TUICallKit](https://cloud.tencent.com/document/product/647/78729)。
4
+
5
+ ## API 概览
6
+ <table>
7
+ <tr>
8
+ <td rowspan="1" colSpan="1" >API</td>
9
+
10
+ <td rowspan="1" colSpan="1" >描述</td>
11
+ </tr>
12
+
13
+ <tr>
14
+ <td rowspan="1" colSpan="1" >[createInstance](https://cloud.tencent.com/document/product/647/78750#createInstance)</td>
15
+
16
+ <td rowspan="1" colSpan="1" >创建 TUICallKit 实例(单例模式)</td>
17
+ </tr>
18
+
19
+ <tr>
20
+ <td rowspan="1" colSpan="1" >[setSelfInfo](https://cloud.tencent.com/document/product/647/78750#setSelfInfo)</td>
21
+
22
+ <td rowspan="1" colSpan="1" >设置用户的头像、昵称</td>
23
+ </tr>
24
+
25
+ <tr>
26
+ <td rowspan="1" colSpan="1" >[calls](https://cloud.tencent.com/document/product/647/78750#calls)</td>
27
+
28
+ <td rowspan="1" colSpan="1" >发起单人或多人通话</td>
29
+ </tr>
30
+
31
+ <tr>
32
+ <td rowspan="1" colSpan="1" >[join](https://cloud.tencent.com/document/product/647/78750#join)</td>
33
+
34
+ <td rowspan="1" colSpan="1" >主动加入通话</td>
35
+ </tr>
36
+
37
+ <tr>
38
+ <td rowspan="1" colSpan="1" >[setCallingBell](https://cloud.tencent.com/document/product/647/78750#setCallingBell)</td>
39
+
40
+ <td rowspan="1" colSpan="1" >设置自定义来电铃音</td>
41
+ </tr>
42
+
43
+ <tr>
44
+ <td rowspan="1" colSpan="1" >[enableMuteMode](https://cloud.tencent.com/document/product/647/78750#enableMuteMode)</td>
45
+
46
+ <td rowspan="1" colSpan="1" >开启/关闭静音模式</td>
47
+ </tr>
48
+
49
+ <tr>
50
+ <td rowspan="1" colSpan="1" >[enableFloatWindow](https://cloud.tencent.com/document/product/647/78750#enableFloatWindow)</td>
51
+
52
+ <td rowspan="1" colSpan="1" >开启/关闭悬浮窗功能</td>
53
+ </tr>
54
+
55
+ <tr>
56
+ <td rowspan="1" colSpan="1" >[enableIncomingBanner](https://cloud.tencent.com/document/product/647/78750#enableIncomingBanner)</td>
57
+
58
+ <td rowspan="1" colSpan="1" >开启/关闭来电横幅显示</td>
59
+ </tr>
60
+
61
+ <tr>
62
+ <td rowspan="1" colSpan="1" >[setScreenOrientation](https://cloud.tencent.com/document/product/647/78750#setScreenOrientation)</td>
63
+
64
+ <td rowspan="1" colSpan="1" >设置通话界面显示方向</td>
65
+ </tr>
66
+
67
+ <tr>
68
+ <td rowspan="1" colSpan="1" >[enableVirtualBackground](https://cloud.tencent.com/document/product/647/78750#enableVirtualBackground)</td>
69
+
70
+ <td rowspan="1" colSpan="1" >设置模糊背景</td>
71
+ </tr>
72
+ </table>
73
+
74
+
75
+ ## API 详情
76
+
77
+ ### createInstance
78
+
79
+ 创建 TUICallKit 的单例。
80
+
81
+
82
+
83
+
84
+ 【Kotlin】
85
+ ``` java
86
+ fun createInstance(context: Context): TUICallKit
87
+ ```
88
+
89
+
90
+ 【Java】
91
+ ``` java
92
+ TUICallKit createInstance(Context context)
93
+ ```
94
+
95
+ ### setSelfInfo
96
+
97
+ 设置用户昵称、头像。用户昵称不能超过500字节,用户头像必须是 URL 格式。
98
+
99
+
100
+
101
+
102
+ 【Kotlin】
103
+ ``` java
104
+ fun setSelfInfo(nickname: String?, avatar: String?, callback: TUICommonDefine.Callback?)
105
+ ```
106
+
107
+
108
+ 【Java】
109
+ ``` java
110
+ void setSelfInfo(String nickname, String avatar, TUICommonDefine.Callback callback)
111
+ ```
112
+
113
+ 参数如下表所示:
114
+ <table>
115
+ <tr>
116
+ <td rowspan="1" colSpan="1" >参数</td>
117
+
118
+ <td rowspan="1" colSpan="1" >类型</td>
119
+
120
+ <td rowspan="1" colSpan="1" >含义</td>
121
+ </tr>
122
+
123
+ <tr>
124
+ <td rowspan="1" colSpan="1" >nickname</td>
125
+
126
+ <td rowspan="1" colSpan="1" >String</td>
127
+
128
+ <td rowspan="1" colSpan="1" >目标用户的昵称</td>
129
+ </tr>
130
+
131
+ <tr>
132
+ <td rowspan="1" colSpan="1" >avatar</td>
133
+
134
+ <td rowspan="1" colSpan="1" >String</td>
135
+
136
+ <td rowspan="1" colSpan="1" >目标用户的头像</td>
137
+ </tr>
138
+ </table>
139
+
140
+
141
+ ### calls
142
+
143
+
144
+
145
+ 发起单人或多人通话。
146
+
147
+
148
+
149
+
150
+ 【kotlin】
151
+ ``` java
152
+ fun calls(
153
+ userIdList: List<String?>?, mediaType: TUICallDefine.MediaType?,
154
+ params: TUICallDefine.CallParams?, callback: TUICommonDefine.Callback?
155
+ )
156
+ ```
157
+
158
+
159
+ 【Java】
160
+ ``` java
161
+ void calls(List<String> userIdList, TUICallDefine.MediaType mediaType,
162
+ TUICallDefine.CallParams params, TUICommonDefine.Callback callback)
163
+ ```
164
+
165
+ 参数如下表所示:
166
+ <table>
167
+ <tr>
168
+ <td rowspan="1" colSpan="1" >参数</td>
169
+
170
+ <td rowspan="1" colSpan="1" >类型</td>
171
+
172
+ <td rowspan="1" colSpan="1" >含义</td>
173
+ </tr>
174
+
175
+ <tr>
176
+ <td rowspan="1" colSpan="1" >userIdList</td>
177
+
178
+ <td rowspan="1" colSpan="1" >List<String></td>
179
+
180
+ <td rowspan="1" colSpan="1" >目标用户的 userId 列表</td>
181
+ </tr>
182
+
183
+ <tr>
184
+ <td rowspan="1" colSpan="1" >mediaType</td>
185
+
186
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://cloud.tencent.com/document/product/647/90338#MediaType)</td>
187
+
188
+ <td rowspan="1" colSpan="1" >通话的媒体类型,比如视频通话、语音通话</td>
189
+ </tr>
190
+
191
+ <tr>
192
+ <td rowspan="1" colSpan="1" >params</td>
193
+
194
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://cloud.tencent.com/document/product/647/90338#CallParams)</td>
195
+
196
+ <td rowspan="1" colSpan="1" >通话扩展参数,例如:房间号、通话邀请超时时间,离线推送自定义内容等</td>
197
+ </tr>
198
+ </table>
199
+
200
+
201
+ ### join
202
+
203
+
204
+
205
+ 主动加入通话。
206
+
207
+
208
+
209
+
210
+ 【Kotlin】
211
+ ``` java
212
+ fun join(callId: String?, callback: TUICommonDefine.Callback?)
213
+ ```
214
+
215
+
216
+ 【Java】
217
+ ``` java
218
+ void join(String callId, TUICommonDefine.Callback callback)
219
+ ```
220
+
221
+ 参数如下表所示:
222
+ <table>
223
+ <tr>
224
+ <td rowspan="1" colSpan="1" >参数</td>
225
+
226
+ <td rowspan="1" colSpan="1" >类型</td>
227
+
228
+ <td rowspan="1" colSpan="1" >含义</td>
229
+ </tr>
230
+
231
+ <tr>
232
+ <td rowspan="1" colSpan="1" >callId</td>
233
+
234
+ <td rowspan="1" colSpan="1" >String</td>
235
+
236
+ <td rowspan="1" colSpan="1" >此次通话的唯一 ID</td>
237
+ </tr>
238
+ </table>
239
+
240
+
241
+ ### setCallingBell
242
+
243
+ 设置自定义来电铃音。
244
+ 这里仅限传入本地文件地址,需要确保该文件目录是应用可以访问的。
245
+ - 铃声设置后与设备绑定,更换用户,铃声依旧会生效。
246
+
247
+ - 如需恢复默认铃声,`filePath`传空即可。
248
+
249
+
250
+
251
+
252
+
253
+ 【Kotlin】
254
+ ``` java
255
+ fun setCallingBell(filePath: String?)
256
+ ```
257
+
258
+
259
+ 【Java】
260
+ ``` java
261
+ void setCallingBell(String filePath);
262
+ ```
263
+
264
+
265
+ ### enableMuteMode
266
+
267
+ 开启/关闭静音模式。
268
+
269
+ 开启后,收到通话请求,不会播放来电铃声。
270
+
271
+
272
+
273
+
274
+ 【Kotlin】
275
+ ``` java
276
+ fun enableMuteMode(enable: Boolean)
277
+ ```
278
+
279
+
280
+ 【Java】
281
+ ``` java
282
+ void enableMuteMode(boolean enable);
283
+ ```
284
+
285
+ ### enableFloatWindow
286
+
287
+ 开启/关闭悬浮窗功能。
288
+
289
+ 默认为`false`,通话界面左上角的悬浮窗按钮隐藏,设置为 true 后显示。
290
+
291
+
292
+
293
+
294
+ 【Kotlin】
295
+ ``` java
296
+ fun enableFloatWindow(enable: Boolean)
297
+ ```
298
+
299
+
300
+ 【Java】
301
+ ``` java
302
+ void enableFloatWindow(boolean enable);
303
+ ```
304
+
305
+ ### enableIncomingBanner
306
+
307
+ 开启/关闭来电横幅显示。
308
+
309
+ 默认为`false`,被叫端收到邀请后默认弹出全屏通话等待界面。开启后先展示一个横幅,然后根据需要拉起全屏通话界面。
310
+
311
+
312
+
313
+
314
+
315
+
316
+ 【Kotlin】
317
+ ``` java
318
+ fun enableIncomingBanner(enable: Boolean)
319
+ ```
320
+
321
+
322
+ 【Java】
323
+ ``` java
324
+ void enableIncomingBanner(boolean enable);
325
+ ```
326
+
327
+ ### setScreenOrientation
328
+
329
+ 设置通话界面显示方向。
330
+
331
+ 默认为竖屏,orientation:0-Portrait、1-LandScape、2-Auto。
332
+
333
+
334
+
335
+
336
+ 【Kotlin】
337
+ ``` java
338
+ fun setScreenOrientation(orientation: Int)
339
+ ```
340
+
341
+
342
+ 【Java】
343
+ ``` java
344
+ void setScreenOrientation(int orientation);
345
+ ```
346
+
347
+ ### enableVirtualBackground
348
+
349
+ 设置模糊背景。
350
+
351
+ 默认值为:false。
352
+ ``` java
353
+ fun enableVirtualBackground(enable: Boolean)
354
+ ```
355
+
356
+ ## 废弃接口
357
+
358
+ ### call
359
+
360
+ 拨打电话(1v1通话)。**注意:v2.9+版本废弃,建议使用 calls 接口。**
361
+
362
+
363
+
364
+
365
+ 【Kotlin】
366
+ ``` java
367
+ fun call(userId: String, mediaType: TUICallDefine.MediaType)
368
+ ```
369
+
370
+
371
+ 【Java】
372
+ ``` java
373
+ void call(String userId, TUICallDefine.MediaType mediaType)
374
+ ```
375
+
376
+ 参数如下表所示:
377
+ <table>
378
+ <tr>
379
+ <td rowspan="1" colSpan="1" >参数</td>
380
+
381
+ <td rowspan="1" colSpan="1" >类型</td>
382
+
383
+ <td rowspan="1" colSpan="1" >含义</td>
384
+ </tr>
385
+
386
+ <tr>
387
+ <td rowspan="1" colSpan="1" >userId</td>
388
+
389
+ <td rowspan="1" colSpan="1" >String</td>
390
+
391
+ <td rowspan="1" colSpan="1" >目标用户的 userId</td>
392
+ </tr>
393
+
394
+ <tr>
395
+ <td rowspan="1" colSpan="1" >mediaType</td>
396
+
397
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://cloud.tencent.com/document/product/647/90338#MediaType)</td>
398
+
399
+ <td rowspan="1" colSpan="1" >通话的媒体类型,比如视频通话、语音通话</td>
400
+ </tr>
401
+ </table>
402
+
403
+
404
+ ### call
405
+
406
+ 拨打电话(1v1通话),支持自定义房间号、通话邀请超时时间,离线推送内容等。**注意:v2.9+版本废弃,建议使用 calls 接口。**
407
+
408
+
409
+
410
+
411
+ 【Kotlin】
412
+ ``` java
413
+ fun call(
414
+ userId: String, mediaType: TUICallDefine.MediaType,
415
+ params: CallParams?, callback: TUICommonDefine.Callback?
416
+ )
417
+ ```
418
+
419
+
420
+ 【Java】
421
+ ``` java
422
+ void call(String userId, TUICallDefine.MediaType mediaType,
423
+ TUICallDefine.CallParams params, TUICommonDefine.Callback callback)
424
+ ```
425
+
426
+ 参数如下表所示:
427
+ <table>
428
+ <tr>
429
+ <td rowspan="1" colSpan="1" >参数</td>
430
+
431
+ <td rowspan="1" colSpan="1" >类型</td>
432
+
433
+ <td rowspan="1" colSpan="1" >含义</td>
434
+ </tr>
435
+
436
+ <tr>
437
+ <td rowspan="1" colSpan="1" >userId</td>
438
+
439
+ <td rowspan="1" colSpan="1" >String</td>
440
+
441
+ <td rowspan="1" colSpan="1" >目标用户的 userId</td>
442
+ </tr>
443
+
444
+ <tr>
445
+ <td rowspan="1" colSpan="1" >mediaType</td>
446
+
447
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://cloud.tencent.com/document/product/647/90338#MediaType)</td>
448
+
449
+ <td rowspan="1" colSpan="1" >通话的媒体类型,比如视频通话、语音通话</td>
450
+ </tr>
451
+
452
+ <tr>
453
+ <td rowspan="1" colSpan="1" >params</td>
454
+
455
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://cloud.tencent.com/document/product/647/90338#CallParams)</td>
456
+
457
+ <td rowspan="1" colSpan="1" >通话扩展参数,例如:房间号、通话邀请超时时间,离线推送自定义内容等</td>
458
+ </tr>
459
+ </table>
460
+
461
+
462
+ ### groupCall
463
+
464
+ 发起群组通话。**注意:v2.9+版本废弃,建议使用 calls 接口。**
465
+
466
+ > **注意:**
467
+ >
468
+
469
+ > 使用群组通话前需要创建 IM 群组,如果已经创建,请忽略。
470
+ >
471
+
472
+ > 群组的创建详见:[IM 群组管理](https://cloud.tencent.com/document/product/269/75394) ,或者您也可以直接使用 [IM TUIKit](https://cloud.tencent.com/document/product/269/37059),一站式集成聊天、通话等场景。
473
+ >
474
+
475
+
476
+
477
+
478
+
479
+ 【Kotlin】
480
+ ``` java
481
+ fun groupCall(groupId: String, userIdList: List<String?>?, mediaType: TUICallDefine.MediaType)
482
+ ```
483
+
484
+
485
+ 【Java】
486
+ ``` java
487
+ void groupCall(String groupId, List<String> userIdList, TUICallDefine.MediaType mediaType);
488
+ ```
489
+
490
+ 参数如下表所示:
491
+ <table>
492
+ <tr>
493
+ <td rowspan="1" colSpan="1" >参数</td>
494
+
495
+ <td rowspan="1" colSpan="1" >类型</td>
496
+
497
+ <td rowspan="1" colSpan="1" >含义</td>
498
+ </tr>
499
+
500
+ <tr>
501
+ <td rowspan="1" colSpan="1" >groupId</td>
502
+
503
+ <td rowspan="1" colSpan="1" >String</td>
504
+
505
+ <td rowspan="1" colSpan="1" >此次群组通话的群 ID</td>
506
+ </tr>
507
+
508
+ <tr>
509
+ <td rowspan="1" colSpan="1" >userIdList</td>
510
+
511
+ <td rowspan="1" colSpan="1" >List</td>
512
+
513
+ <td rowspan="1" colSpan="1" >目标用户的 userId 列表</td>
514
+ </tr>
515
+
516
+ <tr>
517
+ <td rowspan="1" colSpan="1" >mediaType</td>
518
+
519
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://cloud.tencent.com/document/product/647/90338#MediaType)</td>
520
+
521
+ <td rowspan="1" colSpan="1" >通话的媒体类型,比如视频通话、语音通话</td>
522
+ </tr>
523
+ </table>
524
+
525
+
526
+ ### groupCall
527
+
528
+ 发起群组通话,支持自定义房间号、通话邀请超时时间,离线推送内容等。**注意:v2.9+版本废弃,建议使用 calls 接口。**
529
+
530
+ > **注意:**
531
+ >
532
+
533
+ > 使用群组通话前需要创建 IM 群组,如果已经创建,请忽略。
534
+ >
535
+
536
+ > 群组的创建详见:[IM 群组管理](https://cloud.tencent.com/document/product/269/75394) ,或者您也可以直接使用 [IM TUIKit](https://cloud.tencent.com/document/product/269/37059),一站式集成聊天、通话等场景。
537
+ >
538
+
539
+
540
+
541
+
542
+
543
+ 【Kotlin】
544
+ ``` java
545
+ fun groupCall(
546
+ groupId: String, userIdList: List<String?>?, mediaType: TUICallDefine.MediaType,
547
+ params: CallParams?, callback: TUICommonDefine.Callback?
548
+ )
549
+ ```
550
+
551
+
552
+ 【Java】
553
+ ``` java
554
+ void groupCall(String groupId, List<String> userIdList, TUICallDefine.MediaType mediaType,
555
+ TUICallDefine.CallParams params, TUICommonDefine.Callback callback);
556
+ ```
557
+
558
+ 参数如下表所示:
559
+ <table>
560
+ <tr>
561
+ <td rowspan="1" colSpan="1" >参数</td>
562
+
563
+ <td rowspan="1" colSpan="1" >类型</td>
564
+
565
+ <td rowspan="1" colSpan="1" >含义</td>
566
+ </tr>
567
+
568
+ <tr>
569
+ <td rowspan="1" colSpan="1" >groupId</td>
570
+
571
+ <td rowspan="1" colSpan="1" >String</td>
572
+
573
+ <td rowspan="1" colSpan="1" >此次群组通话的群 ID</td>
574
+ </tr>
575
+
576
+ <tr>
577
+ <td rowspan="1" colSpan="1" >userIdList</td>
578
+
579
+ <td rowspan="1" colSpan="1" >List</td>
580
+
581
+ <td rowspan="1" colSpan="1" >目标用户的 userId 列表</td>
582
+ </tr>
583
+
584
+ <tr>
585
+ <td rowspan="1" colSpan="1" >mediaType</td>
586
+
587
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://cloud.tencent.com/document/product/647/90338#MediaType)</td>
588
+
589
+ <td rowspan="1" colSpan="1" >通话的媒体类型,比如视频通话、语音通话</td>
590
+ </tr>
591
+
592
+ <tr>
593
+ <td rowspan="1" colSpan="1" >params</td>
594
+
595
+ <td rowspan="1" colSpan="1" >[TUICallDefine.CallParams](https://cloud.tencent.com/document/product/647/90338#CallParams)</td>
596
+
597
+ <td rowspan="1" colSpan="1" >通话扩展参数,例如:房间号、通话邀请超时时间,离线推送自定义内容等</td>
598
+ </tr>
599
+ </table>
600
+
601
+
602
+ ### joinInGroupCall
603
+
604
+ 加入群组中已有的音视频通话。**注意:v2.9+版本废弃,建议使用 join 接口。**
605
+
606
+ > **注意:**
607
+ >
608
+
609
+ > 加入群组中已有的音视频通话前,需要提前创建或加入 IM 群组,并且群组中已有用户在通话中,如果已经创建,请忽略。
610
+ >
611
+
612
+ > 群组的创建详见:[IM 群组管理](https://cloud.tencent.com/document/product/269/75394) ,或者您也可以直接使用 [IM TUIKit](https://cloud.tencent.com/document/product/269/37059),一站式集成聊天、通话等场景。
613
+ >
614
+
615
+
616
+
617
+
618
+
619
+ 【Kotlin】
620
+ ``` java
621
+ fun joinInGroupCall(roomId: RoomId?, groupId: String?, mediaType: TUICallDefine.MediaType?)
622
+ ```
623
+
624
+
625
+ 【Java】
626
+ ``` java
627
+ void joinInGroupCall(TUICommonDefine.RoomId roomId, String groupId, TUICallDefine.MediaType callMediaType);
628
+ ```
629
+
630
+ 参数如下表所示:
631
+ <table>
632
+ <tr>
633
+ <td rowspan="1" colSpan="1" >参数</td>
634
+
635
+ <td rowspan="1" colSpan="1" >类型</td>
636
+
637
+ <td rowspan="1" colSpan="1" >含义</td>
638
+ </tr>
639
+
640
+ <tr>
641
+ <td rowspan="1" colSpan="1" >roomId</td>
642
+
643
+ <td rowspan="1" colSpan="1" >[TUICommonDefine.RoomId](https://cloud.tencent.com/document/product/647/90338#RoomId)</td>
644
+
645
+ <td rowspan="1" colSpan="1" >此次通话的音视频房间 ID</td>
646
+ </tr>
647
+
648
+ <tr>
649
+ <td rowspan="1" colSpan="1" >groupId</td>
650
+
651
+ <td rowspan="1" colSpan="1" >String</td>
652
+
653
+ <td rowspan="1" colSpan="1" >此次群组通话的群 ID</td>
654
+ </tr>
655
+
656
+ <tr>
657
+ <td rowspan="1" colSpan="1" >mediaType</td>
658
+
659
+ <td rowspan="1" colSpan="1" >[TUICallDefine.MediaType](https://cloud.tencent.com/document/product/647/90338#MediaType)</td>
660
+
661
+ <td rowspan="1" colSpan="1" >通话的媒体类型,比如视频通话、语音通话</td>
662
+ </tr>
663
+ </table>