LocalServerDiscovery

expect class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
actual 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

Link copied to clipboard
expect constructor(jellyfinOptions: JellyfinOptions)
actual constructor(jellyfinOptions: JellyfinOptions)

Types

Link copied to clipboard
expect object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<<Error class: unknown class>>

Discover servers on the local network

actual fun discover(timeout: Int, maxServers: Int): Flow<<Error class: unknown class>>