GtuberStream Development: Gtuber Reference Manual

## GtuberStream Development GtuberStream Development |

## Functions

GtuberStream * | gtuber_stream_new ()
void | gtuber_stream_set_uri ()
void | gtuber_stream_set_itag ()
void | gtuber_stream_set_mime_type ()
void | gtuber_stream_set_codecs ()
void | gtuber_stream_set_video_codec ()
void | gtuber_stream_set_audio_codec ()
void | gtuber_stream_set_width ()
void | gtuber_stream_set_height ()
void | gtuber_stream_set_fps ()
void | gtuber_stream_set_bitrate ()

## Description

## Functions

### gtuber_stream_new ()

    GtuberStream *
    gtuber_stream_new (void);

Creates a new GtuberStream instance.

This is mainly useful for plugin development.

#### Returns

a new GtuberStream instance.

[transfer full]

### gtuber_stream_set_uri ()

    void
    gtuber_stream_set_uri (GtuberStream *stream,
                           const gchar *uri);

Sets the stream URI.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
uri | an URI |

### gtuber_stream_set_itag ()

    void
    gtuber_stream_set_itag (GtuberStream *stream,
                            guint itag);

Sets the stream itag. Used to identify stream among others.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
itag | an itag |

### gtuber_stream_set_mime_type ()

    void
    gtuber_stream_set_mime_type (GtuberStream *stream,
                                 GtuberStreamMimeType mime_type);

Sets the stream MIME type.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
mime_type | a GtuberStreamMimeType |

### gtuber_stream_set_codecs ()

    void
    gtuber_stream_set_codecs (GtuberStream *stream,
                              const gchar *vcodec,
                              const gchar *acodec);

Sets the video and audio codecs used to encode the stream.

#### Parameters

stream | a GtuberStream |
vcodec | the stream video codec |
acodec | the stream audio codec |

### gtuber_stream_set_video_codec ()

    void
    gtuber_stream_set_video_codec (GtuberStream *stream,
                                   const gchar *vcodec);

Sets the video codec used to encode the stream.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
vcodec | the stream video codec |

### gtuber_stream_set_audio_codec ()

    void
    gtuber_stream_set_audio_codec (GtuberStream *stream,
                                   const gchar *acodec);

Sets the audio codec used to encode the stream.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
acodec | the stream audio codec |

### gtuber_stream_set_width ()

    void
    gtuber_stream_set_width (GtuberStream *stream,
                             guint width);

Sets the video stream width.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
width | video width |

### gtuber_stream_set_height ()

    void
    gtuber_stream_set_height (GtuberStream *stream,
                              guint height);

Sets the video stream height.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
height | video height |

### gtuber_stream_set_fps ()

    void
    gtuber_stream_set_fps (GtuberStream *stream,
                           guint fps);

Sets the video stream framerate.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
fps | video framerate |

### gtuber_stream_set_bitrate ()

    void
    gtuber_stream_set_bitrate (GtuberStream *stream,
                               guint bitrate);

Sets the stream bitrate.

This is mainly useful for plugin development.

#### Parameters

stream | a GtuberStream |
bitrate | bitrate |