-
Notifications
You must be signed in to change notification settings - Fork 305
Openavb_harness bandwidth stress testing issue #679
Description
Hi everyone,
I've been doing some stress testing in OpenAVB on i.MX6Q (Listener). I set the listener's bandwidth to 100M, and use an AVB Talker to send Class B mjpeg streaming to Listener. After that, I use packet builder to send the broadcast streaming(best effort), make the whole bandwidth more than 100M(overload). I thought that the broadcast packets will be dropped, and the Class B streaming will still work fine, but in this case, Listener shows the error message as below:
**(openavb_harness:3185): CRITICAL **: gst_adapter_push: assertion 'GST_IS_BUFFER (buf)' failed
**(openavb_harness:3185): CRITICAL **: gst_jpeg_dec_fill_input_buffer: assertion 'dec-current_frame_map.data != NULL' failed
**(openavb_harness:3185): CRITICAL **: gst_jpeg_dec_fill_input_buffer: assertion 'dec-current_frame_map.data != NULL' failed[1503486928:713515128 OPENAVB MJPEG INTERFACE] ERROR: Mapping is wrong. Fragment timestamp should be 1586401565 instead of 16501182936
[1503486928:713515128 OPENAVB MJPEG INTERFACE] ERROR: Mapping is wrong. Fragment timestamp should be 1586401565 instead of 16501182936
[1503486928:713515128 OPENAVB MJPEG INTERFACE] ERROR: Mapping is wrong. Fragment timestamp should be 1586401565 instead of 16501182936
[1503486928:713515128 OPENAVB MJPEG INTERFACE] ERROR: Mapping is wrong. Fragment timestamp should be 1586401565 instead of 16501182936
These error messages seems like Listener lost some Class B streaming packet make the timestamp goes wrong. It also shows some mapping error in Gstreamer. Shouldn't the AVB Listener protect Class A,B streaming? What cause the openavb_harness program stop in this scenario?