Interface that can be used to receive media samples from different points of dataflow graph Implementation of this interface can be assigned to one or multiple streams and will receive samples that pass through each of them Note that implementation will receive all possible samples from every point of processing, so make sure to check if media sample has acceptable format. More...
#include <red5pro.h>
Public Member Functions | |
virtual int | SinkSample (const MediaSample &outSample)=0 |
Method called for every sample in processing graph If stream contains encoders, decoders or other transforms and sources this method will be called for every output of each of them If method return negative value it will not receive samples from this point of graph. More... | |
Interface that can be used to receive media samples from different points of dataflow graph Implementation of this interface can be assigned to one or multiple streams and will receive samples that pass through each of them Note that implementation will receive all possible samples from every point of processing, so make sure to check if media sample has acceptable format.
|
pure virtual |
Method called for every sample in processing graph If stream contains encoders, decoders or other transforms and sources this method will be called for every output of each of them If method return negative value it will not receive samples from this point of graph.
outSample | media sample from output of graph member. Make sure to check description of sample to validate sample format |