1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

RTC: Refine memory allocate for publisher

This commit is contained in:
winlin 2021-02-25 19:16:50 +08:00
parent 23fa3fb350
commit 048a72ab6e

View file

@ -354,6 +354,7 @@ private:
public:
srs_error_t on_rtp(char* buf, int nb_buf);
private:
// @remark We copy the plaintext, user should free it.
srs_error_t on_rtp_plaintext(char* plaintext, int nb_plaintext);
public:
srs_error_t check_send_nacks();