Commit Graph

23 Commits

Author SHA1 Message Date
Joni Räsänen e2234029d0 tests: Add tests for small NAL units
Add tests for very small NAL units (4+ bytes for h264 and 6+ for
h265/h266).
2022-11-23 13:41:42 +02:00
Joni Räsänen a0d8e97a9a tests: Add test for all H264 single NAL unit types 2022-11-23 10:34:08 +02:00
Joni Räsänen 32264614ea tests: Update enum names to correct ones in tests 2022-09-21 08:40:06 +03:00
Joni Räsänen 76b13879e5 common: Separate fps enforcement and fragment pacing
This commit also fixes (mostly) the fps enforcement.
2022-09-16 16:15:36 +03:00
Joni Räsänen 8bb939b1aa tests: Expand test set to cover (almost) all of the flags 2022-09-08 11:52:17 +03:00
Joni Räsänen 1186237260 tests: Fix fps test by increasing ring buffer 2022-09-07 13:02:36 +03:00
Joni Räsänen ae8a647227 tests: Remove non fps large frame test 2022-08-22 12:51:37 +03:00
Joni Räsänen 2abf0bc4ef common: FPS API for sending 2022-08-22 11:34:06 +03:00
Joni Räsänen 1408f03182 tests: More flexibility to creation of test packets 2022-07-13 13:34:18 +03:00
Joni Räsänen bca3bdb18e formats: Add RTP flag that can be used to disable SCL
This obsoletes the old RCE flag, that did not work.
2022-07-04 12:01:49 +03:00
Joni Räsänen 7973806835 tests: Fix the format tests NAL types 2022-06-18 19:17:30 +03:00
Joni Räsänen ffc4bcf23c tests: Update tests with correct NAL type for each format 2022-06-17 10:06:01 +03:00
Joni Räsänen 9263d75754 tests: Add possibility to specify amount of packets tested
Also fixes one format specific issue that arises if data is set to 'a'.
2022-05-13 09:44:08 +03:00
Joni Räsänen 5b67d87e80 tests: Enable largest test sizes
They seem to work almost as well as other tests
2022-04-01 09:36:20 +03:00
Joni Räsänen b4fb379285 tests: Add a separate test case for large frames 2022-04-01 08:52:12 +03:00
Joni Räsänen c5c187c9f8 tests: Add more test cases to formats
Linux version has some problems with large packet sizes and these tests
help find out where the problems start showing themselves.
2022-03-31 12:35:12 +03:00
Joni Räsänen 4ecfedcdc8 formats: Fix dropped frames based on size bug
The allowed payload sizes were calculated slightly incorrectly and
this caused frames with sizes near the allowed frame size to be not
sent or sent incorrectly. Now all these errors should be fixed.
2022-03-31 10:05:41 +03:00
Joni Räsänen ec53c76d4a tests: Replicate a frame size bug in formats with tests 2022-03-25 10:31:48 +02:00
Joni Räsänen 21aa2efe8e tests: Various improvements to most tests 2022-03-23 14:28:09 +02:00
Joni Räsänen 227da23d34 tests: Add functions usable by all tests
This makes the tests much, much easier to modify and add new tests.
2022-03-04 10:20:52 +02:00
Joni Räsänen 448b3c0bcb tests: Reduce test time and check version in formats test 2022-03-03 16:58:36 +02:00
Joni Räsänen f62ade9c70 Merge branch 'example_improvements'
# Conflicts:
#	CMakeLists.txt
#	src/formats/h264.hh
#	src/formats/h265.hh
#	src/formats/h266.hh
#	src/formats/h26x.cc
#	src/formats/h26x.hh
#	src/lib.cc
#	src/pkt_dispatch.hh
#	src/rtp.cc
#	uvgRTP.pro
2022-02-22 14:03:49 +02:00
Joni Räsänen f176da72d8 tests: Reorder tests in terms of complexity
Running simpler tests first seems better since there are fewer
potential problem areas tested at one time limiting the search area for
bugs. Another reason was that I was having problems with srtp on
windows for some reason.
2022-02-03 11:19:55 +02:00