unreal.MediaStreamSource

class unreal.MediaStreamSource(scheme: Name = 'None', path: str = '', object: Object = Ellipsis)

Bases: StructBase

Represents the source of a Media Stream.

This uses the idea of a “scheme” and “path” to reference an asset. This nomenclature was chosen so that it would be easy to relate url schemes to this system, such as file://path or http://path.

C++ Source:

  • Plugin: MediaStream

  • Module: MediaStream

  • File: MediaStreamSource.h

Editor Properties: (see get_editor_property/set_editor_property)

  • object (Object): [Read-Write] Source of the Media. Either a UMediaStream, UMediaSource or a UMediaPlaylist

  • path (str): [Read-Write] Path to the referenced source, such as a file/asset path or a managed source name. A path must be provided to have a valid scheme.

  • scheme (Name): [Read-Write] Used by the handler subsystem to identifer the scheme used. A value of NAME_None identifies a null or invalid source.

property object: Object

[Read-Only] Source of the Media. Either a UMediaStream, UMediaSource or a UMediaPlaylist

Type:

(Object)

property path: str

[Read-Only] Path to the referenced source, such as a file/asset path or a managed source name. A path must be provided to have a valid scheme.

Type:

(str)

property scheme: Name

[Read-Only] Used by the handler subsystem to identifer the scheme used. A value of NAME_None identifies a null or invalid source.

Type:

(Name)