Class reference

OggPacketSequence

Inherits Resource

A sequence of Ogg packets.

Description

A sequence of Ogg packets.

Properties

PackedInt64Array granule_positions = PackedInt64Array()

Contains the granule positions for each page in this packet sequence.

Array[] packet_data = []

Contains the raw packets that make up this OggPacketSequence.

float sampling_rate = 0.0

Holds sample rate information about this sequence. Must be set by another class that actually understands the codec.

Methods

float get_length() const

The length of this stream, in seconds.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.