Developer Documentation

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