mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Cache the buffer for player
This commit is contained in:
parent
8baf0867a0
commit
2f4fe31337
2 changed files with 15 additions and 10 deletions
|
@ -431,6 +431,9 @@ private:
|
|||
SrsRtcConnectionStateType state_;
|
||||
ISrsRtcTransport* transport_;
|
||||
SrsHourGlass* timer_;
|
||||
private:
|
||||
iovec* cache_iov_;
|
||||
SrsBuffer* cache_buffer_;
|
||||
private:
|
||||
// key: stream id
|
||||
std::map<std::string, SrsRtcPlayStream*> players_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue