Browse Source

Renamed rtcGetLocalDescriptionSdp() to rtcGetLocalDescription()

Paul-Louis Ageneau 4 years ago
parent
commit
ebc6a4b65c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      include/rtc/rtc.h
  2. 1 1
      src/capi.cpp

+ 1 - 1
include/rtc/rtc.h

@@ -121,7 +121,7 @@ RTC_EXPORT int rtcSetLocalDescription(int pc);
 RTC_EXPORT int rtcSetRemoteDescription(int pc, const char *sdp, const char *type);
 RTC_EXPORT int rtcSetRemoteDescription(int pc, const char *sdp, const char *type);
 RTC_EXPORT int rtcAddRemoteCandidate(int pc, const char *cand, const char *mid);
 RTC_EXPORT int rtcAddRemoteCandidate(int pc, const char *cand, const char *mid);
 
 
-RTC_EXPORT int rtcGetLocalDescriptionSdp(int pc, char *buffer, int size);
+RTC_EXPORT int rtcGetLocalDescription(int pc, char *buffer, int size);
 
 
 RTC_EXPORT int rtcGetLocalAddress(int pc, char *buffer, int size);
 RTC_EXPORT int rtcGetLocalAddress(int pc, char *buffer, int size);
 RTC_EXPORT int rtcGetRemoteAddress(int pc, char *buffer, int size);
 RTC_EXPORT int rtcGetRemoteAddress(int pc, char *buffer, int size);

+ 1 - 1
src/capi.cpp

@@ -529,7 +529,7 @@ int rtcAddRemoteCandidate(int pc, const char *cand, const char *mid) {
 	});
 	});
 }
 }
 
 
-int rtcGetLocalDescriptionSdp(int pc, char *buffer, int size) {
+int rtcGetLocalDescription(int pc, char *buffer, int size) {
 	return WRAP({
 	return WRAP({
 		auto peerConnection = getPeerConnection(pc);
 		auto peerConnection = getPeerConnection(pc);