mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine memory allocate for publisher
This commit is contained in:
parent
23fa3fb350
commit
048a72ab6e
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ private:
|
||||||
public:
|
public:
|
||||||
srs_error_t on_rtp(char* buf, int nb_buf);
|
srs_error_t on_rtp(char* buf, int nb_buf);
|
||||||
private:
|
private:
|
||||||
|
// @remark We copy the plaintext, user should free it.
|
||||||
srs_error_t on_rtp_plaintext(char* plaintext, int nb_plaintext);
|
srs_error_t on_rtp_plaintext(char* plaintext, int nb_plaintext);
|
||||||
public:
|
public:
|
||||||
srs_error_t check_send_nacks();
|
srs_error_t check_send_nacks();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue