Constructs a default concrete CYIAbstractVideoPlayer for this platform.
CYIDefaultVideoPlayerFactory instantiates a default concrete player implementation for the platform on which Create() is invoked.
#include <player/YiDefaultVideoPlayerFactory.h>
Static Public Member Functions | |
static std::unique_ptr< CYIAbstractVideoPlayer > | Create () |
|
static |
Creates the default concrete player type for the current platform. If the user has implemented a custom concrete player they must instantiate it themselves and not use this method.
The player must be initialized by calling CYIAbstractVideoPlayer::Init before using any other methods on it.