unreal.MediaSource
¶
- class unreal.MediaSource(outer=None, name='None')¶
Bases:
unreal.Object
Abstract base class for media sources.
Media sources describe the location and/or settings of media objects that can be played in a media player, such as a video file on disk, a video stream on the internet, or a web cam attached to or built into the target device. The location is encoded as a media URL string, whose URI scheme and optional file extension will be used to locate a suitable media player.
C++ Source:
Module: MediaAssets
File: MediaSource.h
- get_url() → str¶
Get the media source’s URL string (must be implemented in child classes). see: GetProxies
- Returns
The media URL.
- Return type
- set_media_option_int64(key, value) → None¶
Set an integer64 parameter to pass to the player.
- Parameters
key (Name) –
value (int64) –