Module |
|
Header |
/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
Include |
#include "MediaPlayer.h" |
Source |
/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
bool HasError() const
Check whether the player is in an error state.
When the player is in an error state, no further operations are possible. The current media must be closed, and a new media source must be opened before the player can be used again. Errors are usually caused by faulty media files or interrupted network connections.