GtuberAdaptiveStream: Gtuber Reference Manual

## GtuberAdaptiveStream GtuberAdaptiveStream — represents an adaptive media stream, usually for use in an adaptive streaming manifest |

## Functions

GtuberAdaptiveStreamManifest | gtuber_adaptive_stream_get_manifest_type ()
gboolean | gtuber_adaptive_stream_get_init_range ()
gboolean | gtuber_adaptive_stream_get_index_range ()

## Properties

GtuberAdaptiveStreamManifest | manifest-type | Read

## Types and Values

| GtuberAdaptiveStream

## Object Hierarchy

        GObject
        ╰── GtuberStream
            ╰── GtuberAdaptiveStream

## Description

## Functions

### gtuber_adaptive_stream_get_manifest_type ()

    GtuberAdaptiveStreamManifest
    gtuber_adaptive_stream_get_manifest_type
                                   (GtuberAdaptiveStream *stream);

#### Parameters

stream | a GtuberAdaptiveStream |

#### Returns

a GtuberAdaptiveStreamManifest representing type of the manifest adaptive stream belongs to.

### gtuber_adaptive_stream_get_init_range ()

    gboolean
    gtuber_adaptive_stream_get_init_range (GtuberAdaptiveStream *stream,
                                           guint64 *start,
                                           guint64 *end);

Gets the byte range of stream initialization segment.

#### Parameters

stream | a GtuberAdaptiveStream |
start | the start of stream init range. | [out][optional]
end | the end of stream init range. | [out][optional]

#### Returns

`TRUE` if successful, with the out parameters set, `FALSE` otherwise.

### gtuber_adaptive_stream_get_index_range ()

    gboolean
    gtuber_adaptive_stream_get_index_range
                                   (GtuberAdaptiveStream *stream,
                                    guint64 *start,
                                    guint64 *end);

Gets the byte range of stream media segment.

#### Parameters

stream | a GtuberAdaptiveStream |
start | the start of stream index range. | [out][optional]
end | the end of stream index range. | [out][optional]

#### Returns

`TRUE` if successful, with the out parameters set, `FALSE` otherwise.

## Types and Values

### GtuberAdaptiveStream

    typedef struct _GtuberAdaptiveStream GtuberAdaptiveStream;

Contains values of peculiar adaptive media stream.

## Property Details

### The `“manifest-type”` property

      “manifest-type”            GtuberAdaptiveStreamManifest

The manifest type adaptive stream belongs to.

Owner: GtuberAdaptiveStream

Flags: Read

Default value: GTUBER_ADAPTIVE_STREAM_MANIFEST_UNKNOWN