Skip to content

Commit

Permalink
[core] Deleted deprecated API func srt_perfmon()
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko authored and rndi committed Aug 26, 2019
1 parent 196df3d commit 140ebc5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions srtcore/srt.h
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,6 @@ SRT_API const char* srt_strerror(int code, int errnoval);
SRT_API void srt_clearlasterror(void);

// performance track
// srt_perfmon is deprecated - use srt_bistats, which provides the same stats plus more.
SRT_API int srt_perfmon(SRTSOCKET u, SRT_TRACEINFO * perf, int clear) SRT_ATR_DEPRECATED;
// perfmon with Byte counters for better bitrate estimation.
SRT_API int srt_bstats(SRTSOCKET u, SRT_TRACEBSTATS * perf, int clear);
// permon with Byte counters and instantaneous stats instead of moving averages for Snd/Rcvbuffer sizes.
Expand Down
1 change: 0 additions & 1 deletion srtcore/srt_c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ void srt_clearlasterror()
UDT::getlasterror().clear();
}

int srt_perfmon(SRTSOCKET u, SRT_TRACEINFO * perf, int clear) { return CUDT::perfmon(u, perf, 0!= clear); }
int srt_bstats(SRTSOCKET u, SRT_TRACEBSTATS * perf, int clear) { return CUDT::bstats(u, perf, 0!= clear); }
int srt_bistats(SRTSOCKET u, SRT_TRACEBSTATS * perf, int clear, int instantaneous) { return CUDT::bstats(u, perf, 0!= clear, 0!= instantaneous); }

Expand Down
1 change: 0 additions & 1 deletion srtcore/udt.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ UDT_API int epoll_release(int eid);
UDT_API ERRORINFO& getlasterror();
UDT_API int getlasterror_code();
UDT_API const char* getlasterror_desc();
UDT_API int perfmon(UDTSOCKET u, TRACEINFO* perf, bool clear = true) SRT_ATR_DEPRECATED;
UDT_API int bstats(UDTSOCKET u, TRACEBSTATS* perf, bool clear = true);
UDT_API SRT_SOCKSTATUS getsockstate(UDTSOCKET u);

Expand Down

0 comments on commit 140ebc5

Please sign in to comment.