mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix ps buffer dynamic increase according to stream size
This commit is contained in:
parent
e506191484
commit
6bf1eee2bc
2 changed files with 29 additions and 19 deletions
|
@ -341,7 +341,7 @@ public:
|
|||
PsFrameBufferEnum InsertPacket(const SrsPsRtpPacket &packet, char *buf, int size, bool* retransmitted);
|
||||
void ReleaseFrame(SrsPsFrameBuffer* frame);
|
||||
bool FoundFrame(uint32_t& time_stamp);
|
||||
bool GetPsFrame(char *buffer, int &size, const uint32_t time_stamp);
|
||||
bool GetPsFrame(char **buffer, int &buf_len, int &size, const uint32_t time_stamp);
|
||||
void SetDecodeErrorMode(PsDecodeErrorMode error_mode);
|
||||
void SetNackMode(PsNackMode mode,int64_t low_rtt_nack_threshold_ms,
|
||||
int64_t high_rtt_nack_threshold_ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue