mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Fix consumer count off by one when closing a browser tab with a livestream that is transcoding (#13220)
Rework Implementation Fix review issues Add missing nullorempty check Fix closely related #13721
This commit is contained in:
@@ -342,5 +342,13 @@ namespace MediaBrowser.Controller.Session
|
||||
Task RevokeUserTokens(Guid userId, string currentAccessToken);
|
||||
|
||||
Task CloseIfNeededAsync(SessionInfo session);
|
||||
|
||||
/// <summary>
|
||||
/// Used to close the livestream if needed.
|
||||
/// </summary>
|
||||
/// <param name="liveStreamId">The livestream id.</param>
|
||||
/// <param name="sessionIdOrPlaySessionId">The session id or playsession id.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task CloseLiveStreamIfNeededAsync(string liveStreamId, string sessionIdOrPlaySessionId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user