Skip to main content

MediaCreateDemultiplexer

CAPL Functions » Media API » MediaCreateDemultiplexer Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword MediaCreateDemultiplexer(char inputSubtype[])

Description

Creates a demultiplexer for the provided input media subtype. For a list of subtypes, Major Media Types / Subtypes.

Parameters

  • inputSubtype: The media subtype describing the format of the input (multiplex) stream. Currently supported subtype: StreamFormat_MPEG2Transport. The Major Type for multiplex streams is always MajorType_Stream.

Return Values

  • 0: The function failed. Call MediaGetLastError to get a more specific error code.
  • ≠0: Demultiplexer handle.

Example