pub struct V2ipPtpMessages {
pub log_announce_interval: i8,
pub log_sync_interval: i8,
pub log_delay_req_interval: i8,
pub announce_timeout: u8,
pub dscp: u8,
pub sap_expire_min: u8,
pub sap_interval_s: u16,
pub stream_ttl: u8,
pub sink_rotation: u16,
pub sink_rotation_step: u16,
}Expand description
How a OneIP device paces its PTP messages, its SAP timings, its streams’
TTL and its output’s rotation, which a frame carries in the same block. Each value is behind its own bit of
V2ipDeviceSettings::valid, one of
SETTINGS_BLOCK.
Intervals are base-2 logarithms of seconds, so -3 is 125 ms and 1 is 2 s.
Fields§
§log_announce_interval: i8Between announce messages, behind
PTP_ANNOUNCE.
log_sync_interval: i8Between sync messages, behind PTP_SYNC.
log_delay_req_interval: i8Between delay requests, behind
PTP_DELAY_REQ.
announce_timeout: u8The announce intervals before a silent master is dropped, behind
PTP_ANNOUNCE_TIMEOUT.
dscp: u8The DSCP of the messages, at most V2IP_DSCP_MAX, behind
PTP_DSCP.
sap_expire_min: u8The minutes after which a SAP announcement the device heard is
forgotten, behind SAP_EXPIRE.
sap_interval_s: u16The seconds between the device’s SAP announcements, behind
SAP_INTERVAL.
stream_ttl: u8The TTL of the device’s streams, 1 to 255, behind
STREAM_TTL. A device whose video
processor cannot change it keeps the setting and sends
V2IP_STREAM_TTL_DEFAULT.
sink_rotation: u16The degrees the device’s HDMI output is turned by, clockwise, at most
V2IP_SINK_ROTATION_MAX, behind
SINK_ROTATION.
sink_rotation_step: u16The step the output turns by: the device takes only an angle that is a multiple of it, and 0 alone when it is 0. Only the device reports it, behind the same bit.