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

MediaEncoder.Create

public static MediaEncoder Create(ushort mediaId, uint samplerate, bool stereo)

Create a new dangling input media.

Info

Is not automatically assigned to a managed room yet but exists in a specific native room only.

Parameters

NameTypeDescription
mediaIdUInt16input media id
samplerateUInt32samplerate
stereoBooleanstereo flag

Returns

TypeDescription
MediaEncoderinput media