Working voice sending implementation.

Currently you can only send from a stream that implements
``read`` and a ``ffmpeg`` or ``avconv``.
This commit is contained in:
Rapptz
2015-12-08 06:37:38 -05:00
parent cfc26b894f
commit a6d6d832ff
4 changed files with 391 additions and 3 deletions

View File

@ -1903,7 +1903,8 @@ class Client:
'channel': self.voice_channel,
'data': self._voice_data_found.data,
'loop': self.loop,
'session_id': self.session_id
'session_id': self.session_id,
'main_ws': self.ws
}
result = VoiceClient(**kwargs)