Commit Graph

2755 Commits

Author SHA1 Message Date
Brandon Smith
320a155499 Removed leftover lock, started adding Task result to SendPCMFrame. 2015-09-04 20:44:23 -03:00
Brandon Smith
0cde7c3dd2 Moved voice functions from API to base file. 2015-09-04 20:34:30 -03:00
Brandon Smith
f0933c75a0 Revert "Do not allow ObjectDisposed exceptions to trigger disconnectreason"
This reverts commit f6dacb7a84.
2015-09-04 19:33:44 -03:00
Brandon Smith
f6dacb7a84 Do not allow ObjectDisposed exceptions to trigger disconnectreason 2015-09-04 19:32:26 -03:00
Brandon Smith
8f7492c246 Don't destroy disconnectReason so quickly 2015-09-04 19:25:01 -03:00
Brandon Smith
5b432769fb Preserve stack trace for websocket errors 2015-09-04 19:21:03 -03:00
Brandon Smith
ce2a4dfa2b Don't activate the canceltoken in websockets before the disconnectreason has been set. 2015-09-04 19:07:05 -03:00
Brandon Smith
7376769581 Minor version edit 2015-09-04 02:38:19 -03:00
Brandon Smith
3438843900 0.6.1-beta1 2015-09-04 02:36:26 -03:00
Brandon Smith
751c8b1bd6 Updated HttpClient to 2.2.29 2015-09-03 21:54:20 -03:00
Brandon Smith
1236c85fba Clean up state during disconnect better. Don't allow UDP disposed errors to trigger the DisconnectReason. 2015-09-03 21:11:35 -03:00
Brandon Smith
94ec2ab5ca Remove more undeeded JoinVoiceServer parameters 2015-09-03 20:32:04 -03:00
Brandon Smith
ccbdf8f63c Don't require Server parameter when Channel is passed to JoinVoiceServer 2015-09-03 20:27:09 -03:00
Brandon Smith
e7b9a589b9 More reconnect tweaks 2015-09-03 20:16:25 -03:00
Brandon Smith
e1895e40cb Don't reset wasDisconnectUnexpected before using it. 2015-09-03 20:13:41 -03:00
Brandon Smith
1dca0bee24 Removed a few redundant debug events 2015-09-03 20:08:27 -03:00
Brandon Smith
61644d1f77 Added better WebSocket disconnect support 2015-09-03 20:03:47 -03:00
Brandon Smith
6343e8bfe9 Bumped up the default timeout from 5s to 10s 2015-09-01 21:38:11 -03:00
Brandon Smith
7f8b61f728 Dont parse commands if there are none configured. 2015-09-01 19:34:27 -03:00
Brandon Smith
e3af3988b9 Don't crash when null config is passed to DiscordClient 2015-09-01 19:31:30 -03:00
Brandon Smith
e6be52e83b Use better exceptions during websocket errors 2015-09-01 19:17:54 -03:00
Brandon Smith
999e62f81e Remove unnecessary DNXCore checks 2015-09-01 17:11:06 -03:00
Brandon Smith
4e29ff1ae6 I guess Mono doesn't support AllowNatTraversal? 2015-09-01 17:09:08 -03:00
Brandon Smith
6040920c23 v0.6.0 2015-09-01 15:58:08 -03:00
Brandon Smith
82d909a7c7 Refactor tools have failed me 2015-08-30 17:08:56 -03:00
Brandon Smith
738f5fa849 More cleanup 2015-08-30 17:08:24 -03:00
Brandon Smith
7f04af4db3 Unhid PrivateChannel 2015-08-30 16:55:16 -03:00
Brandon Smith
66d8eab986 Changed GetPMChannel to GetOrCreatePMChannel, added SendPrivateMessage, hid User.PrivateChannel 2015-08-30 16:46:52 -03:00
RogueException
597462857c Refactored DiscordClient, added argument validations to API and connection functions 2015-08-28 05:57:58 -03:00
Pat Murphy
d0a6108529 Adding argument null check in sendmessage 2015-08-27 15:55:22 -07:00
RogueException
8aee46153e Typo 2015-08-27 18:06:22 -03:00
RogueException
dc9552b9a0 Cleaned up websocket debug statements 2015-08-27 17:55:01 -03:00
RogueException
cb88b69a7f Added XHRRawOutput, XHRTiming and VoiceInput debug types 2015-08-27 17:38:24 -03:00
RogueException
adff96e1cf Fixed some edge cases, made Http (now called JsonHttpClient) instanced. 2015-08-27 17:06:38 -03:00
RogueException
26c603531a Fixed several command errors 2015-08-27 15:47:28 -03:00
RogueException
20e267cfa4 Added some more debug data, fixed potential crashes. 2015-08-27 13:55:15 -03:00
RogueException
2e85ed2899 Added EnableDebug option and a lot of debug events 2015-08-27 05:55:19 -03:00
RogueException
2086a0fa04 0.6 beta2 - Added api/gateway 2015-08-26 22:47:28 -03:00
RogueException
9d06e2b48d Clean all the things! 2015-08-26 16:14:19 -03:00
RogueException
a19c4b4547 Clean up dnxcore voice stuff 2015-08-25 15:14:12 -03:00
RogueException
d6acf44897 Don't show code specifics in exceptions. 2015-08-25 15:12:29 -03:00
RogueException
29328d5370 Added an EnabledVoice option to the config, disabled by default. 2015-08-25 15:06:50 -03:00
Brandon Smith
4438f3d35c Added ClearVoiceBuffer, thread support (disabled currently), and some minor voice performance improvements 2015-08-24 19:54:58 -03:00
Brandon Smith
94e26624d7 Cleanup 2015-08-24 19:12:18 -03:00
Brandon Smith
2df72bbb8f Clean up some debug statements 2015-08-24 18:55:02 -03:00
Brandon Smith
649e1bbe7c Don't crash when people leave a server 2015-08-24 18:54:00 -03:00
Brandon Smith
7e5813dd94 Fixed the voice things! 2015-08-24 18:20:45 -03:00
Brandon Smith
74517d0ef3 Initial outgoing audio support 2015-08-24 17:21:51 -03:00
Brandon Smith
74f1272737 Minor voice changes 2015-08-24 03:37:28 -03:00
Brandon Smith
1c547a7a83 Added opus libs 2015-08-24 03:37:15 -03:00