Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
467 stars 288 forks source link

AVTP Sequence number mismatch #918

Open ShanmathiP opened 3 years ago

ShanmathiP commented 3 years ago

Test Setup

Send ts video file stream from talker to Listener. Talker- AVB enabled device via an AVB aware Ethernet switch, using ptp4l and switch acting as PTP grandmaster Listener - Linux PC force linux PC to act as a slave -> daemon_cl eth -V -E -INITSYNC 0 -F gptp_cfg.ini gst is enabled -> AVB_FEATURE_GSTREAMER ?= 1

gst command from Talker

gst-launch-1.0 filesrc location=/input_1280x720.ts ! video/mpegts, systemstream=true ! v4l2sink sync=true device=device show-preroll-frame=false

Open AVB command

./openavb_harness -I enp2s0 mpeg2ts_gst_listener.ini

I am able to capture the ts file contents at Linux PC. We are currently facing packet loss and also noticed the following info upon execution.

[1626196957:919975666 OPENAVB Raw Socket] INFO: Using atl implementation [1626196961:248332140 OPENAVB AVTP] INFO: AVTP sequence mismatch: expected: 1, got: 0, lost 255 [1626196961:248817954 OPENAVB AVTP] INFO: AVTP sequence mismatch: expected: 2, got: 1, lost 255

Is there any start offset to be defined for configuring the AVTP sequence start? Based on the above message it appears that there is always a difference of 1 sequence number, between expected and got value.

Any hint to resolve this issue would be of great help.

Thanks & Regards, Shanmathi P