Murl::IMediaControl Interface Referenceabstract
The IMediaControl interface. More...
#include "murl_i_media_control.h"
Inheritance diagram for Murl::IMediaControl:
Public Member Functions | |
virtual IVideoStream * | CreateVideoStream (const String &id, const ConstData &data, UInt32 videoTrackIndex)=0 |
Create a video stream from a media resource. More... | |
virtual IVideoStream * | CreateVideoStream (const String &id, const ConstData &data, UInt32 videoTrackIndex, IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY)=0 |
Create a video stream from a media resource. More... | |
Public Member Functions inherited from Murl::IControlable | |
virtual const String & | GetName () const =0 |
Get the controlable's name. More... | |
virtual void | FrameUpdate ()=0 |
Is executed in the platform thread context each frame tick. | |
virtual void | LogicUpdate ()=0 |
Is executed in the logic thread context each logic tick. | |
virtual void | ConfigChanged (const IAppConfiguration *appConfig)=0 |
Notification of changed configuration. More... | |
Detailed Description
The IMediaControl interface.
Member Function Documentation
◆ CreateVideoStream() [1/2]
|
pure virtual |
Create a video stream from a media resource.
- Parameters
-
id The resource ID. data The resource data. videoTrackIndex The zero-based index of the video track in the resource.
- Returns
- A new video stream, or null if failed.
◆ CreateVideoStream() [2/2]
|
pure virtual |
Create a video stream from a media resource.
- Parameters
-
id The resource ID. data The resource data. videoTrackIndex The zero-based index of the video track in the resource. pixelFormat The desired output pixel format. pixelSizeX The desired horizontal size of the stream in pixels. pixelSizeY The desired vertical size of the stream in pixels.
- Returns
- A new video stream, or null if failed.
The documentation for this interface was generated from the following file:
- murl_i_media_control.h