Lachee / discord-rpc-csharp

C# custom implementation for Discord Rich Presence. Not deprecated and still available!
MIT License
560 stars 93 forks source link

Fixes pipe stream chunking #168

Closed RecklessBoon closed 2 years ago

RecklessBoon commented 2 years ago

Pipe chunking would never go over the 2048 max chunk size. This fixes that so it is actually read in chunks. You can validate by issuing a "GET_VOICE_SETTINGS" command to RPC which gives a pretty sizeable response, which in my case was larger than the 2048 chunk.

Lachee commented 2 years ago

excellent, thanks! I havnt tested it on larger payloads a they were not documented at the time. Cheer :)