|
RDK Documentation (Open Sourced RDK Components)
|
21 #include "MockStreamAbstractionAAMP.h"
33 void StreamAbstractionAAMP::DisablePlaylistDownloads()
101 if (g_mockStreamAbstractionAAMP !=
nullptr)
virtual bool GetPreferredLiveOffsetFromConfig()
Set the offset value Live object.
virtual void SetAudioTrackInfoFromMuxedStream(std::vector< AudioTrackInfo > &vector)
Set AudioTrack info from Muxed stream.
double GetBufferedVideoDurationSec()
Get buffered video duration in seconds.
Structure for audio track information Holds information about an audio track in playlist.
virtual int GetAudioTrack()
Get current audio track.
virtual bool IsEOSReached()
Checks if streamer reached end of stream.
Base classes of HLS/MPD collectors. Implements common caching/injection logic.
virtual bool SetTextStyle(const std::string &options)
Set the text style of the subtitle to the options passed.
void RefreshSubtitles()
Refresh subtitle track.
long GetVideoBitrate(void)
Get the bitrate of current video profile selected.
virtual bool IsInitialCachingSupported()
Check if Initial Fragment Caching is supported.
int GetTextTrack()
Get current text track.
StreamAbstractionAAMP(AampLogManager *logObj, PrivateInstanceAAMP *aamp)
StreamAbstractionAAMP constructor.
long GetAudioBitrate(void)
Get the bitrate of current audio profile selected.
BufferHealthStatus
Buffer health status.
virtual bool GetCurrentAudioTrack(AudioTrackInfo &audioTrack)
Get current audio track information.
virtual ~StreamAbstractionAAMP()
StreamAbstractionAAMP destructor.
virtual void NotifyPlaybackPaused(bool paused)
Function called when playback is paused to update related flags.
Class representing the AAMP player's private instance, which is not exposed to outside world.
Structure for text track information Holds information about a text track in playlist.
void MuteSubtitles(bool mute)
Send a MUTE/UNMUTE packet to the subtitle renderer.
double GetLastInjectedFragmentPosition()
Function to returns last injected fragment position.
bool IsMuxedStream()
Check if current stream is muxed.
virtual bool GetCurrentTextTrack(TextTrackInfo &textTrack)
Get current text track.