Repository navigation
mx-remote 11.0.0
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, andset_mesh_controller()andset_mesh_bays_mapped()set the role the hello announces.MeshOperationMessageandsend_mesh_operation()send what a controller sends; a controller's report about itself is kept asmesh_controller_report, and any other operation reacheson_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()andrequest_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()andfactory_reset_all().
- to one OneIP unit:
- OneIP routing as a controller routes:
route_oneip_unit(),route_oneip_unit_with_arc()andunroute_oneip_unit(). - Audio routes across units:
Remote.audio_route()returns the path a unit finds, hop by hop asAudioHop, andselect_audio_endpoint_input()switches every unit on it from the sink's end. - Device registry:
Remote.device_treelists 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(withONEIP_PREVIEW_PORT),raw_name,raw_version,raw_serial,bays_online,multicast,igmp_querier,audio_endpoints,audio_reported,Bay.status_wordandBay.p8_device(from the 96-byte connect frame);NetworkPortStatus.uplinkandvideo_link; andVideoSignalDetailsgains 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_privacyis 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=...)andmxr -bare accepted and ignored with a warning, andRemote.broadcastreads False.DeviceRegistry.transmittakes the device a frame is for, andConnectionCallbacks.on_datagram_receivedthe path a frame arrived by.OneIPVideoProcessorFeaturekeepsRTOSalone; 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.
OneIPDownmixtakesstatusin place ofstateandchannels. Reading.stateand.channelsstill works with a DeprecationWarning.oneip_privacygoes back to None after a hello that shows a restart.
Full Changelog: v9.4.0...v11.0.0