qTox / qTox

qTox is a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol.
https://qtox.github.io/
GNU General Public License v3.0
4.73k stars 1.04k forks source link

Information Regarding Audio Codec #5491

Closed humabajwa closed 5 years ago

humabajwa commented 5 years ago

I need to know where exactly in the code is the audio codec used. Where in the code does the audio stream enter the codec and is encoded?

Brief Description

OS: Windows / OS X / Linux (include version and/or distro)
qTox version: (version numbers in menu Settings → About)
Commit hash:
toxcore:
Qt:
Hardware:

Reproducible: Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce

Steps to reproduce
Observed Behavior
Expected Behavior
Additional Info

(links, images, etc go here)


E.g., include log located in ~/.cache/Tox/qTox/ / %APPDATA%\tox\. To include it, rename it from .log to .txt, or zip it.

Tip: use v4l-info and v4l2-ctl --all to get webcam info on Linux.

More information on how to write good bug reports in the wiki: https://github.com/qTox/qTox/wiki/Writing-Useful-Bug-Reports.

Please remove any unnecessary template section before submitting.

anthonybilinski commented 5 years ago

qTox uses Toxcore which handles the Tox protocol, including encoding and decoding audio and video. Toxcore uses libopus for audio, so the actual encoding is handled by libopus here.