Skip to main content

odin_audio_stream_create

Creates a new audio input stream, which can be added to a room and send data over it.

Declaration
OdinMediaStreamHandle odin_audio_stream_create(struct OdinAudioStreamConfig config);

Parameters

config

Configuration for the audio stream to be created. See

OdinAudioStreamConfig

for more information.

Declaration
const OdinAudioStreamConfig *config;

Returns

A return code indicating success or failure. See

OdinReturnCode

for more information.

Return Type
OdinReturnCode