From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 02 九月 2022 14:56:40 +0800 Subject: [PATCH] 更新linphone sdk --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msticker.h | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msticker.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msticker.h index 0485987..f13be0f 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msticker.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msticker.h @@ -114,8 +114,10 @@ { uint64_t offset; /**<the default offset of ticker*/ double av_skew; /**< mean skew */ - unsigned int external_time_count; /**< number of times ms_ticker_synchronizer_set_external_time() is called */ + uint64_t origin_nsamples; /**< Sample count when ms_ticker_synchronizer_update() is called for the first time */ uint64_t current_nsamples; /**< The last number of samples read notified with ms_ticker_synchronizer_update*/ + uint64_t last_log_time; /**< The last time the skew log was issued*/ + unsigned int sample_rate; }; /** @@ -290,6 +292,14 @@ MS2_PUBLIC uint64_t ms_ticker_synchronizer_get_corrected_time(MSTickerSynchronizer* ts); /** + * Ask the ticker synchronizer to resynchronize. Use this when you are aware of an overrun/underrun and you think that the + * next update will report an errouneous sample count. + * @param ts A #MSTickerSynchronizer object. + * @return A corrected current time. + */ +MS2_PUBLIC void ms_ticker_synchronizer_resync(MSTickerSynchronizer* ts); + +/** * Destroy a ticker synchronizer. * @param ts A #MSTickerSynchronizer object. */ -- Gitblit v1.8.0