summaryrefslogtreecommitdiff
path: root/lib/avtp_pipeline/intf_viewer/latency_listener.ini
diff options
context:
space:
mode:
Diffstat (limited to 'lib/avtp_pipeline/intf_viewer/latency_listener.ini')
-rw-r--r--lib/avtp_pipeline/intf_viewer/latency_listener.ini126
1 files changed, 126 insertions, 0 deletions
diff --git a/lib/avtp_pipeline/intf_viewer/latency_listener.ini b/lib/avtp_pipeline/intf_viewer/latency_listener.ini
new file mode 100644
index 00000000..b85d4e18
--- /dev/null
+++ b/lib/avtp_pipeline/intf_viewer/latency_listener.ini
@@ -0,0 +1,126 @@
+#####################################################################
+# The Latency Talker and Latency Listener configurations are designed
+# to test the total latency from the talker to the listener. This
+# includes both network tranmission and AVB stack overhead. The max
+# latency reported at the listener over time can be used as a basis for
+# setting up the max_transit_usec in a real configuration to allow for
+# synchronization of multiple listeners. To fine tune this max_transit_usec
+# setting the real talker should be used.
+#####################################################################
+
+#####################################################################
+# General Listener configuration
+#####################################################################
+# role: Sets the process as a talker or listener. Valid values are
+# talker or listener
+role = listener
+
+# stream_addr: Used on the listener and should be set to the
+# mac address of the talker.
+stream_addr = 84:7E:40:2C:8F:DE
+
+# stream_uid: The unique stream ID. The talker and listener must
+# both have this set the same.
+stream_uid = 1
+
+# dest_addr: see description in talker.ini
+#dest_addr = 91:e0:f0:00:fe:00
+
+# max_interval_frames: The maximum number of packets that will be sent during
+# an observation interval. This is only used on the talker.
+#max_interval_frames = 1
+
+# sr_class: A talker only setting. Values are either A or B. If not set an internal
+# default is used.
+#sr_class = B
+
+# sr_rank: A talker only setting. If not set an internal default is used.
+#sr_rank = 1
+
+# max_transit_usec: Allows manually specifying a maximum transit time.
+# On the talker this value is added to the PTP walltime to create the AVTP Timestamp.
+# On the listener this value is used to validate an expected valid timestamp range.
+# Note: For the listener the map_nv_item_count value must be set large enough to
+# allow buffering at least as many AVTP packets that can be transmitted during this
+# max transit time.
+#max_transit_usec = 2000
+
+# internal_latency: Allows mannually specifying an internal latency time. This is used
+# only on the talker.
+#internal_latency = 0
+
+# max_stale: The number of microseconds beyond the presentation time that media queue items will be purged
+# because they are too old (past the presentation time). This is only used on listener end stations.
+# Note: needing to purge old media queue items is often a sign of some other problem. For example: a delay at
+# stream startup before incoming packets are ready to be processed by the media sink. If this deficit
+# in processing or purging the old (stale) packets is not handled, syncing multiple listeners will be problematic.
+#max_stale = 1000
+
+# raw_tx_buffers: The number of raw socket transmit buffers. Typically 4 - 8 are good values.
+# This is only used by the talker. If not set internal defaults are used.
+#raw_tx_buffers = 1
+
+# raw_rx_buffers: The number of raw socket receive buffers. Typically 50 - 100 are good values.
+# This is only used by the listener. If not set internal defaults are used.
+#raw_rx_buffers = 100
+
+# report_seconds: How often to output stats. Defaults to 10 seconds. 0 turns off the stats.
+# report_seconds = 0
+
+# Ethernet Interface Name. Only needed on some platforms when stack is built with no endpoint functionality
+# ifname = eth0
+
+#####################################################################
+# Mapping module configuration
+#####################################################################
+# map_lib: The name of the library file (commonly a .so file) that
+# implements the Initialize function. Comment out the map_lib name
+# and link in the .c file to the openavb_tl executable to embed the mapper
+# directly into the executable unit. There is no need to change anything
+# else. The Initialize function will still be dynamically linked in.
+map_lib = ./libopenavb_map_pipe.so
+
+# map_fn: The name of the initialize function in the mapper.
+map_fn = openavbMapPipeInitialize
+
+# map_nv_item_count: The number of media queue elements to hold.
+map_nv_item_count = 20
+
+#map_nv_max_payload_size: The maximum payload size that the pipe will use.
+map_nv_max_payload_size = 200
+
+# map_nv_push_header
+map_nv_push_header = 1
+
+# map_nv_pull_header
+map_nv_pull_header = 1
+
+#####################################################################
+# Interface module configuration
+#####################################################################
+# intf_lib: The name of the library file (commonly a .so file) that
+# implements the Initialize function. Comment out the intf_lib name
+# and link in the .c file to the openavb_tl executable to embed the interface
+# directly into the executable unit. There is no need to change anything
+# else. The Initialize function will still be dynamically linked in.
+intf_lib = ./libopenavb_intf_viewer.so
+
+# intf_fn: The name of the initialize function in the interface.
+intf_fn = openavbIntfViewerInitialize
+
+# intf_nv_view_type: Type of viewing output.
+intf_nv_view_type = 3
+
+# intf_nv_view_interval: Frequency of output (in packet count)
+intf_nv_view_interval = 4000
+
+# intf_nv_raw_offset: Offest into the raw frame to output
+intf_nv_raw_offset = 0
+
+# intf_nv_raw_length: Length of the raw frame to output. 0 = all.
+intf_nv_raw_length = 0
+
+# intf_nv_ignore_timestamp: If set the listener will ignore the timestamp on media queue items.
+# intf_nv_ignore_timestamp = 1
+
+