fn track_property_value_in_range(key: u64, value: u64) -> boolExpand description
Whether value is inside the range draft-23 allows for a Track Property
type that restricts one.
Three types do, and each answers anything outside its range with MALFORMED_KEY_VALUE. DEFAULT_PUBLISHER_PRIORITY (0x0E), Section 10.4: “If an endpoint receives a value above 255, it MUST close the session with MALFORMED_KEY_VALUE.” DEFAULT_PUBLISHER_GROUP_ORDER (0x22), Section 10.5: “The allowed values are Ascending (0x1) or Descending (0x2). If an endpoint receives a value outside this range, it MUST close the session with MALFORMED_KEY_VALUE.” DYNAMIC_GROUPS (0x30), Section 10.6: “If an endpoint receives a value larger than 1, it MUST close the session with MALFORMED_KEY_VALUE.”
The numbers belong to the Property registry, not the Message Parameter one: 0x22 is also GROUP_ORDER as a parameter.