mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Remove conversion from IPAddress to string to IPAddress
This commit is contained in:
@@ -434,7 +434,7 @@ namespace Jellyfin.Api.Helpers
|
||||
}
|
||||
}
|
||||
|
||||
private bool EnableAdaptiveBitrateStreaming(StreamState state, bool isLiveStream, bool enableAdaptiveBitrateStreaming, string ipAddress)
|
||||
private bool EnableAdaptiveBitrateStreaming(StreamState state, bool isLiveStream, bool enableAdaptiveBitrateStreaming, IPAddress ipAddress)
|
||||
{
|
||||
// Within the local network this will likely do more harm than good.
|
||||
if (_networkManager.IsInLocalNetwork(ipAddress))
|
||||
|
||||
Reference in New Issue
Block a user