NOW LOADING

MidiRtpClientEntryState


Where a configured RTP-MIDI client entry is in its life
Namespace Windows.Devices.Midi2.Transports.Rtp
Type Name MidiRtpClientEntryState
Type WinRT Enumeration (a 32-bit unsigned or signed integer)
IDL MidiRtpClientEntryStateEnum.idl

Reported by MidiRtpConfiguredClient.EntryState.

Values

Value Numeric Value Description
Pending 0 Set up, and waiting to find or reach the remote device
Active 1 Connected
Retrying 2 The last try didn’t work, or the connection ended, and the service will try again by itself. LastErrorCode says why
Unavailable 3 The service won’t try again until ReconnectRtpClientAsync is called. This happens when AutoReconnect is false and a try or a connection ends, or when the connection was ended from this PC

Remarks

A remote device that can’t be found yet keeps the entry at Pending, whether AutoReconnect is on or not, because the service hasn’t been able to try. See the namespace overview for when the service tries again.

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.