Skip to content

Releases

mx-remote 14.5.2

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 15:44

A key for an output showing an input of its own unit stays on the output; in step with mx-remote-rust 14.5.2.

Remote control

  • Bay.send_key() on an output routed to an input of the same unit, as on a matrix or a transmitter's loop output, sends the key to the output again. The unit keys the device on the output with the input's remote type, as its web API did. 14.5.1 sent it to the input, which keyed the source instead.
  • An output routed to another unit, as a OneIP receiver's is, still has its key sent to that unit's input: the source device.
  • The custom CEC and Sky key ranges take the same path as named keys. Actions (tx_action()) are unchanged and drive the device on an output.

Full Changelog: v14.5.1...v14.5.2

mx-remote 14.5.1

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 15:31

A key for an output reaches its source again; in step with mx-remote-rust 14.5.1.

Remote control

  • Bay.send_key() on an output sends the key to the source routed to it: as 0x0C TX_RC_KEY to the unit holding that input, for that input. Since 14.4.0 it went to the output's own unit, and OneIP receivers up to firmware 10.12.242 drop a key for an output, so play, pause and stop sent to an output did nothing. The unit's web API used to pass such a key on to the source the same way.
  • An output with nothing routed to it takes no key: send_key() returns False and sends nothing.
  • Keys for inputs, and actions (tx_action(), 0x0E), are unchanged: an action for an output still drives the display.

Full Changelog: v14.5.0...v14.5.1

mx-remote 14.5.0

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 15:09

A controller's uplink uid taken as plain hex; in step with mx-remote-rust 14.5.0.

Driver proxy

  • ProxyConfig(uplink_uid=...) takes the uid as the controller keeps it in /data/uplink-uid: 32 hex digits, the uid's bytes in wire order, with surrounding whitespace ignored. The dotted form and MxrDeviceUid still work.
  • A malformed uplink uid is refused with ValueError: a length other than 32 digits, a non-hex digit, or spaces between the bytes.

Full Changelog: v14.4.0...v14.5.0

mx-remote 14.4.0

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 13:38

Driving a mesh through a OneIP controller's driver proxy, and remote-control keys over mx_remote; in step with mx-remote-rust 14.4.0.

Driver proxy

  • A hello and a PROXY ANNOUNCE (0x59) under one uid mark a OneIP controller's driver proxy: DeviceBase.proxy_controller, MxrCallbacks.on_proxy_found() and on_proxy_controller_changed(). It counts as configured with no bays, and the mark lapses 30 s after the last ANNOUNCE.
  • Remote(proxy=ProxyConfig(controller, key, uplink_uid)) joins the proxy with its driver key and drives the mesh behind it by unicast on UDP 8813, every frame sealed with AES-256-GCM. No multicast or broadcast goes on the uplink. Needs the new mx_remote[proxy] extra.
  • The join proves the key both ways. The client joins again by itself after a refusal (10, 20, 40, then 60 s), a controller restart or a lapsed lease, and follows the controller to a new address once the key is proven there. on_proxy_join_status() reports each answer; Remote.proxy holds the session, including the controller's mesh_uid.
  • Behind a controller, every unit's Device.address is the controller's. Overlay syncs and previews, Device.get_api() and Device.get_log() are refused, since the proxy carries no HTTP.

Remote control

  • Bay.send_key() sends 0x0C TX_RC_KEY to the unit rather than calling its web API, so keys pass a driver proxy too.

Full Changelog: v14.2.0...v14.4.0

mx-remote 14.2.0

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 08:42

Port metadata across the mesh, the mesh membership token, overlay previews, and routes made on an output's own unit; in step with mx-remote-rust 14.2.0.

Port metadata (0x57 METADATA, INDEX, REQUEST)

  • set_port_metadata() stores up to 16 key/value fields per port; port_metadata(), port_metadata_store() and restore_port_metadata() read and restore what the mesh holds.
  • As mesh controller this client sends an index of every port's checksum, 1 s after a change and every 45–60 s; members pull what differs and request_port_metadata() pulls one port.
  • MxrCallbacks.on_port_metadata_changed() and on_port_metadata_generation_changed() report what arrives.

Mesh

  • MeshOperationMessage carries a membership token and flags (MeshOperationFlag.PROMOTE_CORRECTIVE), with register_with_token(), promote_controller_with_token() and report_membership_with_token(); Device.mesh_membership_token holds the one a unit reports.
  • CONTROLLER_STATE is no longer sent on announce-only interfaces.

Overlay

  • send_osd_preview() has one unit show a sync without storing it, from an image server of its own; hold_osd_preview(), commit_osd_preview() and revert_osd_preview() steer it, with OsdSyncState.PREVIEWING and REVERTED. The layout is provisional until the firmware confirms it.
  • DeviceBase.osd_message_reported stamps every overlay message report a unit sends.

Routing

  • MxrCallbacks.on_own_route_reported() reports a route made on an output's own unit (MX_ROUTE flag bit 0), every time, after its sources are applied.
  • The announced protocol is now 0x36.

Full Changelog: v13.0.0...v14.2.0

mx-remote 13.0.0

Choose a tag to compare

@opdenkamp opdenkamp released this 13 Nov 18:45

Dedicated mesh controllers, taking an overlay sync as a unit, lost-settings reporting, and confinement to the selected interface; in step with mx-remote-rust 13.0.0.

Dedicated controllers (0x58 CONTROLLER_STATE)

  • A device sending a CONTROLLER_STATE hello is marked as a dedicated controller: DeviceBase.controller_hello, dedicated_controller, and MxrCallbacks.on_controller_hello_changed().
  • Remote(dedicated_controller=True) sends one after its hello, at most every 10 s; set_controller_role() sets role and primary.
  • set_controller_parts() serves the parts of its state; pull_controller_part() pulls another's, in 8192-byte windows of 1024-byte frames, arriving at on_controller_part_received() or ending at on_controller_part_failed(). allow_controller_state() admits a controller from outside the mesh.
  • The announced protocol is now 0x34.

Mesh

  • request_mesh_bays(), mesh_bays() and send_mesh_bays(): a controller's numbering (0x57 kind 4/5), with on_mesh_bays_requested() and on_mesh_bays_received().
  • set_member_setup_completed() marks one member's setup (0x57 kind 9); set_setup_completed() sets this client's own SETUP_COMPLETED.
  • Lost settings: MeshConfigDigest.lost, MeshConfig.lost, Device.mesh_membership_lost, and BayStatusMask.SETTINGS_LOST, while which a bay keeps its name and hidden flag.
  • send_unit_status() reports this client's own unit status (0x4F).

Overlay sync as a unit

  • Remote(osd_sync=True) announces OSD_SYNC; request_osd_sync(), request_osd_settings() and send_osd_report() take a sync the way a unit does.
  • keep_osd_sync() holds content without sending it; OsdSync.logo_url() and OsdSyncSetting.entry help serve what was taken.

Network

  • On Linux, with local_ip given, only datagrams arriving on that interface are taken, and an address no interface holds fails to start.
  • The overlay logo server listens on local_ip alone, moving with it.
  • announce_interfaces / set_announce_interfaces() announce the hellos on further interfaces, leaving out MANAGER, MESH_MASTER and OSD_SYNC, and take nothing in there.
  • A peer counts towards this client's multicast fault only after a 60 s grace.

Full Changelog: v12.1.0...v13.0.0

mx-remote 12.1.0

Choose a tag to compare

@opdenkamp opdenkamp released this 05 Nov 08:58

Replace an offline unit of a mesh, and read and send the settings each unit keeps for its mesh, in step with mx-remote-rust 12.1.0.

Added

  • Replacing a mesh unit (0x56, units on protocol 0x32 and up):
    • Remote.query_mesh_replaceable() asks every device which offline units this client can replace, at most every 2 s.
    • Remote.mesh_replaceable lists the units offered in the last 30 s, each once, with the device that listed it.
    • Remote.request_mesh_replace() asks that device to replace one with this client. It is refused before sending where a unit would refuse it: the unit was not listed in the last 30 s, this client is in a mesh or has a default serial, or the unit has a OneIP source, OneIP sink or multiviewer feature this client lacks.
    • As a controller, send_mesh_replaceable() and send_mesh_replace_result() answer such a unit.
  • Kept settings (0x57, units on protocol 0x33 and up):
    • device.mesh_config_digest is the length and crc32 a unit announces of its own kept settings.
    • Remote.request_mesh_config() asks a device for a unit's settings, and Remote.mesh_config() reads them once every frame has arrived in order and the crc32 matches.
    • send_mesh_config_hello(), send_mesh_config() and send_mesh_config_set() send this client's own settings, an answer to a request, or settings a member is to take.
  • New types: MeshReplaceUnit, MeshReplaceUnits, MeshReplaceable, MeshReplaceResult, MeshSetting, MeshConfigDigest and MeshConfig. New limits: MESH_REPLACE_UNITS_MAX, MESH_REPLACE_NAME_MAX and MESH_CONFIG_MAX.
  • New callbacks on MxrCallbacks: on_mesh_replace_queried, on_mesh_replace_units_received, on_mesh_replace_requested, on_mesh_replace_answered, on_mesh_config_requested, on_mesh_config_received and on_mesh_config_set_requested.

Changed

  • The hello announces protocol version 0x33, the version units stamp on 0x57.

Fixed

  • Every frame from opcode 0x00 to 0x57 keeps its sender alive and proves its network path, as a unit treats it. That includes an application's 0x55 message, which was treated as past the opcode table.

Full Changelog: v12.0.0...v12.1.0

mx-remote 12.0.0

Choose a tag to compare

@opdenkamp opdenkamp released this 03 Nov 21:39

Read a OneIP unit's locale by name, read and change its remote control settings, and refuse tiling windows a unit ignores, in step with mx-remote-rust 12.0.0.

Added

  • rc_settings holds a unit's remote control and CEC settings as an RCSettings, from its own 0x45 report. set_rc_settings() can change one setting: any setting left out, and ip left at KEEP_REPORTED, is sent as the unit last reported it. A unit reports the settings it runs, not the ones it stores, so a setting left out stores what is running.
  • UnitFlag.FIRMWARE_UPGRADE (bit 18): the update service offered the unit a firmware upgrade. UnitFlag.UPGRADE_INSTALLING (bit 19): the unit is writing one to its flash, and its picture is gone until it restarts.
  • OsdCaptionField.DEFAULT_TEXT sends a unit back to its layout's default caption, drawn in its own locale.
  • ONEIP_TILING_X_STEP, ONEIP_TILING_WIDTH_STEP and ONEIP_TILING_MIN.

Changed

  • set_oneip_tiling() refuses, unsent, a window a OneIP output silently ignores. Its values are pixels of the decoded source. A window with a zero width or height shows the whole picture.
  • set_rc_settings() refuses to fill a setting left out from a unit that has not reported its settings yet.

Fixed

  • The locale is read and written by name, such as NL_NL, at byte 248 of the 0x3C settings block, where units send it. A locale write runs to 256 bytes.
  • ONEIP_PREVIEW_PORT is 50024, the port units send their live preview to.
  • The hello cuts the serial and version to 15 bytes and ends each with a zero byte. A unit reads each field up to its first zero byte, so a full 16-byte value ran on into the next field.
  • The docs of route_oneip_unit_with_arc() give the real reason a route to another unit's audio return plays no audio: OneIP firmware has no ARC support.

Breaking

  • oneip_locale returns str|None, and set_oneip_locale() takes a str. It refuses a name that is empty, longer than ONEIP_LOCALE_MAX (8) bytes, or not printable ASCII.
  • ONEIP_LOCALE_UNKNOWN is removed.
  • ONEIP_PREVIEW_PORT changes from 5880 to 50024.

Full Changelog: v11.0.0...v12.0.0

mx-remote 11.0.0

Choose a tag to compare

@opdenkamp opdenkamp released this 01 Nov 00:19

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

mx-remote 9.4.0

Choose a tag to compare

@opdenkamp opdenkamp released this 23 Oct 21:33

Read the session description a OneIP output plays, and locate a unit.

Added

  • request_oneip_sink_description() asks an output for the description it plays, and oneip_sink_description holds it. Outputs from protocol 0x31 report it in pages (0x52 type 5) when they start a stream other than by their controller, and when asked; the request is refused below 0x31. Pages are taken from offset 0, in order, with one length and at most 5 s apart. A status playing nothing clears the description.
  • locate_unit(timed=False) and stop_locating_unit() flash a unit's board-ID LED and show "Locate Device" on its output, for 30 s or until stopped. They are refused until the unit reports UnitFlag.LOCATE_SUPPORTED, and the cached status takes UnitFlag.LOCATE as soon as the command is sent.
  • UnitCommandKind.LOCATE, UnitCommandFlag.LOCATE_ON and LOCATE_TIMED.

Full Changelog: v9.3.0...v9.4.0