unreal.MediaStreamPlayerConfig

class unreal.MediaStreamPlayerConfig(play_on_open: bool = False, track_options: MediaPlayerTrackOptions = Ellipsis, looping: bool = False, volume: float = 0.0, playback_time_range: FloatInterval | None = Ellipsis, rate: float = 0.0, time_delay: float = 0.0, shuffle: bool = False, cache_ahead: float = 0.0, cache_behind: float = 0.0, cache_behind_game: float = 0.0, use_local_cache: bool = False)

Bases: StructBase

Media Stream Player Config

C++ Source:

  • Plugin: MediaStream

  • Module: MediaStream

  • File: MediaStreamPlayerConfig.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cache_ahead (float): [Read-Write]

  • cache_behind (float): [Read-Write]

  • cache_behind_game (float): [Read-Write]

  • looping (bool): [Read-Write]

  • play_on_open (bool): [Read-Write]

  • playback_time_range (Optional[FloatInterval]): [Read-Write]

  • rate (float): [Read-Write]

  • shuffle (bool): [Read-Write] Only applicable to play lists.

  • time_delay (float): [Read-Write]

  • track_options (MediaPlayerTrackOptions): [Read-Write]

  • use_local_cache (bool): [Read-Write] Enables a per-player local sample cache override instead of the default global cache settings. Currently maps to the ImgMediaPlayer smart cache, with CacheAhead reused as the look-ahead time.

  • volume (float): [Read-Write]

property cache_ahead: float

[Read-Write]

Type:

(float)

property cache_behind: float

[Read-Write]

Type:

(float)

property cache_behind_game: float

[Read-Write]

Type:

(float)

property looping: bool

[Read-Write]

Type:

(bool)

property play_on_open: bool

[Read-Write]

Type:

(bool)

property playback_time_range: FloatInterval | None

[Read-Write]

Type:

(Optional[FloatInterval])

property rate: float

[Read-Write]

Type:

(float)

property shuffle: bool

[Read-Write] Only applicable to play lists.

Type:

(bool)

property time_delay: float

[Read-Write]

Type:

(float)

property track_options: MediaPlayerTrackOptions

[Read-Write]

Type:

(MediaPlayerTrackOptions)

property use_local_cache: bool

[Read-Write] Enables a per-player local sample cache override instead of the default global cache settings. Currently maps to the ImgMediaPlayer smart cache, with CacheAhead reused as the look-ahead time.

Type:

(bool)

property volume: float

[Read-Write]

Type:

(float)