|
|
| MockAAMPGstPlayer (AampLogManager *logObj, PrivateInstanceAAMP *aamp) |
| |
|
| MOCK_METHOD (long, GetPositionMilliseconds,()) |
| |
|
| MOCK_METHOD (bool, Pause,(bool pause, bool forceStopGstreamerPreBuffering)) |
| |
| bool | AdjustPlayBackRate (double position, double rate) |
| | adjust playback rate More...
|
| |
| bool | SetPlayBackRate (double rate) |
| | Set playback rate to audio/video sinks. More...
|
| |
|
| AAMPGstPlayer (const AAMPGstPlayer &)=delete |
| |
|
AAMPGstPlayer & | operator= (const AAMPGstPlayer &)=delete |
| |
| void | Configure (StreamOutputFormat format, StreamOutputFormat audioFormat, StreamOutputFormat auxFormat, StreamOutputFormat subFormat, bool bESChangeStatus, bool forwardAudioToAux, bool setReadyAfterPipelineCreation=false) |
| | Configure pipeline based on A/V formats. More...
|
| |
| bool | SendCopy (MediaType mediaType, const void *ptr, size_t len, double fpts, double fdts, double fDuration) |
| | inject HLS/ts elementary stream buffer to gstreamer pipeline More...
|
| |
| bool | SendTransfer (MediaType mediaType, void *ptr, size_t len, double fpts, double fdts, double fDuration, bool initFragment) |
| | inject mp4 segment to gstreamer pipeline More...
|
| |
| void | EndOfStreamReached (MediaType type) |
| | Starts processing EOS for a particular stream type. More...
|
| |
|
void | Stream (void) |
| | To start playback.
|
| |
| void | Stop (bool keepLastFrame) |
| | Stop playback and any idle handlers active at the time. More...
|
| |
|
void | DumpStatus (void) |
| | Log the various info related to playback.
|
| |
|
void | Flush (double position, int rate, bool shouldTearDown) |
| | Flush cached GstBuffers and set seek position & rate.
|
| |
| bool | Pause (bool pause, bool forceStopGstreamerPreBuffering) |
| | To pause/play pipeline. More...
|
| |
| long | GetPositionMilliseconds (void) |
| | Get playback position in MS. More...
|
| |
| long | GetDurationMilliseconds (void) |
| | Get playback duration in MS. More...
|
| |
| unsigned long | getCCDecoderHandle (void) |
| | Retrieve the video decoder handle from pipeline. More...
|
| |
| virtual long long | GetVideoPTS (void) |
| | Gets Video PTS. More...
|
| |
| void | SetVideoRectangle (int x, int y, int w, int h) |
| | Set video display rectangle co-ordinates. More...
|
| |
| bool | Discontinuity (MediaType mediaType) |
| | Process discontinuity for a stream type. More...
|
| |
| void | SetVideoZoom (VideoZoomMode zoom) |
| | Set video zoom. More...
|
| |
| void | SetVideoMute (bool muted) |
| | Set video mute. More...
|
| |
| void | SetAudioVolume (int volume) |
| | Set audio volume. More...
|
| |
| void | SetSubtitleMute (bool mute) |
| |
| void | SetSubtitlePtsOffset (std::uint64_t pts_offset) |
| |
| void | setVolumeOrMuteUnMute (void) |
| | Set audio volume or mute. More...
|
| |
| bool | IsCacheEmpty (MediaType mediaType) |
| | Check if cache empty for a media type. More...
|
| |
|
void | ResetEOSSignalledFlag () |
| | Reset EOS SignalledFlag.
|
| |
| bool | CheckForPTSChangeWithTimeout (long timeout) |
| | Check if PTS is changing. More...
|
| |
|
void | NotifyFragmentCachingComplete () |
| | Set pipeline to PLAYING state once fragment caching is complete.
|
| |
|
void | NotifyFragmentCachingOngoing () |
| | Set pipeline to PAUSED state to wait on NotifyFragmentCachingComplete()
|
| |
| void | GetVideoSize (int &w, int &h) |
| | Get video display's width and height. More...
|
| |
| void | QueueProtectionEvent (const char *protSystemId, const void *ptr, size_t len, MediaType type) |
| | Generate a protection event. More...
|
| |
|
void | ClearProtectionEvent () |
| | Cleanup generated protection event.
|
| |
| bool | IdleTaskAdd (TaskControlData &taskDetails, BackgroundTask funcPtr) |
| | IdleTaskAdd - add an async/idle task in a thread safe manner, assuming it is not queued. More...
|
| |
| bool | IdleTaskRemove (TaskControlData &taskDetails) |
| | IdleTaskRemove - remove an async task in a thread safe manner, if it is queued. More...
|
| |
| void | IdleTaskClearFlags (TaskControlData &taskDetails) |
| | IdleTaskClearFlags - clear async task id and pending flag in a thread safe manner e.g. called when the task executes. More...
|
| |
| void | TimerAdd (GSourceFunc funcPtr, int repeatTimeout, guint &taskId, gpointer user_data, const char *timerName=nullptr) |
| | TimerAdd - add a new glib timer in thread safe manner. More...
|
| |
| void | TimerRemove (guint &taskId, const char *timerName=nullptr) |
| | TimerRemove - remove a glib timer in thread safe manner, if it exists. More...
|
| |
| bool | TimerIsRunning (guint &taskId) |
| | TimerIsRunning - Check whether timer is currently running. More...
|
| |
| void | StopBuffering (bool forceStop) |
| | Un-pause pipeline and notify buffer end event to player. More...
|
| |
|
| AAMPGstPlayer (AampLogManager *logObj, PrivateInstanceAAMP *aamp) |
| | AAMPGstPlayer Constructor.
|
| |
|
| ~AAMPGstPlayer () |
| | AAMPGstPlayer Destructor.
|
| |
| void | NotifyEOS () |
| | Notify EOS to core aamp asynchronously if required. More...
|
| |
| void | NotifyFirstFrame (MediaType type) |
| | Notify first Audio and Video frame through an idle function to make the playersinkbin halding same as normal(playbin) playback. More...
|
| |
| void | DumpDiagnostics () |
| | Dump diagnostic information. More...
|
| |
| void | SignalTrickModeDiscontinuity () |
| | Signal trick mode discontinuity to gstreamer pipeline. More...
|
| |
| void | SeekStreamSink (double position, double rate) |
| | Flush the data in case of a new tune pipeline. More...
|
| |
|
std::string | GetVideoRectangle () |
| | Get the video rectangle co-ordinates.
|
| |
|
virtual | ~StreamSink () |
| | StreamSink Dtor.
|
| |
Definition at line 26 of file MockAampGstPlayer.h.