新聞中心
這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
創(chuàng)新互聯(lián)百度小程序教程:swan.createRtcRoomContext
- swan.createRtcRoomContext
- 方法參數(shù)
- roomId 參數(shù)說(shuō)明
- 返回值
- 示例
- 圖片示例
- 代碼示例
- 方法參數(shù)
swan.createRtcRoomContext
基礎(chǔ)庫(kù) v3.200.106 起支持。
解釋: 操作對(duì)應(yīng)的 組件。 創(chuàng)建并返回 rtc-room 上下文 RtcRoomContext 對(duì)象。
Web 態(tài)說(shuō)明: 受瀏覽器兼容性限制,Web 態(tài)不支持 RtcRoomContext 相關(guān)功能,調(diào)用 RtcRoomContext 對(duì)象的相關(guān)方法會(huì)執(zhí)行失敗回調(diào)函數(shù)。
方法參數(shù)
String roomId
roomId 參數(shù)說(shuō)明
要獲取 rtc-room 組件的 id。
返回值
RtcRoomContext
示例
跳轉(zhuǎn)編輯工具
在開(kāi)發(fā)者工具中打開(kāi)
在 WEB IDE 中打開(kāi)
掃碼體驗(yàn)
代碼示例
請(qǐng)使用百度APP掃碼
圖片示例
代碼示例
- SWAN
- JS
type="local"userId="{{localUserId}}">
當(dāng)前標(biāo)題:創(chuàng)新互聯(lián)百度小程序教程:swan.createRtcRoomContext
標(biāo)題URL:http://m.5511xx.com/article/cdpdgpc.html


咨詢(xún)
建站咨詢(xún)

