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

PeerEntity.CreateDecoder

public MediaDecoder CreateDecoder(ushort mediaId, uint samplerate, bool stereo)

Create a new output media that will be added to PeerEntity

Parameters

NameTypeDescription
mediaIdUInt16decoder id
samplerateUInt32samplerate
stereoBooleanstereo flag

Returns

TypeDescription
MediaDecoderoutput media