|
RDK Documentation (Open Sourced RDK Components)
|
shim for dispatching UVE OTA ATSC playback
StreamOutputFormat
Media output format.
Structure holding the information of a stream.
void SetAudioTrack(int index) override
SetAudioTrack sets a specific audio track.
void StartInjection(void) override
Start injecting fragments to StreamSink.
StreamInfo * GetStreamInfo(int idx) override
Get stream information of a profile from subclass.
Structure for audio track information Holds information about an audio track in playlist.
void Start() override
Starts streaming.
double GetBufferedDuration() override
Get the Buffered time.
std::vector< StreamInfo * > GetAvailableVideoTracks(void) override
To get the available video tracks.
std::vector< TextTrackInfo > mTextTracks
MediaTrack * GetMediaTrack(TrackType type) override
Return MediaTrack of requested type.
std::vector< long > GetAudioBitrates(void) override
To get the available audio bitrates.
double GetStartTimeOfFirstPTS() override
Get Start time PTS of first sample.
double GetFirstPTS() override
Get PTS of first sample.
void GetStreamFormat(StreamOutputFormat &primaryOutputFormat, StreamOutputFormat &audioOutputFormat, StreamOutputFormat &auxOutputFormat, StreamOutputFormat &subtitleOutputFormat) override
Get output format of stream.
int GetBWIndex(long bitrate) override
Get index of profile corresponds to bandwidth.
std::vector< ThumbnailData > GetThumbnailRangeData(double, double, std::string *, int *, int *, int *, int *) override
To get the available thumbnail tracks.
long GetMaxBitrate(void) override
Gets Max Bitrate avialable for current playback.
StreamAbstraction class of AAMP.
void DumpProfiles(void) override
Stub implementation.
void Stop(bool clearChannelData) override
Stops streaming.
double GetStreamPosition() override
Get current stream position.
void EnableContentRestrictions() override
Enable Content Restriction (lock)
TrackType
Media Track Types.
StreamAbstractionAAMP_OTA(AampLogManager *logObj, class PrivateInstanceAAMP *aamp, double seekpos, float rate)
StreamAbstractionAAMP_OTA Constructor.
AAMPStatusType Init(TuneType tuneType) override
Initialize a newly created object.
void SetVideoRectangle(int x, int y, int w, int h) override
SetVideoRectangle sets the position coordinates (x,y) & size (w,h)
void SetPreferredAudioLanguages() override
SetPreferredAudioLanguages set the preferred audio language list.
std::vector< StreamInfo * > GetAvailableThumbnailTracks(void) override
To get the available thumbnail tracks.
~StreamAbstractionAAMP_OTA()
StreamAbstractionAAMP_OTA Distructor.
Class representing the AAMP player's private instance, which is not exposed to outside world.
bool IsInitialCachingSupported() override
Check if initial Caching is supports.
std::vector< long > GetVideoBitrates(void) override
To get the available video bitrates.
void SetAudioTrackByLanguage(const char *lang) override
SetAudioTrackByLanguage set the audio language.
AAMPStatusType
AAMP Function return values.
std::vector< AudioTrackInfo > mAudioTracks
void DisableContentRestrictions(long grace, long time, bool eventChange) override
Disable Restrictions (unlock) till seconds mentioned.
void StopInjection(void) override
Stops injecting fragments to StreamSink.
bool SetThumbnailTrack(int) override
Function to set thumbnail track for processing.
std::vector< TextTrackInfo > & GetAvailableTextTracks(bool all=false) override
Get the list of available text tracks.
bool GetCurrentAudioTrack(AudioTrackInfo &audioTrack) override
Get current audio track.
int GetAudioTrack() override
Get current audio track.
std::vector< AudioTrackInfo > & GetAvailableAudioTracks(bool allTrack=false) override
Get the list of available audio tracks.