MediaProcessInput
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Delivers data to an input stream on this de-/multiplexer.Parameters
- de-/multiplexerHandle: The de-/multiplexer handle returned previously by a call to MediaCreateMultiplexer/MediaCreateDemultiplexer.
- inputStreamIndex: The index of the input stream the media type should be set for. Currently only 1 input stream per multiplex stream is supported, so set this parameter to 0. For demultiplexers set to 0.
- timestamp: The (presentation) timestamp in nanoseconds. This time is relative to the start of the stream (not the absolute gPTP time).
- buffer: The sample data for the input stream that should be processed.
- length: The length of the sample data in the buffer array in bytes.
Return Values
- 0: The function succeeded.
- ≠0: Error code.