Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jbuf: adaptive playout time calculation #2757

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
d1a6cd4
jbuf: use clock based playout time
sreimers Oct 8, 2023
9901091
stream, jbuf: add tmr decode fallback
sreimers Oct 9, 2023
1ca7613
add tracing and experimental tmr optimizations
sreimers Oct 12, 2023
f71cab7
stream,rtprecv: add rtprecv_srate
sreimers Oct 26, 2023
5b31f67
rtprecv: add jbuf_set_id
sreimers Oct 26, 2023
bf13b78
rtprecv: add decode timer
sreimers Nov 6, 2023
9397462
refactor jbuf_next_play
sreimers Nov 7, 2023
63a689c
wip
sreimers Nov 12, 2023
e11396e
wip
sreimers Dec 18, 2023
7b6c74a
fix linter
sreimers Jan 7, 2024
65569e3
test/jbuf: fix test_jbuf
sreimers Jan 7, 2024
6d58db6
jbuf: fix adapative test
sreimers Jan 7, 2024
c12eb47
test/jbuf: fix EAGAIN race condition (slow test execution)
sreimers Jan 7, 2024
358a019
jbuf: refactoring testing
sreimers Jan 8, 2024
a04b764
test/jbuf: fix linting and unused warning
sreimers Jan 8, 2024
64a8a99
test/jbuf: add video tests
sreimers Jan 8, 2024
8b366cd
rtprecv: rename rtprecv_set_srate
sreimers Jan 9, 2024
78457f1
jbuf: fix mutex locking (srate, id and jbuf_next_play)
sreimers Jan 12, 2024
ba44d8e
jbuf: refactor jbuf_alloc min/max delay in ms
sreimers Jan 18, 2024
f1f4483
config: use audio_jitter_buffer_ms and video_jitter_buffer_ms
sreimers Jan 19, 2024
18106dc
rtprecv: use 10ms fallback timer
sreimers Feb 1, 2024
1b5cd49
refactoring
sreimers Feb 1, 2024
4de6794
fix linting
sreimers Feb 1, 2024
9867664
fix unused delay warning
sreimers Feb 1, 2024
04ceedf
fix ccheck
sreimers Feb 1, 2024
a59721f
cleanup and clock skew refactoring
sreimers Feb 3, 2024
ec9e2bc
add seq late packets
sreimers Feb 3, 2024
3b03960
fix INT_MIN
sreimers Feb 3, 2024
7204a58
adapt skew only in adaptive mode
sreimers Feb 3, 2024
2f08a0a
fix headers
sreimers Feb 3, 2024
30ab8b2
fix drift detection (check only within drift window)
sreimers Feb 4, 2024
62409d6
cleanup and reset playout on flush
sreimers Feb 4, 2024
7e61b69
jbuf: check invalid ts_arrive header
sreimers Feb 6, 2024
897c58b
fix ts_arrive test
sreimers Feb 6, 2024
ed68f41
rtprecv: fix video max size
sreimers Feb 19, 2024
aade365
jbuf: fix skew drift window handling
sreimers Feb 19, 2024
007b045
jbuf: extend jbuf_stat with late_lost and current delay
sreimers Mar 20, 2024
fe9abc0
refacto skew handling, remove unused n_underflow and re-add n_lost stats
sreimers Apr 4, 2024
f13c0db
include: refactor config_avt audio/video struct
sreimers Apr 5, 2024
f6fc7b7
rename next play handler
sreimers May 7, 2024
8a39ce5
config: decrease default max latency
sreimers May 16, 2024
bbfeec6
jbuf/stats: add current jitter delay and packets
sreimers Jun 27, 2024
b0159f8
jbuf: fix next_play_h usage and use specific errnos
sreimers Jul 11, 2024
7a389d9
jbuf: improve doxygen for jbuf_next_play
sreimers Jul 11, 2024
53f4537
test/jbuf: fix ENOENT empty list return check
sreimers Jul 11, 2024
dbc53e6
jbuf: fix wrong offset handling and improve jitter delay handling
sreimers Jul 11, 2024
d4dc011
jbuf: add TRACE lost
sreimers Aug 5, 2024
823a955
jbuf: add jbuf_stat generic NACKS
sreimers Oct 3, 2024
4958a28
rtprecv: fix err loop check
sreimers Oct 18, 2024
2ad3894
test/jbuf: fix clang analyze warning
sreimers Dec 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix ccheck
  • Loading branch information
sreimers committed Jan 8, 2025
commit 04ceedf9f6e236041450ceb7e2a86aa10b1097e8
2 changes: 1 addition & 1 deletion test/jbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int test_jbuf(void)
ASSERT_EQ(testv_20ms_late_loss[i].err_put, err);

next_play_val = testv_20ms_late_loss[i].playout;

err = jbuf_get(jb, &hdr_out, &mem);
ASSERT_EQ(testv_20ms_late_loss[i].err_get, err);
if (testv_20ms_late_loss[i].err_get == ENOENT)
Expand Down