let props = {
title: "123"
};
const options = {
visible: false,
emptyRoomTtl: 0,
maxPlayerCount: 10,
playerTtl: 300,
customRoomProperties: props
};
play.joinOrCreateRoom(id,options).then((res)=>{console.log(res)})
请问,为什么最后打印出来的res值里面也没有customProperties值,
还有一个问题:
joinOrCreateRoom 如何判断 是新创建房间,还是加入已有房间?
我用.on 方法绑定事件监听,没有监听到。
-
创建时间
19年8月13日
-
最后回复
19年8月14日
- 1
回复
- 158
浏览
- 2
用户
- 1
链接