Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinClient.constructor

var odinclient = new OdinClient(sampleRate?: number, channelCount?: number)

Creates a new instance of a client. Use this to create rooms.

Parameters

NameTypeDescription
sampleRatenumberThe sample rate of the audio stream (between 8000 and 48000) - default is 48000
channelCountnumberThe number of channels of the audio stream (1 or 2) - default is 1

See also

OdinClient