Module |
|
Header |
/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
Include |
#include "MediaPlayer.h" |
Source |
/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
bool CanPlaySource
(
UMediaSource * MediaSource
)
Check whether the specified media source can be played by this player.
If a desired player name is set for this player, it will only check whether that particular player type can play the specified source.
true if the media source can be opened, false otherwise.
Parameter |
Description |
---|---|
MediaSource |
The media source to check. |