|
Shaka Player Embedded
|
#include <pipeline_monitor.h>
Public Member Functions | |
| PipelineMonitor (std::function< BufferedRanges()> get_buffered, std::function< BufferedRanges()> get_decoded, std::function< void(VideoReadyState)> ready_state_changed, const util::Clock *clock, PipelineManager *pipeline) | |
| ~PipelineMonitor () | |
| void | Start () |
| void | Stop () |
This manages a thread that monitors the media pipeline and updates the state based on the currently buffered content. This also handles transitioning to ended.
Definition at line 36 of file pipeline_monitor.h.
| shaka::media::PipelineMonitor::PipelineMonitor | ( | std::function< BufferedRanges()> | get_buffered, |
| std::function< BufferedRanges()> | get_decoded, | ||
| std::function< void(VideoReadyState)> | ready_state_changed, | ||
| const util::Clock * | clock, | ||
| PipelineManager * | pipeline | ||
| ) |
Definition at line 49 of file pipeline_monitor.cc.
| shaka::media::PipelineMonitor::~PipelineMonitor | ( | ) |
Definition at line 67 of file pipeline_monitor.cc.
| void shaka::media::PipelineMonitor::Start | ( | ) |
Starts monitoring the current state.
Definition at line 76 of file pipeline_monitor.cc.
| void shaka::media::PipelineMonitor::Stop | ( | ) |
Stops monitoring and waits for a call to start.
Definition at line 83 of file pipeline_monitor.cc.
1.8.13