RDK Documentation (Open Sourced RDK Components)
AAMPGstPlayerPriv Struct Reference

Holds private variables of AAMPGstPlayer. More...

#include <aampgstplayer.h>

Collaboration diagram for AAMPGstPlayerPriv:
Collaboration graph

Public Member Functions

 AAMPGstPlayerPriv (const AAMPGstPlayerPriv &)=delete
 
AAMPGstPlayerPrivoperator= (const AAMPGstPlayerPriv &)=delete
 

Data Fields

media_stream stream [4]
 
GstElement * pipeline
 
GstBus * bus
 
int current_rate
 
guint64 total_bytes
 
gint n_audio
 
gint current_audio
 
std::mutex TaskControlMutex
 
TaskControlData firstProgressCallbackIdleTask
 
guint periodicProgressCallbackIdleTaskId
 
guint bufferingTimeoutTimerId
 
GstElement * video_dec
 
GstElement * audio_dec
 
GstElement * video_sink
 
GstElement * audio_sink
 
GstElement * subtitle_sink
 
int rate
 
double playbackrate
 
VideoZoomMode zoom
 
bool videoMuted
 
bool audioMuted
 
std::mutex volumeMuteMutex
 
bool subtitleMuted
 
double audioVolume
 
guint eosCallbackIdleTaskId
 
std::atomic< bool > eosCallbackIdleTaskPending
 
bool firstFrameReceived
 
char videoRectangle [32]
 
bool pendingPlayState
 
bool decoderHandleNotified
 
guint firstFrameCallbackIdleTaskId
 
GstEvent * protectionEvent [4]
 
std::atomic< bool > firstFrameCallbackIdleTaskPending
 
bool using_westerossink
 
guint busWatchId
 
std::atomic< bool > eosSignalled
 
gboolean buffering_enabled
 
gboolean buffering_in_progress
 
guint buffering_timeout_cnt
 
GstState buffering_target_state
 
gint64 lastKnownPTS
 
long long ptsUpdatedTimeMS
 
guint ptsCheckForEosOnUnderflowIdleTaskId
 
int numberOfVideoBuffersSent
 
gint64 segmentStart
 
GstQuery * positionQuery
 
GstQuery * durationQuery
 
bool paused
 
GstState pipelineState
 
guint firstVideoFrameDisplayedCallbackIdleTaskId
 
std::atomic< bool > firstVideoFrameDisplayedCallbackIdleTaskPending
 
long long decodeErrorMsgTimeMS
 
int decodeErrorCBCount
 
bool progressiveBufferingEnabled
 
bool progressiveBufferingStatus
 
bool forwardAudioBuffers
 
bool enableSEITimeCode
 
bool firstVideoFrameReceived
 
bool firstAudioFrameReceived
 
int NumberOfTracks
 

yes

Holds private variables of AAMPGstPlayer.

forward declaration of AAMPGstPlayerPriv

Definition at line 147 of file aampgstplayer.cpp.

Field Documentation

◆ pipeline

GstElement* AAMPGstPlayerPriv::pipeline

GstPipeline used for playback.

Definition at line 153 of file aampgstplayer.cpp.

◆ bus

GstBus* AAMPGstPlayerPriv::bus

Bus for receiving GstEvents from pipeline.

Definition at line 154 of file aampgstplayer.cpp.

◆ n_audio

gint AAMPGstPlayerPriv::n_audio

Number of audio tracks.

Definition at line 157 of file aampgstplayer.cpp.

◆ current_audio

gint AAMPGstPlayerPriv::current_audio

Offset of current audio track.

Definition at line 158 of file aampgstplayer.cpp.

◆ TaskControlMutex

std::mutex AAMPGstPlayerPriv::TaskControlMutex

For scheduling/de-scheduling or resetting async tasks/variables and timers

Definition at line 159 of file aampgstplayer.cpp.

◆ periodicProgressCallbackIdleTaskId

guint AAMPGstPlayerPriv::periodicProgressCallbackIdleTaskId

ID of timed handler created for notifying progress events.

Definition at line 161 of file aampgstplayer.cpp.

◆ bufferingTimeoutTimerId

guint AAMPGstPlayerPriv::bufferingTimeoutTimerId

ID of timer handler created for buffering timeout.

Definition at line 162 of file aampgstplayer.cpp.

◆ video_dec

GstElement* AAMPGstPlayerPriv::video_dec

Video decoder used by pipeline.

Definition at line 163 of file aampgstplayer.cpp.

◆ audio_dec

GstElement* AAMPGstPlayerPriv::audio_dec

Audio decoder used by pipeline.

Definition at line 164 of file aampgstplayer.cpp.

◆ video_sink

GstElement* AAMPGstPlayerPriv::video_sink

Video sink used by pipeline.

Definition at line 165 of file aampgstplayer.cpp.

◆ audio_sink

GstElement* AAMPGstPlayerPriv::audio_sink

Audio sink used by pipeline.

Definition at line 166 of file aampgstplayer.cpp.

◆ subtitle_sink

GstElement* AAMPGstPlayerPriv::subtitle_sink

Subtitle sink used by pipeline.

Definition at line 167 of file aampgstplayer.cpp.

◆ rate

int AAMPGstPlayerPriv::rate

Current playback rate.

Definition at line 172 of file aampgstplayer.cpp.

◆ playbackrate

double AAMPGstPlayerPriv::playbackrate

playback rate in fractions

Definition at line 173 of file aampgstplayer.cpp.

◆ zoom

VideoZoomMode AAMPGstPlayerPriv::zoom

Video-zoom setting.

Definition at line 174 of file aampgstplayer.cpp.

◆ videoMuted

bool AAMPGstPlayerPriv::videoMuted

Video mute status.

Definition at line 175 of file aampgstplayer.cpp.

◆ audioMuted

bool AAMPGstPlayerPriv::audioMuted

Audio mute status.

Definition at line 176 of file aampgstplayer.cpp.

◆ volumeMuteMutex

std::mutex AAMPGstPlayerPriv::volumeMuteMutex

Mutex to ensure setVolumeOrMuteUnMute is thread-safe.

Definition at line 177 of file aampgstplayer.cpp.

◆ subtitleMuted

bool AAMPGstPlayerPriv::subtitleMuted

Subtitle mute status.

Definition at line 178 of file aampgstplayer.cpp.

◆ audioVolume

double AAMPGstPlayerPriv::audioVolume

Audio volume.

Definition at line 179 of file aampgstplayer.cpp.

◆ eosCallbackIdleTaskId

guint AAMPGstPlayerPriv::eosCallbackIdleTaskId

ID of idle handler created for notifying EOS event.

Definition at line 180 of file aampgstplayer.cpp.

◆ eosCallbackIdleTaskPending

std::atomic<bool> AAMPGstPlayerPriv::eosCallbackIdleTaskPending

Set if any eos callback is pending.

Definition at line 181 of file aampgstplayer.cpp.

◆ firstFrameReceived

bool AAMPGstPlayerPriv::firstFrameReceived

Flag that denotes if first frame was notified.

Definition at line 182 of file aampgstplayer.cpp.

◆ videoRectangle

char AAMPGstPlayerPriv::videoRectangle[32]

Video-rectangle co-ordinates in format x,y,w,h.

Definition at line 183 of file aampgstplayer.cpp.

◆ pendingPlayState

bool AAMPGstPlayerPriv::pendingPlayState

Flag that denotes if set pipeline to PLAYING state is pending.

Definition at line 184 of file aampgstplayer.cpp.

◆ decoderHandleNotified

bool AAMPGstPlayerPriv::decoderHandleNotified

Flag that denotes if decoder handle was notified.

Definition at line 185 of file aampgstplayer.cpp.

◆ firstFrameCallbackIdleTaskId

guint AAMPGstPlayerPriv::firstFrameCallbackIdleTaskId

ID of idle handler created for notifying first frame event.

Definition at line 186 of file aampgstplayer.cpp.

◆ protectionEvent

GstEvent* AAMPGstPlayerPriv::protectionEvent[4]

GstEvent holding the pssi data to be sent downstream.

Definition at line 187 of file aampgstplayer.cpp.

◆ firstFrameCallbackIdleTaskPending

std::atomic<bool> AAMPGstPlayerPriv::firstFrameCallbackIdleTaskPending

Set if any first frame callback is pending.

Definition at line 188 of file aampgstplayer.cpp.

◆ using_westerossink

bool AAMPGstPlayerPriv::using_westerossink

true if westros sink is used as video sink

Definition at line 189 of file aampgstplayer.cpp.

◆ busWatchId

guint AAMPGstPlayerPriv::busWatchId

Id of the event source assigned to the message bus

Definition at line 190 of file aampgstplayer.cpp.

◆ eosSignalled

std::atomic<bool> AAMPGstPlayerPriv::eosSignalled

Indicates if EOS has signaled

Definition at line 191 of file aampgstplayer.cpp.

◆ buffering_enabled

gboolean AAMPGstPlayerPriv::buffering_enabled

enable buffering based on multiqueue

Definition at line 192 of file aampgstplayer.cpp.

◆ buffering_in_progress

gboolean AAMPGstPlayerPriv::buffering_in_progress

buffering is in progress

Definition at line 193 of file aampgstplayer.cpp.

◆ buffering_timeout_cnt

guint AAMPGstPlayerPriv::buffering_timeout_cnt

make sure buffering_timeout doesn't get stuck

Definition at line 194 of file aampgstplayer.cpp.

◆ buffering_target_state

GstState AAMPGstPlayerPriv::buffering_target_state

the target state after buffering

Definition at line 195 of file aampgstplayer.cpp.

◆ lastKnownPTS

gint64 AAMPGstPlayerPriv::lastKnownPTS

To store the PTS of last displayed video

Definition at line 199 of file aampgstplayer.cpp.

◆ ptsUpdatedTimeMS

long long AAMPGstPlayerPriv::ptsUpdatedTimeMS

Timestamp when PTS was last updated

Definition at line 200 of file aampgstplayer.cpp.

◆ ptsCheckForEosOnUnderflowIdleTaskId

guint AAMPGstPlayerPriv::ptsCheckForEosOnUnderflowIdleTaskId

ID of task to ensure video PTS is not moving before notifying EOS on underflow.

Definition at line 201 of file aampgstplayer.cpp.

◆ numberOfVideoBuffersSent

int AAMPGstPlayerPriv::numberOfVideoBuffersSent

Number of video buffers sent to pipeline

Definition at line 202 of file aampgstplayer.cpp.

◆ segmentStart

gint64 AAMPGstPlayerPriv::segmentStart

segment start value; required when qtdemux is enabled and restamping is disabled

Definition at line 203 of file aampgstplayer.cpp.

◆ positionQuery

GstQuery* AAMPGstPlayerPriv::positionQuery

pointer that holds a position query object

Definition at line 204 of file aampgstplayer.cpp.

◆ durationQuery

GstQuery* AAMPGstPlayerPriv::durationQuery

pointer that holds a duration query object

Definition at line 205 of file aampgstplayer.cpp.

◆ paused

bool AAMPGstPlayerPriv::paused

if pipeline is deliberately put in PAUSED state due to user interaction

Definition at line 206 of file aampgstplayer.cpp.

◆ pipelineState

GstState AAMPGstPlayerPriv::pipelineState

current state of pipeline

Definition at line 207 of file aampgstplayer.cpp.

◆ firstVideoFrameDisplayedCallbackIdleTaskId

guint AAMPGstPlayerPriv::firstVideoFrameDisplayedCallbackIdleTaskId

ID of idle handler created for notifying state changed to Playing

Definition at line 208 of file aampgstplayer.cpp.

◆ firstVideoFrameDisplayedCallbackIdleTaskPending

std::atomic<bool> AAMPGstPlayerPriv::firstVideoFrameDisplayedCallbackIdleTaskPending

Set if any state changed to Playing callback is pending.

Definition at line 209 of file aampgstplayer.cpp.

◆ decodeErrorMsgTimeMS

long long AAMPGstPlayerPriv::decodeErrorMsgTimeMS

Timestamp when decode error message last posted

Definition at line 213 of file aampgstplayer.cpp.

◆ decodeErrorCBCount

int AAMPGstPlayerPriv::decodeErrorCBCount

Total decode error cb received within thresold time

Definition at line 214 of file aampgstplayer.cpp.

◆ forwardAudioBuffers

bool AAMPGstPlayerPriv::forwardAudioBuffers

flag denotes if audio buffers to be forwarded to aux pipeline

Definition at line 217 of file aampgstplayer.cpp.

◆ enableSEITimeCode

bool AAMPGstPlayerPriv::enableSEITimeCode

Enables SEI Time Code handling

Definition at line 218 of file aampgstplayer.cpp.

◆ firstVideoFrameReceived

bool AAMPGstPlayerPriv::firstVideoFrameReceived

flag that denotes if first video frame was notified.

Definition at line 219 of file aampgstplayer.cpp.

◆ firstAudioFrameReceived

bool AAMPGstPlayerPriv::firstAudioFrameReceived

flag that denotes if first audio frame was notified

Definition at line 220 of file aampgstplayer.cpp.

◆ NumberOfTracks

int AAMPGstPlayerPriv::NumberOfTracks

Indicates the number of tracks

Definition at line 221 of file aampgstplayer.cpp.


The documentation for this struct was generated from the following file: