Procházet zdrojové kódy

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

Fix renaming of rtcGetLastTrackSenderReportTimestamp() in C API header
Paul-Louis Ageneau před 2 roky
rodič
revize
c91e6b16cf
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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
 // Set RTP timestamp for track identified by given id
 RTC_C_EXPORT int rtcSetTrackRtpTimestamp(int id, uint32_t timestamp);
 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
 // Set NeedsToReport flag in RtcpSrReporter handler identified by given track id
 RTC_C_EXPORT int rtcSetNeedsToSendRtcpSr(int id);
 RTC_C_EXPORT int rtcSetNeedsToSendRtcpSr(int id);