# room information

It is a library that retrieves information of chat room defined in CMS.

# How to use the library

The library does not have any presets that need to be issued an API KEY or set in the CMS. Please read the information below and proceed.


  1. Follow the contents of Overview.

  2. Write the appropriate code in script.js referring to the Methods below.

let _roomInfo
roomInfo = new RoomInit(channelKey, function(res) {
  _roomInfo = res // Same object as roomInfo
});
1
2
3
4

  • parameter value (* is required)
Value Type Description
channelKey* String chat roomID
callback Function Return callback after loading room information
  • res객체
Value Type Description
res Object return roomInfo object

# Methods

※. Retrieve room info with the returned object ex) roomInfo.email()

method name Type Description etc
email() String Return email information abc@vchatcloud.com
metaverse() String Return metaverse information http://vchatcloud/sample/index.html
resolution() String Return resolution information 243
roomName() String Return room name information 방이름
roomType() String Return room type information 01
rtcYn() String Returns whether rtc is used N
transYn() String Return whether or not to use a translation Y
userMax() String Returns the maximum user value information 2000
Copyright 2022. E7Works Inc. & JOYTUNE Corp. All Rights Reserved.