res

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

SIP media resources

See https://trac.ffmpeg.org/wiki/audio%20types.

PCM16LE

Encoding:

ffmpeg -i file.ogg -ar 8000 -f s16le file.s16le

Decoding:

ffmpeg -f s16le -ar 8000 -i file.s16le file.ogg

G711 - PCMU

Encoding:

ffmpeg -i file.ogg -ar 8000 -f mulaw file.g711u

Decoding:

ffmpeg -f mulaw -ar 8000 -i file.g711u file.ogg

G711 - PCMA

Encoding:

ffmpeg -i file.ogg -ar 8000 -f alaw file.g711a

Decoding:

ffmpeg -f alaw -ar 8000 -i file.g711a file.ogg

G722

Encoding:

ffmpeg -i file.ogg -ar 8000 -f g722 file.g722

Decoding:

ffmpeg -f g722 -i file.g722 file.ogg

Documentation

Index

Constants

View Source
const SampleRate = 48000

Variables

View Source
var EnterPinOgg []byte
View Source
var RoomJoinOgg []byte
View Source
var WrongPinOgg []byte

Functions

func ReadOggAudioFile

func ReadOggAudioFile(data []byte) []msdk.PCM16Sample

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL