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

OdinHandler.GetOrCreateMicrophoneStream

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

public MicrophoneStream GetOrCreateMicrophoneStream(string roomName, OdinMediaConfig config = null)

Returns the attached Audio

Parameters

NameTypeDescription
roomNameStringRoom name
configOdinMediaConfigconfig

Returns

TypeDescription
MicrophoneStreamor null if there is no room