FMediaPlayerFacade::SetAreEventsSafeForAnyThread

Sets whether the player can broadcast events when running on a thread other than the game thread.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

void SetAreEventsSafeForAnyThread
(
    bool bInAreEventsSafeForAnyThread
)

Remarks

Sets whether the player can broadcast events when running on a thread other than the game thread.

Parameters

Parameter

Description

bInAreEventsSafeForAnyThread

If true then allow broadcast when not on the game thread.