Skip to content

mx-remote 11.0.0

Choose a tag to compare

@opdenkamp opdenkamp released this 01 Nov 00:19
· 42 commits to master since this release

Take a mesh's controller role, run both endpoints a unit has, and keep the registry and audio routes as a unit keeps them, in step with mx-remote-rust 11.0.0. This release includes 10.0.0, which was not published separately.

Added

  • Mesh controller role: Remote(mesh_device=True) announces mesh membership, and set_mesh_controller() and set_mesh_bays_mapped() set the role the hello announces. MeshOperationMessage and send_mesh_operation() send what a controller sends; a controller's report about itself is kept as mesh_controller_report, and any other operation reaches on_mesh_operation(). send_oneip_source_list() sends the mesh's source list, in pages of 36 past one frame.
  • Controller writes, each refused unsent where a unit would drop the frame:
    • to one OneIP unit: set_oneip_mirroring(), set_oneip_source_filter(), set_oneip_tiling(), set_rc_settings(), confirm_oneip_vlan(), set_oneip_locale(), set_oneip_skip_420(), set_oneip_dscp() and request_oneip_power_save();
    • to every unit: set_mesh_setup_completed(), set_mesh_installer(), request_all_oneip_power_save(), upgrade_all_video_processors(), send_oneip_detect_bays(), reboot_all(), reboot_mesh() and factory_reset_all().
  • OneIP routing as a controller routes: route_oneip_unit(), route_oneip_unit_with_arc() and unroute_oneip_unit().
  • Audio routes across units: Remote.audio_route() returns the path a unit finds, hop by hop as AudioHop, and select_audio_endpoint_input() switches every unit on it from the sink's end.
  • Device registry: Remote.device_tree lists devices as a unit lists them, from peers' topology reports. A device silent for three offline windows is forgotten (on_device_unregistered) until its next hello.
  • Reads: oneip_locale, oneip_preview (with ONEIP_PREVIEW_PORT), raw_name, raw_version, raw_serial, bays_online, multicast, igmp_querier, audio_endpoints, audio_reported, Bay.status_word and Bay.p8_device (from the 96-byte connect frame); NetworkPortStatus.uplink and video_link; and VideoSignalDetails gains the active size, interlaced and HDR.

Changed

  • The client always opens both endpoints a unit has: the group 224.8.8.8 on 8812 and the subnet broadcast on 8811. Each frame goes out by the endpoints a unit would choose: frames for every unit by both, a frame for one device by the endpoint that device is heard by, and anything else by the group, and by broadcast too while some peer is not heard by multicast. Repeated datagrams within 100 ms are dropped.
  • A source's oneip_privacy is dropped after a hello showing the unit may have restarted, since its new streams use new keys.
  • A sent audio route or lock is held as the device's state until the unit reports again, and a unit's audio reports are ignored for 500 ms after a command.
  • set_name("") keeps the bay's name until its unit reports the default.
  • Every 0x1F source switch carries its 8-byte options block, with power on set.
  • A hello under 54 bytes, a ping from an unknown sender, and a ping that is not exactly 16 bytes are ignored.

Fixed

  • A multiviewer's audio report no longer crashes the bay mapping and skips its callbacks. A bay now holds the endpoint from its unit's latest audio report, not an earlier one that nothing updates.

Breaking

  • Remote(broadcast=...), update_config(broadcast=...) and mxr -b are accepted and ignored with a warning, and Remote.broadcast reads False. DeviceRegistry.transmit takes the device a frame is for, and ConnectionCallbacks.on_datagram_received the path a frame arrived by.
  • OneIPVideoProcessorFeature keeps RTOS alone; its other members are removed because their bits now mean something else.
  • An audio route that no reported path leads along is refused, and nothing is sent.
  • OneIPDownmix takes status in place of state and channels. Reading .state and .channels still works with a DeprecationWarning.
  • oneip_privacy goes back to None after a hello that shows a restart.

Full Changelog: v9.4.0...v11.0.0