Categorygithub.com/sshikaree/voxmpp
modulepackage
0.0.1
Repository: https://github.com/sshikaree/voxmpp.git
Documentation: pkg.go.dev

# README

voxmpp

Voice over XMPP app using base64 encoding.

Usage

  1. Install PortAudio dev files (on Ubuntu Linux: $ sudo apt install portaudio19-dev)
  2. Install Opus dev files (on Ubuntu Linux: $ sudo apt install libopus-dev libopusfile-dev)
  3. $ go get -u github.com/sshikaree/voxmpp
  4. $ go build
  5. $ ./voxmpp -jid="[email protected]" -password="pass" -debug=false

Alt text

TODO

<s>Call handshake</s>
<s>Audio compression</s>
- Bugs.. Bugs everywhere.
- Add phone call sound

# Functions

DecodePayload converts base64 to []byte.
EncodePayload retruns the base64 encoding of input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

480 == 60ms at 8kHz/8bit, for Opus encoding.
No description provided by the author
mono.
60ms.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
kHz.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Call holds response an done channel on request with certain id.
PendingCalls holds pending calls map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author