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
Name | Type | Description |
---|---|---|
mediaId | UInt16 | decoder id |
samplerate | UInt32 | samplerate |
stereo | Boolean | stereo flag |
Returns
Type | Description |
---|---|
MediaDecoder | output media |