Browse Source

Merge pull request #847 from paullouisageneau/fix-renaming-lastreport-capi

Fix renaming of rtcGetLastTrackSenderReportTimestamp() in C API header
Paul-Louis Ageneau 2 years ago
parent
commit
c91e6b16cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/rtc/rtc.h

+ 2 - 2
include/rtc/rtc.h

@@ -327,8 +327,8 @@ RTC_C_EXPORT int rtcGetCurrentTrackTimestamp(int id, uint32_t *timestamp);
 // Set RTP timestamp for track identified by given id
 RTC_C_EXPORT int rtcSetTrackRtpTimestamp(int id, uint32_t timestamp);
 
-// Get timestamp of previous RTCP SR, result is written to timestamp
-RTC_C_EXPORT int rtcGetPreviousTrackSenderReportTimestamp(int id, uint32_t *timestamp);
+// Get timestamp of last RTCP SR, result is written to timestamp
+RTC_C_EXPORT int rtcGetLastTrackSenderReportTimestamp(int id, uint32_t *timestamp);
 
 // Set NeedsToReport flag in RtcpSrReporter handler identified by given track id
 RTC_C_EXPORT int rtcSetNeedsToSendRtcpSr(int id);