Skip to main content

MediaSetInputType

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long MediaSetInputType(dword de-/multiplexerHandle, dword inputStreamIndex, dword mediaTypeHandle)

Description

Sets the input media type for a de-/multiplexer at a given index.

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.
  • mediaTypeHandle: The handle of the media type describing the format of the input stream.

Return Values

Example