RTC: Refine memory allocate for publisher
This commit is contained in:
parent
23fa3fb350
commit
048a72ab6e
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user