rtpmidi
This provides functions for working with RTP-MIDI in Rust.
Usage
let port = 5004_u16;
let ssrc = 123456_u32;
let session = start; // you can choose to accept all invitations, none, or supply a custom handler
// Wait for midi commands
session
.add_listener
.await;
// invite another participant to the session
let addr = new;
let _ = invite_server.invite_participant.await.unwrap;
// send MIDI commands
let command = NoteOn ;
session.send_midi.await.unwrap;
See the Examples directory for more examples.
Installation
cargo add rtpmidi
Status
Supported:
- Responding to invitations
- Inviting others
- Advertising via MDNS / Bonjour (optional - enable the 'mdns' feature for this)
- SysEx
Not supported:
- Recovery journal