Developer Documentation

MediaEncoder

public class MediaEncoder : IMedia, IDisposable

Odin Capture Media

Static Methods

NameDescription
CreateCreate a new dangling input media.

Properties

NameDescription
IdMedia id
MediaPropertiesArbitrary media data
SamplerateInput samplerate
StereoInput channel flag
PipelineOdin effect pipeline
GuardSilenceOn true Single%5b%5d%2cSystem isSilent = true will not push data to the native encoder
ParentDefault value null indicates root or not set

Public Methods

NameDescription
GetPipelineGet native effect pipeline
PopAllPop all audio datagrams into the stack
PopPop one datagram from the media
PushPush samples to the media
DisposeFree native media encoder