LocalServerDiscovery

class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Used to discover Jellyfin servers in the local network.

Use the discover function to retrieve a flow of servers until the timeout is exceeded or the maximum amount of servers has been retrieved.

class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Used to discover Jellyfin servers in the local network.

Use the discover function to retrieve a flow of servers until the timeout is exceeded or the maximum amount of servers has been retrieved.

class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Used to discover Jellyfin servers in the local network.

Use the discover function to retrieve a flow of servers until the timeout is exceeded or the maximum amount of servers has been retrieved.

Constructors

LocalServerDiscovery
Link copied to clipboard
fun LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
fun LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Types

Companion
Link copied to clipboard
common
object Companion

Functions

discover
Link copied to clipboard
common
fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>

Discover servers on the local network

fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>
fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>
fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>