API Reference
⚠️ SDK 2.0.x 버전과 2.1.x 이후 버전간 호환 불가
Synchronization
Global Module
import { Omnitalk } from "omnitalk-ts-sdk";
const SERVICE_ID = '발급받은 service id';
const SERVICE_KEY = '발급받은 service key';
Omnitalk.sdkInit(SERVICE_ID, SERVICE_KEY);
const sdk = Omnitalk.getInstance();Parameter
Mandatory
Type
Description
Audio/Video Tag Rule
DOM
ID
Attribute
Use For
Creator
EVENT_MESSAGE
createSession
Parameter
Mandatory/Optional
Type
Description
sessionList(deprecated)
Parameter
Mandatory/Optional
Type
Description
createRoom
Parameter
Mandatory/Optional
Type
Description
roomList
Parameter
Mandatory/Optional
Type
Description
joinRoom
Parameter
Mandatory/Optional
Type
Description
partiList
Parameter
Mandatory/Optional
Type
Description
publish
Parameter
Mandatory/Optional
Type
Description
publishList
Parameter
Mandatory/Optional
Type
Description
subscribe
Parameter
Mandatory/Optional
Type
Description
unsubscribe
Parameter
Mandatory/Optional
Type
Description
screenShare
Parameter
Mandatory/Optional
Type
Description
screenUnshare
screenList
Parameter
Mandatory/Optional
Type
Description
offerCall
Parameter
Mandatory/Optional
Type
Description
answerCall
Parameter
Mandatory/Optional
Type
Description
makeSipNumber
Parameter
Mandatory/Optional
Type
Description
mute/unmute
Parameter
Mandatory/Optional
Type
Description
getDeviceList
setAudioDevice
Parameter
Mandatory/Optional
Type
Description
setVideoDevice
Parameter
Mandatory/Optional
Type
Description
destroyRoom
Parameter
Mandatory/Optional
Type
Description
leave
Parameter
Mandatory/Optional
Type
Description
sendMessage
Parameter
Mandatory/Optional
Type
Description
sendWhisper
Parameter
Mandatory/Optional
Type
Description
messageList
kickOut
Parameter
Mandatory/Optional
Type
Description
recordingStart
recordingStop
Last updated