|
| void | Add (const TSharedRef< SinkType, ESPMode::ThreadSafe > &SampleSink) |
| | Add the given media sample sink to the collection. 更多...
|
| |
|
void | Cleanup () |
| | Remove any invalid sinks
|
| |
| bool | Enqueue (const TSharedRef< SampleType, ESPMode::ThreadSafe > &Sample, int32 MaxDepth) |
| | Enqueue the given media samples to the registered sinks. 更多...
|
| |
| void | Flush () |
| | Flush all registered sinks. 更多...
|
| |
| int32 | Num () const |
| | Get the number of sinks in this collection. 更多...
|
| |
| void | Remove (const TSharedRef< SinkType, ESPMode::ThreadSafe > &SampleSink) |
| | Remove the given media sample sink from the collection. 更多...
|
| |
template<typename SampleType, typename SinkType = TMediaSampleSink<SampleType>>
class TMediaSampleSinks< SampleType, SinkType >
Collection of media sample sinks.
- 参数
-
| SampleType | The type of media samples that the sinks process. |