RDK Documentation (Open Sourced RDK Components)
media_stream Struct Reference

Holds stream(Audio, Video, Subtitle and Aux-Audio) specific variables. More...

Collaboration diagram for media_stream:
Collaboration graph

Data Fields

GstElement * sinkbin
 
GstElement * source
 
StreamOutputFormat format
 
gboolean using_playersinkbin
 
bool flush
 
bool resetPosition
 
bool bufferUnderrun
 
bool eosReached
 
bool sourceConfigured
 
pthread_mutex_t sourceLock
 
uint32_t timeScale
 
int32_t trackId
 

yes

Holds stream(Audio, Video, Subtitle and Aux-Audio) specific variables.

Definition at line 119 of file aampgstplayer.cpp.

Field Documentation

◆ sinkbin

GstElement* media_stream::sinkbin

Sink element to consume data

Definition at line 121 of file aampgstplayer.cpp.

◆ source

GstElement* media_stream::source

to provide data to the pipleline

Definition at line 122 of file aampgstplayer.cpp.

◆ format

StreamOutputFormat media_stream::format

Stream output format for this stream

Definition at line 123 of file aampgstplayer.cpp.

◆ using_playersinkbin

gboolean media_stream::using_playersinkbin

Set to TRUE if stream type is MPEG transport stream. Playersink consists of demux, decoder and sink elements

Definition at line 124 of file aampgstplayer.cpp.

◆ flush

bool media_stream::flush

used to flush the pipleline

Definition at line 125 of file aampgstplayer.cpp.

◆ resetPosition

bool media_stream::resetPosition

To indicate that the position of the stream is reset

Definition at line 126 of file aampgstplayer.cpp.

◆ eosReached

bool media_stream::eosReached

To indicate the status of End of Stream reached

Definition at line 128 of file aampgstplayer.cpp.

◆ sourceConfigured

bool media_stream::sourceConfigured

To indicate that the current source is initialised and configured

Definition at line 129 of file aampgstplayer.cpp.

◆ trackId

int32_t media_stream::trackId

Current Audio Track Id,so far it is implimented for AC4 track selection only

Definition at line 132 of file aampgstplayer.cpp.


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