Rapptz
db4cc791dd
Update license of files to 2016.
9 years ago
Steven Berler
49488c9151
make ip/port voice packet logic more clear
Adds comments and also rewrites the logic in a way that is much easier
to see what is going on. For example you can now easily see that the
port is actually encoded in little endian (which is different from
everything else).
9 years ago
Steven Berler
57c3363119
fix broken ip and port in voice client
Also added debug logging to make it easier to debug errors in how the
initial packet is parsed.
9 years ago
Khazhismel
e8a06b7ee9
Insert options before pipe:1 in ffmpeg player, otherwise they are ignored
9 years ago
Rapptz
78e95ef755
Documentation fixes.
10 years ago
Rapptz
6d26d73e24
Client.run now does cleanup when KeyboardInterrupt is encountered.
10 years ago
Rapptz
f55d82146e
Remove socket.shutdown and only use socket.close instead.
10 years ago
Rapptz
c4e6a53dfe
Add experimental ytdl player.
10 years ago
Rapptz
3cefa5d65c
ffmpeg process is now properly killed.
Two new options are added to the ffmpeg player. `options` and `pipe`.
If `pipe` is True then we can pass in a file-like object to be the
stdin of ffmpeg. `options` allows you to pass extra things to the
ffmpeg command line.
10 years ago
Rapptz
bec7071c48
Add missing implementation for create_stream_player.
10 years ago
Rapptz
eda3c626db
Client now keeps a reference to the VoiceClient constructed.
10 years ago
Rapptz
6a4bddd69b
Add ability to pause/resume audio stream from StreamPlayer.
10 years ago
Rapptz
3ca5845566
Close ffmpeg process after stream is finished.
10 years ago
Rapptz
6217076cbf
Fix exception handling having a NameError
10 years ago
Rapptz
60945868b4
Clear up some documentation.
10 years ago
Rapptz
a6d6d832ff
Working voice sending implementation.
Currently you can only send from a stream that implements
``read`` and a ``ffmpeg`` or ``avconv``.
10 years ago
Rapptz
9102f1ae4f
Work on connecting to a voice channel.
10 years ago