aboutsummaryrefslogtreecommitdiff
path: root/discord/opus.py
Commit message (Collapse)AuthorAgeFilesLines
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* [lint] Fix import orderHornwitser2018-11-241-3/+4
| | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library.
* [lint] Do log formating lazilyHornwitser2018-11-241-2/+2
| | | | | Convert log("fmt" % args) to log("fmt", args) as the latter is lazy and does not do the formating if the string is never logged.
* [lint] Remove redundant exception variablesHornwitser2018-11-241-5/+2
| | | | | | Use bare raise statement when reraising the exception that occured, and remove unused exception variables. Also remove a pointless exception handler in discord.opus.
* Fixed opus error checkDaniel2018-02-061-2/+3
| | | Fixes #1056
* Add errcheck functions to opus foreign functionsDaniel2018-01-311-41/+37
|
* Add intersphinxTobotimus2018-01-061-1/+1
|
* Defer logging formatting until the logger is actually called.Rapptz2017-06-091-1/+1
| | | | | This would cause unnecessary format calls even if you didn't have logging enabled.
* Re-implement voice sending.Rapptz2017-04-181-9/+10
| | | | | | | | | | | | | | | | | | | | This is a complete redesign of the old voice code. A list of major changes is as follows: * The voice websocket will now automatically reconnect with exponential back-off just like the regular Client does. * Removal of the stream player concept. * Audio now gracefully pauses and resumes when a disconnect is found. * Introduce a discord.AudioSource concept to abstract streams * Flatten previous stream player functionality with the VoiceClient, e.g. player.stop() is now voice_client.stop() * With the above re-coupling this means you no longer have to store players anywhere. * The after function now requires a single parameter, the error, if any existed. This will typically be None. A lot of this design is experimental.
* Update copyright year to 2017.Rapptz2017-01-201-5/+5
|
* Add ability to set opus encoder input signal type.Kyle Repinski2017-01-031-0/+19
|
* Add libopus DLLs for ease of use.Rapptz2016-05-061-2/+10
|
* Enable FEC/PLRJake2016-05-031-0/+18
| | | Enable forward error correction + packet loss percent tuning in opus encoder. Additionally, use some sane defaults. This should fix people hearing robo in music when packet loss is happening.
* Add ability to set bandwith and bitrate.Rapptz2016-02-021-2/+39
| | | | Patch by Jake.
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Documentation fixes for opus related import errors.Rapptz2015-12-081-3/+4
|
* Add OpusNotLoaded exception and opus.is_loaded utility function.Rapptz2015-12-081-2/+29
|
* Documentation fixes for opus bindings.Rapptz2015-12-081-14/+22
|
* Working voice sending implementation.Rapptz2015-12-081-0/+159
Currently you can only send from a stream that implements ``read`` and a ``ffmpeg`` or ``avconv``.