Commit Graph
9 Commits
Author SHA1 Message Date
ImayhaveborkeditandRapptz 20fa3001f2 Raise max encoder bitrate to 512kbps
Any higher is useless for opus anyways.
2019-06-20 22:52:47 -04:00
DanielandRapptz 3a36f78e08 Use is_connected() instead of _connected in checks
Was doing a falsy check on an Event object instead of using the (unused) is_connected() function.
2019-04-09 00:14:41 -04:00
DanielandRapptz 27063a91c7 Improve basic_voice example
Add stream option and command so we don't always have to download a file
Move repeated voice check code to before_invoke hook
Add typing indicators when making YTDLSources
2018-03-25 04:04:07 -04:00
DanielandGitHub d53c3a6c12 Fixed opus error check
Fixes #1056
2018-02-06 11:19:42 -05:00
DanielandGitHub ceb82ecc7b Fix self._process not existing during cleanup() in case of error 2017-11-21 17:51:34 -05:00
DanielandGitHub b532da7906 Fix waiting for resume when calling stop() on AudioPlayer 2017-07-21 18:37:22 -04:00
DanielandGitHub 6f42a5f2ec Fixed broken code
I should have tested it.
2017-07-07 22:09:56 -04:00
DanielandRapptz a037d469d7 Add basic rewrite voice example 2017-07-07 17:55:12 -04:00
Daniel 5a2b8e2ce6 Properly close session if client failed to start
`keep_alive` was not defined until it was created in `received_message`, `ws` is `None` until its actually connected, which doesn't always happen.  If an error happens before things start up properly, the client should now clean its objects up (fixes `unclosed client session` warning).
2016-04-22 22:40:25 -04:00