unreal.MediaStream¶
- class unreal.MediaStream(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectMedia Stream. Provides an agnostic interface between controllers and players.
C++ Source:
Plugin: MediaStream
Module: MediaStream
File: MediaStream.h
Editor Properties: (see get_editor_property/set_editor_property)
on_player_changed(OnPlayerChanged): [Read-Write]on_source_changed(OnSourceChanged): [Read-Write]player_object(Object): [Read-Only] The player instance is automatically created based on the type of source. Where possible, the player is re-used when opening new media.source(MediaStreamSource): [Read-Write]
- property on_player_changed: OnPlayerChanged¶
[Read-Write]
- Type:
(OnPlayerChanged)
- property on_source_changed: OnSourceChanged¶
[Read-Write]
- Type:
(OnSourceChanged)
- property player_object: Object¶
[Read-Only] The player instance is automatically created based on the type of source. Where possible, the player is re-used when opening new media.
- Type:
(Object)
- property source: MediaStreamSource¶
[Read-Write]
- Type: