#include <mediasession_session.h>
The media session interface connects media inputs with media outputs. For each output a MediaConnectionRef is handled. @MAXON_ANNOTATION{nullimpl=true}
Public Member Functions | |
MAXON_METHOD Result< void > | ConnectMediaConverter (const MediaConverterRef &input, const MediaConverterRef &output) |
MAXON_METHOD Result< void > | Convert (const TimeValue &targetTime, MEDIASESSIONFLAGS flags) |
MAXON_METHOD Result< void > | Close () |
MAXON_METHOD ProgressRef | GetProgress () const |
Private Member Functions | |
MAXON_INTERFACE (MediaSessionInterface, MAXON_REFERENCE_NORMAL, "net.maxon.image.interface.mediasession") | |
|
private |
MAXON_METHOD Result<void> ConnectMediaConverter | ( | const MediaConverterRef & | input, |
const MediaConverterRef & | output | ||
) |
Connects two MediaConverterRefs within a Media Session. Both converters must not be attached to another session.
MAXON_METHOD Result<void> Convert | ( | const TimeValue & | targetTime, |
MEDIASESSIONFLAGS | flags | ||
) |
Triggers the session to read the next frame from the stream.
[in] | targetTime | Target time to receive the media samples from. |
[in] | flags | See MEDIASESSIONFLAGS for details. |
MAXON_METHOD Result<void> Close | ( | ) |
Closes the session, finalizes all write operations and closes all handles.
MAXON_METHOD ProgressRef GetProgress | ( | ) | const |
Returns the progress object to set/get progress for implementors.