diff options
| author | Greenback <jimcartlidge@yahoo.co.uk> | 2020-10-09 14:12:41 +0100 |
|---|---|---|
| committer | Greenback <jimcartlidge@yahoo.co.uk> | 2020-10-09 14:12:41 +0100 |
| commit | ebe650afa9e622d3f9e53e50b42ea676fdc25e6e (patch) | |
| tree | 51da5ba142a8243b0d36313ec0e54318132ff3a2 /Emby.Server.Implementations/Session/SessionWebSocketListener.cs | |
| parent | 8a4f81c9a7a03c6a45a8a9331f71ba06ae0ce521 (diff) | |
| parent | 10d48b062315581adc4706530bc388d53ff232a4 (diff) | |
Merge remote-tracking branch 'upstream/master' into NetworkPR2
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionWebSocketListener.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionWebSocketListener.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionWebSocketListener.cs b/Emby.Server.Implementations/Session/SessionWebSocketListener.cs index 15c2af220..a5f847953 100644 --- a/Emby.Server.Implementations/Session/SessionWebSocketListener.cs +++ b/Emby.Server.Implementations/Session/SessionWebSocketListener.cs @@ -8,6 +8,7 @@ using Jellyfin.Data.Events; using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Session; using MediaBrowser.Model.Net; +using MediaBrowser.Model.Session; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; @@ -316,7 +317,7 @@ namespace Emby.Server.Implementations.Session return webSocket.SendAsync( new WebSocketMessage<int> { - MessageType = "ForceKeepAlive", + MessageType = SessionMessageType.ForceKeepAlive, Data = WebSocketLostTimeout }, CancellationToken.None); |
