This module provides methods to fill/drain the playout buffer and to decode and play the video stream. The logic for draining the buffer, decode and play the video stream depends on the particular media engine. TAPAS already includes three media engines that allow to give different levels of detail to the experimental evaluation:
- FullMediaEngine is a complete player that decodes and renders the raw video to the screen (for now it works only with MPEGTS container);
- NodecMediaEngine is a player that only demuxes the video stream without decoding and rendering the video;
- FakeMediaEngine only keeps track of the playout buffer length, but does not demux, decode, and render the video.
Both the FullMediaEngine and the NodecMediaEngine employ the GStreamer multimedia framework for playing the received video.
Constructors: |
---|
Object(**properties)
new(object_type:GType, parameters:list)
Gets the player status. Returns true when the media engine is in play. Returns false when the media engine is in pause.
Return type: | bool |
---|
Called when changing state from pause to play. (It must be implemented for new media engine).
Enqueues data into the playout buffer. Called when the segment download is completed. (It must be implemented for new media engine).
Parameters: |
|
---|