#include <player/YiCastLabsVideoPlayer.h>

Classes | |
| struct | Metadata |
Public Attributes | |
| CYISignal< Metadata > | MetadataReceived |
Public Attributes inherited from CYIAbstractVideoPlayer | |
| CYISignal | BufferingStarted |
| CYISignal | BufferingEnded |
| CYISignal< Error > | ErrorOccurred |
| CYISignal | Preparing |
| CYISignal | Ready |
| CYISignal | Playing |
| CYISignal | Paused |
| CYISignal | PlaybackComplete |
| CYISignal | Finalized |
| CYISignal< uint64_t > | CurrentTimeUpdated |
| CYISignal< uint64_t > | DurationChanged |
| CYISignal< const CYIAbstractVideoPlayer::PlayerState & > | PlayerStateChanged |
| CYISignal< std::vector< AudioTrackInfo > > | AvailableAudioTracksChanged |
| CYISignal< std::vector< ClosedCaptionsTrackInfo > > | AvailableClosedCaptionsTracksChanged |
Friends | |
| class | CYICastLabsVideoPlayerPriv |
| CYICastLabsVideoPlayer::CYICastLabsVideoPlayer | ( | ) |
|
virtual |
|
overridevirtual |
Returns the name of the player.
Reimplemented from CYIAbstractVideoPlayer.
|
overridevirtual |
Returns the latest statistics from the player.
Reimplemented from CYIAbstractVideoPlayer.
| bool CYICastLabsVideoPlayer::IsLoggingEnabled | ( | ) | const |
Returns true if the Castlabs player internal logging is enabled.
| void CYICastLabsVideoPlayer::SetLiveDelayTime | ( | uint64_t | uLiveDelayTimeMs | ) |
Set Live delay. When playing live streams, point the player before the live edge by the specified amount.
| void CYICastLabsVideoPlayer::SetLoggingEnabled | ( | bool | bEnabled | ) |
Enable or Disable the Castlabs player internal logging.
| void CYICastLabsVideoPlayer::SetMaximumBufferTime | ( | uint64_t | uMaximumBufferTimeMs | ) |
Set the maximum time that should be buffered. The higher the value, the smoother the streaming with less frequent buffering, but will increase memory usage. Call this before Prepare().
The default maximum buffer time is 60 seconds on PS4.
| void CYICastLabsVideoPlayer::SetMaxResolution | ( | const glm::ivec2 & | rMaxResolution | ) |
Set the max resolution supported by this player instance. This will create a decoder specific to that resolution, and higher resolution won't be allowed to be played. Call this before Prepare().
By default it will be set to the max the platform can support.
| void CYICastLabsVideoPlayer::SetMinimumBufferTime | ( | uint64_t | uMinimumBufferTimeMs | ) |
Set the minimum time that should be buffered before the video starts playing or resumes from buffering. Call this before Prepare().
The default minimum buffer time is 1 second.
|
friend |
Emitted when a metadata cue has been received at a specific time.