diff --git a/src/BiliLite.UWP/BiliLite.UWP.csproj b/src/BiliLite.UWP/BiliLite.UWP.csproj index 71cbc45c..77252eb2 100644 --- a/src/BiliLite.UWP/BiliLite.UWP.csproj +++ b/src/BiliLite.UWP/BiliLite.UWP.csproj @@ -1038,9 +1038,6 @@ 10.1.1 - - 2.1.1 - 1.0.2 diff --git a/src/BiliLite.UWP/Modules/Live/LiveMessage.cs b/src/BiliLite.UWP/Modules/Live/LiveMessage.cs index e1db8bd8..dea06ded 100644 --- a/src/BiliLite.UWP/Modules/Live/LiveMessage.cs +++ b/src/BiliLite.UWP/Modules/Live/LiveMessage.cs @@ -9,14 +9,11 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Windows.UI.Xaml; -using Windows.UI.Xaml.Media; using System.ComponentModel; using BiliLite.Models.Common; using BiliLite.Services; using BiliLite.Extensions; using System.IO.Compression; -using Brotli; -using Google.Protobuf.WellKnownTypes; /* * 参考文档: @@ -163,7 +160,7 @@ await ws.SendAsync(EncodeData(JsonConvert.SerializeObject(new uid = uid, buvid = buvid, key = token, - protover = 3, + protover = 2, //暂时不要加上platform,否则未登录时会隐藏用户名 //platform = "web" }), 7), WebSocketMessageType.Binary, true, CancellationToken.None); @@ -476,8 +473,7 @@ private byte[] DecompressDataWithDeflate(byte[] data) /// private byte[] DecompressDataWithBrotli(byte[] data) { - var decompressData = data.DecompressFromBrotli(); - return decompressData; + throw new NotImplementedException(); } public void Dispose()