Source interface
FluSource * |
|
void |
|
FluSourceType |
|
void |
|
FluBufferingPolicy |
|
void |
|
const gchar * |
Add a reference to an FluSource
Since: 1.0
The source to be referenced
The same object, for programming convenience.
[transfer full]
void flu_source_unref (FluSource *thiz);
Remove a reference from an FluSource
Since: 1.0
The source to be unreferenced
FluSourceType flu_source_type_get (FluSource *thiz);
Gets the type of a FluSource
Since: 1.0
The stream to get the type from
The type of the stream
void flu_source_buffering_policy_set (FluSource *thiz, FluBufferingPolicy policy, gint size, gint64 time);
Sets the buffering policy on a source
In case the policy used is FLU_BUFFERING_POLICY_NONE the size and time parameters are ignored
Since: 1.0
The FluSource to set the buffering policy
The FluBufferingPolicy to set
The minimum size in bytes for the buffering queue
The minimum time in nanoseconds for the buffering queue
FluBufferingPolicy flu_source_buffering_policy_get (FluSource *thiz, gint *size, gint64 *time);
Gets the buffering policy from a source
Since: 1.0
The FluSource to get the buffering policy from
The minimum size in bytes of the buffering queue.
The minimum time in nanoseconds of the buffering queue.
The buffering policy
void flu_source_list_free (GList *l);
Frees a list of streams
Since: 1.0
The list of streams to free.
const gchar * flu_source_get_name (FluSource *thiz);
Since: 1.0
Source name
Enum values used to describe an Flusource type
FLU_SOURCE_TYPE_UNKNOWN |
Unknown type of source |
FLU_SOURCE_TYPE_URI |
URI based source |
FLU_SOURCE_TYPE_DEVICE |
FluDevice based source |
FLU_SOURCE_TYPE_CUSTOM |
Application based custom source |
Enum values used to describe different format in a FluPlayerEventSeekSource event.
FLU_FORMAT_UNDEFINED |
The format is type of undefined. |
FLU_FORMAT_BYTES |
The format is byte-based. |
FLU_FORMAT_TIME |
The format is time-based. |
typedef struct { GstObject base; GstElement *element; GstElement *real_src; gchar *name; gboolean setup; /* type information */ FluSourceType type; /* buffering information */ FluBufferingPolicy buffering_policy; gint buffering_size; gint64 buffering_time; /* the engine we are using */ FluEngine *engine; /* the streams for this source */ GList *streams[FLU_STREAM_TYPES]; /* Active User Operation Prohibitions (UOP) */ FluUserOperation uop; } FluSource;