GtuberAdaptiveStream Development

GtuberAdaptiveStream Development

Functions

Description

Functions

gtuber_adaptive_stream_new ()

GtuberAdaptiveStream *
gtuber_adaptive_stream_new (void);

Creates a new GtuberAdaptiveStream instance.

This is mainly useful for plugin development.

Returns

a new GtuberAdaptiveStream instance.

[transfer full]


gtuber_adaptive_stream_set_manifest_type ()

void
gtuber_adaptive_stream_set_manifest_type
                               (GtuberAdaptiveStream *stream,
                                GtuberAdaptiveStreamManifest type);

Sets the adaptive stream manifest type.

This is mainly useful for plugin development.

Parameters


gtuber_adaptive_stream_set_init_range ()

void
gtuber_adaptive_stream_set_init_range (GtuberAdaptiveStream *stream,
                                       guint64 start,
                                       guint64 end);

Sets the byte range of stream initialization segment.

Parameters

stream

a GtuberAdaptiveStream

 

start

the start of stream init range

 

end

the end of stream init range

 

gtuber_adaptive_stream_set_index_range ()

void
gtuber_adaptive_stream_set_index_range
                               (GtuberAdaptiveStream *stream,
                                guint64 start,
                                guint64 end);

Sets the byte range of stream media segment.

Parameters

stream

a GtuberAdaptiveStream

 

start

the start of stream index range

 

end

the end of stream index range