Skip to content

Commit

Permalink
rist: use monotonic clock for dejitter
Browse files Browse the repository at this point in the history
  • Loading branch information
funman committed Sep 13, 2024
1 parent bb685de commit 0654abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/rist_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ int main(int argc, char *argv[])

udp_sink_mgr = upipe_udpsink_mgr_alloc();

uclock = uclock_std_alloc(UCLOCK_FLAG_REALTIME);
uclock = uclock_std_alloc(0);

logger = uprobe_uclock_alloc(logger, uclock);
assert(logger != NULL);
Expand Down
2 changes: 1 addition & 1 deletion examples/rist_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int main(int argc, char *argv[])
0);
struct upump_mgr *upump_mgr = upump_ev_mgr_alloc_default(UPUMP_POOL,
UPUMP_BLOCKER_POOL);
struct uclock *uclock = uclock_std_alloc(UCLOCK_FLAG_REALTIME);
struct uclock *uclock = uclock_std_alloc(0);
struct uprobe uprobe;
uprobe_init(&uprobe, catch, NULL);
struct uprobe *logger = uprobe_stdio_alloc(&uprobe, stdout, loglevel);
Expand Down

0 comments on commit 0654abc

Please sign in to comment.