media-streams

command
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 20 Imported by: 0

README

Twilio Media Stream Example

API Reference

https://www.twilio.com/docs/voice/twiml/stream

  • start.mediaFormat.encoding: The encoding of the data in the upcoming payload. Value will always be audio/x-mulaw
  • start.mediaFormat.sampleRate: Sample Rate: The Sample Rate in Hertz of the upcoming audio data. Value is always 8000

Standard

Best Practices for Audio Recordings

The telephony standard is 8-bit PCM mono uLaw with a sampling rate of 8Khz. Since this telephony format is fixed, any audio file uploaded to Twilio will be transcoded to that telephony standard. That standard is bandwidth-limited to the 300Hz - 8Khz audio range and is designed for voice and provides acceptable voice-quality results. This standard isn't suitable for quality music reproduction but will provide minimally acceptable results.

https://support.twilio.com/hc/en-us/articles/223180588-Best-Practices-for-Audio-Recordings

Code

Articles

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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