Enumeration Types: Gtuber Reference Manual

## Enumeration Types Enumeration Types |

## Types and Values

enum | GtuberStreamMimeType
enum | GtuberCodecFlags
enum | GtuberAdaptiveStreamManifest
enum | GtuberClientError
enum | GtuberManifestGeneratorError
enum | GtuberWebsiteError
enum | GtuberHeartbeatError
enum | GtuberFlow

## Object Hierarchy

        GEnum
        ├── GtuberAdaptiveStreamManifest
        ├── GtuberClientError
        ├── GtuberFlow
        ├── GtuberHeartbeatError
        ├── GtuberManifestGeneratorError
        ├── GtuberStreamMimeType
        ╰── GtuberWebsiteError
        GFlags
        ╰── GtuberCodecFlags

## Description

## Functions

## Types and Values

### enum GtuberStreamMimeType

#### Members

GTUBER_STREAM_MIME_TYPE_UNKNOWN | MIME type is not specified. |
GTUBER_STREAM_MIME_TYPE_VIDEO_MP4 | video/mp4. |
GTUBER_STREAM_MIME_TYPE_AUDIO_MP4 | audio/mp4. |
GTUBER_STREAM_MIME_TYPE_VIDEO_WEBM | video/webm. |
GTUBER_STREAM_MIME_TYPE_AUDIO_WEBM | audio/webm. |

### enum GtuberCodecFlags

#### Members

GTUBER_CODEC_UNKNOWN_VIDEO | an unknown video codec. |
GTUBER_CODEC_AVC | AVC video codec (usually H.264). |
GTUBER_CODEC_HEVC | HEVC video codec. |
GTUBER_CODEC_VP9 | VP9 video codec. |
GTUBER_CODEC_AV1 | AV1 video codec. |
GTUBER_CODEC_UNKNOWN_AUDIO | an unknown audio codec. |
GTUBER_CODEC_MP4A | audio codec in a MP4A format (usually AAC). |
GTUBER_CODEC_OPUS | Opus audio codec. |

### enum GtuberAdaptiveStreamManifest

#### Members

GTUBER_ADAPTIVE_STREAM_MANIFEST_UNKNOWN | adaptive stream belongs to a manifest which type is unknown. |
GTUBER_ADAPTIVE_STREAM_MANIFEST_DASH | adaptive stream belongs to a DASH manifest. |
GTUBER_ADAPTIVE_STREAM_MANIFEST_HLS | adaptive stream belongs to a HLS manifest. |

### enum GtuberClientError

#### Members

GTUBER_CLIENT_ERROR_NO_PLUGIN | none of the installed plugins could handle URI. |
GTUBER_CLIENT_ERROR_MISSING_INFO | plugin did not fill the media info. |

### enum GtuberManifestGeneratorError

#### Members

GTUBER_MANIFEST_GENERATOR_ERROR_NO_DATA | no data was generated. |

### enum GtuberWebsiteError

#### Members

GTUBER_WEBSITE_ERROR_REQUEST_CREATE_FAILED | could not create soup message. |
GTUBER_WEBSITE_ERROR_PARSE_FAILED | parsing of website response failed. |
GTUBER_WEBSITE_ERROR_OTHER | some other error occured. |

### enum GtuberHeartbeatError

#### Members

GTUBER_HEARTBEAT_ERROR_PING_FAILED | ping action on website failed. |
GTUBER_HEARTBEAT_ERROR_PONG_FAILED | pong action from website failed. |
GTUBER_HEARTBEAT_ERROR_OTHER | some other error occured. |

### enum GtuberFlow

#### Members

GTUBER_FLOW_OK | continue parsing. |
GTUBER_FLOW_ERROR | give up. |
GTUBER_FLOW_RESTART | start from first step again. |
GTUBER_FLOW_RECONFIGURE | change URI and do a clean restart. |