#include <player/YiVestelVideoPlayer.h>
CYIVestelVideoPlayer::CYIVestelVideoPlayer | ( | ) |
|
virtual |
|
overridevirtual |
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to disable closed captions. This is called when captions are disabled by selecting a track with id ClosedCaptionsTrackInfo::OFF_TRACK_ID.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to return information about the active audio track.
This function is only called if tracks are available, so a valid AudioTrackInfo instance must be returned.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to return information about the active closed captions track.
This function is only called if tracks are available, so a valid ClosedCaptionsTrackInfo instance must be returned. If captions are disabled then a default constructed ClosedCaptionsTrackInfo must be returned.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to return a vector of available audio tracks for the currently loaded media.
The iDs of the returned tracks must be compatible with CYIAbstractVideoPlayer::SelectAudioTrack_.
This function is called each 1000 ms to check for updates to the available audio tracks.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to return a vector of available closed captions tracks for the currently loaded media. The "off" track is added by CYIAbstractVideoPlayer and must not be returned in this list.
The iDs of the returned tracks must be compatible with CYIAbstractVideoPlayer::SelectClosedCaptionsTrack_.
This function is called each 1000 ms to check for updates to the available audio tracks.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to report the current time of the video.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to report the duration of the video.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to report the live seekable ranges.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Returns the name of the player.
Reimplemented from CYIAbstractVideoPlayer.
|
overridevirtual |
Returns the latest statistics from the player.
Reimplemented from CYIAbstractVideoPlayer.
|
overridevirtual |
Returns the version of the player.
Reimplemented from CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function, and return true if and only if the player is muted.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to mute the player when mute is true, and unmute when mute is false.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to pause the video. When the underlying player notifies that playback has paused the player must be transitioned into the CYIAbstractVideoPlayer::PlaybackState::Paused state as follows:
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to play the video. When the underyling player notifies that playback has began the player must be transitioned into the CYIAbstractVideoPlayer::PlaybackState::Playing state as follows:
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to prepare the video.
When a video is preparing, the player must be transitioned into the CYIAbstractVideoPlayer::MediaState::Preparing state as follows:
This transition typically occurs when the underlying video player notifies that it has begun preparing the media. If the underlying player does not report that media is preparing making this transition at the start of Prepare_ is recommended.
Once the video has completed preparing the player must be transitioned into the CYIAbstractVideoPlayer::MediaState::Ready state as follows:
This transition typically occurs when the underlying video player notifies that it has completed preparing the media. If the underlying player does not report that the media is ready making this transition at the end of Prepare_ is recommended.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to seek the video to a specific seekPositionMS in the video media. When seeking backwards from playback complete, the player must remain paused.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to switch the video player's current audio track to the one referenced by id.
CYIAbstractVideoPlayer::SelectAudioTrack will validate the id prior to this function being called.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to switch the video player's current closed captions track to the one referenced by id. Selecting a track must initiate the rendering of the subtitles to screen.
CYIAbstractVideoPlayer::SelectClosedCaptionsTrack will validate the id prior to this function being called. This function will not be called when disabling closed captions, id is guaranteed not to be ClosedCaptionsTrackInfo::OFF_TRACK_ID.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses may implement this function to set the maximum bitrate, in bits per second, which an adaptive media source will reach.
Reimplemented from CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses may implement this function to set the user agent.
Reimplemented from CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to stop the video and clean-up any resources related to the video media as the player will be transitioned into the CYIAbstractVideoPlayer::MediaState::Unloaded after this function executes.
Implements CYIAbstractVideoPlayer.
|
overridevirtual |
Subclasses must implement this function to indicate that they support a given format.
Implements CYIAbstractVideoPlayer.