mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-rtp: add timer for ck requests
Scale RTP timestamps against the clock, allow some jitter. Make method to query current RTP timestamps.
This commit is contained in:
parent
8e5b9da177
commit
c5effbd979
5 changed files with 181 additions and 25 deletions
|
|
@ -151,8 +151,6 @@ struct impl {
|
|||
struct spa_hook core_listener;
|
||||
struct spa_hook core_proxy_listener;
|
||||
|
||||
struct spa_source *timer;
|
||||
|
||||
struct pw_properties *stream_props;
|
||||
struct rtp_stream *stream;
|
||||
|
||||
|
|
@ -338,9 +336,6 @@ static void impl_destroy(struct impl *impl)
|
|||
if (impl->core && impl->do_disconnect)
|
||||
pw_core_disconnect(impl->core);
|
||||
|
||||
if (impl->timer)
|
||||
pw_loop_destroy_source(impl->loop, impl->timer);
|
||||
|
||||
if (impl->rtp_fd != -1)
|
||||
close(impl->rtp_fd);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue