unreal.MediaStreamObjectHandlerCreatePlayerParams

class unreal.MediaStreamObjectHandlerCreatePlayerParams(media_stream: MediaStream = Ellipsis, source: Object = Ellipsis, current_player: MediaPlayer = Ellipsis, can_open_source: bool = False)

Bases: StructBase

Media Stream Object Handler Create Player Params

C++ Source:

  • Plugin: MediaStream

  • Module: MediaStream

  • File: IMediaStreamObjectHandler.h

Editor Properties: (see get_editor_property/set_editor_property)

  • can_open_source (bool): [Read-Write] Whether the new player can open the source or not. If this is false, it may mean that a new player is not created or an existing player is not updated.

  • current_player (MediaPlayer): [Read-Write] The current player to update or null. If a player is provided, it will be re-used to open the source, if it can be. If no player is provided, a new player will be created (if allowed).

  • media_stream (MediaStream): [Read-Write] The container for the player.

  • source (Object): [Read-Write] The media source for the player.

property can_open_source: bool

[Read-Write] Whether the new player can open the source or not. If this is false, it may mean that a new player is not created or an existing player is not updated.

Type:

(bool)

property current_player: MediaPlayer

[Read-Write] The current player to update or null. If a player is provided, it will be re-used to open the source, if it can be. If no player is provided, a new player will be created (if allowed).

Type:

(MediaPlayer)

property media_stream: MediaStream

[Read-Write] The container for the player.

Type:

(MediaStream)

property source: Object

[Read-Write] The media source for the player.

Type:

(Object)